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: Mon, 23 Jun 2014 20:34:49
Message-Id: 1403555651.8e4a566fecc849dd4e007fc85b6ebfd423d637ae.mmokrejs@gentoo
1 commit: 8e4a566fecc849dd4e007fc85b6ebfd423d637ae
2 Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
3 AuthorDate: Mon Jun 23 20:34:11 2014 +0000
4 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
5 CommitDate: Mon Jun 23 20:34:11 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=8e4a566f
7
8 add an extra patch for configure until we find a way to ensure user has autoconf-2.59 or for ncbi-tools++-12.0.0 may have autoconf-2.60
9
10 ---
11 .../files/ncbi-tools++-12.0.0-configure.patch | 46073 +++++++++++++++++++
12 .../ncbi-tools++/ncbi-tools++-12.0.0.ebuild | 16 +-
13 2 files changed, 46083 insertions(+), 6 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 new file mode 100644
17 index 0000000..0d4bd39
18 --- /dev/null
19 +++ b/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-configure.patch
20 @@ -0,0 +1,46073 @@
21 +--- ncbi_cxx--12_0_0/src/build-system/configure.ac.ori 2014-06-23 17:35:47.000000000 +0200
22 ++++ ncbi_cxx--12_0_0/src/build-system/configure.ac 2014-06-23 17:36:41.000000000 +0200
23 +@@ -1,5 +1,5 @@
24 + #############################################################################
25 +-# $Id: configure.ac 398256 2013-05-03 19:14:07Z rafanovi $
26 ++# $Id$
27 + # Derived from configure.in version 1.173.
28 + # ==========================================================================
29 + #
30 +@@ -38,7 +38,7 @@
31 + #
32 + #############################################################################
33 +
34 +-AC_PREREQ(2.59)
35 ++AC_PREREQ(2.60)
36 +
37 + dnl Early setup, most crucially for locking. The diversion magic lets
38 + dnl this occur before AC_INIT, which already interferes with other
39 +@@ -71,7 +71,7 @@
40 + python, perl, jni, sqlite3, mimetic, sge, icu, sp, expat,
41 + sablot, libxml, libxslt, libexslt, xerces, xalan, zorba,
42 + oechem, muparser, hdf5, gif, jpeg, png, tiff, xpm,
43 +- magic, curl],
44 ++ magic, curl, gsoap, mongodb],
45 + [if test "${[with_]X-no}" != "no"; then
46 + AC_MSG_ERROR([incompatible options: --with-]X[ but --without-3psw])
47 + else
48 +@@ -143,6 +143,8 @@
49 + [ --with-bin-release build executables suitable for public release])
50 + AC_ARG_WITH(mt,
51 + [ --with-mt compile in a MultiThread-safe manner])
52 ++AC_ARG_WITH(openmp,
53 ++ [ --with-openmp enable OpenMP extensions for all projects])
54 + AC_ARG_WITH(64,
55 + [ --with-64 compile to 64-bit code])
56 + AC_ARG_WITH(universal,
57 +@@ -220,11 +222,15 @@
58 +
59 + ## NCBI packages
60 + AC_ARG_WITH(ncbi-c,
61 ++ [ --with-ncbi-c=DIR use NCBI C Toolkit installation in DIR])
62 ++AC_ARG_WITH(ncbi-c2,
63 + [ --without-ncbi-c do not use NCBI C Toolkit])
64 + AC_ARG_WITH(sss,
65 ++ [ --with-sss=DIR use NCBI SSS installation in DIR])
66 ++AC_ARG_WITH(sss2,
67 + [ --without-sss do not use NCBI SSS libraries])
68 + AC_ARG_WITH(sssutils,
69 +- [ --without-sssutils do not use NCBI SSS UTIL library])
70 ++ [ --without-utils do not use NCBI SSS UTIL library])
71 + AC_ARG_WITH(sssdb,
72 + [ --without-sssdb do not use NCBI SSS DB library])
73 + AC_ARG_WITH(included-sss,
74 +@@ -439,6 +445,14 @@
75 + [ --with-mimetic=DIR use libmimetic installation in DIR])
76 + AC_ARG_WITH(mimetic2,
77 + [ --without-mimetic do not use libmimetic])
78 ++AC_ARG_WITH(gsoap,
79 ++ [ --with-gsoap=DIR use gSOAP++ installation in DIR])
80 ++AC_ARG_WITH(gsoap2,
81 ++ [ --without-gsoap do not use gSOAP++])
82 ++AC_ARG_WITH(mongodb,
83 ++ [ --with-mongodb=DIR use MongoDB installation in DIR])
84 ++AC_ARG_WITH(mongodb2,
85 ++ [ --without-mongodb do not use MongoDB])
86 + AC_ARG_WITH(3psw,
87 + [ --with-3psw=std:netopt favor standard (system) builds of the above pkgs.])
88 + AC_ARG_WITH(3psw2,
89 +@@ -479,24 +493,28 @@
90 + [***** See also HTML documentation in ./doc/index.html *****])
91 +
92 +
93 ++AC_DIVERT_PUSH(PARSE_ARGS)
94 ++dnl As of Autoconf 2.60, this needs to run too early for config.log,
95 ++dnl to which AC_MSG_ERROR normally copies its output, to be available.
96 ++m4_rename([AS_MESSAGE_LOG_FD], [NCBI_ORIG_ASMLFD])
97 + #### Check the passed arguments against the list of available ones
98 + x_with_list="\
99 + debug max-debug symbols optimization profiling tcheck dll static static-exe \
100 + plugin-auto-load bundles bin-release mt 64 universal exe runpath hard-runpath \
101 +-lfs limited-linker \
102 ++lfs limited-linker openmp \
103 + autodep suffix hostspec version execopy bincopy lib-rebuilds lib-rebuilds=ask \
104 + deactivation makefile-auto-update projects flat-makefile configure-dialog \
105 + check ncbi-public strip pch caution ccache distcc \
106 + ncbi-c wxwidgets wxwidgets-ucs fastcgi sss sssdb sssutils included-sss \
107 + geo included-geo \
108 + z bz2 lzo pcre gcrypt gnutls openssl krb5 sybase sybase-local sybase-new \
109 +-ftds mysql orbacus odbc freetype ftgl opengl mesa glut glew glew-mx \
110 ++ftds mysql orbacus freetype ftgl opengl mesa glut glew glew-mx \
111 + bdb python perl jni sqlite3 icu boost boost-tag \
112 + sp expat sablot libxml libxslt libexslt xerces xalan zorba \
113 + oechem sge muparser hdf5 \
114 +-gif jpeg tiff png xpm magic curl mimetic 3psw \
115 ++gif jpeg tiff png xpm magic curl mimetic gsoap mongodb 3psw \
116 + local-lbsm ncbi-crypt connext \
117 +-serial objects dbapi app ctools gui algo internal gbench x"
118 ++serial objects dbapi app ctools gui algo internal gbench"
119 +
120 + changequote(, )dnl
121 + x_with_list=`echo "$x_with_list" | sed 's/\([^ ][^ ]*\)/--with-\1 --without-\1/g'`
122 +@@ -522,7 +540,6 @@
123 + case "$x_arg" in
124 + --with-extra-action= | --exec-prefix= | --with-projects= | --srcdir= \
125 + | --cache-file= | --build= | --host= | --target= | --with-runpath= \
126 +- | --mandir= | --infodir= | --datadir= | --sysconfdir= | --localstatedir= \
127 + | --with-relative-runpath= | --x-includes= | --x-libraries= )
128 + AC_MSG_ERROR([$x_arg: requires value; use --help to show usage])
129 + ;;
130 +@@ -533,12 +550,11 @@
131 + | --with-universal=* | --with-tcheck=* \
132 + | --cache-file=* | --build=* | --host=* | --prefix=* | --exec-prefix=* \
133 + | --libdir=* | --bindir=* | --includedir=* | --srcdir=* \
134 +- | --mandir=* | --infodir=* | --datadir=* | --sysconfdir=* | --localstatedir=* \
135 + | [[A-Z]*=*] \
136 + | --with-z=* | --with-bz2=* | --with-lzo=* \
137 +- | --with-pcre=* \
138 ++ | --with-pcre=* | --with-ncbi-c=* | --with-sss=* \
139 + | --with-gcrypt=* | --with-gnutls=* | --with-openssl=* \
140 +- | --with-krb5=* | --with-curl=* \
141 ++ | --with-krb5=* | --with-curl=* | --with-gsoap=* | --with-mongodb=* \
142 + | --with-sybase-local=* | --with-wxwidgets=* | --with-mimetic=* \
143 + | --with-ftds=* | --with-mysql=* | --with-fastcgi=* \
144 + | --with-sqlite3=* | --with-expat=* | --with-sablot=* \
145 +@@ -552,7 +568,7 @@
146 + | --with-muparser=* | --with-hdf5=* | --with-jni=* | --with-magic=* \
147 + | --x-includes=* | --x-libraries=* | --with-3psw=* \
148 + | --target=* | --with-runpath=* | --with-relative-runpath=* \
149 +- | --no-create | --no-recursion)
150 ++ | --help | --no-create | --no-recursion)
151 + ;;
152 +
153 + * )
154 +@@ -560,6 +576,8 @@
155 + ;;
156 + esac
157 + done
158 ++m4_rename([NCBI_ORIG_ASMLFD], [AS_MESSAGE_LOG_FD])
159 ++AC_DIVERT_POP
160 +
161 +
162 + if test "$with_gbench" = "yes" ; then
163 +@@ -604,6 +622,13 @@
164 + : ${with_optimization=no}
165 + fi
166 +
167 ++if test "$with_openmp" = yes; then
168 ++ if test "$with_mt" = no; then
169 ++ AC_MSG_ERROR([incompatible options: --without-mt but --with-openmp])
170 ++ fi
171 ++ : ${with_mt=yes}
172 ++fi
173 ++
174 + #### Check for special options
175 + if test "$with_extra_action" = "yes" ; then
176 + AC_MSG_ERROR([--with-extra-action must have a value after =])
177 +@@ -649,15 +674,10 @@
178 + *\ -O* | *\ -xO* ) skip_fast_flags=yes ;;
179 + esac
180 + fi
181 +-if test -n "$with_projects"; then
182 +- case "$with_projects" in
183 +- /* ) abs_projects=$with_projects ;;
184 +- yes) abs_projects=$srcdir/projects ;;
185 +- * ) abs_projects=$srcdir/$with_projects ;;
186 +- esac
187 +- test -r "$abs_projects" || \
188 +- AC_MSG_ERROR([unable to read requested projects file "$abs_projects".])
189 +-fi
190 ++# Generally save any originally specified flags.
191 ++USER_CFLAGS=$CFLAGS
192 ++USER_CXXFLAGS=$CXXFLAGS
193 ++USER_LDFLAGS=$LDFLAGS
194 +
195 + #### Always define this
196 + AC_DEFINE(NCBI_CXX_TOOLKIT, 1, [This is the NCBI C++ Toolkit.])
197 +@@ -675,6 +695,23 @@
198 + #### Make some provisions for traditional operation
199 + AC_PROG_INSTALL
200 +
201 ++#### Point ICC at a suitable GCC version ASAP.
202 ++case "/$CXX" in
203 ++ */icpc )
204 ++ if test -d /usr/local/gcc; then
205 ++ case "`$CXX -dumpversion`:$host_cpu" in
206 ++ *:i?86) v=4.4.5 ;;
207 ++ ?.* | 1[[01]].* ) v=4.0.1 ;;
208 ++ *) v=4.4.2 ;;
209 ++ esac
210 ++ gcc=/usr/local/gcc/$v/bin/gcc
211 ++ if test -x $gcc; then
212 ++ CC="$CC -gcc-name=$gcc"
213 ++ CXX="$CXX -gcc-name=$gcc"
214 ++ fi
215 ++ fi
216 ++ ;;
217 ++esac
218 +
219 + #### C and C++ compilers
220 + AC_LANG(C++)
221 +@@ -987,6 +1024,30 @@
222 + ;;
223 + * ) NCBIATOMIC_LIB=xncbi ;;
224 + esac
225 ++ case "$compiler" in
226 ++ GCC )
227 ++ if $CC -v | grep clang >/dev/null; then
228 ++ :
229 ++ # Will allegedly support -openmp at some point, but as of 3.4,
230 ++ # just parses it as specifying an output filename: -o penmp.
231 ++ else
232 ++ case "$compiler_version" in
233 ++ [[123]]?? | 4[[01]]? ) ;;
234 ++ * ) : ${OPENMP_FLAGS=-fopenmp} ;;
235 ++ esac
236 ++ fi
237 ++ ;;
238 ++ ICC )
239 ++ : ${OPENMP_FLAGS=-openmp}
240 ++ ;;
241 ++ WorkShop* )
242 ++ : ${OPENMP_FLAGS=-xopenmp=parallel}
243 ++ ;;
244 ++ esac
245 ++ if test "$with_openmp" = yes; then
246 ++ MT_FLAG="$MT_FLAG $OPENMP_FLAGS"
247 ++ OPENMP_FLAGS=
248 ++ fi
249 + mt_sfx="MT"
250 + NCBI_FEATURE(MT)
251 + else
252 +@@ -994,6 +1055,7 @@
253 + MT_FLAG=
254 + THREAD_LIBS=
255 + NCBIATOMIC_LIB=
256 ++ OPENMP_FLAGS=
257 + mt_sfx=""
258 + fi
259 + MT_SFX="${mt_sfx}"
260 +@@ -1006,6 +1068,9 @@
261 + APP_LDFLAGS=
262 + DLL_LDFLAGS=
263 +
264 ++### Should go before any test compiler runs
265 ++AC_GNU_SOURCE
266 ++
267 + case "$host_os:$compiler" in
268 + darwin*:GCC )
269 + AC_CACHE_CHECK([whether $CC supports -Wl,-rpath],
270 +@@ -1047,6 +1112,47 @@
271 + ;;
272 + esac
273 +
274 ++case "$compiler:$compiler_version" in
275 ++ GCC:4[[0-6]]? | ICC:1[[01]]?? )
276 ++ ncbi_cv_prog_cxx_11=no
277 ++ ncbi_cv_prog_c_99=no
278 ++ ;;
279 ++ ICC:* )
280 ++ ncbi_cv_prog_c_99='-std=gnu99 -fgnu89-inline'
281 ++ ;;
282 ++esac
283 ++
284 ++AC_CACHE_CHECK([how to enable C++ '11 features in $CXX],
285 ++ ncbi_cv_prog_cxx_11,
286 ++ [orig_CXX=$CXX
287 ++ ncbi_cv_prog_cxx_11=no
288 ++ for x in -std=gnu++11 -std=gnu++0x; do
289 ++ CXX="$orig_CXX $x"
290 ++ AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],
291 ++ [ncbi_cv_prog_cxx_11=$x])
292 ++ test "x$ncbi_cv_prog_cxx_11" = "xno" || break
293 ++ done
294 ++ CXX=$orig_CXX])
295 ++test "$ncbi_cv_prog_cxx_11" = no || CXX="$CXX $ncbi_cv_prog_cxx_11"
296 ++
297 ++AC_LANG_PUSH(C)
298 ++AC_CACHE_CHECK([how to enable C '11 or at least '99 features in $CC],
299 ++ ncbi_cv_prog_c_99,
300 ++ [orig_CC=$CC
301 ++ ncbi_cv_prog_c_99=no
302 ++ for x in -xc99=all "-std=gnu11 -fgnu89-inline" \
303 ++ "-std=gnu1x -fgnu89-inline" \
304 ++ "-std=gnu99 -fgnu89-inline" \
305 ++ "-std=gnu9x -fgnu89-inline"; do
306 ++ CC="$orig_CC $x"
307 ++ AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],
308 ++ [ncbi_cv_prog_c_99=$x])
309 ++ test "x$ncbi_cv_prog_c_99" = "xno" || break
310 ++ done
311 ++ CC=$orig_CC])
312 ++AC_LANG_POP(C)
313 ++test "$ncbi_cv_prog_c_99" = no || CC="$CC $ncbi_cv_prog_c_99"
314 ++
315 + #### Provide default environment setup for known platforms/compilers
316 + DEPFLAGS="-M"
317 + DEPFLAGS_POST="" # Needed for VisualAge
318 +@@ -1059,7 +1165,15 @@
319 + ;;
320 +
321 + solaris*:GCC )
322 +- CPPFLAGS="-D_XOPEN_SOURCE=500 $CPPFLAGS"
323 ++ # On Solaris, GCC defaults to setting _XOPEN_SOURCE (to 500) only
324 ++ # in C++ mode. Set it for C code as well to ensure consistent
325 ++ # header behavior, taking care to match the C standard version
326 ++ # (as enforced by <sys/feature_tests.h>).
327 ++ case "$ncbi_cv_prog_c_99" in
328 ++ no) CC="$CC -D_XOPEN_SOURCE=500" ;;
329 ++ *) CC="$CC -D_XOPEN_SOURCE=600" ;;
330 ++ esac
331 ++
332 + STRIP="@:"
333 + ;;
334 +
335 +@@ -1202,11 +1316,19 @@
336 + LDFLAGS="-flat_namespace $LDFLAGS"
337 +
338 + if test "$with_ncbi_public" = yes; then
339 ++ sdks='/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk'
340 ++ case "$host_os" in
341 ++ darwin?.* | darwin10.* ) # Mac OS X 10.6.x or older
342 + TARGET='-mmacosx-version-min=10.5'
343 +- sdks='/Developer/SDKs/MacOSX10.6.sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk'
344 ++ sdks="/Developer/SDKs/MacOSX10.6.sdk"
345 + if test "$with_64:${with_universal-no}" != "yes:no"; then
346 + sdks="/Developer/SDKs/MacOSX10.5.sdk $sdks"
347 + fi
348 ++ ;;
349 ++ * )
350 ++ TARGET='-mmacosx-version-min=10.7'
351 ++ ;;
352 ++ esac
353 + for sdk in $sdks; do
354 + if test -d "$sdk"; then
355 + TARGET="-isysroot $sdk $TARGET"
356 +@@ -1487,8 +1609,8 @@
357 + ;;
358 + GCC:* )
359 + DEF_FAST_FLAGS="-O3 -finline-functions -fstrict-aliasing"
360 +- case "$host_os" in
361 +- freebsd* ) ;;
362 ++ case "$host_os:$host_cpu:$compiler_version" in
363 ++ freebsd* | solaris*:*86*:* | *:4[[5-9]]? | *:[[5-9]]?? ) ;;
364 + * ) DEF_FAST_FLAGS="$DEF_FAST_FLAGS -ffast-math" ;;
365 + esac
366 + if test "$with_profiling" != "yes"; then
367 +@@ -1587,13 +1709,9 @@
368 + solaris* )
369 + CONF_f_runpath="-R"
370 + ;;
371 +- linux*:GCC | *bsd*:GCC | cygwin*:GCC | osf*:GCC )
372 ++ linux*:[[GI]]CC | *bsd*:GCC | cygwin*:GCC | osf*:GCC )
373 + CONF_f_runpath="-Wl,-rpath,"
374 + ;;
375 +- linux*:ICC )
376 +- # trying to use "-Wl,-rpath," here sends "ld" to endless 100% CPU loop
377 +- CONF_f_runpath="-Xlinker -rpath -Xlinker "
378 +- ;;
379 + irix*:* | linux*:KCC | *:Compaq )
380 + CONF_f_runpath="-rpath "
381 + ;;
382 +@@ -1697,8 +1815,11 @@
383 + LINK="$LINK -Kc++"
384 + ;;
385 + ICC:1???:* )
386 +- APP_LDFLAGS="-static-intel $APP_LDFLAGS"
387 +- DLL_LDFLAGS="-static-intel -nodefaultlibs $DLL_LDFLAGS"
388 ++ # Suppress "warning #10237: -lcilkrts linked in dynamically, static
389 ++ # library not available" which is not a problem in practice due to
390 ++ # as-needed linkage.
391 ++ APP_LDFLAGS="-static-intel -diag-disable 10237 $APP_LDFLAGS"
392 ++ DLL_LDFLAGS="-static-intel -diag-disable 10237 -nodefaultlibs $DLL_LDFLAGS"
393 + # Redundant for apps, but necessary for plugins to be adequately
394 + # self-contained, at least on 32-bit Linux.
395 + LIBS="$LIBS -lstdc++"
396 +@@ -1817,18 +1938,6 @@
397 +
398 + #### Intel compiler:: common flags and definitions
399 + if test "$compiler" = "ICC" ; then
400 +- if test -d /usr/local/gcc; then
401 +- case "$compiler_version:$HOST_CPU" in
402 +- *:i?86) v=4.4.5 ;;
403 +- ???:* | 1[[01]]??:* ) v=4.0.1 ;;
404 +- *) v=4.4.2 ;;
405 +- esac
406 +- gcc=/usr/local/gcc/$v/bin/gcc
407 +- if test -x $gcc; then
408 +- CC="$CC -gcc-name=$gcc"
409 +- CXX="$CXX -gcc-name=$gcc"
410 +- fi
411 +- fi
412 + if test -n "$icc_license" ; then
413 + icc_CC="$CC"
414 + icc_CXX="$CXX"
415 +@@ -2073,6 +2182,7 @@
416 + fi
417 +
418 + AC_PATH_PROG(TOUCH, touch, [], /bin:/usr/bin:$PATH)
419 ++dnl AC_PATH_PROG(GREP, grep)
420 + AC_PROG_EGREP
421 + AC_MSG_CHECKING([how to run $EGREP quietly])
422 + if test -z "`echo foo | $EGREP -q fo+ 2>>config.log || echo $?`"; then
423 +@@ -2086,6 +2196,16 @@
424 +
425 + AC_CHECK_PROG(VALGRIND_PATH, valgrind, valgrind)
426 +
427 ++AC_PATH_PROG(LDD, ldd)
428 ++if test -n "$LDD"; then
429 ++ AC_MSG_CHECKING([whether $LDD accepts -r])
430 ++ if $LDD -r /bin/ls >/dev/null 2>&1; then
431 ++ AC_MSG_RESULT(yes)
432 ++ LDD_R="$LDD -r"
433 ++ else
434 ++ AC_MSG_RESULT(no)
435 ++ fi
436 ++fi
437 +
438 + #### Check if "${build_root}" is defined; provide a default one
439 + if test -n "${with_build_root}" ; then
440 +@@ -2170,9 +2290,6 @@
441 + fi
442 +
443 +
444 +-### Should go before any test compiler runs
445 +-AC_GNU_SOURCE
446 +-
447 + #### Determine whether this is implicitly a 64-bit platform
448 + AC_TYPE_SIZE_T
449 + if test "${with_universal-no}" = "no"; then
450 +@@ -2342,7 +2459,7 @@
451 + fi
452 + ;;
453 + *:ICC )
454 +- runpath="$runpath -Xlinker -rpath-link -Xlinker \$(libdir)"
455 ++ runpath="$runpath -Wl,-rpath-link,\$(libdir)"
456 + ;;
457 + esac
458 + elif test "$with_runpath" = "yes" -o "$with_dll" != "no" ; then
459 +@@ -2658,15 +2775,30 @@
460 + dbgrx1="$wsrx-g[^cx$wschars]*$wsrx"
461 + dbgrx2="$wsrx-gx*coff[0-9+]*$wsrx"
462 + optrx="$wsrx-x*O[0-9s]*$wsrx"
463 ++ NDEB_CFLAGS=` echo " $CFLAGS " | sed "s/$dbgrx1/ /g; s/$dbgrx2/ /g"`
464 ++ NDEB_CXXFLAGS=`echo " $CXXFLAGS " | sed "s/$dbgrx1/ /g; s/$dbgrx2/ /g"`
465 ++ NDEB_LDFLAGS=` echo " $LDFLAGS " | sed "s/$dbgrx1/ /g; s/$dbgrx2/ /g"`
466 + if test "$with_symbols" = "no" ; then
467 +- CFLAGS=` echo " $CFLAGS " | sed "s/$dbgrx1/ /g; s/$dbgrx2/ /g"`
468 +- CXXFLAGS=`echo " $CXXFLAGS " | sed "s/$dbgrx1/ /g; s/$dbgrx2/ /g"`
469 +- LDFLAGS=` echo " $LDFLAGS " | sed "s/$dbgrx1/ /g; s/$dbgrx2/ /g"`
470 ++ CFLAGS=$NDEB_CFLAGS
471 ++ CXXFLAGS=$NDEB_CXXFLAGS
472 ++ LDFLAGS=$NDEB_LDFLAGS
473 + else
474 + echo " $CFLAGS " | $EGREP_Q "$dbgrx1|$dbgrx2" || CFLAGS="$CFLAGS -g"
475 + echo " $CXXFLAGS "| $EGREP_Q "$dbgrx1|$dbgrx2" || CXXFLAGS="$CXXFLAGS -g"
476 + echo " $LDFLAGS " | $EGREP_Q "$dbgrx1|$dbgrx2" || LDFLAGS="$LDFLAGS -g"
477 + STRIP="@:"
478 ++ case "$compiler:$compiler_version" in
479 ++ GCC:4[89]? | GCC:[5-9]? | GCC:???? )
480 ++ # GCC 4.8 defaults to DWARF 4, which Totalview for one
481 ++ # can't handle; roll back to version 3 by default.
482 ++ echo " $USER_CFLAGS " | $EGREP_Q "$dbgrx1|$dbgrx2" || \
483 ++ CFLAGS="$NDEB_CFLAGS -gdwarf-3"
484 ++ echo " $USER_CXXFLAGS " | $EGREP_Q "$dbgrx1|$dbgrx2" || \
485 ++ CXXFLAGS="$NDEB_CXXFLAGS -gdwarf-3"
486 ++ echo " $USER_LDFLAGS " | $EGREP_Q "$dbgrx1|$dbgrx2" || \
487 ++ LDFLAGS="$NDEB_LDFLAGS -gdwarf-3"
488 ++ ;;
489 ++ esac
490 + fi
491 +
492 + NOPT_CFLAGS=` echo " $CFLAGS " | sed "s/$optrx/ /g"`
493 +@@ -3024,9 +3156,9 @@
494 + ### Check for other standard library functions
495 +
496 + AC_FUNC_VPRINTF
497 +-AC_CHECK_FUNCS(euidaccess atoll basename lchown fseeko getpagesize \
498 +- getpass getpassphrase getpwuid getrusage gettimeofday \
499 +- getuid memrchr readpassphrase readv usleep \
500 ++AC_CHECK_FUNCS(euidaccess atoll basename lchown fseeko getgrouplist \
501 ++ getpagesize getpass getpassphrase getpwuid getrusage \
502 ++ gettimeofday getuid memrchr readpassphrase readv usleep \
503 + asprintf vasprintf vsnprintf select statfs statvfs \
504 + strcasecmp strlcat strlcpy strdup strndup strtok_r \
505 + sysmp timegm utimes lutimes writev)
506 +@@ -3253,17 +3385,6 @@
507 + fi
508 +
509 +
510 +-AC_CACHE_CHECK([for std::is_sorted<> in <algorithm>], ncbi_cv_func_is_sorted,
511 +- [AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
512 +- [[#include <algorithm>]],
513 +- [[int a[2]; return std::is_sorted(a, a+2) ? 0 : 1;]])],
514 +- [ncbi_cv_func_is_sorted=yes], [ncbi_cv_func_is_sorted=no])])
515 +-if test "$ncbi_cv_func_is_sorted" = yes; then
516 +- AC_DEFINE(HAVE_IS_SORTED, 1,
517 +- [Define to 1 if <algorithm> supplies `std::is_sorted<>'.])
518 +-fi
519 +-
520 +-
521 +
522 + AC_CACHE_CHECK([for SysV semaphores], ncbi_cv_sys_semaphores,
523 + AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
524 +@@ -3400,7 +3521,7 @@
525 + AC_CACHE_CHECK([whether the C compiler supports C99 restrict],
526 + ncbi_cv_c_restrict,
527 + [ncbi_cv_c_restrict=no
528 +- for restrict in restrict __restrict__ __restrict; do
529 ++ for restrict in __restrict__ __restrict restrict; do
530 + test "$ncbi_cv_c_restrict" = "no" || break
531 + AC_COMPILE_IFELSE([AC_LANG_SOURCE([void f(int * $restrict p);])],
532 + [ncbi_cv_c_restrict=$restrict], [])
533 +@@ -3420,7 +3541,7 @@
534 + AC_CACHE_CHECK([whether the C++ compiler supports C99 restrict],
535 + ncbi_cv_cxx_restrict,
536 + [ncbi_cv_cxx_restrict=no
537 +- for restrict in restrict __restrict__ __restrict; do
538 ++ for restrict in __restrict__ __restrict restrict; do
539 + test "$ncbi_cv_cxx_restrict" = "no" || break
540 + AC_COMPILE_IFELSE([AC_LANG_SOURCE([void f(int * $restrict p);])],
541 + [ncbi_cv_cxx_restrict=$restrict], [])
542 +@@ -3525,14 +3646,6 @@
543 + unaligned addresses.])
544 + fi
545 +
546 +-AC_CACHE_CHECK([whether $CXX supports C++0x nullptr], ncbi_cv_cxx_nullptr,
547 +- [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[void * p = nullptr;]])],
548 +- [ncbi_cv_cxx_nullptr=yes], [ncbi_cv_cxx_nullptr=no])])
549 +-if test "$ncbi_cv_cxx_nullptr" = yes; then
550 +- AC_DEFINE(HAVE_NULLPTR, 1,
551 +- [Define to 1 if your C++ compiler supports the C++0x `nullptr' keyword.])
552 +-fi
553 +-
554 + ### Check for the availability of other packages
555 + ### --------------------------------------------
556 +
557 +@@ -3630,7 +3743,16 @@
558 + dnl NCBI_CHECK_LIBS(FUSE, fuse, fuse_loop)
559 + AC_SEARCH_LIBS(fuse_loop, fuse, [NCBI_PACKAGE(FUSE)])
560 + LIBS=$orig_LIBS
561 ++# Temporarily drop OpenMP flags for this test, as some toolchains count
562 ++# its support library's indirect use of librt when building applications
563 ++# but not when building shared libraries with --no-undefined.
564 ++orig_CXXFLAGS=$CXXFLAGS
565 ++orig_LDFLAGS=$LDFLAGS
566 ++CXXFLAGS=`echo $CXXFLAGS | sed -e 's/[[^ ]]*openmp[[^ ]]*//g'`
567 ++LDFLAGS=`echo $LDFLAGS | sed -e 's/[[^ ]]*openmp[[^ ]]*//g'`
568 + NCBI_CHECK_LIBS(RT, rt posix4, clock_gettime)
569 ++CXXFLAGS=$orig_CXXFLAGS
570 ++LDFLAGS=$orig_LDFLAGS
571 + NCBI_CHECK_LIBS(DEMANGLE, demangle, cplus_demangle)
572 + # Add to (orig_)LIBS if present for the sake of corelib and the
573 + # following call to AC_CHECK_FUNCS.
574 +@@ -3734,7 +3856,6 @@
575 + NCBI_PACKAGE(LocalBZ2)
576 + fi
577 +
578 +-: ${LZO_PATH=$NCBI/lzo2}
579 + if test -d "$LZO_PATH"; then
580 + NCBI_FIX_DIR(LZO_PATH)
581 + fi
582 +@@ -3767,7 +3888,7 @@
583 + ## SSL/TLS libraries
584 + case "$with_gcrypt" in
585 + no ) ac_cv_path_LIBGCRYPT_CONFIG=no ;;
586 +- yes | '' ) : ${GCRYPT_PATH=$NCBI/gcrypt} ;;
587 ++ yes | '' ) ;;
588 + * ) GCRYPT_PATH=$with_gcrypt ;;
589 + esac
590 + if test -d "$GCRYPT_PATH"; then
591 +@@ -3802,13 +3923,16 @@
592 +
593 + case "$with_gnutls" in
594 + no ) ac_cv_path_LIBGNUTLS_CONFIG=no ;;
595 +- yes | '' ) : ${GNUTLS_PATH=$NCBI/gnutls} ;;
596 ++ yes | '' ) ;;
597 + * ) GNUTLS_PATH=$with_gnutls ;;
598 + esac
599 + if test -d "$GNUTLS_PATH"; then
600 + NCBI_FIX_DIR(GNUTLS_PATH)
601 ++ gnutls_config_path=${GNUTLS_BIN-$GNUTLS_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/bin}:$GNUTLS_PATH/bin${bit64_sfx}:$GNUTLS_PATH/bin
602 ++else
603 ++ gnutls_config_path=$PATH
604 + fi
605 +-AC_PATH_PROG(LIBGNUTLS_CONFIG, libgnutls-config, [], [${GNUTLS_BIN-$GNUTLS_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/bin}:$GNUTLS_PATH/bin${bit64_sfx}:$GNUTLS_PATH/bin:$PATH])
606 ++AC_PATH_PROG(LIBGNUTLS_CONFIG, libgnutls-config, [], [$gnutls_config_path])
607 +
608 + if test "x$with_gnutls" != xno; then
609 + if test -x "$LIBGNUTLS_CONFIG"; then
610 +@@ -3817,7 +3941,7 @@
611 + test "x$p" = "x/usr" || GNUTLS_PATH=$p
612 + fi
613 + else
614 +- LIBGNUTLS_CONFIG="eval PKG_CONFIG_PATH=\"$GNUTLS_PATH/lib/pkgconfig\" pkg-config gnutls"
615 ++ LIBGNUTLS_CONFIG="eval PKG_CONFIG_PATH=\"$GNUTLS_PATH/lib/pkgconfig\" pkg-config gnutls --static"
616 + $LIBGNUTLS_CONFIG --exists >/dev/null 2>&1 || LIBGNUTLS_CONFIG=no
617 + fi
618 + case "$LIBGNUTLS_CONFIG" in
619 +@@ -3846,6 +3970,10 @@
620 + $GNUTLS_CONFIG_LIBS $GCRYPT_LIBS)
621 + if test "x$with_gnutls" != xno -a -n "$GNUTLS_CONFIG_LIBS"; then
622 + NCBI_RPATHIFY_OUTPUT(GNUTLS_LIBS, [echo $GNUTLS_CONFIG_LIBS], [$no_usr_lib])
623 ++ # Conservatively build against gcrypt if available even when gnutls
624 ++ # uses nettle instead, because gcrypt needs explicit initialization
625 ++ # to be thread-safe, but gnutls's headers don't indicate which
626 ++ # underlying crypto library it's actually using.
627 + case "$GNUTLS_INCLUDE" in
628 + *$GCRYPT_INCLUDE* ) ;;
629 + * ) GNUTLS_INCLUDE="$GNUTLS_INCLUDE $GCRYPT_INCLUDE" ;;
630 +@@ -4108,7 +4236,8 @@
631 + SYBASE_DBLIBS="$SYBASE_LPATH $SYBASE_DBLIBS"
632 + SYBASE_DLLS="$SYBASE_DLLLIST"
633 +
634 +- AC_CACHE_CHECK([for Sybase in $SYBASE_PATH], ncbi_cv_lib_sybase,
635 ++ AC_CACHE_CHECK([for Sybase${SYBASE_PATH:+ in $SYBASE_PATH}],
636 ++ ncbi_cv_lib_sybase,
637 + [CPPFLAGS="$SYBASE_INCLUDE $orig_CPPFLAGS"
638 + LIBS="$SYBASE_LIBS $SYBASE_DLLS $SYBASE_NETWORK_LIBS $DL_LIBS $orig_LIBS"
639 + AC_LINK_IFELSE([AC_LANG_PROGRAM(
640 +@@ -4216,7 +4345,8 @@
641 + AC_MSG_NOTICE([Using bundled FreeTDS (version $ftds_ver) from $FTDS_PATH])
642 + else
643 + FTDS_LIBS="$FTDS_CTLIBS"
644 +- AC_CACHE_CHECK([for FreeTDS in $FTDS_PATH], ncbi_cv_lib_freetds,
645 ++ AC_CACHE_CHECK([for FreeTDS${FTDS_PATH:+ in $FTDS_PATH}],
646 ++ ncbi_cv_lib_freetds,
647 + [CPPFLAGS="$FTDS_INCLUDE $orig_CPPFLAGS"
648 + LIBS="$FTDS_LIBS $NETWORK_LIBS $orig_LIBS"
649 + AC_LINK_IFELSE([AC_LANG_PROGRAM(
650 +@@ -4281,7 +4411,7 @@
651 + # Kill off single quotes, due to later requoting
652 + : ${MYSQL_INCLUDE=`$mysql_config --include | tr -d \'`}
653 + NCBI_RPATHIFY_OUTPUT_COND(MYSQL_LIBS, $mysql_config --libs${mt_sfx:+_r},
654 +- [s/'//g; ])
655 ++ [s/'//g; $no_usr_lib])
656 + AC_CACHE_CHECK([whether MySQL works], ncbi_cv_lib_mysql,
657 + [CPPFLAGS="$MYSQL_INCLUDE $orig_CPPFLAGS"
658 + LIBS="$MYSQL_LIBS $orig_LIBS"
659 +@@ -4310,7 +4440,6 @@
660 + if test "$with_bdb" != "no" ; then
661 + case "$with_bdb" in
662 + yes | "" )
663 +- : ${BERKELEYDB_PATH:="$NCBI/BerkeleyDB"}
664 + ;;
665 + */*)
666 + BERKELEYDB_PATH=$with_bdb
667 +@@ -4351,7 +4480,8 @@
668 + else
669 + BERKELEYDB_STATIC_LIBS=${BERKELEYDB_LIBS}
670 + fi
671 +- AC_CACHE_CHECK([for Berkeley DB libraries in $BERKELEYDB_PATH],
672 ++ AC_CACHE_CHECK(
673 ++ [for Berkeley DB libraries${BERKELEYDB_PATH:+ in $BERKELEYDB_PATH}],
674 + ncbi_cv_lib_berkeley_db,
675 + [CPPFLAGS="$BERKELEYDB_INCLUDE $orig_CPPFLAGS"
676 + LIBS="$BERKELEYDB_LIBS $orig_LIBS"
677 +@@ -4450,7 +4580,8 @@
678 + NCBI_RPATHIFY(ODBC_LIBS, ${ODBC_LIBPATH}, [ -lodbc -lodbcinst])
679 + CPPFLAGS="$ODBC_INCLUDE $orig_CPPFLAGS"
680 + LIBS="$ODBC_LIBS $orig_LIBS"
681 +- AC_CACHE_CHECK([for ODBC libraries in $ODBC_PATH], ncbi_cv_lib_odbc,
682 ++ AC_CACHE_CHECK([for ODBC libraries${ODBC_PATH:+ in $ODBC_PATH}],
683 ++ ncbi_cv_lib_odbc,
684 + [AC_LINK_IFELSE([AC_LANG_PROGRAM(
685 + [[#include <sql.h>]],
686 + [[SQLHDBC hdbc; SQLCHAR* cp = (SQLCHAR*) "x";
687 +@@ -4542,7 +4673,7 @@
688 + AC_PATH_PROG(PERL, perl, [], [$PERL_PATH/bin:$PATH])
689 + if test -x "$PERL"; then
690 + PERL_ARCHLIB=`$PERL -MConfig -e 'print \$Config{archlibexp};'`
691 +- PERL_FLAGS=`$PERL -MConfig -e 'print \$Config{cppflags};'`
692 ++ PERL_FLAGS=`$PERL -MConfig -e 'print join " ", grep /^-[[DI]]/, split /\\s+/, \$Config{cppflags};'`
693 + PERL_INCLUDE="-I$PERL_ARCHLIB/CORE $PERL_FLAGS"
694 + PERL_DEPS=`$PERL -MConfig -e 'print \$Config{libs};'`
695 + NCBI_RPATHIFY(PERL_LIBS, $PERL_ARCHLIB/CORE, [ -lperl $PERL_DEPS])
696 +@@ -4603,9 +4734,7 @@
697 +
698 + ## Boost
699 + if test "$with_boost" != "no"; then
700 +- if test "${with_boost-yes}" = yes; then
701 +- : ${BOOST_PATH=$NCBI/boost}
702 +- else
703 ++ if test "${with_boost-yes}" != yes; then
704 + BOOST_PATH=$with_boost
705 + fi
706 + if test -d "$BOOST_PATH"; then
707 +@@ -4644,17 +4773,22 @@
708 + if test -d `echo $BOOST_INCLUDE | sed -e 's/^-I//'`/boost-${ncbi_cv_lib_boost_version}/boost; then
709 + BOOST_INCLUDE=$BOOST_INCLUDE/boost-${ncbi_cv_lib_boost_version}
710 + fi
711 +- case "$ncbi_compiler" in
712 +- MIPSPRO)
713 ++ case "$compiler:$ncbi_compiler_ver" in
714 ++ MIPSpro*)
715 + BOOST_INCLUDE="$BOOST_INCLUDE $BOOST_INCLUDE/boost/compatibility/cpp_c_headers"
716 + ;;
717 +- WORKSHOP)
718 ++ WorkShop*)
719 + # Boost.Test's macros yield a *lot* of spurious "should not initialize
720 + # a non-const reference with a temporary" warnings, to the point of
721 + # overwhelming the compiler in some cases; turn them off altogether
722 + # when using Boost at all.
723 + BOOST_INCLUDE="$BOOST_INCLUDE -erroff=reftotemp"
724 + ;;
725 ++ GCC*:4[[7-9]]* | GCC*:5*)
726 ++ # Some portions of Boost also have a lot of "unused" typedefs
727 ++ # from concept checking.
728 ++ BOOST_INCLUDE="$BOOST_INCLUDE -Wno-unused-local-typedefs"
729 ++ ;;
730 + esac
731 + case "$ncbi_cv_lib_boost_version" in
732 + 0_* | 1_[[0-9]] | 1_[[0-9]]_* | 1_[[0-2]][[0-9]] | 1_[[0-2]][[0-9]]_* ) ;;
733 +@@ -4666,7 +4800,7 @@
734 + fi
735 + with_boost=no
736 + ;;
737 +- 1_3[[5-9]] | 1_3[[5-9]]_* | 1_4* | 1_5[[0-2]] | 1_5[[0-2]]_* ) ;;
738 ++ 1_3[[5-9]] | 1_3[[5-9]]_* | 1_4* | 1_5[[0-3]] | 1_5[[0-3]]_* ) ;;
739 + '' ) with_boost=no ;;
740 + * )
741 + AC_MSG_WARN(
742 +@@ -4751,7 +4885,9 @@
743 + BOOST_REGEX_STATIC_LIBS=$BOOST_REGEX_LIBS
744 + fi
745 +
746 +- AC_CACHE_CHECK([for Boost.Regex in $BOOST_PATH], ncbi_cv_lib_boost_regex,
747 ++ in_path=${BOOST_PATH:+ in $BOOST_PATH}
748 ++
749 ++ AC_CACHE_CHECK([for Boost.Regex$in_path], ncbi_cv_lib_boost_regex,
750 + CPPFLAGS="$BOOST_INCLUDE $orig_CPPFLAGS"
751 + LIBS="$BOOST_LIBPATH $BOOST_REGEX_LIBS $RT_LIBS $orig_LIBS"
752 + [AC_LINK_IFELSE(
753 +@@ -4759,7 +4895,7 @@
754 + [[throw boost::regex_error(boost::regex_constants::error_stack);]])],
755 + [ncbi_cv_lib_boost_regex=yes], [ncbi_cv_lib_boost_regex=no])])
756 +
757 +- AC_CACHE_CHECK([for Boost.Spirit in $BOOST_PATH], ncbi_cv_lib_boost_spirit,
758 ++ AC_CACHE_CHECK([for Boost.Spirit$in_path], ncbi_cv_lib_boost_spirit,
759 + CPPFLAGS="$BOOST_INCLUDE $orig_CPPFLAGS"
760 + LIBS="$RT_LIBS $orig_LIBS"
761 + [AC_LINK_IFELSE(
762 +@@ -4774,7 +4910,7 @@
763 + BOOST_SYSTEM_STATIC_LIBS=$BOOST_SYSTEM_LIBS
764 + fi
765 +
766 +- AC_CACHE_CHECK([for Boost.System in $BOOST_PATH], ncbi_cv_lib_boost_system,
767 ++ AC_CACHE_CHECK([for Boost.System$in_path], ncbi_cv_lib_boost_system,
768 + CPPFLAGS="$BOOST_INCLUDE $orig_CPPFLAGS"
769 + LIBS="$BOOST_LIBPATH $BOOST_SYSTEM_LIBS $RT_LIBS $orig_LIBS"
770 + [AC_LINK_IFELSE(
771 +@@ -4785,6 +4921,24 @@
772 + BOOST_SYSTEM_LIBS=
773 + BOOST_SYSTEM_STATIC_LIBS=])])
774 +
775 ++ boost_fs_lib=-lboost_filesystem${BOOST_TAG}
776 ++ if test -f "$BOOST_LIBPATH_/libboost_filesystem${BOOST_TAG}-static.a"; then
777 ++ boost_fs_static_lib=-lboost_filesystem${BOOST_TAG}-static
778 ++ else
779 ++ boost_fs_static_lib=$boost_fs_lib
780 ++ fi
781 ++ BOOST_FILESYSTEM_LIBS="$boost_fs_lib $BOOST_SYSTEM_LIBS"
782 ++ BOOST_FILESYSTEM_STATIC_LIBS="$boost_fs_static_lib $BOOST_SYSTEM_STATIC_LIBS"
783 ++
784 ++ AC_CACHE_CHECK([for Boost.Filesystem$in_path], ncbi_cv_lib_boost_filesystem,
785 ++ CPPFLAGS="$BOOST_INCLUDE $orig_CPPFLAGS"
786 ++ LIBS="$BOOST_LIBPATH $BOOST_FILESYSTEM_LIBS $RT_LIBS $orig_LIBS"
787 ++ [AC_LINK_IFELSE(
788 ++ [AC_LANG_PROGRAM([[#include <boost/filesystem.hpp>]],
789 ++ [[return boost::filesystem::portable_name("foo");]])],
790 ++ [ncbi_cv_lib_boost_filesystem=yes],
791 ++ [ncbi_cv_lib_boost_filesystem=no])])
792 ++
793 + BOOST_TEST_PEM_LIBS=-lboost_prg_exec_monitor${BOOST_TAG}
794 + if test -f "$BOOST_LIBPATH_/libboost_prg_exec_monitor${BOOST_TAG}-static.a"; then
795 + BOOST_TEST_PEM_STATIC_LIBS=-lboost_prg_exec_monitor${BOOST_TAG}-static
796 +@@ -4813,7 +4967,7 @@
797 + BOOST_TEST_TEM_LIBS=$BOOST_TEST_TEM_STATIC_LIBS
798 + BOOST_TEST_UTF_LIBS=$BOOST_TEST_UTF_STATIC_LIBS
799 +
800 +- AC_CACHE_CHECK([for Boost.Test in $BOOST_PATH], ncbi_cv_lib_boost_test,
801 ++ AC_CACHE_CHECK([for Boost.Test$in_path], ncbi_cv_lib_boost_test,
802 + CPPFLAGS="$BOOST_INCLUDE $orig_CPPFLAGS"
803 + LIBS="$RT_LIBS $orig_LIBS"
804 + found=
805 +@@ -4853,7 +5007,7 @@
806 + BOOST_THREAD_STATIC_LIBS=$BOOST_THREAD_LIBS
807 + fi
808 +
809 +- AC_CACHE_CHECK([for Boost.Threads in $BOOST_PATH], ncbi_cv_lib_boost_thread,
810 ++ AC_CACHE_CHECK([for Boost.Threads$in_path], ncbi_cv_lib_boost_thread,
811 + CPPFLAGS="$BOOST_INCLUDE $orig_CPPFLAGS"
812 + LIBS="$BOOST_LIBPATH $BOOST_THREAD_LIBS $RT_LIBS $orig_LIBS"
813 + [AC_LINK_IFELSE(
814 +@@ -4864,12 +5018,25 @@
815 + BOOST_INCLUDE=
816 + BOOST_LIBPATH=
817 + BOOST_TAG=
818 ++ ncbi_cv_lib_boost_filesystem=no
819 + ncbi_cv_lib_boost_regex=no
820 + ncbi_cv_lib_boost_spirit=no
821 ++ ncbi_cv_lib_boost_system=no
822 + ncbi_cv_lib_boost_test=no
823 + ncbi_cv_lib_boost_thread=no
824 + fi
825 +
826 ++if test "$ncbi_cv_lib_boost_filesystem" != "no"; then
827 ++ dnl AC_DEFINE(HAVE_BOOST_FILESYSTEM, 1,
828 ++ dnl [Define to 1 if the `Boost.Filesystem' library is available.])
829 ++ NCBI_PACKAGE(Boost.Filesystem)
830 ++else
831 ++ boost_fs_lib=
832 ++ boost_fs_static_lib=
833 ++ BOOST_FILESYSTEM_LIBS=
834 ++ BOOST_FILESYSTEM_STATIC_LIBS=
835 ++fi
836 ++
837 + if test "$ncbi_cv_lib_boost_regex" != "no"; then
838 + AC_DEFINE(HAVE_BOOST_REGEX, 1,
839 + [Define to 1 if the `Boost.Regex' library is available.])
840 +@@ -4927,7 +5094,10 @@
841 +
842 + ## NCBI C Toolkit
843 + if test "$with_ncbi_c" != "no" ; then
844 +- NCBI_C_PATH=${NCBI_C_PATH:="$NCBI"}
845 ++ if test "${with_ncbi_c-yes}" != yes; then
846 ++ NCBI_C_PATH=$with_ncbi_c
847 ++ fi
848 ++ : ${NCBI_C_PATH="$NCBI"}
849 + if test "$ncbi_compiler" = ICC -a -d "$NCBI_C_PATH/ncbi_icc"; then
850 + NCBI_C_PATH=$NCBI_C_PATH/ncbi_icc
851 + fi
852 +@@ -4949,7 +5119,8 @@
853 + NCBI_C_ncbi="-lncbi"
854 + fi
855 + NCBI_C_LIBPATH="-L$NCBI_C_LIBPATH"
856 +- AC_CACHE_CHECK([for the NCBI C toolkit in $NCBI_C_PATH], ncbi_cv_lib_ctools,
857 ++ AC_CACHE_CHECK([for the NCBI C toolkit${NCBI_C_PATH:+ in $NCBI_C_PATH}],
858 ++ ncbi_cv_lib_ctools,
859 + [CPPFLAGS="$NCBI_C_INCLUDE $orig_CPPFLAGS"
860 + LIBS="$NCBI_C_LIBPATH $NCBI_C_ncbi $NETWORK_LIBS $orig_LIBS"
861 + AC_LINK_IFELSE([AC_LANG_PROGRAM(
862 +@@ -5000,11 +5171,7 @@
863 +
864 + ## OpenGL
865 + if test "$with_opengl" != "no"; then
866 +- if test "${with_opengl-yes}" = yes; then
867 +- if test -d $NCBI/MesaGL; then
868 +- : ${OPENGL_PATH=$NCBI/MesaGL}
869 +- fi
870 +- else
871 ++ if test "${with_opengl-yes}" != yes; then
872 + OPENGL_PATH=$with_opengl
873 + fi
874 + if test -d "$OPENGL_PATH"; then
875 +@@ -5101,7 +5268,6 @@
876 + else
877 + OSMESA_STATIC_LIBS=$OSMESA_LIBS
878 + fi
879 +- : ${GLUT_PATH=$NCBI/glut}
880 + if test "$with_glut" != "no"; then
881 + if test "${with_glut-yes}" != "yes"; then
882 + GLUT_PATH=$with_glut
883 +@@ -5121,7 +5287,6 @@
884 + NCBI_MISSING_PACKAGE(glut)
885 + fi
886 + fi
887 +- : ${GLEW_PATH=$NCBI/glew}
888 + if test "$with_glew" != "no"; then
889 + if test "${with_glew-yes}" != "yes"; then
890 + GLEW_PATH=$with_glew
891 +@@ -5214,7 +5379,7 @@
892 + : ${with_wxwidgets_ucs=no}
893 + if test "$with_wxwidgets" != "no" ; then
894 + case "$with_wxwidgets" in
895 +- yes | "" ) : ${WXWIDGETS_PATH=$NCBI/wxwidgets} ;;
896 ++ yes | "" ) ;;
897 + * ) WXWIDGETS_PATH=$with_wxwidgets ;;
898 + esac
899 + if test -d "$WXWIDGETS_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/lib" \
900 +@@ -5283,12 +5448,13 @@
901 + libsed=$basesed
902 + ;;
903 + esac
904 +- AC_CACHE_CHECK([for wxWidgets in $WXWIDGETS_ARCH_PATH],
905 ++ AC_CACHE_CHECK(
906 ++ [for wxWidgets${WXWIDGETS_ARCH_PATH:+ in $WXWIDGETS_ARCH_PATH}],
907 + ncbi_cv_lib_wxwidgets,
908 + [if test -x "$wxconf" ; then
909 + WXWIDGETS_INCLUDE="$baseflags `"$wxconf" $wxcfflags --cflags`"
910 + NCBI_RPATHIFY_OUTPUT(WXWIDGETS_LIBS, ["$wxconf" $wxcfflags --libs],
911 +- [$libsed; ])
912 ++ [$libsed; s/ -lm / /g;])
913 +
914 + CPPFLAGS="$WXWIDGETS_INCLUDE $orig_CPPFLAGS"
915 + LIBS="$WXWIDGETS_LIBS $orig_LIBS"
916 +@@ -5315,12 +5481,12 @@
917 + else
918 + NCBI_PACKAGE(wxWidgets)
919 + case "`"$wxconf" $wxcfflags --version`" in
920 +- 2.[[89]].* | 2.[[0-9]][[0-9]]* )
921 +- NCBI_PACKAGE(wx2.8)
922 +- wxlibs=std,richtext,aui
923 ++ 1.* | 2.[[0-7]].*)
924 ++ wxlibs=std
925 + ;;
926 + *)
927 +- wxlibs=std
928 ++ NCBI_PACKAGE(wx2.8)
929 ++ wxlibs=std,richtext,aui,propgrid
930 + ;;
931 + esac
932 + # The "yes" may have been cached; get the actual settings again if needed
933 +@@ -5328,9 +5494,9 @@
934 + WXWIDGETS_INCLUDE="$baseflags `"$wxconf" $wxcfflags --cflags`"
935 + fi
936 + NCBI_RPATHIFY_OUTPUT(WXWIDGETS_LIBS, [$wxconf $wxcfflags --libs $wxlibs],
937 +- [$libsed; ])
938 ++ [$libsed; s/ -lm / /g;])
939 + WXWIDGETS_STATIC_LIBS=`"$wxconf" $wxcfflags --libs --static $wxlibs \
940 +- 2>/dev/null | sed -e "$basesed"`
941 ++ 2>/dev/null | sed -e "$basesed; s/ -lm / /g;"`
942 + if test -n "$WXWIDGETS_STATIC_LIBS"; then
943 + # Allow direct use of underlying libraries with strict linkers
944 + WXWIDGETS_LIBS="$WXWIDGETS_LIBS `echo $WXWIDGETS_STATIC_LIBS | sed -e 's/.*\.a *//'`"
945 +@@ -5350,7 +5516,7 @@
946 + ## In-house Fast-CGI library
947 + if test "$with_fastcgi" != "no" ; then
948 + case "$with_fastcgi" in
949 +- yes | "" ) : ${FASTCGI_PATH:="$NCBI/fcgi-current"} ;;
950 ++ yes | "" ) ;;
951 + */* ) FASTCGI_PATH=$with_fastcgi ;;
952 + * ) FASTCGI_PATH=$NCBI/fcgi-${with_fastcgi} ;;
953 + esac
954 +@@ -5366,7 +5532,8 @@
955 + NCBI_RPATHIFY(FASTCGI_LIBS, $FASTCGI_LIBDIR, [ -lfcgi $NETWORK_LIBS])
956 + FASTCGI_OBJS="fcgibuf"
957 + LIBS="$FASTCGI_LIBS $orig_LIBS"
958 +- AC_CACHE_CHECK([for FastCGI libraries in $FASTCGI_PATH], ncbi_cv_lib_fcgi,
959 ++ AC_CACHE_CHECK([for FastCGI libraries${FASTCGI_PATH:+ in $FASTCGI_PATH}],
960 ++ ncbi_cv_lib_fcgi,
961 + [CPPFLAGS="$FASTCGI_INCLUDE $orig_CPPFLAGS"
962 + AC_LINK_IFELSE([AC_LANG_PROGRAM(
963 + [[#include <fcgiapp.h>]],
964 +@@ -5416,7 +5583,11 @@
965 + else
966 + with_included_sss=no
967 + fi
968 ++ if test "${with_sss-yes}" = yes; then
969 + NCBI_SSS_PATH=${NCBI_SSS_PATH:="$NCBI/sss/BUILD"}
970 ++ else
971 ++ NCBI_SSS_PATH=$with_sss
972 ++ fi
973 + NCBI_SSS_INCLUDE=${NCBI_SSS_INCLUDE:="$NCBI_SSS_PATH/include"}
974 + if test -z "$NCBI_SSS_LIBPATH" ; then
975 + NCBI_SSS_LIBPATH="${NCBI_SSS_PATH}/lib/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}"
976 +@@ -5424,7 +5595,8 @@
977 + NCBI_SSS_LIBPATH="${NCBI_SSS_LIBPATH}mt"
978 + fi
979 + fi
980 +- AC_MSG_CHECKING([for NCBI SSS directories in $NCBI_SSS_PATH])
981 ++ AC_MSG_CHECKING(
982 ++ [for NCBI SSS directories${NCBI_SSS_PATH:+ in $NCBI_SSS_PATH}])
983 + if test "$with_included_sss" = "yes"; then
984 + AC_MSG_RESULT([yes]) # duh
985 + elif test ! -d "${NCBI_SSS_LIBPATH}" -o ! -d "${NCBI_SSS_INCLUDE}" ; then
986 +@@ -5510,7 +5682,6 @@
987 +
988 + # SP
989 + if test "$with_sp" != "no" ; then
990 +- SP_PATH=${SP_PATH:="$NCBI/SP"}
991 + if test -n "$SP_INCLUDE"; then
992 + SP_GENERIC="$SP_INCLUDE/../generic"
993 + else
994 +@@ -5520,7 +5691,7 @@
995 + if test -z "$SP_LIBPATH" ; then
996 + SP_LIBPATH="${SP_PATH}/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}"
997 + fi
998 +- AC_MSG_CHECKING([for SP directories in $SP_PATH])
999 ++ AC_MSG_CHECKING([for SP directories${SP_PATH:+ in $SP_PATH}])
1000 + if test ! -d "${SP_LIBPATH}" -o ! -d "${SP_INCLUDE}" ; then
1001 + AC_MSG_RESULT([no])
1002 + NCBI_MISSING_PACKAGE(sp)
1003 +@@ -5558,19 +5729,13 @@
1004 +
1005 +
1006 + ## ORBacus CORBA
1007 +-if test "${with_orbacus:-yes}" = yes; then
1008 +- if test -d $NCBI/corba/${compiler_vpfx}Release${bit64_sfx}MT; then
1009 +- : ${ORBACUS_PATH=$NCBI/corba/${compiler_vpfx}Release${bit64_sfx}MT}
1010 +- else
1011 +- : ${ORBACUS_PATH=$NCBI/corba/OB-4.0.1}
1012 +- fi
1013 +-elif test "$with_orbacus" != no; then
1014 ++if test "$with_orbacus" != no; then
1015 ++ if test "$with_orbacus" != yes; then
1016 + ORBACUS_PATH=$with_orbacus
1017 + fi
1018 + if test -d "$ORBACUS_PATH"; then
1019 + NCBI_FIX_DIR(ORBACUS_PATH)
1020 + fi
1021 +-if test "$with_orbacus" != no; then
1022 + fullpath=${ORBACUS_PATH}/${DEBUG_SFX}${mt_sfx}${bit64_sfx}
1023 + if test -f ${fullpath}/inc/OB/Config.h ; then
1024 + : ${ORBACUS_INCLUDE="-I$ORBACUS_PATH/include -I$fullpath/inc"}
1025 +@@ -5594,7 +5759,8 @@
1026 + LIBIMR=
1027 + ;;
1028 + esac
1029 +- AC_CACHE_CHECK([for ORBacus in $ORBACUS_PATH], ncbi_cv_lib_orbacus,
1030 ++ AC_CACHE_CHECK([for ORBacus${ORBACUS_PATH:+ in $ORBACUS_PATH}],
1031 ++ ncbi_cv_lib_orbacus,
1032 + [CPPFLAGS="$ORBACUS_INCLUDE $orig_CPPFLAGS"
1033 + LIBS="$ORBACUS_LIBPATH $LIBOB $NETWORK_LIBS $DL_LIBS $orig_LIBS"
1034 + AC_LINK_IFELSE([AC_LANG_PROGRAM(
1035 +@@ -5633,7 +5799,7 @@
1036 +
1037 + if test "$with_icu" != "no" ; then
1038 + case "$with_icu" in
1039 +- yes | "" ) : ${ICU_PATH=$NCBI/icu} ;;
1040 ++ yes | "" ) ;;
1041 + * ) ICU_PATH=$with_icu ;;
1042 + esac
1043 + if test -d "$ICU_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}/lib" \
1044 +@@ -5648,7 +5814,8 @@
1045 + ICU_BINPATH=${ICU_BINPATH:="$ICU_ARCH_PATH/bin"}
1046 + ICU_LIBPATH=${ICU_LIBPATH:="$ICU_ARCH_PATH/lib"}
1047 + ICU_INCLUDE=
1048 +- AC_CACHE_CHECK([for ICU in $ICU_ARCH_PATH], ncbi_cv_lib_icu,
1049 ++ AC_CACHE_CHECK([for ICU${ICU_ARCH_PATH:+ in $ICU_ARCH_PATH}],
1050 ++ ncbi_cv_lib_icu,
1051 + [ICU_CONFIG=`$ICU_BINPATH/icu-config --bindir 2>/dev/null`/icu-config
1052 + if test -x "$ICU_CONFIG" ; then
1053 + ICU_INCLUDE=`$ICU_CONFIG --cppflags-searchpath`
1054 +@@ -5690,9 +5857,6 @@
1055 +
1056 +
1057 + ### XML/XSL libraries
1058 +-if test -d "$NCBI/expat/include"; then
1059 +- : ${EXPAT_PATH=$NCBI/expat}
1060 +-fi
1061 + NCBI_CHECK_THIRD_PARTY_LIB(expat,
1062 + AC_LANG_PROGRAM([#include <expat.h>],
1063 + [XML_Parser parser = XML_ParserCreate("utf-8");]))
1064 +@@ -5701,7 +5865,6 @@
1065 + else
1066 + EXPAT_STATIC_LIBS=${EXPAT_LIBS}
1067 + fi
1068 +-: ${SABLOT_PATH=$NCBI/Sablot}
1069 + vpath="$SABLOT_PATH/${compiler_vpfx}build"
1070 + test -d "$vpath" && SABLOT_PATH=$vpath
1071 + if test -d "$SABLOT_PATH"; then
1072 +@@ -5718,7 +5881,6 @@
1073 + SABLOT_STATIC_LIBS=${SABLOT_LIBS}
1074 + fi
1075 +
1076 +-: ${LIBXML_PATH=$NCBI/libxml}
1077 + # test -d "$LIBXML_PATH" || LIBXML_PATH=`xml2-config --prefix 2>/dev/null`
1078 + if test "$with_libxml" != "no"; then
1079 + case "$with_libxml" in
1080 +@@ -5813,7 +5975,6 @@
1081 + LIBEXSLT_STATIC_LIBS=${LIBEXSLT_LIBS}
1082 + fi
1083 +
1084 +-: ${XERCES_PATH=$NCBI/xerces}
1085 + if test "$with_xerces" != no; then
1086 + if test "${with_xerces-yes}" != yes; then
1087 + XERCES_PATH=$with_xerces
1088 +@@ -5838,7 +5999,7 @@
1089 + NCBI_FIX_DIR(XERCES_LIBPATH)
1090 + fi
1091 + fi
1092 +- if test -d $XERCES_PATH; then
1093 ++ if test -d "$XERCES_PATH"; then
1094 + in_path=" in $XERCES_PATH"
1095 + : ${XERCES_INCLUDE=-I$XERCES_PATH/include}
1096 + : ${XERCES_LIBPATH=$XERCES_PATH/lib}
1097 +@@ -5875,7 +6036,6 @@
1098 + XERCES_STATIC_LIBS=
1099 + fi
1100 +
1101 +-: ${XALAN_PATH=$NCBI/xalan}
1102 + if test "$with_xalan" != no; then
1103 + if test "${with_xalan-yes}" != yes; then
1104 + XALAN_PATH=$with_xalan
1105 +@@ -5900,7 +6060,7 @@
1106 + NCBI_FIX_DIR(XALAN_LIBPATH)
1107 + fi
1108 + fi
1109 +- if test -d $XALAN_PATH; then
1110 ++ if test -d "$XALAN_PATH"; then
1111 + in_path=" in $XALAN_PATH"
1112 + : ${XALAN_INCLUDE=-I$XALAN_PATH/include}
1113 + : ${XALAN_LIBPATH=$XALAN_PATH/lib}
1114 +@@ -5937,7 +6097,6 @@
1115 +
1116 + test -d SunWS_cache && rm -r SunWS_cache
1117 +
1118 +-: ${ZORBA_PATH=$NCBI/zorba}
1119 + if test "$with_zorba" != no; then
1120 + if test "${with_zorba-yes}" != yes; then
1121 + ZORBA_PATH=$with_zorba
1122 +@@ -5967,7 +6126,7 @@
1123 + ZORBA_PATH=`$ZORBA_CONFIG --prefix`
1124 + : ${ZORBA_INCLUDE=`$ZORBA_CONFIG --cppflags`}
1125 + fi
1126 +- if test -d $ZORBA_PATH; then
1127 ++ if test -d "$ZORBA_PATH"; then
1128 + in_path=" in $ZORBA_PATH"
1129 + : ${ZORBA_INCLUDE=-I$ZORBA_PATH/include}
1130 + : ${ZORBA_LIBPATH=$ZORBA_PATH/lib}
1131 +@@ -6010,7 +6169,7 @@
1132 +
1133 + ### SQLite
1134 + case "$with_sqlite3" in
1135 +- yes | '' ) : ${SQLITE3_PATH=$NCBI/sqlite3} ;;
1136 ++ yes | '' ) ;;
1137 + * ) SQLITE3_PATH=$with_sqlite3 ;;
1138 + esac
1139 +
1140 +@@ -6048,7 +6207,6 @@
1141 + ### OEChem
1142 + # somewhat kludgish, as we now wanto to add in oeiupac and oedepict,
1143 + # which depend on oechem....
1144 +-: ${OECHEM_PATH=$NCBI/oechem}
1145 + NCBI_CHECK_THIRD_PARTY_LIB(oechem,
1146 + AC_LANG_PROGRAM([#include <oechem.h>],
1147 + [OEChem::OEMol mol; OEChem::OEConfBase* c = mol.GetActive();]),
1148 +@@ -6091,7 +6249,7 @@
1149 +
1150 + ### muParser
1151 + case "$with_muparser" in
1152 +- yes | '' ) : ${MUPARSER_PATH=$NCBI/muParser} ;;
1153 ++ yes | '' ) ;;
1154 + * ) MUPARSER_PATH=$with_muparser ;;
1155 + esac
1156 +
1157 +@@ -6111,7 +6269,7 @@
1158 +
1159 + ### hdf5
1160 + case "$with_hdf5" in
1161 +- yes | '' ) : ${HDF5_PATH=$NCBI/hdf5} ;;
1162 ++ yes | '' ) ;;
1163 + * ) HDF5_PATH=$with_hdf5 ;;
1164 + esac
1165 +
1166 +@@ -6176,7 +6334,7 @@
1167 + GIF_LIBS=$UNGIF_LIBS
1168 + fi
1169 +
1170 +-test -n "$x_libraries" && : ${XPM_PATH=`dirname "$x_libraries"`}
1171 ++case "$x_libraries" in */*) : ${XPM_PATH=`dirname "$x_libraries"`} ;; esac
1172 + NCBI_CHECK_THIRD_PARTY_LIB(Xpm,
1173 + AC_LANG_PROGRAM([#include <X11/xpm.h>],
1174 + [XpmImage image; XpmInfo info;
1175 +@@ -6241,7 +6399,7 @@
1176 + fi
1177 +
1178 + case "$with_ftgl" in
1179 +- yes | '' ) : ${FTGL_PATH=$NCBI/ftgl} ;;
1180 ++ yes | '' ) ;;
1181 + * ) FTGL_PATH=$with_ftgl ;;
1182 + esac
1183 +
1184 +@@ -6268,7 +6426,7 @@
1185 +
1186 + # Mimetic
1187 + case "$with_mimetic" in
1188 +- yes | '' ) : ${MIMETIC_PATH=$NCBI/mimetic} ;;
1189 ++ yes | '' ) ;;
1190 + * ) MIMETIC_PATH=$with_mimetic ;;
1191 + esac
1192 + if test -d "$MIMETIC_PATH"; then
1193 +@@ -6293,6 +6451,88 @@
1194 + [mimetic::MimeEntity me;])])
1195 +
1196 +
1197 ++# gSOAP++
1198 ++case "$with_gsoap" in
1199 ++ yes | '' ) ;;
1200 ++ * ) GSOAP_PATH=$with_gsoap ;;
1201 ++esac
1202 ++if test -d "$GSOAP_PATH"; then
1203 ++ NCBI_FIX_DIR(GSOAP_PATH)
1204 ++fi
1205 ++for d in "$GSOAP_LIBDIR" \
1206 ++ "$GSOAP_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/lib" \
1207 ++ "$GSOAP_PATH/${compiler_pfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/lib" \
1208 ++ "$GSOAP_PATH/lib${bit64_sfx}" \
1209 ++ "$GSOAP_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}/lib" \
1210 ++ "$GSOAP_PATH/${compiler_pfx}${DEBUG_SFX}${mt_sfx}/lib" \
1211 ++ "$GSOAP_PATH/lib"; do
1212 ++ if test -d "$d"; then
1213 ++ GSOAP_LIBDIR=$d
1214 ++ NCBI_FIX_DIR(GSOAP_LIBDIR)
1215 ++ break
1216 ++ fi
1217 ++done
1218 ++NCBI_RPATHIFY(GSOAP_LIBPATH, $GSOAP_LIBDIR)
1219 ++
1220 ++: ${GSOAP_BINDIR=`dirname "$GSOAP_LIBDIR"`/bin}
1221 ++AC_PATH_PROG(GSOAP_SOAPCPP2, soapcpp2, [], $GSOAP_BINDIR:$PATH)
1222 ++AC_PATH_PROG(GSOAP_WSDL2H, wsdl2h, [], $GSOAP_BINDIR:$PATH)
1223 ++
1224 ++NCBI_CHECK_THIRD_PARTY_LIB_EX(gsoap, GSOAP, gsoapssl++,
1225 ++ [AC_LANG_PROGRAM([#include <stdsoap2.h>
1226 ++ SOAP_FMAC3 const char** SOAP_FMAC4 soap_faultcode(struct soap*)
1227 ++ { return NULL; }
1228 ++ SOAP_FMAC3 const char** SOAP_FMAC4 soap_faultsubcode(struct soap*)
1229 ++ { return NULL; }
1230 ++ SOAP_FMAC3 const char** SOAP_FMAC4 soap_faultstring(struct soap*)
1231 ++ { return NULL; }
1232 ++ SOAP_FMAC3 const char** SOAP_FMAC4 soap_faultdetail(struct soap*)
1233 ++ { return NULL; }
1234 ++ SOAP_FMAC3 const char* SOAP_FMAC4 soap_check_faultsubcode(struct soap*)
1235 ++ { return NULL; }
1236 ++ SOAP_FMAC3 const char* SOAP_FMAC4 soap_check_faultdetail(struct soap*)
1237 ++ { return NULL; }
1238 ++ SOAP_FMAC3 void SOAP_FMAC4 soap_serializeheader(struct soap*) { }
1239 ++ SOAP_FMAC3 int SOAP_FMAC4 soap_putheader(struct soap*) { return 0; }
1240 ++ SOAP_FMAC3 int SOAP_FMAC4 soap_getheader(struct soap*) { return 0; }
1241 ++ SOAP_FMAC3 void SOAP_FMAC4 soap_serializefault(struct soap*) { }
1242 ++ SOAP_FMAC3 int SOAP_FMAC4 soap_putfault(struct soap*) { return 0; }
1243 ++ SOAP_FMAC3 int SOAP_FMAC4 soap_getfault(struct soap*) { return 0; }],
1244 ++ [soap s;])],
1245 ++ $OPENSSL_LIBS $Z_LIBS)
1246 ++
1247 ++case "$with_sqlite3" in
1248 ++ yes | '' ) ;;
1249 ++ * ) SQLITE3_PATH=$with_sqlite3 ;;
1250 ++esac
1251 ++
1252 ++
1253 ++# MongoDB
1254 ++if test -d "$MONGODB_PATH"; then
1255 ++ NCBI_FIX_DIR(MONGODB_PATH)
1256 ++fi
1257 ++if test -d $MONGODB_PATH/lib${bit64_sfx}; then
1258 ++ MONGODB_LIBDIR=$MONGODB_PATH/lib${bit64_sfx}
1259 ++else
1260 ++ MONGODB_LIBDIR=$MONGODB_PATH/lib
1261 ++fi
1262 ++# need Boost rpath
1263 ++NCBI_RPATHIFY(MONGODB_LIBPATH, $MONGODB_LIBDIR)
1264 ++NCBI_CHECK_THIRD_PARTY_LIB_EX(mongodb, MONGODB, mongoclient,
1265 ++ [AC_LANG_PROGRAM([#include <mongo/client/dbclient.h>],
1266 ++ [std::vector<mongo::HostAndPort> v;
1267 ++ mongo::DBClientReplicaSet client("foo", v);
1268 ++ client.connect();])],
1269 ++ [$BOOST_LIBPATH $boost_fs_lib $BOOST_THREAD_LIBS], [],
1270 ++ [$BOOST_INCLUDE])
1271 ++# MongoDB's own library is normally static, but its supporting Boost
1272 ++# libraries might not be by default.
1273 ++if test -n "$MONGODB_LIBS"; then
1274 ++ MONGODB_STATIC_LIBS="$MONGODB_LIBPATH -lmongodb $BOOST_LIBPATH $boost_fs_static_lib $BOOST_THREAD_STATIC_LIBS"
1275 ++else
1276 ++ MONGODB_STATIC_LIBS=
1277 ++fi
1278 ++
1279 + ### Restore original compiler/linker flags
1280 + LIBS="$orig_LIBS"
1281 + CPPFLAGS="$orig_CPPFLAGS"
1282 +@@ -6499,16 +6739,6 @@
1283 + fi
1284 +
1285 +
1286 +-## Sequence Read Archive SDK, which may be attached on either the
1287 +-## public or the internal side
1288 +-
1289 +-if test -f "${real_srcdir}/src/sra/sdk/Makefile.sra_macros.mk"; then
1290 +- sra=sra
1291 +-else
1292 +- sra=
1293 +-fi
1294 +-
1295 +-
1296 + ## `internal' project cluster
1297 +
1298 + if test "$with_internal" = "no" \
1299 +@@ -6781,6 +7011,7 @@
1300 + AC_SUBST(C_LINK)
1301 + AC_SUBST(TAIL_N)
1302 + AC_SUBST(EGREP_Q)
1303 ++AC_SUBST(LDD_R)
1304 +
1305 + AC_SUBST(CFLAGS)
1306 + AC_SUBST(FAST_CFLAGS)
1307 +@@ -6829,7 +7060,6 @@
1308 + AC_SUBST(algo)
1309 + AC_SUBST(app)
1310 + AC_SUBST(internal)
1311 +-AC_SUBST(sra)
1312 +
1313 + AC_SUBST(check)
1314 + AC_SUBST(CHECK_ARG)
1315 +@@ -6865,6 +7095,7 @@
1316 +
1317 + AC_SUBST(THREAD_LIBS)
1318 + AC_SUBST(NCBIATOMIC_LIB)
1319 ++AC_SUBST(OPENMP_FLAGS)
1320 + AC_SUBST(NETWORK_LIBS)
1321 + AC_SUBST(NETWORK_PURE_LIBS)
1322 + AC_SUBST(RESOLVER_LIBS)
1323 +@@ -6902,6 +7133,8 @@
1324 + AC_SUBST(BOOST_INCLUDE)
1325 + AC_SUBST(BOOST_LIBPATH)
1326 + AC_SUBST(BOOST_TAG)
1327 ++AC_SUBST(BOOST_FILESYSTEM_LIBS)
1328 ++AC_SUBST(BOOST_FILESYSTEM_STATIC_LIBS)
1329 + AC_SUBST(BOOST_REGEX_LIBS)
1330 + AC_SUBST(BOOST_REGEX_STATIC_LIBS)
1331 + AC_SUBST(BOOST_SYSTEM_LIBS)
1332 +@@ -6968,6 +7201,8 @@
1333 + AC_SUBST(SQLITE3_STATIC_LIBS)
1334 + AC_SUBST(FREETYPE_INCLUDE)
1335 + AC_SUBST(FREETYPE_LIBS)
1336 ++AC_SUBST(GSOAP_PATH)
1337 ++AC_SUBST(MONGODB_STATIC_LIBS)
1338 + AC_SUBST(ncbi_xreader_pubseqos)
1339 + AC_SUBST(ncbi_xreader_pubseqos2)
1340 + AC_SUBST(UNLESS_PUBSEQOS)
1341 +@@ -7194,7 +7429,9 @@
1342 +
1343 + cat << EOCONF
1344 + ===============================================================================
1345 +-NCBI C++ Toolkit documentation: doc/index.html, doc/config.html#ref_Running
1346 ++NCBI C++ Toolkit documentation:
1347 ++ Online: http://www.ncbi.nlm.nih.gov/toolkit/doc/book/
1348 ++ Local: ./doc/public/index.html
1349 + For the available configuration flags run: ./configure --help
1350 +
1351 + CFLAGS = $CFLAGS
1352 +--- ncbi_cxx--12_0_0/src/build-system/aclocal.m4.ori 2014-06-23 17:36:18.000000000 +0200
1353 ++++ ncbi_cxx--12_0_0/src/build-system/aclocal.m4 2014-06-23 17:36:59.000000000 +0200
1354 +@@ -1,126 +1,45 @@
1355 +-# Hacked up in various ways, since Autoconf's version doesn't quite
1356 +-# suit our (unusual) conventions. (Originally from status.m4)
1357 +-m4_define([_AC_SRCPATHS],
1358 +-[#ac_builddir=. # Useless!
1359 +-ac_builddir=$builddir
1360 +-dnl Base source directories on path to *input* file.
1361 +-if test -n "$ac_file_in"; then
1362 +- ac_dir_in=`AS_DIRNAME(["$ac_file_in"])`
1363 ++# Autoconf's _AC_SRCDIRS (from status.m4; historically _AC_SRCPATHS)
1364 ++# doesn't quite suit the C++ Toolkit's conventions; tweak it accordingly.
1365 ++m4_copy([_AC_SRCDIRS], [NCBI_ORIG__AC_SRCDIRS])
1366 ++m4_define([_AC_SRCDIRS],
1367 ++[# Base source directories on path to *input* file.
1368 ++if test -n "$ac_f"; then
1369 ++ ac_dir_in=`AS_DIRNAME(["$ac_f"])`
1370 + else
1371 + ac_dir_in=$1
1372 + fi
1373 +
1374 +-if test $ac_dir_in != .; then
1375 +- ac_dir_suffix=`echo $ac_dir_in | sed 's,^\.[[\\/]],,'`
1376 +- # A "../" for each directory in $ac_dir_suffix.
1377 +- ac_top_builddir=../`echo "$ac_dir_suffix" | sed 's,/[[^\\/]]*,../,g'`
1378 +-else
1379 +- ac_dir_suffix= ac_top_builddir=
1380 +-fi
1381 ++NCBI_ORIG__AC_SRCDIRS(["$ac_dir_in"])
1382 +
1383 +-case $srcdir in
1384 +- .) # No --srcdir option. We are building in place.
1385 +- ac_srcdir=.
1386 +- if test -z "$ac_top_builddir"; then
1387 +- ac_top_srcdir=.
1388 +- else
1389 +- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1390 +- fi ;;
1391 +- [[\\/]]* | ?:[[\\/]]* ) # Absolute path.
1392 +- ac_srcdir=$srcdir/$ac_dir_suffix;
1393 +- ac_top_srcdir=$srcdir ;;
1394 +- *) # Relative path.
1395 +- ac_srcdir=$ac_top_builddir$srcdir/$ac_dir_suffix
1396 +- ac_top_srcdir=$ac_top_builddir$srcdir ;;
1397 +-esac
1398 +-# Do not use `cd foo && pwd` to compute absolute paths, because
1399 +-# the directories may not exist.
1400 +-AS_SET_CATFILE([ac_abs_builddir], [$builddir], [$1])
1401 +-AS_SET_CATFILE([ac_abs_top_builddir],
1402 +- [$ac_abs_builddir], [${ac_top_builddir}.])
1403 + AS_SET_CATFILE([ac_abs_top_srcdir], [$ac_dir_in], [$real_srcdir])
1404 +-AS_SET_CATFILE([ac_abs_srcdir], [$ac_abs_top_srcdir], [$ac_dir_suffix])
1405 +-])# _AC_SRCPATHS
1406 +-
1407 ++ac_builddir=$builddir
1408 ++])
1409 +
1410 +-# Copied from autoconf 2.59 (m4sh.m4), but rearranged to make bash a
1411 +-# last resort due to issues with sourcing .bashrc.
1412 +-m4_define([_AS_LINENO_PREPARE],
1413 +-[_AS_LINENO_WORKS || {
1414 +- # Find who we are. Look in the path if we contain no path at all
1415 +- # relative or not.
1416 +- case $[0] in
1417 +- *[[\\/]]* ) as_myself=$[0] ;;
1418 +- *) _AS_PATH_WALK([],
1419 +- [test -r "$as_dir/$[0]" && as_myself=$as_dir/$[0] && break])
1420 +- ;;
1421 +- esac
1422 +- # We did not find ourselves, most probably we were run as `sh COMMAND'
1423 +- # in which case we are not to be found in the path.
1424 +- if test "x$as_myself" = x; then
1425 +- as_myself=$[0]
1426 +- fi
1427 +- if test ! -f "$as_myself"; then
1428 +- AS_ERROR([cannot find myself; rerun with an absolute path])
1429 +- fi
1430 +- case $CONFIG_SHELL in
1431 +- '')
1432 +- AS_UNSET(ZSH_VERSION)
1433 +- for as_base in sh ksh sh5 bash; do
1434 +- _AS_PATH_WALK([/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH],
1435 +- [case $as_dir in
1436 +- /*)
1437 +- if ("$as_dir/$as_base" -c \
1438 +- 'test -z "$ZSH_VERSION" && { _AS_LINENO_WORKS; }') 2>/dev/null
1439 +- then
1440 +- AS_UNSET(BASH_ENV)
1441 +- AS_UNSET(ENV)
1442 +- CONFIG_SHELL=$as_dir/$as_base
1443 +- export CONFIG_SHELL
1444 +- exec "$CONFIG_SHELL" "$[0]" ${1+"$[@]"}
1445 +- fi;;
1446 +- esac
1447 +- done]);;
1448 +- esac
1449 +
1450 +- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1451 +- # uniformly replaced by the line number. The first 'sed' inserts a
1452 +- # line-number line before each line; the second 'sed' does the real
1453 +- # work. The second script uses 'N' to pair each line-number line
1454 +- # with the numbered line, and appends trailing '-' during
1455 +- # substitution so that $LINENO is not a special case at line end.
1456 +- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1457 +- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1458 +- sed '=' <$as_myself |
1459 +- sed '
1460 +- N
1461 +- s,$,-,
1462 +- : loop
1463 +- s,^\([['$as_cr_digits']]*\)\(.*\)[[$]]LINENO\([[^'$as_cr_alnum'_]]\),\1\2\1\3,
1464 +- t loop
1465 +- s,-$,,
1466 +- s,^[['$as_cr_digits']]*\n,,
1467 +- ' >$as_me.lineno &&
1468 +- chmod +x $as_me.lineno ||
1469 +- AS_ERROR([cannot create $as_me.lineno; rerun with a POSIX shell])
1470 +-
1471 +- # Don't try to exec as it changes $[0], causing all sort of problems
1472 +- # (the dirname of $[0] is not the place where we might find the
1473 +- # original and so on. Autoconf is especially sensible to this).
1474 +- . ./$as_me.lineno
1475 +- # Exit status is that of the last command.
1476 +- exit
1477 +-}
1478 +-])# _AS_LINENO_PREPARE
1479 ++# _AS_DETECT_BETTER_SHELL and its helper _AS_RUN (from m4sh.m4; both
1480 ++# historically part of _AS_LINENO_PREPARE) also need tweaking, to make
1481 ++# bash a last resort due to issues with sourcing .bashrc while entirely
1482 ++# avoiding zsh, which passes itself off as ksh on some systems but runs
1483 ++# parent shells' exit handlers from subshells, resulting in premature
1484 ++# cleanup of temporary files (notably confdefs.h).
1485 ++m4_copy([_AS_DETECT_BETTER_SHELL], [NCBI_ORIG__AS_DETECT_BETTER_SHELL])
1486 ++m4_copy([_AS_RUN], [NCBI_ORIG___AS_RUN])
1487 ++
1488 ++m4_define([_AS_DETECT_BETTER_SHELL],
1489 ++ [patsubst(m4_defn([NCBI_ORIG__AS_DETECT_BETTER_SHELL]),
1490 ++ [sh bash ksh sh5], [sh ksh sh5 bash])])
1491 ++m4_define([_AS_RUN],
1492 ++[m4_divert_once([M4SH-SANITIZE], [AS_UNSET(ZSH_VERSION)])dnl
1493 ++NCBI_ORIG___AS_RUN([test -z "${ZSH_VERSION+set}" || exit $?; $1], [$2])])
1494 +
1495 +
1496 + # One more hack: suppress PACKAGE_*, as we don't use them and some
1497 + # third-party libraries expose their corresponding settings, leading
1498 + # to preprocessor warnings.
1499 +-m4_define([NCBI_ORIG_ACDU], m4_defn([AC_DEFINE_UNQUOTED]))
1500 ++m4_copy([AC_DEFINE_UNQUOTED], [NCBI_ORIG_AC_DEFINE_UNQUOTED])
1501 + m4_define([AC_DEFINE_UNQUOTED],
1502 + [ifelse(m4_substr([$1], 0, 8), [PACKAGE_], [],
1503 +- [NCBI_ORIG_ACDU($@)])])
1504 ++ [NCBI_ORIG_AC_DEFINE_UNQUOTED($@)])])
1505 +
1506 +
1507 + AC_DEFUN(NCBI_FIX_DIR,
1508 +@@ -158,7 +77,7 @@
1509 + AC_MSG_WARN([Proceeding without questions per --without-caution]) ;;
1510 + * )
1511 + echo "$1 [[y/N]]"
1512 +- read answer
1513 ++ read answer <& AS_ORIGINAL_STDIN_FD
1514 + case "$answer" in
1515 + [[Yy]]* ) AC_MSG_WARN([Proceeding at your own risk...]) ;;
1516 + * ) AC_MSG_ERROR([Configuration has been canceled by user.]) ;;
1517 +--- ncbi_cxx--12_0_0/src/build-system/config.h.in.ori 2014-06-23 17:38:56.000000000 +0200
1518 ++++ ncbi_cxx--12_0_0/src/build-system/config.h.in 2014-06-23 17:39:04.000000000 +0200
1519 +@@ -98,6 +98,9 @@
1520 + /* Define to 1 if you have the `getaddrinfo' function. */
1521 + #undef HAVE_GETADDRINFO
1522 +
1523 ++/* Define to 1 if you have the `getgrouplist' function. */
1524 ++#undef HAVE_GETGROUPLIST
1525 ++
1526 + /* If you have the `gethostbyaddr_r' function, define to the number of
1527 + arguments it takes (normally 7 or 8). */
1528 + #undef HAVE_GETHOSTBYADDR_R
1529 +@@ -176,9 +179,6 @@
1530 + /* Define to 1 if you have `ios(_base)::register_callback'. */
1531 + #undef HAVE_IOS_REGISTER_CALLBACK
1532 +
1533 +-/* Define to 1 if <algorithm> supplies `std::is_sorted<>'. */
1534 +-#undef HAVE_IS_SORTED
1535 +-
1536 + /* Define to 1 if you have the `lchown' function. */
1537 + #undef HAVE_LCHOWN
1538 +
1539 +@@ -234,6 +234,9 @@
1540 + /* Define to 1 if libgnutls is available. */
1541 + #undef HAVE_LIBGNUTLS
1542 +
1543 ++/* Define to 1 if libgsoapssl++ is available. */
1544 ++#undef HAVE_LIBGSOAP
1545 ++
1546 + /* Define to 1 if libhdf5_cpp is available. */
1547 + #undef HAVE_LIBHDF5
1548 +
1549 +@@ -260,6 +263,9 @@
1550 + /* Define to 1 if libmimetic is available. */
1551 + #undef HAVE_LIBMIMETIC
1552 +
1553 ++/* Define to 1 if libmongoclient is available. */
1554 ++#undef HAVE_LIBMONGODB
1555 ++
1556 + /* Define to 1 if libmuparser is available. */
1557 + #undef HAVE_LIBMUPARSER
1558 +
1559 +@@ -382,9 +388,6 @@
1560 + /* Define to 1 if `min'/`max' templates are not implemented. */
1561 + #undef HAVE_NO_MINMAX_TEMPLATE
1562 +
1563 +-/* Define to 1 if your C++ compiler supports the C++0x `nullptr' keyword. */
1564 +-#undef HAVE_NULLPTR
1565 +-
1566 + /* Define to 1 if ODBC libraries are available. */
1567 + #undef HAVE_ODBC
1568 +
1569 +@@ -799,37 +802,37 @@
1570 + by a signal. */
1571 + #undef SELECT_UPDATES_TIMEOUT
1572 +
1573 +-/* The size of a `char', as computed by sizeof. */
1574 ++/* The size of `char', as computed by sizeof. */
1575 + #undef SIZEOF_CHAR
1576 +
1577 +-/* The size of a `double', as computed by sizeof. */
1578 ++/* The size of `double', as computed by sizeof. */
1579 + #undef SIZEOF_DOUBLE
1580 +
1581 +-/* The size of a `float', as computed by sizeof. */
1582 ++/* The size of `float', as computed by sizeof. */
1583 + #undef SIZEOF_FLOAT
1584 +
1585 +-/* The size of a `int', as computed by sizeof. */
1586 ++/* The size of `int', as computed by sizeof. */
1587 + #undef SIZEOF_INT
1588 +
1589 +-/* The size of a `long', as computed by sizeof. */
1590 ++/* The size of `long', as computed by sizeof. */
1591 + #undef SIZEOF_LONG
1592 +
1593 +-/* The size of a `long double', as computed by sizeof. */
1594 ++/* The size of `long double', as computed by sizeof. */
1595 + #undef SIZEOF_LONG_DOUBLE
1596 +
1597 +-/* The size of a `long long', as computed by sizeof. */
1598 ++/* The size of `long long', as computed by sizeof. */
1599 + #undef SIZEOF_LONG_LONG
1600 +
1601 +-/* The size of a `short', as computed by sizeof. */
1602 ++/* The size of `short', as computed by sizeof. */
1603 + #undef SIZEOF_SHORT
1604 +
1605 +-/* The size of a `size_t', as computed by sizeof. */
1606 ++/* The size of `size_t', as computed by sizeof. */
1607 + #undef SIZEOF_SIZE_T
1608 +
1609 +-/* The size of a `void*', as computed by sizeof. */
1610 ++/* The size of `void*', as computed by sizeof. */
1611 + #undef SIZEOF_VOIDP
1612 +
1613 +-/* The size of a `__int64', as computed by sizeof. */
1614 ++/* The size of `__int64', as computed by sizeof. */
1615 + #undef SIZEOF___INT64
1616 +
1617 + /* Define to 1 if the stack grows down. */
1618 +@@ -870,5 +873,5 @@
1619 + /* Define to empty if `const' does not conform to ANSI C. */
1620 + #undef const
1621 +
1622 +-/* Define to `unsigned' if <sys/types.h> does not define. */
1623 ++/* Define to `unsigned int' if <sys/types.h> does not define. */
1624 + #undef size_t
1625 +--- ncbi_cxx--12_0_0/include/common/config/ncbiconf_xcode.h.ori 2014-06-23 17:40:40.000000000 +0200
1626 ++++ ncbi_cxx--12_0_0/include/common/config/ncbiconf_xcode.h 2014-06-23 17:40:57.000000000 +0200
1627 +@@ -1,4 +1,4 @@
1628 +-/* $Id: ncbiconf_xcode.h 361821 2012-05-04 14:28:13Z ucko $
1629 ++/* $Id$
1630 + * By Vlad Lebedev, NCBI (lebedev@××××××××××××.gov)
1631 + *
1632 + * Mac OS X - xCode Build
1633 +@@ -258,9 +258,6 @@
1634 + /* Define to 1 if you have `ios(_base)::register_callback'. */
1635 + #define HAVE_IOS_REGISTER_CALLBACK 1
1636 +
1637 +-/* Define to 1 if <algorithm> supplies `std::is_sorted<>'. */
1638 +-/* #undef HAVE_IS_SORTED */
1639 +-
1640 + /* Define to 1 if you have the `lchown' function. */
1641 + /* #undef HAVE_LCHOWN */
1642 +
1643 +@@ -358,6 +355,9 @@
1644 + /* Define to 1 if you have the `lutimes' function. */
1645 + /* #undef HAVE_LUTIMES */
1646 +
1647 ++/* Define to 1 if you have the `madvise' function. */
1648 ++#define HAVE_MADVISE 1
1649 ++
1650 + /* Define to 1 if you have the <malloc.h> header file. */
1651 + /* #undef HAVE_MALLOC_H */
1652 +
1653 +@@ -589,15 +589,15 @@
1654 + /* Define to 1 if you have the <windows.h> header file. */
1655 + /* #undef HAVE_WINDOWS_H */
1656 +
1657 ++/* Define to 1 if you have the `writev' function. */
1658 ++#define HAVE_WRITEV 1
1659 ++
1660 + /* Define to 1 if the system has the type `wstring'. */
1661 + #define HAVE_WSTRING 1
1662 +
1663 + /* Define to 1 if wxWidgets is available. */
1664 + /* #undef HAVE_WXWIDGETS */
1665 +
1666 +-/* Define to 1 if nullptr keyword is available. */
1667 +-/* #undef HAVE_NULLPTR */
1668 +-
1669 + /* Define as const if the declaration of iconv() needs const. */
1670 + #if MAC_OS_X_VERSION_MIN_REQUIRED >= 1050 /* MAC_OS_X_VERSION_10_5 */
1671 + # define ICONV_CONST
1672 +@@ -694,7 +694,7 @@
1673 + /* Define to empty if `const' does not conform to ANSI C. */
1674 + /* #undef const */
1675 +
1676 +-/* Define to `unsigned' if <sys/types.h> does not define. */
1677 ++/* Define to `unsigned int' if <sys/types.h> does not define. */
1678 + /* #undef size_t */
1679 +
1680 + /*
1681 +--- ncbi_cxx--12_0_0/src/build-system/configure.ori 2013-05-20 23:03:20.000000000 +0200
1682 ++++ ncbi_cxx--12_0_0/src/build-system/configure 2014-06-23 22:22:50.000000000 +0200
1683 +@@ -1,19 +1,13 @@
1684 + #! /bin/sh
1685 + # Guess values for system-dependent variables and create Makefiles.
1686 +-# Generated by GNU Autoconf 2.59 for ncbi-tools++ 0.0.
1687 ++# Generated by GNU Autoconf 2.60 for ncbi-tools++ 0.0.
1688 + #
1689 + # Report bugs to <cpp-core@××××××××××××.gov>.
1690 + #
1691 +-# Copyright (C) 2003 Free Software Foundation, Inc.
1692 ++# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1693 ++# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1694 + # This configure script is free software; the Free Software Foundation
1695 + # gives unlimited permission to copy, distribute and modify it.
1696 +-# Support unset when possible.
1697 +-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1698 +- as_unset=unset
1699 +-else
1700 +- as_unset=false
1701 +-fi
1702 +-
1703 + ## --------------------- ##
1704 + ## M4sh Initialization. ##
1705 + ## --------------------- ##
1706 +@@ -25,11 +19,35 @@
1707 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1708 + # is contrary to our usage. Disable this feature.
1709 + alias -g '${1+"$@"}'='"$@"'
1710 +-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1711 +- set -o posix
1712 ++ setopt NO_GLOB_SUBST
1713 ++else
1714 ++ case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
1715 + fi
1716 ++BIN_SH=xpg4; export BIN_SH # for Tru64
1717 + DUALCASE=1; export DUALCASE # for MKS sh
1718 +
1719 ++
1720 ++# PATH needs CR
1721 ++# Avoid depending upon Character Ranges.
1722 ++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1723 ++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1724 ++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1725 ++as_cr_digits='0123456789'
1726 ++as_cr_alnum=$as_cr_Letters$as_cr_digits
1727 ++
1728 ++# The user is always right.
1729 ++if test "${PATH_SEPARATOR+set}" != set; then
1730 ++ echo "#! /bin/sh" >conf$$.sh
1731 ++ echo "exit 0" >>conf$$.sh
1732 ++ chmod +x conf$$.sh
1733 ++ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1734 ++ PATH_SEPARATOR=';'
1735 ++ else
1736 ++ PATH_SEPARATOR=:
1737 ++ fi
1738 ++ rm -f conf$$.sh
1739 ++fi
1740 ++
1741 + # Support unset when possible.
1742 + if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1743 + as_unset=unset
1744 +@@ -38,8 +56,43 @@
1745 + fi
1746 +
1747 +
1748 ++# IFS
1749 ++# We need space, tab and new line, in precisely that order. Quoting is
1750 ++# there to prevent editors from complaining about space-tab.
1751 ++# (If _AS_PATH_WALK were called with IFS unset, it would disable word
1752 ++# splitting by setting IFS to empty value.)
1753 ++as_nl='
1754 ++'
1755 ++IFS=" "" $as_nl"
1756 ++
1757 ++# Find who we are. Look in the path if we contain no directory separator.
1758 ++case $0 in
1759 ++ *[\\/]* ) as_myself=$0 ;;
1760 ++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1761 ++for as_dir in $PATH
1762 ++do
1763 ++ IFS=$as_save_IFS
1764 ++ test -z "$as_dir" && as_dir=.
1765 ++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1766 ++done
1767 ++IFS=$as_save_IFS
1768 ++
1769 ++ ;;
1770 ++esac
1771 ++# We did not find ourselves, most probably we were run as `sh COMMAND'
1772 ++# in which case we are not to be found in the path.
1773 ++if test "x$as_myself" = x; then
1774 ++ as_myself=$0
1775 ++fi
1776 ++if test ! -f "$as_myself"; then
1777 ++ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1778 ++ { (exit 1); exit 1; }
1779 ++fi
1780 ++
1781 + # Work around bugs in pre-3.0 UWIN ksh.
1782 +-$as_unset ENV MAIL MAILPATH
1783 ++for as_var in ENV MAIL MAILPATH
1784 ++do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1785 ++done
1786 + PS1='$ '
1787 + PS2='> '
1788 + PS4='+ '
1789 +@@ -53,18 +106,19 @@
1790 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1791 + eval $as_var=C; export $as_var
1792 + else
1793 +- $as_unset $as_var
1794 ++ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1795 + fi
1796 + done
1797 +
1798 + # Required to use basename.
1799 +-if expr a : '\(a\)' >/dev/null 2>&1; then
1800 ++if expr a : '\(a\)' >/dev/null 2>&1 &&
1801 ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then
1802 + as_expr=expr
1803 + else
1804 + as_expr=false
1805 + fi
1806 +
1807 +-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1808 ++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1809 + as_basename=basename
1810 + else
1811 + as_basename=false
1812 +@@ -72,160 +126,394 @@
1813 +
1814 +
1815 + # Name of the executable.
1816 +-as_me=`$as_basename "$0" ||
1817 ++as_me=`$as_basename -- "$0" ||
1818 + $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1819 + X"$0" : 'X\(//\)$' \| \
1820 +- X"$0" : 'X\(/\)$' \| \
1821 +- . : '\(.\)' 2>/dev/null ||
1822 ++ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1823 + echo X/"$0" |
1824 +- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1825 +- /^X\/\(\/\/\)$/{ s//\1/; q; }
1826 +- /^X\/\(\/\).*/{ s//\1/; q; }
1827 ++ sed '/^.*\/\([^/][^/]*\)\/*$/{
1828 ++ s//\1/
1829 ++ q
1830 ++ }
1831 ++ /^X\/\(\/\/\)$/{
1832 ++ s//\1/
1833 ++ q
1834 ++ }
1835 ++ /^X\/\(\/\).*/{
1836 ++ s//\1/
1837 ++ q
1838 ++ }
1839 + s/.*/./; q'`
1840 +
1841 ++# CDPATH.
1842 ++$as_unset CDPATH
1843 +
1844 +-# PATH needs CR, and LINENO needs CR and PATH.
1845 +-# Avoid depending upon Character Ranges.
1846 +-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1847 +-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1848 +-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1849 +-as_cr_digits='0123456789'
1850 +-as_cr_alnum=$as_cr_Letters$as_cr_digits
1851 ++$as_unset ZSH_VERSION || test "${ZSH_VERSION+set}" != set || { ZSH_VERSION=; export ZSH_VERSION; }
1852 +
1853 +-# The user is always right.
1854 +-if test "${PATH_SEPARATOR+set}" != set; then
1855 +- echo "#! /bin/sh" >conf$$.sh
1856 +- echo "exit 0" >>conf$$.sh
1857 +- chmod +x conf$$.sh
1858 +- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1859 +- PATH_SEPARATOR=';'
1860 ++if test "x$CONFIG_SHELL" = x; then
1861 ++ if (eval "test -z \"\${ZSH_VERSION+set}\" || exit \$?; :") 2>/dev/null; then
1862 ++ as_have_required=yes
1863 + else
1864 +- PATH_SEPARATOR=:
1865 ++ as_have_required=no
1866 + fi
1867 +- rm -f conf$$.sh
1868 ++
1869 ++ if test $as_have_required = yes && (eval "test -z \"\${ZSH_VERSION+set}\" || exit \$?; :
1870 ++(as_func_return () {
1871 ++ (exit \$1)
1872 ++}
1873 ++as_func_success () {
1874 ++ as_func_return 0
1875 ++}
1876 ++as_func_failure () {
1877 ++ as_func_return 1
1878 ++}
1879 ++as_func_ret_success () {
1880 ++ return 0
1881 ++}
1882 ++as_func_ret_failure () {
1883 ++ return 1
1884 ++}
1885 ++
1886 ++exitcode=0
1887 ++if as_func_success; then
1888 ++ :
1889 ++else
1890 ++ exitcode=1
1891 ++ echo as_func_success failed.
1892 + fi
1893 +
1894 ++if as_func_failure; then
1895 ++ exitcode=1
1896 ++ echo as_func_failure succeeded.
1897 ++fi
1898 +
1899 +- as_lineno_1=$LINENO
1900 +- as_lineno_2=$LINENO
1901 +- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1902 +- test "x$as_lineno_1" != "x$as_lineno_2" &&
1903 +- test "x$as_lineno_3" = "x$as_lineno_2" || {
1904 +- # Find who we are. Look in the path if we contain no path at all
1905 +- # relative or not.
1906 +- case $0 in
1907 +- *[\\/]* ) as_myself=$0 ;;
1908 +- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1909 +-for as_dir in $PATH
1910 +-do
1911 +- IFS=$as_save_IFS
1912 +- test -z "$as_dir" && as_dir=.
1913 +- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1914 +-done
1915 ++if as_func_ret_success; then
1916 ++ :
1917 ++else
1918 ++ exitcode=1
1919 ++ echo as_func_ret_success failed.
1920 ++fi
1921 +
1922 +- ;;
1923 +- esac
1924 +- # We did not find ourselves, most probably we were run as `sh COMMAND'
1925 +- # in which case we are not to be found in the path.
1926 +- if test "x$as_myself" = x; then
1927 +- as_myself=$0
1928 ++if as_func_ret_failure; then
1929 ++ exitcode=1
1930 ++ echo as_func_ret_failure succeeded.
1931 + fi
1932 +- if test ! -f "$as_myself"; then
1933 +- { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
1934 +- { (exit 1); exit 1; }; }
1935 ++
1936 ++if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
1937 ++ :
1938 ++else
1939 ++ exitcode=1
1940 ++ echo positional parameters were not saved.
1941 + fi
1942 +- case $CONFIG_SHELL in
1943 +- '')
1944 +- $as_unset ZSH_VERSION || test "${ZSH_VERSION+set}" != set || { ZSH_VERSION=; export ZSH_VERSION; }
1945 +- for as_base in sh ksh sh5 bash; do
1946 ++
1947 ++test \$exitcode = 0) || { (exit 1); exit 1; }
1948 ++
1949 ++(
1950 ++ as_lineno_1=\$LINENO
1951 ++ as_lineno_2=\$LINENO
1952 ++ test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
1953 ++ test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
1954 ++") 2> /dev/null; then
1955 ++ :
1956 ++else
1957 ++ as_candidate_shells=
1958 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1959 +-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1960 ++for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1961 + do
1962 + IFS=$as_save_IFS
1963 + test -z "$as_dir" && as_dir=.
1964 + case $as_dir in
1965 + /*)
1966 +- if ("$as_dir/$as_base" -c \
1967 +- 'test -z "$ZSH_VERSION" && {
1968 ++ for as_base in sh ksh sh5 bash; do
1969 ++ as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
1970 ++ done;;
1971 ++ esac
1972 ++done
1973 ++IFS=$as_save_IFS
1974 ++
1975 ++
1976 ++ for as_shell in $as_candidate_shells $SHELL; do
1977 ++ # Try only shells that exist, to save several forks.
1978 ++ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
1979 ++ { ("$as_shell") 2> /dev/null <<\_ASEOF
1980 ++# Be Bourne compatible
1981 ++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1982 ++ emulate sh
1983 ++ NULLCMD=:
1984 ++ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1985 ++ # is contrary to our usage. Disable this feature.
1986 ++ alias -g '${1+"$@"}'='"$@"'
1987 ++ setopt NO_GLOB_SUBST
1988 ++else
1989 ++ case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
1990 ++fi
1991 ++BIN_SH=xpg4; export BIN_SH # for Tru64
1992 ++DUALCASE=1; export DUALCASE # for MKS sh
1993 ++
1994 ++test -z "${ZSH_VERSION+set}" || exit $?; :
1995 ++_ASEOF
1996 ++}; then
1997 ++ CONFIG_SHELL=$as_shell
1998 ++ as_have_required=yes
1999 ++ if { "$as_shell" 2> /dev/null <<\_ASEOF
2000 ++# Be Bourne compatible
2001 ++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2002 ++ emulate sh
2003 ++ NULLCMD=:
2004 ++ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2005 ++ # is contrary to our usage. Disable this feature.
2006 ++ alias -g '${1+"$@"}'='"$@"'
2007 ++ setopt NO_GLOB_SUBST
2008 ++else
2009 ++ case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
2010 ++fi
2011 ++BIN_SH=xpg4; export BIN_SH # for Tru64
2012 ++DUALCASE=1; export DUALCASE # for MKS sh
2013 ++
2014 ++test -z "${ZSH_VERSION+set}" || exit $?; :
2015 ++(as_func_return () {
2016 ++ (exit $1)
2017 ++}
2018 ++as_func_success () {
2019 ++ as_func_return 0
2020 ++}
2021 ++as_func_failure () {
2022 ++ as_func_return 1
2023 ++}
2024 ++as_func_ret_success () {
2025 ++ return 0
2026 ++}
2027 ++as_func_ret_failure () {
2028 ++ return 1
2029 ++}
2030 ++
2031 ++exitcode=0
2032 ++if as_func_success; then
2033 ++ :
2034 ++else
2035 ++ exitcode=1
2036 ++ echo as_func_success failed.
2037 ++fi
2038 ++
2039 ++if as_func_failure; then
2040 ++ exitcode=1
2041 ++ echo as_func_failure succeeded.
2042 ++fi
2043 ++
2044 ++if as_func_ret_success; then
2045 ++ :
2046 ++else
2047 ++ exitcode=1
2048 ++ echo as_func_ret_success failed.
2049 ++fi
2050 ++
2051 ++if as_func_ret_failure; then
2052 ++ exitcode=1
2053 ++ echo as_func_ret_failure succeeded.
2054 ++fi
2055 ++
2056 ++if ( set x; as_func_ret_success y && test x = "$1" ); then
2057 ++ :
2058 ++else
2059 ++ exitcode=1
2060 ++ echo positional parameters were not saved.
2061 ++fi
2062 ++
2063 ++test $exitcode = 0) || { (exit 1); exit 1; }
2064 ++
2065 ++(
2066 + as_lineno_1=$LINENO
2067 + as_lineno_2=$LINENO
2068 +- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2069 + test "x$as_lineno_1" != "x$as_lineno_2" &&
2070 +- test "x$as_lineno_3" = "x$as_lineno_2" ; }') 2>/dev/null
2071 +- then
2072 +- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2073 +- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2074 +- CONFIG_SHELL=$as_dir/$as_base
2075 +- export CONFIG_SHELL
2076 +- exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2077 +- fi;;
2078 +- esac
2079 ++ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
2080 ++
2081 ++_ASEOF
2082 ++}; then
2083 ++ break
2084 ++fi
2085 ++
2086 ++fi
2087 ++
2088 + done
2089 ++
2090 ++ if test "x$CONFIG_SHELL" != x; then
2091 ++ for as_var in BASH_ENV ENV
2092 ++ do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2093 + done
2094 +-;;
2095 +- esac
2096 ++ export CONFIG_SHELL
2097 ++ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
2098 ++fi
2099 ++
2100 ++
2101 ++ if test $as_have_required = no; then
2102 ++ echo This script requires a shell more modern than all the
2103 ++ echo shells that I found on your system. Please install a
2104 ++ echo modern shell, or manually run the script under such a
2105 ++ echo shell if you do have one.
2106 ++ { (exit 1); exit 1; }
2107 ++fi
2108 ++
2109 ++
2110 ++fi
2111 ++
2112 ++fi
2113 ++
2114 ++# Support unset when possible.
2115 ++if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2116 ++ as_unset=unset
2117 ++else
2118 ++ as_unset=false
2119 ++fi
2120 ++
2121 ++
2122 ++
2123 ++(eval "test -z \"\${ZSH_VERSION+set}\" || exit \$?; as_func_return () {
2124 ++ (exit \$1)
2125 ++}
2126 ++as_func_success () {
2127 ++ as_func_return 0
2128 ++}
2129 ++as_func_failure () {
2130 ++ as_func_return 1
2131 ++}
2132 ++as_func_ret_success () {
2133 ++ return 0
2134 ++}
2135 ++as_func_ret_failure () {
2136 ++ return 1
2137 ++}
2138 ++
2139 ++exitcode=0
2140 ++if as_func_success; then
2141 ++ :
2142 ++else
2143 ++ exitcode=1
2144 ++ echo as_func_success failed.
2145 ++fi
2146 ++
2147 ++if as_func_failure; then
2148 ++ exitcode=1
2149 ++ echo as_func_failure succeeded.
2150 ++fi
2151 ++
2152 ++if as_func_ret_success; then
2153 ++ :
2154 ++else
2155 ++ exitcode=1
2156 ++ echo as_func_ret_success failed.
2157 ++fi
2158 ++
2159 ++if as_func_ret_failure; then
2160 ++ exitcode=1
2161 ++ echo as_func_ret_failure succeeded.
2162 ++fi
2163 ++
2164 ++if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
2165 ++ :
2166 ++else
2167 ++ exitcode=1
2168 ++ echo positional parameters were not saved.
2169 ++fi
2170 ++
2171 ++test \$exitcode = 0") || {
2172 ++ echo No shell found that supports shell functions.
2173 ++ echo Please tell autoconf@×××.org about your system,
2174 ++ echo including any error possibly output before this
2175 ++ echo message
2176 ++}
2177 ++
2178 ++
2179 ++
2180 ++ as_lineno_1=$LINENO
2181 ++ as_lineno_2=$LINENO
2182 ++ test "x$as_lineno_1" != "x$as_lineno_2" &&
2183 ++ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2184 +
2185 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2186 + # uniformly replaced by the line number. The first 'sed' inserts a
2187 +- # line-number line before each line; the second 'sed' does the real
2188 +- # work. The second script uses 'N' to pair each line-number line
2189 +- # with the numbered line, and appends trailing '-' during
2190 +- # substitution so that $LINENO is not a special case at line end.
2191 ++ # line-number line after each line using $LINENO; the second 'sed'
2192 ++ # does the real work. The second script uses 'N' to pair each
2193 ++ # line-number line with the line containing $LINENO, and appends
2194 ++ # trailing '-' during substitution so that $LINENO is not a special
2195 ++ # case at line end.
2196 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2197 +- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2198 +- sed '=' <$as_myself |
2199 ++ # scripts with optimization help from Paolo Bonzini. Blame Lee
2200 ++ # E. McMahon (1931-1989) for sed's syntax. :-)
2201 ++ sed -n '
2202 ++ p
2203 ++ /[$]LINENO/=
2204 ++ ' <$as_myself |
2205 + sed '
2206 ++ s/[$]LINENO.*/&-/
2207 ++ t lineno
2208 ++ b
2209 ++ :lineno
2210 + N
2211 +- s,$,-,
2212 + : loop
2213 +- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2214 ++ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2215 + t loop
2216 +- s,-$,,
2217 +- s,^['$as_cr_digits']*\n,,
2218 ++ s/-\n.*//
2219 + ' >$as_me.lineno &&
2220 +- chmod +x $as_me.lineno ||
2221 ++ chmod +x "$as_me.lineno" ||
2222 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2223 + { (exit 1); exit 1; }; }
2224 +
2225 + # Don't try to exec as it changes $[0], causing all sort of problems
2226 + # (the dirname of $[0] is not the place where we might find the
2227 +- # original and so on. Autoconf is especially sensible to this).
2228 +- . ./$as_me.lineno
2229 ++ # original and so on. Autoconf is especially sensitive to this).
2230 ++ . "./$as_me.lineno"
2231 + # Exit status is that of the last command.
2232 + exit
2233 + }
2234 +
2235 +
2236 +-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2237 +- *c*,-n*) ECHO_N= ECHO_C='
2238 +-' ECHO_T=' ' ;;
2239 +- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2240 +- *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2241 ++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2242 ++ as_dirname=dirname
2243 ++else
2244 ++ as_dirname=false
2245 ++fi
2246 ++
2247 ++ECHO_C= ECHO_N= ECHO_T=
2248 ++case `echo -n x` in
2249 ++-n*)
2250 ++ case `echo 'x\c'` in
2251 ++ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2252 ++ *) ECHO_C='\c';;
2253 ++ esac;;
2254 ++*)
2255 ++ ECHO_N='-n';;
2256 + esac
2257 +
2258 +-if expr a : '\(a\)' >/dev/null 2>&1; then
2259 ++if expr a : '\(a\)' >/dev/null 2>&1 &&
2260 ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then
2261 + as_expr=expr
2262 + else
2263 + as_expr=false
2264 + fi
2265 +
2266 + rm -f conf$$ conf$$.exe conf$$.file
2267 ++if test -d conf$$.dir; then
2268 ++ rm -f conf$$.dir/conf$$.file
2269 ++else
2270 ++ rm -f conf$$.dir
2271 ++ mkdir conf$$.dir
2272 ++fi
2273 + echo >conf$$.file
2274 + if ln -s conf$$.file conf$$ 2>/dev/null; then
2275 +- # We could just check for DJGPP; but this test a) works b) is more generic
2276 +- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2277 +- if test -f conf$$.exe; then
2278 +- # Don't use ln at all; we don't have any links
2279 +- as_ln_s='cp -p'
2280 +- else
2281 + as_ln_s='ln -s'
2282 +- fi
2283 ++ # ... but there are two gotchas:
2284 ++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2285 ++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2286 ++ # In both cases, we have to default to `cp -p'.
2287 ++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2288 ++ as_ln_s='cp -p'
2289 + elif ln conf$$.file conf$$ 2>/dev/null; then
2290 + as_ln_s=ln
2291 + else
2292 + as_ln_s='cp -p'
2293 + fi
2294 +-rm -f conf$$ conf$$.exe conf$$.file
2295 ++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2296 ++rmdir conf$$.dir 2>/dev/null
2297 +
2298 + if mkdir -p . 2>/dev/null; then
2299 + as_mkdir_p=:
2300 +@@ -234,7 +522,19 @@
2301 + as_mkdir_p=false
2302 + fi
2303 +
2304 +-as_executable_p="test -f"
2305 ++# Find out whether ``test -x'' works. Don't use a zero-byte file, as
2306 ++# systems may use methods other than mode bits to determine executability.
2307 ++cat >conf$$.file <<_ASEOF
2308 ++#! /bin/sh
2309 ++exit 0
2310 ++_ASEOF
2311 ++chmod +x conf$$.file
2312 ++if test -x conf$$.file >/dev/null 2>&1; then
2313 ++ as_executable_p="test -x"
2314 ++else
2315 ++ as_executable_p=:
2316 ++fi
2317 ++rm -f conf$$.file
2318 +
2319 + # Sed expression to map a string onto a valid CPP name.
2320 + as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2321 +@@ -243,39 +543,27 @@
2322 + as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2323 +
2324 +
2325 +-# IFS
2326 +-# We need space, tab and new line, in precisely that order.
2327 +-as_nl='
2328 +-'
2329 +-IFS=" $as_nl"
2330 +-
2331 +-# CDPATH.
2332 +-$as_unset CDPATH
2333 +
2334 ++exec 7<&0 </dev/null 6>&1
2335 +
2336 + # Name of the host.
2337 + # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
2338 + # so uname gets run too.
2339 + ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
2340 +
2341 +-exec 6>&1
2342 +-
2343 + #
2344 + # Initializations.
2345 + #
2346 + ac_default_prefix=/usr/local
2347 ++ac_clean_files=
2348 + ac_config_libobj_dir=.
2349 ++LIBOBJS=
2350 + cross_compiling=no
2351 + subdirs=
2352 + MFLAGS=
2353 + MAKEFLAGS=
2354 + SHELL=${CONFIG_SHELL-/bin/sh}
2355 +
2356 +-# Maximum number of lines to put in a shell here document.
2357 +-# This variable seems obsolete. It should probably be removed, and
2358 +-# only ac_max_sed_lines should be used.
2359 +-: ${ac_max_here_lines=38}
2360 +-
2361 + # Identity of this package.
2362 + PACKAGE_NAME='ncbi-tools++'
2363 + PACKAGE_TARNAME='ncbi-tools--'
2364 +@@ -312,17 +600,441 @@
2365 + #endif
2366 + #if HAVE_INTTYPES_H
2367 + # include <inttypes.h>
2368 +-#else
2369 ++#endif
2370 + # if HAVE_STDINT_H
2371 + # include <stdint.h>
2372 + # endif
2373 +-#endif
2374 + #if HAVE_UNISTD_H
2375 + # include <unistd.h>
2376 + #endif"
2377 +
2378 +-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
2379 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
2380 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
2381 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
2382 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'
2383 ++ac_subst_vars='SHELL
2384 ++PATH_SEPARATOR
2385 ++PACKAGE_NAME
2386 ++PACKAGE_TARNAME
2387 ++PACKAGE_VERSION
2388 ++PACKAGE_STRING
2389 ++PACKAGE_BUGREPORT
2390 ++exec_prefix
2391 ++prefix
2392 ++program_transform_name
2393 ++bindir
2394 ++sbindir
2395 ++libexecdir
2396 ++datarootdir
2397 ++datadir
2398 ++sysconfdir
2399 ++sharedstatedir
2400 ++localstatedir
2401 ++includedir
2402 ++oldincludedir
2403 ++docdir
2404 ++infodir
2405 ++htmldir
2406 ++dvidir
2407 ++pdfdir
2408 ++psdir
2409 ++libdir
2410 ++localedir
2411 ++mandir
2412 ++DEFS
2413 ++ECHO_C
2414 ++ECHO_N
2415 ++ECHO_T
2416 ++LIBS
2417 ++build_alias
2418 ++host_alias
2419 ++target_alias
2420 ++PROJECTS
2421 ++build
2422 ++build_cpu
2423 ++build_vendor
2424 ++build_os
2425 ++host
2426 ++host_cpu
2427 ++host_vendor
2428 ++host_os
2429 ++INSTALL_PROGRAM
2430 ++INSTALL_SCRIPT
2431 ++INSTALL_DATA
2432 ++CC
2433 ++CFLAGS
2434 ++LDFLAGS
2435 ++CPPFLAGS
2436 ++ac_ct_CC
2437 ++EXEEXT
2438 ++OBJEXT
2439 ++CXX
2440 ++CXXFLAGS
2441 ++ac_ct_CXX
2442 ++MT_SFX
2443 ++DLL
2444 ++DLL_LIB_SETTING
2445 ++IF_WITH_DLL
2446 ++UNLESS_WITH_DLL
2447 ++STATIC
2448 ++USUAL_AND_DLL
2449 ++USUAL_AND_LIB
2450 ++LN_S
2451 ++RANLIB
2452 ++AR
2453 ++STRIP
2454 ++DISTCC
2455 ++CCACHE
2456 ++TAIL
2457 ++TOUCH
2458 ++GREP
2459 ++EGREP
2460 ++VALGRIND_PATH
2461 ++LDD
2462 ++CXXCPP
2463 ++TCHECK_CL
2464 ++AMQ
2465 ++CPP
2466 ++Z_INCLUDE
2467 ++Z_LIBS
2468 ++BZ2_INCLUDE
2469 ++BZ2_LIBS
2470 ++LZO_INCLUDE
2471 ++LZO_LIBS
2472 ++PCRE_INCLUDE
2473 ++PCRE_LIBS
2474 ++LIBGCRYPT_CONFIG
2475 ++GCRYPT_INCLUDE
2476 ++GCRYPT_LIBS
2477 ++LIBGNUTLS_CONFIG
2478 ++GNUTLS_INCLUDE
2479 ++GNUTLS_LIBS
2480 ++OPENSSL_INCLUDE
2481 ++OPENSSL_LIBS
2482 ++KRB5_CONFIG
2483 ++KRB5_INCLUDE
2484 ++KRB5_LIBS
2485 ++CURL_INCLUDE
2486 ++CURL_LIBS
2487 ++FTDS64_INCLUDE
2488 ++FTDS64_LIBS
2489 ++FTDS64_LIB
2490 ++FTDS64_CTLIB_INCLUDE
2491 ++FTDS64_CTLIB_LIBS
2492 ++FTDS64_CTLIB_LIB
2493 ++FTDS_INCLUDE
2494 ++FTDS_LIBS
2495 ++FTDS_LIB
2496 ++freetds
2497 ++ftds64
2498 ++mysql_config
2499 ++PYTHON
2500 ++PYTHON_INCLUDE
2501 ++PYTHON_LIBS
2502 ++PYTHON23
2503 ++PYTHON23_INCLUDE
2504 ++PYTHON23_LIBS
2505 ++PYTHON24
2506 ++PYTHON24_INCLUDE
2507 ++PYTHON24_LIBS
2508 ++PYTHON25
2509 ++PYTHON25_INCLUDE
2510 ++PYTHON25_LIBS
2511 ++PERL
2512 ++_ACJNI_JAVAC
2513 ++XMKMF
2514 ++X_CFLAGS
2515 ++X_PRE_LIBS
2516 ++X_LIBS
2517 ++X_EXTRA_LIBS
2518 ++wxconf
2519 ++EXPAT_INCLUDE
2520 ++EXPAT_LIBS
2521 ++SABLOT_INCLUDE
2522 ++SABLOT_LIBS
2523 ++LIBXML_INCLUDE
2524 ++LIBXML_LIBS
2525 ++LIBXSLT_INCLUDE
2526 ++LIBXSLT_LIBS
2527 ++XSLTPROC
2528 ++LIBEXSLT_INCLUDE
2529 ++LIBEXSLT_LIBS
2530 ++SQLITE3_INCLUDE
2531 ++SQLITE3_LIBS
2532 ++OECHEM_INCLUDE
2533 ++OECHEM_LIBS
2534 ++SGE_INCLUDE
2535 ++SGE_LIBS
2536 ++MUPARSER_INCLUDE
2537 ++MUPARSER_LIBS
2538 ++HDF5_INCLUDE
2539 ++HDF5_LIBS
2540 ++JPEG_INCLUDE
2541 ++JPEG_LIBS
2542 ++PNG_INCLUDE
2543 ++PNG_LIBS
2544 ++TIFF_INCLUDE
2545 ++TIFF_LIBS
2546 ++UNGIF_INCLUDE
2547 ++UNGIF_LIBS
2548 ++GIF_INCLUDE
2549 ++GIF_LIBS
2550 ++XPM_INCLUDE
2551 ++XPM_LIBS
2552 ++freetype_config
2553 ++FTGL_INCLUDE
2554 ++FTGL_LIBS
2555 ++MAGIC_INCLUDE
2556 ++MAGIC_LIBS
2557 ++MIMETIC_INCLUDE
2558 ++MIMETIC_LIBS
2559 ++GSOAP_SOAPCPP2
2560 ++GSOAP_WSDL2H
2561 ++GSOAP_INCLUDE
2562 ++GSOAP_LIBS
2563 ++MONGODB_INCLUDE
2564 ++MONGODB_LIBS
2565 ++signature
2566 ++build_root
2567 ++top_srcdir
2568 ++srcdir
2569 ++status_dir
2570 ++builddir
2571 ++runpath
2572 ++ncbi_runpath
2573 ++c_ncbi_runpath
2574 ++LINK
2575 ++C_LINK
2576 ++TAIL_N
2577 ++EGREP_Q
2578 ++LDD_R
2579 ++FAST_CFLAGS
2580 ++FAST_CXXFLAGS
2581 ++OBJCXX_CXXFLAGS
2582 ++DEPFLAGS
2583 ++DEPFLAGS_POST
2584 ++FAST_LDFLAGS
2585 ++APP_LDFLAGS
2586 ++DLL_LDFLAGS
2587 ++C_LIBS
2588 ++OBJCXX_LIBS
2589 ++GCCPCH
2590 ++RUNPATH_ORIGIN
2591 ++NO_STRICT_ALIASING
2592 ++D_SFX
2593 ++DEBUG_SFX
2594 ++LIB_OR_DLL
2595 ++FORCE_STATIC_LIB
2596 ++APP_LIB_SETTING
2597 ++APP_LIBS_SETTING
2598 ++LINK_DLL
2599 ++has_dll_loadable
2600 ++LINK_LOADABLE
2601 ++CFLAGS_DLL
2602 ++CXXFLAGS_DLL
2603 ++ALLOW_UNDEF
2604 ++FORBID_UNDEF
2605 ++OPT_GROUPS
2606 ++local_lbsm
2607 ++ncbi_crypt
2608 ++CONNEXT
2609 ++XCONNEXT
2610 ++serial
2611 ++bdb
2612 ++dbapi
2613 ++objects
2614 ++gui
2615 ++algo
2616 ++app
2617 ++internal
2618 ++check
2619 ++CHECK_ARG
2620 ++CHECK_TOOLS
2621 ++CHECK_TIMEOUT_MULT
2622 ++CHECK_OS_NAME
2623 ++FEATURES
2624 ++script_shell
2625 ++make_shell
2626 ++obj_ext
2627 ++lib_pre
2628 ++lib_l_pre
2629 ++lib_ext
2630 ++dll_ext
2631 ++loadable_ext
2632 ++lib_l_ext
2633 ++exe_ext
2634 ++f_compile
2635 ++f_outobj
2636 ++f_outlib
2637 ++f_libpath
2638 ++f_runpath
2639 ++f_outexe
2640 ++BDB_LIB
2641 ++BDB_CACHE_LIB
2642 ++DBAPI_DRIVER
2643 ++DBAPI_CTLIB
2644 ++DBAPI_DBLIB
2645 ++DBAPI_MYSQL
2646 ++DBAPI_ODBC
2647 ++THREAD_LIBS
2648 ++NCBIATOMIC_LIB
2649 ++OPENMP_FLAGS
2650 ++NETWORK_LIBS
2651 ++NETWORK_PURE_LIBS
2652 ++RESOLVER_LIBS
2653 ++MATH_LIBS
2654 ++KSTAT_LIBS
2655 ++RPCSVC_LIBS
2656 ++CRYPT_LIBS
2657 ++DL_LIBS
2658 ++RT_LIBS
2659 ++UUID_LIBS
2660 ++DEMANGLE_LIBS
2661 ++ICONV_LIBS
2662 ++Z_LIB
2663 ++BZ2_LIB
2664 ++PCREPOSIX_LIBS
2665 ++PCRE_LIB
2666 ++OPENSSL_STATIC_LIBS
2667 ++TLS_INCLUDE
2668 ++TLS_LIBS
2669 ++SYBASE_PATH
2670 ++SYBASE_LCL_PATH
2671 ++SYBASE_INCLUDE
2672 ++SYBASE_LIBS
2673 ++SYBASE_DLLS
2674 ++SYBASE_DBLIBS
2675 ++MYSQL_INCLUDE
2676 ++MYSQL_LIBS
2677 ++BERKELEYDB_INCLUDE
2678 ++BERKELEYDB_LIBS
2679 ++BERKELEYDB_STATIC_LIBS
2680 ++BERKELEYDB_CXX_LIBS
2681 ++BERKELEYDB_CXX_STATIC_LIBS
2682 ++ODBC_INCLUDE
2683 ++ODBC_LIBS
2684 ++BOOST_INCLUDE
2685 ++BOOST_LIBPATH
2686 ++BOOST_TAG
2687 ++BOOST_FILESYSTEM_LIBS
2688 ++BOOST_FILESYSTEM_STATIC_LIBS
2689 ++BOOST_REGEX_LIBS
2690 ++BOOST_REGEX_STATIC_LIBS
2691 ++BOOST_SYSTEM_LIBS
2692 ++BOOST_SYSTEM_STATIC_LIBS
2693 ++BOOST_TEST_PEM_LIBS
2694 ++BOOST_TEST_PEM_STATIC_LIBS
2695 ++BOOST_TEST_TEM_LIBS
2696 ++BOOST_TEST_TEM_STATIC_LIBS
2697 ++BOOST_TEST_UTF_LIBS
2698 ++BOOST_TEST_UTF_STATIC_LIBS
2699 ++BOOST_THREAD_LIBS
2700 ++BOOST_THREAD_STATIC_LIBS
2701 ++NCBI_C_INCLUDE
2702 ++NCBI_C_LIBPATH
2703 ++OPENGL_INCLUDE
2704 ++OPENGL_LIBS
2705 ++OPENGL_STATIC_LIBS
2706 ++OSMESA_INCLUDE
2707 ++OSMESA_LIBS
2708 ++OSMESA_STATIC_LIBS
2709 ++GLUT_INCLUDE
2710 ++GLUT_LIBS
2711 ++GLEW_INCLUDE
2712 ++GLEW_LIBS
2713 ++GLEW_STATIC_LIBS
2714 ++WXWIDGETS_INCLUDE
2715 ++WXWIDGETS_LIBS
2716 ++WXWIDGETS_STATIC_LIBS
2717 ++WXWIDGETS_GL_LIBS
2718 ++WXWIDGETS_GL_STATIC_LIBS
2719 ++WXWIDGETS_POST_LINK
2720 ++FASTCGI_INCLUDE
2721 ++FASTCGI_LIBS
2722 ++FASTCGI_OBJS
2723 ++NCBI_SSS_INCLUDE
2724 ++NCBI_SSS_LIBPATH
2725 ++LIBSSSUTILS
2726 ++LIBSSSDB
2727 ++sssutils
2728 ++SP_INCLUDE
2729 ++SP_LIBS
2730 ++ORBACUS_INCLUDE
2731 ++ORBACUS_LIBPATH
2732 ++LIBOB
2733 ++LIBIMR
2734 ++ICU_CONFIG
2735 ++ICU_INCLUDE
2736 ++ICU_LIBS
2737 ++ICU_STATIC_LIBS
2738 ++EXPAT_STATIC_LIBS
2739 ++SABLOT_STATIC_LIBS
2740 ++LIBXML_STATIC_LIBS
2741 ++LIBXSLT_STATIC_LIBS
2742 ++LIBEXSLT_STATIC_LIBS
2743 ++XERCES_INCLUDE
2744 ++XERCES_LIBS
2745 ++XERCES_STATIC_LIBS
2746 ++XALAN_INCLUDE
2747 ++XALAN_LIBS
2748 ++XALAN_STATIC_LIBS
2749 ++ZORBA_INCLUDE
2750 ++ZORBA_LIBS
2751 ++ZORBA_STATIC_LIBS
2752 ++SQLITE3_STATIC_LIBS
2753 ++FREETYPE_INCLUDE
2754 ++FREETYPE_LIBS
2755 ++GSOAP_PATH
2756 ++MONGODB_STATIC_LIBS
2757 ++ncbi_xreader_pubseqos
2758 ++ncbi_xreader_pubseqos2
2759 ++UNLESS_PUBSEQOS
2760 ++PERL_INCLUDE
2761 ++PERL_LIBS
2762 ++JDK_PATH
2763 ++JDK_INCLUDE
2764 ++ncbi_java
2765 ++NCBI_C_ncbi
2766 ++BINCOPY
2767 ++APP_NOCOPY
2768 ++APP_OR_NULL
2769 ++IF_REBUILDING_LIBS
2770 ++IF_REBUILDING_CONDITIONALLY
2771 ++IF_DEACTIVATING
2772 ++configurables_mfname
2773 ++CC_FILTER
2774 ++CXX_FILTER
2775 ++AR_FILTER
2776 ++LINK_FILTER
2777 ++CC_WRAPPER
2778 ++CXX_WRAPPER
2779 ++AR_WRAPPER
2780 ++LINK_WRAPPER
2781 ++KeepStateTarget
2782 ++Rules
2783 ++serial_ws50_rtti_kludge
2784 ++ncbicntr
2785 ++UNIX_SRC
2786 ++UNIX_USR_PROJ
2787 ++compiler
2788 ++compiler_root
2789 ++compiler_version
2790 ++COMPILER
2791 ++OSTYPE
2792 ++NCBI_PLATFORM_BITS
2793 ++LIBOBJS
2794 ++LTLIBOBJS'
2795 + ac_subst_files=''
2796 ++ ac_precious_vars='build_alias
2797 ++host_alias
2798 ++target_alias
2799 ++CC
2800 ++CFLAGS
2801 ++LDFLAGS
2802 ++CPPFLAGS
2803 ++CXX
2804 ++CXXFLAGS
2805 ++CCC
2806 ++CXXCPP
2807 ++CPP
2808 ++XMKMF'
2809 ++
2810 +
2811 + # Initialize some variables set by options.
2812 + ac_init_help=
2813 +@@ -349,34 +1061,48 @@
2814 + # and all the variables that are supposed to be based on exec_prefix
2815 + # by default will actually change.
2816 + # Use braces instead of parens because sh, perl, etc. also accept them.
2817 ++# (The list follows the same order as the GNU Coding Standards.)
2818 + bindir='${exec_prefix}/bin'
2819 + sbindir='${exec_prefix}/sbin'
2820 + libexecdir='${exec_prefix}/libexec'
2821 +-datadir='${prefix}/share'
2822 ++datarootdir='${prefix}/share'
2823 ++datadir='${datarootdir}'
2824 + sysconfdir='${prefix}/etc'
2825 + sharedstatedir='${prefix}/com'
2826 + localstatedir='${prefix}/var'
2827 +-libdir='${exec_prefix}/lib'
2828 + includedir='${prefix}/include'
2829 + oldincludedir='/usr/include'
2830 +-infodir='${prefix}/info'
2831 +-mandir='${prefix}/man'
2832 ++docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2833 ++infodir='${datarootdir}/info'
2834 ++htmldir='${docdir}'
2835 ++dvidir='${docdir}'
2836 ++pdfdir='${docdir}'
2837 ++psdir='${docdir}'
2838 ++libdir='${exec_prefix}/lib'
2839 ++localedir='${datarootdir}/locale'
2840 ++mandir='${datarootdir}/man'
2841 +
2842 + ac_prev=
2843 ++ac_dashdash=
2844 + for ac_option
2845 + do
2846 + # If the previous option needs an argument, assign it.
2847 + if test -n "$ac_prev"; then
2848 +- eval "$ac_prev=\$ac_option"
2849 ++ eval $ac_prev=\$ac_option
2850 + ac_prev=
2851 + continue
2852 + fi
2853 +
2854 +- ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
2855 ++ case $ac_option in
2856 ++ *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2857 ++ *) ac_optarg=yes ;;
2858 ++ esac
2859 +
2860 + # Accept the important Cygnus configure options, so we can diagnose typos.
2861 +
2862 +- case $ac_option in
2863 ++ case $ac_dashdash$ac_option in
2864 ++ --)
2865 ++ ac_dashdash=yes ;;
2866 +
2867 + -bindir | --bindir | --bindi | --bind | --bin | --bi)
2868 + ac_prev=bindir ;;
2869 +@@ -398,12 +1124,18 @@
2870 + --config-cache | -C)
2871 + cache_file=config.cache ;;
2872 +
2873 +- -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
2874 ++ -datadir | --datadir | --datadi | --datad)
2875 + ac_prev=datadir ;;
2876 +- -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
2877 +- | --da=*)
2878 ++ -datadir=* | --datadir=* | --datadi=* | --datad=*)
2879 + datadir=$ac_optarg ;;
2880 +
2881 ++ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2882 ++ | --dataroo | --dataro | --datar)
2883 ++ ac_prev=datarootdir ;;
2884 ++ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2885 ++ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2886 ++ datarootdir=$ac_optarg ;;
2887 ++
2888 + -disable-* | --disable-*)
2889 + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2890 + # Reject names that are not valid shell variable names.
2891 +@@ -411,7 +1143,17 @@
2892 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
2893 + { (exit 1); exit 1; }; }
2894 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
2895 +- eval "enable_$ac_feature=no" ;;
2896 ++ eval enable_$ac_feature=no ;;
2897 ++
2898 ++ -docdir | --docdir | --docdi | --doc | --do)
2899 ++ ac_prev=docdir ;;
2900 ++ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2901 ++ docdir=$ac_optarg ;;
2902 ++
2903 ++ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2904 ++ ac_prev=dvidir ;;
2905 ++ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2906 ++ dvidir=$ac_optarg ;;
2907 +
2908 + -enable-* | --enable-*)
2909 + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2910 +@@ -420,11 +1162,7 @@
2911 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
2912 + { (exit 1); exit 1; }; }
2913 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
2914 +- case $ac_option in
2915 +- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
2916 +- *) ac_optarg=yes ;;
2917 +- esac
2918 +- eval "enable_$ac_feature='$ac_optarg'" ;;
2919 ++ eval enable_$ac_feature=\$ac_optarg ;;
2920 +
2921 + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2922 + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2923 +@@ -451,6 +1189,12 @@
2924 + -host=* | --host=* | --hos=* | --ho=*)
2925 + host_alias=$ac_optarg ;;
2926 +
2927 ++ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2928 ++ ac_prev=htmldir ;;
2929 ++ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2930 ++ | --ht=*)
2931 ++ htmldir=$ac_optarg ;;
2932 ++
2933 + -includedir | --includedir | --includedi | --included | --include \
2934 + | --includ | --inclu | --incl | --inc)
2935 + ac_prev=includedir ;;
2936 +@@ -475,13 +1219,16 @@
2937 + | --libexe=* | --libex=* | --libe=*)
2938 + libexecdir=$ac_optarg ;;
2939 +
2940 ++ -localedir | --localedir | --localedi | --localed | --locale)
2941 ++ ac_prev=localedir ;;
2942 ++ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2943 ++ localedir=$ac_optarg ;;
2944 ++
2945 + -localstatedir | --localstatedir | --localstatedi | --localstated \
2946 +- | --localstate | --localstat | --localsta | --localst \
2947 +- | --locals | --local | --loca | --loc | --lo)
2948 ++ | --localstate | --localstat | --localsta | --localst | --locals)
2949 + ac_prev=localstatedir ;;
2950 + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2951 +- | --localstate=* | --localstat=* | --localsta=* | --localst=* \
2952 +- | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
2953 ++ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2954 + localstatedir=$ac_optarg ;;
2955 +
2956 + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2957 +@@ -546,6 +1293,16 @@
2958 + | --progr-tra=* | --program-tr=* | --program-t=*)
2959 + program_transform_name=$ac_optarg ;;
2960 +
2961 ++ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2962 ++ ac_prev=pdfdir ;;
2963 ++ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2964 ++ pdfdir=$ac_optarg ;;
2965 ++
2966 ++ -psdir | --psdir | --psdi | --psd | --ps)
2967 ++ ac_prev=psdir ;;
2968 ++ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2969 ++ psdir=$ac_optarg ;;
2970 ++
2971 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2972 + | -silent | --silent | --silen | --sile | --sil)
2973 + silent=yes ;;
2974 +@@ -602,11 +1359,7 @@
2975 + { echo "$as_me: error: invalid package name: $ac_package" >&2
2976 + { (exit 1); exit 1; }; }
2977 + ac_package=`echo $ac_package| sed 's/-/_/g'`
2978 +- case $ac_option in
2979 +- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
2980 +- *) ac_optarg=yes ;;
2981 +- esac
2982 +- eval "with_$ac_package='$ac_optarg'" ;;
2983 ++ eval with_$ac_package=\$ac_optarg ;;
2984 +
2985 + -without-* | --without-*)
2986 + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2987 +@@ -615,7 +1368,7 @@
2988 + { echo "$as_me: error: invalid package name: $ac_package" >&2
2989 + { (exit 1); exit 1; }; }
2990 + ac_package=`echo $ac_package | sed 's/-/_/g'`
2991 +- eval "with_$ac_package=no" ;;
2992 ++ eval with_$ac_package=no ;;
2993 +
2994 + --x)
2995 + # Obsolete; use --with-x.
2996 +@@ -646,8 +1399,7 @@
2997 + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
2998 + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
2999 + { (exit 1); exit 1; }; }
3000 +- ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
3001 +- eval "$ac_envvar='$ac_optarg'"
3002 ++ eval $ac_envvar=\$ac_optarg
3003 + export $ac_envvar ;;
3004 +
3005 + *)
3006 +@@ -667,27 +1419,19 @@
3007 + { (exit 1); exit 1; }; }
3008 + fi
3009 +
3010 +-# Be sure to have absolute paths.
3011 +-for ac_var in exec_prefix prefix
3012 +-do
3013 +- eval ac_val=$`echo $ac_var`
3014 +- case $ac_val in
3015 +- [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
3016 +- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
3017 +- { (exit 1); exit 1; }; };;
3018 +- esac
3019 +-done
3020 +-
3021 +-# Be sure to have absolute paths.
3022 +-for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
3023 +- localstatedir libdir includedir oldincludedir infodir mandir
3024 ++# Be sure to have absolute directory names.
3025 ++for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
3026 ++ datadir sysconfdir sharedstatedir localstatedir includedir \
3027 ++ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
3028 ++ libdir localedir mandir
3029 + do
3030 +- eval ac_val=$`echo $ac_var`
3031 ++ eval ac_val=\$$ac_var
3032 + case $ac_val in
3033 +- [\\/$]* | ?:[\\/]* ) ;;
3034 +- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
3035 +- { (exit 1); exit 1; }; };;
3036 ++ [\\/$]* | ?:[\\/]* ) continue;;
3037 ++ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
3038 + esac
3039 ++ { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
3040 ++ { (exit 1); exit 1; }; }
3041 + done
3042 +
3043 + # There might be people who depend on the old broken behavior: `$host'
3044 +@@ -714,86 +1458,158 @@
3045 + test "$silent" = yes && exec 6>/dev/null
3046 +
3047 +
3048 ++ac_pwd=`pwd` && test -n "$ac_pwd" &&
3049 ++ac_ls_di=`ls -di .` &&
3050 ++ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
3051 ++ { echo "$as_me: error: Working directory cannot be determined" >&2
3052 ++ { (exit 1); exit 1; }; }
3053 ++test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
3054 ++ { echo "$as_me: error: pwd does not report name of working directory" >&2
3055 ++ { (exit 1); exit 1; }; }
3056 ++
3057 ++
3058 + # Find the source files, if location was not specified.
3059 + if test -z "$srcdir"; then
3060 + ac_srcdir_defaulted=yes
3061 +- # Try the directory containing this script, then its parent.
3062 +- ac_confdir=`(dirname "$0") 2>/dev/null ||
3063 ++ # Try the directory containing this script, then the parent directory.
3064 ++ ac_confdir=`$as_dirname -- "$0" ||
3065 + $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3066 + X"$0" : 'X\(//\)[^/]' \| \
3067 + X"$0" : 'X\(//\)$' \| \
3068 +- X"$0" : 'X\(/\)' \| \
3069 +- . : '\(.\)' 2>/dev/null ||
3070 ++ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3071 + echo X"$0" |
3072 +- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3073 +- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3074 +- /^X\(\/\/\)$/{ s//\1/; q; }
3075 +- /^X\(\/\).*/{ s//\1/; q; }
3076 ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3077 ++ s//\1/
3078 ++ q
3079 ++ }
3080 ++ /^X\(\/\/\)[^/].*/{
3081 ++ s//\1/
3082 ++ q
3083 ++ }
3084 ++ /^X\(\/\/\)$/{
3085 ++ s//\1/
3086 ++ q
3087 ++ }
3088 ++ /^X\(\/\).*/{
3089 ++ s//\1/
3090 ++ q
3091 ++ }
3092 + s/.*/./; q'`
3093 + srcdir=$ac_confdir
3094 +- if test ! -r $srcdir/$ac_unique_file; then
3095 ++ if test ! -r "$srcdir/$ac_unique_file"; then
3096 + srcdir=..
3097 + fi
3098 + else
3099 + ac_srcdir_defaulted=no
3100 + fi
3101 +-if test ! -r $srcdir/$ac_unique_file; then
3102 +- if test "$ac_srcdir_defaulted" = yes; then
3103 +- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
3104 +- { (exit 1); exit 1; }; }
3105 +- else
3106 ++if test ! -r "$srcdir/$ac_unique_file"; then
3107 ++ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
3108 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
3109 + { (exit 1); exit 1; }; }
3110 + fi
3111 ++ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
3112 ++ac_abs_confdir=`(
3113 ++ cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
3114 ++ { (exit 1); exit 1; }; }
3115 ++ pwd)`
3116 ++# When building in place, set srcdir=.
3117 ++if test "$ac_abs_confdir" = "$ac_pwd"; then
3118 ++ srcdir=.
3119 ++fi
3120 ++# Remove unnecessary trailing slashes from srcdir.
3121 ++# Double slashes in file names in object file debugging info
3122 ++# mess up M-x gdb in Emacs.
3123 ++case $srcdir in
3124 ++*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
3125 ++esac
3126 ++
3127 ++
3128 ++#### Check the passed arguments against the list of available ones
3129 ++x_with_list="\
3130 ++debug max-debug symbols optimization profiling tcheck dll static static-exe \
3131 ++plugin-auto-load bundles bin-release mt 64 universal exe runpath hard-runpath \
3132 ++lfs limited-linker openmp \
3133 ++autodep suffix hostspec version execopy bincopy lib-rebuilds lib-rebuilds=ask \
3134 ++deactivation makefile-auto-update projects flat-makefile configure-dialog \
3135 ++check ncbi-public strip pch caution ccache distcc \
3136 ++ncbi-c wxwidgets wxwidgets-ucs fastcgi sss sssdb sssutils included-sss \
3137 ++geo included-geo \
3138 ++z bz2 lzo pcre gcrypt gnutls openssl krb5 sybase sybase-local sybase-new \
3139 ++ftds mysql orbacus freetype ftgl opengl mesa glut glew glew-mx \
3140 ++bdb python perl jni sqlite3 icu boost boost-tag \
3141 ++sp expat sablot libxml libxslt libexslt xerces xalan zorba \
3142 ++oechem sge muparser hdf5 \
3143 ++gif jpeg tiff png xpm magic curl mimetic gsoap mongodb 3psw \
3144 ++local-lbsm ncbi-crypt connext \
3145 ++serial objects dbapi app ctools gui algo internal gbench"
3146 ++
3147 ++x_with_list=`echo "$x_with_list" | sed 's/\([^ ][^ ]*\)/--with-\1 --without-\1/g'`
3148 ++
3149 ++
3150 ++for x_arg in "$@" ; do
3151 ++ if test -z "$x_arg" ; then
3152 ++ continue
3153 ++ fi
3154 ++
3155 ++ x_okay=
3156 ++ for x_desc in $x_with_list ; do
3157 ++ if test "$x_arg" = "$x_desc" ; then
3158 ++ x_okay="okay"
3159 ++ break
3160 ++ fi
3161 ++ done
3162 ++ if test "$x_okay" = "okay" ; then
3163 ++ continue
3164 + fi
3165 +-(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
3166 +- { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
3167 ++
3168 ++ case "$x_arg" in
3169 ++ --with-extra-action= | --exec-prefix= | --with-projects= | --srcdir= \
3170 ++ | --cache-file= | --build= | --host= | --target= | --with-runpath= \
3171 ++ | --with-relative-runpath= | --x-includes= | --x-libraries= )
3172 ++ { echo "$as_me: error: $x_arg: requires value; use --help to show usage" >&2
3173 ++ { (exit 1); exit 1; }; }
3174 ++ ;;
3175 ++
3176 ++ --with-extra-action=* | --with-build-root=* | --with-build-root-sfx=* \
3177 ++ | --with-fake-root=* | --with-saved-settings=* \
3178 ++ | --with-projects=* | --with-check=* | --with-check-tools=* \
3179 ++ | --with-universal=* | --with-tcheck=* \
3180 ++ | --cache-file=* | --build=* | --host=* | --prefix=* | --exec-prefix=* \
3181 ++ | --libdir=* | --bindir=* | --includedir=* | --srcdir=* \
3182 ++ | [A-Z]*=* \
3183 ++ | --with-z=* | --with-bz2=* | --with-lzo=* \
3184 ++ | --with-pcre=* | --with-ncbi-c=* | --with-sss=* \
3185 ++ | --with-gcrypt=* | --with-gnutls=* | --with-openssl=* \
3186 ++ | --with-krb5=* | --with-curl=* | --with-gsoap=* | --with-mongodb=* \
3187 ++ | --with-sybase-local=* | --with-wxwidgets=* | --with-mimetic=* \
3188 ++ | --with-ftds=* | --with-mysql=* | --with-fastcgi=* \
3189 ++ | --with-sqlite3=* | --with-expat=* | --with-sablot=* \
3190 ++ | --with-icu=* | --with-xerces=* | --with-xalan=* | --with-zorba=* \
3191 ++ | --with-libxml=* | --with-libxslt=* | --with-exslt=* \
3192 ++ | --with-bdb=* | --with-odbc=* | --with-python=* | --with-perl=* \
3193 ++ | --with-freetype=* | --with-ftgl=* | --with-gif=* | --with-jpeg=* \
3194 ++ | --with-png=* | --with-tiff=* | --with-xpm=* | --with-opengl=* \
3195 ++ | --with-mesa=* | --with-glut=* | --with-glew=* | --with-oechem=* \
3196 ++ | --with-boost=* | --with-boost-tag=* | --with-orbacus=* | --with-sge=* \
3197 ++ | --with-muparser=* | --with-hdf5=* | --with-jni=* | --with-magic=* \
3198 ++ | --x-includes=* | --x-libraries=* | --with-3psw=* \
3199 ++ | --target=* | --with-runpath=* | --with-relative-runpath=* \
3200 ++ | --help | --no-create | --no-recursion)
3201 ++ ;;
3202 ++
3203 ++ * )
3204 ++ { echo "$as_me: error: $x_arg: unknown option; use --help to show usage" >&2
3205 + { (exit 1); exit 1; }; }
3206 +-srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
3207 +-ac_env_build_alias_set=${build_alias+set}
3208 +-ac_env_build_alias_value=$build_alias
3209 +-ac_cv_env_build_alias_set=${build_alias+set}
3210 +-ac_cv_env_build_alias_value=$build_alias
3211 +-ac_env_host_alias_set=${host_alias+set}
3212 +-ac_env_host_alias_value=$host_alias
3213 +-ac_cv_env_host_alias_set=${host_alias+set}
3214 +-ac_cv_env_host_alias_value=$host_alias
3215 +-ac_env_target_alias_set=${target_alias+set}
3216 +-ac_env_target_alias_value=$target_alias
3217 +-ac_cv_env_target_alias_set=${target_alias+set}
3218 +-ac_cv_env_target_alias_value=$target_alias
3219 +-ac_env_CC_set=${CC+set}
3220 +-ac_env_CC_value=$CC
3221 +-ac_cv_env_CC_set=${CC+set}
3222 +-ac_cv_env_CC_value=$CC
3223 +-ac_env_CFLAGS_set=${CFLAGS+set}
3224 +-ac_env_CFLAGS_value=$CFLAGS
3225 +-ac_cv_env_CFLAGS_set=${CFLAGS+set}
3226 +-ac_cv_env_CFLAGS_value=$CFLAGS
3227 +-ac_env_LDFLAGS_set=${LDFLAGS+set}
3228 +-ac_env_LDFLAGS_value=$LDFLAGS
3229 +-ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
3230 +-ac_cv_env_LDFLAGS_value=$LDFLAGS
3231 +-ac_env_CPPFLAGS_set=${CPPFLAGS+set}
3232 +-ac_env_CPPFLAGS_value=$CPPFLAGS
3233 +-ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
3234 +-ac_cv_env_CPPFLAGS_value=$CPPFLAGS
3235 +-ac_env_CXX_set=${CXX+set}
3236 +-ac_env_CXX_value=$CXX
3237 +-ac_cv_env_CXX_set=${CXX+set}
3238 +-ac_cv_env_CXX_value=$CXX
3239 +-ac_env_CXXFLAGS_set=${CXXFLAGS+set}
3240 +-ac_env_CXXFLAGS_value=$CXXFLAGS
3241 +-ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
3242 +-ac_cv_env_CXXFLAGS_value=$CXXFLAGS
3243 +-ac_env_CXXCPP_set=${CXXCPP+set}
3244 +-ac_env_CXXCPP_value=$CXXCPP
3245 +-ac_cv_env_CXXCPP_set=${CXXCPP+set}
3246 +-ac_cv_env_CXXCPP_value=$CXXCPP
3247 +-ac_env_CPP_set=${CPP+set}
3248 +-ac_env_CPP_value=$CPP
3249 +-ac_cv_env_CPP_set=${CPP+set}
3250 +-ac_cv_env_CPP_value=$CPP
3251 ++ ;;
3252 ++ esac
3253 ++done
3254 ++
3255 ++for ac_var in $ac_precious_vars; do
3256 ++ eval ac_env_${ac_var}_set=\${${ac_var}+set}
3257 ++ eval ac_env_${ac_var}_value=\$${ac_var}
3258 ++ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
3259 ++ eval ac_cv_env_${ac_var}_value=\$${ac_var}
3260 ++done
3261 +
3262 + #
3263 + # Report the --help message.
3264 +@@ -822,9 +1638,6 @@
3265 + -n, --no-create do not create output files
3266 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
3267 +
3268 +-_ACEOF
3269 +-
3270 +- cat <<_ACEOF
3271 + Installation directories:
3272 + --prefix=PREFIX install architecture-independent files in PREFIX
3273 + [$ac_default_prefix]
3274 +@@ -842,15 +1655,22 @@
3275 + --bindir=DIR user executables [EPREFIX/bin]
3276 + --sbindir=DIR system admin executables [EPREFIX/sbin]
3277 + --libexecdir=DIR program executables [EPREFIX/libexec]
3278 +- --datadir=DIR read-only architecture-independent data [PREFIX/share]
3279 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
3280 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
3281 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
3282 + --libdir=DIR object code libraries [EPREFIX/lib]
3283 + --includedir=DIR C header files [PREFIX/include]
3284 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
3285 +- --infodir=DIR info documentation [PREFIX/info]
3286 +- --mandir=DIR man documentation [PREFIX/man]
3287 ++ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
3288 ++ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
3289 ++ --infodir=DIR info documentation [DATAROOTDIR/info]
3290 ++ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
3291 ++ --mandir=DIR man documentation [DATAROOTDIR/man]
3292 ++ --docdir=DIR documentation root [DATAROOTDIR/doc/ncbi-tools--]
3293 ++ --htmldir=DIR html documentation [DOCDIR]
3294 ++ --dvidir=DIR dvi documentation [DOCDIR]
3295 ++ --pdfdir=DIR pdf documentation [DOCDIR]
3296 ++ --psdir=DIR ps documentation [DOCDIR]
3297 + _ACEOF
3298 +
3299 + cat <<\_ACEOF
3300 +@@ -889,6 +1709,7 @@
3301 + --with-bundles build bundles in addition to dylibs on Mac OS X
3302 + --with-bin-release build executables suitable for public release
3303 + --with-mt compile in a MultiThread-safe manner
3304 ++ --with-openmp enable OpenMP extensions for all projects
3305 + --with-64 compile to 64-bit code
3306 + --with-universal build universal binaries on Mac OS X
3307 + --with-universal=CPUs build universal binaries targeting the given CPUs
3308 +@@ -925,7 +1746,9 @@
3309 + --without-caution proceed without asking when in doubt
3310 + --without-ccache do not automatically use ccache if available
3311 + --without-distcc do not automatically use distcc if available
3312 ++ --with-ncbi-c=DIR use NCBI C Toolkit installation in DIR
3313 + --without-ncbi-c do not use NCBI C Toolkit
3314 ++ --with-sss=DIR use NCBI SSS installation in DIR
3315 + --without-sss do not use NCBI SSS libraries
3316 + --without-utils do not use NCBI SSS UTIL library
3317 + --without-sssdb do not use NCBI SSS DB library
3318 +@@ -1034,6 +1857,10 @@
3319 + --without-curl do not use libcurl
3320 + --with-mimetic=DIR use libmimetic installation in DIR
3321 + --without-mimetic do not use libmimetic
3322 ++ --with-gsoap=DIR use gSOAP++ installation in DIR
3323 ++ --without-gsoap do not use gSOAP++
3324 ++ --with-mongodb=DIR use MongoDB installation in DIR
3325 ++ --without-mongodb do not use MongoDB
3326 + --with-3psw=std:netopt favor standard (system) builds of the above pkgs.
3327 + --without-3psw do not use any of the above packages
3328 + --without-local-lbsm turn off support for IPC with locally running LBSMD
3329 +@@ -1058,87 +1885,90 @@
3330 + CFLAGS C compiler flags
3331 + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
3332 + nonstandard directory <lib dir>
3333 +- CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
3334 +- headers in a nonstandard directory <include dir>
3335 ++ CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
3336 ++ you have headers in a nonstandard directory <include dir>
3337 + CXX C++ compiler command
3338 + CXXFLAGS C++ compiler flags
3339 + CXXCPP C++ preprocessor
3340 + CPP C preprocessor
3341 ++ XMKMF Path to xmkmf, Makefile generator for X Window System
3342 +
3343 + Use these variables to override the choices made by `configure' or to help
3344 + it to find libraries and programs with nonstandard names/locations.
3345 +
3346 + Report bugs to <cpp-core@××××××××××××.gov>.
3347 + _ACEOF
3348 ++ac_status=$?
3349 + fi
3350 +
3351 + if test "$ac_init_help" = "recursive"; then
3352 + # If there are subdirs, report their specific --help.
3353 +- ac_popdir=`pwd`
3354 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
3355 +- test -d $ac_dir || continue
3356 +- #ac_builddir=. # Useless!
3357 +-ac_builddir=$builddir
3358 +-if test -n "$ac_file_in"; then
3359 +- ac_dir_in=`(dirname "$ac_file_in") 2>/dev/null ||
3360 +-$as_expr X"$ac_file_in" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3361 +- X"$ac_file_in" : 'X\(//\)[^/]' \| \
3362 +- X"$ac_file_in" : 'X\(//\)$' \| \
3363 +- X"$ac_file_in" : 'X\(/\)' \| \
3364 +- . : '\(.\)' 2>/dev/null ||
3365 +-echo X"$ac_file_in" |
3366 +- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3367 +- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3368 +- /^X\(\/\/\)$/{ s//\1/; q; }
3369 +- /^X\(\/\).*/{ s//\1/; q; }
3370 ++ test -d "$ac_dir" || continue
3371 ++ # Base source directories on path to *input* file.
3372 ++if test -n "$ac_f"; then
3373 ++ ac_dir_in=`$as_dirname -- "$ac_f" ||
3374 ++$as_expr X"$ac_f" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3375 ++ X"$ac_f" : 'X\(//\)[^/]' \| \
3376 ++ X"$ac_f" : 'X\(//\)$' \| \
3377 ++ X"$ac_f" : 'X\(/\)' \| . 2>/dev/null ||
3378 ++echo X"$ac_f" |
3379 ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3380 ++ s//\1/
3381 ++ q
3382 ++ }
3383 ++ /^X\(\/\/\)[^/].*/{
3384 ++ s//\1/
3385 ++ q
3386 ++ }
3387 ++ /^X\(\/\/\)$/{
3388 ++ s//\1/
3389 ++ q
3390 ++ }
3391 ++ /^X\(\/\).*/{
3392 ++ s//\1/
3393 ++ q
3394 ++ }
3395 + s/.*/./; q'`
3396 + else
3397 + ac_dir_in="$ac_dir"
3398 + fi
3399 +
3400 +-if test $ac_dir_in != .; then
3401 +- ac_dir_suffix=`echo $ac_dir_in | sed 's,^\.[\\/],,'`
3402 +- # A "../" for each directory in $ac_dir_suffix.
3403 +- ac_top_builddir=../`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3404 +-else
3405 +- ac_dir_suffix= ac_top_builddir=
3406 +-fi
3407 ++ac_builddir=.
3408 +
3409 +-case $srcdir in
3410 +- .) # No --srcdir option. We are building in place.
3411 +- ac_srcdir=.
3412 +- if test -z "$ac_top_builddir"; then
3413 +- ac_top_srcdir=.
3414 +- else
3415 +- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3416 +- fi ;;
3417 +- [\\/]* | ?:[\\/]* ) # Absolute path.
3418 +- ac_srcdir=$srcdir/$ac_dir_suffix;
3419 +- ac_top_srcdir=$srcdir ;;
3420 +- *) # Relative path.
3421 +- ac_srcdir=$ac_top_builddir$srcdir/$ac_dir_suffix
3422 +- ac_top_srcdir=$ac_top_builddir$srcdir ;;
3423 +-esac
3424 +-# Do not use `cd foo && pwd` to compute absolute paths, because
3425 +-# the directories may not exist.
3426 +-case $builddir in
3427 +-.) ac_abs_builddir="$ac_dir";;
3428 +-*)
3429 +- case "$ac_dir" in
3430 +- .) ac_abs_builddir=$builddir;;
3431 +- [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3432 +- *) ac_abs_builddir=$builddir/"$ac_dir";;
3433 +- esac;;
3434 +-esac
3435 +-case $ac_abs_builddir in
3436 +-.) ac_abs_top_builddir=${ac_top_builddir}.;;
3437 ++case "$ac_dir_in" in
3438 ++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3439 + *)
3440 +- case ${ac_top_builddir}. in
3441 +- .) ac_abs_top_builddir=$ac_abs_builddir;;
3442 +- [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3443 +- *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3444 ++ ac_dir_suffix=/`echo "$ac_dir_in" | sed 's,^\.[\\/],,'`
3445 ++ # A ".." for each directory in $ac_dir_suffix.
3446 ++ ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3447 ++ case $ac_top_builddir_sub in
3448 ++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3449 ++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3450 + esac;;
3451 + esac
3452 ++ac_abs_top_builddir=$ac_pwd
3453 ++ac_abs_builddir=$ac_pwd$ac_dir_suffix
3454 ++# for backward compatibility:
3455 ++ac_top_builddir=$ac_top_build_prefix
3456 ++
3457 ++case $srcdir in
3458 ++ .) # We are building in place.
3459 ++ ac_srcdir=.
3460 ++ ac_top_srcdir=$ac_top_builddir_sub
3461 ++ ac_abs_top_srcdir=$ac_pwd ;;
3462 ++ [\\/]* | ?:[\\/]* ) # Absolute name.
3463 ++ ac_srcdir=$srcdir$ac_dir_suffix;
3464 ++ ac_top_srcdir=$srcdir
3465 ++ ac_abs_top_srcdir=$srcdir ;;
3466 ++ *) # Relative name.
3467 ++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3468 ++ ac_top_srcdir=$ac_top_build_prefix$srcdir
3469 ++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3470 ++esac
3471 ++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3472 ++
3473 ++
3474 + case $ac_dir_in in
3475 + .) ac_abs_top_srcdir=$real_srcdir;;
3476 + *)
3477 +@@ -1148,46 +1978,35 @@
3478 + *) ac_abs_top_srcdir=$ac_dir_in/$real_srcdir;;
3479 + esac;;
3480 + esac
3481 +-case $ac_abs_top_srcdir in
3482 +-.) ac_abs_srcdir=$ac_dir_suffix;;
3483 +-*)
3484 +- case $ac_dir_suffix in
3485 +- .) ac_abs_srcdir=$ac_abs_top_srcdir;;
3486 +- [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_dir_suffix;;
3487 +- *) ac_abs_srcdir=$ac_abs_top_srcdir/$ac_dir_suffix;;
3488 +- esac;;
3489 +-esac
3490 ++ac_builddir=$builddir
3491 +
3492 +- cd $ac_dir
3493 +- # Check for guested configure; otherwise get Cygnus style configure.
3494 +- if test -f $ac_srcdir/configure.gnu; then
3495 +- echo
3496 +- $SHELL $ac_srcdir/configure.gnu --help=recursive
3497 +- elif test -f $ac_srcdir/configure; then
3498 +- echo
3499 +- $SHELL $ac_srcdir/configure --help=recursive
3500 +- elif test -f $ac_srcdir/configure.ac ||
3501 +- test -f $ac_srcdir/configure.in; then
3502 +- echo
3503 +- $ac_configure --help
3504 ++ cd "$ac_dir" || { ac_status=$?; continue; }
3505 ++ # Check for guested configure.
3506 ++ if test -f "$ac_srcdir/configure.gnu"; then
3507 ++ echo &&
3508 ++ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
3509 ++ elif test -f "$ac_srcdir/configure"; then
3510 ++ echo &&
3511 ++ $SHELL "$ac_srcdir/configure" --help=recursive
3512 + else
3513 + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
3514 +- fi
3515 +- cd $ac_popdir
3516 ++ fi || ac_status=$?
3517 ++ cd "$ac_pwd" || { ac_status=$?; break; }
3518 + done
3519 + fi
3520 +
3521 +-test -n "$ac_init_help" && exit 0
3522 ++test -n "$ac_init_help" && exit $ac_status
3523 + if $ac_init_version; then
3524 + cat <<\_ACEOF
3525 + ncbi-tools++ configure 0.0
3526 +-generated by GNU Autoconf 2.59
3527 ++generated by GNU Autoconf 2.60
3528 +
3529 +-Copyright (C) 2003 Free Software Foundation, Inc.
3530 ++Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
3531 ++2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
3532 + This configure script is free software; the Free Software Foundation
3533 + gives unlimited permission to copy, distribute and modify it.
3534 + _ACEOF
3535 +- exit 0
3536 ++ exit
3537 + fi
3538 +
3539 +
3540 +@@ -1522,6 +2341,18 @@
3541 + else
3542 + with_curl=no
3543 + fi
3544 ++ if test "${with_gsoap-no}" != "no"; then
3545 ++ { echo "$as_me: error: incompatible options: --with-gsoap but --without-3psw" >&2
3546 ++ { (exit 1); exit 1; }; }
3547 ++ else
3548 ++ with_gsoap=no
3549 ++ fi
3550 ++ if test "${with_mongodb-no}" != "no"; then
3551 ++ { echo "$as_me: error: incompatible options: --with-mongodb but --without-3psw" >&2
3552 ++ { (exit 1); exit 1; }; }
3553 ++ else
3554 ++ with_mongodb=no
3555 ++ fi
3556 +
3557 + $as_unset NCBI || test "${NCBI+set}" != set || { NCBI=; export NCBI; }
3558 + ;;
3559 +@@ -1542,17 +2373,17 @@
3560 + if test -z "$CONFIG_SITE" -a -r $srcdir/src/build-system/config.site; then
3561 + CONFIG_SITE=$srcdir/src/build-system/config.site
3562 + fi
3563 +-exec 5>config.log
3564 +-cat >&5 <<_ACEOF
3565 ++cat >config.log <<_ACEOF
3566 + This file contains any messages produced by compilers while
3567 + running configure, to aid debugging if configure makes a mistake.
3568 +
3569 + It was created by ncbi-tools++ $as_me 0.0, which was
3570 +-generated by GNU Autoconf 2.59. Invocation command line was
3571 ++generated by GNU Autoconf 2.60. Invocation command line was
3572 +
3573 + $ $0 $@
3574 +
3575 + _ACEOF
3576 ++exec 5>>config.log
3577 + {
3578 + cat <<_ASUNAME
3579 + ## --------- ##
3580 +@@ -1571,7 +2402,7 @@
3581 + /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3582 + /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3583 + /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3584 +-hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
3585 ++/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3586 + /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3587 + /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3588 + /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3589 +@@ -1585,6 +2416,7 @@
3590 + test -z "$as_dir" && as_dir=.
3591 + echo "PATH: $as_dir"
3592 + done
3593 ++IFS=$as_save_IFS
3594 +
3595 + } >&5
3596 +
3597 +@@ -1606,7 +2438,6 @@
3598 + ac_configure_args=
3599 + ac_configure_args0=
3600 + ac_configure_args1=
3601 +-ac_sep=
3602 + ac_must_keep_next=false
3603 + for ac_pass in 1 2
3604 + do
3605 +@@ -1617,7 +2448,7 @@
3606 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3607 + | -silent | --silent | --silen | --sile | --sil)
3608 + continue ;;
3609 +- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
3610 ++ *\'*)
3611 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3612 + esac
3613 + case $ac_pass in
3614 +@@ -1639,9 +2470,7 @@
3615 + -* ) ac_must_keep_next=true ;;
3616 + esac
3617 + fi
3618 +- ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
3619 +- # Get rid of the leading space.
3620 +- ac_sep=" "
3621 ++ ac_configure_args="$ac_configure_args '$ac_arg'"
3622 + ;;
3623 + esac
3624 + done
3625 +@@ -1652,8 +2481,8 @@
3626 + # When interrupted or exit'd, cleanup temporary files, and complete
3627 + # config.log. We remove comments because anyway the quotes in there
3628 + # would cause problems or look ugly.
3629 +-# WARNING: Be sure not to use single quotes in there, as some shells,
3630 +-# such as our DU 5.0 friend, will then `close' the trap.
3631 ++# WARNING: Use '\'' to represent an apostrophe within the trap.
3632 ++# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3633 + trap 'exit_status=$?
3634 + # Save into config.log some information that might help in debugging.
3635 + {
3636 +@@ -1666,20 +2495,34 @@
3637 + _ASBOX
3638 + echo
3639 + # The following way of writing the cache mishandles newlines in values,
3640 +-{
3641 ++(
3642 ++ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3643 ++ eval ac_val=\$$ac_var
3644 ++ case $ac_val in #(
3645 ++ *${as_nl}*)
3646 ++ case $ac_var in #(
3647 ++ *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3648 ++echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3649 ++ esac
3650 ++ case $ac_var in #(
3651 ++ _ | IFS | as_nl) ;; #(
3652 ++ *) $as_unset $ac_var ;;
3653 ++ esac ;;
3654 ++ esac
3655 ++ done
3656 + (set) 2>&1 |
3657 +- case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
3658 +- *ac_space=\ *)
3659 +- sed -n \
3660 +- "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
3661 +- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
3662 +- ;;
3663 +- *)
3664 ++ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3665 ++ *${as_nl}ac_space=\ *)
3666 + sed -n \
3667 +- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3668 +- ;;
3669 +- esac;
3670 +-}
3671 ++ "s/'\''/'\''\\\\'\'''\''/g;
3672 ++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3673 ++ ;; #(
3674 ++ *)
3675 ++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3676 ++ ;;
3677 ++ esac |
3678 ++ sort
3679 ++)
3680 + echo
3681 +
3682 + cat <<\_ASBOX
3683 +@@ -1690,22 +2533,28 @@
3684 + echo
3685 + for ac_var in $ac_subst_vars
3686 + do
3687 +- eval ac_val=$`echo $ac_var`
3688 +- echo "$ac_var='"'"'$ac_val'"'"'"
3689 ++ eval ac_val=\$$ac_var
3690 ++ case $ac_val in
3691 ++ *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3692 ++ esac
3693 ++ echo "$ac_var='\''$ac_val'\''"
3694 + done | sort
3695 + echo
3696 +
3697 + if test -n "$ac_subst_files"; then
3698 + cat <<\_ASBOX
3699 +-## ------------- ##
3700 +-## Output files. ##
3701 +-## ------------- ##
3702 ++## ------------------- ##
3703 ++## File substitutions. ##
3704 ++## ------------------- ##
3705 + _ASBOX
3706 + echo
3707 + for ac_var in $ac_subst_files
3708 + do
3709 +- eval ac_val=$`echo $ac_var`
3710 +- echo "$ac_var='"'"'$ac_val'"'"'"
3711 ++ eval ac_val=\$$ac_var
3712 ++ case $ac_val in
3713 ++ *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3714 ++ esac
3715 ++ echo "$ac_var='\''$ac_val'\''"
3716 + done | sort
3717 + echo
3718 + fi
3719 +@@ -1717,15 +2566,15 @@
3720 + ## ----------- ##
3721 + _ASBOX
3722 + echo
3723 +- sed "/^$/d" confdefs.h | sort
3724 ++ cat confdefs.h
3725 + echo
3726 + fi
3727 + test "$ac_signal" != 0 &&
3728 + echo "$as_me: caught signal $ac_signal"
3729 + echo "$as_me: exit $exit_status"
3730 + } >&5
3731 +- rm -f core *.core &&
3732 +- rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
3733 ++ rm -f core *.core core.conftest.* &&
3734 ++ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3735 + exit $exit_status
3736 + ' 0
3737 + for ac_signal in 1 2 13 15; do
3738 +@@ -1734,9 +2583,7 @@
3739 + ac_signal=0
3740 +
3741 + # confdefs.h avoids OS command line length limits that DEFS can exceed.
3742 +-rm -rf conftest* confdefs.h
3743 +-# AIX cpp loses on an empty file, so make sure it contains at least a newline.
3744 +-echo >confdefs.h
3745 ++rm -f -r conftest* confdefs.h
3746 +
3747 + # Predefined preprocessor variables.
3748 +
3749 +@@ -1747,14 +2594,17 @@
3750 +
3751 + # Let the site file select an alternate cache file if it wants to.
3752 + # Prefer explicitly selected file to automatically selected ones.
3753 +-if test -z "$CONFIG_SITE"; then
3754 +- if test "x$prefix" != xNONE; then
3755 +- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
3756 ++if test -n "$CONFIG_SITE"; then
3757 ++ set x "$CONFIG_SITE"
3758 ++elif test "x$prefix" != xNONE; then
3759 ++ set x "$prefix/share/config.site" "$prefix/etc/config.site"
3760 + else
3761 +- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3762 +- fi
3763 ++ set x "$ac_default_prefix/share/config.site" \
3764 ++ "$ac_default_prefix/etc/config.site"
3765 + fi
3766 +-for ac_site_file in $CONFIG_SITE; do
3767 ++shift
3768 ++for ac_site_file
3769 ++do
3770 + if test -r "$ac_site_file"; then
3771 + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
3772 + echo "$as_me: loading site script $ac_site_file" >&6;}
3773 +@@ -1770,8 +2620,8 @@
3774 + { echo "$as_me:$LINENO: loading cache $cache_file" >&5
3775 + echo "$as_me: loading cache $cache_file" >&6;}
3776 + case $cache_file in
3777 +- [\\/]* | ?:[\\/]* ) . $cache_file;;
3778 +- *) . ./$cache_file;;
3779 ++ [\\/]* | ?:[\\/]* ) . "$cache_file";;
3780 ++ *) . "./$cache_file";;
3781 + esac
3782 + fi
3783 + else
3784 +@@ -1783,12 +2633,11 @@
3785 + # Check that the precious variables saved in the cache have kept the same
3786 + # value.
3787 + ac_cache_corrupted=false
3788 +-for ac_var in `(set) 2>&1 |
3789 +- sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
3790 ++for ac_var in $ac_precious_vars; do
3791 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
3792 + eval ac_new_set=\$ac_env_${ac_var}_set
3793 +- eval ac_old_val="\$ac_cv_env_${ac_var}_value"
3794 +- eval ac_new_val="\$ac_env_${ac_var}_value"
3795 ++ eval ac_old_val=\$ac_cv_env_${ac_var}_value
3796 ++ eval ac_new_val=\$ac_env_${ac_var}_value
3797 + case $ac_old_set,$ac_new_set in
3798 + set,)
3799 + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3800 +@@ -1813,8 +2662,7 @@
3801 + # Pass precious variables to config.status.
3802 + if test "$ac_new_set" = set; then
3803 + case $ac_new_val in
3804 +- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
3805 +- ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3806 ++ *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3807 + *) ac_arg=$ac_var=$ac_new_val ;;
3808 + esac
3809 + case " $ac_configure_args " in
3810 +@@ -1831,12 +2679,6 @@
3811 + { (exit 1); exit 1; }; }
3812 + fi
3813 +
3814 +-ac_ext=c
3815 +-ac_cpp='$CPP $CPPFLAGS'
3816 +-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3817 +-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3818 +-ac_compiler_gnu=$ac_cv_c_compiler_gnu
3819 +-
3820 +
3821 +
3822 +
3823 +@@ -1861,6 +2703,11 @@
3824 +
3825 +
3826 +
3827 ++ac_ext=c
3828 ++ac_cpp='$CPP $CPPFLAGS'
3829 ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3830 ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3831 ++ac_compiler_gnu=$ac_cv_c_compiler_gnu
3832 +
3833 +
3834 +
3835 +@@ -1874,1167 +2721,1129 @@
3836 +
3837 + ## Title
3838 +
3839 +-# Check whether --with-title0 or --without-title0 was given.
3840 ++# Check whether --with-title0 was given.
3841 + if test "${with_title0+set}" = set; then
3842 +- withval="$with_title0"
3843 ++ withval=$with_title0;
3844 ++fi
3845 +
3846 +-fi;
3847 +
3848 +-# Check whether --with-title1 or --without-title1 was given.
3849 ++# Check whether --with-title1 was given.
3850 + if test "${with_title1+set}" = set; then
3851 +- withval="$with_title1"
3852 ++ withval=$with_title1;
3853 ++fi
3854 +
3855 +-fi;
3856 +
3857 +-# Check whether --with-title2 or --without-title2 was given.
3858 ++# Check whether --with-title2 was given.
3859 + if test "${with_title2+set}" = set; then
3860 +- withval="$with_title2"
3861 ++ withval=$with_title2;
3862 ++fi
3863 +
3864 +-fi;
3865 +
3866 + ## Code generation
3867 +
3868 +-# Check whether --with-debug or --without-debug was given.
3869 ++# Check whether --with-debug was given.
3870 + if test "${with_debug+set}" = set; then
3871 +- withval="$with_debug"
3872 ++ withval=$with_debug;
3873 ++fi
3874 +
3875 +-fi;
3876 +
3877 +-# Check whether --with-max-debug or --without-max-debug was given.
3878 ++# Check whether --with-max-debug was given.
3879 + if test "${with_max_debug+set}" = set; then
3880 +- withval="$with_max_debug"
3881 ++ withval=$with_max_debug;
3882 ++fi
3883 +
3884 +-fi;
3885 +
3886 +-# Check whether --with-symbols or --without-symbols was given.
3887 ++# Check whether --with-symbols was given.
3888 + if test "${with_symbols+set}" = set; then
3889 +- withval="$with_symbols"
3890 ++ withval=$with_symbols;
3891 ++fi
3892 +
3893 +-fi;
3894 +
3895 +-# Check whether --with-optimization or --without-optimization was given.
3896 ++# Check whether --with-optimization was given.
3897 + if test "${with_optimization+set}" = set; then
3898 +- withval="$with_optimization"
3899 ++ withval=$with_optimization;
3900 ++fi
3901 +
3902 +-fi;
3903 +
3904 +-# Check whether --with-profiling or --without-profiling was given.
3905 ++# Check whether --with-profiling was given.
3906 + if test "${with_profiling+set}" = set; then
3907 +- withval="$with_profiling"
3908 ++ withval=$with_profiling;
3909 ++fi
3910 +
3911 +-fi;
3912 +
3913 +-# Check whether --with-tcheck or --without-tcheck was given.
3914 ++# Check whether --with-tcheck was given.
3915 + if test "${with_tcheck+set}" = set; then
3916 +- withval="$with_tcheck"
3917 ++ withval=$with_tcheck;
3918 ++fi
3919 +
3920 +-fi;
3921 +
3922 +-# Check whether --with-dll or --without-dll was given.
3923 ++# Check whether --with-dll was given.
3924 + if test "${with_dll+set}" = set; then
3925 +- withval="$with_dll"
3926 ++ withval=$with_dll;
3927 ++fi
3928 +
3929 +-fi;
3930 +
3931 +-# Check whether --with-static or --without-static was given.
3932 ++# Check whether --with-static was given.
3933 + if test "${with_static+set}" = set; then
3934 +- withval="$with_static"
3935 ++ withval=$with_static;
3936 ++fi
3937 +
3938 +-fi;
3939 +
3940 +-# Check whether --with-static-exe or --without-static-exe was given.
3941 ++# Check whether --with-static-exe was given.
3942 + if test "${with_static_exe+set}" = set; then
3943 +- withval="$with_static_exe"
3944 ++ withval=$with_static_exe;
3945 ++fi
3946 +
3947 +-fi;
3948 +
3949 +-# Check whether --with-plugin-auto-load or --without-plugin-auto-load was given.
3950 ++# Check whether --with-plugin-auto-load was given.
3951 + if test "${with_plugin_auto_load+set}" = set; then
3952 +- withval="$with_plugin_auto_load"
3953 ++ withval=$with_plugin_auto_load;
3954 ++fi
3955 +
3956 +-fi;
3957 +
3958 +-# Check whether --with-bundles or --without-bundles was given.
3959 ++# Check whether --with-bundles was given.
3960 + if test "${with_bundles+set}" = set; then
3961 +- withval="$with_bundles"
3962 ++ withval=$with_bundles;
3963 ++fi
3964 +
3965 +-fi;
3966 +
3967 +-# Check whether --with-bin-release or --without-bin-release was given.
3968 ++# Check whether --with-bin-release was given.
3969 + if test "${with_bin_release+set}" = set; then
3970 +- withval="$with_bin_release"
3971 ++ withval=$with_bin_release;
3972 ++fi
3973 +
3974 +-fi;
3975 +
3976 +-# Check whether --with-mt or --without-mt was given.
3977 ++# Check whether --with-mt was given.
3978 + if test "${with_mt+set}" = set; then
3979 +- withval="$with_mt"
3980 ++ withval=$with_mt;
3981 ++fi
3982 ++
3983 ++
3984 ++# Check whether --with-openmp was given.
3985 ++if test "${with_openmp+set}" = set; then
3986 ++ withval=$with_openmp;
3987 ++fi
3988 +
3989 +-fi;
3990 +
3991 +-# Check whether --with-64 or --without-64 was given.
3992 ++# Check whether --with-64 was given.
3993 + if test "${with_64+set}" = set; then
3994 +- withval="$with_64"
3995 ++ withval=$with_64;
3996 ++fi
3997 +
3998 +-fi;
3999 +
4000 +-# Check whether --with-universal or --without-universal was given.
4001 ++# Check whether --with-universal was given.
4002 + if test "${with_universal+set}" = set; then
4003 +- withval="$with_universal"
4004 ++ withval=$with_universal;
4005 ++fi
4006 +
4007 +-fi;
4008 +
4009 +-# Check whether --with-universal2 or --without-universal2 was given.
4010 ++# Check whether --with-universal2 was given.
4011 + if test "${with_universal2+set}" = set; then
4012 +- withval="$with_universal2"
4013 ++ withval=$with_universal2;
4014 ++fi
4015 +
4016 +-fi;
4017 +
4018 +-# Check whether --with-exe or --without-exe was given.
4019 ++# Check whether --with-exe was given.
4020 + if test "${with_exe+set}" = set; then
4021 +- withval="$with_exe"
4022 ++ withval=$with_exe;
4023 ++fi
4024 +
4025 +-fi;
4026 +
4027 +-# Check whether --with-runpath or --without-runpath was given.
4028 ++# Check whether --with-runpath was given.
4029 + if test "${with_runpath+set}" = set; then
4030 +- withval="$with_runpath"
4031 ++ withval=$with_runpath;
4032 ++fi
4033 +
4034 +-fi;
4035 +
4036 +-# Check whether --with-relative-runpath or --without-relative-runpath was given.
4037 ++# Check whether --with-relative-runpath was given.
4038 + if test "${with_relative_runpath+set}" = set; then
4039 +- withval="$with_relative_runpath"
4040 ++ withval=$with_relative_runpath;
4041 ++fi
4042 +
4043 +-fi;
4044 +
4045 +-# Check whether --with-hard-runpath or --without-hard-runpath was given.
4046 ++# Check whether --with-hard-runpath was given.
4047 + if test "${with_hard_runpath+set}" = set; then
4048 +- withval="$with_hard_runpath"
4049 ++ withval=$with_hard_runpath;
4050 ++fi
4051 +
4052 +-fi;
4053 +
4054 +-# Check whether --with-lfs or --without-lfs was given.
4055 ++# Check whether --with-lfs was given.
4056 + if test "${with_lfs+set}" = set; then
4057 +- withval="$with_lfs"
4058 ++ withval=$with_lfs;
4059 ++fi
4060 +
4061 +-fi;
4062 +
4063 +-# Check whether --with-limited-linker or --without-limited-linker was given.
4064 ++# Check whether --with-limited-linker was given.
4065 + if test "${with_limited_linker+set}" = set; then
4066 +- withval="$with_limited_linker"
4067 ++ withval=$with_limited_linker;
4068 ++fi
4069 +
4070 +-fi;
4071 +
4072 + ## Scripts, make features, and directory naming
4073 +
4074 +-# Check whether --with-extra-action or --without-extra-action was given.
4075 ++# Check whether --with-extra-action was given.
4076 + if test "${with_extra_action+set}" = set; then
4077 +- withval="$with_extra_action"
4078 ++ withval=$with_extra_action;
4079 ++fi
4080 +
4081 +-fi;
4082 +
4083 +-# Check whether --with-autodep or --without-autodep was given.
4084 ++# Check whether --with-autodep was given.
4085 + if test "${with_autodep+set}" = set; then
4086 +- withval="$with_autodep"
4087 ++ withval=$with_autodep;
4088 ++fi
4089 +
4090 +-fi;
4091 +
4092 +-# Check whether --with-build-root or --without-build-root was given.
4093 ++# Check whether --with-build-root was given.
4094 + if test "${with_build_root+set}" = set; then
4095 +- withval="$with_build_root"
4096 ++ withval=$with_build_root;
4097 ++fi
4098 +
4099 +-fi;
4100 +
4101 +-# Check whether --with-fake-root or --without-fake-root was given.
4102 ++# Check whether --with-fake-root was given.
4103 + if test "${with_fake_root+set}" = set; then
4104 +- withval="$with_fake_root"
4105 ++ withval=$with_fake_root;
4106 ++fi
4107 +
4108 +-fi;
4109 +
4110 +-# Check whether --with-suffix or --without-suffix was given.
4111 ++# Check whether --with-suffix was given.
4112 + if test "${with_suffix+set}" = set; then
4113 +- withval="$with_suffix"
4114 ++ withval=$with_suffix;
4115 ++fi
4116 +
4117 +-fi;
4118 +
4119 +-# Check whether --with-hostspec or --without-hostspec was given.
4120 ++# Check whether --with-hostspec was given.
4121 + if test "${with_hostspec+set}" = set; then
4122 +- withval="$with_hostspec"
4123 ++ withval=$with_hostspec;
4124 ++fi
4125 +
4126 +-fi;
4127 +
4128 +-# Check whether --with-version or --without-version was given.
4129 ++# Check whether --with-version was given.
4130 + if test "${with_version+set}" = set; then
4131 +- withval="$with_version"
4132 ++ withval=$with_version;
4133 ++fi
4134 +
4135 +-fi;
4136 +
4137 +-# Check whether --with-build-root-sfx or --without-build-root-sfx was given.
4138 ++# Check whether --with-build-root-sfx was given.
4139 + if test "${with_build_root_sfx+set}" = set; then
4140 +- withval="$with_build_root_sfx"
4141 ++ withval=$with_build_root_sfx;
4142 ++fi
4143 +
4144 +-fi;
4145 +
4146 +-# Check whether --with-execopy or --without-execopy was given.
4147 ++# Check whether --with-execopy was given.
4148 + if test "${with_execopy+set}" = set; then
4149 +- withval="$with_execopy"
4150 ++ withval=$with_execopy;
4151 ++fi
4152 +
4153 +-fi;
4154 +
4155 +-# Check whether --with-bincopy or --without-bincopy was given.
4156 ++# Check whether --with-bincopy was given.
4157 + if test "${with_bincopy+set}" = set; then
4158 +- withval="$with_bincopy"
4159 ++ withval=$with_bincopy;
4160 ++fi
4161 +
4162 +-fi;
4163 +
4164 +-# Check whether --with-lib-rebuilds or --without-lib-rebuilds was given.
4165 ++# Check whether --with-lib-rebuilds was given.
4166 + if test "${with_lib_rebuilds+set}" = set; then
4167 +- withval="$with_lib_rebuilds"
4168 ++ withval=$with_lib_rebuilds;
4169 ++fi
4170 +
4171 +-fi;
4172 +
4173 +-# Check whether --with-lib-rebuilds2 or --without-lib-rebuilds2 was given.
4174 ++# Check whether --with-lib-rebuilds2 was given.
4175 + if test "${with_lib_rebuilds2+set}" = set; then
4176 +- withval="$with_lib_rebuilds2"
4177 ++ withval=$with_lib_rebuilds2;
4178 ++fi
4179 +
4180 +-fi;
4181 +-# Check whether --with-deactivation or --without-deactivation was given.
4182 ++# Check whether --with-deactivation was given.
4183 + if test "${with_deactivation+set}" = set; then
4184 +- withval="$with_deactivation"
4185 ++ withval=$with_deactivation;
4186 ++fi
4187 +
4188 +-fi;
4189 +
4190 +-# Check whether --with-makefile-auto-update or --without-makefile-auto-update was given.
4191 ++# Check whether --with-makefile-auto-update was given.
4192 + if test "${with_makefile_auto_update+set}" = set; then
4193 +- withval="$with_makefile_auto_update"
4194 ++ withval=$with_makefile_auto_update;
4195 ++fi
4196 +
4197 +-fi;
4198 +
4199 +-# Check whether --with-projects or --without-projects was given.
4200 ++# Check whether --with-projects was given.
4201 + if test "${with_projects+set}" = set; then
4202 +- withval="$with_projects"
4203 ++ withval=$with_projects;
4204 ++fi
4205 +
4206 +-fi;
4207 +
4208 +-# Check whether --with-flat-makefile or --without-flat-makefile was given.
4209 ++# Check whether --with-flat-makefile was given.
4210 + if test "${with_flat_makefile+set}" = set; then
4211 +- withval="$with_flat_makefile"
4212 ++ withval=$with_flat_makefile;
4213 ++fi
4214 +
4215 +-fi;
4216 +
4217 +-# Check whether --with-configure-dialog or --without-configure-dialog was given.
4218 ++# Check whether --with-configure-dialog was given.
4219 + if test "${with_configure_dialog+set}" = set; then
4220 +- withval="$with_configure_dialog"
4221 ++ withval=$with_configure_dialog;
4222 ++fi
4223 +
4224 +-fi;
4225 +
4226 +-# Check whether --with-saved-settings or --without-saved-settings was given.
4227 ++# Check whether --with-saved-settings was given.
4228 + if test "${with_saved_settings+set}" = set; then
4229 +- withval="$with_saved_settings"
4230 ++ withval=$with_saved_settings;
4231 ++fi
4232 +
4233 +-fi;
4234 +
4235 +-# Check whether --with-check or --without-check was given.
4236 ++# Check whether --with-check was given.
4237 + if test "${with_check+set}" = set; then
4238 +- withval="$with_check"
4239 ++ withval=$with_check;
4240 ++fi
4241 +
4242 +-fi;
4243 +
4244 +-# Check whether --with-check-tools or --without-check-tools was given.
4245 ++# Check whether --with-check-tools was given.
4246 + if test "${with_check_tools+set}" = set; then
4247 +- withval="$with_check_tools"
4248 ++ withval=$with_check_tools;
4249 ++fi
4250 +
4251 +-fi;
4252 +
4253 +-# Check whether --with-ncbi-public or --without-ncbi-public was given.
4254 ++# Check whether --with-ncbi-public was given.
4255 + if test "${with_ncbi_public+set}" = set; then
4256 +- withval="$with_ncbi_public"
4257 ++ withval=$with_ncbi_public;
4258 ++fi
4259 +
4260 +-fi;
4261 +
4262 +-# Check whether --with-strip or --without-strip was given.
4263 ++# Check whether --with-strip was given.
4264 + if test "${with_strip+set}" = set; then
4265 +- withval="$with_strip"
4266 ++ withval=$with_strip;
4267 ++fi
4268 +
4269 +-fi;
4270 +
4271 +-# Check whether --with-pch or --without-pch was given.
4272 ++# Check whether --with-pch was given.
4273 + if test "${with_pch+set}" = set; then
4274 +- withval="$with_pch"
4275 ++ withval=$with_pch;
4276 ++fi
4277 +
4278 +-fi;
4279 +
4280 +-# Check whether --with-caution or --without-caution was given.
4281 ++# Check whether --with-caution was given.
4282 + if test "${with_caution+set}" = set; then
4283 +- withval="$with_caution"
4284 ++ withval=$with_caution;
4285 ++fi
4286 +
4287 +-fi;
4288 +
4289 +-# Check whether --with-caution2 or --without-caution2 was given.
4290 ++# Check whether --with-caution2 was given.
4291 + if test "${with_caution2+set}" = set; then
4292 +- withval="$with_caution2"
4293 ++ withval=$with_caution2;
4294 ++fi
4295 +
4296 +-fi;
4297 +
4298 +-# Check whether --with-ccache or --without-ccache was given.
4299 ++# Check whether --with-ccache was given.
4300 + if test "${with_ccache+set}" = set; then
4301 +- withval="$with_ccache"
4302 ++ withval=$with_ccache;
4303 ++fi
4304 +
4305 +-fi;
4306 +
4307 +-# Check whether --with-distcc or --without-distcc was given.
4308 ++# Check whether --with-distcc was given.
4309 + if test "${with_distcc+set}" = set; then
4310 +- withval="$with_distcc"
4311 ++ withval=$with_distcc;
4312 ++fi
4313 +
4314 +-fi;
4315 +
4316 + ## NCBI packages
4317 +
4318 +-# Check whether --with-ncbi-c or --without-ncbi-c was given.
4319 ++# Check whether --with-ncbi-c was given.
4320 + if test "${with_ncbi_c+set}" = set; then
4321 +- withval="$with_ncbi_c"
4322 ++ withval=$with_ncbi_c;
4323 ++fi
4324 ++
4325 ++
4326 ++# Check whether --with-ncbi-c2 was given.
4327 ++if test "${with_ncbi_c2+set}" = set; then
4328 ++ withval=$with_ncbi_c2;
4329 ++fi
4330 +
4331 +-fi;
4332 +
4333 +-# Check whether --with-sss or --without-sss was given.
4334 ++# Check whether --with-sss was given.
4335 + if test "${with_sss+set}" = set; then
4336 +- withval="$with_sss"
4337 ++ withval=$with_sss;
4338 ++fi
4339 ++
4340 ++
4341 ++# Check whether --with-sss2 was given.
4342 ++if test "${with_sss2+set}" = set; then
4343 ++ withval=$with_sss2;
4344 ++fi
4345 +
4346 +-fi;
4347 +
4348 +-# Check whether --with-sssutils or --without-sssutils was given.
4349 ++# Check whether --with-sssutils was given.
4350 + if test "${with_sssutils+set}" = set; then
4351 +- withval="$with_sssutils"
4352 ++ withval=$with_sssutils;
4353 ++fi
4354 +
4355 +-fi;
4356 +
4357 +-# Check whether --with-sssdb or --without-sssdb was given.
4358 ++# Check whether --with-sssdb was given.
4359 + if test "${with_sssdb+set}" = set; then
4360 +- withval="$with_sssdb"
4361 ++ withval=$with_sssdb;
4362 ++fi
4363 +
4364 +-fi;
4365 +
4366 +-# Check whether --with-included-sss or --without-included-sss was given.
4367 ++# Check whether --with-included-sss was given.
4368 + if test "${with_included_sss+set}" = set; then
4369 +- withval="$with_included_sss"
4370 ++ withval=$with_included_sss;
4371 ++fi
4372 +
4373 +-fi;
4374 +
4375 + ## Third-party and system packages
4376 +
4377 +-# Check whether --with-z or --without-z was given.
4378 ++# Check whether --with-z was given.
4379 + if test "${with_z+set}" = set; then
4380 +- withval="$with_z"
4381 ++ withval=$with_z;
4382 ++fi
4383 +
4384 +-fi;
4385 +
4386 +-# Check whether --with-z2 or --without-z2 was given.
4387 ++# Check whether --with-z2 was given.
4388 + if test "${with_z2+set}" = set; then
4389 +- withval="$with_z2"
4390 ++ withval=$with_z2;
4391 ++fi
4392 +
4393 +-fi;
4394 +
4395 +-# Check whether --with-bz2 or --without-bz2 was given.
4396 ++# Check whether --with-bz2 was given.
4397 + if test "${with_bz2+set}" = set; then
4398 +- withval="$with_bz2"
4399 ++ withval=$with_bz2;
4400 ++fi
4401 +
4402 +-fi;
4403 +
4404 +-# Check whether --with-bz2b or --without-bz2b was given.
4405 ++# Check whether --with-bz2b was given.
4406 + if test "${with_bz2b+set}" = set; then
4407 +- withval="$with_bz2b"
4408 ++ withval=$with_bz2b;
4409 ++fi
4410 +
4411 +-fi;
4412 +
4413 +-# Check whether --with-lzo or --without-lzo was given.
4414 ++# Check whether --with-lzo was given.
4415 + if test "${with_lzo+set}" = set; then
4416 +- withval="$with_lzo"
4417 ++ withval=$with_lzo;
4418 ++fi
4419 +
4420 +-fi;
4421 +
4422 +-# Check whether --with-lzo_ or --without-lzo_ was given.
4423 ++# Check whether --with-lzo_ was given.
4424 + if test "${with_lzo_+set}" = set; then
4425 +- withval="$with_lzo_"
4426 ++ withval=$with_lzo_;
4427 ++fi
4428 +
4429 +-fi;
4430 +
4431 +-# Check whether --with-pcre or --without-pcre was given.
4432 ++# Check whether --with-pcre was given.
4433 + if test "${with_pcre+set}" = set; then
4434 +- withval="$with_pcre"
4435 ++ withval=$with_pcre;
4436 ++fi
4437 +
4438 +-fi;
4439 +
4440 +-# Check whether --with-pcre2 or --without-pcre2 was given.
4441 ++# Check whether --with-pcre2 was given.
4442 + if test "${with_pcre2+set}" = set; then
4443 +- withval="$with_pcre2"
4444 ++ withval=$with_pcre2;
4445 ++fi
4446 +
4447 +-fi;
4448 +
4449 +-# Check whether --with-gcrypt or --without-gcrypt was given.
4450 ++# Check whether --with-gcrypt was given.
4451 + if test "${with_gcrypt+set}" = set; then
4452 +- withval="$with_gcrypt"
4453 ++ withval=$with_gcrypt;
4454 ++fi
4455 +
4456 +-fi;
4457 +
4458 +-# Check whether --with-gcrypt2 or --without-gcrypt2 was given.
4459 ++# Check whether --with-gcrypt2 was given.
4460 + if test "${with_gcrypt2+set}" = set; then
4461 +- withval="$with_gcrypt2"
4462 ++ withval=$with_gcrypt2;
4463 ++fi
4464 +
4465 +-fi;
4466 +
4467 +-# Check whether --with-gnutls or --without-gnutls was given.
4468 ++# Check whether --with-gnutls was given.
4469 + if test "${with_gnutls+set}" = set; then
4470 +- withval="$with_gnutls"
4471 ++ withval=$with_gnutls;
4472 ++fi
4473 +
4474 +-fi;
4475 +
4476 +-# Check whether --with-gnutls2 or --without-gnutls2 was given.
4477 ++# Check whether --with-gnutls2 was given.
4478 + if test "${with_gnutls2+set}" = set; then
4479 +- withval="$with_gnutls2"
4480 ++ withval=$with_gnutls2;
4481 ++fi
4482 +
4483 +-fi;
4484 +
4485 +-# Check whether --with-openssl or --without-openssl was given.
4486 ++# Check whether --with-openssl was given.
4487 + if test "${with_openssl+set}" = set; then
4488 +- withval="$with_openssl"
4489 ++ withval=$with_openssl;
4490 ++fi
4491 +
4492 +-fi;
4493 +
4494 +-# Check whether --with-openssl2 or --without-openssl2 was given.
4495 ++# Check whether --with-openssl2 was given.
4496 + if test "${with_openssl2+set}" = set; then
4497 +- withval="$with_openssl2"
4498 ++ withval=$with_openssl2;
4499 ++fi
4500 +
4501 +-fi;
4502 +
4503 +-# Check whether --with-krb5 or --without-krb5 was given.
4504 ++# Check whether --with-krb5 was given.
4505 + if test "${with_krb5+set}" = set; then
4506 +- withval="$with_krb5"
4507 ++ withval=$with_krb5;
4508 ++fi
4509 +
4510 +-fi;
4511 +
4512 +-# Check whether --with-krb5b or --without-krb5b was given.
4513 ++# Check whether --with-krb5b was given.
4514 + if test "${with_krb5b+set}" = set; then
4515 +- withval="$with_krb5b"
4516 ++ withval=$with_krb5b;
4517 ++fi
4518 +
4519 +-fi;
4520 +
4521 +-# Check whether --with-sybase or --without-sybase was given.
4522 ++# Check whether --with-sybase was given.
4523 + if test "${with_sybase+set}" = set; then
4524 +- withval="$with_sybase"
4525 ++ withval=$with_sybase;
4526 ++fi
4527 +
4528 +-fi;
4529 +
4530 +-# Check whether --with-sybase-local or --without-sybase-local was given.
4531 ++# Check whether --with-sybase-local was given.
4532 + if test "${with_sybase_local+set}" = set; then
4533 +- withval="$with_sybase_local"
4534 ++ withval=$with_sybase_local;
4535 ++fi
4536 +
4537 +-fi;
4538 +
4539 +-# Check whether --with-sybase-new or --without-sybase-new was given.
4540 ++# Check whether --with-sybase-new was given.
4541 + if test "${with_sybase_new+set}" = set; then
4542 +- withval="$with_sybase_new"
4543 ++ withval=$with_sybase_new;
4544 ++fi
4545 +
4546 +-fi;
4547 +
4548 +-# Check whether --with-ftds or --without-ftds was given.
4549 ++# Check whether --with-ftds was given.
4550 + if test "${with_ftds+set}" = set; then
4551 +- withval="$with_ftds"
4552 ++ withval=$with_ftds;
4553 ++fi
4554 +
4555 +-fi;
4556 +
4557 +-# Check whether --with-ftds2 or --without-ftds2 was given.
4558 ++# Check whether --with-ftds2 was given.
4559 + if test "${with_ftds2+set}" = set; then
4560 +- withval="$with_ftds2"
4561 ++ withval=$with_ftds2;
4562 ++fi
4563 +
4564 +-fi;
4565 +
4566 +-# Check whether --with-ftds-renamed or --without-ftds-renamed was given.
4567 ++# Check whether --with-ftds-renamed was given.
4568 + if test "${with_ftds_renamed+set}" = set; then
4569 +- withval="$with_ftds_renamed"
4570 ++ withval=$with_ftds_renamed;
4571 ++fi
4572 +
4573 +-fi;
4574 +
4575 +-# Check whether --with-mysql or --without-mysql was given.
4576 ++# Check whether --with-mysql was given.
4577 + if test "${with_mysql+set}" = set; then
4578 +- withval="$with_mysql"
4579 ++ withval=$with_mysql;
4580 ++fi
4581 +
4582 +-fi;
4583 +
4584 +-# Check whether --with-mysql2 or --without-mysql2 was given.
4585 ++# Check whether --with-mysql2 was given.
4586 + if test "${with_mysql2+set}" = set; then
4587 +- withval="$with_mysql2"
4588 ++ withval=$with_mysql2;
4589 ++fi
4590 +
4591 +-fi;
4592 +
4593 +-# Check whether --with-opengl or --without-opengl was given.
4594 ++# Check whether --with-opengl was given.
4595 + if test "${with_opengl+set}" = set; then
4596 +- withval="$with_opengl"
4597 ++ withval=$with_opengl;
4598 ++fi
4599 +
4600 +-fi;
4601 +
4602 +-# Check whether --with-opengl2 or --without-opengl2 was given.
4603 ++# Check whether --with-opengl2 was given.
4604 + if test "${with_opengl2+set}" = set; then
4605 +- withval="$with_opengl2"
4606 ++ withval=$with_opengl2;
4607 ++fi
4608 +
4609 +-fi;
4610 +
4611 +-# Check whether --with-mesa or --without-mesa was given.
4612 ++# Check whether --with-mesa was given.
4613 + if test "${with_mesa+set}" = set; then
4614 +- withval="$with_mesa"
4615 ++ withval=$with_mesa;
4616 ++fi
4617 +
4618 +-fi;
4619 +
4620 +-# Check whether --with-mesa2 or --without-mesa2 was given.
4621 ++# Check whether --with-mesa2 was given.
4622 + if test "${with_mesa2+set}" = set; then
4623 +- withval="$with_mesa2"
4624 ++ withval=$with_mesa2;
4625 ++fi
4626 +
4627 +-fi;
4628 +
4629 +-# Check whether --with-glut or --without-glut was given.
4630 ++# Check whether --with-glut was given.
4631 + if test "${with_glut+set}" = set; then
4632 +- withval="$with_glut"
4633 ++ withval=$with_glut;
4634 ++fi
4635 +
4636 +-fi;
4637 +
4638 +-# Check whether --with-glut2 or --without-glut2 was given.
4639 ++# Check whether --with-glut2 was given.
4640 + if test "${with_glut2+set}" = set; then
4641 +- withval="$with_glut2"
4642 ++ withval=$with_glut2;
4643 ++fi
4644 +
4645 +-fi;
4646 +
4647 +-# Check whether --with-glew or --without-glew was given.
4648 ++# Check whether --with-glew was given.
4649 + if test "${with_glew+set}" = set; then
4650 +- withval="$with_glew"
4651 ++ withval=$with_glew;
4652 ++fi
4653 +
4654 +-fi;
4655 +
4656 +-# Check whether --with-glew2 or --without-glew2 was given.
4657 ++# Check whether --with-glew2 was given.
4658 + if test "${with_glew2+set}" = set; then
4659 +- withval="$with_glew2"
4660 ++ withval=$with_glew2;
4661 ++fi
4662 +
4663 +-fi;
4664 +
4665 +-# Check whether --with-glew-mx or --without-glew-mx was given.
4666 ++# Check whether --with-glew-mx was given.
4667 + if test "${with_glew_mx+set}" = set; then
4668 +- withval="$with_glew_mx"
4669 ++ withval=$with_glew_mx;
4670 ++fi
4671 +
4672 +-fi;
4673 +
4674 +-# Check whether --with-wxwidgets or --without-wxwidgets was given.
4675 ++# Check whether --with-wxwidgets was given.
4676 + if test "${with_wxwidgets+set}" = set; then
4677 +- withval="$with_wxwidgets"
4678 ++ withval=$with_wxwidgets;
4679 ++fi
4680 +
4681 +-fi;
4682 +
4683 +-# Check whether --with-wxwidgets2 or --without-wxwidgets2 was given.
4684 ++# Check whether --with-wxwidgets2 was given.
4685 + if test "${with_wxwidgets2+set}" = set; then
4686 +- withval="$with_wxwidgets2"
4687 ++ withval=$with_wxwidgets2;
4688 ++fi
4689 +
4690 +-fi;
4691 +
4692 +-# Check whether --with-wxwidgets-ucs or --without-wxwidgets-ucs was given.
4693 ++# Check whether --with-wxwidgets-ucs was given.
4694 + if test "${with_wxwidgets_ucs+set}" = set; then
4695 +- withval="$with_wxwidgets_ucs"
4696 ++ withval=$with_wxwidgets_ucs;
4697 ++fi
4698 +
4699 +-fi;
4700 +
4701 +-# Check whether --with-wxwidgets-ucs2 or --without-wxwidgets-ucs2 was given.
4702 ++# Check whether --with-wxwidgets-ucs2 was given.
4703 + if test "${with_wxwidgets_ucs2+set}" = set; then
4704 +- withval="$with_wxwidgets_ucs2"
4705 ++ withval=$with_wxwidgets_ucs2;
4706 ++fi
4707 +
4708 +-fi;
4709 +
4710 +-# Check whether --with-freetype or --without-freetype was given.
4711 ++# Check whether --with-freetype was given.
4712 + if test "${with_freetype+set}" = set; then
4713 +- withval="$with_freetype"
4714 ++ withval=$with_freetype;
4715 ++fi
4716 +
4717 +-fi;
4718 +
4719 +-# Check whether --with-freetype_ or --without-freetype_ was given.
4720 ++# Check whether --with-freetype_ was given.
4721 + if test "${with_freetype_+set}" = set; then
4722 +- withval="$with_freetype_"
4723 ++ withval=$with_freetype_;
4724 ++fi
4725 +
4726 +-fi;
4727 +
4728 +-# Check whether --with-ftgl or --without-ftgl was given.
4729 ++# Check whether --with-ftgl was given.
4730 + if test "${with_ftgl+set}" = set; then
4731 +- withval="$with_ftgl"
4732 ++ withval=$with_ftgl;
4733 ++fi
4734 +
4735 +-fi;
4736 +
4737 +-# Check whether --with-ftgl2 or --without-ftgl2 was given.
4738 ++# Check whether --with-ftgl2 was given.
4739 + if test "${with_ftgl2+set}" = set; then
4740 +- withval="$with_ftgl2"
4741 ++ withval=$with_ftgl2;
4742 ++fi
4743 +
4744 +-fi;
4745 +
4746 +-# Check whether --with-fastcgi or --without-fastcgi was given.
4747 ++# Check whether --with-fastcgi was given.
4748 + if test "${with_fastcgi+set}" = set; then
4749 +- withval="$with_fastcgi"
4750 ++ withval=$with_fastcgi;
4751 ++fi
4752 +
4753 +-fi;
4754 +
4755 +-# Check whether --with-fastcgi2 or --without-fastcgi2 was given.
4756 ++# Check whether --with-fastcgi2 was given.
4757 + if test "${with_fastcgi2+set}" = set; then
4758 +- withval="$with_fastcgi2"
4759 ++ withval=$with_fastcgi2;
4760 ++fi
4761 +
4762 +-fi;
4763 +
4764 +-# Check whether --with-fastcgi3 or --without-fastcgi3 was given.
4765 ++# Check whether --with-fastcgi3 was given.
4766 + if test "${with_fastcgi3+set}" = set; then
4767 +- withval="$with_fastcgi3"
4768 ++ withval=$with_fastcgi3;
4769 ++fi
4770 +
4771 +-fi;
4772 +
4773 +-# Check whether --with-bdb or --without-bdb was given.
4774 ++# Check whether --with-bdb was given.
4775 + if test "${with_bdb+set}" = set; then
4776 +- withval="$with_bdb"
4777 ++ withval=$with_bdb;
4778 ++fi
4779 +
4780 +-fi;
4781 +
4782 +-# Check whether --with-bdb or --without-bdb was given.
4783 ++# Check whether --with-bdb was given.
4784 + if test "${with_bdb+set}" = set; then
4785 +- withval="$with_bdb"
4786 ++ withval=$with_bdb;
4787 ++fi
4788 +
4789 +-fi;
4790 +
4791 +-# Check whether --with-bdb or --without-bdb was given.
4792 ++# Check whether --with-bdb was given.
4793 + if test "${with_bdb+set}" = set; then
4794 +- withval="$with_bdb"
4795 ++ withval=$with_bdb;
4796 ++fi
4797 +
4798 +-fi;
4799 +
4800 +-# Check whether --with-sp or --without-sp was given.
4801 ++# Check whether --with-sp was given.
4802 + if test "${with_sp+set}" = set; then
4803 +- withval="$with_sp"
4804 ++ withval=$with_sp;
4805 ++fi
4806 +
4807 +-fi;
4808 +
4809 +-# Check whether --with-orbacus or --without-orbacus was given.
4810 ++# Check whether --with-orbacus was given.
4811 + if test "${with_orbacus+set}" = set; then
4812 +- withval="$with_orbacus"
4813 ++ withval=$with_orbacus;
4814 ++fi
4815 +
4816 +-fi;
4817 +
4818 +-# Check whether --with-orbacus2 or --without-orbacus2 was given.
4819 ++# Check whether --with-orbacus2 was given.
4820 + if test "${with_orbacus2+set}" = set; then
4821 +- withval="$with_orbacus2"
4822 ++ withval=$with_orbacus2;
4823 ++fi
4824 +
4825 +-fi;
4826 +
4827 +-# Check whether --with-odbc or --without-odbc was given.
4828 ++# Check whether --with-odbc was given.
4829 + if test "${with_odbc+set}" = set; then
4830 +- withval="$with_odbc"
4831 ++ withval=$with_odbc;
4832 ++fi
4833 +
4834 +-fi;
4835 +
4836 +-# Check whether --with-python or --without-python was given.
4837 ++# Check whether --with-python was given.
4838 + if test "${with_python+set}" = set; then
4839 +- withval="$with_python"
4840 ++ withval=$with_python;
4841 ++fi
4842 +
4843 +-fi;
4844 +
4845 +-# Check whether --with-python2 or --without-python2 was given.
4846 ++# Check whether --with-python2 was given.
4847 + if test "${with_python2+set}" = set; then
4848 +- withval="$with_python2"
4849 ++ withval=$with_python2;
4850 ++fi
4851 +
4852 +-fi;
4853 +
4854 +-# Check whether --with-perl or --without-perl was given.
4855 ++# Check whether --with-perl was given.
4856 + if test "${with_perl+set}" = set; then
4857 +- withval="$with_perl"
4858 ++ withval=$with_perl;
4859 ++fi
4860 +
4861 +-fi;
4862 +
4863 +-# Check whether --with-perl2 or --without-perl2 was given.
4864 ++# Check whether --with-perl2 was given.
4865 + if test "${with_perl2+set}" = set; then
4866 +- withval="$with_perl2"
4867 ++ withval=$with_perl2;
4868 ++fi
4869 +
4870 +-fi;
4871 +
4872 +-# Check whether --with-jni or --without-jni was given.
4873 ++# Check whether --with-jni was given.
4874 + if test "${with_jni+set}" = set; then
4875 +- withval="$with_jni"
4876 ++ withval=$with_jni;
4877 ++fi
4878 +
4879 +-fi;
4880 +
4881 +-# Check whether --with-boost or --without-boost was given.
4882 ++# Check whether --with-boost was given.
4883 + if test "${with_boost+set}" = set; then
4884 +- withval="$with_boost"
4885 ++ withval=$with_boost;
4886 ++fi
4887 +
4888 +-fi;
4889 +
4890 +-# Check whether --with-boost2 or --without-boost2 was given.
4891 ++# Check whether --with-boost2 was given.
4892 + if test "${with_boost2+set}" = set; then
4893 +- withval="$with_boost2"
4894 ++ withval=$with_boost2;
4895 ++fi
4896 +
4897 +-fi;
4898 +
4899 +-# Check whether --with-boost-tag or --without-boost-tag was given.
4900 ++# Check whether --with-boost-tag was given.
4901 + if test "${with_boost_tag+set}" = set; then
4902 +- withval="$with_boost_tag"
4903 ++ withval=$with_boost_tag;
4904 ++fi
4905 +
4906 +-fi;
4907 +
4908 +-# Check whether --with-boost-tag2 or --without-boost-tag2 was given.
4909 ++# Check whether --with-boost-tag2 was given.
4910 + if test "${with_boost_tag2+set}" = set; then
4911 +- withval="$with_boost_tag2"
4912 ++ withval=$with_boost_tag2;
4913 ++fi
4914 +
4915 +-fi;
4916 +
4917 +-# Check whether --with-sqlite3 or --without-sqlite3 was given.
4918 ++# Check whether --with-sqlite3 was given.
4919 + if test "${with_sqlite3+set}" = set; then
4920 +- withval="$with_sqlite3"
4921 ++ withval=$with_sqlite3;
4922 ++fi
4923 +
4924 +-fi;
4925 +
4926 +-# Check whether --with-sqlite3b or --without-sqlite3b was given.
4927 ++# Check whether --with-sqlite3b was given.
4928 + if test "${with_sqlite3b+set}" = set; then
4929 +- withval="$with_sqlite3b"
4930 ++ withval=$with_sqlite3b;
4931 ++fi
4932 +
4933 +-fi;
4934 +
4935 +-# Check whether --with-icu or --without-icu was given.
4936 ++# Check whether --with-icu was given.
4937 + if test "${with_icu+set}" = set; then
4938 +- withval="$with_icu"
4939 ++ withval=$with_icu;
4940 ++fi
4941 +
4942 +-fi;
4943 +
4944 +-# Check whether --with-icu2 or --without-icu2 was given.
4945 ++# Check whether --with-icu2 was given.
4946 + if test "${with_icu2+set}" = set; then
4947 +- withval="$with_icu2"
4948 ++ withval=$with_icu2;
4949 ++fi
4950 +
4951 +-fi;
4952 +
4953 +-# Check whether --with-expat or --without-expat was given.
4954 ++# Check whether --with-expat was given.
4955 + if test "${with_expat+set}" = set; then
4956 +- withval="$with_expat"
4957 ++ withval=$with_expat;
4958 ++fi
4959 +
4960 +-fi;
4961 +
4962 +-# Check whether --with-expat2 or --without-expat2 was given.
4963 ++# Check whether --with-expat2 was given.
4964 + if test "${with_expat2+set}" = set; then
4965 +- withval="$with_expat2"
4966 ++ withval=$with_expat2;
4967 ++fi
4968 +
4969 +-fi;
4970 +
4971 +-# Check whether --with-sablot or --without-sablot was given.
4972 ++# Check whether --with-sablot was given.
4973 + if test "${with_sablot+set}" = set; then
4974 +- withval="$with_sablot"
4975 ++ withval=$with_sablot;
4976 ++fi
4977 +
4978 +-fi;
4979 +
4980 +-# Check whether --with-sablot2 or --without-sablot2 was given.
4981 ++# Check whether --with-sablot2 was given.
4982 + if test "${with_sablot2+set}" = set; then
4983 +- withval="$with_sablot2"
4984 ++ withval=$with_sablot2;
4985 ++fi
4986 +
4987 +-fi;
4988 +
4989 +-# Check whether --with-libxml or --without-libxml was given.
4990 ++# Check whether --with-libxml was given.
4991 + if test "${with_libxml+set}" = set; then
4992 +- withval="$with_libxml"
4993 ++ withval=$with_libxml;
4994 ++fi
4995 +
4996 +-fi;
4997 +
4998 +-# Check whether --with-libxml_ or --without-libxml_ was given.
4999 ++# Check whether --with-libxml_ was given.
5000 + if test "${with_libxml_+set}" = set; then
5001 +- withval="$with_libxml_"
5002 ++ withval=$with_libxml_;
5003 ++fi
5004 +
5005 +-fi;
5006 +
5007 +-# Check whether --with-libxslt or --without-libxslt was given.
5008 ++# Check whether --with-libxslt was given.
5009 + if test "${with_libxslt+set}" = set; then
5010 +- withval="$with_libxslt"
5011 ++ withval=$with_libxslt;
5012 ++fi
5013 +
5014 +-fi;
5015 +
5016 +-# Check whether --with-libxslt2 or --without-libxslt2 was given.
5017 ++# Check whether --with-libxslt2 was given.
5018 + if test "${with_libxslt2+set}" = set; then
5019 +- withval="$with_libxslt2"
5020 ++ withval=$with_libxslt2;
5021 ++fi
5022 +
5023 +-fi;
5024 +
5025 +-# Check whether --with-libexslt or --without-libexslt was given.
5026 ++# Check whether --with-libexslt was given.
5027 + if test "${with_libexslt+set}" = set; then
5028 +- withval="$with_libexslt"
5029 ++ withval=$with_libexslt;
5030 ++fi
5031 +
5032 +-fi;
5033 +
5034 +-# Check whether --with-libexslt2 or --without-libexslt2 was given.
5035 ++# Check whether --with-libexslt2 was given.
5036 + if test "${with_libexslt2+set}" = set; then
5037 +- withval="$with_libexslt2"
5038 ++ withval=$with_libexslt2;
5039 ++fi
5040 +
5041 +-fi;
5042 +
5043 +-# Check whether --with-xerces or --without-xerces was given.
5044 ++# Check whether --with-xerces was given.
5045 + if test "${with_xerces+set}" = set; then
5046 +- withval="$with_xerces"
5047 ++ withval=$with_xerces;
5048 ++fi
5049 +
5050 +-fi;
5051 +
5052 +-# Check whether --with-xerces2 or --without-xerces2 was given.
5053 ++# Check whether --with-xerces2 was given.
5054 + if test "${with_xerces2+set}" = set; then
5055 +- withval="$with_xerces2"
5056 ++ withval=$with_xerces2;
5057 ++fi
5058 +
5059 +-fi;
5060 +
5061 +-# Check whether --with-xalan or --without-xalan was given.
5062 ++# Check whether --with-xalan was given.
5063 + if test "${with_xalan+set}" = set; then
5064 +- withval="$with_xalan"
5065 ++ withval=$with_xalan;
5066 ++fi
5067 +
5068 +-fi;
5069 +
5070 +-# Check whether --with-xalan2 or --without-xalan2 was given.
5071 ++# Check whether --with-xalan2 was given.
5072 + if test "${with_xalan2+set}" = set; then
5073 +- withval="$with_xalan2"
5074 ++ withval=$with_xalan2;
5075 ++fi
5076 +
5077 +-fi;
5078 +
5079 +-# Check whether --with-zorba or --without-zorba was given.
5080 ++# Check whether --with-zorba was given.
5081 + if test "${with_zorba+set}" = set; then
5082 +- withval="$with_zorba"
5083 ++ withval=$with_zorba;
5084 ++fi
5085 +
5086 +-fi;
5087 +
5088 +-# Check whether --with-zorba2 or --without-zorba2 was given.
5089 ++# Check whether --with-zorba2 was given.
5090 + if test "${with_zorba2+set}" = set; then
5091 +- withval="$with_zorba2"
5092 ++ withval=$with_zorba2;
5093 ++fi
5094 +
5095 +-fi;
5096 +
5097 +-# Check whether --with-oechem or --without-oechem was given.
5098 ++# Check whether --with-oechem was given.
5099 + if test "${with_oechem+set}" = set; then
5100 +- withval="$with_oechem"
5101 ++ withval=$with_oechem;
5102 ++fi
5103 +
5104 +-fi;
5105 +
5106 +-# Check whether --with-oechem2 or --without-oechem2 was given.
5107 ++# Check whether --with-oechem2 was given.
5108 + if test "${with_oechem2+set}" = set; then
5109 +- withval="$with_oechem2"
5110 ++ withval=$with_oechem2;
5111 ++fi
5112 +
5113 +-fi;
5114 +
5115 +-# Check whether --with-sge or --without-sge was given.
5116 ++# Check whether --with-sge was given.
5117 + if test "${with_sge+set}" = set; then
5118 +- withval="$with_sge"
5119 ++ withval=$with_sge;
5120 ++fi
5121 +
5122 +-fi;
5123 +
5124 +-# Check whether --with-sge2 or --without-sge2 was given.
5125 ++# Check whether --with-sge2 was given.
5126 + if test "${with_sge2+set}" = set; then
5127 +- withval="$with_sge2"
5128 ++ withval=$with_sge2;
5129 ++fi
5130 +
5131 +-fi;
5132 +
5133 +-# Check whether --with-muparser or --without-muparser was given.
5134 ++# Check whether --with-muparser was given.
5135 + if test "${with_muparser+set}" = set; then
5136 +- withval="$with_muparser"
5137 ++ withval=$with_muparser;
5138 ++fi
5139 +
5140 +-fi;
5141 +
5142 +-# Check whether --with-muparser2 or --without-muparser2 was given.
5143 ++# Check whether --with-muparser2 was given.
5144 + if test "${with_muparser2+set}" = set; then
5145 +- withval="$with_muparser2"
5146 ++ withval=$with_muparser2;
5147 ++fi
5148 +
5149 +-fi;
5150 +
5151 +-# Check whether --with-hdf5 or --without-hdf5 was given.
5152 ++# Check whether --with-hdf5 was given.
5153 + if test "${with_hdf5+set}" = set; then
5154 +- withval="$with_hdf5"
5155 ++ withval=$with_hdf5;
5156 ++fi
5157 +
5158 +-fi;
5159 +
5160 +-# Check whether --with-hdf5b or --without-hdf5b was given.
5161 ++# Check whether --with-hdf5b was given.
5162 + if test "${with_hdf5b+set}" = set; then
5163 +- withval="$with_hdf5b"
5164 ++ withval=$with_hdf5b;
5165 ++fi
5166 +
5167 +-fi;
5168 +
5169 +-# Check whether --with-gif or --without-gif was given.
5170 ++# Check whether --with-gif was given.
5171 + if test "${with_gif+set}" = set; then
5172 +- withval="$with_gif"
5173 ++ withval=$with_gif;
5174 ++fi
5175 +
5176 +-fi;
5177 +
5178 +-# Check whether --with-gif2 or --without-gif2 was given.
5179 ++# Check whether --with-gif2 was given.
5180 + if test "${with_gif2+set}" = set; then
5181 +- withval="$with_gif2"
5182 ++ withval=$with_gif2;
5183 ++fi
5184 +
5185 +-fi;
5186 +
5187 +-# Check whether --with-jpeg or --without-jpeg was given.
5188 ++# Check whether --with-jpeg was given.
5189 + if test "${with_jpeg+set}" = set; then
5190 +- withval="$with_jpeg"
5191 ++ withval=$with_jpeg;
5192 ++fi
5193 +
5194 +-fi;
5195 +
5196 +-# Check whether --with-jpeg2 or --without-jpeg2 was given.
5197 ++# Check whether --with-jpeg2 was given.
5198 + if test "${with_jpeg2+set}" = set; then
5199 +- withval="$with_jpeg2"
5200 ++ withval=$with_jpeg2;
5201 ++fi
5202 +
5203 +-fi;
5204 +
5205 +-# Check whether --with-png or --without-png was given.
5206 ++# Check whether --with-png was given.
5207 + if test "${with_png+set}" = set; then
5208 +- withval="$with_png"
5209 ++ withval=$with_png;
5210 ++fi
5211 +
5212 +-fi;
5213 +
5214 +-# Check whether --with-png2 or --without-png2 was given.
5215 ++# Check whether --with-png2 was given.
5216 + if test "${with_png2+set}" = set; then
5217 +- withval="$with_png2"
5218 ++ withval=$with_png2;
5219 ++fi
5220 +
5221 +-fi;
5222 +
5223 +-# Check whether --with-tiff or --without-tiff was given.
5224 ++# Check whether --with-tiff was given.
5225 + if test "${with_tiff+set}" = set; then
5226 +- withval="$with_tiff"
5227 ++ withval=$with_tiff;
5228 ++fi
5229 +
5230 +-fi;
5231 +
5232 +-# Check whether --with-tiff2 or --without-tiff2 was given.
5233 ++# Check whether --with-tiff2 was given.
5234 + if test "${with_tiff2+set}" = set; then
5235 +- withval="$with_tiff2"
5236 ++ withval=$with_tiff2;
5237 ++fi
5238 +
5239 +-fi;
5240 +
5241 +-# Check whether --with-xpm or --without-xpm was given.
5242 ++# Check whether --with-xpm was given.
5243 + if test "${with_xpm+set}" = set; then
5244 +- withval="$with_xpm"
5245 ++ withval=$with_xpm;
5246 ++fi
5247 +
5248 +-fi;
5249 +
5250 +-# Check whether --with-xpm2 or --without-xpm2 was given.
5251 ++# Check whether --with-xpm2 was given.
5252 + if test "${with_xpm2+set}" = set; then
5253 +- withval="$with_xpm2"
5254 ++ withval=$with_xpm2;
5255 ++fi
5256 +
5257 +-fi;
5258 +
5259 +-# Check whether --with-magic or --without-magic was given.
5260 ++# Check whether --with-magic was given.
5261 + if test "${with_magic+set}" = set; then
5262 +- withval="$with_magic"
5263 ++ withval=$with_magic;
5264 ++fi
5265 +
5266 +-fi;
5267 +
5268 +-# Check whether --with-magic2 or --without-magic2 was given.
5269 ++# Check whether --with-magic2 was given.
5270 + if test "${with_magic2+set}" = set; then
5271 +- withval="$with_magic2"
5272 ++ withval=$with_magic2;
5273 ++fi
5274 +
5275 +-fi;
5276 +
5277 +-# Check whether --with-curl or --without-curl was given.
5278 ++# Check whether --with-curl was given.
5279 + if test "${with_curl+set}" = set; then
5280 +- withval="$with_curl"
5281 ++ withval=$with_curl;
5282 ++fi
5283 +
5284 +-fi;
5285 +
5286 +-# Check whether --with-curl2 or --without-curl2 was given.
5287 ++# Check whether --with-curl2 was given.
5288 + if test "${with_curl2+set}" = set; then
5289 +- withval="$with_curl2"
5290 ++ withval=$with_curl2;
5291 ++fi
5292 +
5293 +-fi;
5294 +
5295 +-# Check whether --with-mimetic or --without-mimetic was given.
5296 ++# Check whether --with-mimetic was given.
5297 + if test "${with_mimetic+set}" = set; then
5298 +- withval="$with_mimetic"
5299 ++ withval=$with_mimetic;
5300 ++fi
5301 +
5302 +-fi;
5303 +
5304 +-# Check whether --with-mimetic2 or --without-mimetic2 was given.
5305 ++# Check whether --with-mimetic2 was given.
5306 + if test "${with_mimetic2+set}" = set; then
5307 +- withval="$with_mimetic2"
5308 ++ withval=$with_mimetic2;
5309 ++fi
5310 ++
5311 ++
5312 ++# Check whether --with-gsoap was given.
5313 ++if test "${with_gsoap+set}" = set; then
5314 ++ withval=$with_gsoap;
5315 ++fi
5316 ++
5317 ++
5318 ++# Check whether --with-gsoap2 was given.
5319 ++if test "${with_gsoap2+set}" = set; then
5320 ++ withval=$with_gsoap2;
5321 ++fi
5322 ++
5323 ++
5324 ++# Check whether --with-mongodb was given.
5325 ++if test "${with_mongodb+set}" = set; then
5326 ++ withval=$with_mongodb;
5327 ++fi
5328 +
5329 +-fi;
5330 +
5331 +-# Check whether --with-3psw or --without-3psw was given.
5332 ++# Check whether --with-mongodb2 was given.
5333 ++if test "${with_mongodb2+set}" = set; then
5334 ++ withval=$with_mongodb2;
5335 ++fi
5336 ++
5337 ++
5338 ++# Check whether --with-3psw was given.
5339 + if test "${with_3psw+set}" = set; then
5340 +- withval="$with_3psw"
5341 ++ withval=$with_3psw;
5342 ++fi
5343 +
5344 +-fi;
5345 +
5346 +-# Check whether --with-3psw2 or --without-3psw2 was given.
5347 ++# Check whether --with-3psw2 was given.
5348 + if test "${with_3psw2+set}" = set; then
5349 +- withval="$with_3psw2"
5350 ++ withval=$with_3psw2;
5351 ++fi
5352 +
5353 +-fi;
5354 +
5355 + ## Optional projects
5356 +
5357 +-# Check whether --with-local-lbsm or --without-local-lbsm was given.
5358 ++# Check whether --with-local-lbsm was given.
5359 + if test "${with_local_lbsm+set}" = set; then
5360 +- withval="$with_local_lbsm"
5361 ++ withval=$with_local_lbsm;
5362 ++fi
5363 +
5364 +-fi;
5365 +
5366 +-# Check whether --with-ncbi-crypt or --without-ncbi-crypt was given.
5367 ++# Check whether --with-ncbi-crypt was given.
5368 + if test "${with_ncbi_crypt+set}" = set; then
5369 +- withval="$with_ncbi_crypt"
5370 ++ withval=$with_ncbi_crypt;
5371 ++fi
5372 +
5373 +-fi;
5374 +
5375 +-# Check whether --with-connext or --without-connext was given.
5376 ++# Check whether --with-connext was given.
5377 + if test "${with_connext+set}" = set; then
5378 +- withval="$with_connext"
5379 ++ withval=$with_connext;
5380 ++fi
5381 +
5382 +-fi;
5383 +
5384 +-# Check whether --with-serial or --without-serial was given.
5385 ++# Check whether --with-serial was given.
5386 + if test "${with_serial+set}" = set; then
5387 +- withval="$with_serial"
5388 ++ withval=$with_serial;
5389 ++fi
5390 +
5391 +-fi;
5392 +
5393 +-# Check whether --with-objects or --without-objects was given.
5394 ++# Check whether --with-objects was given.
5395 + if test "${with_objects+set}" = set; then
5396 +- withval="$with_objects"
5397 ++ withval=$with_objects;
5398 ++fi
5399 +
5400 +-fi;
5401 +
5402 +-# Check whether --with-dbapi or --without-dbapi was given.
5403 ++# Check whether --with-dbapi was given.
5404 + if test "${with_dbapi+set}" = set; then
5405 +- withval="$with_dbapi"
5406 ++ withval=$with_dbapi;
5407 ++fi
5408 +
5409 +-fi;
5410 +
5411 +-# Check whether --with-app or --without-app was given.
5412 ++# Check whether --with-app was given.
5413 + if test "${with_app+set}" = set; then
5414 +- withval="$with_app"
5415 ++ withval=$with_app;
5416 ++fi
5417 +
5418 +-fi;
5419 +
5420 +-# Check whether --with-ctools or --without-ctools was given.
5421 ++# Check whether --with-ctools was given.
5422 + if test "${with_ctools+set}" = set; then
5423 +- withval="$with_ctools"
5424 ++ withval=$with_ctools;
5425 ++fi
5426 +
5427 +-fi;
5428 +
5429 +-# Check whether --with-gui or --without-gui was given.
5430 ++# Check whether --with-gui was given.
5431 + if test "${with_gui+set}" = set; then
5432 +- withval="$with_gui"
5433 ++ withval=$with_gui;
5434 ++fi
5435 +
5436 +-fi;
5437 +
5438 +-# Check whether --with-algo or --without-algo was given.
5439 ++# Check whether --with-algo was given.
5440 + if test "${with_algo+set}" = set; then
5441 +- withval="$with_algo"
5442 ++ withval=$with_algo;
5443 ++fi
5444 +
5445 +-fi;
5446 +
5447 +-# Check whether --with-internal or --without-internal was given.
5448 ++# Check whether --with-internal was given.
5449 + if test "${with_internal+set}" = set; then
5450 +- withval="$with_internal"
5451 ++ withval=$with_internal;
5452 ++fi
5453 +
5454 +-fi;
5455 +
5456 +-# Check whether --with-internal2 or --without-internal2 was given.
5457 ++# Check whether --with-internal2 was given.
5458 + if test "${with_internal2+set}" = set; then
5459 +- withval="$with_internal2"
5460 ++ withval=$with_internal2;
5461 ++fi
5462 +
5463 +-fi;
5464 +
5465 +-# Check whether --with-gbench or --without-gbench was given.
5466 ++# Check whether --with-gbench was given.
5467 + if test "${with_gbench+set}" = set; then
5468 +- withval="$with_gbench"
5469 ++ withval=$with_gbench;
5470 ++fi
5471 +
5472 +-fi;
5473 +
5474 +-# Check whether --with-gbench2 or --without-gbench2 was given.
5475 ++# Check whether --with-gbench2 was given.
5476 + if test "${with_gbench2+set}" = set; then
5477 +- withval="$with_gbench2"
5478 ++ withval=$with_gbench2;
5479 ++fi
5480 +
5481 +-fi;
5482 +
5483 + ## Manuals
5484 +
5485 +-# Check whether --with-manuals or --without-manuals was given.
5486 ++# Check whether --with-manuals was given.
5487 + if test "${with_manuals+set}" = set; then
5488 +- withval="$with_manuals"
5489 +-
5490 +-fi;
5491 +-
5492 +-
5493 +-#### Check the passed arguments against the list of available ones
5494 +-x_with_list="\
5495 +-debug max-debug symbols optimization profiling tcheck dll static static-exe \
5496 +-plugin-auto-load bundles bin-release mt 64 universal exe runpath hard-runpath \
5497 +-lfs limited-linker \
5498 +-autodep suffix hostspec version execopy bincopy lib-rebuilds lib-rebuilds=ask \
5499 +-deactivation makefile-auto-update projects flat-makefile configure-dialog \
5500 +-check ncbi-public strip pch caution ccache distcc \
5501 +-ncbi-c wxwidgets wxwidgets-ucs fastcgi sss sssdb sssutils included-sss \
5502 +-geo included-geo \
5503 +-z bz2 lzo pcre gcrypt gnutls openssl krb5 sybase sybase-local sybase-new \
5504 +-ftds mysql orbacus freetype ftgl opengl mesa glut glew glew-mx \
5505 +-bdb python perl jni sqlite3 icu boost boost-tag \
5506 +-sp expat sablot libxml libxslt libexslt xerces xalan zorba \
5507 +-oechem sge muparser hdf5 \
5508 +-gif jpeg tiff png xpm magic curl mimetic 3psw \
5509 +-local-lbsm ncbi-crypt connext \
5510 +-serial objects dbapi app ctools gui algo internal gbench"
5511 +-
5512 +-x_with_list=`echo "$x_with_list" | sed 's/\([^ ][^ ]*\)/--with-\1 --without-\1/g'`
5513 +-
5514 +-
5515 +-for x_arg in "$@" ; do
5516 +- if test -z "$x_arg" ; then
5517 +- continue
5518 ++ withval=$with_manuals;
5519 + fi
5520 +
5521 +- x_okay=
5522 +- for x_desc in $x_with_list ; do
5523 +- if test "$x_arg" = "$x_desc" ; then
5524 +- x_okay="okay"
5525 +- break
5526 +- fi
5527 +- done
5528 +- if test "$x_okay" = "okay" ; then
5529 +- continue
5530 +- fi
5531 +
5532 +- case "$x_arg" in
5533 +- --with-extra-action= | --exec-prefix= | --with-projects= | --srcdir= \
5534 +- | --cache-file= | --build= | --host= | --target= | --with-runpath= \
5535 +- | --with-relative-runpath= | --x-includes= | --x-libraries= )
5536 +- { { echo "$as_me:$LINENO: error: $x_arg: requires value; use --help to show usage" >&5
5537 +-echo "$as_me: error: $x_arg: requires value; use --help to show usage" >&2;}
5538 +- { (exit 1); exit 1; }; }
5539 +- ;;
5540 +
5541 +- --with-extra-action=* | --with-build-root=* | --with-build-root-sfx=* \
5542 +- | --with-fake-root=* | --with-saved-settings=* \
5543 +- | --with-projects=* | --with-check=* | --with-check-tools=* \
5544 +- | --with-universal=* | --with-tcheck=* \
5545 +- | --cache-file=* | --build=* | --host=* | --prefix=* | --exec-prefix=* \
5546 +- | --libdir=* | --bindir=* | --includedir=* | --srcdir=* \
5547 +- | [A-Z]*=* \
5548 +- | --with-z=* | --with-bz2=* | --with-lzo=* \
5549 +- | --with-pcre=* \
5550 +- | --with-gcrypt=* | --with-gnutls=* | --with-openssl=* \
5551 +- | --with-krb5=* | --with-curl=* \
5552 +- | --with-sybase-local=* | --with-wxwidgets=* | --with-mimetic=* \
5553 +- | --with-ftds=* | --with-mysql=* | --with-fastcgi=* \
5554 +- | --with-sqlite3=* | --with-expat=* | --with-sablot=* \
5555 +- | --with-icu=* | --with-xerces=* | --with-xalan=* | --with-zorba=* \
5556 +- | --with-libxml=* | --with-libxslt=* | --with-exslt=* \
5557 +- | --with-bdb=* | --with-odbc=* | --with-python=* | --with-perl=* \
5558 +- | --with-freetype=* | --with-ftgl=* | --with-gif=* | --with-jpeg=* \
5559 +- | --with-png=* | --with-tiff=* | --with-xpm=* | --with-opengl=* \
5560 +- | --with-mesa=* | --with-glut=* | --with-glew=* | --with-oechem=* \
5561 +- | --with-boost=* | --with-boost-tag=* | --with-orbacus=* | --with-sge=* \
5562 +- | --with-muparser=* | --with-hdf5=* | --with-jni=* | --with-magic=* \
5563 +- | --x-includes=* | --x-libraries=* | --with-3psw=* \
5564 +- | --target=* | --with-runpath=* | --with-relative-runpath=* \
5565 +- | --no-create | --no-recursion)
5566 +- ;;
5567 +
5568 +- * )
5569 +- { { echo "$as_me:$LINENO: error: $x_arg: unknown option; use --help to show usage" >&5
5570 +-echo "$as_me: error: $x_arg: unknown option; use --help to show usage" >&2;}
5571 +- { (exit 1); exit 1; }; }
5572 +- ;;
5573 +- esac
5574 +-done
5575 +
5576 +
5577 + if test "$with_gbench" = "yes" ; then
5578 +@@ -3142,6 +3951,15 @@
5579 + : ${with_optimization=no}
5580 + fi
5581 +
5582 ++if test "$with_openmp" = yes; then
5583 ++ if test "$with_mt" = no; then
5584 ++ { { echo "$as_me:$LINENO: error: incompatible options: --without-mt but --with-openmp" >&5
5585 ++echo "$as_me: error: incompatible options: --without-mt but --with-openmp" >&2;}
5586 ++ { (exit 1); exit 1; }; }
5587 ++ fi
5588 ++ : ${with_mt=yes}
5589 ++fi
5590 ++
5591 + #### Check for special options
5592 + if test "$with_extra_action" = "yes" ; then
5593 + { { echo "$as_me:$LINENO: error: --with-extra-action must have a value after =" >&5
5594 +@@ -3201,6 +4019,10 @@
5595 + *\ -O* | *\ -xO* ) skip_fast_flags=yes ;;
5596 + esac
5597 + fi
5598 ++# Generally save any originally specified flags.
5599 ++USER_CFLAGS=$CFLAGS
5600 ++USER_CXXFLAGS=$CXXFLAGS
5601 ++USER_LDFLAGS=$LDFLAGS
5602 +
5603 + #### Always define this
5604 +
5605 +@@ -3212,82 +4034,117 @@
5606 +
5607 + #### Get the running host's properties
5608 + ac_aux_dir=
5609 +-for ac_dir in src/build-system $srcdir/src/build-system; do
5610 +- if test -f $ac_dir/install-sh; then
5611 ++for ac_dir in src/build-system "$srcdir"/src/build-system; do
5612 ++ if test -f "$ac_dir/install-sh"; then
5613 + ac_aux_dir=$ac_dir
5614 + ac_install_sh="$ac_aux_dir/install-sh -c"
5615 + break
5616 +- elif test -f $ac_dir/install.sh; then
5617 ++ elif test -f "$ac_dir/install.sh"; then
5618 + ac_aux_dir=$ac_dir
5619 + ac_install_sh="$ac_aux_dir/install.sh -c"
5620 + break
5621 +- elif test -f $ac_dir/shtool; then
5622 ++ elif test -f "$ac_dir/shtool"; then
5623 + ac_aux_dir=$ac_dir
5624 + ac_install_sh="$ac_aux_dir/shtool install -c"
5625 + break
5626 + fi
5627 + done
5628 + if test -z "$ac_aux_dir"; then
5629 +- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in src/build-system $srcdir/src/build-system" >&5
5630 +-echo "$as_me: error: cannot find install-sh or install.sh in src/build-system $srcdir/src/build-system" >&2;}
5631 ++ { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in src/build-system \"$srcdir\"/src/build-system" >&5
5632 ++echo "$as_me: error: cannot find install-sh or install.sh in src/build-system \"$srcdir\"/src/build-system" >&2;}
5633 + { (exit 1); exit 1; }; }
5634 + fi
5635 +-ac_config_guess="$SHELL $ac_aux_dir/config.guess"
5636 +-ac_config_sub="$SHELL $ac_aux_dir/config.sub"
5637 +-ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
5638 ++
5639 ++# These three variables are undocumented and unsupported,
5640 ++# and are intended to be withdrawn in a future Autoconf release.
5641 ++# They can cause serious problems if a builder's source tree is in a directory
5642 ++# whose full name contains unusual characters.
5643 ++ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
5644 ++ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
5645 ++ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
5646 ++
5647 +
5648 + # Make sure we can run config.sub.
5649 +-$ac_config_sub sun4 >/dev/null 2>&1 ||
5650 +- { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
5651 +-echo "$as_me: error: cannot run $ac_config_sub" >&2;}
5652 ++$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5653 ++ { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5654 ++echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5655 + { (exit 1); exit 1; }; }
5656 +
5657 +-echo "$as_me:$LINENO: checking build system type" >&5
5658 +-echo $ECHO_N "checking build system type... $ECHO_C" >&6
5659 ++{ echo "$as_me:$LINENO: checking build system type" >&5
5660 ++echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
5661 + if test "${ac_cv_build+set}" = set; then
5662 + echo $ECHO_N "(cached) $ECHO_C" >&6
5663 + else
5664 +- ac_cv_build_alias=$build_alias
5665 +-test -z "$ac_cv_build_alias" &&
5666 +- ac_cv_build_alias=`$ac_config_guess`
5667 +-test -z "$ac_cv_build_alias" &&
5668 ++ ac_build_alias=$build_alias
5669 ++test "x$ac_build_alias" = x &&
5670 ++ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5671 ++test "x$ac_build_alias" = x &&
5672 + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5673 + echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5674 + { (exit 1); exit 1; }; }
5675 +-ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
5676 +- { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
5677 +-echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
5678 ++ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5679 ++ { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5680 ++echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5681 + { (exit 1); exit 1; }; }
5682 +
5683 + fi
5684 +-echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5685 +-echo "${ECHO_T}$ac_cv_build" >&6
5686 ++{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5687 ++echo "${ECHO_T}$ac_cv_build" >&6; }
5688 ++case $ac_cv_build in
5689 ++*-*-*) ;;
5690 ++*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5691 ++echo "$as_me: error: invalid value of canonical build" >&2;}
5692 ++ { (exit 1); exit 1; }; };;
5693 ++esac
5694 + build=$ac_cv_build
5695 +-build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5696 +-build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5697 +-build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5698 ++ac_save_IFS=$IFS; IFS='-'
5699 ++set x $ac_cv_build
5700 ++shift
5701 ++build_cpu=$1
5702 ++build_vendor=$2
5703 ++shift; shift
5704 ++# Remember, the first character of IFS is used to create $*,
5705 ++# except with old shells:
5706 ++build_os=$*
5707 ++IFS=$ac_save_IFS
5708 ++case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5709 +
5710 +
5711 +-echo "$as_me:$LINENO: checking host system type" >&5
5712 +-echo $ECHO_N "checking host system type... $ECHO_C" >&6
5713 ++{ echo "$as_me:$LINENO: checking host system type" >&5
5714 ++echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
5715 + if test "${ac_cv_host+set}" = set; then
5716 + echo $ECHO_N "(cached) $ECHO_C" >&6
5717 + else
5718 +- ac_cv_host_alias=$host_alias
5719 +-test -z "$ac_cv_host_alias" &&
5720 +- ac_cv_host_alias=$ac_cv_build_alias
5721 +-ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
5722 +- { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
5723 +-echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
5724 ++ if test "x$host_alias" = x; then
5725 ++ ac_cv_host=$ac_cv_build
5726 ++else
5727 ++ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5728 ++ { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5729 ++echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5730 + { (exit 1); exit 1; }; }
5731 ++fi
5732 +
5733 + fi
5734 +-echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5735 +-echo "${ECHO_T}$ac_cv_host" >&6
5736 ++{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5737 ++echo "${ECHO_T}$ac_cv_host" >&6; }
5738 ++case $ac_cv_host in
5739 ++*-*-*) ;;
5740 ++*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5741 ++echo "$as_me: error: invalid value of canonical host" >&2;}
5742 ++ { (exit 1); exit 1; }; };;
5743 ++esac
5744 + host=$ac_cv_host
5745 +-host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5746 +-host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5747 +-host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5748 ++ac_save_IFS=$IFS; IFS='-'
5749 ++set x $ac_cv_host
5750 ++shift
5751 ++host_cpu=$1
5752 ++host_vendor=$2
5753 ++shift; shift
5754 ++# Remember, the first character of IFS is used to create $*,
5755 ++# except with old shells:
5756 ++host_os=$*
5757 ++IFS=$ac_save_IFS
5758 ++case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5759 +
5760 +
5761 +
5762 +@@ -3326,8 +4183,8 @@
5763 + # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5764 + # OS/2's system install, which has a completely different semantic
5765 + # ./install, which can be erroneously created by make from ./install.sh.
5766 +-echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5767 +-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5768 ++{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5769 ++echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5770 + if test -z "$INSTALL"; then
5771 + if test "${ac_cv_path_install+set}" = set; then
5772 + echo $ECHO_N "(cached) $ECHO_C" >&6
5773 +@@ -3349,7 +4206,7 @@
5774 + # by default.
5775 + for ac_prog in ginstall scoinst install; do
5776 + for ac_exec_ext in '' $ac_executable_extensions; do
5777 +- if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5778 ++ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
5779 + if test $ac_prog = install &&
5780 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5781 + # AIX install. It has an incompatible calling convention.
5782 +@@ -3368,21 +4225,22 @@
5783 + ;;
5784 + esac
5785 + done
5786 ++IFS=$as_save_IFS
5787 +
5788 +
5789 + fi
5790 + if test "${ac_cv_path_install+set}" = set; then
5791 + INSTALL=$ac_cv_path_install
5792 + else
5793 +- # As a last resort, use the slow shell script. We don't cache a
5794 +- # path for INSTALL within a source directory, because that will
5795 ++ # As a last resort, use the slow shell script. Don't cache a
5796 ++ # value for INSTALL within a source directory, because that will
5797 + # break other packages using the cache if that directory is
5798 +- # removed, or if the path is relative.
5799 ++ # removed, or if the value is a relative name.
5800 + INSTALL=$ac_install_sh
5801 + fi
5802 + fi
5803 +-echo "$as_me:$LINENO: result: $INSTALL" >&5
5804 +-echo "${ECHO_T}$INSTALL" >&6
5805 ++{ echo "$as_me:$LINENO: result: $INSTALL" >&5
5806 ++echo "${ECHO_T}$INSTALL" >&6; }
5807 +
5808 + # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5809 + # It thinks the first close brace ends the variable substitution.
5810 +@@ -3393,9 +4251,26 @@
5811 + test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5812 +
5813 +
5814 ++#### Point ICC at a suitable GCC version ASAP.
5815 ++case "/$CXX" in
5816 ++ */icpc )
5817 ++ if test -d /usr/local/gcc; then
5818 ++ case "`$CXX -dumpversion`:$host_cpu" in
5819 ++ *:i?86) v=4.4.5 ;;
5820 ++ ?.* | 1[01].* ) v=4.0.1 ;;
5821 ++ *) v=4.4.2 ;;
5822 ++ esac
5823 ++ gcc=/usr/local/gcc/$v/bin/gcc
5824 ++ if test -x $gcc; then
5825 ++ CC="$CC -gcc-name=$gcc"
5826 ++ CXX="$CXX -gcc-name=$gcc"
5827 ++ fi
5828 ++ fi
5829 ++ ;;
5830 ++esac
5831 +
5832 + #### C and C++ compilers
5833 +-ac_ext=cc
5834 ++ac_ext=cpp
5835 + ac_cpp='$CXXCPP $CPPFLAGS'
5836 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5837 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5838 +@@ -3409,8 +4284,8 @@
5839 + if test -n "$ac_tool_prefix"; then
5840 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5841 + set dummy ${ac_tool_prefix}gcc; ac_word=$2
5842 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
5843 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5844 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5845 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5846 + if test "${ac_cv_prog_CC+set}" = set; then
5847 + echo $ECHO_N "(cached) $ECHO_C" >&6
5848 + else
5849 +@@ -3423,32 +4298,34 @@
5850 + IFS=$as_save_IFS
5851 + test -z "$as_dir" && as_dir=.
5852 + for ac_exec_ext in '' $ac_executable_extensions; do
5853 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5854 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5855 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
5856 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5857 + break 2
5858 + fi
5859 + done
5860 + done
5861 ++IFS=$as_save_IFS
5862 +
5863 + fi
5864 + fi
5865 + CC=$ac_cv_prog_CC
5866 + if test -n "$CC"; then
5867 +- echo "$as_me:$LINENO: result: $CC" >&5
5868 +-echo "${ECHO_T}$CC" >&6
5869 ++ { echo "$as_me:$LINENO: result: $CC" >&5
5870 ++echo "${ECHO_T}$CC" >&6; }
5871 + else
5872 +- echo "$as_me:$LINENO: result: no" >&5
5873 +-echo "${ECHO_T}no" >&6
5874 ++ { echo "$as_me:$LINENO: result: no" >&5
5875 ++echo "${ECHO_T}no" >&6; }
5876 + fi
5877 +
5878 ++
5879 + fi
5880 + if test -z "$ac_cv_prog_CC"; then
5881 + ac_ct_CC=$CC
5882 + # Extract the first word of "gcc", so it can be a program name with args.
5883 + set dummy gcc; ac_word=$2
5884 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
5885 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5886 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5887 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5888 + if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5889 + echo $ECHO_N "(cached) $ECHO_C" >&6
5890 + else
5891 +@@ -3461,26 +4338,41 @@
5892 + IFS=$as_save_IFS
5893 + test -z "$as_dir" && as_dir=.
5894 + for ac_exec_ext in '' $ac_executable_extensions; do
5895 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5896 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5897 + ac_cv_prog_ac_ct_CC="gcc"
5898 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5899 + break 2
5900 + fi
5901 + done
5902 + done
5903 ++IFS=$as_save_IFS
5904 +
5905 + fi
5906 + fi
5907 + ac_ct_CC=$ac_cv_prog_ac_ct_CC
5908 + if test -n "$ac_ct_CC"; then
5909 +- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5910 +-echo "${ECHO_T}$ac_ct_CC" >&6
5911 ++ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5912 ++echo "${ECHO_T}$ac_ct_CC" >&6; }
5913 + else
5914 +- echo "$as_me:$LINENO: result: no" >&5
5915 +-echo "${ECHO_T}no" >&6
5916 ++ { echo "$as_me:$LINENO: result: no" >&5
5917 ++echo "${ECHO_T}no" >&6; }
5918 + fi
5919 +
5920 ++ if test "x$ac_ct_CC" = x; then
5921 ++ CC=""
5922 ++ else
5923 ++ case $cross_compiling:$ac_tool_warned in
5924 ++yes:)
5925 ++{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5926 ++whose name does not start with the host triplet. If you think this
5927 ++configuration is useful to you, please write to autoconf@×××.org." >&5
5928 ++echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5929 ++whose name does not start with the host triplet. If you think this
5930 ++configuration is useful to you, please write to autoconf@×××.org." >&2;}
5931 ++ac_tool_warned=yes ;;
5932 ++esac
5933 + CC=$ac_ct_CC
5934 ++ fi
5935 + else
5936 + CC="$ac_cv_prog_CC"
5937 + fi
5938 +@@ -3489,8 +4381,8 @@
5939 + if test -n "$ac_tool_prefix"; then
5940 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5941 + set dummy ${ac_tool_prefix}cc; ac_word=$2
5942 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
5943 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5944 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5945 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5946 + if test "${ac_cv_prog_CC+set}" = set; then
5947 + echo $ECHO_N "(cached) $ECHO_C" >&6
5948 + else
5949 +@@ -3503,131 +4395,93 @@
5950 + IFS=$as_save_IFS
5951 + test -z "$as_dir" && as_dir=.
5952 + for ac_exec_ext in '' $ac_executable_extensions; do
5953 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5954 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5955 + ac_cv_prog_CC="${ac_tool_prefix}cc"
5956 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5957 + break 2
5958 + fi
5959 + done
5960 + done
5961 ++IFS=$as_save_IFS
5962 +
5963 + fi
5964 + fi
5965 + CC=$ac_cv_prog_CC
5966 + if test -n "$CC"; then
5967 +- echo "$as_me:$LINENO: result: $CC" >&5
5968 +-echo "${ECHO_T}$CC" >&6
5969 ++ { echo "$as_me:$LINENO: result: $CC" >&5
5970 ++echo "${ECHO_T}$CC" >&6; }
5971 + else
5972 +- echo "$as_me:$LINENO: result: no" >&5
5973 +-echo "${ECHO_T}no" >&6
5974 ++ { echo "$as_me:$LINENO: result: no" >&5
5975 ++echo "${ECHO_T}no" >&6; }
5976 + fi
5977 +
5978 ++
5979 + fi
5980 +-if test -z "$ac_cv_prog_CC"; then
5981 +- ac_ct_CC=$CC
5982 ++fi
5983 ++if test -z "$CC"; then
5984 + # Extract the first word of "cc", so it can be a program name with args.
5985 + set dummy cc; ac_word=$2
5986 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
5987 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5988 +-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5989 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5990 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5991 ++if test "${ac_cv_prog_CC+set}" = set; then
5992 + echo $ECHO_N "(cached) $ECHO_C" >&6
5993 + else
5994 +- if test -n "$ac_ct_CC"; then
5995 +- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5996 ++ if test -n "$CC"; then
5997 ++ ac_cv_prog_CC="$CC" # Let the user override the test.
5998 + else
5999 ++ ac_prog_rejected=no
6000 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6001 + for as_dir in $PATH
6002 + do
6003 + IFS=$as_save_IFS
6004 + test -z "$as_dir" && as_dir=.
6005 + for ac_exec_ext in '' $ac_executable_extensions; do
6006 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6007 +- ac_cv_prog_ac_ct_CC="cc"
6008 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6009 ++ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6010 ++ ac_prog_rejected=yes
6011 ++ continue
6012 ++ fi
6013 ++ ac_cv_prog_CC="cc"
6014 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6015 + break 2
6016 + fi
6017 + done
6018 + done
6019 ++IFS=$as_save_IFS
6020 +
6021 +-fi
6022 +-fi
6023 +-ac_ct_CC=$ac_cv_prog_ac_ct_CC
6024 +-if test -n "$ac_ct_CC"; then
6025 +- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6026 +-echo "${ECHO_T}$ac_ct_CC" >&6
6027 +-else
6028 +- echo "$as_me:$LINENO: result: no" >&5
6029 +-echo "${ECHO_T}no" >&6
6030 +-fi
6031 +-
6032 +- CC=$ac_ct_CC
6033 +-else
6034 +- CC="$ac_cv_prog_CC"
6035 +-fi
6036 +-
6037 +-fi
6038 +-if test -z "$CC"; then
6039 +- # Extract the first word of "cc", so it can be a program name with args.
6040 +-set dummy cc; ac_word=$2
6041 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
6042 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6043 +-if test "${ac_cv_prog_CC+set}" = set; then
6044 +- echo $ECHO_N "(cached) $ECHO_C" >&6
6045 +-else
6046 +- if test -n "$CC"; then
6047 +- ac_cv_prog_CC="$CC" # Let the user override the test.
6048 +-else
6049 +- ac_prog_rejected=no
6050 +-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6051 +-for as_dir in $PATH
6052 +-do
6053 +- IFS=$as_save_IFS
6054 +- test -z "$as_dir" && as_dir=.
6055 +- for ac_exec_ext in '' $ac_executable_extensions; do
6056 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6057 +- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6058 +- ac_prog_rejected=yes
6059 +- continue
6060 +- fi
6061 +- ac_cv_prog_CC="cc"
6062 +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6063 +- break 2
6064 +- fi
6065 +-done
6066 +-done
6067 +-
6068 +-if test $ac_prog_rejected = yes; then
6069 +- # We found a bogon in the path, so make sure we never use it.
6070 +- set dummy $ac_cv_prog_CC
6071 +- shift
6072 +- if test $# != 0; then
6073 +- # We chose a different compiler from the bogus one.
6074 +- # However, it has the same basename, so the bogon will be chosen
6075 +- # first if we set CC to just the basename; use the full file name.
6076 +- shift
6077 +- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6078 ++if test $ac_prog_rejected = yes; then
6079 ++ # We found a bogon in the path, so make sure we never use it.
6080 ++ set dummy $ac_cv_prog_CC
6081 ++ shift
6082 ++ if test $# != 0; then
6083 ++ # We chose a different compiler from the bogus one.
6084 ++ # However, it has the same basename, so the bogon will be chosen
6085 ++ # first if we set CC to just the basename; use the full file name.
6086 ++ shift
6087 ++ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6088 + fi
6089 + fi
6090 + fi
6091 + fi
6092 + CC=$ac_cv_prog_CC
6093 + if test -n "$CC"; then
6094 +- echo "$as_me:$LINENO: result: $CC" >&5
6095 +-echo "${ECHO_T}$CC" >&6
6096 ++ { echo "$as_me:$LINENO: result: $CC" >&5
6097 ++echo "${ECHO_T}$CC" >&6; }
6098 + else
6099 +- echo "$as_me:$LINENO: result: no" >&5
6100 +-echo "${ECHO_T}no" >&6
6101 ++ { echo "$as_me:$LINENO: result: no" >&5
6102 ++echo "${ECHO_T}no" >&6; }
6103 + fi
6104 +
6105 ++
6106 + fi
6107 + if test -z "$CC"; then
6108 + if test -n "$ac_tool_prefix"; then
6109 +- for ac_prog in cl
6110 ++ for ac_prog in cl.exe
6111 + do
6112 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6113 + set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6114 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
6115 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6116 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6117 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6118 + if test "${ac_cv_prog_CC+set}" = set; then
6119 + echo $ECHO_N "(cached) $ECHO_C" >&6
6120 + else
6121 +@@ -3640,36 +4494,38 @@
6122 + IFS=$as_save_IFS
6123 + test -z "$as_dir" && as_dir=.
6124 + for ac_exec_ext in '' $ac_executable_extensions; do
6125 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6126 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6127 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6128 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6129 + break 2
6130 + fi
6131 + done
6132 + done
6133 ++IFS=$as_save_IFS
6134 +
6135 + fi
6136 + fi
6137 + CC=$ac_cv_prog_CC
6138 + if test -n "$CC"; then
6139 +- echo "$as_me:$LINENO: result: $CC" >&5
6140 +-echo "${ECHO_T}$CC" >&6
6141 ++ { echo "$as_me:$LINENO: result: $CC" >&5
6142 ++echo "${ECHO_T}$CC" >&6; }
6143 + else
6144 +- echo "$as_me:$LINENO: result: no" >&5
6145 +-echo "${ECHO_T}no" >&6
6146 ++ { echo "$as_me:$LINENO: result: no" >&5
6147 ++echo "${ECHO_T}no" >&6; }
6148 + fi
6149 +
6150 ++
6151 + test -n "$CC" && break
6152 + done
6153 + fi
6154 + if test -z "$CC"; then
6155 + ac_ct_CC=$CC
6156 +- for ac_prog in cl
6157 ++ for ac_prog in cl.exe
6158 + do
6159 + # Extract the first word of "$ac_prog", so it can be a program name with args.
6160 + set dummy $ac_prog; ac_word=$2
6161 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
6162 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6163 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6164 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6165 + if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6166 + echo $ECHO_N "(cached) $ECHO_C" >&6
6167 + else
6168 +@@ -3682,30 +4538,46 @@
6169 + IFS=$as_save_IFS
6170 + test -z "$as_dir" && as_dir=.
6171 + for ac_exec_ext in '' $ac_executable_extensions; do
6172 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6173 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6174 + ac_cv_prog_ac_ct_CC="$ac_prog"
6175 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6176 + break 2
6177 + fi
6178 + done
6179 + done
6180 ++IFS=$as_save_IFS
6181 +
6182 + fi
6183 + fi
6184 + ac_ct_CC=$ac_cv_prog_ac_ct_CC
6185 + if test -n "$ac_ct_CC"; then
6186 +- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6187 +-echo "${ECHO_T}$ac_ct_CC" >&6
6188 ++ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6189 ++echo "${ECHO_T}$ac_ct_CC" >&6; }
6190 + else
6191 +- echo "$as_me:$LINENO: result: no" >&5
6192 +-echo "${ECHO_T}no" >&6
6193 ++ { echo "$as_me:$LINENO: result: no" >&5
6194 ++echo "${ECHO_T}no" >&6; }
6195 + fi
6196 +
6197 ++
6198 + test -n "$ac_ct_CC" && break
6199 + done
6200 +
6201 ++ if test "x$ac_ct_CC" = x; then
6202 ++ CC=""
6203 ++ else
6204 ++ case $cross_compiling:$ac_tool_warned in
6205 ++yes:)
6206 ++{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6207 ++whose name does not start with the host triplet. If you think this
6208 ++configuration is useful to you, please write to autoconf@×××.org." >&5
6209 ++echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6210 ++whose name does not start with the host triplet. If you think this
6211 ++configuration is useful to you, please write to autoconf@×××.org." >&2;}
6212 ++ac_tool_warned=yes ;;
6213 ++esac
6214 + CC=$ac_ct_CC
6215 + fi
6216 ++fi
6217 +
6218 + fi
6219 +
6220 +@@ -3717,21 +4589,35 @@
6221 + { (exit 1); exit 1; }; }
6222 +
6223 + # Provide some information about the compiler.
6224 +-echo "$as_me:$LINENO:" \
6225 +- "checking for C compiler version" >&5
6226 ++echo "$as_me:$LINENO: checking for C compiler version" >&5
6227 + ac_compiler=`set X $ac_compile; echo $2`
6228 +-{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6229 +- (eval $ac_compiler --version </dev/null >&5) 2>&5
6230 ++{ (ac_try="$ac_compiler --version >&5"
6231 ++case "(($ac_try" in
6232 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6233 ++ *) ac_try_echo=$ac_try;;
6234 ++esac
6235 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6236 ++ (eval "$ac_compiler --version >&5") 2>&5
6237 + ac_status=$?
6238 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6239 + (exit $ac_status); }
6240 +-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6241 +- (eval $ac_compiler -v </dev/null >&5) 2>&5
6242 ++{ (ac_try="$ac_compiler -v >&5"
6243 ++case "(($ac_try" in
6244 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6245 ++ *) ac_try_echo=$ac_try;;
6246 ++esac
6247 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6248 ++ (eval "$ac_compiler -v >&5") 2>&5
6249 + ac_status=$?
6250 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6251 + (exit $ac_status); }
6252 +-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6253 +- (eval $ac_compiler -V </dev/null >&5) 2>&5
6254 ++{ (ac_try="$ac_compiler -V >&5"
6255 ++case "(($ac_try" in
6256 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6257 ++ *) ac_try_echo=$ac_try;;
6258 ++esac
6259 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6260 ++ (eval "$ac_compiler -V >&5") 2>&5
6261 + ac_status=$?
6262 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6263 + (exit $ac_status); }
6264 +@@ -3756,46 +4642,70 @@
6265 + # Try to create an executable without -o first, disregard a.out.
6266 + # It will help us diagnose broken compilers, and finding out an intuition
6267 + # of exeext.
6268 +-echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
6269 +-echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
6270 ++{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
6271 ++echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
6272 + ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
6273 +-if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
6274 +- (eval $ac_link_default) 2>&5
6275 ++#
6276 ++# List of possible output files, starting from the most likely.
6277 ++# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
6278 ++# only as a last resort. b.out is created by i960 compilers.
6279 ++ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
6280 ++#
6281 ++# The IRIX 6 linker writes into existing files which may not be
6282 ++# executable, retaining their permissions. Remove them first so a
6283 ++# subsequent execution test works.
6284 ++ac_rmfiles=
6285 ++for ac_file in $ac_files
6286 ++do
6287 ++ case $ac_file in
6288 ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
6289 ++ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
6290 ++ esac
6291 ++done
6292 ++rm -f $ac_rmfiles
6293 ++
6294 ++if { (ac_try="$ac_link_default"
6295 ++case "(($ac_try" in
6296 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6297 ++ *) ac_try_echo=$ac_try;;
6298 ++esac
6299 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6300 ++ (eval "$ac_link_default") 2>&5
6301 + ac_status=$?
6302 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6303 + (exit $ac_status); }; then
6304 +- # Find the output, starting from the most likely. This scheme is
6305 +-# not robust to junk in `.', hence go to wildcards (a.*) only as a last
6306 +-# resort.
6307 +-
6308 +-# Be careful to initialize this variable, since it used to be cached.
6309 +-# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
6310 +-ac_cv_exeext=
6311 +-# b.out is created by i960 compilers.
6312 +-for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
6313 ++ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
6314 ++# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
6315 ++# in a Makefile. We should not override ac_cv_exeext if it was cached,
6316 ++# so that the user can short-circuit this test for compilers unknown to
6317 ++# Autoconf.
6318 ++for ac_file in $ac_files
6319 + do
6320 + test -f "$ac_file" || continue
6321 + case $ac_file in
6322 +- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
6323 +- ;;
6324 +- conftest.$ac_ext )
6325 +- # This is the source file.
6326 ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
6327 + ;;
6328 + [ab].out )
6329 + # We found the default executable, but exeext='' is most
6330 + # certainly right.
6331 + break;;
6332 + *.* )
6333 ++ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
6334 ++ then :; else
6335 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
6336 +- # FIXME: I believe we export ac_cv_exeext for Libtool,
6337 +- # but it would be cool to find out if it's true. Does anybody
6338 +- # maintain Libtool? --akim.
6339 +- export ac_cv_exeext
6340 ++ fi
6341 ++ # We set ac_cv_exeext here because the later test for it is not
6342 ++ # safe: cross compilers may not add the suffix if given an `-o'
6343 ++ # argument, so we may need to know it at that point already.
6344 ++ # Even if this section looks crufty: it has the advantage of
6345 ++ # actually working.
6346 + break;;
6347 + * )
6348 + break;;
6349 + esac
6350 + done
6351 ++test "$ac_cv_exeext" = no && ac_cv_exeext=
6352 ++
6353 + else
6354 + echo "$as_me: failed program was:" >&5
6355 + sed 's/^/| /' conftest.$ac_ext >&5
6356 +@@ -3808,19 +4718,23 @@
6357 + fi
6358 +
6359 + ac_exeext=$ac_cv_exeext
6360 +-echo "$as_me:$LINENO: result: $ac_file" >&5
6361 +-echo "${ECHO_T}$ac_file" >&6
6362 ++{ echo "$as_me:$LINENO: result: $ac_file" >&5
6363 ++echo "${ECHO_T}$ac_file" >&6; }
6364 +
6365 +-# Check the compiler produces executables we can run. If not, either
6366 ++# Check that the compiler produces executables we can run. If not, either
6367 + # the compiler is broken, or we cross compile.
6368 +-echo "$as_me:$LINENO: checking whether the C compiler works" >&5
6369 +-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
6370 ++{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
6371 ++echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
6372 + # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
6373 + # If not cross compiling, check that we can run a simple program.
6374 + if test "$cross_compiling" != yes; then
6375 + if { ac_try='./$ac_file'
6376 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6377 +- (eval $ac_try) 2>&5
6378 ++ { (case "(($ac_try" in
6379 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6380 ++ *) ac_try_echo=$ac_try;;
6381 ++esac
6382 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6383 ++ (eval "$ac_try") 2>&5
6384 + ac_status=$?
6385 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6386 + (exit $ac_status); }; }; then
6387 +@@ -3839,22 +4753,27 @@
6388 + fi
6389 + fi
6390 + fi
6391 +-echo "$as_me:$LINENO: result: yes" >&5
6392 +-echo "${ECHO_T}yes" >&6
6393 ++{ echo "$as_me:$LINENO: result: yes" >&5
6394 ++echo "${ECHO_T}yes" >&6; }
6395 +
6396 + rm -f a.out a.exe conftest$ac_cv_exeext b.out
6397 + ac_clean_files=$ac_clean_files_save
6398 +-# Check the compiler produces executables we can run. If not, either
6399 ++# Check that the compiler produces executables we can run. If not, either
6400 + # the compiler is broken, or we cross compile.
6401 +-echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
6402 +-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
6403 +-echo "$as_me:$LINENO: result: $cross_compiling" >&5
6404 +-echo "${ECHO_T}$cross_compiling" >&6
6405 +-
6406 +-echo "$as_me:$LINENO: checking for suffix of executables" >&5
6407 +-echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
6408 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6409 +- (eval $ac_link) 2>&5
6410 ++{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
6411 ++echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
6412 ++{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
6413 ++echo "${ECHO_T}$cross_compiling" >&6; }
6414 ++
6415 ++{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
6416 ++echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
6417 ++if { (ac_try="$ac_link"
6418 ++case "(($ac_try" in
6419 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6420 ++ *) ac_try_echo=$ac_try;;
6421 ++esac
6422 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6423 ++ (eval "$ac_link") 2>&5
6424 + ac_status=$?
6425 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6426 + (exit $ac_status); }; then
6427 +@@ -3865,9 +4784,8 @@
6428 + for ac_file in conftest.exe conftest conftest.*; do
6429 + test -f "$ac_file" || continue
6430 + case $ac_file in
6431 +- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
6432 ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
6433 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
6434 +- export ac_cv_exeext
6435 + break;;
6436 + * ) break;;
6437 + esac
6438 +@@ -3881,14 +4799,14 @@
6439 + fi
6440 +
6441 + rm -f conftest$ac_cv_exeext
6442 +-echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
6443 +-echo "${ECHO_T}$ac_cv_exeext" >&6
6444 ++{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
6445 ++echo "${ECHO_T}$ac_cv_exeext" >&6; }
6446 +
6447 + rm -f conftest.$ac_ext
6448 + EXEEXT=$ac_cv_exeext
6449 + ac_exeext=$EXEEXT
6450 +-echo "$as_me:$LINENO: checking for suffix of object files" >&5
6451 +-echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
6452 ++{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
6453 ++echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
6454 + if test "${ac_cv_objext+set}" = set; then
6455 + echo $ECHO_N "(cached) $ECHO_C" >&6
6456 + else
6457 +@@ -3908,14 +4826,20 @@
6458 + }
6459 + _ACEOF
6460 + rm -f conftest.o conftest.obj
6461 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6462 +- (eval $ac_compile) 2>&5
6463 ++if { (ac_try="$ac_compile"
6464 ++case "(($ac_try" in
6465 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6466 ++ *) ac_try_echo=$ac_try;;
6467 ++esac
6468 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6469 ++ (eval "$ac_compile") 2>&5
6470 + ac_status=$?
6471 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6472 + (exit $ac_status); }; then
6473 +- for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
6474 ++ for ac_file in conftest.o conftest.obj conftest.*; do
6475 ++ test -f "$ac_file" || continue;
6476 + case $ac_file in
6477 +- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
6478 ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
6479 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
6480 + break;;
6481 + esac
6482 +@@ -3933,12 +4857,12 @@
6483 +
6484 + rm -f conftest.$ac_cv_objext conftest.$ac_ext
6485 + fi
6486 +-echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
6487 +-echo "${ECHO_T}$ac_cv_objext" >&6
6488 ++{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
6489 ++echo "${ECHO_T}$ac_cv_objext" >&6; }
6490 + OBJEXT=$ac_cv_objext
6491 + ac_objext=$OBJEXT
6492 +-echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6493 +-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
6494 ++{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6495 ++echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
6496 + if test "${ac_cv_c_compiler_gnu+set}" = set; then
6497 + echo $ECHO_N "(cached) $ECHO_C" >&6
6498 + else
6499 +@@ -3961,24 +4885,36 @@
6500 + }
6501 + _ACEOF
6502 + rm -f conftest.$ac_objext
6503 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6504 +- (eval $ac_compile) 2>conftest.er1
6505 ++if { (ac_try="$ac_compile"
6506 ++case "(($ac_try" in
6507 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6508 ++ *) ac_try_echo=$ac_try;;
6509 ++esac
6510 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6511 ++ (eval "$ac_compile") 2>conftest.er1
6512 + ac_status=$?
6513 + grep -v '^ *+' conftest.er1 >conftest.err
6514 + rm -f conftest.er1
6515 + cat conftest.err >&5
6516 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6517 + (exit $ac_status); } &&
6518 +- { ac_try='test -z "$ac_c_werror_flag"
6519 +- || test ! -s conftest.err'
6520 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6521 +- (eval $ac_try) 2>&5
6522 ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6523 ++ { (case "(($ac_try" in
6524 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6525 ++ *) ac_try_echo=$ac_try;;
6526 ++esac
6527 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6528 ++ (eval "$ac_try") 2>&5
6529 + ac_status=$?
6530 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 + (exit $ac_status); }; } &&
6532 + { ac_try='test -s conftest.$ac_objext'
6533 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6534 +- (eval $ac_try) 2>&5
6535 ++ { (case "(($ac_try" in
6536 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6537 ++ *) ac_try_echo=$ac_try;;
6538 ++esac
6539 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6540 ++ (eval "$ac_try") 2>&5
6541 + ac_status=$?
6542 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543 + (exit $ac_status); }; }; then
6544 +@@ -3989,21 +4925,25 @@
6545 +
6546 + ac_compiler_gnu=no
6547 + fi
6548 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6549 ++
6550 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6551 + ac_cv_c_compiler_gnu=$ac_compiler_gnu
6552 +
6553 + fi
6554 +-echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6555 +-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
6556 ++{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6557 ++echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
6558 + GCC=`test $ac_compiler_gnu = yes && echo yes`
6559 + ac_test_CFLAGS=${CFLAGS+set}
6560 + ac_save_CFLAGS=$CFLAGS
6561 +-CFLAGS="-g"
6562 +-echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6563 +-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
6564 ++{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6565 ++echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
6566 + if test "${ac_cv_prog_cc_g+set}" = set; then
6567 + echo $ECHO_N "(cached) $ECHO_C" >&6
6568 + else
6569 ++ ac_save_c_werror_flag=$ac_c_werror_flag
6570 ++ ac_c_werror_flag=yes
6571 ++ ac_cv_prog_cc_g=no
6572 ++ CFLAGS="-g"
6573 + cat >conftest.$ac_ext <<_ACEOF
6574 + /* confdefs.h. */
6575 + _ACEOF
6576 +@@ -4020,24 +4960,36 @@
6577 + }
6578 + _ACEOF
6579 + rm -f conftest.$ac_objext
6580 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6581 +- (eval $ac_compile) 2>conftest.er1
6582 ++if { (ac_try="$ac_compile"
6583 ++case "(($ac_try" in
6584 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6585 ++ *) ac_try_echo=$ac_try;;
6586 ++esac
6587 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6588 ++ (eval "$ac_compile") 2>conftest.er1
6589 + ac_status=$?
6590 + grep -v '^ *+' conftest.er1 >conftest.err
6591 + rm -f conftest.er1
6592 + cat conftest.err >&5
6593 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6594 + (exit $ac_status); } &&
6595 +- { ac_try='test -z "$ac_c_werror_flag"
6596 +- || test ! -s conftest.err'
6597 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6598 +- (eval $ac_try) 2>&5
6599 ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6600 ++ { (case "(($ac_try" in
6601 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6602 ++ *) ac_try_echo=$ac_try;;
6603 ++esac
6604 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6605 ++ (eval "$ac_try") 2>&5
6606 + ac_status=$?
6607 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6608 + (exit $ac_status); }; } &&
6609 + { ac_try='test -s conftest.$ac_objext'
6610 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6611 +- (eval $ac_try) 2>&5
6612 ++ { (case "(($ac_try" in
6613 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6614 ++ *) ac_try_echo=$ac_try;;
6615 ++esac
6616 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6617 ++ (eval "$ac_try") 2>&5
6618 + ac_status=$?
6619 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6620 + (exit $ac_status); }; }; then
6621 +@@ -4046,12 +4998,131 @@
6622 + echo "$as_me: failed program was:" >&5
6623 + sed 's/^/| /' conftest.$ac_ext >&5
6624 +
6625 +-ac_cv_prog_cc_g=no
6626 ++ CFLAGS=""
6627 ++ cat >conftest.$ac_ext <<_ACEOF
6628 ++/* confdefs.h. */
6629 ++_ACEOF
6630 ++cat confdefs.h >>conftest.$ac_ext
6631 ++cat >>conftest.$ac_ext <<_ACEOF
6632 ++/* end confdefs.h. */
6633 ++
6634 ++int
6635 ++main ()
6636 ++{
6637 ++
6638 ++ ;
6639 ++ return 0;
6640 ++}
6641 ++_ACEOF
6642 ++rm -f conftest.$ac_objext
6643 ++if { (ac_try="$ac_compile"
6644 ++case "(($ac_try" in
6645 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6646 ++ *) ac_try_echo=$ac_try;;
6647 ++esac
6648 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6649 ++ (eval "$ac_compile") 2>conftest.er1
6650 ++ ac_status=$?
6651 ++ grep -v '^ *+' conftest.er1 >conftest.err
6652 ++ rm -f conftest.er1
6653 ++ cat conftest.err >&5
6654 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655 ++ (exit $ac_status); } &&
6656 ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6657 ++ { (case "(($ac_try" in
6658 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6659 ++ *) ac_try_echo=$ac_try;;
6660 ++esac
6661 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6662 ++ (eval "$ac_try") 2>&5
6663 ++ ac_status=$?
6664 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6665 ++ (exit $ac_status); }; } &&
6666 ++ { ac_try='test -s conftest.$ac_objext'
6667 ++ { (case "(($ac_try" in
6668 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6669 ++ *) ac_try_echo=$ac_try;;
6670 ++esac
6671 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6672 ++ (eval "$ac_try") 2>&5
6673 ++ ac_status=$?
6674 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675 ++ (exit $ac_status); }; }; then
6676 ++ :
6677 ++else
6678 ++ echo "$as_me: failed program was:" >&5
6679 ++sed 's/^/| /' conftest.$ac_ext >&5
6680 ++
6681 ++ ac_c_werror_flag=$ac_save_c_werror_flag
6682 ++ CFLAGS="-g"
6683 ++ cat >conftest.$ac_ext <<_ACEOF
6684 ++/* confdefs.h. */
6685 ++_ACEOF
6686 ++cat confdefs.h >>conftest.$ac_ext
6687 ++cat >>conftest.$ac_ext <<_ACEOF
6688 ++/* end confdefs.h. */
6689 ++
6690 ++int
6691 ++main ()
6692 ++{
6693 ++
6694 ++ ;
6695 ++ return 0;
6696 ++}
6697 ++_ACEOF
6698 ++rm -f conftest.$ac_objext
6699 ++if { (ac_try="$ac_compile"
6700 ++case "(($ac_try" in
6701 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6702 ++ *) ac_try_echo=$ac_try;;
6703 ++esac
6704 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6705 ++ (eval "$ac_compile") 2>conftest.er1
6706 ++ ac_status=$?
6707 ++ grep -v '^ *+' conftest.er1 >conftest.err
6708 ++ rm -f conftest.er1
6709 ++ cat conftest.err >&5
6710 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6711 ++ (exit $ac_status); } &&
6712 ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6713 ++ { (case "(($ac_try" in
6714 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6715 ++ *) ac_try_echo=$ac_try;;
6716 ++esac
6717 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6718 ++ (eval "$ac_try") 2>&5
6719 ++ ac_status=$?
6720 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6721 ++ (exit $ac_status); }; } &&
6722 ++ { ac_try='test -s conftest.$ac_objext'
6723 ++ { (case "(($ac_try" in
6724 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6725 ++ *) ac_try_echo=$ac_try;;
6726 ++esac
6727 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6728 ++ (eval "$ac_try") 2>&5
6729 ++ ac_status=$?
6730 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6731 ++ (exit $ac_status); }; }; then
6732 ++ ac_cv_prog_cc_g=yes
6733 ++else
6734 ++ echo "$as_me: failed program was:" >&5
6735 ++sed 's/^/| /' conftest.$ac_ext >&5
6736 ++
6737 ++
6738 + fi
6739 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6740 ++
6741 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6742 ++fi
6743 ++
6744 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6745 ++fi
6746 ++
6747 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6748 ++ ac_c_werror_flag=$ac_save_c_werror_flag
6749 + fi
6750 +-echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6751 +-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
6752 ++{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6753 ++echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
6754 + if test "$ac_test_CFLAGS" = set; then
6755 + CFLAGS=$ac_save_CFLAGS
6756 + elif test $ac_cv_prog_cc_g = yes; then
6757 +@@ -4067,12 +5138,12 @@
6758 + CFLAGS=
6759 + fi
6760 + fi
6761 +-echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
6762 +-echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
6763 +-if test "${ac_cv_prog_cc_stdc+set}" = set; then
6764 ++{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
6765 ++echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
6766 ++if test "${ac_cv_prog_cc_c89+set}" = set; then
6767 + echo $ECHO_N "(cached) $ECHO_C" >&6
6768 + else
6769 +- ac_cv_prog_cc_stdc=no
6770 ++ ac_cv_prog_cc_c89=no
6771 + ac_save_CC=$CC
6772 + cat >conftest.$ac_ext <<_ACEOF
6773 + /* confdefs.h. */
6774 +@@ -4106,12 +5177,17 @@
6775 + /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6776 + function prototypes and stuff, but not '\xHH' hex character constants.
6777 + These don't provoke an error unfortunately, instead are silently treated
6778 +- as 'x'. The following induces an error, until -std1 is added to get
6779 ++ as 'x'. The following induces an error, until -std is added to get
6780 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6781 + array size at least. It's necessary to write '\x00'==0 to get something
6782 +- that's true only with -std1. */
6783 ++ that's true only with -std. */
6784 + int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6785 +
6786 ++/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6787 ++ inside strings and character constants. */
6788 ++#define FOO(x) 'x'
6789 ++int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6790 ++
6791 + int test (int i, double x);
6792 + struct s1 {int (*f) (int a);};
6793 + struct s2 {int (*f) (double a);};
6794 +@@ -4126,265 +5202,140 @@
6795 + return 0;
6796 + }
6797 + _ACEOF
6798 +-# Don't try gcc -ansi; that turns off useful extensions and
6799 +-# breaks some systems' header files.
6800 +-# AIX -qlanglvl=ansi
6801 +-# Ultrix and OSF/1 -std1
6802 +-# HP-UX 10.20 and later -Ae
6803 +-# HP-UX older versions -Aa -D_HPUX_SOURCE
6804 +-# SVR4 -Xc -D__EXTENSIONS__
6805 +-for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6806 ++for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6807 ++ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6808 + do
6809 + CC="$ac_save_CC $ac_arg"
6810 + rm -f conftest.$ac_objext
6811 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6812 +- (eval $ac_compile) 2>conftest.er1
6813 ++if { (ac_try="$ac_compile"
6814 ++case "(($ac_try" in
6815 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6816 ++ *) ac_try_echo=$ac_try;;
6817 ++esac
6818 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6819 ++ (eval "$ac_compile") 2>conftest.er1
6820 + ac_status=$?
6821 + grep -v '^ *+' conftest.er1 >conftest.err
6822 + rm -f conftest.er1
6823 + cat conftest.err >&5
6824 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825 + (exit $ac_status); } &&
6826 +- { ac_try='test -z "$ac_c_werror_flag"
6827 +- || test ! -s conftest.err'
6828 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6829 +- (eval $ac_try) 2>&5
6830 ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6831 ++ { (case "(($ac_try" in
6832 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6833 ++ *) ac_try_echo=$ac_try;;
6834 ++esac
6835 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6836 ++ (eval "$ac_try") 2>&5
6837 + ac_status=$?
6838 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6839 + (exit $ac_status); }; } &&
6840 + { ac_try='test -s conftest.$ac_objext'
6841 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6842 +- (eval $ac_try) 2>&5
6843 ++ { (case "(($ac_try" in
6844 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6845 ++ *) ac_try_echo=$ac_try;;
6846 ++esac
6847 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6848 ++ (eval "$ac_try") 2>&5
6849 + ac_status=$?
6850 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6851 + (exit $ac_status); }; }; then
6852 +- ac_cv_prog_cc_stdc=$ac_arg
6853 +-break
6854 ++ ac_cv_prog_cc_c89=$ac_arg
6855 + else
6856 + echo "$as_me: failed program was:" >&5
6857 + sed 's/^/| /' conftest.$ac_ext >&5
6858 +
6859 ++
6860 + fi
6861 +-rm -f conftest.err conftest.$ac_objext
6862 ++
6863 ++rm -f core conftest.err conftest.$ac_objext
6864 ++ test "x$ac_cv_prog_cc_c89" != "xno" && break
6865 + done
6866 +-rm -f conftest.$ac_ext conftest.$ac_objext
6867 ++rm -f conftest.$ac_ext
6868 + CC=$ac_save_CC
6869 +
6870 + fi
6871 +-
6872 +-case "x$ac_cv_prog_cc_stdc" in
6873 +- x|xno)
6874 +- echo "$as_me:$LINENO: result: none needed" >&5
6875 +-echo "${ECHO_T}none needed" >&6 ;;
6876 +- *)
6877 +- echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6878 +-echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6879 +- CC="$CC $ac_cv_prog_cc_stdc" ;;
6880 ++# AC_CACHE_VAL
6881 ++case "x$ac_cv_prog_cc_c89" in
6882 ++ x)
6883 ++ { echo "$as_me:$LINENO: result: none needed" >&5
6884 ++echo "${ECHO_T}none needed" >&6; } ;;
6885 ++ xno)
6886 ++ { echo "$as_me:$LINENO: result: unsupported" >&5
6887 ++echo "${ECHO_T}unsupported" >&6; } ;;
6888 ++ *)
6889 ++ CC="$CC $ac_cv_prog_cc_c89"
6890 ++ { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
6891 ++echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
6892 + esac
6893 +
6894 +-# Some people use a C++ compiler to compile C. Since we use `exit',
6895 +-# in C++ we need to declare it. In case someone uses the same compiler
6896 +-# for both compiling C and C++ we need to have the C++ compiler decide
6897 +-# the declaration of exit, since it's the most demanding environment.
6898 +-cat >conftest.$ac_ext <<_ACEOF
6899 +-#ifndef __cplusplus
6900 +- choke me
6901 +-#endif
6902 +-_ACEOF
6903 +-rm -f conftest.$ac_objext
6904 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6905 +- (eval $ac_compile) 2>conftest.er1
6906 +- ac_status=$?
6907 +- grep -v '^ *+' conftest.er1 >conftest.err
6908 +- rm -f conftest.er1
6909 +- cat conftest.err >&5
6910 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6911 +- (exit $ac_status); } &&
6912 +- { ac_try='test -z "$ac_c_werror_flag"
6913 +- || test ! -s conftest.err'
6914 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6915 +- (eval $ac_try) 2>&5
6916 +- ac_status=$?
6917 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6918 +- (exit $ac_status); }; } &&
6919 +- { ac_try='test -s conftest.$ac_objext'
6920 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6921 +- (eval $ac_try) 2>&5
6922 +- ac_status=$?
6923 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6924 +- (exit $ac_status); }; }; then
6925 +- for ac_declaration in \
6926 +- '' \
6927 +- 'extern "C" void std::exit (int) throw (); using std::exit;' \
6928 +- 'extern "C" void std::exit (int); using std::exit;' \
6929 +- 'extern "C" void exit (int) throw ();' \
6930 +- 'extern "C" void exit (int);' \
6931 +- 'void exit (int);'
6932 ++
6933 ++ac_ext=cpp
6934 ++ac_cpp='$CXXCPP $CPPFLAGS'
6935 ++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6936 ++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6937 ++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6938 ++
6939 ++ac_ext=cpp
6940 ++ac_cpp='$CXXCPP $CPPFLAGS'
6941 ++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6942 ++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6943 ++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6944 ++if test -z "$CXX"; then
6945 ++ if test -n "$CCC"; then
6946 ++ CXX=$CCC
6947 ++ else
6948 ++ if test -n "$ac_tool_prefix"; then
6949 ++ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6950 + do
6951 +- cat >conftest.$ac_ext <<_ACEOF
6952 +-/* confdefs.h. */
6953 +-_ACEOF
6954 +-cat confdefs.h >>conftest.$ac_ext
6955 +-cat >>conftest.$ac_ext <<_ACEOF
6956 +-/* end confdefs.h. */
6957 +-$ac_declaration
6958 +-#include <stdlib.h>
6959 +-int
6960 +-main ()
6961 +-{
6962 +-exit (42);
6963 +- ;
6964 +- return 0;
6965 +-}
6966 +-_ACEOF
6967 +-rm -f conftest.$ac_objext
6968 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6969 +- (eval $ac_compile) 2>conftest.er1
6970 +- ac_status=$?
6971 +- grep -v '^ *+' conftest.er1 >conftest.err
6972 +- rm -f conftest.er1
6973 +- cat conftest.err >&5
6974 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6975 +- (exit $ac_status); } &&
6976 +- { ac_try='test -z "$ac_c_werror_flag"
6977 +- || test ! -s conftest.err'
6978 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6979 +- (eval $ac_try) 2>&5
6980 +- ac_status=$?
6981 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 +- (exit $ac_status); }; } &&
6983 +- { ac_try='test -s conftest.$ac_objext'
6984 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6985 +- (eval $ac_try) 2>&5
6986 +- ac_status=$?
6987 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6988 +- (exit $ac_status); }; }; then
6989 +- :
6990 ++ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6991 ++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6992 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6993 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6994 ++if test "${ac_cv_prog_CXX+set}" = set; then
6995 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
6996 + else
6997 +- echo "$as_me: failed program was:" >&5
6998 +-sed 's/^/| /' conftest.$ac_ext >&5
6999 +-
7000 +-continue
7001 +-fi
7002 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7003 +- cat >conftest.$ac_ext <<_ACEOF
7004 +-/* confdefs.h. */
7005 +-_ACEOF
7006 +-cat confdefs.h >>conftest.$ac_ext
7007 +-cat >>conftest.$ac_ext <<_ACEOF
7008 +-/* end confdefs.h. */
7009 +-$ac_declaration
7010 +-int
7011 +-main ()
7012 +-{
7013 +-exit (42);
7014 +- ;
7015 +- return 0;
7016 +-}
7017 +-_ACEOF
7018 +-rm -f conftest.$ac_objext
7019 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7020 +- (eval $ac_compile) 2>conftest.er1
7021 +- ac_status=$?
7022 +- grep -v '^ *+' conftest.er1 >conftest.err
7023 +- rm -f conftest.er1
7024 +- cat conftest.err >&5
7025 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026 +- (exit $ac_status); } &&
7027 +- { ac_try='test -z "$ac_c_werror_flag"
7028 +- || test ! -s conftest.err'
7029 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7030 +- (eval $ac_try) 2>&5
7031 +- ac_status=$?
7032 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7033 +- (exit $ac_status); }; } &&
7034 +- { ac_try='test -s conftest.$ac_objext'
7035 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7036 +- (eval $ac_try) 2>&5
7037 +- ac_status=$?
7038 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7039 +- (exit $ac_status); }; }; then
7040 +- break
7041 +-else
7042 +- echo "$as_me: failed program was:" >&5
7043 +-sed 's/^/| /' conftest.$ac_ext >&5
7044 +-
7045 +-fi
7046 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7047 +-done
7048 +-rm -f conftest*
7049 +-if test -n "$ac_declaration"; then
7050 +- echo '#ifdef __cplusplus' >>confdefs.h
7051 +- echo $ac_declaration >>confdefs.h
7052 +- echo '#endif' >>confdefs.h
7053 +-fi
7054 +-
7055 +-else
7056 +- echo "$as_me: failed program was:" >&5
7057 +-sed 's/^/| /' conftest.$ac_ext >&5
7058 +-
7059 +-fi
7060 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7061 +-ac_ext=cc
7062 +-ac_cpp='$CXXCPP $CPPFLAGS'
7063 +-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7064 +-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7065 +-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7066 +-
7067 +-ac_ext=cc
7068 +-ac_cpp='$CXXCPP $CPPFLAGS'
7069 +-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7070 +-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7071 +-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7072 +-if test -n "$ac_tool_prefix"; then
7073 +- for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7074 +- do
7075 +- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7076 +-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7077 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
7078 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7079 +-if test "${ac_cv_prog_CXX+set}" = set; then
7080 +- echo $ECHO_N "(cached) $ECHO_C" >&6
7081 +-else
7082 +- if test -n "$CXX"; then
7083 +- ac_cv_prog_CXX="$CXX" # Let the user override the test.
7084 +-else
7085 +-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7086 +-for as_dir in $PATH
7087 +-do
7088 +- IFS=$as_save_IFS
7089 +- test -z "$as_dir" && as_dir=.
7090 +- for ac_exec_ext in '' $ac_executable_extensions; do
7091 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7092 +- ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7093 +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7094 +- break 2
7095 ++ if test -n "$CXX"; then
7096 ++ ac_cv_prog_CXX="$CXX" # Let the user override the test.
7097 ++else
7098 ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7099 ++for as_dir in $PATH
7100 ++do
7101 ++ IFS=$as_save_IFS
7102 ++ test -z "$as_dir" && as_dir=.
7103 ++ for ac_exec_ext in '' $ac_executable_extensions; do
7104 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7105 ++ ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7106 ++ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7107 ++ break 2
7108 + fi
7109 + done
7110 + done
7111 ++IFS=$as_save_IFS
7112 +
7113 + fi
7114 + fi
7115 + CXX=$ac_cv_prog_CXX
7116 + if test -n "$CXX"; then
7117 +- echo "$as_me:$LINENO: result: $CXX" >&5
7118 +-echo "${ECHO_T}$CXX" >&6
7119 ++ { echo "$as_me:$LINENO: result: $CXX" >&5
7120 ++echo "${ECHO_T}$CXX" >&6; }
7121 + else
7122 +- echo "$as_me:$LINENO: result: no" >&5
7123 +-echo "${ECHO_T}no" >&6
7124 ++ { echo "$as_me:$LINENO: result: no" >&5
7125 ++echo "${ECHO_T}no" >&6; }
7126 + fi
7127 +
7128 ++
7129 + test -n "$CXX" && break
7130 + done
7131 + fi
7132 + if test -z "$CXX"; then
7133 + ac_ct_CXX=$CXX
7134 +- for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7135 ++ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7136 + do
7137 + # Extract the first word of "$ac_prog", so it can be a program name with args.
7138 + set dummy $ac_prog; ac_word=$2
7139 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
7140 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7141 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7142 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7143 + if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7144 + echo $ECHO_N "(cached) $ECHO_C" >&6
7145 + else
7146 +@@ -4397,55 +5348,85 @@
7147 + IFS=$as_save_IFS
7148 + test -z "$as_dir" && as_dir=.
7149 + for ac_exec_ext in '' $ac_executable_extensions; do
7150 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7151 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7152 + ac_cv_prog_ac_ct_CXX="$ac_prog"
7153 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7154 + break 2
7155 + fi
7156 + done
7157 + done
7158 ++IFS=$as_save_IFS
7159 +
7160 + fi
7161 + fi
7162 + ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7163 + if test -n "$ac_ct_CXX"; then
7164 +- echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7165 +-echo "${ECHO_T}$ac_ct_CXX" >&6
7166 ++ { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7167 ++echo "${ECHO_T}$ac_ct_CXX" >&6; }
7168 + else
7169 +- echo "$as_me:$LINENO: result: no" >&5
7170 +-echo "${ECHO_T}no" >&6
7171 ++ { echo "$as_me:$LINENO: result: no" >&5
7172 ++echo "${ECHO_T}no" >&6; }
7173 + fi
7174 +
7175 ++
7176 + test -n "$ac_ct_CXX" && break
7177 + done
7178 +-test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
7179 +
7180 ++ if test "x$ac_ct_CXX" = x; then
7181 ++ CXX="g++"
7182 ++ else
7183 ++ case $cross_compiling:$ac_tool_warned in
7184 ++yes:)
7185 ++{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7186 ++whose name does not start with the host triplet. If you think this
7187 ++configuration is useful to you, please write to autoconf@×××.org." >&5
7188 ++echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7189 ++whose name does not start with the host triplet. If you think this
7190 ++configuration is useful to you, please write to autoconf@×××.org." >&2;}
7191 ++ac_tool_warned=yes ;;
7192 ++esac
7193 + CXX=$ac_ct_CXX
7194 + fi
7195 ++fi
7196 +
7197 +-
7198 ++ fi
7199 ++fi
7200 + # Provide some information about the compiler.
7201 +-echo "$as_me:$LINENO:" \
7202 +- "checking for C++ compiler version" >&5
7203 ++echo "$as_me:$LINENO: checking for C++ compiler version" >&5
7204 + ac_compiler=`set X $ac_compile; echo $2`
7205 +-{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7206 +- (eval $ac_compiler --version </dev/null >&5) 2>&5
7207 ++{ (ac_try="$ac_compiler --version >&5"
7208 ++case "(($ac_try" in
7209 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7210 ++ *) ac_try_echo=$ac_try;;
7211 ++esac
7212 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7213 ++ (eval "$ac_compiler --version >&5") 2>&5
7214 + ac_status=$?
7215 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7216 + (exit $ac_status); }
7217 +-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7218 +- (eval $ac_compiler -v </dev/null >&5) 2>&5
7219 ++{ (ac_try="$ac_compiler -v >&5"
7220 ++case "(($ac_try" in
7221 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7222 ++ *) ac_try_echo=$ac_try;;
7223 ++esac
7224 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7225 ++ (eval "$ac_compiler -v >&5") 2>&5
7226 + ac_status=$?
7227 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7228 + (exit $ac_status); }
7229 +-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7230 +- (eval $ac_compiler -V </dev/null >&5) 2>&5
7231 ++{ (ac_try="$ac_compiler -V >&5"
7232 ++case "(($ac_try" in
7233 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7234 ++ *) ac_try_echo=$ac_try;;
7235 ++esac
7236 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7237 ++ (eval "$ac_compiler -V >&5") 2>&5
7238 + ac_status=$?
7239 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7240 + (exit $ac_status); }
7241 +
7242 +-echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7243 +-echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
7244 ++{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7245 ++echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
7246 + if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7247 + echo $ECHO_N "(cached) $ECHO_C" >&6
7248 + else
7249 +@@ -4468,24 +5449,36 @@
7250 + }
7251 + _ACEOF
7252 + rm -f conftest.$ac_objext
7253 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7254 +- (eval $ac_compile) 2>conftest.er1
7255 ++if { (ac_try="$ac_compile"
7256 ++case "(($ac_try" in
7257 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7258 ++ *) ac_try_echo=$ac_try;;
7259 ++esac
7260 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7261 ++ (eval "$ac_compile") 2>conftest.er1
7262 + ac_status=$?
7263 + grep -v '^ *+' conftest.er1 >conftest.err
7264 + rm -f conftest.er1
7265 + cat conftest.err >&5
7266 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7267 + (exit $ac_status); } &&
7268 +- { ac_try='test -z "$ac_cxx_werror_flag"
7269 +- || test ! -s conftest.err'
7270 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7271 +- (eval $ac_try) 2>&5
7272 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7273 ++ { (case "(($ac_try" in
7274 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7275 ++ *) ac_try_echo=$ac_try;;
7276 ++esac
7277 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7278 ++ (eval "$ac_try") 2>&5
7279 + ac_status=$?
7280 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7281 + (exit $ac_status); }; } &&
7282 + { ac_try='test -s conftest.$ac_objext'
7283 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7284 +- (eval $ac_try) 2>&5
7285 ++ { (case "(($ac_try" in
7286 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7287 ++ *) ac_try_echo=$ac_try;;
7288 ++esac
7289 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7290 ++ (eval "$ac_try") 2>&5
7291 + ac_status=$?
7292 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7293 + (exit $ac_status); }; }; then
7294 +@@ -4496,21 +5489,25 @@
7295 +
7296 + ac_compiler_gnu=no
7297 + fi
7298 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7299 ++
7300 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7301 + ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7302 +
7303 + fi
7304 +-echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7305 +-echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
7306 ++{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7307 ++echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
7308 + GXX=`test $ac_compiler_gnu = yes && echo yes`
7309 + ac_test_CXXFLAGS=${CXXFLAGS+set}
7310 + ac_save_CXXFLAGS=$CXXFLAGS
7311 +-CXXFLAGS="-g"
7312 +-echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7313 +-echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
7314 ++{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7315 ++echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
7316 + if test "${ac_cv_prog_cxx_g+set}" = set; then
7317 + echo $ECHO_N "(cached) $ECHO_C" >&6
7318 + else
7319 ++ ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7320 ++ ac_cxx_werror_flag=yes
7321 ++ ac_cv_prog_cxx_g=no
7322 ++ CXXFLAGS="-g"
7323 + cat >conftest.$ac_ext <<_ACEOF
7324 + /* confdefs.h. */
7325 + _ACEOF
7326 +@@ -4527,24 +5524,36 @@
7327 + }
7328 + _ACEOF
7329 + rm -f conftest.$ac_objext
7330 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7331 +- (eval $ac_compile) 2>conftest.er1
7332 ++if { (ac_try="$ac_compile"
7333 ++case "(($ac_try" in
7334 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7335 ++ *) ac_try_echo=$ac_try;;
7336 ++esac
7337 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7338 ++ (eval "$ac_compile") 2>conftest.er1
7339 + ac_status=$?
7340 + grep -v '^ *+' conftest.er1 >conftest.err
7341 + rm -f conftest.er1
7342 + cat conftest.err >&5
7343 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7344 + (exit $ac_status); } &&
7345 +- { ac_try='test -z "$ac_cxx_werror_flag"
7346 +- || test ! -s conftest.err'
7347 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7348 +- (eval $ac_try) 2>&5
7349 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7350 ++ { (case "(($ac_try" in
7351 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7352 ++ *) ac_try_echo=$ac_try;;
7353 ++esac
7354 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7355 ++ (eval "$ac_try") 2>&5
7356 + ac_status=$?
7357 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7358 + (exit $ac_status); }; } &&
7359 + { ac_try='test -s conftest.$ac_objext'
7360 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7361 +- (eval $ac_try) 2>&5
7362 ++ { (case "(($ac_try" in
7363 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7364 ++ *) ac_try_echo=$ac_try;;
7365 ++esac
7366 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7367 ++ (eval "$ac_try") 2>&5
7368 + ac_status=$?
7369 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 + (exit $ac_status); }; }; then
7371 +@@ -4553,70 +5562,53 @@
7372 + echo "$as_me: failed program was:" >&5
7373 + sed 's/^/| /' conftest.$ac_ext >&5
7374 +
7375 +-ac_cv_prog_cxx_g=no
7376 +-fi
7377 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7378 +-fi
7379 +-echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7380 +-echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7381 +-if test "$ac_test_CXXFLAGS" = set; then
7382 +- CXXFLAGS=$ac_save_CXXFLAGS
7383 +-elif test $ac_cv_prog_cxx_g = yes; then
7384 +- if test "$GXX" = yes; then
7385 +- CXXFLAGS="-g -O2"
7386 +- else
7387 +- CXXFLAGS="-g"
7388 +- fi
7389 +-else
7390 +- if test "$GXX" = yes; then
7391 +- CXXFLAGS="-O2"
7392 +- else
7393 +- CXXFLAGS=
7394 +- fi
7395 +-fi
7396 +-for ac_declaration in \
7397 +- '' \
7398 +- 'extern "C" void std::exit (int) throw (); using std::exit;' \
7399 +- 'extern "C" void std::exit (int); using std::exit;' \
7400 +- 'extern "C" void exit (int) throw ();' \
7401 +- 'extern "C" void exit (int);' \
7402 +- 'void exit (int);'
7403 +-do
7404 ++ CXXFLAGS=""
7405 + cat >conftest.$ac_ext <<_ACEOF
7406 + /* confdefs.h. */
7407 + _ACEOF
7408 + cat confdefs.h >>conftest.$ac_ext
7409 + cat >>conftest.$ac_ext <<_ACEOF
7410 + /* end confdefs.h. */
7411 +-$ac_declaration
7412 +-#include <stdlib.h>
7413 ++
7414 + int
7415 + main ()
7416 + {
7417 +-exit (42);
7418 ++
7419 + ;
7420 + return 0;
7421 + }
7422 + _ACEOF
7423 + rm -f conftest.$ac_objext
7424 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7425 +- (eval $ac_compile) 2>conftest.er1
7426 ++if { (ac_try="$ac_compile"
7427 ++case "(($ac_try" in
7428 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7429 ++ *) ac_try_echo=$ac_try;;
7430 ++esac
7431 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7432 ++ (eval "$ac_compile") 2>conftest.er1
7433 + ac_status=$?
7434 + grep -v '^ *+' conftest.er1 >conftest.err
7435 + rm -f conftest.er1
7436 + cat conftest.err >&5
7437 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7438 + (exit $ac_status); } &&
7439 +- { ac_try='test -z "$ac_cxx_werror_flag"
7440 +- || test ! -s conftest.err'
7441 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7442 +- (eval $ac_try) 2>&5
7443 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7444 ++ { (case "(($ac_try" in
7445 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7446 ++ *) ac_try_echo=$ac_try;;
7447 ++esac
7448 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7449 ++ (eval "$ac_try") 2>&5
7450 + ac_status=$?
7451 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7452 + (exit $ac_status); }; } &&
7453 + { ac_try='test -s conftest.$ac_objext'
7454 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7455 +- (eval $ac_try) 2>&5
7456 ++ { (case "(($ac_try" in
7457 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7458 ++ *) ac_try_echo=$ac_try;;
7459 ++esac
7460 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7461 ++ (eval "$ac_try") 2>&5
7462 + ac_status=$?
7463 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7464 + (exit $ac_status); }; }; then
7465 +@@ -4625,62 +5617,92 @@
7466 + echo "$as_me: failed program was:" >&5
7467 + sed 's/^/| /' conftest.$ac_ext >&5
7468 +
7469 +-continue
7470 +-fi
7471 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7472 ++ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7473 ++ CXXFLAGS="-g"
7474 + cat >conftest.$ac_ext <<_ACEOF
7475 + /* confdefs.h. */
7476 + _ACEOF
7477 + cat confdefs.h >>conftest.$ac_ext
7478 + cat >>conftest.$ac_ext <<_ACEOF
7479 + /* end confdefs.h. */
7480 +-$ac_declaration
7481 ++
7482 + int
7483 + main ()
7484 + {
7485 +-exit (42);
7486 ++
7487 + ;
7488 + return 0;
7489 + }
7490 + _ACEOF
7491 + rm -f conftest.$ac_objext
7492 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7493 +- (eval $ac_compile) 2>conftest.er1
7494 ++if { (ac_try="$ac_compile"
7495 ++case "(($ac_try" in
7496 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7497 ++ *) ac_try_echo=$ac_try;;
7498 ++esac
7499 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7500 ++ (eval "$ac_compile") 2>conftest.er1
7501 + ac_status=$?
7502 + grep -v '^ *+' conftest.er1 >conftest.err
7503 + rm -f conftest.er1
7504 + cat conftest.err >&5
7505 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7506 + (exit $ac_status); } &&
7507 +- { ac_try='test -z "$ac_cxx_werror_flag"
7508 +- || test ! -s conftest.err'
7509 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7510 +- (eval $ac_try) 2>&5
7511 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7512 ++ { (case "(($ac_try" in
7513 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7514 ++ *) ac_try_echo=$ac_try;;
7515 ++esac
7516 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7517 ++ (eval "$ac_try") 2>&5
7518 + ac_status=$?
7519 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520 + (exit $ac_status); }; } &&
7521 + { ac_try='test -s conftest.$ac_objext'
7522 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7523 +- (eval $ac_try) 2>&5
7524 ++ { (case "(($ac_try" in
7525 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7526 ++ *) ac_try_echo=$ac_try;;
7527 ++esac
7528 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7529 ++ (eval "$ac_try") 2>&5
7530 + ac_status=$?
7531 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 + (exit $ac_status); }; }; then
7533 +- break
7534 ++ ac_cv_prog_cxx_g=yes
7535 + else
7536 + echo "$as_me: failed program was:" >&5
7537 + sed 's/^/| /' conftest.$ac_ext >&5
7538 +
7539 ++
7540 + fi
7541 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7542 +-done
7543 +-rm -f conftest*
7544 +-if test -n "$ac_declaration"; then
7545 +- echo '#ifdef __cplusplus' >>confdefs.h
7546 +- echo $ac_declaration >>confdefs.h
7547 +- echo '#endif' >>confdefs.h
7548 ++
7549 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7550 + fi
7551 +
7552 +-ac_ext=cc
7553 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7554 ++fi
7555 ++
7556 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7557 ++ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7558 ++fi
7559 ++{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7560 ++echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
7561 ++if test "$ac_test_CXXFLAGS" = set; then
7562 ++ CXXFLAGS=$ac_save_CXXFLAGS
7563 ++elif test $ac_cv_prog_cxx_g = yes; then
7564 ++ if test "$GXX" = yes; then
7565 ++ CXXFLAGS="-g -O2"
7566 ++ else
7567 ++ CXXFLAGS="-g"
7568 ++ fi
7569 ++else
7570 ++ if test "$GXX" = yes; then
7571 ++ CXXFLAGS="-O2"
7572 ++ else
7573 ++ CXXFLAGS=
7574 ++ fi
7575 ++fi
7576 ++ac_ext=cpp
7577 + ac_cpp='$CXXCPP $CPPFLAGS'
7578 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7579 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7580 +@@ -4962,7 +5984,7 @@
7581 + echo "$as_me: WARNING: Proceeding without questions per --without-caution" >&2;} ;;
7582 + * )
7583 + echo "Do you still want to proceed (at your own risk)? [y/N]"
7584 +- read answer
7585 ++ read answer <& 7
7586 + case "$answer" in
7587 + [Yy]* ) { echo "$as_me:$LINENO: WARNING: Proceeding at your own risk..." >&5
7588 + echo "$as_me: WARNING: Proceeding at your own risk..." >&2;} ;;
7589 +@@ -5059,6 +6081,30 @@
7590 + ;;
7591 + * ) NCBIATOMIC_LIB=xncbi ;;
7592 + esac
7593 ++ case "$compiler" in
7594 ++ GCC )
7595 ++ if $CC -v | grep clang >/dev/null; then
7596 ++ :
7597 ++ # Will allegedly support -openmp at some point, but as of 3.4,
7598 ++ # just parses it as specifying an output filename: -o penmp.
7599 ++ else
7600 ++ case "$compiler_version" in
7601 ++ [123]?? | 4[01]? ) ;;
7602 ++ * ) : ${OPENMP_FLAGS=-fopenmp} ;;
7603 ++ esac
7604 ++ fi
7605 ++ ;;
7606 ++ ICC )
7607 ++ : ${OPENMP_FLAGS=-openmp}
7608 ++ ;;
7609 ++ WorkShop* )
7610 ++ : ${OPENMP_FLAGS=-xopenmp=parallel}
7611 ++ ;;
7612 ++ esac
7613 ++ if test "$with_openmp" = yes; then
7614 ++ MT_FLAG="$MT_FLAG $OPENMP_FLAGS"
7615 ++ OPENMP_FLAGS=
7616 ++ fi
7617 + mt_sfx="MT"
7618 + WithFeatures="$WithFeatures${WithFeaturesSep}MT"; WithFeaturesSep=" "
7619 + else
7620 +@@ -5066,6 +6112,7 @@
7621 + MT_FLAG=
7622 + THREAD_LIBS=
7623 + NCBIATOMIC_LIB=
7624 ++ OPENMP_FLAGS=
7625 + mt_sfx=""
7626 + fi
7627 + MT_SFX="${mt_sfx}"
7628 +@@ -5078,11 +6125,19 @@
7629 + APP_LDFLAGS=
7630 + DLL_LDFLAGS=
7631 +
7632 ++### Should go before any test compiler runs
7633 ++
7634 ++cat >>confdefs.h <<\_ACEOF
7635 ++#define _GNU_SOURCE 1
7636 ++_ACEOF
7637 ++
7638 ++
7639 ++
7640 + case "$host_os:$compiler" in
7641 + darwin*:GCC )
7642 +
7643 +-echo "$as_me:$LINENO: checking whether $CC supports -Wl,-rpath" >&5
7644 +-echo $ECHO_N "checking whether $CC supports -Wl,-rpath... $ECHO_C" >&6
7645 ++{ echo "$as_me:$LINENO: checking whether $CC supports -Wl,-rpath" >&5
7646 ++echo $ECHO_N "checking whether $CC supports -Wl,-rpath... $ECHO_C" >&6; }
7647 + if test "${ncbi_cv_prog_cc_wl_rpath+set}" = set; then
7648 + echo $ECHO_N "(cached) $ECHO_C" >&6
7649 + else
7650 +@@ -5104,24 +6159,36 @@
7651 + }
7652 + _ACEOF
7653 + rm -f conftest.$ac_objext conftest$ac_exeext
7654 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7655 +- (eval $ac_link) 2>conftest.er1
7656 ++if { (ac_try="$ac_link"
7657 ++case "(($ac_try" in
7658 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7659 ++ *) ac_try_echo=$ac_try;;
7660 ++esac
7661 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7662 ++ (eval "$ac_link") 2>conftest.er1
7663 + ac_status=$?
7664 + grep -v '^ *+' conftest.er1 >conftest.err
7665 + rm -f conftest.er1
7666 + cat conftest.err >&5
7667 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7668 + (exit $ac_status); } &&
7669 +- { ac_try='test -z "$ac_cxx_werror_flag"
7670 +- || test ! -s conftest.err'
7671 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7672 +- (eval $ac_try) 2>&5
7673 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7674 ++ { (case "(($ac_try" in
7675 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7676 ++ *) ac_try_echo=$ac_try;;
7677 ++esac
7678 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7679 ++ (eval "$ac_try") 2>&5
7680 + ac_status=$?
7681 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682 + (exit $ac_status); }; } &&
7683 + { ac_try='test -s conftest$ac_exeext'
7684 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7685 +- (eval $ac_try) 2>&5
7686 ++ { (case "(($ac_try" in
7687 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7688 ++ *) ac_try_echo=$ac_try;;
7689 ++esac
7690 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7691 ++ (eval "$ac_try") 2>&5
7692 + ac_status=$?
7693 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7694 + (exit $ac_status); }; }; then
7695 +@@ -5132,16 +6199,17 @@
7696 +
7697 + ncbi_cv_prog_cc_wl_rpath=no
7698 + fi
7699 +-rm -f conftest.err conftest.$ac_objext \
7700 ++
7701 ++rm -f core conftest.err conftest.$ac_objext \
7702 + conftest$ac_exeext conftest.$ac_ext
7703 + LDFLAGS=$orig_LDFLAGS
7704 + fi
7705 +-echo "$as_me:$LINENO: result: $ncbi_cv_prog_cc_wl_rpath" >&5
7706 +-echo "${ECHO_T}$ncbi_cv_prog_cc_wl_rpath" >&6
7707 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_prog_cc_wl_rpath" >&5
7708 ++echo "${ECHO_T}$ncbi_cv_prog_cc_wl_rpath" >&6; }
7709 + ;;
7710 + *:GCC | *:ICC )
7711 +- echo "$as_me:$LINENO: checking whether $CC has an option to export all symbols" >&5
7712 +-echo $ECHO_N "checking whether $CC has an option to export all symbols... $ECHO_C" >&6
7713 ++ { echo "$as_me:$LINENO: checking whether $CC has an option to export all symbols" >&5
7714 ++echo $ECHO_N "checking whether $CC has an option to export all symbols... $ECHO_C" >&6; }
7715 + if test "${ncbi_cv_prog_cc_export_all+set}" = set; then
7716 + echo $ECHO_N "(cached) $ECHO_C" >&6
7717 + else
7718 +@@ -5165,24 +6233,36 @@
7719 + }
7720 + _ACEOF
7721 + rm -f conftest.$ac_objext conftest$ac_exeext
7722 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7723 +- (eval $ac_link) 2>conftest.er1
7724 ++if { (ac_try="$ac_link"
7725 ++case "(($ac_try" in
7726 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7727 ++ *) ac_try_echo=$ac_try;;
7728 ++esac
7729 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7730 ++ (eval "$ac_link") 2>conftest.er1
7731 + ac_status=$?
7732 + grep -v '^ *+' conftest.er1 >conftest.err
7733 + rm -f conftest.er1
7734 + cat conftest.err >&5
7735 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7736 + (exit $ac_status); } &&
7737 +- { ac_try='test -z "$ac_cxx_werror_flag"
7738 +- || test ! -s conftest.err'
7739 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7740 +- (eval $ac_try) 2>&5
7741 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7742 ++ { (case "(($ac_try" in
7743 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7744 ++ *) ac_try_echo=$ac_try;;
7745 ++esac
7746 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7747 ++ (eval "$ac_try") 2>&5
7748 + ac_status=$?
7749 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7750 + (exit $ac_status); }; } &&
7751 + { ac_try='test -s conftest$ac_exeext'
7752 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7753 +- (eval $ac_try) 2>&5
7754 ++ { (case "(($ac_try" in
7755 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7756 ++ *) ac_try_echo=$ac_try;;
7757 ++esac
7758 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7759 ++ (eval "$ac_try") 2>&5
7760 + ac_status=$?
7761 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7762 + (exit $ac_status); }; }; then
7763 +@@ -5191,19 +6271,21 @@
7764 + echo "$as_me: failed program was:" >&5
7765 + sed 's/^/| /' conftest.$ac_ext >&5
7766 +
7767 ++
7768 + fi
7769 +-rm -f conftest.err conftest.$ac_objext \
7770 ++
7771 ++rm -f core conftest.err conftest.$ac_objext \
7772 + conftest$ac_exeext conftest.$ac_ext
7773 + test "x$ncbi_cv_prog_cc_export_all" = "xno" || break
7774 + done
7775 + LDFLAGS=$orig_LDFLAGS
7776 + fi
7777 +-echo "$as_me:$LINENO: result: $ncbi_cv_prog_cc_export_all" >&5
7778 +-echo "${ECHO_T}$ncbi_cv_prog_cc_export_all" >&6
7779 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_prog_cc_export_all" >&5
7780 ++echo "${ECHO_T}$ncbi_cv_prog_cc_export_all" >&6; }
7781 + test "$ncbi_cv_prog_cc_export_all" = no || \
7782 + LDFLAGS="$ncbi_cv_prog_cc_export_all $LDFLAGS"
7783 +- echo "$as_me:$LINENO: checking whether $CC supports -Wl,--{en,dis}able-new-dtags" >&5
7784 +-echo $ECHO_N "checking whether $CC supports -Wl,--{en,dis}able-new-dtags... $ECHO_C" >&6
7785 ++ { echo "$as_me:$LINENO: checking whether $CC supports -Wl,--{en,dis}able-new-dtags" >&5
7786 ++echo $ECHO_N "checking whether $CC supports -Wl,--{en,dis}able-new-dtags... $ECHO_C" >&6; }
7787 + if test "${ncbi_cv_prog_cc_new_dtags+set}" = set; then
7788 + echo $ECHO_N "(cached) $ECHO_C" >&6
7789 + else
7790 +@@ -5225,24 +6307,36 @@
7791 + }
7792 + _ACEOF
7793 + rm -f conftest.$ac_objext conftest$ac_exeext
7794 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7795 +- (eval $ac_link) 2>conftest.er1
7796 ++if { (ac_try="$ac_link"
7797 ++case "(($ac_try" in
7798 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7799 ++ *) ac_try_echo=$ac_try;;
7800 ++esac
7801 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7802 ++ (eval "$ac_link") 2>conftest.er1
7803 + ac_status=$?
7804 + grep -v '^ *+' conftest.er1 >conftest.err
7805 + rm -f conftest.er1
7806 + cat conftest.err >&5
7807 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7808 + (exit $ac_status); } &&
7809 +- { ac_try='test -z "$ac_cxx_werror_flag"
7810 +- || test ! -s conftest.err'
7811 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7812 +- (eval $ac_try) 2>&5
7813 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7814 ++ { (case "(($ac_try" in
7815 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7816 ++ *) ac_try_echo=$ac_try;;
7817 ++esac
7818 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7819 ++ (eval "$ac_try") 2>&5
7820 + ac_status=$?
7821 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7822 + (exit $ac_status); }; } &&
7823 + { ac_try='test -s conftest$ac_exeext'
7824 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7825 +- (eval $ac_try) 2>&5
7826 ++ { (case "(($ac_try" in
7827 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7828 ++ *) ac_try_echo=$ac_try;;
7829 ++esac
7830 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7831 ++ (eval "$ac_try") 2>&5
7832 + ac_status=$?
7833 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7834 + (exit $ac_status); }; }; then
7835 +@@ -5253,12 +6347,13 @@
7836 +
7837 + ncbi_cv_prog_cc_new_dtags=no
7838 + fi
7839 +-rm -f conftest.err conftest.$ac_objext \
7840 ++
7841 ++rm -f core conftest.err conftest.$ac_objext \
7842 + conftest$ac_exeext conftest.$ac_ext
7843 + LDFLAGS=$orig_LDFLAGS
7844 + fi
7845 +-echo "$as_me:$LINENO: result: $ncbi_cv_prog_cc_new_dtags" >&5
7846 +-echo "${ECHO_T}$ncbi_cv_prog_cc_new_dtags" >&6
7847 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_prog_cc_new_dtags" >&5
7848 ++echo "${ECHO_T}$ncbi_cv_prog_cc_new_dtags" >&6; }
7849 + if test "$ncbi_cv_prog_cc_new_dtags" = yes; then
7850 + if test "$with_hard_runpath" = yes; then
7851 + LDFLAGS="-Wl,--disable-new-dtags $LDFLAGS"
7852 +@@ -5269,45 +6364,231 @@
7853 + ;;
7854 + esac
7855 +
7856 +-#### Provide default environment setup for known platforms/compilers
7857 +-DEPFLAGS="-M"
7858 +-DEPFLAGS_POST="" # Needed for VisualAge
7859 +-OBJCXX_CXXFLAGS=
7860 +-OBJCXX_LIBS=
7861 +-case "$host_os:$compiler" in
7862 +- solaris2\.6:GCC )
7863 +- echo "GCC compiler is not supported for: $host"
7864 +- compiler=
7865 ++case "$compiler:$compiler_version" in
7866 ++ GCC:4[0-6]? | ICC:1[01]?? )
7867 ++ ncbi_cv_prog_cxx_11=no
7868 ++ ncbi_cv_prog_c_99=no
7869 + ;;
7870 +-
7871 +- solaris*:GCC )
7872 +- CPPFLAGS="-D_XOPEN_SOURCE=500 $CPPFLAGS"
7873 +- STRIP="@:"
7874 ++ ICC:* )
7875 ++ ncbi_cv_prog_c_99='-std=gnu99 -fgnu89-inline'
7876 + ;;
7877 ++esac
7878 +
7879 +- linux*:ICC )
7880 +- # "incomplete type is not allowed" should be an error, not a warning!
7881 +- CFLAGS="-we70 $CFLAGS"
7882 +- CXXFLAGS="-we70 $CXXFLAGS"
7883 +- case "$compiler_version" in
7884 +- 1[1-9]?? ) MATH_LIBS=-Wl,-lm ;; # avoid static libimf in shared libs
7885 ++{ echo "$as_me:$LINENO: checking how to enable C++ '11 features in $CXX" >&5
7886 ++echo $ECHO_N "checking how to enable C++ '11 features in $CXX... $ECHO_C" >&6; }
7887 ++if test "${ncbi_cv_prog_cxx_11+set}" = set; then
7888 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
7889 ++else
7890 ++ orig_CXX=$CXX
7891 ++ ncbi_cv_prog_cxx_11=no
7892 ++ for x in -std=gnu++11 -std=gnu++0x; do
7893 ++ CXX="$orig_CXX $x"
7894 ++ cat >conftest.$ac_ext <<_ACEOF
7895 ++/* confdefs.h. */
7896 ++_ACEOF
7897 ++cat confdefs.h >>conftest.$ac_ext
7898 ++cat >>conftest.$ac_ext <<_ACEOF
7899 ++/* end confdefs.h. */
7900 ++
7901 ++int
7902 ++main ()
7903 ++{
7904 ++
7905 ++ ;
7906 ++ return 0;
7907 ++}
7908 ++_ACEOF
7909 ++rm -f conftest.$ac_objext conftest$ac_exeext
7910 ++if { (ac_try="$ac_link"
7911 ++case "(($ac_try" in
7912 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7913 ++ *) ac_try_echo=$ac_try;;
7914 + esac
7915 +- ;;
7916 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7917 ++ (eval "$ac_link") 2>conftest.er1
7918 ++ ac_status=$?
7919 ++ grep -v '^ *+' conftest.er1 >conftest.err
7920 ++ rm -f conftest.er1
7921 ++ cat conftest.err >&5
7922 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7923 ++ (exit $ac_status); } &&
7924 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7925 ++ { (case "(($ac_try" in
7926 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7927 ++ *) ac_try_echo=$ac_try;;
7928 ++esac
7929 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7930 ++ (eval "$ac_try") 2>&5
7931 ++ ac_status=$?
7932 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7933 ++ (exit $ac_status); }; } &&
7934 ++ { ac_try='test -s conftest$ac_exeext'
7935 ++ { (case "(($ac_try" in
7936 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7937 ++ *) ac_try_echo=$ac_try;;
7938 ++esac
7939 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7940 ++ (eval "$ac_try") 2>&5
7941 ++ ac_status=$?
7942 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7943 ++ (exit $ac_status); }; }; then
7944 ++ ncbi_cv_prog_cxx_11=$x
7945 ++else
7946 ++ echo "$as_me: failed program was:" >&5
7947 ++sed 's/^/| /' conftest.$ac_ext >&5
7948 ++
7949 +
7950 +- irix*:GCC )
7951 +- if test "$with_debug" != "no" ; then
7952 +- LDFLAGS="-LD_LAYOUT:lgot_buffer=32 $LDFLAGS"
7953 + fi
7954 +- ;;
7955 +
7956 +- solaris*:WorkShop* )
7957 +- CPPFLAGS="-D__EXTENSIONS__ $CPPFLAGS"
7958 +- CXXFLAGS="+w +w2 $CXXFLAGS"
7959 +- DEPFLAGS="-xM1"
7960 +- LDFLAGS="-xildoff $LDFLAGS"
7961 +- AR=${AR:="$CXX $MT_FLAG -xar -o"}
7962 +- STRIP="@:"
7963 +- if test "$with_symbols" = "no" -a "$with_profiling" != "yes" \
7964 ++rm -f core conftest.err conftest.$ac_objext \
7965 ++ conftest$ac_exeext conftest.$ac_ext
7966 ++ test "x$ncbi_cv_prog_cxx_11" = "xno" || break
7967 ++ done
7968 ++ CXX=$orig_CXX
7969 ++fi
7970 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_prog_cxx_11" >&5
7971 ++echo "${ECHO_T}$ncbi_cv_prog_cxx_11" >&6; }
7972 ++test "$ncbi_cv_prog_cxx_11" = no || CXX="$CXX $ncbi_cv_prog_cxx_11"
7973 ++
7974 ++ac_ext=c
7975 ++ac_cpp='$CPP $CPPFLAGS'
7976 ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7977 ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7978 ++ac_compiler_gnu=$ac_cv_c_compiler_gnu
7979 ++
7980 ++
7981 ++{ echo "$as_me:$LINENO: checking how to enable C '11 or at least '99 features in $CC" >&5
7982 ++echo $ECHO_N "checking how to enable C '11 or at least '99 features in $CC... $ECHO_C" >&6; }
7983 ++if test "${ncbi_cv_prog_c_99+set}" = set; then
7984 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
7985 ++else
7986 ++ orig_CC=$CC
7987 ++ ncbi_cv_prog_c_99=no
7988 ++ for x in -xc99=all "-std=gnu11 -fgnu89-inline" \
7989 ++ "-std=gnu1x -fgnu89-inline" \
7990 ++ "-std=gnu99 -fgnu89-inline" \
7991 ++ "-std=gnu9x -fgnu89-inline"; do
7992 ++ CC="$orig_CC $x"
7993 ++ cat >conftest.$ac_ext <<_ACEOF
7994 ++/* confdefs.h. */
7995 ++_ACEOF
7996 ++cat confdefs.h >>conftest.$ac_ext
7997 ++cat >>conftest.$ac_ext <<_ACEOF
7998 ++/* end confdefs.h. */
7999 ++
8000 ++int
8001 ++main ()
8002 ++{
8003 ++
8004 ++ ;
8005 ++ return 0;
8006 ++}
8007 ++_ACEOF
8008 ++rm -f conftest.$ac_objext conftest$ac_exeext
8009 ++if { (ac_try="$ac_link"
8010 ++case "(($ac_try" in
8011 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8012 ++ *) ac_try_echo=$ac_try;;
8013 ++esac
8014 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8015 ++ (eval "$ac_link") 2>conftest.er1
8016 ++ ac_status=$?
8017 ++ grep -v '^ *+' conftest.er1 >conftest.err
8018 ++ rm -f conftest.er1
8019 ++ cat conftest.err >&5
8020 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
8021 ++ (exit $ac_status); } &&
8022 ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8023 ++ { (case "(($ac_try" in
8024 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8025 ++ *) ac_try_echo=$ac_try;;
8026 ++esac
8027 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8028 ++ (eval "$ac_try") 2>&5
8029 ++ ac_status=$?
8030 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
8031 ++ (exit $ac_status); }; } &&
8032 ++ { ac_try='test -s conftest$ac_exeext'
8033 ++ { (case "(($ac_try" in
8034 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8035 ++ *) ac_try_echo=$ac_try;;
8036 ++esac
8037 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8038 ++ (eval "$ac_try") 2>&5
8039 ++ ac_status=$?
8040 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
8041 ++ (exit $ac_status); }; }; then
8042 ++ ncbi_cv_prog_c_99=$x
8043 ++else
8044 ++ echo "$as_me: failed program was:" >&5
8045 ++sed 's/^/| /' conftest.$ac_ext >&5
8046 ++
8047 ++
8048 ++fi
8049 ++
8050 ++rm -f core conftest.err conftest.$ac_objext \
8051 ++ conftest$ac_exeext conftest.$ac_ext
8052 ++ test "x$ncbi_cv_prog_c_99" = "xno" || break
8053 ++ done
8054 ++ CC=$orig_CC
8055 ++fi
8056 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_prog_c_99" >&5
8057 ++echo "${ECHO_T}$ncbi_cv_prog_c_99" >&6; }
8058 ++ac_ext=cpp
8059 ++ac_cpp='$CXXCPP $CPPFLAGS'
8060 ++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8061 ++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8062 ++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8063 ++
8064 ++test "$ncbi_cv_prog_c_99" = no || CC="$CC $ncbi_cv_prog_c_99"
8065 ++
8066 ++#### Provide default environment setup for known platforms/compilers
8067 ++DEPFLAGS="-M"
8068 ++DEPFLAGS_POST="" # Needed for VisualAge
8069 ++OBJCXX_CXXFLAGS=
8070 ++OBJCXX_LIBS=
8071 ++case "$host_os:$compiler" in
8072 ++ solaris2\.6:GCC )
8073 ++ echo "GCC compiler is not supported for: $host"
8074 ++ compiler=
8075 ++ ;;
8076 ++
8077 ++ solaris*:GCC )
8078 ++ # On Solaris, GCC defaults to setting _XOPEN_SOURCE (to 500) only
8079 ++ # in C++ mode. Set it for C code as well to ensure consistent
8080 ++ # header behavior, taking care to match the C standard version
8081 ++ # (as enforced by <sys/feature_tests.h>).
8082 ++ case "$ncbi_cv_prog_c_99" in
8083 ++ no) CC="$CC -D_XOPEN_SOURCE=500" ;;
8084 ++ *) CC="$CC -D_XOPEN_SOURCE=600" ;;
8085 ++ esac
8086 ++
8087 ++ STRIP="@:"
8088 ++ ;;
8089 ++
8090 ++ linux*:ICC )
8091 ++ # "incomplete type is not allowed" should be an error, not a warning!
8092 ++ CFLAGS="-we70 $CFLAGS"
8093 ++ CXXFLAGS="-we70 $CXXFLAGS"
8094 ++ case "$compiler_version" in
8095 ++ 1[1-9]?? ) MATH_LIBS=-Wl,-lm ;; # avoid static libimf in shared libs
8096 ++ esac
8097 ++ ;;
8098 ++
8099 ++ irix*:GCC )
8100 ++ if test "$with_debug" != "no" ; then
8101 ++ LDFLAGS="-LD_LAYOUT:lgot_buffer=32 $LDFLAGS"
8102 ++ fi
8103 ++ ;;
8104 ++
8105 ++ solaris*:WorkShop* )
8106 ++ CPPFLAGS="-D__EXTENSIONS__ $CPPFLAGS"
8107 ++ CXXFLAGS="+w +w2 $CXXFLAGS"
8108 ++ DEPFLAGS="-xM1"
8109 ++ LDFLAGS="-xildoff $LDFLAGS"
8110 ++ AR=${AR:="$CXX $MT_FLAG -xar -o"}
8111 ++ STRIP="@:"
8112 ++ if test "$with_symbols" = "no" -a "$with_profiling" != "yes" \
8113 + -a "$with_strip" = "yes" ; then
8114 + LDFLAGS="-s $LDFLAGS"
8115 + fi
8116 +@@ -5424,11 +6705,19 @@
8117 + LDFLAGS="-flat_namespace $LDFLAGS"
8118 +
8119 + if test "$with_ncbi_public" = yes; then
8120 ++ sdks='/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk'
8121 ++ case "$host_os" in
8122 ++ darwin?.* | darwin10.* ) # Mac OS X 10.6.x or older
8123 + TARGET='-mmacosx-version-min=10.5'
8124 +- sdks='/Developer/SDKs/MacOSX10.6.sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk'
8125 ++ sdks="/Developer/SDKs/MacOSX10.6.sdk"
8126 + if test "$with_64:${with_universal-no}" != "yes:no"; then
8127 + sdks="/Developer/SDKs/MacOSX10.5.sdk $sdks"
8128 + fi
8129 ++ ;;
8130 ++ * )
8131 ++ TARGET='-mmacosx-version-min=10.7'
8132 ++ ;;
8133 ++ esac
8134 + for sdk in $sdks; do
8135 + if test -d "$sdk"; then
8136 + TARGET="-isysroot $sdk $TARGET"
8137 +@@ -5494,7 +6783,7 @@
8138 + echo "$as_me: WARNING: Proceeding without questions per --without-caution" >&2;} ;;
8139 + * )
8140 + echo "Do you still want to proceed (at your own risk)? [y/N]"
8141 +- read answer
8142 ++ read answer <& 7
8143 + case "$answer" in
8144 + [Yy]* ) { echo "$as_me:$LINENO: WARNING: Proceeding at your own risk..." >&5
8145 + echo "$as_me: WARNING: Proceeding at your own risk..." >&2;} ;;
8146 +@@ -5698,8 +6987,8 @@
8147 + C_LIBS="$MATH_LIBS $C_LIBS"
8148 +
8149 + if test -n "$with_64"; then
8150 +- echo "$as_me:$LINENO: checking whether this system supports --with(out)-64" >&5
8151 +-echo $ECHO_N "checking whether this system supports --with(out)-64... $ECHO_C" >&6
8152 ++ { echo "$as_me:$LINENO: checking whether this system supports --with(out)-64" >&5
8153 ++echo $ECHO_N "checking whether this system supports --with(out)-64... $ECHO_C" >&6; }
8154 + if test "${ncbi_cv_sys_with64_ok+set}" = set; then
8155 + echo $ECHO_N "(cached) $ECHO_C" >&6
8156 + else
8157 +@@ -5720,24 +7009,36 @@
8158 + }
8159 + _ACEOF
8160 + rm -f conftest.$ac_objext conftest$ac_exeext
8161 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8162 +- (eval $ac_link) 2>conftest.er1
8163 ++if { (ac_try="$ac_link"
8164 ++case "(($ac_try" in
8165 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8166 ++ *) ac_try_echo=$ac_try;;
8167 ++esac
8168 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8169 ++ (eval "$ac_link") 2>conftest.er1
8170 + ac_status=$?
8171 + grep -v '^ *+' conftest.er1 >conftest.err
8172 + rm -f conftest.er1
8173 + cat conftest.err >&5
8174 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8175 + (exit $ac_status); } &&
8176 +- { ac_try='test -z "$ac_cxx_werror_flag"
8177 +- || test ! -s conftest.err'
8178 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8179 +- (eval $ac_try) 2>&5
8180 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8181 ++ { (case "(($ac_try" in
8182 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8183 ++ *) ac_try_echo=$ac_try;;
8184 ++esac
8185 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8186 ++ (eval "$ac_try") 2>&5
8187 + ac_status=$?
8188 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189 + (exit $ac_status); }; } &&
8190 + { ac_try='test -s conftest$ac_exeext'
8191 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8192 +- (eval $ac_try) 2>&5
8193 ++ { (case "(($ac_try" in
8194 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8195 ++ *) ac_try_echo=$ac_try;;
8196 ++esac
8197 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8198 ++ (eval "$ac_try") 2>&5
8199 + ac_status=$?
8200 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8201 + (exit $ac_status); }; }; then
8202 +@@ -5748,11 +7049,12 @@
8203 +
8204 + ncbi_cv_sys_with64_ok=no
8205 + fi
8206 +-rm -f conftest.err conftest.$ac_objext \
8207 ++
8208 ++rm -f core conftest.err conftest.$ac_objext \
8209 + conftest$ac_exeext conftest.$ac_ext
8210 + fi
8211 +-echo "$as_me:$LINENO: result: $ncbi_cv_sys_with64_ok" >&5
8212 +-echo "${ECHO_T}$ncbi_cv_sys_with64_ok" >&6
8213 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_sys_with64_ok" >&5
8214 ++echo "${ECHO_T}$ncbi_cv_sys_with64_ok" >&6; }
8215 + if test "$ncbi_cv_sys_with64_ok" = no; then
8216 + { { echo "$as_me:$LINENO: error: cannot continue; please try different options" >&5
8217 + echo "$as_me: error: cannot continue; please try different options" >&2;}
8218 +@@ -5784,8 +7086,8 @@
8219 + ;;
8220 + GCC:* )
8221 + DEF_FAST_FLAGS="-O3 -finline-functions -fstrict-aliasing"
8222 +- case "$host_os" in
8223 +- freebsd* ) ;;
8224 ++ case "$host_os:$host_cpu:$compiler_version" in
8225 ++ freebsd* | solaris*:*86*:* | *:4[5-9]? | *:[5-9]?? ) ;;
8226 + * ) DEF_FAST_FLAGS="$DEF_FAST_FLAGS -ffast-math" ;;
8227 + esac
8228 + if test "$with_profiling" != "yes"; then
8229 +@@ -5884,13 +7186,9 @@
8230 + solaris* )
8231 + CONF_f_runpath="-R"
8232 + ;;
8233 +- linux*:GCC | *bsd*:GCC | cygwin*:GCC | osf*:GCC )
8234 ++ linux*:[GI]CC | *bsd*:GCC | cygwin*:GCC | osf*:GCC )
8235 + CONF_f_runpath="-Wl,-rpath,"
8236 + ;;
8237 +- linux*:ICC )
8238 +- # trying to use "-Wl,-rpath," here sends "ld" to endless 100% CPU loop
8239 +- CONF_f_runpath="-Xlinker -rpath -Xlinker "
8240 +- ;;
8241 + irix*:* | linux*:KCC | *:Compaq )
8242 + CONF_f_runpath="-rpath "
8243 + ;;
8244 +@@ -5995,8 +7293,11 @@
8245 + LINK="$LINK -Kc++"
8246 + ;;
8247 + ICC:1???:* )
8248 +- APP_LDFLAGS="-static-intel $APP_LDFLAGS"
8249 +- DLL_LDFLAGS="-static-intel -nodefaultlibs $DLL_LDFLAGS"
8250 ++ # Suppress "warning #10237: -lcilkrts linked in dynamically, static
8251 ++ # library not available" which is not a problem in practice due to
8252 ++ # as-needed linkage.
8253 ++ APP_LDFLAGS="-static-intel -diag-disable 10237 $APP_LDFLAGS"
8254 ++ DLL_LDFLAGS="-static-intel -diag-disable 10237 -nodefaultlibs $DLL_LDFLAGS"
8255 + # Redundant for apps, but necessary for plugins to be adequately
8256 + # self-contained, at least on 32-bit Linux.
8257 + LIBS="$LIBS -lstdc++"
8258 +@@ -6043,7 +7344,7 @@
8259 + echo "$as_me: WARNING: Proceeding without questions per --without-caution" >&2;} ;;
8260 + * )
8261 + echo "Do you still want to try build DLLs (at your own risk)? [y/N]"
8262 +- read answer
8263 ++ read answer <& 7
8264 + case "$answer" in
8265 + [Yy]* ) { echo "$as_me:$LINENO: WARNING: Proceeding at your own risk..." >&5
8266 + echo "$as_me: WARNING: Proceeding at your own risk..." >&2;} ;;
8267 +@@ -6138,18 +7439,6 @@
8268 +
8269 + #### Intel compiler:: common flags and definitions
8270 + if test "$compiler" = "ICC" ; then
8271 +- if test -d /usr/local/gcc; then
8272 +- case "$compiler_version:$HOST_CPU" in
8273 +- *:i?86) v=4.4.5 ;;
8274 +- ???:* | 1[01]??:* ) v=4.0.1 ;;
8275 +- *) v=4.4.2 ;;
8276 +- esac
8277 +- gcc=/usr/local/gcc/$v/bin/gcc
8278 +- if test -x $gcc; then
8279 +- CC="$CC -gcc-name=$gcc"
8280 +- CXX="$CXX -gcc-name=$gcc"
8281 +- fi
8282 +- fi
8283 + if test -n "$icc_license" ; then
8284 + icc_CC="$CC"
8285 + icc_CXX="$CXX"
8286 +@@ -6188,8 +7477,8 @@
8287 + GCCPCH="#"
8288 + if test "$compiler" = GCC -a "$with_pch" = "yes" \
8289 + -a "${with_universal-no}" = "no"; then
8290 +- echo "$as_me:$LINENO: checking whether $CXX supports precompiled headers" >&5
8291 +-echo $ECHO_N "checking whether $CXX supports precompiled headers... $ECHO_C" >&6
8292 ++ { echo "$as_me:$LINENO: checking whether $CXX supports precompiled headers" >&5
8293 ++echo $ECHO_N "checking whether $CXX supports precompiled headers... $ECHO_C" >&6; }
8294 + if test "${ncbi_cv_cxx_pch+set}" = set; then
8295 + echo $ECHO_N "(cached) $ECHO_C" >&6
8296 + else
8297 +@@ -6202,8 +7491,8 @@
8298 + ncbi_cv_cxx_pch=no
8299 + fi
8300 + fi
8301 +-echo "$as_me:$LINENO: result: $ncbi_cv_cxx_pch" >&5
8302 +-echo "${ECHO_T}$ncbi_cv_cxx_pch" >&6
8303 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_cxx_pch" >&5
8304 ++echo "${ECHO_T}$ncbi_cv_cxx_pch" >&6; }
8305 + if test "$ncbi_cv_cxx_pch" = "yes"; then
8306 + if test "$Rules" = "rules"; then
8307 + { echo "$as_me:$LINENO: WARNING: Your version of make does not fully support PCH-related dependencies." >&5
8308 +@@ -6216,22 +7505,22 @@
8309 +
8310 +
8311 + #### Tools
8312 +-echo "$as_me:$LINENO: checking whether ln -s works" >&5
8313 +-echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
8314 ++{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
8315 ++echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
8316 + LN_S=$as_ln_s
8317 + if test "$LN_S" = "ln -s"; then
8318 +- echo "$as_me:$LINENO: result: yes" >&5
8319 +-echo "${ECHO_T}yes" >&6
8320 ++ { echo "$as_me:$LINENO: result: yes" >&5
8321 ++echo "${ECHO_T}yes" >&6; }
8322 + else
8323 +- echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8324 +-echo "${ECHO_T}no, using $LN_S" >&6
8325 ++ { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8326 ++echo "${ECHO_T}no, using $LN_S" >&6; }
8327 + fi
8328 +
8329 + if test -n "$ac_tool_prefix"; then
8330 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8331 + set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8332 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
8333 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8334 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8335 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8336 + if test "${ac_cv_prog_RANLIB+set}" = set; then
8337 + echo $ECHO_N "(cached) $ECHO_C" >&6
8338 + else
8339 +@@ -6244,32 +7533,34 @@
8340 + IFS=$as_save_IFS
8341 + test -z "$as_dir" && as_dir=.
8342 + for ac_exec_ext in '' $ac_executable_extensions; do
8343 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8344 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8345 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8346 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8347 + break 2
8348 + fi
8349 + done
8350 + done
8351 ++IFS=$as_save_IFS
8352 +
8353 + fi
8354 + fi
8355 + RANLIB=$ac_cv_prog_RANLIB
8356 + if test -n "$RANLIB"; then
8357 +- echo "$as_me:$LINENO: result: $RANLIB" >&5
8358 +-echo "${ECHO_T}$RANLIB" >&6
8359 ++ { echo "$as_me:$LINENO: result: $RANLIB" >&5
8360 ++echo "${ECHO_T}$RANLIB" >&6; }
8361 + else
8362 +- echo "$as_me:$LINENO: result: no" >&5
8363 +-echo "${ECHO_T}no" >&6
8364 ++ { echo "$as_me:$LINENO: result: no" >&5
8365 ++echo "${ECHO_T}no" >&6; }
8366 + fi
8367 +
8368 ++
8369 + fi
8370 + if test -z "$ac_cv_prog_RANLIB"; then
8371 + ac_ct_RANLIB=$RANLIB
8372 + # Extract the first word of "ranlib", so it can be a program name with args.
8373 + set dummy ranlib; ac_word=$2
8374 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
8375 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8376 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8377 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8378 + if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8379 + echo $ECHO_N "(cached) $ECHO_C" >&6
8380 + else
8381 +@@ -6282,35 +7573,49 @@
8382 + IFS=$as_save_IFS
8383 + test -z "$as_dir" && as_dir=.
8384 + for ac_exec_ext in '' $ac_executable_extensions; do
8385 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8386 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8387 + ac_cv_prog_ac_ct_RANLIB="ranlib"
8388 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8389 + break 2
8390 + fi
8391 + done
8392 + done
8393 ++IFS=$as_save_IFS
8394 +
8395 +- test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
8396 + fi
8397 + fi
8398 + ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8399 + if test -n "$ac_ct_RANLIB"; then
8400 +- echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8401 +-echo "${ECHO_T}$ac_ct_RANLIB" >&6
8402 ++ { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8403 ++echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
8404 + else
8405 +- echo "$as_me:$LINENO: result: no" >&5
8406 +-echo "${ECHO_T}no" >&6
8407 ++ { echo "$as_me:$LINENO: result: no" >&5
8408 ++echo "${ECHO_T}no" >&6; }
8409 + fi
8410 +
8411 ++ if test "x$ac_ct_RANLIB" = x; then
8412 ++ RANLIB=":"
8413 ++ else
8414 ++ case $cross_compiling:$ac_tool_warned in
8415 ++yes:)
8416 ++{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8417 ++whose name does not start with the host triplet. If you think this
8418 ++configuration is useful to you, please write to autoconf@×××.org." >&5
8419 ++echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8420 ++whose name does not start with the host triplet. If you think this
8421 ++configuration is useful to you, please write to autoconf@×××.org." >&2;}
8422 ++ac_tool_warned=yes ;;
8423 ++esac
8424 + RANLIB=$ac_ct_RANLIB
8425 ++ fi
8426 + else
8427 + RANLIB="$ac_cv_prog_RANLIB"
8428 + fi
8429 +
8430 + # Extract the first word of "ar", so it can be a program name with args.
8431 + set dummy ar; ac_word=$2
8432 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
8433 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8434 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8435 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8436 + if test "${ac_cv_prog_AR+set}" = set; then
8437 + echo $ECHO_N "(cached) $ECHO_C" >&6
8438 + else
8439 +@@ -6323,29 +7628,31 @@
8440 + IFS=$as_save_IFS
8441 + test -z "$as_dir" && as_dir=.
8442 + for ac_exec_ext in '' $ac_executable_extensions; do
8443 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8444 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8445 + ac_cv_prog_AR="ar cr"
8446 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8447 + break 2
8448 + fi
8449 + done
8450 + done
8451 ++IFS=$as_save_IFS
8452 +
8453 + test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ErrorCannotFind_AR"
8454 + fi
8455 + fi
8456 + AR=$ac_cv_prog_AR
8457 + if test -n "$AR"; then
8458 +- echo "$as_me:$LINENO: result: $AR" >&5
8459 +-echo "${ECHO_T}$AR" >&6
8460 ++ { echo "$as_me:$LINENO: result: $AR" >&5
8461 ++echo "${ECHO_T}$AR" >&6; }
8462 + else
8463 +- echo "$as_me:$LINENO: result: no" >&5
8464 +-echo "${ECHO_T}no" >&6
8465 ++ { echo "$as_me:$LINENO: result: no" >&5
8466 ++echo "${ECHO_T}no" >&6; }
8467 + fi
8468 +
8469 ++
8470 + if test "x$RANLIB" != "x:"; then
8471 +- echo "$as_me:$LINENO: checking ranlib's effectiveness" >&5
8472 +-echo $ECHO_N "checking ranlib's effectiveness... $ECHO_C" >&6
8473 ++ { echo "$as_me:$LINENO: checking ranlib's effectiveness" >&5
8474 ++echo $ECHO_N "checking ranlib's effectiveness... $ECHO_C" >&6; }
8475 + if test "${ncbi_cv_prog_ranlib_effect+set}" = set; then
8476 + echo $ECHO_N "(cached) $ECHO_C" >&6
8477 + else
8478 +@@ -6379,24 +7686,36 @@
8479 + }
8480 + _ACEOF
8481 + rm -f conftest.$ac_objext conftest$ac_exeext
8482 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8483 +- (eval $ac_link) 2>conftest.er1
8484 ++if { (ac_try="$ac_link"
8485 ++case "(($ac_try" in
8486 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8487 ++ *) ac_try_echo=$ac_try;;
8488 ++esac
8489 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8490 ++ (eval "$ac_link") 2>conftest.er1
8491 + ac_status=$?
8492 + grep -v '^ *+' conftest.er1 >conftest.err
8493 + rm -f conftest.er1
8494 + cat conftest.err >&5
8495 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 + (exit $ac_status); } &&
8497 +- { ac_try='test -z "$ac_cxx_werror_flag"
8498 +- || test ! -s conftest.err'
8499 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8500 +- (eval $ac_try) 2>&5
8501 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8502 ++ { (case "(($ac_try" in
8503 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8504 ++ *) ac_try_echo=$ac_try;;
8505 ++esac
8506 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8507 ++ (eval "$ac_try") 2>&5
8508 + ac_status=$?
8509 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8510 + (exit $ac_status); }; } &&
8511 + { ac_try='test -s conftest$ac_exeext'
8512 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8513 +- (eval $ac_try) 2>&5
8514 ++ { (case "(($ac_try" in
8515 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8516 ++ *) ac_try_echo=$ac_try;;
8517 ++esac
8518 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8519 ++ (eval "$ac_try") 2>&5
8520 + ac_status=$?
8521 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522 + (exit $ac_status); }; }; then
8523 +@@ -6407,7 +7726,8 @@
8524 +
8525 + ok_without=false
8526 + fi
8527 +-rm -f conftest.err conftest.$ac_objext \
8528 ++
8529 ++rm -f core conftest.err conftest.$ac_objext \
8530 + conftest$ac_exeext conftest.$ac_ext
8531 + echo $RANLIB conftest.a >&5
8532 + $RANLIB conftest.a >&5
8533 +@@ -6427,24 +7747,36 @@
8534 + }
8535 + _ACEOF
8536 + rm -f conftest.$ac_objext conftest$ac_exeext
8537 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8538 +- (eval $ac_link) 2>conftest.er1
8539 ++if { (ac_try="$ac_link"
8540 ++case "(($ac_try" in
8541 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8542 ++ *) ac_try_echo=$ac_try;;
8543 ++esac
8544 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8545 ++ (eval "$ac_link") 2>conftest.er1
8546 + ac_status=$?
8547 + grep -v '^ *+' conftest.er1 >conftest.err
8548 + rm -f conftest.er1
8549 + cat conftest.err >&5
8550 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551 + (exit $ac_status); } &&
8552 +- { ac_try='test -z "$ac_cxx_werror_flag"
8553 +- || test ! -s conftest.err'
8554 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8555 +- (eval $ac_try) 2>&5
8556 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8557 ++ { (case "(($ac_try" in
8558 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8559 ++ *) ac_try_echo=$ac_try;;
8560 ++esac
8561 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8562 ++ (eval "$ac_try") 2>&5
8563 + ac_status=$?
8564 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 + (exit $ac_status); }; } &&
8566 + { ac_try='test -s conftest$ac_exeext'
8567 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8568 +- (eval $ac_try) 2>&5
8569 ++ { (case "(($ac_try" in
8570 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8571 ++ *) ac_try_echo=$ac_try;;
8572 ++esac
8573 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8574 ++ (eval "$ac_try") 2>&5
8575 + ac_status=$?
8576 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8577 + (exit $ac_status); }; }; then
8578 +@@ -6455,7 +7787,8 @@
8579 +
8580 + ok_with=false
8581 + fi
8582 +-rm -f conftest.err conftest.$ac_objext \
8583 ++
8584 ++rm -f core conftest.err conftest.$ac_objext \
8585 + conftest$ac_exeext conftest.$ac_ext
8586 + LIBS=$save_LIBS
8587 + case $ok_with:$ok_without in
8588 +@@ -6466,8 +7799,8 @@
8589 + esac
8590 +
8591 + fi
8592 +-echo "$as_me:$LINENO: result: $ncbi_cv_prog_ranlib_effect" >&5
8593 +-echo "${ECHO_T}$ncbi_cv_prog_ranlib_effect" >&6
8594 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_prog_ranlib_effect" >&5
8595 ++echo "${ECHO_T}$ncbi_cv_prog_ranlib_effect" >&6; }
8596 + case "$ncbi_cv_prog_ranlib_effect" in
8597 + negative) RANLIB=: ;;
8598 + unknown)
8599 +@@ -6479,8 +7812,8 @@
8600 + if test "$with_strip" = yes; then
8601 + # Extract the first word of "strip", so it can be a program name with args.
8602 + set dummy strip; ac_word=$2
8603 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
8604 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8605 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8606 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8607 + if test "${ac_cv_prog_STRIP+set}" = set; then
8608 + echo $ECHO_N "(cached) $ECHO_C" >&6
8609 + else
8610 +@@ -6493,28 +7826,30 @@
8611 + IFS=$as_save_IFS
8612 + test -z "$as_dir" && as_dir=.
8613 + for ac_exec_ext in '' $ac_executable_extensions; do
8614 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8615 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8616 + ac_cv_prog_STRIP="strip"
8617 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8618 + break 2
8619 + fi
8620 + done
8621 + done
8622 ++IFS=$as_save_IFS
8623 +
8624 + test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="@:"
8625 + fi
8626 + fi
8627 + STRIP=$ac_cv_prog_STRIP
8628 + if test -n "$STRIP"; then
8629 +- echo "$as_me:$LINENO: result: $STRIP" >&5
8630 +-echo "${ECHO_T}$STRIP" >&6
8631 ++ { echo "$as_me:$LINENO: result: $STRIP" >&5
8632 ++echo "${ECHO_T}$STRIP" >&6; }
8633 + else
8634 +- echo "$as_me:$LINENO: result: no" >&5
8635 +-echo "${ECHO_T}no" >&6
8636 ++ { echo "$as_me:$LINENO: result: no" >&5
8637 ++echo "${ECHO_T}no" >&6; }
8638 + fi
8639 +
8640 +- echo "$as_me:$LINENO: checking whether strip loses runtime type information" >&5
8641 +-echo $ECHO_N "checking whether strip loses runtime type information... $ECHO_C" >&6
8642 ++
8643 ++ { echo "$as_me:$LINENO: checking whether strip loses runtime type information" >&5
8644 ++echo $ECHO_N "checking whether strip loses runtime type information... $ECHO_C" >&6; }
8645 + if test "${ncbi_cv_strip_loses_rtti+set}" = set; then
8646 + echo $ECHO_N "(cached) $ECHO_C" >&6
8647 + else
8648 +@@ -6555,8 +7890,8 @@
8649 + rm -rf conftest*
8650 + fi
8651 + fi
8652 +-echo "$as_me:$LINENO: result: $ncbi_cv_strip_loses_rtti" >&5
8653 +-echo "${ECHO_T}$ncbi_cv_strip_loses_rtti" >&6
8654 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_strip_loses_rtti" >&5
8655 ++echo "${ECHO_T}$ncbi_cv_strip_loses_rtti" >&6; }
8656 + if test "$ncbi_cv_strip_loses_rtti" = "yes"; then
8657 + case "$with_caution" in
8658 + yes )
8659 +@@ -6568,7 +7903,7 @@
8660 + echo "$as_me: WARNING: Proceeding without questions per --without-caution" >&2;} ;;
8661 + * )
8662 + echo "Do you still want to proceed (at your own risk)? [y/N]"
8663 +- read answer
8664 ++ read answer <& 7
8665 + case "$answer" in
8666 + [Yy]* ) { echo "$as_me:$LINENO: WARNING: Proceeding at your own risk..." >&5
8667 + echo "$as_me: WARNING: Proceeding at your own risk..." >&2;} ;;
8668 +@@ -6595,8 +7930,8 @@
8669 + if test "$with_distcc" = "yes" ; then
8670 + # Extract the first word of "distcc", so it can be a program name with args.
8671 + set dummy distcc; ac_word=$2
8672 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
8673 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8674 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8675 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8676 + if test "${ac_cv_prog_DISTCC+set}" = set; then
8677 + echo $ECHO_N "(cached) $ECHO_C" >&6
8678 + else
8679 +@@ -6609,25 +7944,27 @@
8680 + IFS=$as_save_IFS
8681 + test -z "$as_dir" && as_dir=.
8682 + for ac_exec_ext in '' $ac_executable_extensions; do
8683 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8684 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8685 + ac_cv_prog_DISTCC="distcc"
8686 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8687 + break 2
8688 + fi
8689 + done
8690 + done
8691 ++IFS=$as_save_IFS
8692 +
8693 + fi
8694 + fi
8695 + DISTCC=$ac_cv_prog_DISTCC
8696 + if test -n "$DISTCC"; then
8697 +- echo "$as_me:$LINENO: result: $DISTCC" >&5
8698 +-echo "${ECHO_T}$DISTCC" >&6
8699 ++ { echo "$as_me:$LINENO: result: $DISTCC" >&5
8700 ++echo "${ECHO_T}$DISTCC" >&6; }
8701 + else
8702 +- echo "$as_me:$LINENO: result: no" >&5
8703 +-echo "${ECHO_T}no" >&6
8704 ++ { echo "$as_me:$LINENO: result: no" >&5
8705 ++echo "${ECHO_T}no" >&6; }
8706 + fi
8707 +
8708 ++
8709 + if test -n "$DISTCC" ; then
8710 + # Test distcc reasonably thoroughly to avoid possible gotchas.
8711 + cat > distcctest.c << EOF
8712 +@@ -6640,8 +7977,8 @@
8713 + EOF
8714 + DISTCC_FALLBACK=0
8715 + export DISTCC_FALLBACK
8716 +- echo "$as_me:$LINENO: checking whether any distcc servers are available" >&5
8717 +-echo $ECHO_N "checking whether any distcc servers are available... $ECHO_C" >&6
8718 ++ { echo "$as_me:$LINENO: checking whether any distcc servers are available" >&5
8719 ++echo $ECHO_N "checking whether any distcc servers are available... $ECHO_C" >&6; }
8720 + if test "${ncbi_cv_prog_distcc_servers+set}" = set; then
8721 + echo $ECHO_N "(cached) $ECHO_C" >&6
8722 + else
8723 +@@ -6660,14 +7997,14 @@
8724 + ncbi_cv_prog_distcc_servers=yes ;;
8725 + esac
8726 + fi
8727 +-echo "$as_me:$LINENO: result: $ncbi_cv_prog_distcc_servers" >&5
8728 +-echo "${ECHO_T}$ncbi_cv_prog_distcc_servers" >&6
8729 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_prog_distcc_servers" >&5
8730 ++echo "${ECHO_T}$ncbi_cv_prog_distcc_servers" >&6; }
8731 + if test "$ncbi_cv_prog_distcc_servers" = no; then
8732 + $as_unset DISTCC || test "${DISTCC+set}" != set || { DISTCC=; export DISTCC; }
8733 + fi
8734 + if test -n "$DISTCC" ; then
8735 +- echo "$as_me:$LINENO: checking whether $DISTCC is compatible with $CC" >&5
8736 +-echo $ECHO_N "checking whether $DISTCC is compatible with $CC... $ECHO_C" >&6
8737 ++ { echo "$as_me:$LINENO: checking whether $DISTCC is compatible with $CC" >&5
8738 ++echo $ECHO_N "checking whether $DISTCC is compatible with $CC... $ECHO_C" >&6; }
8739 + if test "${ncbi_cv_prog_distcc_vs_cc+set}" = set; then
8740 + echo $ECHO_N "(cached) $ECHO_C" >&6
8741 + else
8742 +@@ -6677,8 +8014,8 @@
8743 + ncbi_cv_prog_distcc_vs_cc=no
8744 + fi
8745 + fi
8746 +-echo "$as_me:$LINENO: result: $ncbi_cv_prog_distcc_vs_cc" >&5
8747 +-echo "${ECHO_T}$ncbi_cv_prog_distcc_vs_cc" >&6
8748 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_prog_distcc_vs_cc" >&5
8749 ++echo "${ECHO_T}$ncbi_cv_prog_distcc_vs_cc" >&6; }
8750 + if test "$ncbi_cv_prog_distcc_vs_cc" = yes; then
8751 + CC_WRAPPER="$DISTCC $CC_WRAPPER"
8752 + else
8753 +@@ -6686,8 +8023,8 @@
8754 + fi
8755 + fi
8756 + if test -n "$DISTCC" ; then
8757 +- echo "$as_me:$LINENO: checking whether $DISTCC is compatible with $CXX" >&5
8758 +-echo $ECHO_N "checking whether $DISTCC is compatible with $CXX... $ECHO_C" >&6
8759 ++ { echo "$as_me:$LINENO: checking whether $DISTCC is compatible with $CXX" >&5
8760 ++echo $ECHO_N "checking whether $DISTCC is compatible with $CXX... $ECHO_C" >&6; }
8761 + if test "${ncbi_cv_prog_distcc_vs_cxx+set}" = set; then
8762 + echo $ECHO_N "(cached) $ECHO_C" >&6
8763 + else
8764 +@@ -6698,8 +8035,8 @@
8765 + ncbi_cv_prog_distcc_vs_cxx=no
8766 + fi
8767 + fi
8768 +-echo "$as_me:$LINENO: result: $ncbi_cv_prog_distcc_vs_cxx" >&5
8769 +-echo "${ECHO_T}$ncbi_cv_prog_distcc_vs_cxx" >&6
8770 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_prog_distcc_vs_cxx" >&5
8771 ++echo "${ECHO_T}$ncbi_cv_prog_distcc_vs_cxx" >&6; }
8772 + if test "$ncbi_cv_prog_distcc_vs_cxx" = yes; then
8773 + CXX_WRAPPER="$DISTCC $CXX_WRAPPER"
8774 + else
8775 +@@ -6725,8 +8062,8 @@
8776 + if test "$with_ccache" != "no"; then
8777 + # Extract the first word of "ccache", so it can be a program name with args.
8778 + set dummy ccache; ac_word=$2
8779 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
8780 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8781 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8782 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8783 + if test "${ac_cv_prog_CCACHE+set}" = set; then
8784 + echo $ECHO_N "(cached) $ECHO_C" >&6
8785 + else
8786 +@@ -6739,25 +8076,27 @@
8787 + IFS=$as_save_IFS
8788 + test -z "$as_dir" && as_dir=.
8789 + for ac_exec_ext in '' $ac_executable_extensions; do
8790 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8791 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8792 + ac_cv_prog_CCACHE="ccache"
8793 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8794 + break 2
8795 + fi
8796 + done
8797 + done
8798 ++IFS=$as_save_IFS
8799 +
8800 + fi
8801 + fi
8802 + CCACHE=$ac_cv_prog_CCACHE
8803 + if test -n "$CCACHE"; then
8804 +- echo "$as_me:$LINENO: result: $CCACHE" >&5
8805 +-echo "${ECHO_T}$CCACHE" >&6
8806 ++ { echo "$as_me:$LINENO: result: $CCACHE" >&5
8807 ++echo "${ECHO_T}$CCACHE" >&6; }
8808 + else
8809 +- echo "$as_me:$LINENO: result: no" >&5
8810 +-echo "${ECHO_T}no" >&6
8811 ++ { echo "$as_me:$LINENO: result: no" >&5
8812 ++echo "${ECHO_T}no" >&6; }
8813 + fi
8814 +
8815 ++
8816 + if test -n "$CCACHE" ; then
8817 + if test -n "$CC_WRAPPER"; then
8818 + CC_WRAPPER="CCACHE_PREFIX=$CC_WRAPPER $CCACHE"
8819 +@@ -6778,8 +8117,8 @@
8820 + # Note the path, since syntax is version-specific....
8821 + # Extract the first word of "tail", so it can be a program name with args.
8822 + set dummy tail; ac_word=$2
8823 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
8824 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8825 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8826 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8827 + if test "${ac_cv_path_TAIL+set}" = set; then
8828 + echo $ECHO_N "(cached) $ECHO_C" >&6
8829 + else
8830 +@@ -6794,43 +8133,44 @@
8831 + IFS=$as_save_IFS
8832 + test -z "$as_dir" && as_dir=.
8833 + for ac_exec_ext in '' $ac_executable_extensions; do
8834 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8835 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8836 + ac_cv_path_TAIL="$as_dir/$ac_word$ac_exec_ext"
8837 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8838 + break 2
8839 + fi
8840 + done
8841 + done
8842 ++IFS=$as_save_IFS
8843 +
8844 + ;;
8845 + esac
8846 + fi
8847 + TAIL=$ac_cv_path_TAIL
8848 +-
8849 + if test -n "$TAIL"; then
8850 +- echo "$as_me:$LINENO: result: $TAIL" >&5
8851 +-echo "${ECHO_T}$TAIL" >&6
8852 ++ { echo "$as_me:$LINENO: result: $TAIL" >&5
8853 ++echo "${ECHO_T}$TAIL" >&6; }
8854 + else
8855 +- echo "$as_me:$LINENO: result: no" >&5
8856 +-echo "${ECHO_T}no" >&6
8857 ++ { echo "$as_me:$LINENO: result: no" >&5
8858 ++echo "${ECHO_T}no" >&6; }
8859 + fi
8860 +
8861 +-echo "$as_me:$LINENO: checking whether $TAIL accepts modern syntax (-n N)" >&5
8862 +-echo $ECHO_N "checking whether $TAIL accepts modern syntax (-n N)... $ECHO_C" >&6
8863 ++
8864 ++{ echo "$as_me:$LINENO: checking whether $TAIL accepts modern syntax (-n N)" >&5
8865 ++echo $ECHO_N "checking whether $TAIL accepts modern syntax (-n N)... $ECHO_C" >&6; }
8866 + if $TAIL -n 1 config.log >/dev/null 2>&1; then
8867 + TAIL_N="$TAIL -n "
8868 +- echo "$as_me:$LINENO: result: yes" >&5
8869 +-echo "${ECHO_T}yes" >&6
8870 ++ { echo "$as_me:$LINENO: result: yes" >&5
8871 ++echo "${ECHO_T}yes" >&6; }
8872 + else
8873 + TAIL_N="$TAIL -"
8874 +- echo "$as_me:$LINENO: result: no" >&5
8875 +-echo "${ECHO_T}no" >&6
8876 ++ { echo "$as_me:$LINENO: result: no" >&5
8877 ++echo "${ECHO_T}no" >&6; }
8878 + fi
8879 +
8880 + # Extract the first word of "touch", so it can be a program name with args.
8881 + set dummy touch; ac_word=$2
8882 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
8883 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8884 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8885 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8886 + if test "${ac_cv_path_TOUCH+set}" = set; then
8887 + echo $ECHO_N "(cached) $ECHO_C" >&6
8888 + else
8889 +@@ -6846,44 +8186,192 @@
8890 + IFS=$as_save_IFS
8891 + test -z "$as_dir" && as_dir=.
8892 + for ac_exec_ext in '' $ac_executable_extensions; do
8893 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8894 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8895 + ac_cv_path_TOUCH="$as_dir/$ac_word$ac_exec_ext"
8896 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8897 + break 2
8898 + fi
8899 + done
8900 + done
8901 ++IFS=$as_save_IFS
8902 +
8903 + ;;
8904 + esac
8905 + fi
8906 + TOUCH=$ac_cv_path_TOUCH
8907 +-
8908 + if test -n "$TOUCH"; then
8909 +- echo "$as_me:$LINENO: result: $TOUCH" >&5
8910 +-echo "${ECHO_T}$TOUCH" >&6
8911 ++ { echo "$as_me:$LINENO: result: $TOUCH" >&5
8912 ++echo "${ECHO_T}$TOUCH" >&6; }
8913 ++else
8914 ++ { echo "$as_me:$LINENO: result: no" >&5
8915 ++echo "${ECHO_T}no" >&6; }
8916 ++fi
8917 ++
8918 ++
8919 ++{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
8920 ++echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
8921 ++if test "${ac_cv_path_GREP+set}" = set; then
8922 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
8923 ++else
8924 ++ # Extract the first word of "grep ggrep" to use in msg output
8925 ++if test -z "$GREP"; then
8926 ++set dummy grep ggrep; ac_prog_name=$2
8927 ++if test "${ac_cv_path_GREP+set}" = set; then
8928 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
8929 ++else
8930 ++ ac_path_GREP_found=false
8931 ++# Loop through the user's path and test for each of PROGNAME-LIST
8932 ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8933 ++for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8934 ++do
8935 ++ IFS=$as_save_IFS
8936 ++ test -z "$as_dir" && as_dir=.
8937 ++ for ac_prog in grep ggrep; do
8938 ++ for ac_exec_ext in '' $ac_executable_extensions; do
8939 ++ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
8940 ++ { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
8941 ++ # Check for GNU ac_path_GREP and select it if it is found.
8942 ++ # Check for GNU $ac_path_GREP
8943 ++case `"$ac_path_GREP" --version 2>&1` in
8944 ++*GNU*)
8945 ++ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
8946 ++*)
8947 ++ ac_count=0
8948 ++ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
8949 ++ while :
8950 ++ do
8951 ++ cat "conftest.in" "conftest.in" >"conftest.tmp"
8952 ++ mv "conftest.tmp" "conftest.in"
8953 ++ cp "conftest.in" "conftest.nl"
8954 ++ echo 'GREP' >> "conftest.nl"
8955 ++ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
8956 ++ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8957 ++ ac_count=`expr $ac_count + 1`
8958 ++ if test $ac_count -gt ${ac_path_GREP_max-0}; then
8959 ++ # Best one so far, save it but keep looking for a better one
8960 ++ ac_cv_path_GREP="$ac_path_GREP"
8961 ++ ac_path_GREP_max=$ac_count
8962 ++ fi
8963 ++ # 10*(2^10) chars as input seems more than enough
8964 ++ test $ac_count -gt 10 && break
8965 ++ done
8966 ++ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8967 ++esac
8968 ++
8969 ++
8970 ++ $ac_path_GREP_found && break 3
8971 ++ done
8972 ++done
8973 ++
8974 ++done
8975 ++IFS=$as_save_IFS
8976 ++
8977 ++
8978 ++fi
8979 ++
8980 ++GREP="$ac_cv_path_GREP"
8981 ++if test -z "$GREP"; then
8982 ++ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
8983 ++echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
8984 ++ { (exit 1); exit 1; }; }
8985 ++fi
8986 ++
8987 + else
8988 +- echo "$as_me:$LINENO: result: no" >&5
8989 +-echo "${ECHO_T}no" >&6
8990 ++ ac_cv_path_GREP=$GREP
8991 ++fi
8992 ++
8993 ++
8994 + fi
8995 ++{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
8996 ++echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
8997 ++ GREP="$ac_cv_path_GREP"
8998 +
8999 +-echo "$as_me:$LINENO: checking for egrep" >&5
9000 +-echo $ECHO_N "checking for egrep... $ECHO_C" >&6
9001 +-if test "${ac_cv_prog_egrep+set}" = set; then
9002 ++
9003 ++{ echo "$as_me:$LINENO: checking for egrep" >&5
9004 ++echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
9005 ++if test "${ac_cv_path_EGREP+set}" = set; then
9006 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
9007 ++else
9008 ++ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
9009 ++ then ac_cv_path_EGREP="$GREP -E"
9010 ++ else
9011 ++ # Extract the first word of "egrep" to use in msg output
9012 ++if test -z "$EGREP"; then
9013 ++set dummy egrep; ac_prog_name=$2
9014 ++if test "${ac_cv_path_EGREP+set}" = set; then
9015 + echo $ECHO_N "(cached) $ECHO_C" >&6
9016 + else
9017 +- if echo a | (grep -E '(a|b)') >/dev/null 2>&1
9018 +- then ac_cv_prog_egrep='grep -E'
9019 +- else ac_cv_prog_egrep='egrep'
9020 ++ ac_path_EGREP_found=false
9021 ++# Loop through the user's path and test for each of PROGNAME-LIST
9022 ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9023 ++for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
9024 ++do
9025 ++ IFS=$as_save_IFS
9026 ++ test -z "$as_dir" && as_dir=.
9027 ++ for ac_prog in egrep; do
9028 ++ for ac_exec_ext in '' $ac_executable_extensions; do
9029 ++ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
9030 ++ { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
9031 ++ # Check for GNU ac_path_EGREP and select it if it is found.
9032 ++ # Check for GNU $ac_path_EGREP
9033 ++case `"$ac_path_EGREP" --version 2>&1` in
9034 ++*GNU*)
9035 ++ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
9036 ++*)
9037 ++ ac_count=0
9038 ++ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
9039 ++ while :
9040 ++ do
9041 ++ cat "conftest.in" "conftest.in" >"conftest.tmp"
9042 ++ mv "conftest.tmp" "conftest.in"
9043 ++ cp "conftest.in" "conftest.nl"
9044 ++ echo 'EGREP' >> "conftest.nl"
9045 ++ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
9046 ++ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
9047 ++ ac_count=`expr $ac_count + 1`
9048 ++ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
9049 ++ # Best one so far, save it but keep looking for a better one
9050 ++ ac_cv_path_EGREP="$ac_path_EGREP"
9051 ++ ac_path_EGREP_max=$ac_count
9052 ++ fi
9053 ++ # 10*(2^10) chars as input seems more than enough
9054 ++ test $ac_count -gt 10 && break
9055 ++ done
9056 ++ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
9057 ++esac
9058 ++
9059 ++
9060 ++ $ac_path_EGREP_found && break 3
9061 ++ done
9062 ++done
9063 ++
9064 ++done
9065 ++IFS=$as_save_IFS
9066 ++
9067 ++
9068 ++fi
9069 ++
9070 ++EGREP="$ac_cv_path_EGREP"
9071 ++if test -z "$EGREP"; then
9072 ++ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
9073 ++echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
9074 ++ { (exit 1); exit 1; }; }
9075 ++fi
9076 ++
9077 ++else
9078 ++ ac_cv_path_EGREP=$EGREP
9079 ++fi
9080 ++
9081 ++
9082 + fi
9083 + fi
9084 +-echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
9085 +-echo "${ECHO_T}$ac_cv_prog_egrep" >&6
9086 +- EGREP=$ac_cv_prog_egrep
9087 ++{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
9088 ++echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
9089 ++ EGREP="$ac_cv_path_EGREP"
9090 +
9091 +
9092 +-echo "$as_me:$LINENO: checking how to run $EGREP quietly" >&5
9093 +-echo $ECHO_N "checking how to run $EGREP quietly... $ECHO_C" >&6
9094 ++{ echo "$as_me:$LINENO: checking how to run $EGREP quietly" >&5
9095 ++echo $ECHO_N "checking how to run $EGREP quietly... $ECHO_C" >&6; }
9096 + if test -z "`echo foo | $EGREP -q fo+ 2>>config.log || echo $?`"; then
9097 + EGREP_Q="$EGREP -q"
9098 + elif test -z "`echo foo | $EGREP -s fo+ 2>>config.log || echo $?`"; then
9099 +@@ -6891,13 +8379,13 @@
9100 + else
9101 + EGREP_Q=">/dev/null $EGREP"
9102 + fi
9103 +-echo "$as_me:$LINENO: result: $EGREP_Q" >&5
9104 +-echo "${ECHO_T}$EGREP_Q" >&6
9105 ++{ echo "$as_me:$LINENO: result: $EGREP_Q" >&5
9106 ++echo "${ECHO_T}$EGREP_Q" >&6; }
9107 +
9108 + # Extract the first word of "valgrind", so it can be a program name with args.
9109 + set dummy valgrind; ac_word=$2
9110 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
9111 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9112 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9113 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9114 + if test "${ac_cv_prog_VALGRIND_PATH+set}" = set; then
9115 + echo $ECHO_N "(cached) $ECHO_C" >&6
9116 + else
9117 +@@ -6910,26 +8398,80 @@
9118 + IFS=$as_save_IFS
9119 + test -z "$as_dir" && as_dir=.
9120 + for ac_exec_ext in '' $ac_executable_extensions; do
9121 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9122 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
9123 + ac_cv_prog_VALGRIND_PATH="valgrind"
9124 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9125 + break 2
9126 + fi
9127 + done
9128 + done
9129 ++IFS=$as_save_IFS
9130 +
9131 + fi
9132 + fi
9133 + VALGRIND_PATH=$ac_cv_prog_VALGRIND_PATH
9134 + if test -n "$VALGRIND_PATH"; then
9135 +- echo "$as_me:$LINENO: result: $VALGRIND_PATH" >&5
9136 +-echo "${ECHO_T}$VALGRIND_PATH" >&6
9137 ++ { echo "$as_me:$LINENO: result: $VALGRIND_PATH" >&5
9138 ++echo "${ECHO_T}$VALGRIND_PATH" >&6; }
9139 ++else
9140 ++ { echo "$as_me:$LINENO: result: no" >&5
9141 ++echo "${ECHO_T}no" >&6; }
9142 ++fi
9143 ++
9144 ++
9145 ++
9146 ++# Extract the first word of "ldd", so it can be a program name with args.
9147 ++set dummy ldd; ac_word=$2
9148 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9149 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9150 ++if test "${ac_cv_path_LDD+set}" = set; then
9151 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
9152 + else
9153 +- echo "$as_me:$LINENO: result: no" >&5
9154 +-echo "${ECHO_T}no" >&6
9155 ++ case $LDD in
9156 ++ [\\/]* | ?:[\\/]*)
9157 ++ ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9158 ++ ;;
9159 ++ *)
9160 ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9161 ++for as_dir in $PATH
9162 ++do
9163 ++ IFS=$as_save_IFS
9164 ++ test -z "$as_dir" && as_dir=.
9165 ++ for ac_exec_ext in '' $ac_executable_extensions; do
9166 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
9167 ++ ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
9168 ++ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9169 ++ break 2
9170 ++ fi
9171 ++done
9172 ++done
9173 ++IFS=$as_save_IFS
9174 ++
9175 ++ ;;
9176 ++esac
9177 ++fi
9178 ++LDD=$ac_cv_path_LDD
9179 ++if test -n "$LDD"; then
9180 ++ { echo "$as_me:$LINENO: result: $LDD" >&5
9181 ++echo "${ECHO_T}$LDD" >&6; }
9182 ++else
9183 ++ { echo "$as_me:$LINENO: result: no" >&5
9184 ++echo "${ECHO_T}no" >&6; }
9185 + fi
9186 +
9187 +
9188 ++if test -n "$LDD"; then
9189 ++ { echo "$as_me:$LINENO: checking whether $LDD accepts -r" >&5
9190 ++echo $ECHO_N "checking whether $LDD accepts -r... $ECHO_C" >&6; }
9191 ++ if $LDD -r /bin/ls >/dev/null 2>&1; then
9192 ++ { echo "$as_me:$LINENO: result: yes" >&5
9193 ++echo "${ECHO_T}yes" >&6; }
9194 ++ LDD_R="$LDD -r"
9195 ++ else
9196 ++ { echo "$as_me:$LINENO: result: no" >&5
9197 ++echo "${ECHO_T}no" >&6; }
9198 ++ fi
9199 ++fi
9200 +
9201 + #### Check if "${build_root}" is defined; provide a default one
9202 + if test -n "${with_build_root}" ; then
9203 +@@ -7014,22 +8556,14 @@
9204 + fi
9205 +
9206 +
9207 +-### Should go before any test compiler runs
9208 +-
9209 +-cat >>confdefs.h <<\_ACEOF
9210 +-#define _GNU_SOURCE 1
9211 +-_ACEOF
9212 +-
9213 +-
9214 +-
9215 + #### Determine whether this is implicitly a 64-bit platform
9216 +-ac_ext=cc
9217 ++ac_ext=cpp
9218 + ac_cpp='$CXXCPP $CPPFLAGS'
9219 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9220 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9221 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9222 +-echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
9223 +-echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
9224 ++{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
9225 ++echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
9226 + if test -z "$CXXCPP"; then
9227 + if test "${ac_cv_prog_CXXCPP+set}" = set; then
9228 + echo $ECHO_N "(cached) $ECHO_C" >&6
9229 +@@ -7059,8 +8593,13 @@
9230 + #endif
9231 + Syntax error
9232 + _ACEOF
9233 +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9234 +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9235 ++if { (ac_try="$ac_cpp conftest.$ac_ext"
9236 ++case "(($ac_try" in
9237 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9238 ++ *) ac_try_echo=$ac_try;;
9239 ++esac
9240 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9241 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9242 + ac_status=$?
9243 + grep -v '^ *+' conftest.er1 >conftest.err
9244 + rm -f conftest.er1
9245 +@@ -7085,9 +8624,10 @@
9246 + # Broken: fails on valid input.
9247 + continue
9248 + fi
9249 ++
9250 + rm -f conftest.err conftest.$ac_ext
9251 +
9252 +- # OK, works on sane cases. Now check whether non-existent headers
9253 ++ # OK, works on sane cases. Now check whether nonexistent headers
9254 + # can be detected and how.
9255 + cat >conftest.$ac_ext <<_ACEOF
9256 + /* confdefs.h. */
9257 +@@ -7097,8 +8637,13 @@
9258 + /* end confdefs.h. */
9259 + #include <ac_nonexistent.h>
9260 + _ACEOF
9261 +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9262 +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9263 ++if { (ac_try="$ac_cpp conftest.$ac_ext"
9264 ++case "(($ac_try" in
9265 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9266 ++ *) ac_try_echo=$ac_try;;
9267 ++esac
9268 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9269 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9270 + ac_status=$?
9271 + grep -v '^ *+' conftest.er1 >conftest.err
9272 + rm -f conftest.er1
9273 +@@ -7125,6 +8670,7 @@
9274 + ac_preproc_ok=:
9275 + break
9276 + fi
9277 ++
9278 + rm -f conftest.err conftest.$ac_ext
9279 +
9280 + done
9281 +@@ -7142,8 +8688,8 @@
9282 + else
9283 + ac_cv_prog_CXXCPP=$CXXCPP
9284 + fi
9285 +-echo "$as_me:$LINENO: result: $CXXCPP" >&5
9286 +-echo "${ECHO_T}$CXXCPP" >&6
9287 ++{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
9288 ++echo "${ECHO_T}$CXXCPP" >&6; }
9289 + ac_preproc_ok=false
9290 + for ac_cxx_preproc_warn_flag in '' yes
9291 + do
9292 +@@ -7166,8 +8712,13 @@
9293 + #endif
9294 + Syntax error
9295 + _ACEOF
9296 +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9297 +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9298 ++if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 2>conftest.er1
9305 + ac_status=$?
9306 + grep -v '^ *+' conftest.er1 >conftest.err
9307 + rm -f conftest.er1
9308 +@@ -7192,9 +8743,10 @@
9309 + # Broken: fails on valid input.
9310 + continue
9311 + fi
9312 ++
9313 + rm -f conftest.err conftest.$ac_ext
9314 +
9315 +- # OK, works on sane cases. Now check whether non-existent headers
9316 ++ # OK, works on sane cases. Now check whether nonexistent headers
9317 + # can be detected and how.
9318 + cat >conftest.$ac_ext <<_ACEOF
9319 + /* confdefs.h. */
9320 +@@ -7204,8 +8756,13 @@
9321 + /* end confdefs.h. */
9322 + #include <ac_nonexistent.h>
9323 + _ACEOF
9324 +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9325 +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9326 ++if { (ac_try="$ac_cpp conftest.$ac_ext"
9327 ++case "(($ac_try" in
9328 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9329 ++ *) ac_try_echo=$ac_try;;
9330 ++esac
9331 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9332 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9333 + ac_status=$?
9334 + grep -v '^ *+' conftest.er1 >conftest.err
9335 + rm -f conftest.er1
9336 +@@ -7232,6 +8789,7 @@
9337 + ac_preproc_ok=:
9338 + break
9339 + fi
9340 ++
9341 + rm -f conftest.err conftest.$ac_ext
9342 +
9343 + done
9344 +@@ -7247,15 +8805,15 @@
9345 + { (exit 1); exit 1; }; }
9346 + fi
9347 +
9348 +-ac_ext=cc
9349 ++ac_ext=cpp
9350 + ac_cpp='$CXXCPP $CPPFLAGS'
9351 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9352 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9353 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9354 +
9355 +
9356 +-echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9357 +-echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9358 ++{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9359 ++echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
9360 + if test "${ac_cv_header_stdc+set}" = set; then
9361 + echo $ECHO_N "(cached) $ECHO_C" >&6
9362 + else
9363 +@@ -7279,24 +8837,36 @@
9364 + }
9365 + _ACEOF
9366 + rm -f conftest.$ac_objext
9367 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9368 +- (eval $ac_compile) 2>conftest.er1
9369 ++if { (ac_try="$ac_compile"
9370 ++case "(($ac_try" in
9371 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9372 ++ *) ac_try_echo=$ac_try;;
9373 ++esac
9374 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9375 ++ (eval "$ac_compile") 2>conftest.er1
9376 + ac_status=$?
9377 + grep -v '^ *+' conftest.er1 >conftest.err
9378 + rm -f conftest.er1
9379 + cat conftest.err >&5
9380 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9381 + (exit $ac_status); } &&
9382 +- { ac_try='test -z "$ac_cxx_werror_flag"
9383 +- || test ! -s conftest.err'
9384 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9385 +- (eval $ac_try) 2>&5
9386 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9387 ++ { (case "(($ac_try" in
9388 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9389 ++ *) ac_try_echo=$ac_try;;
9390 ++esac
9391 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9392 ++ (eval "$ac_try") 2>&5
9393 + ac_status=$?
9394 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9395 + (exit $ac_status); }; } &&
9396 + { ac_try='test -s conftest.$ac_objext'
9397 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9398 +- (eval $ac_try) 2>&5
9399 ++ { (case "(($ac_try" in
9400 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9401 ++ *) ac_try_echo=$ac_try;;
9402 ++esac
9403 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9404 ++ (eval "$ac_try") 2>&5
9405 + ac_status=$?
9406 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9407 + (exit $ac_status); }; }; then
9408 +@@ -7307,7 +8877,8 @@
9409 +
9410 + ac_cv_header_stdc=no
9411 + fi
9412 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9413 ++
9414 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9415 +
9416 + if test $ac_cv_header_stdc = yes; then
9417 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9418 +@@ -7363,6 +8934,7 @@
9419 + cat >>conftest.$ac_ext <<_ACEOF
9420 + /* end confdefs.h. */
9421 + #include <ctype.h>
9422 ++#include <stdlib.h>
9423 + #if ((' ' & 0x0FF) == 0x020)
9424 + # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9425 + # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9426 +@@ -7382,18 +8954,27 @@
9427 + for (i = 0; i < 256; i++)
9428 + if (XOR (islower (i), ISLOWER (i))
9429 + || toupper (i) != TOUPPER (i))
9430 +- exit(2);
9431 +- exit (0);
9432 ++ return 2;
9433 ++ return 0;
9434 + }
9435 + _ACEOF
9436 + rm -f conftest$ac_exeext
9437 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9438 +- (eval $ac_link) 2>&5
9439 ++if { (ac_try="$ac_link"
9440 ++case "(($ac_try" in
9441 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9442 ++ *) ac_try_echo=$ac_try;;
9443 ++esac
9444 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9445 ++ (eval "$ac_link") 2>&5
9446 + ac_status=$?
9447 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9448 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9449 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9450 +- (eval $ac_try) 2>&5
9451 ++ { (case "(($ac_try" in
9452 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9453 ++ *) ac_try_echo=$ac_try;;
9454 ++esac
9455 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9456 ++ (eval "$ac_try") 2>&5
9457 + ac_status=$?
9458 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9459 + (exit $ac_status); }; }; then
9460 +@@ -7406,12 +8987,14 @@
9461 + ( exit $ac_status )
9462 + ac_cv_header_stdc=no
9463 + fi
9464 +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9465 ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9466 + fi
9467 ++
9468 ++
9469 + fi
9470 + fi
9471 +-echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9472 +-echo "${ECHO_T}$ac_cv_header_stdc" >&6
9473 ++{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9474 ++echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
9475 + if test $ac_cv_header_stdc = yes; then
9476 +
9477 + cat >>confdefs.h <<\_ACEOF
9478 +@@ -7434,9 +9017,9 @@
9479 + inttypes.h stdint.h unistd.h
9480 + do
9481 + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9482 +-echo "$as_me:$LINENO: checking for $ac_header" >&5
9483 +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9484 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
9485 ++{ echo "$as_me:$LINENO: checking for $ac_header" >&5
9486 ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9487 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9488 + echo $ECHO_N "(cached) $ECHO_C" >&6
9489 + else
9490 + cat >conftest.$ac_ext <<_ACEOF
9491 +@@ -7450,24 +9033,36 @@
9492 + #include <$ac_header>
9493 + _ACEOF
9494 + rm -f conftest.$ac_objext
9495 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9496 +- (eval $ac_compile) 2>conftest.er1
9497 ++if { (ac_try="$ac_compile"
9498 ++case "(($ac_try" in
9499 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9500 ++ *) ac_try_echo=$ac_try;;
9501 ++esac
9502 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9503 ++ (eval "$ac_compile") 2>conftest.er1
9504 + ac_status=$?
9505 + grep -v '^ *+' conftest.er1 >conftest.err
9506 + rm -f conftest.er1
9507 + cat conftest.err >&5
9508 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9509 + (exit $ac_status); } &&
9510 +- { ac_try='test -z "$ac_cxx_werror_flag"
9511 +- || test ! -s conftest.err'
9512 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9513 +- (eval $ac_try) 2>&5
9514 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9515 ++ { (case "(($ac_try" in
9516 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9517 ++ *) ac_try_echo=$ac_try;;
9518 ++esac
9519 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9520 ++ (eval "$ac_try") 2>&5
9521 + ac_status=$?
9522 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 + (exit $ac_status); }; } &&
9524 + { ac_try='test -s conftest.$ac_objext'
9525 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9526 +- (eval $ac_try) 2>&5
9527 ++ { (case "(($ac_try" in
9528 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9529 ++ *) ac_try_echo=$ac_try;;
9530 ++esac
9531 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9532 ++ (eval "$ac_try") 2>&5
9533 + ac_status=$?
9534 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9535 + (exit $ac_status); }; }; then
9536 +@@ -7478,10 +9073,12 @@
9537 +
9538 + eval "$as_ac_Header=no"
9539 + fi
9540 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9541 ++
9542 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9543 + fi
9544 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9545 +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9546 ++ac_res=`eval echo '${'$as_ac_Header'}'`
9547 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
9548 ++echo "${ECHO_T}$ac_res" >&6; }
9549 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
9550 + cat >>confdefs.h <<_ACEOF
9551 + #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9552 +@@ -7492,8 +9089,8 @@
9553 + done
9554 +
9555 +
9556 +-echo "$as_me:$LINENO: checking for size_t" >&5
9557 +-echo $ECHO_N "checking for size_t... $ECHO_C" >&6
9558 ++{ echo "$as_me:$LINENO: checking for size_t" >&5
9559 ++echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
9560 + if test "${ac_cv_type_size_t+set}" = set; then
9561 + echo $ECHO_N "(cached) $ECHO_C" >&6
9562 + else
9563 +@@ -7504,36 +9101,49 @@
9564 + cat >>conftest.$ac_ext <<_ACEOF
9565 + /* end confdefs.h. */
9566 + $ac_includes_default
9567 ++typedef size_t ac__type_new_;
9568 + int
9569 + main ()
9570 + {
9571 +-if ((size_t *) 0)
9572 ++if ((ac__type_new_ *) 0)
9573 + return 0;
9574 +-if (sizeof (size_t))
9575 ++if (sizeof (ac__type_new_))
9576 + return 0;
9577 + ;
9578 + return 0;
9579 + }
9580 + _ACEOF
9581 + rm -f conftest.$ac_objext
9582 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9583 +- (eval $ac_compile) 2>conftest.er1
9584 ++if { (ac_try="$ac_compile"
9585 ++case "(($ac_try" in
9586 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9587 ++ *) ac_try_echo=$ac_try;;
9588 ++esac
9589 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9590 ++ (eval "$ac_compile") 2>conftest.er1
9591 + ac_status=$?
9592 + grep -v '^ *+' conftest.er1 >conftest.err
9593 + rm -f conftest.er1
9594 + cat conftest.err >&5
9595 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9596 + (exit $ac_status); } &&
9597 +- { ac_try='test -z "$ac_cxx_werror_flag"
9598 +- || test ! -s conftest.err'
9599 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9600 +- (eval $ac_try) 2>&5
9601 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9602 ++ { (case "(($ac_try" in
9603 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9604 ++ *) ac_try_echo=$ac_try;;
9605 ++esac
9606 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9607 ++ (eval "$ac_try") 2>&5
9608 + ac_status=$?
9609 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9610 + (exit $ac_status); }; } &&
9611 + { ac_try='test -s conftest.$ac_objext'
9612 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9613 +- (eval $ac_try) 2>&5
9614 ++ { (case "(($ac_try" in
9615 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9616 ++ *) ac_try_echo=$ac_try;;
9617 ++esac
9618 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9619 ++ (eval "$ac_try") 2>&5
9620 + ac_status=$?
9621 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9622 + (exit $ac_status); }; }; then
9623 +@@ -7544,23 +9154,24 @@
9624 +
9625 + ac_cv_type_size_t=no
9626 + fi
9627 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9628 ++
9629 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9630 + fi
9631 +-echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
9632 +-echo "${ECHO_T}$ac_cv_type_size_t" >&6
9633 ++{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
9634 ++echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
9635 + if test $ac_cv_type_size_t = yes; then
9636 + :
9637 + else
9638 +
9639 + cat >>confdefs.h <<_ACEOF
9640 +-#define size_t unsigned
9641 ++#define size_t unsigned int
9642 + _ACEOF
9643 +
9644 + fi
9645 +
9646 + if test "${with_universal-no}" = "no"; then
9647 +- echo "$as_me:$LINENO: checking for size_t" >&5
9648 +-echo $ECHO_N "checking for size_t... $ECHO_C" >&6
9649 ++ { echo "$as_me:$LINENO: checking for size_t" >&5
9650 ++echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
9651 + if test "${ac_cv_type_size_t+set}" = set; then
9652 + echo $ECHO_N "(cached) $ECHO_C" >&6
9653 + else
9654 +@@ -7571,36 +9182,49 @@
9655 + cat >>conftest.$ac_ext <<_ACEOF
9656 + /* end confdefs.h. */
9657 + $ac_includes_default
9658 ++typedef size_t ac__type_new_;
9659 + int
9660 + main ()
9661 + {
9662 +-if ((size_t *) 0)
9663 ++if ((ac__type_new_ *) 0)
9664 + return 0;
9665 +-if (sizeof (size_t))
9666 ++if (sizeof (ac__type_new_))
9667 + return 0;
9668 + ;
9669 + return 0;
9670 + }
9671 + _ACEOF
9672 + rm -f conftest.$ac_objext
9673 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9674 +- (eval $ac_compile) 2>conftest.er1
9675 ++if { (ac_try="$ac_compile"
9676 ++case "(($ac_try" in
9677 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9678 ++ *) ac_try_echo=$ac_try;;
9679 ++esac
9680 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9681 ++ (eval "$ac_compile") 2>conftest.er1
9682 + ac_status=$?
9683 + grep -v '^ *+' conftest.er1 >conftest.err
9684 + rm -f conftest.er1
9685 + cat conftest.err >&5
9686 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687 + (exit $ac_status); } &&
9688 +- { ac_try='test -z "$ac_cxx_werror_flag"
9689 +- || test ! -s conftest.err'
9690 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9691 +- (eval $ac_try) 2>&5
9692 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9693 ++ { (case "(($ac_try" in
9694 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9695 ++ *) ac_try_echo=$ac_try;;
9696 ++esac
9697 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9698 ++ (eval "$ac_try") 2>&5
9699 + ac_status=$?
9700 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9701 + (exit $ac_status); }; } &&
9702 + { ac_try='test -s conftest.$ac_objext'
9703 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9704 +- (eval $ac_try) 2>&5
9705 ++ { (case "(($ac_try" in
9706 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9707 ++ *) ac_try_echo=$ac_try;;
9708 ++esac
9709 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9710 ++ (eval "$ac_try") 2>&5
9711 + ac_status=$?
9712 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713 + (exit $ac_status); }; }; then
9714 +@@ -7611,18 +9235,19 @@
9715 +
9716 + ac_cv_type_size_t=no
9717 + fi
9718 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9719 ++
9720 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9721 + fi
9722 +-echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
9723 +-echo "${ECHO_T}$ac_cv_type_size_t" >&6
9724 ++{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
9725 ++echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
9726 +
9727 +-echo "$as_me:$LINENO: checking size of size_t" >&5
9728 +-echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
9729 ++{ echo "$as_me:$LINENO: checking size of size_t" >&5
9730 ++echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
9731 + if test "${ac_cv_sizeof_size_t+set}" = set; then
9732 + echo $ECHO_N "(cached) $ECHO_C" >&6
9733 + else
9734 + if test "$ac_cv_type_size_t" = yes; then
9735 +- # The cast to unsigned long works around a bug in the HP C Compiler
9736 ++ # The cast to long int works around a bug in the HP C Compiler
9737 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9738 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9739 + # This bug is HP SR number 8606223364.
9740 +@@ -7635,10 +9260,11 @@
9741 + cat >>conftest.$ac_ext <<_ACEOF
9742 + /* end confdefs.h. */
9743 + $ac_includes_default
9744 ++ typedef size_t ac__type_sizeof_;
9745 + int
9746 + main ()
9747 + {
9748 +-static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
9749 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
9750 + test_array [0] = 0
9751 +
9752 + ;
9753 +@@ -7646,24 +9272,36 @@
9754 + }
9755 + _ACEOF
9756 + rm -f conftest.$ac_objext
9757 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9758 +- (eval $ac_compile) 2>conftest.er1
9759 ++if { (ac_try="$ac_compile"
9760 ++case "(($ac_try" in
9761 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9762 ++ *) ac_try_echo=$ac_try;;
9763 ++esac
9764 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9765 ++ (eval "$ac_compile") 2>conftest.er1
9766 + ac_status=$?
9767 + grep -v '^ *+' conftest.er1 >conftest.err
9768 + rm -f conftest.er1
9769 + cat conftest.err >&5
9770 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9771 + (exit $ac_status); } &&
9772 +- { ac_try='test -z "$ac_cxx_werror_flag"
9773 +- || test ! -s conftest.err'
9774 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9775 +- (eval $ac_try) 2>&5
9776 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9777 ++ { (case "(($ac_try" in
9778 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9779 ++ *) ac_try_echo=$ac_try;;
9780 ++esac
9781 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9782 ++ (eval "$ac_try") 2>&5
9783 + ac_status=$?
9784 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 + (exit $ac_status); }; } &&
9786 + { ac_try='test -s conftest.$ac_objext'
9787 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9788 +- (eval $ac_try) 2>&5
9789 ++ { (case "(($ac_try" in
9790 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9791 ++ *) ac_try_echo=$ac_try;;
9792 ++esac
9793 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9794 ++ (eval "$ac_try") 2>&5
9795 + ac_status=$?
9796 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9797 + (exit $ac_status); }; }; then
9798 +@@ -7676,10 +9314,11 @@
9799 + cat >>conftest.$ac_ext <<_ACEOF
9800 + /* end confdefs.h. */
9801 + $ac_includes_default
9802 ++ typedef size_t ac__type_sizeof_;
9803 + int
9804 + main ()
9805 + {
9806 +-static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
9807 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9808 + test_array [0] = 0
9809 +
9810 + ;
9811 +@@ -7687,24 +9326,36 @@
9812 + }
9813 + _ACEOF
9814 + rm -f conftest.$ac_objext
9815 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9816 +- (eval $ac_compile) 2>conftest.er1
9817 ++if { (ac_try="$ac_compile"
9818 ++case "(($ac_try" in
9819 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9820 ++ *) ac_try_echo=$ac_try;;
9821 ++esac
9822 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9823 ++ (eval "$ac_compile") 2>conftest.er1
9824 + ac_status=$?
9825 + grep -v '^ *+' conftest.er1 >conftest.err
9826 + rm -f conftest.er1
9827 + cat conftest.err >&5
9828 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9829 + (exit $ac_status); } &&
9830 +- { ac_try='test -z "$ac_cxx_werror_flag"
9831 +- || test ! -s conftest.err'
9832 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9833 +- (eval $ac_try) 2>&5
9834 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9835 ++ { (case "(($ac_try" in
9836 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9837 ++ *) ac_try_echo=$ac_try;;
9838 ++esac
9839 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9840 ++ (eval "$ac_try") 2>&5
9841 + ac_status=$?
9842 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9843 + (exit $ac_status); }; } &&
9844 + { ac_try='test -s conftest.$ac_objext'
9845 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9846 +- (eval $ac_try) 2>&5
9847 ++ { (case "(($ac_try" in
9848 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9849 ++ *) ac_try_echo=$ac_try;;
9850 ++esac
9851 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9852 ++ (eval "$ac_try") 2>&5
9853 + ac_status=$?
9854 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9855 + (exit $ac_status); }; }; then
9856 +@@ -7720,7 +9371,8 @@
9857 + fi
9858 + ac_mid=`expr 2 '*' $ac_mid + 1`
9859 + fi
9860 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9861 ++
9862 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9863 + done
9864 + else
9865 + echo "$as_me: failed program was:" >&5
9866 +@@ -7733,10 +9385,11 @@
9867 + cat >>conftest.$ac_ext <<_ACEOF
9868 + /* end confdefs.h. */
9869 + $ac_includes_default
9870 ++ typedef size_t ac__type_sizeof_;
9871 + int
9872 + main ()
9873 + {
9874 +-static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
9875 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
9876 + test_array [0] = 0
9877 +
9878 + ;
9879 +@@ -7744,24 +9397,36 @@
9880 + }
9881 + _ACEOF
9882 + rm -f conftest.$ac_objext
9883 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9884 +- (eval $ac_compile) 2>conftest.er1
9885 ++if { (ac_try="$ac_compile"
9886 ++case "(($ac_try" in
9887 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9888 ++ *) ac_try_echo=$ac_try;;
9889 ++esac
9890 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9891 ++ (eval "$ac_compile") 2>conftest.er1
9892 + ac_status=$?
9893 + grep -v '^ *+' conftest.er1 >conftest.err
9894 + rm -f conftest.er1
9895 + cat conftest.err >&5
9896 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9897 + (exit $ac_status); } &&
9898 +- { ac_try='test -z "$ac_cxx_werror_flag"
9899 +- || test ! -s conftest.err'
9900 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9901 +- (eval $ac_try) 2>&5
9902 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9903 ++ { (case "(($ac_try" in
9904 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9905 ++ *) ac_try_echo=$ac_try;;
9906 ++esac
9907 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9908 ++ (eval "$ac_try") 2>&5
9909 + ac_status=$?
9910 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9911 + (exit $ac_status); }; } &&
9912 + { ac_try='test -s conftest.$ac_objext'
9913 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9914 +- (eval $ac_try) 2>&5
9915 ++ { (case "(($ac_try" in
9916 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9917 ++ *) ac_try_echo=$ac_try;;
9918 ++esac
9919 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9920 ++ (eval "$ac_try") 2>&5
9921 + ac_status=$?
9922 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9923 + (exit $ac_status); }; }; then
9924 +@@ -7774,10 +9439,11 @@
9925 + cat >>conftest.$ac_ext <<_ACEOF
9926 + /* end confdefs.h. */
9927 + $ac_includes_default
9928 ++ typedef size_t ac__type_sizeof_;
9929 + int
9930 + main ()
9931 + {
9932 +-static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
9933 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
9934 + test_array [0] = 0
9935 +
9936 + ;
9937 +@@ -7785,24 +9451,36 @@
9938 + }
9939 + _ACEOF
9940 + rm -f conftest.$ac_objext
9941 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9942 +- (eval $ac_compile) 2>conftest.er1
9943 ++if { (ac_try="$ac_compile"
9944 ++case "(($ac_try" in
9945 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9946 ++ *) ac_try_echo=$ac_try;;
9947 ++esac
9948 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9949 ++ (eval "$ac_compile") 2>conftest.er1
9950 + ac_status=$?
9951 + grep -v '^ *+' conftest.er1 >conftest.err
9952 + rm -f conftest.er1
9953 + cat conftest.err >&5
9954 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9955 + (exit $ac_status); } &&
9956 +- { ac_try='test -z "$ac_cxx_werror_flag"
9957 +- || test ! -s conftest.err'
9958 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9959 +- (eval $ac_try) 2>&5
9960 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9961 ++ { (case "(($ac_try" in
9962 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9963 ++ *) ac_try_echo=$ac_try;;
9964 ++esac
9965 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9966 ++ (eval "$ac_try") 2>&5
9967 + ac_status=$?
9968 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9969 + (exit $ac_status); }; } &&
9970 + { ac_try='test -s conftest.$ac_objext'
9971 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9972 +- (eval $ac_try) 2>&5
9973 ++ { (case "(($ac_try" in
9974 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9975 ++ *) ac_try_echo=$ac_try;;
9976 ++esac
9977 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9978 ++ (eval "$ac_try") 2>&5
9979 + ac_status=$?
9980 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9981 + (exit $ac_status); }; }; then
9982 +@@ -7818,7 +9496,8 @@
9983 + fi
9984 + ac_mid=`expr 2 '*' $ac_mid`
9985 + fi
9986 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9987 ++
9988 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9989 + done
9990 + else
9991 + echo "$as_me: failed program was:" >&5
9992 +@@ -7826,9 +9505,11 @@
9993 +
9994 + ac_lo= ac_hi=
9995 + fi
9996 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9997 ++
9998 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9999 + fi
10000 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10001 ++
10002 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10003 + # Binary search between lo and hi bounds.
10004 + while test "x$ac_lo" != "x$ac_hi"; do
10005 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10006 +@@ -7839,10 +9520,11 @@
10007 + cat >>conftest.$ac_ext <<_ACEOF
10008 + /* end confdefs.h. */
10009 + $ac_includes_default
10010 ++ typedef size_t ac__type_sizeof_;
10011 + int
10012 + main ()
10013 + {
10014 +-static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
10015 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
10016 + test_array [0] = 0
10017 +
10018 + ;
10019 +@@ -7850,24 +9532,36 @@
10020 + }
10021 + _ACEOF
10022 + rm -f conftest.$ac_objext
10023 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10024 +- (eval $ac_compile) 2>conftest.er1
10025 ++if { (ac_try="$ac_compile"
10026 ++case "(($ac_try" in
10027 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10028 ++ *) ac_try_echo=$ac_try;;
10029 ++esac
10030 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10031 ++ (eval "$ac_compile") 2>conftest.er1
10032 + ac_status=$?
10033 + grep -v '^ *+' conftest.er1 >conftest.err
10034 + rm -f conftest.er1
10035 + cat conftest.err >&5
10036 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037 + (exit $ac_status); } &&
10038 +- { ac_try='test -z "$ac_cxx_werror_flag"
10039 +- || test ! -s conftest.err'
10040 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10041 +- (eval $ac_try) 2>&5
10042 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10043 ++ { (case "(($ac_try" in
10044 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10045 ++ *) ac_try_echo=$ac_try;;
10046 ++esac
10047 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10048 ++ (eval "$ac_try") 2>&5
10049 + ac_status=$?
10050 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051 + (exit $ac_status); }; } &&
10052 + { ac_try='test -s conftest.$ac_objext'
10053 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10054 +- (eval $ac_try) 2>&5
10055 ++ { (case "(($ac_try" in
10056 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10057 ++ *) ac_try_echo=$ac_try;;
10058 ++esac
10059 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10060 ++ (eval "$ac_try") 2>&5
10061 + ac_status=$?
10062 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10063 + (exit $ac_status); }; }; then
10064 +@@ -7878,24 +9572,18 @@
10065 +
10066 + ac_lo=`expr '(' $ac_mid ')' + 1`
10067 + fi
10068 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10069 ++
10070 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10071 + done
10072 + case $ac_lo in
10073 + ?*) ac_cv_sizeof_size_t=$ac_lo;;
10074 +-'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
10075 ++'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
10076 + See \`config.log' for more details." >&5
10077 +-echo "$as_me: error: cannot compute sizeof (size_t), 77
10078 ++echo "$as_me: error: cannot compute sizeof (size_t)
10079 + See \`config.log' for more details." >&2;}
10080 +- { (exit 1); exit 1; }; } ;;
10081 ++ { (exit 77); exit 77; }; } ;;
10082 + esac
10083 + else
10084 +- if test "$cross_compiling" = yes; then
10085 +- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10086 +-See \`config.log' for more details." >&5
10087 +-echo "$as_me: error: cannot run test program while cross compiling
10088 +-See \`config.log' for more details." >&2;}
10089 +- { (exit 1); exit 1; }; }
10090 +-else
10091 + cat >conftest.$ac_ext <<_ACEOF
10092 + /* confdefs.h. */
10093 + _ACEOF
10094 +@@ -7903,8 +9591,9 @@
10095 + cat >>conftest.$ac_ext <<_ACEOF
10096 + /* end confdefs.h. */
10097 + $ac_includes_default
10098 +-long longval () { return (long) (sizeof (size_t)); }
10099 +-unsigned long ulongval () { return (long) (sizeof (size_t)); }
10100 ++ typedef size_t ac__type_sizeof_;
10101 ++static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
10102 ++static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
10103 + #include <stdio.h>
10104 + #include <stdlib.h>
10105 + int
10106 +@@ -7913,35 +9602,44 @@
10107 +
10108 + FILE *f = fopen ("conftest.val", "w");
10109 + if (! f)
10110 +- exit (1);
10111 +- if (((long) (sizeof (size_t))) < 0)
10112 ++ return 1;
10113 ++ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
10114 + {
10115 +- long i = longval ();
10116 +- if (i != ((long) (sizeof (size_t))))
10117 +- exit (1);
10118 ++ long int i = longval ();
10119 ++ if (i != ((long int) (sizeof (ac__type_sizeof_))))
10120 ++ return 1;
10121 + fprintf (f, "%ld\n", i);
10122 + }
10123 + else
10124 + {
10125 +- unsigned long i = ulongval ();
10126 +- if (i != ((long) (sizeof (size_t))))
10127 +- exit (1);
10128 ++ unsigned long int i = ulongval ();
10129 ++ if (i != ((long int) (sizeof (ac__type_sizeof_))))
10130 ++ return 1;
10131 + fprintf (f, "%lu\n", i);
10132 + }
10133 +- exit (ferror (f) || fclose (f) != 0);
10134 ++ return ferror (f) || fclose (f) != 0;
10135 +
10136 + ;
10137 + return 0;
10138 + }
10139 + _ACEOF
10140 + rm -f conftest$ac_exeext
10141 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10142 +- (eval $ac_link) 2>&5
10143 ++if { (ac_try="$ac_link"
10144 ++case "(($ac_try" in
10145 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10146 ++ *) ac_try_echo=$ac_try;;
10147 ++esac
10148 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10149 ++ (eval "$ac_link") 2>&5
10150 + ac_status=$?
10151 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10152 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10153 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10154 +- (eval $ac_try) 2>&5
10155 ++ { (case "(($ac_try" in
10156 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10157 ++ *) ac_try_echo=$ac_try;;
10158 ++esac
10159 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10160 ++ (eval "$ac_try") 2>&5
10161 + ac_status=$?
10162 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10163 + (exit $ac_status); }; }; then
10164 +@@ -7952,22 +9650,21 @@
10165 + sed 's/^/| /' conftest.$ac_ext >&5
10166 +
10167 + ( exit $ac_status )
10168 +-{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
10169 ++{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
10170 + See \`config.log' for more details." >&5
10171 +-echo "$as_me: error: cannot compute sizeof (size_t), 77
10172 ++echo "$as_me: error: cannot compute sizeof (size_t)
10173 + See \`config.log' for more details." >&2;}
10174 +- { (exit 1); exit 1; }; }
10175 +-fi
10176 +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10177 ++ { (exit 77); exit 77; }; }
10178 + fi
10179 ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10180 + fi
10181 + rm -f conftest.val
10182 + else
10183 + ac_cv_sizeof_size_t=0
10184 + fi
10185 + fi
10186 +-echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
10187 +-echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
10188 ++{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
10189 ++echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
10190 + cat >>confdefs.h <<_ACEOF
10191 + #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
10192 + _ACEOF
10193 +@@ -8006,8 +9703,8 @@
10194 + fi
10195 + # Extract the first word of "tcheck_cl", so it can be a program name with args.
10196 + set dummy tcheck_cl; ac_word=$2
10197 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
10198 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10199 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10200 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10201 + if test "${ac_cv_path_TCHECK_CL+set}" = set; then
10202 + echo $ECHO_N "(cached) $ECHO_C" >&6
10203 + else
10204 +@@ -8023,27 +9720,28 @@
10205 + IFS=$as_save_IFS
10206 + test -z "$as_dir" && as_dir=.
10207 + for ac_exec_ext in '' $ac_executable_extensions; do
10208 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10209 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
10210 + ac_cv_path_TCHECK_CL="$as_dir/$ac_word$ac_exec_ext"
10211 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10212 + break 2
10213 + fi
10214 + done
10215 + done
10216 ++IFS=$as_save_IFS
10217 +
10218 + ;;
10219 + esac
10220 + fi
10221 + TCHECK_CL=$ac_cv_path_TCHECK_CL
10222 +-
10223 + if test -n "$TCHECK_CL"; then
10224 +- echo "$as_me:$LINENO: result: $TCHECK_CL" >&5
10225 +-echo "${ECHO_T}$TCHECK_CL" >&6
10226 ++ { echo "$as_me:$LINENO: result: $TCHECK_CL" >&5
10227 ++echo "${ECHO_T}$TCHECK_CL" >&6; }
10228 + else
10229 +- echo "$as_me:$LINENO: result: no" >&5
10230 +-echo "${ECHO_T}no" >&6
10231 ++ { echo "$as_me:$LINENO: result: no" >&5
10232 ++echo "${ECHO_T}no" >&6; }
10233 + fi
10234 +
10235 ++
10236 + if test -n "$TCHECK_CL"; then
10237 + CFLAGS="$CFLAGS -tcheck -O0"
10238 + CXXFLAGS="$CXXFLAGS -tcheck -O0"
10239 +@@ -8098,8 +9796,8 @@
10240 + #### Try to find a version of pwd that yields /net paths.
10241 + # Extract the first word of "amq", so it can be a program name with args.
10242 + set dummy amq; ac_word=$2
10243 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
10244 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10245 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10246 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10247 + if test "${ac_cv_path_AMQ+set}" = set; then
10248 + echo $ECHO_N "(cached) $ECHO_C" >&6
10249 + else
10250 +@@ -8115,31 +9813,32 @@
10251 + IFS=$as_save_IFS
10252 + test -z "$as_dir" && as_dir=.
10253 + for ac_exec_ext in '' $ac_executable_extensions; do
10254 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10255 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
10256 + ac_cv_path_AMQ="$as_dir/$ac_word$ac_exec_ext"
10257 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10258 + break 2
10259 + fi
10260 + done
10261 + done
10262 ++IFS=$as_save_IFS
10263 +
10264 + ;;
10265 + esac
10266 + fi
10267 + AMQ=$ac_cv_path_AMQ
10268 +-
10269 + if test -n "$AMQ"; then
10270 +- echo "$as_me:$LINENO: result: $AMQ" >&5
10271 +-echo "${ECHO_T}$AMQ" >&6
10272 ++ { echo "$as_me:$LINENO: result: $AMQ" >&5
10273 ++echo "${ECHO_T}$AMQ" >&6; }
10274 + else
10275 +- echo "$as_me:$LINENO: result: no" >&5
10276 +-echo "${ECHO_T}no" >&6
10277 ++ { echo "$as_me:$LINENO: result: no" >&5
10278 ++echo "${ECHO_T}no" >&6; }
10279 + fi
10280 +
10281 ++
10282 + case "$AMQ" in
10283 + */amq)
10284 +- echo "$as_me:$LINENO: checking whether $AMQ -w works" >&5
10285 +-echo $ECHO_N "checking whether $AMQ -w works... $ECHO_C" >&6
10286 ++ { echo "$as_me:$LINENO: checking whether $AMQ -w works" >&5
10287 ++echo $ECHO_N "checking whether $AMQ -w works... $ECHO_C" >&6; }
10288 + if test "${ncbi_cv_prog_amq_w+set}" = set; then
10289 + echo $ECHO_N "(cached) $ECHO_C" >&6
10290 + else
10291 +@@ -8149,8 +9848,8 @@
10292 + ncbi_cv_prog_amq_w=no
10293 + fi
10294 + fi
10295 +-echo "$as_me:$LINENO: result: $ncbi_cv_prog_amq_w" >&5
10296 +-echo "${ECHO_T}$ncbi_cv_prog_amq_w" >&6
10297 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_prog_amq_w" >&5
10298 ++echo "${ECHO_T}$ncbi_cv_prog_amq_w" >&6; }
10299 + if test "$ncbi_cv_prog_amq_w" = yes; then
10300 + smart_pwd="$AMQ -w"
10301 + else
10302 +@@ -8261,7 +9960,7 @@
10303 + fi
10304 + ;;
10305 + *:ICC )
10306 +- runpath="$runpath -Xlinker -rpath-link -Xlinker \$(libdir)"
10307 ++ runpath="$runpath -Wl,-rpath-link,\$(libdir)"
10308 + ;;
10309 + esac
10310 + elif test "$with_runpath" = "yes" -o "$with_dll" != "no" ; then
10311 +@@ -8338,8 +10037,8 @@
10312 + FORBID_UNDEF='-Wl,-error_unresolved'
10313 + ;;
10314 + esac
10315 +- echo "$as_me:$LINENO: checking whether $CC supports -Wl,--no-allow-shlib-undefined" >&5
10316 +-echo $ECHO_N "checking whether $CC supports -Wl,--no-allow-shlib-undefined... $ECHO_C" >&6
10317 ++ { echo "$as_me:$LINENO: checking whether $CC supports -Wl,--no-allow-shlib-undefined" >&5
10318 ++echo $ECHO_N "checking whether $CC supports -Wl,--no-allow-shlib-undefined... $ECHO_C" >&6; }
10319 + if test "${ncbi_cv_prog_cc_wl_no_asu+set}" = set; then
10320 + echo $ECHO_N "(cached) $ECHO_C" >&6
10321 + else
10322 +@@ -8361,24 +10060,36 @@
10323 + }
10324 + _ACEOF
10325 + rm -f conftest.$ac_objext conftest$ac_exeext
10326 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10327 +- (eval $ac_link) 2>conftest.er1
10328 ++if { (ac_try="$ac_link"
10329 ++case "(($ac_try" in
10330 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10331 ++ *) ac_try_echo=$ac_try;;
10332 ++esac
10333 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10334 ++ (eval "$ac_link") 2>conftest.er1
10335 + ac_status=$?
10336 + grep -v '^ *+' conftest.er1 >conftest.err
10337 + rm -f conftest.er1
10338 + cat conftest.err >&5
10339 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 + (exit $ac_status); } &&
10341 +- { ac_try='test -z "$ac_cxx_werror_flag"
10342 +- || test ! -s conftest.err'
10343 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10344 +- (eval $ac_try) 2>&5
10345 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10346 ++ { (case "(($ac_try" in
10347 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10348 ++ *) ac_try_echo=$ac_try;;
10349 ++esac
10350 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10351 ++ (eval "$ac_try") 2>&5
10352 + ac_status=$?
10353 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10354 + (exit $ac_status); }; } &&
10355 + { ac_try='test -s conftest$ac_exeext'
10356 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10357 +- (eval $ac_try) 2>&5
10358 ++ { (case "(($ac_try" in
10359 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10360 ++ *) ac_try_echo=$ac_try;;
10361 ++esac
10362 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10363 ++ (eval "$ac_try") 2>&5
10364 + ac_status=$?
10365 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10366 + (exit $ac_status); }; }; then
10367 +@@ -8389,12 +10100,13 @@
10368 +
10369 + ncbi_cv_prog_cc_wl_no_asu=no
10370 + fi
10371 +-rm -f conftest.err conftest.$ac_objext \
10372 ++
10373 ++rm -f core conftest.err conftest.$ac_objext \
10374 + conftest$ac_exeext conftest.$ac_ext
10375 + LDFLAGS=$orig_LDFLAGS
10376 + fi
10377 +-echo "$as_me:$LINENO: result: $ncbi_cv_prog_cc_wl_no_asu" >&5
10378 +-echo "${ECHO_T}$ncbi_cv_prog_cc_wl_no_asu" >&6
10379 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_prog_cc_wl_no_asu" >&5
10380 ++echo "${ECHO_T}$ncbi_cv_prog_cc_wl_no_asu" >&6; }
10381 + if test "$ncbi_cv_prog_cc_wl_no_asu" = yes; then
10382 + FORBID_UNDEF="$FORBID_UNDEF -Wl,--no-allow-shlib-undefined"
10383 + fi
10384 +@@ -8481,8 +10193,8 @@
10385 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10386 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10387 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
10388 +-echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10389 +-echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10390 ++{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10391 ++echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
10392 + # On Suns, sometimes $CPP names a directory.
10393 + if test -n "$CPP" && test -d "$CPP"; then
10394 + CPP=
10395 +@@ -8516,8 +10228,13 @@
10396 + #endif
10397 + Syntax error
10398 + _ACEOF
10399 +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10400 +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10401 ++if { (ac_try="$ac_cpp conftest.$ac_ext"
10402 ++case "(($ac_try" in
10403 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10404 ++ *) ac_try_echo=$ac_try;;
10405 ++esac
10406 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10407 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10408 + ac_status=$?
10409 + grep -v '^ *+' conftest.er1 >conftest.err
10410 + rm -f conftest.er1
10411 +@@ -8542,9 +10259,10 @@
10412 + # Broken: fails on valid input.
10413 + continue
10414 + fi
10415 ++
10416 + rm -f conftest.err conftest.$ac_ext
10417 +
10418 +- # OK, works on sane cases. Now check whether non-existent headers
10419 ++ # OK, works on sane cases. Now check whether nonexistent headers
10420 + # can be detected and how.
10421 + cat >conftest.$ac_ext <<_ACEOF
10422 + /* confdefs.h. */
10423 +@@ -8554,8 +10272,13 @@
10424 + /* end confdefs.h. */
10425 + #include <ac_nonexistent.h>
10426 + _ACEOF
10427 +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10428 +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10429 ++if { (ac_try="$ac_cpp conftest.$ac_ext"
10430 ++case "(($ac_try" in
10431 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10432 ++ *) ac_try_echo=$ac_try;;
10433 ++esac
10434 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10435 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10436 + ac_status=$?
10437 + grep -v '^ *+' conftest.er1 >conftest.err
10438 + rm -f conftest.er1
10439 +@@ -8582,6 +10305,7 @@
10440 + ac_preproc_ok=:
10441 + break
10442 + fi
10443 ++
10444 + rm -f conftest.err conftest.$ac_ext
10445 +
10446 + done
10447 +@@ -8599,8 +10323,8 @@
10448 + else
10449 + ac_cv_prog_CPP=$CPP
10450 + fi
10451 +-echo "$as_me:$LINENO: result: $CPP" >&5
10452 +-echo "${ECHO_T}$CPP" >&6
10453 ++{ echo "$as_me:$LINENO: result: $CPP" >&5
10454 ++echo "${ECHO_T}$CPP" >&6; }
10455 + ac_preproc_ok=false
10456 + for ac_c_preproc_warn_flag in '' yes
10457 + do
10458 +@@ -8623,8 +10347,13 @@
10459 + #endif
10460 + Syntax error
10461 + _ACEOF
10462 +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10463 +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10464 ++if { (ac_try="$ac_cpp conftest.$ac_ext"
10465 ++case "(($ac_try" in
10466 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10467 ++ *) ac_try_echo=$ac_try;;
10468 ++esac
10469 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10470 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10471 + ac_status=$?
10472 + grep -v '^ *+' conftest.er1 >conftest.err
10473 + rm -f conftest.er1
10474 +@@ -8649,9 +10378,10 @@
10475 + # Broken: fails on valid input.
10476 + continue
10477 + fi
10478 ++
10479 + rm -f conftest.err conftest.$ac_ext
10480 +
10481 +- # OK, works on sane cases. Now check whether non-existent headers
10482 ++ # OK, works on sane cases. Now check whether nonexistent headers
10483 + # can be detected and how.
10484 + cat >conftest.$ac_ext <<_ACEOF
10485 + /* confdefs.h. */
10486 +@@ -8661,8 +10391,13 @@
10487 + /* end confdefs.h. */
10488 + #include <ac_nonexistent.h>
10489 + _ACEOF
10490 +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10491 +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10492 ++if { (ac_try="$ac_cpp conftest.$ac_ext"
10493 ++case "(($ac_try" in
10494 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10495 ++ *) ac_try_echo=$ac_try;;
10496 ++esac
10497 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10498 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10499 + ac_status=$?
10500 + grep -v '^ *+' conftest.er1 >conftest.err
10501 + rm -f conftest.er1
10502 +@@ -8689,6 +10424,7 @@
10503 + ac_preproc_ok=:
10504 + break
10505 + fi
10506 ++
10507 + rm -f conftest.err conftest.$ac_ext
10508 +
10509 + done
10510 +@@ -8704,7 +10440,7 @@
10511 + { (exit 1); exit 1; }; }
10512 + fi
10513 +
10514 +-ac_ext=cc
10515 ++ac_ext=cpp
10516 + ac_cpp='$CXXCPP $CPPFLAGS'
10517 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10518 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10519 +@@ -8898,7 +10634,7 @@
10520 + echo "$as_me: WARNING: Proceeding without questions per --without-caution" >&2;} ;;
10521 + * )
10522 + echo "Do you want to re-configure in \"${builddir}\"? [y/N]"
10523 +- read answer
10524 ++ read answer <& 7
10525 + case "$answer" in
10526 + [Yy]* ) { echo "$as_me:$LINENO: WARNING: Proceeding at your own risk..." >&5
10527 + echo "$as_me: WARNING: Proceeding at your own risk..." >&2;} ;;
10528 +@@ -8939,8 +10675,8 @@
10529 + BINCOPY="cp -p"
10530 + MAC_BINCOPY="/Developer/Tools/CpMac -p"
10531 + if test "$with_bincopy" != "yes"; then
10532 +- echo "$as_me:$LINENO: checking whether cross-directory hard links work" >&5
10533 +-echo $ECHO_N "checking whether cross-directory hard links work... $ECHO_C" >&6
10534 ++ { echo "$as_me:$LINENO: checking whether cross-directory hard links work" >&5
10535 ++echo $ECHO_N "checking whether cross-directory hard links work... $ECHO_C" >&6; }
10536 + if test "${ncbi_cv_sys_xdir_ln+set}" = set; then
10537 + echo $ECHO_N "(cached) $ECHO_C" >&6
10538 + else
10539 +@@ -8953,8 +10689,8 @@
10540 + fi
10541 + rm -rf conftestdir conftestfile
10542 + fi
10543 +-echo "$as_me:$LINENO: result: $ncbi_cv_sys_xdir_ln" >&5
10544 +-echo "${ECHO_T}$ncbi_cv_sys_xdir_ln" >&6
10545 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_sys_xdir_ln" >&5
10546 ++echo "${ECHO_T}$ncbi_cv_sys_xdir_ln" >&6; }
10547 + if test "$ncbi_cv_sys_xdir_ln" = "yes"; then
10548 + BINCOPY="ln -f"
10549 + MAC_BINCOPY="\$(top_srcdir)/scripts/common/impl/ln_mac.sh"
10550 +@@ -8999,15 +10735,30 @@
10551 + dbgrx1="$wsrx-g[^cx$wschars]*$wsrx"
10552 + dbgrx2="$wsrx-gx*coff[0-9+]*$wsrx"
10553 + optrx="$wsrx-x*O[0-9s]*$wsrx"
10554 ++ NDEB_CFLAGS=` echo " $CFLAGS " | sed "s/$dbgrx1/ /g; s/$dbgrx2/ /g"`
10555 ++ NDEB_CXXFLAGS=`echo " $CXXFLAGS " | sed "s/$dbgrx1/ /g; s/$dbgrx2/ /g"`
10556 ++ NDEB_LDFLAGS=` echo " $LDFLAGS " | sed "s/$dbgrx1/ /g; s/$dbgrx2/ /g"`
10557 + if test "$with_symbols" = "no" ; then
10558 +- CFLAGS=` echo " $CFLAGS " | sed "s/$dbgrx1/ /g; s/$dbgrx2/ /g"`
10559 +- CXXFLAGS=`echo " $CXXFLAGS " | sed "s/$dbgrx1/ /g; s/$dbgrx2/ /g"`
10560 +- LDFLAGS=` echo " $LDFLAGS " | sed "s/$dbgrx1/ /g; s/$dbgrx2/ /g"`
10561 ++ CFLAGS=$NDEB_CFLAGS
10562 ++ CXXFLAGS=$NDEB_CXXFLAGS
10563 ++ LDFLAGS=$NDEB_LDFLAGS
10564 + else
10565 + echo " $CFLAGS " | $EGREP_Q "$dbgrx1|$dbgrx2" || CFLAGS="$CFLAGS -g"
10566 + echo " $CXXFLAGS "| $EGREP_Q "$dbgrx1|$dbgrx2" || CXXFLAGS="$CXXFLAGS -g"
10567 + echo " $LDFLAGS " | $EGREP_Q "$dbgrx1|$dbgrx2" || LDFLAGS="$LDFLAGS -g"
10568 + STRIP="@:"
10569 ++ case "$compiler:$compiler_version" in
10570 ++ GCC:4[89]? | GCC:[5-9]? | GCC:???? )
10571 ++ # GCC 4.8 defaults to DWARF 4, which Totalview for one
10572 ++ # can't handle; roll back to version 3 by default.
10573 ++ echo " $USER_CFLAGS " | $EGREP_Q "$dbgrx1|$dbgrx2" || \
10574 ++ CFLAGS="$NDEB_CFLAGS -gdwarf-3"
10575 ++ echo " $USER_CXXFLAGS " | $EGREP_Q "$dbgrx1|$dbgrx2" || \
10576 ++ CXXFLAGS="$NDEB_CXXFLAGS -gdwarf-3"
10577 ++ echo " $USER_LDFLAGS " | $EGREP_Q "$dbgrx1|$dbgrx2" || \
10578 ++ LDFLAGS="$NDEB_LDFLAGS -gdwarf-3"
10579 ++ ;;
10580 ++ esac
10581 + fi
10582 +
10583 + NOPT_CFLAGS=` echo " $CFLAGS " | sed "s/$optrx/ /g"`
10584 +@@ -9056,18 +10807,19 @@
10585 + for ac_header in iostream iostream.h
10586 + do
10587 + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10588 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
10589 +- echo "$as_me:$LINENO: checking for $ac_header" >&5
10590 +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10591 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
10592 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10593 ++ { echo "$as_me:$LINENO: checking for $ac_header" >&5
10594 ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10595 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10596 + echo $ECHO_N "(cached) $ECHO_C" >&6
10597 + fi
10598 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10599 +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10600 ++ac_res=`eval echo '${'$as_ac_Header'}'`
10601 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
10602 ++echo "${ECHO_T}$ac_res" >&6; }
10603 + else
10604 + # Is the header compilable?
10605 +-echo "$as_me:$LINENO: checking $ac_header usability" >&5
10606 +-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10607 ++{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10608 ++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10609 + cat >conftest.$ac_ext <<_ACEOF
10610 + /* confdefs.h. */
10611 + _ACEOF
10612 +@@ -9078,24 +10830,36 @@
10613 + #include <$ac_header>
10614 + _ACEOF
10615 + rm -f conftest.$ac_objext
10616 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10617 +- (eval $ac_compile) 2>conftest.er1
10618 ++if { (ac_try="$ac_compile"
10619 ++case "(($ac_try" in
10620 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10621 ++ *) ac_try_echo=$ac_try;;
10622 ++esac
10623 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10624 ++ (eval "$ac_compile") 2>conftest.er1
10625 + ac_status=$?
10626 + grep -v '^ *+' conftest.er1 >conftest.err
10627 + rm -f conftest.er1
10628 + cat conftest.err >&5
10629 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 + (exit $ac_status); } &&
10631 +- { ac_try='test -z "$ac_cxx_werror_flag"
10632 +- || test ! -s conftest.err'
10633 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10634 +- (eval $ac_try) 2>&5
10635 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10636 ++ { (case "(($ac_try" in
10637 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10638 ++ *) ac_try_echo=$ac_try;;
10639 ++esac
10640 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10641 ++ (eval "$ac_try") 2>&5
10642 + ac_status=$?
10643 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 + (exit $ac_status); }; } &&
10645 + { ac_try='test -s conftest.$ac_objext'
10646 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10647 +- (eval $ac_try) 2>&5
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); }; }; then
10657 +@@ -9106,13 +10870,14 @@
10658 +
10659 + ac_header_compiler=no
10660 + fi
10661 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10662 +-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10663 +-echo "${ECHO_T}$ac_header_compiler" >&6
10664 ++
10665 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10666 ++{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10667 ++echo "${ECHO_T}$ac_header_compiler" >&6; }
10668 +
10669 + # Is the header present?
10670 +-echo "$as_me:$LINENO: checking $ac_header presence" >&5
10671 +-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10672 ++{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10673 ++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10674 + cat >conftest.$ac_ext <<_ACEOF
10675 + /* confdefs.h. */
10676 + _ACEOF
10677 +@@ -9121,8 +10886,13 @@
10678 + /* end confdefs.h. */
10679 + #include <$ac_header>
10680 + _ACEOF
10681 +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10682 +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10683 ++if { (ac_try="$ac_cpp conftest.$ac_ext"
10684 ++case "(($ac_try" in
10685 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10686 ++ *) ac_try_echo=$ac_try;;
10687 ++esac
10688 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10689 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10690 + ac_status=$?
10691 + grep -v '^ *+' conftest.er1 >conftest.err
10692 + rm -f conftest.er1
10693 +@@ -9146,9 +10916,10 @@
10694 +
10695 + ac_header_preproc=no
10696 + fi
10697 ++
10698 + rm -f conftest.err conftest.$ac_ext
10699 +-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10700 +-echo "${ECHO_T}$ac_header_preproc" >&6
10701 ++{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10702 ++echo "${ECHO_T}$ac_header_preproc" >&6; }
10703 +
10704 + # So? What about this header?
10705 + case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10706 +@@ -9172,25 +10943,24 @@
10707 + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10708 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10709 + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10710 +- (
10711 +- cat <<\_ASBOX
10712 ++ ( cat <<\_ASBOX
10713 + ## ---------------------------------------- ##
10714 + ## Report this to cpp-core@××××××××××××.gov ##
10715 + ## ---------------------------------------- ##
10716 + _ASBOX
10717 +- ) |
10718 +- sed "s/^/$as_me: WARNING: /" >&2
10719 ++ ) | sed "s/^/$as_me: WARNING: /" >&2
10720 + ;;
10721 + esac
10722 +-echo "$as_me:$LINENO: checking for $ac_header" >&5
10723 +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10724 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
10725 ++{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10726 ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10727 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10728 + echo $ECHO_N "(cached) $ECHO_C" >&6
10729 + else
10730 + eval "$as_ac_Header=\$ac_header_preproc"
10731 + fi
10732 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10733 +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10734 ++ac_res=`eval echo '${'$as_ac_Header'}'`
10735 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
10736 ++echo "${ECHO_T}$ac_res" >&6; }
10737 +
10738 + fi
10739 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
10740 +@@ -9207,18 +10977,19 @@
10741 + for ac_header in fstream fstream.h
10742 + do
10743 + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10744 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
10745 +- echo "$as_me:$LINENO: checking for $ac_header" >&5
10746 +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10747 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
10748 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10749 ++ { echo "$as_me:$LINENO: checking for $ac_header" >&5
10750 ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10751 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10752 + echo $ECHO_N "(cached) $ECHO_C" >&6
10753 + fi
10754 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10755 +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10756 ++ac_res=`eval echo '${'$as_ac_Header'}'`
10757 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
10758 ++echo "${ECHO_T}$ac_res" >&6; }
10759 + else
10760 + # Is the header compilable?
10761 +-echo "$as_me:$LINENO: checking $ac_header usability" >&5
10762 +-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10763 ++{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10764 ++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10765 + cat >conftest.$ac_ext <<_ACEOF
10766 + /* confdefs.h. */
10767 + _ACEOF
10768 +@@ -9229,24 +11000,36 @@
10769 + #include <$ac_header>
10770 + _ACEOF
10771 + rm -f conftest.$ac_objext
10772 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10773 +- (eval $ac_compile) 2>conftest.er1
10774 ++if { (ac_try="$ac_compile"
10775 ++case "(($ac_try" in
10776 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10777 ++ *) ac_try_echo=$ac_try;;
10778 ++esac
10779 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10780 ++ (eval "$ac_compile") 2>conftest.er1
10781 + ac_status=$?
10782 + grep -v '^ *+' conftest.er1 >conftest.err
10783 + rm -f conftest.er1
10784 + cat conftest.err >&5
10785 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10786 + (exit $ac_status); } &&
10787 +- { ac_try='test -z "$ac_cxx_werror_flag"
10788 +- || test ! -s conftest.err'
10789 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10790 +- (eval $ac_try) 2>&5
10791 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10792 ++ { (case "(($ac_try" in
10793 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10794 ++ *) ac_try_echo=$ac_try;;
10795 ++esac
10796 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10797 ++ (eval "$ac_try") 2>&5
10798 + ac_status=$?
10799 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10800 + (exit $ac_status); }; } &&
10801 + { ac_try='test -s conftest.$ac_objext'
10802 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10803 +- (eval $ac_try) 2>&5
10804 ++ { (case "(($ac_try" in
10805 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10806 ++ *) ac_try_echo=$ac_try;;
10807 ++esac
10808 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10809 ++ (eval "$ac_try") 2>&5
10810 + ac_status=$?
10811 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812 + (exit $ac_status); }; }; then
10813 +@@ -9257,13 +11040,14 @@
10814 +
10815 + ac_header_compiler=no
10816 + fi
10817 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10818 +-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10819 +-echo "${ECHO_T}$ac_header_compiler" >&6
10820 ++
10821 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10822 ++{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10823 ++echo "${ECHO_T}$ac_header_compiler" >&6; }
10824 +
10825 + # Is the header present?
10826 +-echo "$as_me:$LINENO: checking $ac_header presence" >&5
10827 +-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10828 ++{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10829 ++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10830 + cat >conftest.$ac_ext <<_ACEOF
10831 + /* confdefs.h. */
10832 + _ACEOF
10833 +@@ -9272,8 +11056,13 @@
10834 + /* end confdefs.h. */
10835 + #include <$ac_header>
10836 + _ACEOF
10837 +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10838 +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10839 ++if { (ac_try="$ac_cpp conftest.$ac_ext"
10840 ++case "(($ac_try" in
10841 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10842 ++ *) ac_try_echo=$ac_try;;
10843 ++esac
10844 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10845 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10846 + ac_status=$?
10847 + grep -v '^ *+' conftest.er1 >conftest.err
10848 + rm -f conftest.er1
10849 +@@ -9297,9 +11086,10 @@
10850 +
10851 + ac_header_preproc=no
10852 + fi
10853 ++
10854 + rm -f conftest.err conftest.$ac_ext
10855 +-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10856 +-echo "${ECHO_T}$ac_header_preproc" >&6
10857 ++{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10858 ++echo "${ECHO_T}$ac_header_preproc" >&6; }
10859 +
10860 + # So? What about this header?
10861 + case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10862 +@@ -9323,25 +11113,24 @@
10863 + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10864 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10865 + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10866 +- (
10867 +- cat <<\_ASBOX
10868 ++ ( cat <<\_ASBOX
10869 + ## ---------------------------------------- ##
10870 + ## Report this to cpp-core@××××××××××××.gov ##
10871 + ## ---------------------------------------- ##
10872 + _ASBOX
10873 +- ) |
10874 +- sed "s/^/$as_me: WARNING: /" >&2
10875 ++ ) | sed "s/^/$as_me: WARNING: /" >&2
10876 + ;;
10877 + esac
10878 +-echo "$as_me:$LINENO: checking for $ac_header" >&5
10879 +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10880 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
10881 ++{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10882 ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10883 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10884 + echo $ECHO_N "(cached) $ECHO_C" >&6
10885 + else
10886 + eval "$as_ac_Header=\$ac_header_preproc"
10887 + fi
10888 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10889 +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10890 ++ac_res=`eval echo '${'$as_ac_Header'}'`
10891 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
10892 ++echo "${ECHO_T}$ac_res" >&6; }
10893 +
10894 + fi
10895 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
10896 +@@ -9359,18 +11148,19 @@
10897 + for ac_header in strstream strstream.h strstrea.h
10898 + do
10899 + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10900 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
10901 +- echo "$as_me:$LINENO: checking for $ac_header" >&5
10902 +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10903 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
10904 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10905 ++ { echo "$as_me:$LINENO: checking for $ac_header" >&5
10906 ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10907 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10908 + echo $ECHO_N "(cached) $ECHO_C" >&6
10909 + fi
10910 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10911 +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10912 ++ac_res=`eval echo '${'$as_ac_Header'}'`
10913 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
10914 ++echo "${ECHO_T}$ac_res" >&6; }
10915 + else
10916 + # Is the header compilable?
10917 +-echo "$as_me:$LINENO: checking $ac_header usability" >&5
10918 +-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10919 ++{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10920 ++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10921 + cat >conftest.$ac_ext <<_ACEOF
10922 + /* confdefs.h. */
10923 + _ACEOF
10924 +@@ -9381,24 +11171,36 @@
10925 + #include <$ac_header>
10926 + _ACEOF
10927 + rm -f conftest.$ac_objext
10928 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10929 +- (eval $ac_compile) 2>conftest.er1
10930 ++if { (ac_try="$ac_compile"
10931 ++case "(($ac_try" in
10932 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10933 ++ *) ac_try_echo=$ac_try;;
10934 ++esac
10935 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10936 ++ (eval "$ac_compile") 2>conftest.er1
10937 + ac_status=$?
10938 + grep -v '^ *+' conftest.er1 >conftest.err
10939 + rm -f conftest.er1
10940 + cat conftest.err >&5
10941 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10942 + (exit $ac_status); } &&
10943 +- { ac_try='test -z "$ac_cxx_werror_flag"
10944 +- || test ! -s conftest.err'
10945 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10946 +- (eval $ac_try) 2>&5
10947 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10948 ++ { (case "(($ac_try" in
10949 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10950 ++ *) ac_try_echo=$ac_try;;
10951 ++esac
10952 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10953 ++ (eval "$ac_try") 2>&5
10954 + ac_status=$?
10955 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10956 + (exit $ac_status); }; } &&
10957 + { ac_try='test -s conftest.$ac_objext'
10958 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10959 +- (eval $ac_try) 2>&5
10960 ++ { (case "(($ac_try" in
10961 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10962 ++ *) ac_try_echo=$ac_try;;
10963 ++esac
10964 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10965 ++ (eval "$ac_try") 2>&5
10966 + ac_status=$?
10967 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10968 + (exit $ac_status); }; }; then
10969 +@@ -9409,13 +11211,14 @@
10970 +
10971 + ac_header_compiler=no
10972 + fi
10973 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10974 +-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10975 +-echo "${ECHO_T}$ac_header_compiler" >&6
10976 ++
10977 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10978 ++{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10979 ++echo "${ECHO_T}$ac_header_compiler" >&6; }
10980 +
10981 + # Is the header present?
10982 +-echo "$as_me:$LINENO: checking $ac_header presence" >&5
10983 +-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10984 ++{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10985 ++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10986 + cat >conftest.$ac_ext <<_ACEOF
10987 + /* confdefs.h. */
10988 + _ACEOF
10989 +@@ -9424,8 +11227,13 @@
10990 + /* end confdefs.h. */
10991 + #include <$ac_header>
10992 + _ACEOF
10993 +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10994 +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10995 ++if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 2>conftest.er1
11002 + ac_status=$?
11003 + grep -v '^ *+' conftest.er1 >conftest.err
11004 + rm -f conftest.er1
11005 +@@ -9449,9 +11257,10 @@
11006 +
11007 + ac_header_preproc=no
11008 + fi
11009 ++
11010 + rm -f conftest.err conftest.$ac_ext
11011 +-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11012 +-echo "${ECHO_T}$ac_header_preproc" >&6
11013 ++{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11014 ++echo "${ECHO_T}$ac_header_preproc" >&6; }
11015 +
11016 + # So? What about this header?
11017 + case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11018 +@@ -9475,25 +11284,24 @@
11019 + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11020 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11021 + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11022 +- (
11023 +- cat <<\_ASBOX
11024 ++ ( cat <<\_ASBOX
11025 + ## ---------------------------------------- ##
11026 + ## Report this to cpp-core@××××××××××××.gov ##
11027 + ## ---------------------------------------- ##
11028 + _ASBOX
11029 +- ) |
11030 +- sed "s/^/$as_me: WARNING: /" >&2
11031 ++ ) | sed "s/^/$as_me: WARNING: /" >&2
11032 + ;;
11033 + esac
11034 +-echo "$as_me:$LINENO: checking for $ac_header" >&5
11035 +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11036 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
11037 ++{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11038 ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11039 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11040 + echo $ECHO_N "(cached) $ECHO_C" >&6
11041 + else
11042 + eval "$as_ac_Header=\$ac_header_preproc"
11043 + fi
11044 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11045 +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11046 ++ac_res=`eval echo '${'$as_ac_Header'}'`
11047 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
11048 ++echo "${ECHO_T}$ac_res" >&6; }
11049 +
11050 + fi
11051 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
11052 +@@ -9511,18 +11319,19 @@
11053 + for ac_header in inttypes.h limits
11054 + do
11055 + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11056 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
11057 +- echo "$as_me:$LINENO: checking for $ac_header" >&5
11058 +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11059 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
11060 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11061 ++ { echo "$as_me:$LINENO: checking for $ac_header" >&5
11062 ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11063 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11064 + echo $ECHO_N "(cached) $ECHO_C" >&6
11065 + fi
11066 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11067 +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11068 ++ac_res=`eval echo '${'$as_ac_Header'}'`
11069 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
11070 ++echo "${ECHO_T}$ac_res" >&6; }
11071 + else
11072 + # Is the header compilable?
11073 +-echo "$as_me:$LINENO: checking $ac_header usability" >&5
11074 +-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11075 ++{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
11076 ++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11077 + cat >conftest.$ac_ext <<_ACEOF
11078 + /* confdefs.h. */
11079 + _ACEOF
11080 +@@ -9533,24 +11342,36 @@
11081 + #include <$ac_header>
11082 + _ACEOF
11083 + rm -f conftest.$ac_objext
11084 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11085 +- (eval $ac_compile) 2>conftest.er1
11086 ++if { (ac_try="$ac_compile"
11087 ++case "(($ac_try" in
11088 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11089 ++ *) ac_try_echo=$ac_try;;
11090 ++esac
11091 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11092 ++ (eval "$ac_compile") 2>conftest.er1
11093 + ac_status=$?
11094 + grep -v '^ *+' conftest.er1 >conftest.err
11095 + rm -f conftest.er1
11096 + cat conftest.err >&5
11097 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11098 + (exit $ac_status); } &&
11099 +- { ac_try='test -z "$ac_cxx_werror_flag"
11100 +- || test ! -s conftest.err'
11101 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11102 +- (eval $ac_try) 2>&5
11103 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11104 ++ { (case "(($ac_try" in
11105 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11106 ++ *) ac_try_echo=$ac_try;;
11107 ++esac
11108 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11109 ++ (eval "$ac_try") 2>&5
11110 + ac_status=$?
11111 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11112 + (exit $ac_status); }; } &&
11113 + { ac_try='test -s conftest.$ac_objext'
11114 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11115 +- (eval $ac_try) 2>&5
11116 ++ { (case "(($ac_try" in
11117 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11118 ++ *) ac_try_echo=$ac_try;;
11119 ++esac
11120 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11121 ++ (eval "$ac_try") 2>&5
11122 + ac_status=$?
11123 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 + (exit $ac_status); }; }; then
11125 +@@ -9561,13 +11382,14 @@
11126 +
11127 + ac_header_compiler=no
11128 + fi
11129 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11130 +-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11131 +-echo "${ECHO_T}$ac_header_compiler" >&6
11132 ++
11133 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11134 ++{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11135 ++echo "${ECHO_T}$ac_header_compiler" >&6; }
11136 +
11137 + # Is the header present?
11138 +-echo "$as_me:$LINENO: checking $ac_header presence" >&5
11139 +-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11140 ++{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
11141 ++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11142 + cat >conftest.$ac_ext <<_ACEOF
11143 + /* confdefs.h. */
11144 + _ACEOF
11145 +@@ -9576,8 +11398,13 @@
11146 + /* end confdefs.h. */
11147 + #include <$ac_header>
11148 + _ACEOF
11149 +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11150 +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11151 ++if { (ac_try="$ac_cpp conftest.$ac_ext"
11152 ++case "(($ac_try" in
11153 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11154 ++ *) ac_try_echo=$ac_try;;
11155 ++esac
11156 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11157 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11158 + ac_status=$?
11159 + grep -v '^ *+' conftest.er1 >conftest.err
11160 + rm -f conftest.er1
11161 +@@ -9601,9 +11428,10 @@
11162 +
11163 + ac_header_preproc=no
11164 + fi
11165 ++
11166 + rm -f conftest.err conftest.$ac_ext
11167 +-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11168 +-echo "${ECHO_T}$ac_header_preproc" >&6
11169 ++{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11170 ++echo "${ECHO_T}$ac_header_preproc" >&6; }
11171 +
11172 + # So? What about this header?
11173 + case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11174 +@@ -9627,25 +11455,24 @@
11175 + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11176 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11177 + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11178 +- (
11179 +- cat <<\_ASBOX
11180 ++ ( cat <<\_ASBOX
11181 + ## ---------------------------------------- ##
11182 + ## Report this to cpp-core@××××××××××××.gov ##
11183 + ## ---------------------------------------- ##
11184 + _ASBOX
11185 +- ) |
11186 +- sed "s/^/$as_me: WARNING: /" >&2
11187 ++ ) | sed "s/^/$as_me: WARNING: /" >&2
11188 + ;;
11189 + esac
11190 +-echo "$as_me:$LINENO: checking for $ac_header" >&5
11191 +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11192 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
11193 ++{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11194 ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11195 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11196 + echo $ECHO_N "(cached) $ECHO_C" >&6
11197 + else
11198 + eval "$as_ac_Header=\$ac_header_preproc"
11199 + fi
11200 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11201 +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11202 ++ac_res=`eval echo '${'$as_ac_Header'}'`
11203 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
11204 ++echo "${ECHO_T}$ac_res" >&6; }
11205 +
11206 + fi
11207 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
11208 +@@ -9663,18 +11490,19 @@
11209 + for ac_header in unistd.h
11210 + do
11211 + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11212 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
11213 +- echo "$as_me:$LINENO: checking for $ac_header" >&5
11214 +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11215 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
11216 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11217 ++ { echo "$as_me:$LINENO: checking for $ac_header" >&5
11218 ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11219 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11220 + echo $ECHO_N "(cached) $ECHO_C" >&6
11221 + fi
11222 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11223 +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11224 ++ac_res=`eval echo '${'$as_ac_Header'}'`
11225 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
11226 ++echo "${ECHO_T}$ac_res" >&6; }
11227 + else
11228 + # Is the header compilable?
11229 +-echo "$as_me:$LINENO: checking $ac_header usability" >&5
11230 +-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11231 ++{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
11232 ++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11233 + cat >conftest.$ac_ext <<_ACEOF
11234 + /* confdefs.h. */
11235 + _ACEOF
11236 +@@ -9685,24 +11513,36 @@
11237 + #include <$ac_header>
11238 + _ACEOF
11239 + rm -f conftest.$ac_objext
11240 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11241 +- (eval $ac_compile) 2>conftest.er1
11242 ++if { (ac_try="$ac_compile"
11243 ++case "(($ac_try" in
11244 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11245 ++ *) ac_try_echo=$ac_try;;
11246 ++esac
11247 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11248 ++ (eval "$ac_compile") 2>conftest.er1
11249 + ac_status=$?
11250 + grep -v '^ *+' conftest.er1 >conftest.err
11251 + rm -f conftest.er1
11252 + cat conftest.err >&5
11253 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11254 + (exit $ac_status); } &&
11255 +- { ac_try='test -z "$ac_cxx_werror_flag"
11256 +- || test ! -s conftest.err'
11257 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11258 +- (eval $ac_try) 2>&5
11259 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11260 ++ { (case "(($ac_try" in
11261 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11262 ++ *) ac_try_echo=$ac_try;;
11263 ++esac
11264 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11265 ++ (eval "$ac_try") 2>&5
11266 + ac_status=$?
11267 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 + (exit $ac_status); }; } &&
11269 + { ac_try='test -s conftest.$ac_objext'
11270 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11271 +- (eval $ac_try) 2>&5
11272 ++ { (case "(($ac_try" in
11273 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11274 ++ *) ac_try_echo=$ac_try;;
11275 ++esac
11276 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11277 ++ (eval "$ac_try") 2>&5
11278 + ac_status=$?
11279 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11280 + (exit $ac_status); }; }; then
11281 +@@ -9713,13 +11553,14 @@
11282 +
11283 + ac_header_compiler=no
11284 + fi
11285 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11286 +-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11287 +-echo "${ECHO_T}$ac_header_compiler" >&6
11288 ++
11289 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11290 ++{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11291 ++echo "${ECHO_T}$ac_header_compiler" >&6; }
11292 +
11293 + # Is the header present?
11294 +-echo "$as_me:$LINENO: checking $ac_header presence" >&5
11295 +-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11296 ++{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
11297 ++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11298 + cat >conftest.$ac_ext <<_ACEOF
11299 + /* confdefs.h. */
11300 + _ACEOF
11301 +@@ -9728,8 +11569,13 @@
11302 + /* end confdefs.h. */
11303 + #include <$ac_header>
11304 + _ACEOF
11305 +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11306 +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11307 ++if { (ac_try="$ac_cpp conftest.$ac_ext"
11308 ++case "(($ac_try" in
11309 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11310 ++ *) ac_try_echo=$ac_try;;
11311 ++esac
11312 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11313 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11314 + ac_status=$?
11315 + grep -v '^ *+' conftest.er1 >conftest.err
11316 + rm -f conftest.er1
11317 +@@ -9753,9 +11599,10 @@
11318 +
11319 + ac_header_preproc=no
11320 + fi
11321 ++
11322 + rm -f conftest.err conftest.$ac_ext
11323 +-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11324 +-echo "${ECHO_T}$ac_header_preproc" >&6
11325 ++{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11326 ++echo "${ECHO_T}$ac_header_preproc" >&6; }
11327 +
11328 + # So? What about this header?
11329 + case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11330 +@@ -9779,25 +11626,24 @@
11331 + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11332 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11333 + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11334 +- (
11335 +- cat <<\_ASBOX
11336 ++ ( cat <<\_ASBOX
11337 + ## ---------------------------------------- ##
11338 + ## Report this to cpp-core@××××××××××××.gov ##
11339 + ## ---------------------------------------- ##
11340 + _ASBOX
11341 +- ) |
11342 +- sed "s/^/$as_me: WARNING: /" >&2
11343 ++ ) | sed "s/^/$as_me: WARNING: /" >&2
11344 + ;;
11345 + esac
11346 +-echo "$as_me:$LINENO: checking for $ac_header" >&5
11347 +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11348 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
11349 ++{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11350 ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11351 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11352 + echo $ECHO_N "(cached) $ECHO_C" >&6
11353 + else
11354 + eval "$as_ac_Header=\$ac_header_preproc"
11355 + fi
11356 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11357 +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11358 ++ac_res=`eval echo '${'$as_ac_Header'}'`
11359 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
11360 ++echo "${ECHO_T}$ac_res" >&6; }
11361 +
11362 + fi
11363 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
11364 +@@ -9813,18 +11659,19 @@
11365 + for ac_header in windows.h
11366 + do
11367 + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11368 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
11369 +- echo "$as_me:$LINENO: checking for $ac_header" >&5
11370 +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11371 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
11372 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11373 ++ { echo "$as_me:$LINENO: checking for $ac_header" >&5
11374 ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11375 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11376 + echo $ECHO_N "(cached) $ECHO_C" >&6
11377 + fi
11378 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11379 +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11380 ++ac_res=`eval echo '${'$as_ac_Header'}'`
11381 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
11382 ++echo "${ECHO_T}$ac_res" >&6; }
11383 + else
11384 + # Is the header compilable?
11385 +-echo "$as_me:$LINENO: checking $ac_header usability" >&5
11386 +-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11387 ++{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
11388 ++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11389 + cat >conftest.$ac_ext <<_ACEOF
11390 + /* confdefs.h. */
11391 + _ACEOF
11392 +@@ -9835,24 +11682,36 @@
11393 + #include <$ac_header>
11394 + _ACEOF
11395 + rm -f conftest.$ac_objext
11396 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11397 +- (eval $ac_compile) 2>conftest.er1
11398 ++if { (ac_try="$ac_compile"
11399 ++case "(($ac_try" in
11400 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11401 ++ *) ac_try_echo=$ac_try;;
11402 ++esac
11403 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11404 ++ (eval "$ac_compile") 2>conftest.er1
11405 + ac_status=$?
11406 + grep -v '^ *+' conftest.er1 >conftest.err
11407 + rm -f conftest.er1
11408 + cat conftest.err >&5
11409 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11410 + (exit $ac_status); } &&
11411 +- { ac_try='test -z "$ac_cxx_werror_flag"
11412 +- || test ! -s conftest.err'
11413 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11414 +- (eval $ac_try) 2>&5
11415 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11416 ++ { (case "(($ac_try" in
11417 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11418 ++ *) ac_try_echo=$ac_try;;
11419 ++esac
11420 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11421 ++ (eval "$ac_try") 2>&5
11422 + ac_status=$?
11423 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11424 + (exit $ac_status); }; } &&
11425 + { ac_try='test -s conftest.$ac_objext'
11426 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11427 +- (eval $ac_try) 2>&5
11428 ++ { (case "(($ac_try" in
11429 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11430 ++ *) ac_try_echo=$ac_try;;
11431 ++esac
11432 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11433 ++ (eval "$ac_try") 2>&5
11434 + ac_status=$?
11435 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11436 + (exit $ac_status); }; }; then
11437 +@@ -9863,13 +11722,14 @@
11438 +
11439 + ac_header_compiler=no
11440 + fi
11441 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11442 +-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11443 +-echo "${ECHO_T}$ac_header_compiler" >&6
11444 ++
11445 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11446 ++{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11447 ++echo "${ECHO_T}$ac_header_compiler" >&6; }
11448 +
11449 + # Is the header present?
11450 +-echo "$as_me:$LINENO: checking $ac_header presence" >&5
11451 +-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11452 ++{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
11453 ++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11454 + cat >conftest.$ac_ext <<_ACEOF
11455 + /* confdefs.h. */
11456 + _ACEOF
11457 +@@ -9878,8 +11738,13 @@
11458 + /* end confdefs.h. */
11459 + #include <$ac_header>
11460 + _ACEOF
11461 +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11462 +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11463 ++if { (ac_try="$ac_cpp conftest.$ac_ext"
11464 ++case "(($ac_try" in
11465 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11466 ++ *) ac_try_echo=$ac_try;;
11467 ++esac
11468 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11469 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11470 + ac_status=$?
11471 + grep -v '^ *+' conftest.er1 >conftest.err
11472 + rm -f conftest.er1
11473 +@@ -9903,9 +11768,10 @@
11474 +
11475 + ac_header_preproc=no
11476 + fi
11477 ++
11478 + rm -f conftest.err conftest.$ac_ext
11479 +-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11480 +-echo "${ECHO_T}$ac_header_preproc" >&6
11481 ++{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11482 ++echo "${ECHO_T}$ac_header_preproc" >&6; }
11483 +
11484 + # So? What about this header?
11485 + case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11486 +@@ -9929,25 +11795,24 @@
11487 + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11488 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11489 + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11490 +- (
11491 +- cat <<\_ASBOX
11492 ++ ( cat <<\_ASBOX
11493 + ## ---------------------------------------- ##
11494 + ## Report this to cpp-core@××××××××××××.gov ##
11495 + ## ---------------------------------------- ##
11496 + _ASBOX
11497 +- ) |
11498 +- sed "s/^/$as_me: WARNING: /" >&2
11499 ++ ) | sed "s/^/$as_me: WARNING: /" >&2
11500 + ;;
11501 + esac
11502 +-echo "$as_me:$LINENO: checking for $ac_header" >&5
11503 +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11504 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
11505 ++{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11506 ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11507 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11508 + echo $ECHO_N "(cached) $ECHO_C" >&6
11509 + else
11510 + eval "$as_ac_Header=\$ac_header_preproc"
11511 + fi
11512 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11513 +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11514 ++ac_res=`eval echo '${'$as_ac_Header'}'`
11515 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
11516 ++echo "${ECHO_T}$ac_res" >&6; }
11517 +
11518 + fi
11519 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
11520 +@@ -10078,8 +11943,8 @@
11521 + esac
11522 +
11523 + # AC_CHECK_TYPES is insufficient, as linking may still fail :-/
11524 +-echo "$as_me:$LINENO: checking for wstring" >&5
11525 +-echo $ECHO_N "checking for wstring... $ECHO_C" >&6
11526 ++{ echo "$as_me:$LINENO: checking for wstring" >&5
11527 ++echo $ECHO_N "checking for wstring... $ECHO_C" >&6; }
11528 + if test "${ac_cv_type_wstring_linkable+set}" = set; then
11529 + echo $ECHO_N "(cached) $ECHO_C" >&6
11530 + else
11531 +@@ -10100,24 +11965,36 @@
11532 + }
11533 + _ACEOF
11534 + rm -f conftest.$ac_objext conftest$ac_exeext
11535 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11536 +- (eval $ac_link) 2>conftest.er1
11537 ++if { (ac_try="$ac_link"
11538 ++case "(($ac_try" in
11539 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11540 ++ *) ac_try_echo=$ac_try;;
11541 ++esac
11542 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11543 ++ (eval "$ac_link") 2>conftest.er1
11544 + ac_status=$?
11545 + grep -v '^ *+' conftest.er1 >conftest.err
11546 + rm -f conftest.er1
11547 + cat conftest.err >&5
11548 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11549 + (exit $ac_status); } &&
11550 +- { ac_try='test -z "$ac_cxx_werror_flag"
11551 +- || test ! -s conftest.err'
11552 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11553 +- (eval $ac_try) 2>&5
11554 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11555 ++ { (case "(($ac_try" in
11556 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11557 ++ *) ac_try_echo=$ac_try;;
11558 ++esac
11559 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11560 ++ (eval "$ac_try") 2>&5
11561 + ac_status=$?
11562 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563 + (exit $ac_status); }; } &&
11564 + { ac_try='test -s conftest$ac_exeext'
11565 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11566 +- (eval $ac_try) 2>&5
11567 ++ { (case "(($ac_try" in
11568 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11569 ++ *) ac_try_echo=$ac_try;;
11570 ++esac
11571 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11572 ++ (eval "$ac_try") 2>&5
11573 + ac_status=$?
11574 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11575 + (exit $ac_status); }; }; then
11576 +@@ -10128,11 +12005,12 @@
11577 +
11578 + ac_cv_type_wstring_linkable=no
11579 + fi
11580 +-rm -f conftest.err conftest.$ac_objext \
11581 ++
11582 ++rm -f core conftest.err conftest.$ac_objext \
11583 + conftest$ac_exeext conftest.$ac_ext
11584 + fi
11585 +-echo "$as_me:$LINENO: result: $ac_cv_type_wstring_linkable" >&5
11586 +-echo "${ECHO_T}$ac_cv_type_wstring_linkable" >&6
11587 ++{ echo "$as_me:$LINENO: result: $ac_cv_type_wstring_linkable" >&5
11588 ++echo "${ECHO_T}$ac_cv_type_wstring_linkable" >&6; }
11589 + if test "$ac_cv_type_wstring_linkable" = "yes"; then
11590 +
11591 + cat >>confdefs.h <<\_ACEOF
11592 +@@ -10141,8 +12019,8 @@
11593 +
11594 + fi
11595 +
11596 +-echo "$as_me:$LINENO: checking for socklen_t" >&5
11597 +-echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
11598 ++{ echo "$as_me:$LINENO: checking for socklen_t" >&5
11599 ++echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
11600 + if test "${ac_cv_type_socklen_t+set}" = set; then
11601 + echo $ECHO_N "(cached) $ECHO_C" >&6
11602 + else
11603 +@@ -10155,36 +12033,49 @@
11604 + #include <sys/types.h>
11605 + #include <sys/socket.h>
11606 +
11607 ++typedef socklen_t ac__type_new_;
11608 + int
11609 + main ()
11610 + {
11611 +-if ((socklen_t *) 0)
11612 ++if ((ac__type_new_ *) 0)
11613 + return 0;
11614 +-if (sizeof (socklen_t))
11615 ++if (sizeof (ac__type_new_))
11616 + return 0;
11617 + ;
11618 + return 0;
11619 + }
11620 + _ACEOF
11621 + rm -f conftest.$ac_objext
11622 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11623 +- (eval $ac_compile) 2>conftest.er1
11624 ++if { (ac_try="$ac_compile"
11625 ++case "(($ac_try" in
11626 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11627 ++ *) ac_try_echo=$ac_try;;
11628 ++esac
11629 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11630 ++ (eval "$ac_compile") 2>conftest.er1
11631 + ac_status=$?
11632 + grep -v '^ *+' conftest.er1 >conftest.err
11633 + rm -f conftest.er1
11634 + cat conftest.err >&5
11635 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636 + (exit $ac_status); } &&
11637 +- { ac_try='test -z "$ac_cxx_werror_flag"
11638 +- || test ! -s conftest.err'
11639 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11640 +- (eval $ac_try) 2>&5
11641 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11642 ++ { (case "(($ac_try" in
11643 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11644 ++ *) ac_try_echo=$ac_try;;
11645 ++esac
11646 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11647 ++ (eval "$ac_try") 2>&5
11648 + ac_status=$?
11649 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11650 + (exit $ac_status); }; } &&
11651 + { ac_try='test -s conftest.$ac_objext'
11652 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11653 +- (eval $ac_try) 2>&5
11654 ++ { (case "(($ac_try" in
11655 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11656 ++ *) ac_try_echo=$ac_try;;
11657 ++esac
11658 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11659 ++ (eval "$ac_try") 2>&5
11660 + ac_status=$?
11661 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 + (exit $ac_status); }; }; then
11663 +@@ -10195,10 +12086,11 @@
11664 +
11665 + ac_cv_type_socklen_t=no
11666 + fi
11667 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11668 ++
11669 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11670 + fi
11671 +-echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
11672 +-echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
11673 ++{ echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
11674 ++echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
11675 + if test $ac_cv_type_socklen_t = yes; then
11676 +
11677 + cat >>confdefs.h <<_ACEOF
11678 +@@ -10222,18 +12114,19 @@
11679 + sys/sockio.h sys/statvfs.h sys/sysinfo.h sys/vfs.h
11680 + do
11681 + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11682 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
11683 +- echo "$as_me:$LINENO: checking for $ac_header" >&5
11684 +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11685 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
11686 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11687 ++ { echo "$as_me:$LINENO: checking for $ac_header" >&5
11688 ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11689 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11690 + echo $ECHO_N "(cached) $ECHO_C" >&6
11691 + fi
11692 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11693 +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11694 ++ac_res=`eval echo '${'$as_ac_Header'}'`
11695 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
11696 ++echo "${ECHO_T}$ac_res" >&6; }
11697 + else
11698 + # Is the header compilable?
11699 +-echo "$as_me:$LINENO: checking $ac_header usability" >&5
11700 +-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11701 ++{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
11702 ++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11703 + cat >conftest.$ac_ext <<_ACEOF
11704 + /* confdefs.h. */
11705 + _ACEOF
11706 +@@ -10244,24 +12137,36 @@
11707 + #include <$ac_header>
11708 + _ACEOF
11709 + rm -f conftest.$ac_objext
11710 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11711 +- (eval $ac_compile) 2>conftest.er1
11712 ++if { (ac_try="$ac_compile"
11713 ++case "(($ac_try" in
11714 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11715 ++ *) ac_try_echo=$ac_try;;
11716 ++esac
11717 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11718 ++ (eval "$ac_compile") 2>conftest.er1
11719 + ac_status=$?
11720 + grep -v '^ *+' conftest.er1 >conftest.err
11721 + rm -f conftest.er1
11722 + cat conftest.err >&5
11723 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 + (exit $ac_status); } &&
11725 +- { ac_try='test -z "$ac_cxx_werror_flag"
11726 +- || test ! -s conftest.err'
11727 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11728 +- (eval $ac_try) 2>&5
11729 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11730 ++ { (case "(($ac_try" in
11731 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11732 ++ *) ac_try_echo=$ac_try;;
11733 ++esac
11734 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11735 ++ (eval "$ac_try") 2>&5
11736 + ac_status=$?
11737 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738 + (exit $ac_status); }; } &&
11739 + { ac_try='test -s conftest.$ac_objext'
11740 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11741 +- (eval $ac_try) 2>&5
11742 ++ { (case "(($ac_try" in
11743 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11744 ++ *) ac_try_echo=$ac_try;;
11745 ++esac
11746 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11747 ++ (eval "$ac_try") 2>&5
11748 + ac_status=$?
11749 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750 + (exit $ac_status); }; }; then
11751 +@@ -10272,13 +12177,14 @@
11752 +
11753 + ac_header_compiler=no
11754 + fi
11755 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11756 +-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11757 +-echo "${ECHO_T}$ac_header_compiler" >&6
11758 ++
11759 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11760 ++{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11761 ++echo "${ECHO_T}$ac_header_compiler" >&6; }
11762 +
11763 + # Is the header present?
11764 +-echo "$as_me:$LINENO: checking $ac_header presence" >&5
11765 +-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11766 ++{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
11767 ++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11768 + cat >conftest.$ac_ext <<_ACEOF
11769 + /* confdefs.h. */
11770 + _ACEOF
11771 +@@ -10287,8 +12193,13 @@
11772 + /* end confdefs.h. */
11773 + #include <$ac_header>
11774 + _ACEOF
11775 +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11776 +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11777 ++if { (ac_try="$ac_cpp conftest.$ac_ext"
11778 ++case "(($ac_try" in
11779 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11780 ++ *) ac_try_echo=$ac_try;;
11781 ++esac
11782 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11783 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11784 + ac_status=$?
11785 + grep -v '^ *+' conftest.er1 >conftest.err
11786 + rm -f conftest.er1
11787 +@@ -10312,9 +12223,10 @@
11788 +
11789 + ac_header_preproc=no
11790 + fi
11791 ++
11792 + rm -f conftest.err conftest.$ac_ext
11793 +-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11794 +-echo "${ECHO_T}$ac_header_preproc" >&6
11795 ++{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11796 ++echo "${ECHO_T}$ac_header_preproc" >&6; }
11797 +
11798 + # So? What about this header?
11799 + case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11800 +@@ -10338,25 +12250,24 @@
11801 + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11802 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11803 + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11804 +- (
11805 +- cat <<\_ASBOX
11806 ++ ( cat <<\_ASBOX
11807 + ## ---------------------------------------- ##
11808 + ## Report this to cpp-core@××××××××××××.gov ##
11809 + ## ---------------------------------------- ##
11810 + _ASBOX
11811 +- ) |
11812 +- sed "s/^/$as_me: WARNING: /" >&2
11813 ++ ) | sed "s/^/$as_me: WARNING: /" >&2
11814 + ;;
11815 + esac
11816 +-echo "$as_me:$LINENO: checking for $ac_header" >&5
11817 +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11818 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
11819 ++{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11820 ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11821 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11822 + echo $ECHO_N "(cached) $ECHO_C" >&6
11823 + else
11824 + eval "$as_ac_Header=\$ac_header_preproc"
11825 + fi
11826 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11827 +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11828 ++ac_res=`eval echo '${'$as_ac_Header'}'`
11829 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
11830 ++echo "${ECHO_T}$ac_res" >&6; }
11831 +
11832 + fi
11833 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
11834 +@@ -10373,18 +12284,19 @@
11835 + for ac_header in winternl.h
11836 + do
11837 + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11838 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
11839 +- echo "$as_me:$LINENO: checking for $ac_header" >&5
11840 +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11841 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
11842 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11843 ++ { echo "$as_me:$LINENO: checking for $ac_header" >&5
11844 ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11845 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11846 + echo $ECHO_N "(cached) $ECHO_C" >&6
11847 + fi
11848 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11849 +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11850 ++ac_res=`eval echo '${'$as_ac_Header'}'`
11851 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
11852 ++echo "${ECHO_T}$ac_res" >&6; }
11853 + else
11854 + # Is the header compilable?
11855 +-echo "$as_me:$LINENO: checking $ac_header usability" >&5
11856 +-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11857 ++{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
11858 ++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11859 + cat >conftest.$ac_ext <<_ACEOF
11860 + /* confdefs.h. */
11861 + _ACEOF
11862 +@@ -10395,24 +12307,36 @@
11863 + #include <$ac_header>
11864 + _ACEOF
11865 + rm -f conftest.$ac_objext
11866 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11867 +- (eval $ac_compile) 2>conftest.er1
11868 ++if { (ac_try="$ac_compile"
11869 ++case "(($ac_try" in
11870 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11871 ++ *) ac_try_echo=$ac_try;;
11872 ++esac
11873 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11874 ++ (eval "$ac_compile") 2>conftest.er1
11875 + ac_status=$?
11876 + grep -v '^ *+' conftest.er1 >conftest.err
11877 + rm -f conftest.er1
11878 + cat conftest.err >&5
11879 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11880 + (exit $ac_status); } &&
11881 +- { ac_try='test -z "$ac_cxx_werror_flag"
11882 +- || test ! -s conftest.err'
11883 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11884 +- (eval $ac_try) 2>&5
11885 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11886 ++ { (case "(($ac_try" in
11887 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11888 ++ *) ac_try_echo=$ac_try;;
11889 ++esac
11890 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11891 ++ (eval "$ac_try") 2>&5
11892 + ac_status=$?
11893 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11894 + (exit $ac_status); }; } &&
11895 + { ac_try='test -s conftest.$ac_objext'
11896 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11897 +- (eval $ac_try) 2>&5
11898 ++ { (case "(($ac_try" in
11899 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11900 ++ *) ac_try_echo=$ac_try;;
11901 ++esac
11902 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11903 ++ (eval "$ac_try") 2>&5
11904 + ac_status=$?
11905 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11906 + (exit $ac_status); }; }; then
11907 +@@ -10423,13 +12347,14 @@
11908 +
11909 + ac_header_compiler=no
11910 + fi
11911 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11912 +-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11913 +-echo "${ECHO_T}$ac_header_compiler" >&6
11914 ++
11915 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11916 ++{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11917 ++echo "${ECHO_T}$ac_header_compiler" >&6; }
11918 +
11919 + # Is the header present?
11920 +-echo "$as_me:$LINENO: checking $ac_header presence" >&5
11921 +-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11922 ++{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
11923 ++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11924 + cat >conftest.$ac_ext <<_ACEOF
11925 + /* confdefs.h. */
11926 + _ACEOF
11927 +@@ -10438,8 +12363,13 @@
11928 + /* end confdefs.h. */
11929 + #include <$ac_header>
11930 + _ACEOF
11931 +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11932 +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11933 ++if { (ac_try="$ac_cpp conftest.$ac_ext"
11934 ++case "(($ac_try" in
11935 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11936 ++ *) ac_try_echo=$ac_try;;
11937 ++esac
11938 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11939 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11940 + ac_status=$?
11941 + grep -v '^ *+' conftest.er1 >conftest.err
11942 + rm -f conftest.er1
11943 +@@ -10463,9 +12393,10 @@
11944 +
11945 + ac_header_preproc=no
11946 + fi
11947 ++
11948 + rm -f conftest.err conftest.$ac_ext
11949 +-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11950 +-echo "${ECHO_T}$ac_header_preproc" >&6
11951 ++{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11952 ++echo "${ECHO_T}$ac_header_preproc" >&6; }
11953 +
11954 + # So? What about this header?
11955 + case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11956 +@@ -10489,25 +12420,24 @@
11957 + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11958 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11959 + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11960 +- (
11961 +- cat <<\_ASBOX
11962 ++ ( cat <<\_ASBOX
11963 + ## ---------------------------------------- ##
11964 + ## Report this to cpp-core@××××××××××××.gov ##
11965 + ## ---------------------------------------- ##
11966 + _ASBOX
11967 +- ) |
11968 +- sed "s/^/$as_me: WARNING: /" >&2
11969 ++ ) | sed "s/^/$as_me: WARNING: /" >&2
11970 + ;;
11971 + esac
11972 +-echo "$as_me:$LINENO: checking for $ac_header" >&5
11973 +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11974 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
11975 ++{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11976 ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11977 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11978 + echo $ECHO_N "(cached) $ECHO_C" >&6
11979 + else
11980 + eval "$as_ac_Header=\$ac_header_preproc"
11981 + fi
11982 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11983 +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11984 ++ac_res=`eval echo '${'$as_ac_Header'}'`
11985 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
11986 ++echo "${ECHO_T}$ac_res" >&6; }
11987 +
11988 + fi
11989 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
11990 +@@ -10539,18 +12469,19 @@
11991 + sys/ioctl.h sys/select.h sys/socket.h sys/time.h wchar.h
11992 + do
11993 + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11994 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
11995 +- echo "$as_me:$LINENO: checking for $ac_header" >&5
11996 +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11997 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
11998 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11999 ++ { echo "$as_me:$LINENO: checking for $ac_header" >&5
12000 ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12001 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12002 + echo $ECHO_N "(cached) $ECHO_C" >&6
12003 + fi
12004 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12005 +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12006 ++ac_res=`eval echo '${'$as_ac_Header'}'`
12007 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
12008 ++echo "${ECHO_T}$ac_res" >&6; }
12009 + else
12010 + # Is the header compilable?
12011 +-echo "$as_me:$LINENO: checking $ac_header usability" >&5
12012 +-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12013 ++{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
12014 ++echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12015 + cat >conftest.$ac_ext <<_ACEOF
12016 + /* confdefs.h. */
12017 + _ACEOF
12018 +@@ -10561,24 +12492,36 @@
12019 + #include <$ac_header>
12020 + _ACEOF
12021 + rm -f conftest.$ac_objext
12022 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12023 +- (eval $ac_compile) 2>conftest.er1
12024 ++if { (ac_try="$ac_compile"
12025 ++case "(($ac_try" in
12026 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12027 ++ *) ac_try_echo=$ac_try;;
12028 ++esac
12029 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12030 ++ (eval "$ac_compile") 2>conftest.er1
12031 + ac_status=$?
12032 + grep -v '^ *+' conftest.er1 >conftest.err
12033 + rm -f conftest.er1
12034 + cat conftest.err >&5
12035 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12036 + (exit $ac_status); } &&
12037 +- { ac_try='test -z "$ac_cxx_werror_flag"
12038 +- || test ! -s conftest.err'
12039 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12040 +- (eval $ac_try) 2>&5
12041 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12042 ++ { (case "(($ac_try" in
12043 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12044 ++ *) ac_try_echo=$ac_try;;
12045 ++esac
12046 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12047 ++ (eval "$ac_try") 2>&5
12048 + ac_status=$?
12049 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12050 + (exit $ac_status); }; } &&
12051 + { ac_try='test -s conftest.$ac_objext'
12052 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12053 +- (eval $ac_try) 2>&5
12054 ++ { (case "(($ac_try" in
12055 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12056 ++ *) ac_try_echo=$ac_try;;
12057 ++esac
12058 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12059 ++ (eval "$ac_try") 2>&5
12060 + ac_status=$?
12061 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 + (exit $ac_status); }; }; then
12063 +@@ -10589,13 +12532,14 @@
12064 +
12065 + ac_header_compiler=no
12066 + fi
12067 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12068 +-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12069 +-echo "${ECHO_T}$ac_header_compiler" >&6
12070 ++
12071 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12072 ++{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12073 ++echo "${ECHO_T}$ac_header_compiler" >&6; }
12074 +
12075 + # Is the header present?
12076 +-echo "$as_me:$LINENO: checking $ac_header presence" >&5
12077 +-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12078 ++{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
12079 ++echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12080 + cat >conftest.$ac_ext <<_ACEOF
12081 + /* confdefs.h. */
12082 + _ACEOF
12083 +@@ -10604,8 +12548,13 @@
12084 + /* end confdefs.h. */
12085 + #include <$ac_header>
12086 + _ACEOF
12087 +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12088 +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12089 ++if { (ac_try="$ac_cpp conftest.$ac_ext"
12090 ++case "(($ac_try" in
12091 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12092 ++ *) ac_try_echo=$ac_try;;
12093 ++esac
12094 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12095 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12096 + ac_status=$?
12097 + grep -v '^ *+' conftest.er1 >conftest.err
12098 + rm -f conftest.er1
12099 +@@ -10629,9 +12578,10 @@
12100 +
12101 + ac_header_preproc=no
12102 + fi
12103 ++
12104 + rm -f conftest.err conftest.$ac_ext
12105 +-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12106 +-echo "${ECHO_T}$ac_header_preproc" >&6
12107 ++{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12108 ++echo "${ECHO_T}$ac_header_preproc" >&6; }
12109 +
12110 + # So? What about this header?
12111 + case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
12112 +@@ -10655,25 +12605,24 @@
12113 + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12114 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12115 + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12116 +- (
12117 +- cat <<\_ASBOX
12118 ++ ( cat <<\_ASBOX
12119 + ## ---------------------------------------- ##
12120 + ## Report this to cpp-core@××××××××××××.gov ##
12121 + ## ---------------------------------------- ##
12122 + _ASBOX
12123 +- ) |
12124 +- sed "s/^/$as_me: WARNING: /" >&2
12125 ++ ) | sed "s/^/$as_me: WARNING: /" >&2
12126 + ;;
12127 + esac
12128 +-echo "$as_me:$LINENO: checking for $ac_header" >&5
12129 +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12130 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
12131 ++{ echo "$as_me:$LINENO: checking for $ac_header" >&5
12132 ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12133 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12134 + echo $ECHO_N "(cached) $ECHO_C" >&6
12135 + else
12136 + eval "$as_ac_Header=\$ac_header_preproc"
12137 + fi
12138 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12139 +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12140 ++ac_res=`eval echo '${'$as_ac_Header'}'`
12141 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
12142 ++echo "${ECHO_T}$ac_res" >&6; }
12143 +
12144 + fi
12145 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
12146 +@@ -10685,8 +12634,8 @@
12147 +
12148 + done
12149 +
12150 +-echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
12151 +-echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
12152 ++{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
12153 ++echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
12154 + if test "${ac_cv_header_time+set}" = set; then
12155 + echo $ECHO_N "(cached) $ECHO_C" >&6
12156 + else
12157 +@@ -10710,24 +12659,36 @@
12158 + }
12159 + _ACEOF
12160 + rm -f conftest.$ac_objext
12161 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12162 +- (eval $ac_compile) 2>conftest.er1
12163 ++if { (ac_try="$ac_compile"
12164 ++case "(($ac_try" in
12165 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12166 ++ *) ac_try_echo=$ac_try;;
12167 ++esac
12168 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12169 ++ (eval "$ac_compile") 2>conftest.er1
12170 + ac_status=$?
12171 + grep -v '^ *+' conftest.er1 >conftest.err
12172 + rm -f conftest.er1
12173 + cat conftest.err >&5
12174 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12175 + (exit $ac_status); } &&
12176 +- { ac_try='test -z "$ac_cxx_werror_flag"
12177 +- || test ! -s conftest.err'
12178 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12179 +- (eval $ac_try) 2>&5
12180 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
12190 + { ac_try='test -s conftest.$ac_objext'
12191 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12192 +- (eval $ac_try) 2>&5
12193 ++ { (case "(($ac_try" in
12194 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12195 ++ *) ac_try_echo=$ac_try;;
12196 ++esac
12197 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12198 ++ (eval "$ac_try") 2>&5
12199 + ac_status=$?
12200 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201 + (exit $ac_status); }; }; then
12202 +@@ -10738,10 +12699,11 @@
12203 +
12204 + ac_cv_header_time=no
12205 + fi
12206 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12207 ++
12208 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12209 + fi
12210 +-echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
12211 +-echo "${ECHO_T}$ac_cv_header_time" >&6
12212 ++{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
12213 ++echo "${ECHO_T}$ac_cv_header_time" >&6; }
12214 + if test $ac_cv_header_time = yes; then
12215 +
12216 + cat >>confdefs.h <<\_ACEOF
12217 +@@ -10753,8 +12715,8 @@
12218 +
12219 + ## gethostbyname_r() -- 2 different variants: 5-arg (Solaris), 6-arg (Linux).
12220 +
12221 +-echo "$as_me:$LINENO: checking for gethostbyname_r" >&5
12222 +-echo $ECHO_N "checking for gethostbyname_r... $ECHO_C" >&6
12223 ++{ echo "$as_me:$LINENO: checking for gethostbyname_r" >&5
12224 ++echo $ECHO_N "checking for gethostbyname_r... $ECHO_C" >&6; }
12225 + if test "${ncbi_cv_func_gethostbyname_r+set}" = set; then
12226 + echo $ECHO_N "(cached) $ECHO_C" >&6
12227 + else
12228 +@@ -10781,24 +12743,36 @@
12229 + }
12230 + _ACEOF
12231 + rm -f conftest.$ac_objext
12232 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12233 +- (eval $ac_compile) 2>conftest.er1
12234 ++if { (ac_try="$ac_compile"
12235 ++case "(($ac_try" in
12236 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12237 ++ *) ac_try_echo=$ac_try;;
12238 ++esac
12239 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12240 ++ (eval "$ac_compile") 2>conftest.er1
12241 + ac_status=$?
12242 + grep -v '^ *+' conftest.er1 >conftest.err
12243 + rm -f conftest.er1
12244 + cat conftest.err >&5
12245 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12246 + (exit $ac_status); } &&
12247 +- { ac_try='test -z "$ac_cxx_werror_flag"
12248 +- || test ! -s conftest.err'
12249 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12250 +- (eval $ac_try) 2>&5
12251 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12252 ++ { (case "(($ac_try" in
12253 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12254 ++ *) ac_try_echo=$ac_try;;
12255 ++esac
12256 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12257 ++ (eval "$ac_try") 2>&5
12258 + ac_status=$?
12259 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12260 + (exit $ac_status); }; } &&
12261 + { ac_try='test -s conftest.$ac_objext'
12262 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12263 +- (eval $ac_try) 2>&5
12264 ++ { (case "(($ac_try" in
12265 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12266 ++ *) ac_try_echo=$ac_try;;
12267 ++esac
12268 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12269 ++ (eval "$ac_try") 2>&5
12270 + ac_status=$?
12271 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 + (exit $ac_status); }; }; then
12273 +@@ -10810,8 +12784,10 @@
12274 + echo "$as_me: failed program was:" >&5
12275 + sed 's/^/| /' conftest.$ac_ext >&5
12276 +
12277 ++
12278 + fi
12279 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12280 ++
12281 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12282 + if test "$ncbi_cv_func_gethostbyname_r" = "no" ; then
12283 + cat >conftest.$ac_ext <<_ACEOF
12284 + /* confdefs.h. */
12285 +@@ -10835,24 +12811,36 @@
12286 + }
12287 + _ACEOF
12288 + rm -f conftest.$ac_objext
12289 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12290 +- (eval $ac_compile) 2>conftest.er1
12291 ++if { (ac_try="$ac_compile"
12292 ++case "(($ac_try" in
12293 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12294 ++ *) ac_try_echo=$ac_try;;
12295 ++esac
12296 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12297 ++ (eval "$ac_compile") 2>conftest.er1
12298 + ac_status=$?
12299 + grep -v '^ *+' conftest.er1 >conftest.err
12300 + rm -f conftest.er1
12301 + cat conftest.err >&5
12302 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12303 + (exit $ac_status); } &&
12304 +- { ac_try='test -z "$ac_cxx_werror_flag"
12305 +- || test ! -s conftest.err'
12306 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12307 +- (eval $ac_try) 2>&5
12308 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12309 ++ { (case "(($ac_try" in
12310 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12311 ++ *) ac_try_echo=$ac_try;;
12312 ++esac
12313 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12314 ++ (eval "$ac_try") 2>&5
12315 + ac_status=$?
12316 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317 + (exit $ac_status); }; } &&
12318 + { ac_try='test -s conftest.$ac_objext'
12319 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12320 +- (eval $ac_try) 2>&5
12321 ++ { (case "(($ac_try" in
12322 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12323 ++ *) ac_try_echo=$ac_try;;
12324 ++esac
12325 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12326 ++ (eval "$ac_try") 2>&5
12327 + ac_status=$?
12328 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 + (exit $ac_status); }; }; then
12330 +@@ -10864,12 +12852,14 @@
12331 + echo "$as_me: failed program was:" >&5
12332 + sed 's/^/| /' conftest.$ac_ext >&5
12333 +
12334 ++
12335 + fi
12336 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12337 ++
12338 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12339 + fi
12340 + fi
12341 +-echo "$as_me:$LINENO: result: $ncbi_cv_func_gethostbyname_r" >&5
12342 +-echo "${ECHO_T}$ncbi_cv_func_gethostbyname_r" >&6
12343 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_func_gethostbyname_r" >&5
12344 ++echo "${ECHO_T}$ncbi_cv_func_gethostbyname_r" >&6; }
12345 +
12346 + if test "$ncbi_cv_func_gethostbyname_r" != "no" ; then
12347 +
12348 +@@ -10882,8 +12872,8 @@
12349 +
12350 + ## gethostbyaddr_r() -- 2 different variants: 7-arg (Solaris), 8-arg (Linux).
12351 +
12352 +-echo "$as_me:$LINENO: checking for gethostbyaddr_r" >&5
12353 +-echo $ECHO_N "checking for gethostbyaddr_r... $ECHO_C" >&6
12354 ++{ echo "$as_me:$LINENO: checking for gethostbyaddr_r" >&5
12355 ++echo $ECHO_N "checking for gethostbyaddr_r... $ECHO_C" >&6; }
12356 + if test "${ncbi_cv_func_gethostbyaddr_r+set}" = set; then
12357 + echo $ECHO_N "(cached) $ECHO_C" >&6
12358 + else
12359 +@@ -10916,24 +12906,36 @@
12360 + }
12361 + _ACEOF
12362 + rm -f conftest.$ac_objext
12363 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12364 +- (eval $ac_compile) 2>conftest.er1
12365 ++if { (ac_try="$ac_compile"
12366 ++case "(($ac_try" in
12367 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12368 ++ *) ac_try_echo=$ac_try;;
12369 ++esac
12370 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12371 ++ (eval "$ac_compile") 2>conftest.er1
12372 + ac_status=$?
12373 + grep -v '^ *+' conftest.er1 >conftest.err
12374 + rm -f conftest.er1
12375 + cat conftest.err >&5
12376 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377 + (exit $ac_status); } &&
12378 +- { ac_try='test -z "$ac_cxx_werror_flag"
12379 +- || test ! -s conftest.err'
12380 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12381 +- (eval $ac_try) 2>&5
12382 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12383 ++ { (case "(($ac_try" in
12384 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12385 ++ *) ac_try_echo=$ac_try;;
12386 ++esac
12387 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12388 ++ (eval "$ac_try") 2>&5
12389 + ac_status=$?
12390 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391 + (exit $ac_status); }; } &&
12392 + { ac_try='test -s conftest.$ac_objext'
12393 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12394 +- (eval $ac_try) 2>&5
12395 ++ { (case "(($ac_try" in
12396 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12397 ++ *) ac_try_echo=$ac_try;;
12398 ++esac
12399 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12400 ++ (eval "$ac_try") 2>&5
12401 + ac_status=$?
12402 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 + (exit $ac_status); }; }; then
12404 +@@ -10945,8 +12947,10 @@
12405 + echo "$as_me: failed program was:" >&5
12406 + sed 's/^/| /' conftest.$ac_ext >&5
12407 +
12408 ++
12409 + fi
12410 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12411 ++
12412 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12413 + if test "$ncbi_cv_func_gethostbyaddr_r" = "no" ; then
12414 + cat >conftest.$ac_ext <<_ACEOF
12415 + /* confdefs.h. */
12416 +@@ -10976,24 +12980,36 @@
12417 + }
12418 + _ACEOF
12419 + rm -f conftest.$ac_objext
12420 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12421 +- (eval $ac_compile) 2>conftest.er1
12422 ++if { (ac_try="$ac_compile"
12423 ++case "(($ac_try" in
12424 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12425 ++ *) ac_try_echo=$ac_try;;
12426 ++esac
12427 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12428 ++ (eval "$ac_compile") 2>conftest.er1
12429 + ac_status=$?
12430 + grep -v '^ *+' conftest.er1 >conftest.err
12431 + rm -f conftest.er1
12432 + cat conftest.err >&5
12433 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12434 + (exit $ac_status); } &&
12435 +- { ac_try='test -z "$ac_cxx_werror_flag"
12436 +- || test ! -s conftest.err'
12437 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12438 +- (eval $ac_try) 2>&5
12439 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12440 ++ { (case "(($ac_try" in
12441 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12442 ++ *) ac_try_echo=$ac_try;;
12443 ++esac
12444 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12445 ++ (eval "$ac_try") 2>&5
12446 + ac_status=$?
12447 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12448 + (exit $ac_status); }; } &&
12449 + { ac_try='test -s conftest.$ac_objext'
12450 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12451 +- (eval $ac_try) 2>&5
12452 ++ { (case "(($ac_try" in
12453 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12454 ++ *) ac_try_echo=$ac_try;;
12455 ++esac
12456 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12457 ++ (eval "$ac_try") 2>&5
12458 + ac_status=$?
12459 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12460 + (exit $ac_status); }; }; then
12461 +@@ -11005,12 +13021,14 @@
12462 + echo "$as_me: failed program was:" >&5
12463 + sed 's/^/| /' conftest.$ac_ext >&5
12464 +
12465 ++
12466 + fi
12467 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12468 ++
12469 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12470 + fi
12471 + fi
12472 +-echo "$as_me:$LINENO: result: $ncbi_cv_func_gethostbyaddr_r" >&5
12473 +-echo "${ECHO_T}$ncbi_cv_func_gethostbyaddr_r" >&6
12474 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_func_gethostbyaddr_r" >&5
12475 ++echo "${ECHO_T}$ncbi_cv_func_gethostbyaddr_r" >&6; }
12476 +
12477 + if test "$ncbi_cv_func_gethostbyaddr_r" != "no" ; then
12478 +
12479 +@@ -11023,8 +13041,8 @@
12480 +
12481 + ## getservbyname_r() -- 2 different variants: 5-arg (Solaris), 6-arg (Linux).
12482 +
12483 +-echo "$as_me:$LINENO: checking for getservbyname_r" >&5
12484 +-echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
12485 ++{ echo "$as_me:$LINENO: checking for getservbyname_r" >&5
12486 ++echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6; }
12487 + if test "${ncbi_cv_func_getservbyname_r+set}" = set; then
12488 + echo $ECHO_N "(cached) $ECHO_C" >&6
12489 + else
12490 +@@ -11051,24 +13069,36 @@
12491 + }
12492 + _ACEOF
12493 + rm -f conftest.$ac_objext
12494 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12495 +- (eval $ac_compile) 2>conftest.er1
12496 ++if { (ac_try="$ac_compile"
12497 ++case "(($ac_try" in
12498 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12499 ++ *) ac_try_echo=$ac_try;;
12500 ++esac
12501 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12502 ++ (eval "$ac_compile") 2>conftest.er1
12503 + ac_status=$?
12504 + grep -v '^ *+' conftest.er1 >conftest.err
12505 + rm -f conftest.er1
12506 + cat conftest.err >&5
12507 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 + (exit $ac_status); } &&
12509 +- { ac_try='test -z "$ac_cxx_werror_flag"
12510 +- || test ! -s conftest.err'
12511 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12512 +- (eval $ac_try) 2>&5
12513 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12514 ++ { (case "(($ac_try" in
12515 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12516 ++ *) ac_try_echo=$ac_try;;
12517 ++esac
12518 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12519 ++ (eval "$ac_try") 2>&5
12520 + ac_status=$?
12521 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12522 + (exit $ac_status); }; } &&
12523 + { ac_try='test -s conftest.$ac_objext'
12524 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12525 +- (eval $ac_try) 2>&5
12526 ++ { (case "(($ac_try" in
12527 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12528 ++ *) ac_try_echo=$ac_try;;
12529 ++esac
12530 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12531 ++ (eval "$ac_try") 2>&5
12532 + ac_status=$?
12533 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 + (exit $ac_status); }; }; then
12535 +@@ -11080,8 +13110,10 @@
12536 + echo "$as_me: failed program was:" >&5
12537 + sed 's/^/| /' conftest.$ac_ext >&5
12538 +
12539 ++
12540 + fi
12541 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12542 ++
12543 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12544 + if test "$ncbi_cv_func_getservbyname_r" = "no" ; then
12545 + cat >conftest.$ac_ext <<_ACEOF
12546 + /* confdefs.h. */
12547 +@@ -11105,24 +13137,36 @@
12548 + }
12549 + _ACEOF
12550 + rm -f conftest.$ac_objext
12551 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12552 +- (eval $ac_compile) 2>conftest.er1
12553 ++if { (ac_try="$ac_compile"
12554 ++case "(($ac_try" in
12555 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12556 ++ *) ac_try_echo=$ac_try;;
12557 ++esac
12558 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12559 ++ (eval "$ac_compile") 2>conftest.er1
12560 + ac_status=$?
12561 + grep -v '^ *+' conftest.er1 >conftest.err
12562 + rm -f conftest.er1
12563 + cat conftest.err >&5
12564 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 + (exit $ac_status); } &&
12566 +- { ac_try='test -z "$ac_cxx_werror_flag"
12567 +- || test ! -s conftest.err'
12568 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12569 +- (eval $ac_try) 2>&5
12570 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12571 ++ { (case "(($ac_try" in
12572 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12573 ++ *) ac_try_echo=$ac_try;;
12574 ++esac
12575 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12576 ++ (eval "$ac_try") 2>&5
12577 + ac_status=$?
12578 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579 + (exit $ac_status); }; } &&
12580 + { ac_try='test -s conftest.$ac_objext'
12581 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12582 +- (eval $ac_try) 2>&5
12583 ++ { (case "(($ac_try" in
12584 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12585 ++ *) ac_try_echo=$ac_try;;
12586 ++esac
12587 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12588 ++ (eval "$ac_try") 2>&5
12589 + ac_status=$?
12590 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 + (exit $ac_status); }; }; then
12592 +@@ -11134,12 +13178,14 @@
12593 + echo "$as_me: failed program was:" >&5
12594 + sed 's/^/| /' conftest.$ac_ext >&5
12595 +
12596 ++
12597 + fi
12598 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12599 ++
12600 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12601 + fi
12602 + fi
12603 +-echo "$as_me:$LINENO: result: $ncbi_cv_func_getservbyname_r" >&5
12604 +-echo "${ECHO_T}$ncbi_cv_func_getservbyname_r" >&6
12605 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_func_getservbyname_r" >&5
12606 ++echo "${ECHO_T}$ncbi_cv_func_getservbyname_r" >&6; }
12607 +
12608 + if test "$ncbi_cv_func_getservbyname_r" != "no" ; then
12609 +
12610 +@@ -11152,8 +13198,8 @@
12611 + ## getpwuid_r() -- 2 major variants: 4-arg, 5-arg (POSIX).
12612 + ## (Alternate 4-arg interface ignored due to rarity.)
12613 +
12614 +-echo "$as_me:$LINENO: checking for getpwuid_r" >&5
12615 +-echo $ECHO_N "checking for getpwuid_r... $ECHO_C" >&6
12616 ++{ echo "$as_me:$LINENO: checking for getpwuid_r" >&5
12617 ++echo $ECHO_N "checking for getpwuid_r... $ECHO_C" >&6; }
12618 + if test "${ncbi_cv_func_getpwuid_r+set}" = set; then
12619 + echo $ECHO_N "(cached) $ECHO_C" >&6
12620 + else
12621 +@@ -11178,24 +13224,36 @@
12622 + }
12623 + _ACEOF
12624 + rm -f conftest.$ac_objext
12625 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12626 +- (eval $ac_compile) 2>conftest.er1
12627 ++if { (ac_try="$ac_compile"
12628 ++case "(($ac_try" in
12629 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12630 ++ *) ac_try_echo=$ac_try;;
12631 ++esac
12632 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12633 ++ (eval "$ac_compile") 2>conftest.er1
12634 + ac_status=$?
12635 + grep -v '^ *+' conftest.er1 >conftest.err
12636 + rm -f conftest.er1
12637 + cat conftest.err >&5
12638 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 + (exit $ac_status); } &&
12640 +- { ac_try='test -z "$ac_cxx_werror_flag"
12641 +- || test ! -s conftest.err'
12642 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12643 +- (eval $ac_try) 2>&5
12644 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12645 ++ { (case "(($ac_try" in
12646 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12647 ++ *) ac_try_echo=$ac_try;;
12648 ++esac
12649 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12650 ++ (eval "$ac_try") 2>&5
12651 + ac_status=$?
12652 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 + (exit $ac_status); }; } &&
12654 + { ac_try='test -s conftest.$ac_objext'
12655 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12656 +- (eval $ac_try) 2>&5
12657 ++ { (case "(($ac_try" in
12658 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12659 ++ *) ac_try_echo=$ac_try;;
12660 ++esac
12661 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12662 ++ (eval "$ac_try") 2>&5
12663 + ac_status=$?
12664 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665 + (exit $ac_status); }; }; then
12666 +@@ -11204,8 +13262,10 @@
12667 + echo "$as_me: failed program was:" >&5
12668 + sed 's/^/| /' conftest.$ac_ext >&5
12669 +
12670 ++
12671 + fi
12672 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12673 ++
12674 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12675 + if test "$ncbi_cv_func_getpwuid_r" = "no" ; then
12676 + cat >conftest.$ac_ext <<_ACEOF
12677 + /* confdefs.h. */
12678 +@@ -11227,24 +13287,36 @@
12679 + }
12680 + _ACEOF
12681 + rm -f conftest.$ac_objext
12682 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12683 +- (eval $ac_compile) 2>conftest.er1
12684 ++if { (ac_try="$ac_compile"
12685 ++case "(($ac_try" in
12686 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12687 ++ *) ac_try_echo=$ac_try;;
12688 ++esac
12689 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12690 ++ (eval "$ac_compile") 2>conftest.er1
12691 + ac_status=$?
12692 + grep -v '^ *+' conftest.er1 >conftest.err
12693 + rm -f conftest.er1
12694 + cat conftest.err >&5
12695 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12696 + (exit $ac_status); } &&
12697 +- { ac_try='test -z "$ac_cxx_werror_flag"
12698 +- || test ! -s conftest.err'
12699 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12700 +- (eval $ac_try) 2>&5
12701 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12702 ++ { (case "(($ac_try" in
12703 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12704 ++ *) ac_try_echo=$ac_try;;
12705 ++esac
12706 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12707 ++ (eval "$ac_try") 2>&5
12708 + ac_status=$?
12709 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710 + (exit $ac_status); }; } &&
12711 + { ac_try='test -s conftest.$ac_objext'
12712 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12713 +- (eval $ac_try) 2>&5
12714 ++ { (case "(($ac_try" in
12715 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12716 ++ *) ac_try_echo=$ac_try;;
12717 ++esac
12718 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12719 ++ (eval "$ac_try") 2>&5
12720 + ac_status=$?
12721 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 + (exit $ac_status); }; }; then
12723 +@@ -11253,12 +13325,14 @@
12724 + echo "$as_me: failed program was:" >&5
12725 + sed 's/^/| /' conftest.$ac_ext >&5
12726 +
12727 ++
12728 + fi
12729 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12730 ++
12731 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12732 + fi
12733 + fi
12734 +-echo "$as_me:$LINENO: result: $ncbi_cv_func_getpwuid_r" >&5
12735 +-echo "${ECHO_T}$ncbi_cv_func_getpwuid_r" >&6
12736 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_func_getpwuid_r" >&5
12737 ++echo "${ECHO_T}$ncbi_cv_func_getpwuid_r" >&6; }
12738 +
12739 + if test "$ncbi_cv_func_getpwuid_r" != "no" ; then
12740 +
12741 +@@ -11270,8 +13344,8 @@
12742 +
12743 + # Perform a full-fledged check in C++ to be sure of an actual declaration.
12744 + # Accommodate the old Solaris interface that returns char* rather than int. :-/
12745 +-echo "$as_me:$LINENO: checking for getlogin_r" >&5
12746 +-echo $ECHO_N "checking for getlogin_r... $ECHO_C" >&6
12747 ++{ echo "$as_me:$LINENO: checking for getlogin_r" >&5
12748 ++echo $ECHO_N "checking for getlogin_r... $ECHO_C" >&6; }
12749 + if test "${ncbi_cv_func_getlogin_r+set}" = set; then
12750 + echo $ECHO_N "(cached) $ECHO_C" >&6
12751 + else
12752 +@@ -11292,24 +13366,36 @@
12753 + }
12754 + _ACEOF
12755 + rm -f conftest.$ac_objext
12756 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12757 +- (eval $ac_compile) 2>conftest.er1
12758 ++if { (ac_try="$ac_compile"
12759 ++case "(($ac_try" in
12760 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12761 ++ *) ac_try_echo=$ac_try;;
12762 ++esac
12763 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12764 ++ (eval "$ac_compile") 2>conftest.er1
12765 + ac_status=$?
12766 + grep -v '^ *+' conftest.er1 >conftest.err
12767 + rm -f conftest.er1
12768 + cat conftest.err >&5
12769 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770 + (exit $ac_status); } &&
12771 +- { ac_try='test -z "$ac_cxx_werror_flag"
12772 +- || test ! -s conftest.err'
12773 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12774 +- (eval $ac_try) 2>&5
12775 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12776 ++ { (case "(($ac_try" in
12777 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12778 ++ *) ac_try_echo=$ac_try;;
12779 ++esac
12780 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12781 ++ (eval "$ac_try") 2>&5
12782 + ac_status=$?
12783 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12784 + (exit $ac_status); }; } &&
12785 + { ac_try='test -s conftest.$ac_objext'
12786 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12787 +- (eval $ac_try) 2>&5
12788 ++ { (case "(($ac_try" in
12789 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12790 ++ *) ac_try_echo=$ac_try;;
12791 ++esac
12792 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12793 ++ (eval "$ac_try") 2>&5
12794 + ac_status=$?
12795 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12796 + (exit $ac_status); }; }; then
12797 +@@ -11320,10 +13406,11 @@
12798 +
12799 + ncbi_cv_func_getlogin_r=no
12800 + fi
12801 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12802 ++
12803 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12804 + fi
12805 +-echo "$as_me:$LINENO: result: $ncbi_cv_func_getlogin_r" >&5
12806 +-echo "${ECHO_T}$ncbi_cv_func_getlogin_r" >&6
12807 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_func_getlogin_r" >&5
12808 ++echo "${ECHO_T}$ncbi_cv_func_getlogin_r" >&6; }
12809 + if test $ncbi_cv_func_getlogin_r = yes; then
12810 +
12811 + cat >>confdefs.h <<\_ACEOF
12812 +@@ -11342,13 +13429,12 @@
12813 +
12814 +
12815 +
12816 +-
12817 + for ac_func in localtime_r pthread_setconcurrency pthread_atfork
12818 + do
12819 + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12820 +-echo "$as_me:$LINENO: checking for $ac_func" >&5
12821 +-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12822 +-if eval "test \"\${$as_ac_var+set}\" = set"; then
12823 ++{ echo "$as_me:$LINENO: checking for $ac_func" >&5
12824 ++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12825 ++if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12826 + echo $ECHO_N "(cached) $ECHO_C" >&6
12827 + else
12828 + cat >conftest.$ac_ext <<_ACEOF
12829 +@@ -11374,53 +13460,59 @@
12830 +
12831 + #undef $ac_func
12832 +
12833 +-/* Override any gcc2 internal prototype to avoid an error. */
12834 ++/* Override any GCC internal prototype to avoid an error.
12835 ++ Use char because int might match the return type of a GCC
12836 ++ builtin and then its argument prototype would still apply. */
12837 + #ifdef __cplusplus
12838 + extern "C"
12839 +-{
12840 + #endif
12841 +-/* We use char because int might match the return type of a gcc2
12842 +- builtin and then its argument prototype would still apply. */
12843 + char $ac_func ();
12844 + /* The GNU C library defines this for functions which it implements
12845 + to always fail with ENOSYS. Some functions are actually named
12846 + something starting with __ and the normal name is an alias. */
12847 +-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12848 ++#if defined __stub_$ac_func || defined __stub___$ac_func
12849 + choke me
12850 +-#else
12851 +-char (*f) () = $ac_func;
12852 +-#endif
12853 +-#ifdef __cplusplus
12854 +-}
12855 + #endif
12856 +
12857 + int
12858 + main ()
12859 + {
12860 +-return f != $ac_func;
12861 ++return $ac_func ();
12862 + ;
12863 + return 0;
12864 + }
12865 + _ACEOF
12866 + rm -f conftest.$ac_objext conftest$ac_exeext
12867 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12868 +- (eval $ac_link) 2>conftest.er1
12869 ++if { (ac_try="$ac_link"
12870 ++case "(($ac_try" in
12871 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12872 ++ *) ac_try_echo=$ac_try;;
12873 ++esac
12874 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12875 ++ (eval "$ac_link") 2>conftest.er1
12876 + ac_status=$?
12877 + grep -v '^ *+' conftest.er1 >conftest.err
12878 + rm -f conftest.er1
12879 + cat conftest.err >&5
12880 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12881 + (exit $ac_status); } &&
12882 +- { ac_try='test -z "$ac_c_werror_flag"
12883 +- || test ! -s conftest.err'
12884 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12885 +- (eval $ac_try) 2>&5
12886 ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12887 ++ { (case "(($ac_try" in
12888 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12889 ++ *) ac_try_echo=$ac_try;;
12890 ++esac
12891 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12892 ++ (eval "$ac_try") 2>&5
12893 + ac_status=$?
12894 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 + (exit $ac_status); }; } &&
12896 + { ac_try='test -s conftest$ac_exeext'
12897 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12898 +- (eval $ac_try) 2>&5
12899 ++ { (case "(($ac_try" in
12900 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12901 ++ *) ac_try_echo=$ac_try;;
12902 ++esac
12903 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12904 ++ (eval "$ac_try") 2>&5
12905 + ac_status=$?
12906 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 + (exit $ac_status); }; }; then
12908 +@@ -11431,11 +13523,13 @@
12909 +
12910 + eval "$as_ac_var=no"
12911 + fi
12912 +-rm -f conftest.err conftest.$ac_objext \
12913 ++
12914 ++rm -f core conftest.err conftest.$ac_objext \
12915 + conftest$ac_exeext conftest.$ac_ext
12916 + fi
12917 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12918 +-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12919 ++ac_res=`eval echo '${'$as_ac_var'}'`
12920 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
12921 ++echo "${ECHO_T}$ac_res" >&6; }
12922 + if test `eval echo '${'$as_ac_var'}'` = yes; then
12923 + cat >>confdefs.h <<_ACEOF
12924 + #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12925 +@@ -11445,8 +13539,8 @@
12926 + done
12927 +
12928 + if test "$ac_cv_func_localtime_r" = "yes" ; then
12929 +- echo "$as_me:$LINENO: checking return type of localtime_r" >&5
12930 +-echo $ECHO_N "checking return type of localtime_r... $ECHO_C" >&6
12931 ++ { echo "$as_me:$LINENO: checking return type of localtime_r" >&5
12932 ++echo $ECHO_N "checking return type of localtime_r... $ECHO_C" >&6; }
12933 + if test "${ac_cv_func_which_localtime_r+set}" = set; then
12934 + echo $ECHO_N "(cached) $ECHO_C" >&6
12935 + else
12936 +@@ -11469,24 +13563,36 @@
12937 + }
12938 + _ACEOF
12939 + rm -f conftest.$ac_objext
12940 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12941 +- (eval $ac_compile) 2>conftest.er1
12942 ++if { (ac_try="$ac_compile"
12943 ++case "(($ac_try" in
12944 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12945 ++ *) ac_try_echo=$ac_try;;
12946 ++esac
12947 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12948 ++ (eval "$ac_compile") 2>conftest.er1
12949 + ac_status=$?
12950 + grep -v '^ *+' conftest.er1 >conftest.err
12951 + rm -f conftest.er1
12952 + cat conftest.err >&5
12953 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12954 + (exit $ac_status); } &&
12955 +- { ac_try='test -z "$ac_c_werror_flag"
12956 +- || test ! -s conftest.err'
12957 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12958 +- (eval $ac_try) 2>&5
12959 ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12960 ++ { (case "(($ac_try" in
12961 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12962 ++ *) ac_try_echo=$ac_try;;
12963 ++esac
12964 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12965 ++ (eval "$ac_try") 2>&5
12966 + ac_status=$?
12967 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12968 + (exit $ac_status); }; } &&
12969 + { ac_try='test -s conftest.$ac_objext'
12970 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12971 +- (eval $ac_try) 2>&5
12972 ++ { (case "(($ac_try" in
12973 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12974 ++ *) ac_try_echo=$ac_try;;
12975 ++esac
12976 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12977 ++ (eval "$ac_try") 2>&5
12978 + ac_status=$?
12979 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 + (exit $ac_status); }; }; then
12981 +@@ -11497,10 +13603,11 @@
12982 +
12983 + ac_cv_func_which_localtime_r=int
12984 + fi
12985 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12986 ++
12987 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12988 + fi
12989 +-echo "$as_me:$LINENO: result: $ac_cv_func_which_localtime_r" >&5
12990 +-echo "${ECHO_T}$ac_cv_func_which_localtime_r" >&6
12991 ++{ echo "$as_me:$LINENO: result: $ac_cv_func_which_localtime_r" >&5
12992 ++echo "${ECHO_T}$ac_cv_func_which_localtime_r" >&6; }
12993 + if test $ac_cv_func_which_localtime_r = struct; then
12994 +
12995 + cat >>confdefs.h <<\_ACEOF
12996 +@@ -11516,8 +13623,8 @@
12997 + fi
12998 + fi
12999 +
13000 +-echo "$as_me:$LINENO: checking whether pthread mutexes are available" >&5
13001 +-echo $ECHO_N "checking whether pthread mutexes are available... $ECHO_C" >&6
13002 ++{ echo "$as_me:$LINENO: checking whether pthread mutexes are available" >&5
13003 ++echo $ECHO_N "checking whether pthread mutexes are available... $ECHO_C" >&6; }
13004 + if test "${ncbi_cv_func_pthread_mutex+set}" = set; then
13005 + echo $ECHO_N "(cached) $ECHO_C" >&6
13006 + else
13007 +@@ -11538,24 +13645,36 @@
13008 + }
13009 + _ACEOF
13010 + rm -f conftest.$ac_objext conftest$ac_exeext
13011 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13012 +- (eval $ac_link) 2>conftest.er1
13013 ++if { (ac_try="$ac_link"
13014 ++case "(($ac_try" in
13015 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13016 ++ *) ac_try_echo=$ac_try;;
13017 ++esac
13018 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13019 ++ (eval "$ac_link") 2>conftest.er1
13020 + ac_status=$?
13021 + grep -v '^ *+' conftest.er1 >conftest.err
13022 + rm -f conftest.er1
13023 + cat conftest.err >&5
13024 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13025 + (exit $ac_status); } &&
13026 +- { ac_try='test -z "$ac_c_werror_flag"
13027 +- || test ! -s conftest.err'
13028 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13029 +- (eval $ac_try) 2>&5
13030 ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13031 ++ { (case "(($ac_try" in
13032 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13033 ++ *) ac_try_echo=$ac_try;;
13034 ++esac
13035 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13036 ++ (eval "$ac_try") 2>&5
13037 + ac_status=$?
13038 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13039 + (exit $ac_status); }; } &&
13040 + { ac_try='test -s conftest$ac_exeext'
13041 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13042 +- (eval $ac_try) 2>&5
13043 ++ { (case "(($ac_try" in
13044 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13045 ++ *) ac_try_echo=$ac_try;;
13046 ++esac
13047 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13048 ++ (eval "$ac_try") 2>&5
13049 + ac_status=$?
13050 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13051 + (exit $ac_status); }; }; then
13052 +@@ -11566,11 +13685,12 @@
13053 +
13054 + ncbi_cv_func_pthread_mutex=no
13055 + fi
13056 +-rm -f conftest.err conftest.$ac_objext \
13057 ++
13058 ++rm -f core conftest.err conftest.$ac_objext \
13059 + conftest$ac_exeext conftest.$ac_ext
13060 + fi
13061 +-echo "$as_me:$LINENO: result: $ncbi_cv_func_pthread_mutex" >&5
13062 +-echo "${ECHO_T}$ncbi_cv_func_pthread_mutex" >&6
13063 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_func_pthread_mutex" >&5
13064 ++echo "${ECHO_T}$ncbi_cv_func_pthread_mutex" >&6; }
13065 + if test $ncbi_cv_func_pthread_mutex=yes; then
13066 +
13067 + cat >>confdefs.h <<\_ACEOF
13068 +@@ -11586,9 +13706,9 @@
13069 + for ac_func in vprintf
13070 + do
13071 + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13072 +-echo "$as_me:$LINENO: checking for $ac_func" >&5
13073 +-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13074 +-if eval "test \"\${$as_ac_var+set}\" = set"; then
13075 ++{ echo "$as_me:$LINENO: checking for $ac_func" >&5
13076 ++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13077 ++if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13078 + echo $ECHO_N "(cached) $ECHO_C" >&6
13079 + else
13080 + cat >conftest.$ac_ext <<_ACEOF
13081 +@@ -11614,53 +13734,59 @@
13082 +
13083 + #undef $ac_func
13084 +
13085 +-/* Override any gcc2 internal prototype to avoid an error. */
13086 ++/* Override any GCC internal prototype to avoid an error.
13087 ++ Use char because int might match the return type of a GCC
13088 ++ builtin and then its argument prototype would still apply. */
13089 + #ifdef __cplusplus
13090 + extern "C"
13091 +-{
13092 + #endif
13093 +-/* We use char because int might match the return type of a gcc2
13094 +- builtin and then its argument prototype would still apply. */
13095 + char $ac_func ();
13096 + /* The GNU C library defines this for functions which it implements
13097 + to always fail with ENOSYS. Some functions are actually named
13098 + something starting with __ and the normal name is an alias. */
13099 +-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13100 ++#if defined __stub_$ac_func || defined __stub___$ac_func
13101 + choke me
13102 +-#else
13103 +-char (*f) () = $ac_func;
13104 +-#endif
13105 +-#ifdef __cplusplus
13106 +-}
13107 + #endif
13108 +
13109 + int
13110 + main ()
13111 + {
13112 +-return f != $ac_func;
13113 ++return $ac_func ();
13114 + ;
13115 + return 0;
13116 + }
13117 + _ACEOF
13118 + rm -f conftest.$ac_objext conftest$ac_exeext
13119 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13120 +- (eval $ac_link) 2>conftest.er1
13121 ++if { (ac_try="$ac_link"
13122 ++case "(($ac_try" in
13123 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13124 ++ *) ac_try_echo=$ac_try;;
13125 ++esac
13126 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13127 ++ (eval "$ac_link") 2>conftest.er1
13128 + ac_status=$?
13129 + grep -v '^ *+' conftest.er1 >conftest.err
13130 + rm -f conftest.er1
13131 + cat conftest.err >&5
13132 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13133 + (exit $ac_status); } &&
13134 +- { ac_try='test -z "$ac_c_werror_flag"
13135 +- || test ! -s conftest.err'
13136 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13137 +- (eval $ac_try) 2>&5
13138 ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13139 ++ { (case "(($ac_try" in
13140 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13141 ++ *) ac_try_echo=$ac_try;;
13142 ++esac
13143 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13144 ++ (eval "$ac_try") 2>&5
13145 + ac_status=$?
13146 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13147 + (exit $ac_status); }; } &&
13148 + { ac_try='test -s conftest$ac_exeext'
13149 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13150 +- (eval $ac_try) 2>&5
13151 ++ { (case "(($ac_try" in
13152 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13153 ++ *) ac_try_echo=$ac_try;;
13154 ++esac
13155 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13156 ++ (eval "$ac_try") 2>&5
13157 + ac_status=$?
13158 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13159 + (exit $ac_status); }; }; then
13160 +@@ -11671,18 +13797,20 @@
13161 +
13162 + eval "$as_ac_var=no"
13163 + fi
13164 +-rm -f conftest.err conftest.$ac_objext \
13165 ++
13166 ++rm -f core conftest.err conftest.$ac_objext \
13167 + conftest$ac_exeext conftest.$ac_ext
13168 + fi
13169 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13170 +-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13171 ++ac_res=`eval echo '${'$as_ac_var'}'`
13172 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
13173 ++echo "${ECHO_T}$ac_res" >&6; }
13174 + if test `eval echo '${'$as_ac_var'}'` = yes; then
13175 + cat >>confdefs.h <<_ACEOF
13176 + #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13177 + _ACEOF
13178 +
13179 +-echo "$as_me:$LINENO: checking for _doprnt" >&5
13180 +-echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
13181 ++{ echo "$as_me:$LINENO: checking for _doprnt" >&5
13182 ++echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
13183 + if test "${ac_cv_func__doprnt+set}" = set; then
13184 + echo $ECHO_N "(cached) $ECHO_C" >&6
13185 + else
13186 +@@ -11709,53 +13837,59 @@
13187 +
13188 + #undef _doprnt
13189 +
13190 +-/* Override any gcc2 internal prototype to avoid an error. */
13191 ++/* Override any GCC internal prototype to avoid an error.
13192 ++ Use char because int might match the return type of a GCC
13193 ++ builtin and then its argument prototype would still apply. */
13194 + #ifdef __cplusplus
13195 + extern "C"
13196 +-{
13197 + #endif
13198 +-/* We use char because int might match the return type of a gcc2
13199 +- builtin and then its argument prototype would still apply. */
13200 + char _doprnt ();
13201 + /* The GNU C library defines this for functions which it implements
13202 + to always fail with ENOSYS. Some functions are actually named
13203 + something starting with __ and the normal name is an alias. */
13204 +-#if defined (__stub__doprnt) || defined (__stub____doprnt)
13205 ++#if defined __stub__doprnt || defined __stub____doprnt
13206 + choke me
13207 +-#else
13208 +-char (*f) () = _doprnt;
13209 +-#endif
13210 +-#ifdef __cplusplus
13211 +-}
13212 + #endif
13213 +
13214 + int
13215 + main ()
13216 + {
13217 +-return f != _doprnt;
13218 ++return _doprnt ();
13219 + ;
13220 + return 0;
13221 + }
13222 + _ACEOF
13223 + rm -f conftest.$ac_objext conftest$ac_exeext
13224 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13225 +- (eval $ac_link) 2>conftest.er1
13226 ++if { (ac_try="$ac_link"
13227 ++case "(($ac_try" in
13228 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13229 ++ *) ac_try_echo=$ac_try;;
13230 ++esac
13231 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13232 ++ (eval "$ac_link") 2>conftest.er1
13233 + ac_status=$?
13234 + grep -v '^ *+' conftest.er1 >conftest.err
13235 + rm -f conftest.er1
13236 + cat conftest.err >&5
13237 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13238 + (exit $ac_status); } &&
13239 +- { ac_try='test -z "$ac_c_werror_flag"
13240 +- || test ! -s conftest.err'
13241 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13242 +- (eval $ac_try) 2>&5
13243 ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13244 ++ { (case "(($ac_try" in
13245 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13246 ++ *) ac_try_echo=$ac_try;;
13247 ++esac
13248 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13249 ++ (eval "$ac_try") 2>&5
13250 + ac_status=$?
13251 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13252 + (exit $ac_status); }; } &&
13253 + { ac_try='test -s conftest$ac_exeext'
13254 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13255 +- (eval $ac_try) 2>&5
13256 ++ { (case "(($ac_try" in
13257 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13258 ++ *) ac_try_echo=$ac_try;;
13259 ++esac
13260 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13261 ++ (eval "$ac_try") 2>&5
13262 + ac_status=$?
13263 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264 + (exit $ac_status); }; }; then
13265 +@@ -11766,11 +13900,12 @@
13266 +
13267 + ac_cv_func__doprnt=no
13268 + fi
13269 +-rm -f conftest.err conftest.$ac_objext \
13270 ++
13271 ++rm -f core conftest.err conftest.$ac_objext \
13272 + conftest$ac_exeext conftest.$ac_ext
13273 + fi
13274 +-echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
13275 +-echo "${ECHO_T}$ac_cv_func__doprnt" >&6
13276 ++{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
13277 ++echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
13278 + if test $ac_cv_func__doprnt = yes; then
13279 +
13280 + cat >>confdefs.h <<\_ACEOF
13281 +@@ -11816,17 +13951,18 @@
13282 +
13283 +
13284 +
13285 +-for ac_func in euidaccess atoll basename lchown fseeko getpagesize \
13286 +- getpass getpassphrase getpwuid getrusage gettimeofday \
13287 +- getuid memrchr readpassphrase readv usleep \
13288 ++
13289 ++for ac_func in euidaccess atoll basename lchown fseeko getgrouplist \
13290 ++ getpagesize getpass getpassphrase getpwuid getrusage \
13291 ++ gettimeofday getuid memrchr readpassphrase readv usleep \
13292 + asprintf vasprintf vsnprintf select statfs statvfs \
13293 + strcasecmp strlcat strlcpy strdup strndup strtok_r \
13294 + sysmp timegm utimes lutimes writev
13295 + do
13296 + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13297 +-echo "$as_me:$LINENO: checking for $ac_func" >&5
13298 +-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13299 +-if eval "test \"\${$as_ac_var+set}\" = set"; then
13300 ++{ echo "$as_me:$LINENO: checking for $ac_func" >&5
13301 ++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13302 ++if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13303 + echo $ECHO_N "(cached) $ECHO_C" >&6
13304 + else
13305 + cat >conftest.$ac_ext <<_ACEOF
13306 +@@ -11852,53 +13988,59 @@
13307 +
13308 + #undef $ac_func
13309 +
13310 +-/* Override any gcc2 internal prototype to avoid an error. */
13311 ++/* Override any GCC internal prototype to avoid an error.
13312 ++ Use char because int might match the return type of a GCC
13313 ++ builtin and then its argument prototype would still apply. */
13314 + #ifdef __cplusplus
13315 + extern "C"
13316 +-{
13317 + #endif
13318 +-/* We use char because int might match the return type of a gcc2
13319 +- builtin and then its argument prototype would still apply. */
13320 + char $ac_func ();
13321 + /* The GNU C library defines this for functions which it implements
13322 + to always fail with ENOSYS. Some functions are actually named
13323 + something starting with __ and the normal name is an alias. */
13324 +-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13325 ++#if defined __stub_$ac_func || defined __stub___$ac_func
13326 + choke me
13327 +-#else
13328 +-char (*f) () = $ac_func;
13329 +-#endif
13330 +-#ifdef __cplusplus
13331 +-}
13332 + #endif
13333 +
13334 + int
13335 + main ()
13336 + {
13337 +-return f != $ac_func;
13338 ++return $ac_func ();
13339 + ;
13340 + return 0;
13341 + }
13342 + _ACEOF
13343 + rm -f conftest.$ac_objext conftest$ac_exeext
13344 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13345 +- (eval $ac_link) 2>conftest.er1
13346 ++if { (ac_try="$ac_link"
13347 ++case "(($ac_try" in
13348 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13349 ++ *) ac_try_echo=$ac_try;;
13350 ++esac
13351 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13352 ++ (eval "$ac_link") 2>conftest.er1
13353 + ac_status=$?
13354 + grep -v '^ *+' conftest.er1 >conftest.err
13355 + rm -f conftest.er1
13356 + cat conftest.err >&5
13357 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13358 + (exit $ac_status); } &&
13359 +- { ac_try='test -z "$ac_c_werror_flag"
13360 +- || test ! -s conftest.err'
13361 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13362 +- (eval $ac_try) 2>&5
13363 ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13364 ++ { (case "(($ac_try" in
13365 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13366 ++ *) ac_try_echo=$ac_try;;
13367 ++esac
13368 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13369 ++ (eval "$ac_try") 2>&5
13370 + ac_status=$?
13371 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372 + (exit $ac_status); }; } &&
13373 + { ac_try='test -s conftest$ac_exeext'
13374 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13375 +- (eval $ac_try) 2>&5
13376 ++ { (case "(($ac_try" in
13377 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13378 ++ *) ac_try_echo=$ac_try;;
13379 ++esac
13380 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13381 ++ (eval "$ac_try") 2>&5
13382 + ac_status=$?
13383 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13384 + (exit $ac_status); }; }; then
13385 +@@ -11909,11 +14051,13 @@
13386 +
13387 + eval "$as_ac_var=no"
13388 + fi
13389 +-rm -f conftest.err conftest.$ac_objext \
13390 ++
13391 ++rm -f core conftest.err conftest.$ac_objext \
13392 + conftest$ac_exeext conftest.$ac_ext
13393 + fi
13394 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13395 +-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13396 ++ac_res=`eval echo '${'$as_ac_var'}'`
13397 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
13398 ++echo "${ECHO_T}$ac_res" >&6; }
13399 + if test `eval echo '${'$as_ac_var'}'` = yes; then
13400 + cat >>confdefs.h <<_ACEOF
13401 + #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13402 +@@ -11922,15 +14066,15 @@
13403 + fi
13404 + done
13405 +
13406 +-ac_ext=cc
13407 ++ac_ext=cpp
13408 + ac_cpp='$CXXCPP $CPPFLAGS'
13409 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13410 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13411 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13412 +
13413 +
13414 +-echo "$as_me:$LINENO: checking return type of signal handlers" >&5
13415 +-echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
13416 ++{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
13417 ++echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
13418 + if test "${ac_cv_type_signal+set}" = set; then
13419 + echo $ECHO_N "(cached) $ECHO_C" >&6
13420 + else
13421 +@@ -11942,56 +14086,61 @@
13422 + /* end confdefs.h. */
13423 + #include <sys/types.h>
13424 + #include <signal.h>
13425 +-#ifdef signal
13426 +-# undef signal
13427 +-#endif
13428 +-#ifdef __cplusplus
13429 +-extern "C" void (*signal (int, void (*)(int)))(int);
13430 +-#else
13431 +-void (*signal ()) ();
13432 +-#endif
13433 +
13434 + int
13435 + main ()
13436 + {
13437 +-int i;
13438 ++return *(signal (0, 0)) (0) == 1;
13439 + ;
13440 + return 0;
13441 + }
13442 + _ACEOF
13443 + rm -f conftest.$ac_objext
13444 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13445 +- (eval $ac_compile) 2>conftest.er1
13446 ++if { (ac_try="$ac_compile"
13447 ++case "(($ac_try" in
13448 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13449 ++ *) ac_try_echo=$ac_try;;
13450 ++esac
13451 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13452 ++ (eval "$ac_compile") 2>conftest.er1
13453 + ac_status=$?
13454 + grep -v '^ *+' conftest.er1 >conftest.err
13455 + rm -f conftest.er1
13456 + cat conftest.err >&5
13457 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 + (exit $ac_status); } &&
13459 +- { ac_try='test -z "$ac_cxx_werror_flag"
13460 +- || test ! -s conftest.err'
13461 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13462 +- (eval $ac_try) 2>&5
13463 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13464 ++ { (case "(($ac_try" in
13465 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13466 ++ *) ac_try_echo=$ac_try;;
13467 ++esac
13468 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13469 ++ (eval "$ac_try") 2>&5
13470 + ac_status=$?
13471 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13472 + (exit $ac_status); }; } &&
13473 + { ac_try='test -s conftest.$ac_objext'
13474 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13475 +- (eval $ac_try) 2>&5
13476 ++ { (case "(($ac_try" in
13477 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13478 ++ *) ac_try_echo=$ac_try;;
13479 ++esac
13480 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13481 ++ (eval "$ac_try") 2>&5
13482 + ac_status=$?
13483 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13484 + (exit $ac_status); }; }; then
13485 +- ac_cv_type_signal=void
13486 ++ ac_cv_type_signal=int
13487 + else
13488 + echo "$as_me: failed program was:" >&5
13489 + sed 's/^/| /' conftest.$ac_ext >&5
13490 +
13491 +-ac_cv_type_signal=int
13492 ++ ac_cv_type_signal=void
13493 + fi
13494 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13495 ++
13496 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13497 + fi
13498 +-echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
13499 +-echo "${ECHO_T}$ac_cv_type_signal" >&6
13500 ++{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
13501 ++echo "${ECHO_T}$ac_cv_type_signal" >&6; }
13502 +
13503 + cat >>confdefs.h <<_ACEOF
13504 + #define RETSIGTYPE $ac_cv_type_signal
13505 +@@ -11999,8 +14148,8 @@
13506 +
13507 +
13508 + test "$ac_cv_func_select" = yes || ncbi_cv_func_select_updates_timeout=no
13509 +-echo "$as_me:$LINENO: checking whether select updates the timeout when interrupted" >&5
13510 +-echo $ECHO_N "checking whether select updates the timeout when interrupted... $ECHO_C" >&6
13511 ++{ echo "$as_me:$LINENO: checking whether select updates the timeout when interrupted" >&5
13512 ++echo $ECHO_N "checking whether select updates the timeout when interrupted... $ECHO_C" >&6; }
13513 + if test "${ncbi_cv_func_select_updates_timeout+set}" = set; then
13514 + echo $ECHO_N "(cached) $ECHO_C" >&6
13515 + else
13516 +@@ -12041,13 +14190,22 @@
13517 + }
13518 + _ACEOF
13519 + rm -f conftest$ac_exeext
13520 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13521 +- (eval $ac_link) 2>&5
13522 ++if { (ac_try="$ac_link"
13523 ++case "(($ac_try" in
13524 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13525 ++ *) ac_try_echo=$ac_try;;
13526 ++esac
13527 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13528 ++ (eval "$ac_link") 2>&5
13529 + ac_status=$?
13530 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13531 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13532 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13533 +- (eval $ac_try) 2>&5
13534 ++ { (case "(($ac_try" in
13535 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13536 ++ *) ac_try_echo=$ac_try;;
13537 ++esac
13538 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13539 ++ (eval "$ac_try") 2>&5
13540 + ac_status=$?
13541 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 + (exit $ac_status); }; }; then
13543 +@@ -12060,11 +14218,13 @@
13544 + ( exit $ac_status )
13545 + ncbi_cv_func_select_updates_timeout=no
13546 + fi
13547 +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13548 ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13549 + fi
13550 ++
13551 ++
13552 + fi
13553 +-echo "$as_me:$LINENO: result: $ncbi_cv_func_select_updates_timeout" >&5
13554 +-echo "${ECHO_T}$ncbi_cv_func_select_updates_timeout" >&6
13555 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_func_select_updates_timeout" >&5
13556 ++echo "${ECHO_T}$ncbi_cv_func_select_updates_timeout" >&6; }
13557 + if test "$ncbi_cv_func_select_updates_timeout" = yes; then
13558 +
13559 + cat >>confdefs.h <<\_ACEOF
13560 +@@ -12078,8 +14238,8 @@
13561 + # is yes when cross-compiling; anyone cross-compiling for exceptional
13562 + # platforms can set ncbi_cv_func_strcasecmp_lc=no in config.site.
13563 + if test "$ac_cv_func_strcasecmp" = yes; then
13564 +- echo "$as_me:$LINENO: checking whether strcasecmp treats letters as lowercase" >&5
13565 +-echo $ECHO_N "checking whether strcasecmp treats letters as lowercase... $ECHO_C" >&6
13566 ++ { echo "$as_me:$LINENO: checking whether strcasecmp treats letters as lowercase" >&5
13567 ++echo $ECHO_N "checking whether strcasecmp treats letters as lowercase... $ECHO_C" >&6; }
13568 + if test "${ncbi_cv_func_strcasecmp_lc+set}" = set; then
13569 + echo $ECHO_N "(cached) $ECHO_C" >&6
13570 + else
13571 +@@ -12102,13 +14262,22 @@
13572 + }
13573 + _ACEOF
13574 + rm -f conftest$ac_exeext
13575 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13576 +- (eval $ac_link) 2>&5
13577 ++if { (ac_try="$ac_link"
13578 ++case "(($ac_try" in
13579 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13580 ++ *) ac_try_echo=$ac_try;;
13581 ++esac
13582 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13583 ++ (eval "$ac_link") 2>&5
13584 + ac_status=$?
13585 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13586 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13587 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13588 +- (eval $ac_try) 2>&5
13589 ++ { (case "(($ac_try" in
13590 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13591 ++ *) ac_try_echo=$ac_try;;
13592 ++esac
13593 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13594 ++ (eval "$ac_try") 2>&5
13595 + ac_status=$?
13596 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13597 + (exit $ac_status); }; }; then
13598 +@@ -12121,11 +14290,13 @@
13599 + ( exit $ac_status )
13600 + ncbi_cv_func_strcasecmp_lc=no
13601 + fi
13602 +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13603 ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13604 + fi
13605 ++
13606 ++
13607 + fi
13608 +-echo "$as_me:$LINENO: result: $ncbi_cv_func_strcasecmp_lc" >&5
13609 +-echo "${ECHO_T}$ncbi_cv_func_strcasecmp_lc" >&6
13610 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_func_strcasecmp_lc" >&5
13611 ++echo "${ECHO_T}$ncbi_cv_func_strcasecmp_lc" >&6; }
13612 + if test "$ncbi_cv_func_strcasecmp_lc" = yes; then
13613 +
13614 + cat >>confdefs.h <<\_ACEOF
13615 +@@ -12135,8 +14306,8 @@
13616 + fi
13617 + fi
13618 +
13619 +-echo "$as_me:$LINENO: checking for Linux-like sysinfo with 1 arg" >&5
13620 +-echo $ECHO_N "checking for Linux-like sysinfo with 1 arg... $ECHO_C" >&6
13621 ++{ echo "$as_me:$LINENO: checking for Linux-like sysinfo with 1 arg" >&5
13622 ++echo $ECHO_N "checking for Linux-like sysinfo with 1 arg... $ECHO_C" >&6; }
13623 + if test "${ncbi_cv_func_sysinfo_1+set}" = set; then
13624 + echo $ECHO_N "(cached) $ECHO_C" >&6
13625 + else
13626 +@@ -12160,24 +14331,36 @@
13627 + }
13628 + _ACEOF
13629 + rm -f conftest.$ac_objext
13630 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13631 +- (eval $ac_compile) 2>conftest.er1
13632 ++if { (ac_try="$ac_compile"
13633 ++case "(($ac_try" in
13634 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13635 ++ *) ac_try_echo=$ac_try;;
13636 ++esac
13637 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13638 ++ (eval "$ac_compile") 2>conftest.er1
13639 + ac_status=$?
13640 + grep -v '^ *+' conftest.er1 >conftest.err
13641 + rm -f conftest.er1
13642 + cat conftest.err >&5
13643 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13644 + (exit $ac_status); } &&
13645 +- { ac_try='test -z "$ac_cxx_werror_flag"
13646 +- || test ! -s conftest.err'
13647 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13648 +- (eval $ac_try) 2>&5
13649 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13650 ++ { (case "(($ac_try" in
13651 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13652 ++ *) ac_try_echo=$ac_try;;
13653 ++esac
13654 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13655 ++ (eval "$ac_try") 2>&5
13656 + ac_status=$?
13657 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658 + (exit $ac_status); }; } &&
13659 + { ac_try='test -s conftest.$ac_objext'
13660 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13661 +- (eval $ac_try) 2>&5
13662 ++ { (case "(($ac_try" in
13663 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13664 ++ *) ac_try_echo=$ac_try;;
13665 ++esac
13666 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13667 ++ (eval "$ac_try") 2>&5
13668 + ac_status=$?
13669 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 + (exit $ac_status); }; }; then
13671 +@@ -12188,10 +14371,11 @@
13672 +
13673 + ncbi_cv_func_sysinfo_1=no
13674 + fi
13675 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13676 ++
13677 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13678 + fi
13679 +-echo "$as_me:$LINENO: result: $ncbi_cv_func_sysinfo_1" >&5
13680 +-echo "${ECHO_T}$ncbi_cv_func_sysinfo_1" >&6
13681 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_func_sysinfo_1" >&5
13682 ++echo "${ECHO_T}$ncbi_cv_func_sysinfo_1" >&6; }
13683 +
13684 + if test "$ncbi_cv_func_sysinfo_1" = yes; then
13685 +
13686 +@@ -12205,9 +14389,9 @@
13687 + for ac_func in getloadavg
13688 + do
13689 + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13690 +-echo "$as_me:$LINENO: checking for $ac_func" >&5
13691 +-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13692 +-if eval "test \"\${$as_ac_var+set}\" = set"; then
13693 ++{ echo "$as_me:$LINENO: checking for $ac_func" >&5
13694 ++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13695 ++if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13696 + echo $ECHO_N "(cached) $ECHO_C" >&6
13697 + else
13698 + cat >conftest.$ac_ext <<_ACEOF
13699 +@@ -12233,53 +14417,59 @@
13700 +
13701 + #undef $ac_func
13702 +
13703 +-/* Override any gcc2 internal prototype to avoid an error. */
13704 ++/* Override any GCC internal prototype to avoid an error.
13705 ++ Use char because int might match the return type of a GCC
13706 ++ builtin and then its argument prototype would still apply. */
13707 + #ifdef __cplusplus
13708 + extern "C"
13709 +-{
13710 + #endif
13711 +-/* We use char because int might match the return type of a gcc2
13712 +- builtin and then its argument prototype would still apply. */
13713 + char $ac_func ();
13714 + /* The GNU C library defines this for functions which it implements
13715 + to always fail with ENOSYS. Some functions are actually named
13716 + something starting with __ and the normal name is an alias. */
13717 +-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13718 ++#if defined __stub_$ac_func || defined __stub___$ac_func
13719 + choke me
13720 +-#else
13721 +-char (*f) () = $ac_func;
13722 +-#endif
13723 +-#ifdef __cplusplus
13724 +-}
13725 + #endif
13726 +
13727 + int
13728 + main ()
13729 + {
13730 +-return f != $ac_func;
13731 ++return $ac_func ();
13732 + ;
13733 + return 0;
13734 + }
13735 + _ACEOF
13736 + rm -f conftest.$ac_objext conftest$ac_exeext
13737 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13738 +- (eval $ac_link) 2>conftest.er1
13739 ++if { (ac_try="$ac_link"
13740 ++case "(($ac_try" in
13741 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13742 ++ *) ac_try_echo=$ac_try;;
13743 ++esac
13744 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13745 ++ (eval "$ac_link") 2>conftest.er1
13746 + ac_status=$?
13747 + grep -v '^ *+' conftest.er1 >conftest.err
13748 + rm -f conftest.er1
13749 + cat conftest.err >&5
13750 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 + (exit $ac_status); } &&
13752 +- { ac_try='test -z "$ac_cxx_werror_flag"
13753 +- || test ! -s conftest.err'
13754 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13755 +- (eval $ac_try) 2>&5
13756 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13757 ++ { (case "(($ac_try" in
13758 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13759 ++ *) ac_try_echo=$ac_try;;
13760 ++esac
13761 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13762 ++ (eval "$ac_try") 2>&5
13763 + ac_status=$?
13764 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 + (exit $ac_status); }; } &&
13766 + { ac_try='test -s conftest$ac_exeext'
13767 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13768 +- (eval $ac_try) 2>&5
13769 ++ { (case "(($ac_try" in
13770 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13771 ++ *) ac_try_echo=$ac_try;;
13772 ++esac
13773 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13774 ++ (eval "$ac_try") 2>&5
13775 + ac_status=$?
13776 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777 + (exit $ac_status); }; }; then
13778 +@@ -12290,11 +14480,13 @@
13779 +
13780 + eval "$as_ac_var=no"
13781 + fi
13782 +-rm -f conftest.err conftest.$ac_objext \
13783 ++
13784 ++rm -f core conftest.err conftest.$ac_objext \
13785 + conftest$ac_exeext conftest.$ac_ext
13786 + fi
13787 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13788 +-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13789 ++ac_res=`eval echo '${'$as_ac_var'}'`
13790 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
13791 ++echo "${ECHO_T}$ac_res" >&6; }
13792 + if test `eval echo '${'$as_ac_var'}'` = yes; then
13793 + cat >>confdefs.h <<_ACEOF
13794 + #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13795 +@@ -12306,8 +14498,8 @@
13796 +
13797 + ## readdir_r() -- 2 different variants: 2-arg (trad. Solaris), 3-arg (POSIX).
13798 +
13799 +-echo "$as_me:$LINENO: checking for readdir_r" >&5
13800 +-echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
13801 ++{ echo "$as_me:$LINENO: checking for readdir_r" >&5
13802 ++echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
13803 + if test "${ncbi_cv_func_readdir_r+set}" = set; then
13804 + echo $ECHO_N "(cached) $ECHO_C" >&6
13805 + else
13806 +@@ -12328,24 +14520,36 @@
13807 + }
13808 + _ACEOF
13809 + rm -f conftest.$ac_objext
13810 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13811 +- (eval $ac_compile) 2>conftest.er1
13812 ++if { (ac_try="$ac_compile"
13813 ++case "(($ac_try" in
13814 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13815 ++ *) ac_try_echo=$ac_try;;
13816 ++esac
13817 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13818 ++ (eval "$ac_compile") 2>conftest.er1
13819 + ac_status=$?
13820 + grep -v '^ *+' conftest.er1 >conftest.err
13821 + rm -f conftest.er1
13822 + cat conftest.err >&5
13823 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13824 + (exit $ac_status); } &&
13825 +- { ac_try='test -z "$ac_cxx_werror_flag"
13826 +- || test ! -s conftest.err'
13827 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13828 +- (eval $ac_try) 2>&5
13829 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13830 ++ { (case "(($ac_try" in
13831 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13832 ++ *) ac_try_echo=$ac_try;;
13833 ++esac
13834 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13835 ++ (eval "$ac_try") 2>&5
13836 + ac_status=$?
13837 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13838 + (exit $ac_status); }; } &&
13839 + { ac_try='test -s conftest.$ac_objext'
13840 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13841 +- (eval $ac_try) 2>&5
13842 ++ { (case "(($ac_try" in
13843 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13844 ++ *) ac_try_echo=$ac_try;;
13845 ++esac
13846 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13847 ++ (eval "$ac_try") 2>&5
13848 + ac_status=$?
13849 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 + (exit $ac_status); }; }; then
13851 +@@ -12354,8 +14558,10 @@
13852 + echo "$as_me: failed program was:" >&5
13853 + sed 's/^/| /' conftest.$ac_ext >&5
13854 +
13855 ++
13856 + fi
13857 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13858 ++
13859 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13860 + if test "$ncbi_cv_func_readdir_r" = "no" ; then
13861 + cat >conftest.$ac_ext <<_ACEOF
13862 + /* confdefs.h. */
13863 +@@ -12373,24 +14579,36 @@
13864 + }
13865 + _ACEOF
13866 + rm -f conftest.$ac_objext
13867 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13868 +- (eval $ac_compile) 2>conftest.er1
13869 ++if { (ac_try="$ac_compile"
13870 ++case "(($ac_try" in
13871 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13872 ++ *) ac_try_echo=$ac_try;;
13873 ++esac
13874 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13875 ++ (eval "$ac_compile") 2>conftest.er1
13876 + ac_status=$?
13877 + grep -v '^ *+' conftest.er1 >conftest.err
13878 + rm -f conftest.er1
13879 + cat conftest.err >&5
13880 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13881 + (exit $ac_status); } &&
13882 +- { ac_try='test -z "$ac_cxx_werror_flag"
13883 +- || test ! -s conftest.err'
13884 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13885 +- (eval $ac_try) 2>&5
13886 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13887 ++ { (case "(($ac_try" in
13888 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13889 ++ *) ac_try_echo=$ac_try;;
13890 ++esac
13891 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13892 ++ (eval "$ac_try") 2>&5
13893 + ac_status=$?
13894 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 + (exit $ac_status); }; } &&
13896 + { ac_try='test -s conftest.$ac_objext'
13897 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13898 +- (eval $ac_try) 2>&5
13899 ++ { (case "(($ac_try" in
13900 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13901 ++ *) ac_try_echo=$ac_try;;
13902 ++esac
13903 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13904 ++ (eval "$ac_try") 2>&5
13905 + ac_status=$?
13906 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13907 + (exit $ac_status); }; }; then
13908 +@@ -12399,12 +14617,14 @@
13909 + echo "$as_me: failed program was:" >&5
13910 + sed 's/^/| /' conftest.$ac_ext >&5
13911 +
13912 ++
13913 + fi
13914 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13915 ++
13916 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13917 + fi
13918 + fi
13919 +-echo "$as_me:$LINENO: result: $ncbi_cv_func_readdir_r" >&5
13920 +-echo "${ECHO_T}$ncbi_cv_func_readdir_r" >&6
13921 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_func_readdir_r" >&5
13922 ++echo "${ECHO_T}$ncbi_cv_func_readdir_r" >&6; }
13923 +
13924 + if test "$ncbi_cv_func_readdir_r" != "no" ; then
13925 +
13926 +@@ -12415,8 +14635,8 @@
13927 + fi
13928 +
13929 + ### Check for typedefs, structures, and compiler features.
13930 +-echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13931 +-echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13932 ++{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13933 ++echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
13934 + if test "${ac_cv_c_const+set}" = set; then
13935 + echo $ECHO_N "(cached) $ECHO_C" >&6
13936 + else
13937 +@@ -12456,6 +14676,7 @@
13938 + char const *s = 0 ? (char *) 0 : (char const *) 0;
13939 +
13940 + *t++ = 0;
13941 ++ if (s) return 0;
13942 + }
13943 + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13944 + int x[] = {25, 17};
13945 +@@ -12474,7 +14695,9 @@
13946 + }
13947 + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13948 + const int foo = 10;
13949 ++ if (!foo) return 0;
13950 + }
13951 ++ return !x[0] && !zero.x;
13952 + #endif
13953 +
13954 + ;
13955 +@@ -12482,24 +14705,36 @@
13956 + }
13957 + _ACEOF
13958 + rm -f conftest.$ac_objext
13959 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13960 +- (eval $ac_compile) 2>conftest.er1
13961 ++if { (ac_try="$ac_compile"
13962 ++case "(($ac_try" in
13963 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13964 ++ *) ac_try_echo=$ac_try;;
13965 ++esac
13966 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13967 ++ (eval "$ac_compile") 2>conftest.er1
13968 + ac_status=$?
13969 + grep -v '^ *+' conftest.er1 >conftest.err
13970 + rm -f conftest.er1
13971 + cat conftest.err >&5
13972 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13973 + (exit $ac_status); } &&
13974 +- { ac_try='test -z "$ac_cxx_werror_flag"
13975 +- || test ! -s conftest.err'
13976 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13977 +- (eval $ac_try) 2>&5
13978 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
13988 + { ac_try='test -s conftest.$ac_objext'
13989 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13990 +- (eval $ac_try) 2>&5
13991 ++ { (case "(($ac_try" in
13992 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13993 ++ *) ac_try_echo=$ac_try;;
13994 ++esac
13995 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13996 ++ (eval "$ac_try") 2>&5
13997 + ac_status=$?
13998 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13999 + (exit $ac_status); }; }; then
14000 +@@ -12510,10 +14745,11 @@
14001 +
14002 + ac_cv_c_const=no
14003 + fi
14004 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14005 ++
14006 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14007 + fi
14008 +-echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14009 +-echo "${ECHO_T}$ac_cv_c_const" >&6
14010 ++{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14011 ++echo "${ECHO_T}$ac_cv_c_const" >&6; }
14012 + if test $ac_cv_c_const = no; then
14013 +
14014 + cat >>confdefs.h <<\_ACEOF
14015 +@@ -12525,8 +14761,8 @@
14016 +
14017 + ### Check for C standard types and sizes
14018 + if test "${with_universal-no}" = "no"; then
14019 +- echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
14020 +-echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
14021 ++ { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
14022 ++echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
14023 + if test "${ac_cv_c_bigendian+set}" = set; then
14024 + echo $ECHO_N "(cached) $ECHO_C" >&6
14025 + else
14026 +@@ -12552,24 +14788,36 @@
14027 + }
14028 + _ACEOF
14029 + rm -f conftest.$ac_objext
14030 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14031 +- (eval $ac_compile) 2>conftest.er1
14032 ++if { (ac_try="$ac_compile"
14033 ++case "(($ac_try" in
14034 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14035 ++ *) ac_try_echo=$ac_try;;
14036 ++esac
14037 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14038 ++ (eval "$ac_compile") 2>conftest.er1
14039 + ac_status=$?
14040 + grep -v '^ *+' conftest.er1 >conftest.err
14041 + rm -f conftest.er1
14042 + cat conftest.err >&5
14043 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044 + (exit $ac_status); } &&
14045 +- { ac_try='test -z "$ac_cxx_werror_flag"
14046 +- || test ! -s conftest.err'
14047 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14048 +- (eval $ac_try) 2>&5
14049 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14050 ++ { (case "(($ac_try" in
14051 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14052 ++ *) ac_try_echo=$ac_try;;
14053 ++esac
14054 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14055 ++ (eval "$ac_try") 2>&5
14056 + ac_status=$?
14057 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14058 + (exit $ac_status); }; } &&
14059 + { ac_try='test -s conftest.$ac_objext'
14060 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14061 +- (eval $ac_try) 2>&5
14062 ++ { (case "(($ac_try" in
14063 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14064 ++ *) ac_try_echo=$ac_try;;
14065 ++esac
14066 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14067 ++ (eval "$ac_try") 2>&5
14068 + ac_status=$?
14069 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14070 + (exit $ac_status); }; }; then
14071 +@@ -12595,24 +14843,36 @@
14072 + }
14073 + _ACEOF
14074 + rm -f conftest.$ac_objext
14075 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14076 +- (eval $ac_compile) 2>conftest.er1
14077 ++if { (ac_try="$ac_compile"
14078 ++case "(($ac_try" in
14079 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14080 ++ *) ac_try_echo=$ac_try;;
14081 ++esac
14082 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14083 ++ (eval "$ac_compile") 2>conftest.er1
14084 + ac_status=$?
14085 + grep -v '^ *+' conftest.er1 >conftest.err
14086 + rm -f conftest.er1
14087 + cat conftest.err >&5
14088 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 + (exit $ac_status); } &&
14090 +- { ac_try='test -z "$ac_cxx_werror_flag"
14091 +- || test ! -s conftest.err'
14092 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14093 +- (eval $ac_try) 2>&5
14094 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14095 ++ { (case "(($ac_try" in
14096 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14097 ++ *) ac_try_echo=$ac_try;;
14098 ++esac
14099 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14100 ++ (eval "$ac_try") 2>&5
14101 + ac_status=$?
14102 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14103 + (exit $ac_status); }; } &&
14104 + { ac_try='test -s conftest.$ac_objext'
14105 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14106 +- (eval $ac_try) 2>&5
14107 ++ { (case "(($ac_try" in
14108 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14109 ++ *) ac_try_echo=$ac_try;;
14110 ++esac
14111 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14112 ++ (eval "$ac_try") 2>&5
14113 + ac_status=$?
14114 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115 + (exit $ac_status); }; }; then
14116 +@@ -12623,7 +14883,8 @@
14117 +
14118 + ac_cv_c_bigendian=no
14119 + fi
14120 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14121 ++
14122 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14123 + else
14124 + echo "$as_me: failed program was:" >&5
14125 + sed 's/^/| /' conftest.$ac_ext >&5
14126 +@@ -12638,11 +14899,11 @@
14127 + cat confdefs.h >>conftest.$ac_ext
14128 + cat >>conftest.$ac_ext <<_ACEOF
14129 + /* end confdefs.h. */
14130 +-short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14131 +-short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14132 ++short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14133 ++short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14134 + void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
14135 +-short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14136 +-short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14137 ++short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14138 ++short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14139 + void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
14140 + int
14141 + main ()
14142 +@@ -12653,24 +14914,36 @@
14143 + }
14144 + _ACEOF
14145 + rm -f conftest.$ac_objext
14146 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14147 +- (eval $ac_compile) 2>conftest.er1
14148 ++if { (ac_try="$ac_compile"
14149 ++case "(($ac_try" in
14150 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14151 ++ *) ac_try_echo=$ac_try;;
14152 ++esac
14153 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14154 ++ (eval "$ac_compile") 2>conftest.er1
14155 + ac_status=$?
14156 + grep -v '^ *+' conftest.er1 >conftest.err
14157 + rm -f conftest.er1
14158 + cat conftest.err >&5
14159 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160 + (exit $ac_status); } &&
14161 +- { ac_try='test -z "$ac_cxx_werror_flag"
14162 +- || test ! -s conftest.err'
14163 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14164 +- (eval $ac_try) 2>&5
14165 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14166 ++ { (case "(($ac_try" in
14167 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14168 ++ *) ac_try_echo=$ac_try;;
14169 ++esac
14170 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14171 ++ (eval "$ac_try") 2>&5
14172 + ac_status=$?
14173 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 + (exit $ac_status); }; } &&
14175 + { ac_try='test -s conftest.$ac_objext'
14176 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14177 +- (eval $ac_try) 2>&5
14178 ++ { (case "(($ac_try" in
14179 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14180 ++ *) ac_try_echo=$ac_try;;
14181 ++esac
14182 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14183 ++ (eval "$ac_try") 2>&5
14184 + ac_status=$?
14185 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 + (exit $ac_status); }; }; then
14187 +@@ -12689,8 +14962,10 @@
14188 + echo "$as_me: failed program was:" >&5
14189 + sed 's/^/| /' conftest.$ac_ext >&5
14190 +
14191 ++
14192 + fi
14193 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14194 ++
14195 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14196 + else
14197 + cat >conftest.$ac_ext <<_ACEOF
14198 + /* confdefs.h. */
14199 +@@ -12698,27 +14973,41 @@
14200 + cat confdefs.h >>conftest.$ac_ext
14201 + cat >>conftest.$ac_ext <<_ACEOF
14202 + /* end confdefs.h. */
14203 ++$ac_includes_default
14204 + int
14205 + main ()
14206 + {
14207 ++
14208 + /* Are we little or big endian? From Harbison&Steele. */
14209 + union
14210 + {
14211 +- long l;
14212 +- char c[sizeof (long)];
14213 ++ long int l;
14214 ++ char c[sizeof (long int)];
14215 + } u;
14216 + u.l = 1;
14217 +- exit (u.c[sizeof (long) - 1] == 1);
14218 ++ return u.c[sizeof (long int) - 1] == 1;
14219 ++
14220 ++ ;
14221 ++ return 0;
14222 + }
14223 + _ACEOF
14224 + rm -f conftest$ac_exeext
14225 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14226 +- (eval $ac_link) 2>&5
14227 ++if { (ac_try="$ac_link"
14228 ++case "(($ac_try" in
14229 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14230 ++ *) ac_try_echo=$ac_try;;
14231 ++esac
14232 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14233 ++ (eval "$ac_link") 2>&5
14234 + ac_status=$?
14235 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14237 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14238 +- (eval $ac_try) 2>&5
14239 ++ { (case "(($ac_try" in
14240 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14241 ++ *) ac_try_echo=$ac_try;;
14242 ++esac
14243 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14244 ++ (eval "$ac_try") 2>&5
14245 + ac_status=$?
14246 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14247 + (exit $ac_status); }; }; then
14248 +@@ -12731,13 +15020,16 @@
14249 + ( exit $ac_status )
14250 + ac_cv_c_bigendian=yes
14251 + fi
14252 +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14253 ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14254 + fi
14255 ++
14256 ++
14257 + fi
14258 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14259 ++
14260 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14261 + fi
14262 +-echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
14263 +-echo "${ECHO_T}$ac_cv_c_bigendian" >&6
14264 ++{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
14265 ++echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
14266 + case $ac_cv_c_bigendian in
14267 + yes)
14268 +
14269 +@@ -12756,8 +15048,8 @@
14270 + esac
14271 +
14272 +
14273 +-echo "$as_me:$LINENO: checking whether char is unsigned" >&5
14274 +-echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6
14275 ++{ echo "$as_me:$LINENO: checking whether char is unsigned" >&5
14276 ++echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6; }
14277 + if test "${ac_cv_c_char_unsigned+set}" = set; then
14278 + echo $ECHO_N "(cached) $ECHO_C" >&6
14279 + else
14280 +@@ -12779,24 +15071,36 @@
14281 + }
14282 + _ACEOF
14283 + rm -f conftest.$ac_objext
14284 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14285 +- (eval $ac_compile) 2>conftest.er1
14286 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
14293 + ac_status=$?
14294 + grep -v '^ *+' conftest.er1 >conftest.err
14295 + rm -f conftest.er1
14296 + cat conftest.err >&5
14297 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298 + (exit $ac_status); } &&
14299 +- { ac_try='test -z "$ac_cxx_werror_flag"
14300 +- || test ! -s conftest.err'
14301 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14302 +- (eval $ac_try) 2>&5
14303 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14304 ++ { (case "(($ac_try" in
14305 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14306 ++ *) ac_try_echo=$ac_try;;
14307 ++esac
14308 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14309 ++ (eval "$ac_try") 2>&5
14310 + ac_status=$?
14311 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 + (exit $ac_status); }; } &&
14313 + { ac_try='test -s conftest.$ac_objext'
14314 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14315 +- (eval $ac_try) 2>&5
14316 ++ { (case "(($ac_try" in
14317 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14318 ++ *) ac_try_echo=$ac_try;;
14319 ++esac
14320 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14321 ++ (eval "$ac_try") 2>&5
14322 + ac_status=$?
14323 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14324 + (exit $ac_status); }; }; then
14325 +@@ -12807,10 +15111,11 @@
14326 +
14327 + ac_cv_c_char_unsigned=yes
14328 + fi
14329 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14330 ++
14331 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14332 + fi
14333 +-echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
14334 +-echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6
14335 ++{ echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
14336 ++echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6; }
14337 + if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
14338 + cat >>confdefs.h <<\_ACEOF
14339 + #define __CHAR_UNSIGNED__ 1
14340 +@@ -12818,8 +15123,8 @@
14341 +
14342 + fi
14343 +
14344 +- echo "$as_me:$LINENO: checking for char" >&5
14345 +-echo $ECHO_N "checking for char... $ECHO_C" >&6
14346 ++ { echo "$as_me:$LINENO: checking for char" >&5
14347 ++echo $ECHO_N "checking for char... $ECHO_C" >&6; }
14348 + if test "${ac_cv_type_char+set}" = set; then
14349 + echo $ECHO_N "(cached) $ECHO_C" >&6
14350 + else
14351 +@@ -12830,36 +15135,49 @@
14352 + cat >>conftest.$ac_ext <<_ACEOF
14353 + /* end confdefs.h. */
14354 + $ac_includes_default
14355 ++typedef char ac__type_new_;
14356 + int
14357 + main ()
14358 + {
14359 +-if ((char *) 0)
14360 ++if ((ac__type_new_ *) 0)
14361 + return 0;
14362 +-if (sizeof (char))
14363 ++if (sizeof (ac__type_new_))
14364 + return 0;
14365 + ;
14366 + return 0;
14367 + }
14368 + _ACEOF
14369 + rm -f conftest.$ac_objext
14370 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14371 +- (eval $ac_compile) 2>conftest.er1
14372 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
14379 + ac_status=$?
14380 + grep -v '^ *+' conftest.er1 >conftest.err
14381 + rm -f conftest.er1
14382 + cat conftest.err >&5
14383 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 + (exit $ac_status); } &&
14385 +- { ac_try='test -z "$ac_cxx_werror_flag"
14386 +- || test ! -s conftest.err'
14387 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14388 +- (eval $ac_try) 2>&5
14389 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14390 ++ { (case "(($ac_try" in
14391 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14392 ++ *) ac_try_echo=$ac_try;;
14393 ++esac
14394 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14395 ++ (eval "$ac_try") 2>&5
14396 + ac_status=$?
14397 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 + (exit $ac_status); }; } &&
14399 + { ac_try='test -s conftest.$ac_objext'
14400 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14401 +- (eval $ac_try) 2>&5
14402 ++ { (case "(($ac_try" in
14403 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14404 ++ *) ac_try_echo=$ac_try;;
14405 ++esac
14406 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14407 ++ (eval "$ac_try") 2>&5
14408 + ac_status=$?
14409 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14410 + (exit $ac_status); }; }; then
14411 +@@ -12870,18 +15188,19 @@
14412 +
14413 + ac_cv_type_char=no
14414 + fi
14415 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14416 ++
14417 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14418 + fi
14419 +-echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14420 +-echo "${ECHO_T}$ac_cv_type_char" >&6
14421 ++{ echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14422 ++echo "${ECHO_T}$ac_cv_type_char" >&6; }
14423 +
14424 +-echo "$as_me:$LINENO: checking size of char" >&5
14425 +-echo $ECHO_N "checking size of char... $ECHO_C" >&6
14426 ++{ echo "$as_me:$LINENO: checking size of char" >&5
14427 ++echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
14428 + if test "${ac_cv_sizeof_char+set}" = set; then
14429 + echo $ECHO_N "(cached) $ECHO_C" >&6
14430 + else
14431 + if test "$ac_cv_type_char" = yes; then
14432 +- # The cast to unsigned long works around a bug in the HP C Compiler
14433 ++ # The cast to long int works around a bug in the HP C Compiler
14434 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14435 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14436 + # This bug is HP SR number 8606223364.
14437 +@@ -12894,10 +15213,11 @@
14438 + cat >>conftest.$ac_ext <<_ACEOF
14439 + /* end confdefs.h. */
14440 + $ac_includes_default
14441 ++ typedef char ac__type_sizeof_;
14442 + int
14443 + main ()
14444 + {
14445 +-static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14446 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
14447 + test_array [0] = 0
14448 +
14449 + ;
14450 +@@ -12905,24 +15225,36 @@
14451 + }
14452 + _ACEOF
14453 + rm -f conftest.$ac_objext
14454 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14455 +- (eval $ac_compile) 2>conftest.er1
14456 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
14463 + ac_status=$?
14464 + grep -v '^ *+' conftest.er1 >conftest.err
14465 + rm -f conftest.er1
14466 + cat conftest.err >&5
14467 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14468 + (exit $ac_status); } &&
14469 +- { ac_try='test -z "$ac_cxx_werror_flag"
14470 +- || test ! -s conftest.err'
14471 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14472 +- (eval $ac_try) 2>&5
14473 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14474 ++ { (case "(($ac_try" in
14475 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14476 ++ *) ac_try_echo=$ac_try;;
14477 ++esac
14478 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14479 ++ (eval "$ac_try") 2>&5
14480 + ac_status=$?
14481 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482 + (exit $ac_status); }; } &&
14483 + { ac_try='test -s conftest.$ac_objext'
14484 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14485 +- (eval $ac_try) 2>&5
14486 ++ { (case "(($ac_try" in
14487 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14488 ++ *) ac_try_echo=$ac_try;;
14489 ++esac
14490 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14491 ++ (eval "$ac_try") 2>&5
14492 + ac_status=$?
14493 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14494 + (exit $ac_status); }; }; then
14495 +@@ -12935,10 +15267,11 @@
14496 + cat >>conftest.$ac_ext <<_ACEOF
14497 + /* end confdefs.h. */
14498 + $ac_includes_default
14499 ++ typedef char ac__type_sizeof_;
14500 + int
14501 + main ()
14502 + {
14503 +-static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14504 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
14505 + test_array [0] = 0
14506 +
14507 + ;
14508 +@@ -12946,24 +15279,36 @@
14509 + }
14510 + _ACEOF
14511 + rm -f conftest.$ac_objext
14512 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14513 +- (eval $ac_compile) 2>conftest.er1
14514 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
14521 + ac_status=$?
14522 + grep -v '^ *+' conftest.er1 >conftest.err
14523 + rm -f conftest.er1
14524 + cat conftest.err >&5
14525 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14526 + (exit $ac_status); } &&
14527 +- { ac_try='test -z "$ac_cxx_werror_flag"
14528 +- || test ! -s conftest.err'
14529 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14530 +- (eval $ac_try) 2>&5
14531 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14532 ++ { (case "(($ac_try" in
14533 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14534 ++ *) ac_try_echo=$ac_try;;
14535 ++esac
14536 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14537 ++ (eval "$ac_try") 2>&5
14538 + ac_status=$?
14539 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 + (exit $ac_status); }; } &&
14541 + { ac_try='test -s conftest.$ac_objext'
14542 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14543 +- (eval $ac_try) 2>&5
14544 ++ { (case "(($ac_try" in
14545 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14546 ++ *) ac_try_echo=$ac_try;;
14547 ++esac
14548 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14549 ++ (eval "$ac_try") 2>&5
14550 + ac_status=$?
14551 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14552 + (exit $ac_status); }; }; then
14553 +@@ -12979,7 +15324,8 @@
14554 + fi
14555 + ac_mid=`expr 2 '*' $ac_mid + 1`
14556 + fi
14557 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14558 ++
14559 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14560 + done
14561 + else
14562 + echo "$as_me: failed program was:" >&5
14563 +@@ -12992,10 +15338,11 @@
14564 + cat >>conftest.$ac_ext <<_ACEOF
14565 + /* end confdefs.h. */
14566 + $ac_includes_default
14567 ++ typedef char ac__type_sizeof_;
14568 + int
14569 + main ()
14570 + {
14571 +-static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14572 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
14573 + test_array [0] = 0
14574 +
14575 + ;
14576 +@@ -13003,24 +15350,36 @@
14577 + }
14578 + _ACEOF
14579 + rm -f conftest.$ac_objext
14580 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14581 +- (eval $ac_compile) 2>conftest.er1
14582 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
14589 + ac_status=$?
14590 + grep -v '^ *+' conftest.er1 >conftest.err
14591 + rm -f conftest.er1
14592 + cat conftest.err >&5
14593 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 + (exit $ac_status); } &&
14595 +- { ac_try='test -z "$ac_cxx_werror_flag"
14596 +- || test ! -s conftest.err'
14597 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14598 +- (eval $ac_try) 2>&5
14599 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14600 ++ { (case "(($ac_try" in
14601 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14602 ++ *) ac_try_echo=$ac_try;;
14603 ++esac
14604 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14605 ++ (eval "$ac_try") 2>&5
14606 + ac_status=$?
14607 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14608 + (exit $ac_status); }; } &&
14609 + { ac_try='test -s conftest.$ac_objext'
14610 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14611 +- (eval $ac_try) 2>&5
14612 ++ { (case "(($ac_try" in
14613 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14614 ++ *) ac_try_echo=$ac_try;;
14615 ++esac
14616 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14617 ++ (eval "$ac_try") 2>&5
14618 + ac_status=$?
14619 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 + (exit $ac_status); }; }; then
14621 +@@ -13033,10 +15392,11 @@
14622 + cat >>conftest.$ac_ext <<_ACEOF
14623 + /* end confdefs.h. */
14624 + $ac_includes_default
14625 ++ typedef char ac__type_sizeof_;
14626 + int
14627 + main ()
14628 + {
14629 +-static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14630 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
14631 + test_array [0] = 0
14632 +
14633 + ;
14634 +@@ -13044,24 +15404,36 @@
14635 + }
14636 + _ACEOF
14637 + rm -f conftest.$ac_objext
14638 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14639 +- (eval $ac_compile) 2>conftest.er1
14640 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
14647 + ac_status=$?
14648 + grep -v '^ *+' conftest.er1 >conftest.err
14649 + rm -f conftest.er1
14650 + cat conftest.err >&5
14651 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 + (exit $ac_status); } &&
14653 +- { ac_try='test -z "$ac_cxx_werror_flag"
14654 +- || test ! -s conftest.err'
14655 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14656 +- (eval $ac_try) 2>&5
14657 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14658 ++ { (case "(($ac_try" in
14659 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14660 ++ *) ac_try_echo=$ac_try;;
14661 ++esac
14662 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14663 ++ (eval "$ac_try") 2>&5
14664 + ac_status=$?
14665 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 + (exit $ac_status); }; } &&
14667 + { ac_try='test -s conftest.$ac_objext'
14668 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14669 +- (eval $ac_try) 2>&5
14670 ++ { (case "(($ac_try" in
14671 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14672 ++ *) ac_try_echo=$ac_try;;
14673 ++esac
14674 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14675 ++ (eval "$ac_try") 2>&5
14676 + ac_status=$?
14677 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 + (exit $ac_status); }; }; then
14679 +@@ -13077,7 +15449,8 @@
14680 + fi
14681 + ac_mid=`expr 2 '*' $ac_mid`
14682 + fi
14683 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14684 ++
14685 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14686 + done
14687 + else
14688 + echo "$as_me: failed program was:" >&5
14689 +@@ -13085,9 +15458,11 @@
14690 +
14691 + ac_lo= ac_hi=
14692 + fi
14693 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14694 ++
14695 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14696 + fi
14697 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14698 ++
14699 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14700 + # Binary search between lo and hi bounds.
14701 + while test "x$ac_lo" != "x$ac_hi"; do
14702 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14703 +@@ -13098,10 +15473,11 @@
14704 + cat >>conftest.$ac_ext <<_ACEOF
14705 + /* end confdefs.h. */
14706 + $ac_includes_default
14707 ++ typedef char ac__type_sizeof_;
14708 + int
14709 + main ()
14710 + {
14711 +-static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14712 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
14713 + test_array [0] = 0
14714 +
14715 + ;
14716 +@@ -13109,24 +15485,36 @@
14717 + }
14718 + _ACEOF
14719 + rm -f conftest.$ac_objext
14720 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14721 +- (eval $ac_compile) 2>conftest.er1
14722 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
14729 + ac_status=$?
14730 + grep -v '^ *+' conftest.er1 >conftest.err
14731 + rm -f conftest.er1
14732 + cat conftest.err >&5
14733 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734 + (exit $ac_status); } &&
14735 +- { ac_try='test -z "$ac_cxx_werror_flag"
14736 +- || test ! -s conftest.err'
14737 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14738 +- (eval $ac_try) 2>&5
14739 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14740 ++ { (case "(($ac_try" in
14741 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14742 ++ *) ac_try_echo=$ac_try;;
14743 ++esac
14744 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14745 ++ (eval "$ac_try") 2>&5
14746 + ac_status=$?
14747 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 + (exit $ac_status); }; } &&
14749 + { ac_try='test -s conftest.$ac_objext'
14750 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14751 +- (eval $ac_try) 2>&5
14752 ++ { (case "(($ac_try" in
14753 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14754 ++ *) ac_try_echo=$ac_try;;
14755 ++esac
14756 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14757 ++ (eval "$ac_try") 2>&5
14758 + ac_status=$?
14759 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760 + (exit $ac_status); }; }; then
14761 +@@ -13137,24 +15525,18 @@
14762 +
14763 + ac_lo=`expr '(' $ac_mid ')' + 1`
14764 + fi
14765 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14766 ++
14767 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14768 + done
14769 + case $ac_lo in
14770 + ?*) ac_cv_sizeof_char=$ac_lo;;
14771 +-'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14772 ++'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
14773 + See \`config.log' for more details." >&5
14774 +-echo "$as_me: error: cannot compute sizeof (char), 77
14775 ++echo "$as_me: error: cannot compute sizeof (char)
14776 + See \`config.log' for more details." >&2;}
14777 +- { (exit 1); exit 1; }; } ;;
14778 ++ { (exit 77); exit 77; }; } ;;
14779 + esac
14780 + else
14781 +- if test "$cross_compiling" = yes; then
14782 +- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14783 +-See \`config.log' for more details." >&5
14784 +-echo "$as_me: error: cannot run test program while cross compiling
14785 +-See \`config.log' for more details." >&2;}
14786 +- { (exit 1); exit 1; }; }
14787 +-else
14788 + cat >conftest.$ac_ext <<_ACEOF
14789 + /* confdefs.h. */
14790 + _ACEOF
14791 +@@ -13162,8 +15544,9 @@
14792 + cat >>conftest.$ac_ext <<_ACEOF
14793 + /* end confdefs.h. */
14794 + $ac_includes_default
14795 +-long longval () { return (long) (sizeof (char)); }
14796 +-unsigned long ulongval () { return (long) (sizeof (char)); }
14797 ++ typedef char ac__type_sizeof_;
14798 ++static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
14799 ++static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
14800 + #include <stdio.h>
14801 + #include <stdlib.h>
14802 + int
14803 +@@ -13172,35 +15555,44 @@
14804 +
14805 + FILE *f = fopen ("conftest.val", "w");
14806 + if (! f)
14807 +- exit (1);
14808 +- if (((long) (sizeof (char))) < 0)
14809 ++ return 1;
14810 ++ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
14811 + {
14812 +- long i = longval ();
14813 +- if (i != ((long) (sizeof (char))))
14814 +- exit (1);
14815 ++ long int i = longval ();
14816 ++ if (i != ((long int) (sizeof (ac__type_sizeof_))))
14817 ++ return 1;
14818 + fprintf (f, "%ld\n", i);
14819 + }
14820 + else
14821 + {
14822 +- unsigned long i = ulongval ();
14823 +- if (i != ((long) (sizeof (char))))
14824 +- exit (1);
14825 ++ unsigned long int i = ulongval ();
14826 ++ if (i != ((long int) (sizeof (ac__type_sizeof_))))
14827 ++ return 1;
14828 + fprintf (f, "%lu\n", i);
14829 + }
14830 +- exit (ferror (f) || fclose (f) != 0);
14831 ++ return ferror (f) || fclose (f) != 0;
14832 +
14833 + ;
14834 + return 0;
14835 + }
14836 + _ACEOF
14837 + rm -f conftest$ac_exeext
14838 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14839 +- (eval $ac_link) 2>&5
14840 ++if { (ac_try="$ac_link"
14841 ++case "(($ac_try" in
14842 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14843 ++ *) ac_try_echo=$ac_try;;
14844 ++esac
14845 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14846 ++ (eval "$ac_link") 2>&5
14847 + ac_status=$?
14848 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14850 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14851 +- (eval $ac_try) 2>&5
14852 ++ { (case "(($ac_try" in
14853 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14854 ++ *) ac_try_echo=$ac_try;;
14855 ++esac
14856 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14857 ++ (eval "$ac_try") 2>&5
14858 + ac_status=$?
14859 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 + (exit $ac_status); }; }; then
14861 +@@ -13211,29 +15603,28 @@
14862 + sed 's/^/| /' conftest.$ac_ext >&5
14863 +
14864 + ( exit $ac_status )
14865 +-{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14866 ++{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
14867 + See \`config.log' for more details." >&5
14868 +-echo "$as_me: error: cannot compute sizeof (char), 77
14869 ++echo "$as_me: error: cannot compute sizeof (char)
14870 + See \`config.log' for more details." >&2;}
14871 +- { (exit 1); exit 1; }; }
14872 +-fi
14873 +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14874 ++ { (exit 77); exit 77; }; }
14875 + fi
14876 ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14877 + fi
14878 + rm -f conftest.val
14879 + else
14880 + ac_cv_sizeof_char=0
14881 + fi
14882 + fi
14883 +-echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14884 +-echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14885 ++{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14886 ++echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
14887 + cat >>confdefs.h <<_ACEOF
14888 + #define SIZEOF_CHAR $ac_cv_sizeof_char
14889 + _ACEOF
14890 +
14891 +
14892 +- echo "$as_me:$LINENO: checking for double" >&5
14893 +-echo $ECHO_N "checking for double... $ECHO_C" >&6
14894 ++ { echo "$as_me:$LINENO: checking for double" >&5
14895 ++echo $ECHO_N "checking for double... $ECHO_C" >&6; }
14896 + if test "${ac_cv_type_double+set}" = set; then
14897 + echo $ECHO_N "(cached) $ECHO_C" >&6
14898 + else
14899 +@@ -13244,36 +15635,49 @@
14900 + cat >>conftest.$ac_ext <<_ACEOF
14901 + /* end confdefs.h. */
14902 + $ac_includes_default
14903 ++typedef double ac__type_new_;
14904 + int
14905 + main ()
14906 + {
14907 +-if ((double *) 0)
14908 ++if ((ac__type_new_ *) 0)
14909 + return 0;
14910 +-if (sizeof (double))
14911 ++if (sizeof (ac__type_new_))
14912 + return 0;
14913 + ;
14914 + return 0;
14915 + }
14916 + _ACEOF
14917 + rm -f conftest.$ac_objext
14918 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14919 +- (eval $ac_compile) 2>conftest.er1
14920 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
14927 + ac_status=$?
14928 + grep -v '^ *+' conftest.er1 >conftest.err
14929 + rm -f conftest.er1
14930 + cat conftest.err >&5
14931 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932 + (exit $ac_status); } &&
14933 +- { ac_try='test -z "$ac_cxx_werror_flag"
14934 +- || test ! -s conftest.err'
14935 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14936 +- (eval $ac_try) 2>&5
14937 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14938 ++ { (case "(($ac_try" in
14939 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14940 ++ *) ac_try_echo=$ac_try;;
14941 ++esac
14942 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14943 ++ (eval "$ac_try") 2>&5
14944 + ac_status=$?
14945 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946 + (exit $ac_status); }; } &&
14947 + { ac_try='test -s conftest.$ac_objext'
14948 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14949 +- (eval $ac_try) 2>&5
14950 ++ { (case "(($ac_try" in
14951 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14952 ++ *) ac_try_echo=$ac_try;;
14953 ++esac
14954 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14955 ++ (eval "$ac_try") 2>&5
14956 + ac_status=$?
14957 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 + (exit $ac_status); }; }; then
14959 +@@ -13284,18 +15688,19 @@
14960 +
14961 + ac_cv_type_double=no
14962 + fi
14963 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14964 ++
14965 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14966 + fi
14967 +-echo "$as_me:$LINENO: result: $ac_cv_type_double" >&5
14968 +-echo "${ECHO_T}$ac_cv_type_double" >&6
14969 ++{ echo "$as_me:$LINENO: result: $ac_cv_type_double" >&5
14970 ++echo "${ECHO_T}$ac_cv_type_double" >&6; }
14971 +
14972 +-echo "$as_me:$LINENO: checking size of double" >&5
14973 +-echo $ECHO_N "checking size of double... $ECHO_C" >&6
14974 ++{ echo "$as_me:$LINENO: checking size of double" >&5
14975 ++echo $ECHO_N "checking size of double... $ECHO_C" >&6; }
14976 + if test "${ac_cv_sizeof_double+set}" = set; then
14977 + echo $ECHO_N "(cached) $ECHO_C" >&6
14978 + else
14979 + if test "$ac_cv_type_double" = yes; then
14980 +- # The cast to unsigned long works around a bug in the HP C Compiler
14981 ++ # The cast to long int works around a bug in the HP C Compiler
14982 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14983 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14984 + # This bug is HP SR number 8606223364.
14985 +@@ -13308,10 +15713,11 @@
14986 + cat >>conftest.$ac_ext <<_ACEOF
14987 + /* end confdefs.h. */
14988 + $ac_includes_default
14989 ++ typedef double ac__type_sizeof_;
14990 + int
14991 + main ()
14992 + {
14993 +-static int test_array [1 - 2 * !(((long) (sizeof (double))) >= 0)];
14994 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
14995 + test_array [0] = 0
14996 +
14997 + ;
14998 +@@ -13319,24 +15725,36 @@
14999 + }
15000 + _ACEOF
15001 + rm -f conftest.$ac_objext
15002 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15003 +- (eval $ac_compile) 2>conftest.er1
15004 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
15011 + ac_status=$?
15012 + grep -v '^ *+' conftest.er1 >conftest.err
15013 + rm -f conftest.er1
15014 + cat conftest.err >&5
15015 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15016 + (exit $ac_status); } &&
15017 +- { ac_try='test -z "$ac_cxx_werror_flag"
15018 +- || test ! -s conftest.err'
15019 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15020 +- (eval $ac_try) 2>&5
15021 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15022 ++ { (case "(($ac_try" in
15023 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15024 ++ *) ac_try_echo=$ac_try;;
15025 ++esac
15026 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15027 ++ (eval "$ac_try") 2>&5
15028 + ac_status=$?
15029 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15030 + (exit $ac_status); }; } &&
15031 + { ac_try='test -s conftest.$ac_objext'
15032 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15033 +- (eval $ac_try) 2>&5
15034 ++ { (case "(($ac_try" in
15035 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15036 ++ *) ac_try_echo=$ac_try;;
15037 ++esac
15038 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15039 ++ (eval "$ac_try") 2>&5
15040 + ac_status=$?
15041 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15042 + (exit $ac_status); }; }; then
15043 +@@ -13349,10 +15767,11 @@
15044 + cat >>conftest.$ac_ext <<_ACEOF
15045 + /* end confdefs.h. */
15046 + $ac_includes_default
15047 ++ typedef double ac__type_sizeof_;
15048 + int
15049 + main ()
15050 + {
15051 +-static int test_array [1 - 2 * !(((long) (sizeof (double))) <= $ac_mid)];
15052 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
15053 + test_array [0] = 0
15054 +
15055 + ;
15056 +@@ -13360,24 +15779,36 @@
15057 + }
15058 + _ACEOF
15059 + rm -f conftest.$ac_objext
15060 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15061 +- (eval $ac_compile) 2>conftest.er1
15062 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
15069 + ac_status=$?
15070 + grep -v '^ *+' conftest.er1 >conftest.err
15071 + rm -f conftest.er1
15072 + cat conftest.err >&5
15073 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15074 + (exit $ac_status); } &&
15075 +- { ac_try='test -z "$ac_cxx_werror_flag"
15076 +- || test ! -s conftest.err'
15077 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15078 +- (eval $ac_try) 2>&5
15079 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15080 ++ { (case "(($ac_try" in
15081 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15082 ++ *) ac_try_echo=$ac_try;;
15083 ++esac
15084 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15085 ++ (eval "$ac_try") 2>&5
15086 + ac_status=$?
15087 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15088 + (exit $ac_status); }; } &&
15089 + { ac_try='test -s conftest.$ac_objext'
15090 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15091 +- (eval $ac_try) 2>&5
15092 ++ { (case "(($ac_try" in
15093 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15094 ++ *) ac_try_echo=$ac_try;;
15095 ++esac
15096 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15097 ++ (eval "$ac_try") 2>&5
15098 + ac_status=$?
15099 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15100 + (exit $ac_status); }; }; then
15101 +@@ -13393,7 +15824,8 @@
15102 + fi
15103 + ac_mid=`expr 2 '*' $ac_mid + 1`
15104 + fi
15105 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15106 ++
15107 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15108 + done
15109 + else
15110 + echo "$as_me: failed program was:" >&5
15111 +@@ -13406,10 +15838,11 @@
15112 + cat >>conftest.$ac_ext <<_ACEOF
15113 + /* end confdefs.h. */
15114 + $ac_includes_default
15115 ++ typedef double ac__type_sizeof_;
15116 + int
15117 + main ()
15118 + {
15119 +-static int test_array [1 - 2 * !(((long) (sizeof (double))) < 0)];
15120 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
15121 + test_array [0] = 0
15122 +
15123 + ;
15124 +@@ -13417,24 +15850,36 @@
15125 + }
15126 + _ACEOF
15127 + rm -f conftest.$ac_objext
15128 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15129 +- (eval $ac_compile) 2>conftest.er1
15130 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
15137 + ac_status=$?
15138 + grep -v '^ *+' conftest.er1 >conftest.err
15139 + rm -f conftest.er1
15140 + cat conftest.err >&5
15141 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15142 + (exit $ac_status); } &&
15143 +- { ac_try='test -z "$ac_cxx_werror_flag"
15144 +- || test ! -s conftest.err'
15145 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15146 +- (eval $ac_try) 2>&5
15147 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15148 ++ { (case "(($ac_try" in
15149 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15150 ++ *) ac_try_echo=$ac_try;;
15151 ++esac
15152 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15153 ++ (eval "$ac_try") 2>&5
15154 + ac_status=$?
15155 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15156 + (exit $ac_status); }; } &&
15157 + { ac_try='test -s conftest.$ac_objext'
15158 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15159 +- (eval $ac_try) 2>&5
15160 ++ { (case "(($ac_try" in
15161 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15162 ++ *) ac_try_echo=$ac_try;;
15163 ++esac
15164 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15165 ++ (eval "$ac_try") 2>&5
15166 + ac_status=$?
15167 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15168 + (exit $ac_status); }; }; then
15169 +@@ -13447,10 +15892,11 @@
15170 + cat >>conftest.$ac_ext <<_ACEOF
15171 + /* end confdefs.h. */
15172 + $ac_includes_default
15173 ++ typedef double ac__type_sizeof_;
15174 + int
15175 + main ()
15176 + {
15177 +-static int test_array [1 - 2 * !(((long) (sizeof (double))) >= $ac_mid)];
15178 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
15179 + test_array [0] = 0
15180 +
15181 + ;
15182 +@@ -13458,24 +15904,36 @@
15183 + }
15184 + _ACEOF
15185 + rm -f conftest.$ac_objext
15186 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15187 +- (eval $ac_compile) 2>conftest.er1
15188 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
15195 + ac_status=$?
15196 + grep -v '^ *+' conftest.er1 >conftest.err
15197 + rm -f conftest.er1
15198 + cat conftest.err >&5
15199 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15200 + (exit $ac_status); } &&
15201 +- { ac_try='test -z "$ac_cxx_werror_flag"
15202 +- || test ! -s conftest.err'
15203 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15204 +- (eval $ac_try) 2>&5
15205 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15206 ++ { (case "(($ac_try" in
15207 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15208 ++ *) ac_try_echo=$ac_try;;
15209 ++esac
15210 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15211 ++ (eval "$ac_try") 2>&5
15212 + ac_status=$?
15213 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15214 + (exit $ac_status); }; } &&
15215 + { ac_try='test -s conftest.$ac_objext'
15216 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15217 +- (eval $ac_try) 2>&5
15218 ++ { (case "(($ac_try" in
15219 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15220 ++ *) ac_try_echo=$ac_try;;
15221 ++esac
15222 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15223 ++ (eval "$ac_try") 2>&5
15224 + ac_status=$?
15225 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 + (exit $ac_status); }; }; then
15227 +@@ -13491,7 +15949,8 @@
15228 + fi
15229 + ac_mid=`expr 2 '*' $ac_mid`
15230 + fi
15231 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15232 ++
15233 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15234 + done
15235 + else
15236 + echo "$as_me: failed program was:" >&5
15237 +@@ -13499,9 +15958,11 @@
15238 +
15239 + ac_lo= ac_hi=
15240 + fi
15241 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15242 ++
15243 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15244 + fi
15245 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15246 ++
15247 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15248 + # Binary search between lo and hi bounds.
15249 + while test "x$ac_lo" != "x$ac_hi"; do
15250 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15251 +@@ -13512,10 +15973,11 @@
15252 + cat >>conftest.$ac_ext <<_ACEOF
15253 + /* end confdefs.h. */
15254 + $ac_includes_default
15255 ++ typedef double ac__type_sizeof_;
15256 + int
15257 + main ()
15258 + {
15259 +-static int test_array [1 - 2 * !(((long) (sizeof (double))) <= $ac_mid)];
15260 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
15261 + test_array [0] = 0
15262 +
15263 + ;
15264 +@@ -13523,24 +15985,36 @@
15265 + }
15266 + _ACEOF
15267 + rm -f conftest.$ac_objext
15268 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15269 +- (eval $ac_compile) 2>conftest.er1
15270 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
15277 + ac_status=$?
15278 + grep -v '^ *+' conftest.er1 >conftest.err
15279 + rm -f conftest.er1
15280 + cat conftest.err >&5
15281 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15282 + (exit $ac_status); } &&
15283 +- { ac_try='test -z "$ac_cxx_werror_flag"
15284 +- || test ! -s conftest.err'
15285 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15286 +- (eval $ac_try) 2>&5
15287 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15288 ++ { (case "(($ac_try" in
15289 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15290 ++ *) ac_try_echo=$ac_try;;
15291 ++esac
15292 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15293 ++ (eval "$ac_try") 2>&5
15294 + ac_status=$?
15295 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15296 + (exit $ac_status); }; } &&
15297 + { ac_try='test -s conftest.$ac_objext'
15298 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15299 +- (eval $ac_try) 2>&5
15300 ++ { (case "(($ac_try" in
15301 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15302 ++ *) ac_try_echo=$ac_try;;
15303 ++esac
15304 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15305 ++ (eval "$ac_try") 2>&5
15306 + ac_status=$?
15307 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15308 + (exit $ac_status); }; }; then
15309 +@@ -13551,24 +16025,18 @@
15310 +
15311 + ac_lo=`expr '(' $ac_mid ')' + 1`
15312 + fi
15313 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15314 ++
15315 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15316 + done
15317 + case $ac_lo in
15318 + ?*) ac_cv_sizeof_double=$ac_lo;;
15319 +-'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (double), 77
15320 ++'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (double)
15321 + See \`config.log' for more details." >&5
15322 +-echo "$as_me: error: cannot compute sizeof (double), 77
15323 ++echo "$as_me: error: cannot compute sizeof (double)
15324 + See \`config.log' for more details." >&2;}
15325 +- { (exit 1); exit 1; }; } ;;
15326 ++ { (exit 77); exit 77; }; } ;;
15327 + esac
15328 + else
15329 +- if test "$cross_compiling" = yes; then
15330 +- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15331 +-See \`config.log' for more details." >&5
15332 +-echo "$as_me: error: cannot run test program while cross compiling
15333 +-See \`config.log' for more details." >&2;}
15334 +- { (exit 1); exit 1; }; }
15335 +-else
15336 + cat >conftest.$ac_ext <<_ACEOF
15337 + /* confdefs.h. */
15338 + _ACEOF
15339 +@@ -13576,8 +16044,9 @@
15340 + cat >>conftest.$ac_ext <<_ACEOF
15341 + /* end confdefs.h. */
15342 + $ac_includes_default
15343 +-long longval () { return (long) (sizeof (double)); }
15344 +-unsigned long ulongval () { return (long) (sizeof (double)); }
15345 ++ typedef double ac__type_sizeof_;
15346 ++static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
15347 ++static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
15348 + #include <stdio.h>
15349 + #include <stdlib.h>
15350 + int
15351 +@@ -13586,35 +16055,44 @@
15352 +
15353 + FILE *f = fopen ("conftest.val", "w");
15354 + if (! f)
15355 +- exit (1);
15356 +- if (((long) (sizeof (double))) < 0)
15357 ++ return 1;
15358 ++ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
15359 + {
15360 +- long i = longval ();
15361 +- if (i != ((long) (sizeof (double))))
15362 +- exit (1);
15363 ++ long int i = longval ();
15364 ++ if (i != ((long int) (sizeof (ac__type_sizeof_))))
15365 ++ return 1;
15366 + fprintf (f, "%ld\n", i);
15367 + }
15368 + else
15369 + {
15370 +- unsigned long i = ulongval ();
15371 +- if (i != ((long) (sizeof (double))))
15372 +- exit (1);
15373 ++ unsigned long int i = ulongval ();
15374 ++ if (i != ((long int) (sizeof (ac__type_sizeof_))))
15375 ++ return 1;
15376 + fprintf (f, "%lu\n", i);
15377 + }
15378 +- exit (ferror (f) || fclose (f) != 0);
15379 ++ return ferror (f) || fclose (f) != 0;
15380 +
15381 + ;
15382 + return 0;
15383 + }
15384 + _ACEOF
15385 + rm -f conftest$ac_exeext
15386 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15387 +- (eval $ac_link) 2>&5
15388 ++if { (ac_try="$ac_link"
15389 ++case "(($ac_try" in
15390 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15391 ++ *) ac_try_echo=$ac_try;;
15392 ++esac
15393 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15394 ++ (eval "$ac_link") 2>&5
15395 + ac_status=$?
15396 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15398 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15399 +- (eval $ac_try) 2>&5
15400 ++ { (case "(($ac_try" in
15401 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15402 ++ *) ac_try_echo=$ac_try;;
15403 ++esac
15404 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15405 ++ (eval "$ac_try") 2>&5
15406 + ac_status=$?
15407 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15408 + (exit $ac_status); }; }; then
15409 +@@ -13625,29 +16103,28 @@
15410 + sed 's/^/| /' conftest.$ac_ext >&5
15411 +
15412 + ( exit $ac_status )
15413 +-{ { echo "$as_me:$LINENO: error: cannot compute sizeof (double), 77
15414 ++{ { echo "$as_me:$LINENO: error: cannot compute sizeof (double)
15415 + See \`config.log' for more details." >&5
15416 +-echo "$as_me: error: cannot compute sizeof (double), 77
15417 ++echo "$as_me: error: cannot compute sizeof (double)
15418 + See \`config.log' for more details." >&2;}
15419 +- { (exit 1); exit 1; }; }
15420 +-fi
15421 +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15422 ++ { (exit 77); exit 77; }; }
15423 + fi
15424 ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15425 + fi
15426 + rm -f conftest.val
15427 + else
15428 + ac_cv_sizeof_double=0
15429 + fi
15430 + fi
15431 +-echo "$as_me:$LINENO: result: $ac_cv_sizeof_double" >&5
15432 +-echo "${ECHO_T}$ac_cv_sizeof_double" >&6
15433 ++{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_double" >&5
15434 ++echo "${ECHO_T}$ac_cv_sizeof_double" >&6; }
15435 + cat >>confdefs.h <<_ACEOF
15436 + #define SIZEOF_DOUBLE $ac_cv_sizeof_double
15437 + _ACEOF
15438 +
15439 +
15440 +- echo "$as_me:$LINENO: checking for float" >&5
15441 +-echo $ECHO_N "checking for float... $ECHO_C" >&6
15442 ++ { echo "$as_me:$LINENO: checking for float" >&5
15443 ++echo $ECHO_N "checking for float... $ECHO_C" >&6; }
15444 + if test "${ac_cv_type_float+set}" = set; then
15445 + echo $ECHO_N "(cached) $ECHO_C" >&6
15446 + else
15447 +@@ -13658,36 +16135,49 @@
15448 + cat >>conftest.$ac_ext <<_ACEOF
15449 + /* end confdefs.h. */
15450 + $ac_includes_default
15451 ++typedef float ac__type_new_;
15452 + int
15453 + main ()
15454 + {
15455 +-if ((float *) 0)
15456 ++if ((ac__type_new_ *) 0)
15457 + return 0;
15458 +-if (sizeof (float))
15459 ++if (sizeof (ac__type_new_))
15460 + return 0;
15461 + ;
15462 + return 0;
15463 + }
15464 + _ACEOF
15465 + rm -f conftest.$ac_objext
15466 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15467 +- (eval $ac_compile) 2>conftest.er1
15468 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
15475 + ac_status=$?
15476 + grep -v '^ *+' conftest.er1 >conftest.err
15477 + rm -f conftest.er1
15478 + cat conftest.err >&5
15479 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 + (exit $ac_status); } &&
15481 +- { ac_try='test -z "$ac_cxx_werror_flag"
15482 +- || test ! -s conftest.err'
15483 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15484 +- (eval $ac_try) 2>&5
15485 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15486 ++ { (case "(($ac_try" in
15487 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15488 ++ *) ac_try_echo=$ac_try;;
15489 ++esac
15490 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15491 ++ (eval "$ac_try") 2>&5
15492 + ac_status=$?
15493 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 + (exit $ac_status); }; } &&
15495 + { ac_try='test -s conftest.$ac_objext'
15496 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15497 +- (eval $ac_try) 2>&5
15498 ++ { (case "(($ac_try" in
15499 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15500 ++ *) ac_try_echo=$ac_try;;
15501 ++esac
15502 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15503 ++ (eval "$ac_try") 2>&5
15504 + ac_status=$?
15505 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15506 + (exit $ac_status); }; }; then
15507 +@@ -13698,18 +16188,19 @@
15508 +
15509 + ac_cv_type_float=no
15510 + fi
15511 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15512 ++
15513 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15514 + fi
15515 +-echo "$as_me:$LINENO: result: $ac_cv_type_float" >&5
15516 +-echo "${ECHO_T}$ac_cv_type_float" >&6
15517 ++{ echo "$as_me:$LINENO: result: $ac_cv_type_float" >&5
15518 ++echo "${ECHO_T}$ac_cv_type_float" >&6; }
15519 +
15520 +-echo "$as_me:$LINENO: checking size of float" >&5
15521 +-echo $ECHO_N "checking size of float... $ECHO_C" >&6
15522 ++{ echo "$as_me:$LINENO: checking size of float" >&5
15523 ++echo $ECHO_N "checking size of float... $ECHO_C" >&6; }
15524 + if test "${ac_cv_sizeof_float+set}" = set; then
15525 + echo $ECHO_N "(cached) $ECHO_C" >&6
15526 + else
15527 + if test "$ac_cv_type_float" = yes; then
15528 +- # The cast to unsigned long works around a bug in the HP C Compiler
15529 ++ # The cast to long int works around a bug in the HP C Compiler
15530 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15531 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15532 + # This bug is HP SR number 8606223364.
15533 +@@ -13722,10 +16213,11 @@
15534 + cat >>conftest.$ac_ext <<_ACEOF
15535 + /* end confdefs.h. */
15536 + $ac_includes_default
15537 ++ typedef float ac__type_sizeof_;
15538 + int
15539 + main ()
15540 + {
15541 +-static int test_array [1 - 2 * !(((long) (sizeof (float))) >= 0)];
15542 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
15543 + test_array [0] = 0
15544 +
15545 + ;
15546 +@@ -13733,24 +16225,36 @@
15547 + }
15548 + _ACEOF
15549 + rm -f conftest.$ac_objext
15550 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15551 +- (eval $ac_compile) 2>conftest.er1
15552 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
15559 + ac_status=$?
15560 + grep -v '^ *+' conftest.er1 >conftest.err
15561 + rm -f conftest.er1
15562 + cat conftest.err >&5
15563 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 + (exit $ac_status); } &&
15565 +- { ac_try='test -z "$ac_cxx_werror_flag"
15566 +- || test ! -s conftest.err'
15567 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15568 +- (eval $ac_try) 2>&5
15569 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15570 ++ { (case "(($ac_try" in
15571 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15572 ++ *) ac_try_echo=$ac_try;;
15573 ++esac
15574 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15575 ++ (eval "$ac_try") 2>&5
15576 + ac_status=$?
15577 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 + (exit $ac_status); }; } &&
15579 + { ac_try='test -s conftest.$ac_objext'
15580 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15581 +- (eval $ac_try) 2>&5
15582 ++ { (case "(($ac_try" in
15583 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15584 ++ *) ac_try_echo=$ac_try;;
15585 ++esac
15586 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15587 ++ (eval "$ac_try") 2>&5
15588 + ac_status=$?
15589 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 + (exit $ac_status); }; }; then
15591 +@@ -13763,10 +16267,11 @@
15592 + cat >>conftest.$ac_ext <<_ACEOF
15593 + /* end confdefs.h. */
15594 + $ac_includes_default
15595 ++ typedef float ac__type_sizeof_;
15596 + int
15597 + main ()
15598 + {
15599 +-static int test_array [1 - 2 * !(((long) (sizeof (float))) <= $ac_mid)];
15600 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
15601 + test_array [0] = 0
15602 +
15603 + ;
15604 +@@ -13774,24 +16279,36 @@
15605 + }
15606 + _ACEOF
15607 + rm -f conftest.$ac_objext
15608 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15609 +- (eval $ac_compile) 2>conftest.er1
15610 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
15617 + ac_status=$?
15618 + grep -v '^ *+' conftest.er1 >conftest.err
15619 + rm -f conftest.er1
15620 + cat conftest.err >&5
15621 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622 + (exit $ac_status); } &&
15623 +- { ac_try='test -z "$ac_cxx_werror_flag"
15624 +- || test ! -s conftest.err'
15625 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15626 +- (eval $ac_try) 2>&5
15627 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15628 ++ { (case "(($ac_try" in
15629 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15630 ++ *) ac_try_echo=$ac_try;;
15631 ++esac
15632 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15633 ++ (eval "$ac_try") 2>&5
15634 + ac_status=$?
15635 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15636 + (exit $ac_status); }; } &&
15637 + { ac_try='test -s conftest.$ac_objext'
15638 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15639 +- (eval $ac_try) 2>&5
15640 ++ { (case "(($ac_try" in
15641 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15642 ++ *) ac_try_echo=$ac_try;;
15643 ++esac
15644 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15645 ++ (eval "$ac_try") 2>&5
15646 + ac_status=$?
15647 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15648 + (exit $ac_status); }; }; then
15649 +@@ -13807,7 +16324,8 @@
15650 + fi
15651 + ac_mid=`expr 2 '*' $ac_mid + 1`
15652 + fi
15653 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15654 ++
15655 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15656 + done
15657 + else
15658 + echo "$as_me: failed program was:" >&5
15659 +@@ -13820,10 +16338,11 @@
15660 + cat >>conftest.$ac_ext <<_ACEOF
15661 + /* end confdefs.h. */
15662 + $ac_includes_default
15663 ++ typedef float ac__type_sizeof_;
15664 + int
15665 + main ()
15666 + {
15667 +-static int test_array [1 - 2 * !(((long) (sizeof (float))) < 0)];
15668 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
15669 + test_array [0] = 0
15670 +
15671 + ;
15672 +@@ -13831,24 +16350,36 @@
15673 + }
15674 + _ACEOF
15675 + rm -f conftest.$ac_objext
15676 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15677 +- (eval $ac_compile) 2>conftest.er1
15678 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
15685 + ac_status=$?
15686 + grep -v '^ *+' conftest.er1 >conftest.err
15687 + rm -f conftest.er1
15688 + cat conftest.err >&5
15689 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 + (exit $ac_status); } &&
15691 +- { ac_try='test -z "$ac_cxx_werror_flag"
15692 +- || test ! -s conftest.err'
15693 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15694 +- (eval $ac_try) 2>&5
15695 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15696 ++ { (case "(($ac_try" in
15697 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15698 ++ *) ac_try_echo=$ac_try;;
15699 ++esac
15700 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15701 ++ (eval "$ac_try") 2>&5
15702 + ac_status=$?
15703 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 + (exit $ac_status); }; } &&
15705 + { ac_try='test -s conftest.$ac_objext'
15706 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15707 +- (eval $ac_try) 2>&5
15708 ++ { (case "(($ac_try" in
15709 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15710 ++ *) ac_try_echo=$ac_try;;
15711 ++esac
15712 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15713 ++ (eval "$ac_try") 2>&5
15714 + ac_status=$?
15715 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 + (exit $ac_status); }; }; then
15717 +@@ -13861,10 +16392,11 @@
15718 + cat >>conftest.$ac_ext <<_ACEOF
15719 + /* end confdefs.h. */
15720 + $ac_includes_default
15721 ++ typedef float ac__type_sizeof_;
15722 + int
15723 + main ()
15724 + {
15725 +-static int test_array [1 - 2 * !(((long) (sizeof (float))) >= $ac_mid)];
15726 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
15727 + test_array [0] = 0
15728 +
15729 + ;
15730 +@@ -13872,24 +16404,36 @@
15731 + }
15732 + _ACEOF
15733 + rm -f conftest.$ac_objext
15734 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15735 +- (eval $ac_compile) 2>conftest.er1
15736 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
15743 + ac_status=$?
15744 + grep -v '^ *+' conftest.er1 >conftest.err
15745 + rm -f conftest.er1
15746 + cat conftest.err >&5
15747 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15748 + (exit $ac_status); } &&
15749 +- { ac_try='test -z "$ac_cxx_werror_flag"
15750 +- || test ! -s conftest.err'
15751 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15752 +- (eval $ac_try) 2>&5
15753 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15754 ++ { (case "(($ac_try" in
15755 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15756 ++ *) ac_try_echo=$ac_try;;
15757 ++esac
15758 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15759 ++ (eval "$ac_try") 2>&5
15760 + ac_status=$?
15761 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 + (exit $ac_status); }; } &&
15763 + { ac_try='test -s conftest.$ac_objext'
15764 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15765 +- (eval $ac_try) 2>&5
15766 ++ { (case "(($ac_try" in
15767 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15768 ++ *) ac_try_echo=$ac_try;;
15769 ++esac
15770 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15771 ++ (eval "$ac_try") 2>&5
15772 + ac_status=$?
15773 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 + (exit $ac_status); }; }; then
15775 +@@ -13905,7 +16449,8 @@
15776 + fi
15777 + ac_mid=`expr 2 '*' $ac_mid`
15778 + fi
15779 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15780 ++
15781 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15782 + done
15783 + else
15784 + echo "$as_me: failed program was:" >&5
15785 +@@ -13913,9 +16458,11 @@
15786 +
15787 + ac_lo= ac_hi=
15788 + fi
15789 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15790 ++
15791 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15792 + fi
15793 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15794 ++
15795 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15796 + # Binary search between lo and hi bounds.
15797 + while test "x$ac_lo" != "x$ac_hi"; do
15798 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15799 +@@ -13926,10 +16473,11 @@
15800 + cat >>conftest.$ac_ext <<_ACEOF
15801 + /* end confdefs.h. */
15802 + $ac_includes_default
15803 ++ typedef float ac__type_sizeof_;
15804 + int
15805 + main ()
15806 + {
15807 +-static int test_array [1 - 2 * !(((long) (sizeof (float))) <= $ac_mid)];
15808 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
15809 + test_array [0] = 0
15810 +
15811 + ;
15812 +@@ -13937,24 +16485,36 @@
15813 + }
15814 + _ACEOF
15815 + rm -f conftest.$ac_objext
15816 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15817 +- (eval $ac_compile) 2>conftest.er1
15818 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
15825 + ac_status=$?
15826 + grep -v '^ *+' conftest.er1 >conftest.err
15827 + rm -f conftest.er1
15828 + cat conftest.err >&5
15829 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830 + (exit $ac_status); } &&
15831 +- { ac_try='test -z "$ac_cxx_werror_flag"
15832 +- || test ! -s conftest.err'
15833 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15834 +- (eval $ac_try) 2>&5
15835 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15836 ++ { (case "(($ac_try" in
15837 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15838 ++ *) ac_try_echo=$ac_try;;
15839 ++esac
15840 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15841 ++ (eval "$ac_try") 2>&5
15842 + ac_status=$?
15843 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15844 + (exit $ac_status); }; } &&
15845 + { ac_try='test -s conftest.$ac_objext'
15846 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15847 +- (eval $ac_try) 2>&5
15848 ++ { (case "(($ac_try" in
15849 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15850 ++ *) ac_try_echo=$ac_try;;
15851 ++esac
15852 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15853 ++ (eval "$ac_try") 2>&5
15854 + ac_status=$?
15855 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 + (exit $ac_status); }; }; then
15857 +@@ -13965,24 +16525,18 @@
15858 +
15859 + ac_lo=`expr '(' $ac_mid ')' + 1`
15860 + fi
15861 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15862 ++
15863 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15864 + done
15865 + case $ac_lo in
15866 + ?*) ac_cv_sizeof_float=$ac_lo;;
15867 +-'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (float), 77
15868 ++'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (float)
15869 + See \`config.log' for more details." >&5
15870 +-echo "$as_me: error: cannot compute sizeof (float), 77
15871 ++echo "$as_me: error: cannot compute sizeof (float)
15872 + See \`config.log' for more details." >&2;}
15873 +- { (exit 1); exit 1; }; } ;;
15874 ++ { (exit 77); exit 77; }; } ;;
15875 + esac
15876 + else
15877 +- if test "$cross_compiling" = yes; then
15878 +- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15879 +-See \`config.log' for more details." >&5
15880 +-echo "$as_me: error: cannot run test program while cross compiling
15881 +-See \`config.log' for more details." >&2;}
15882 +- { (exit 1); exit 1; }; }
15883 +-else
15884 + cat >conftest.$ac_ext <<_ACEOF
15885 + /* confdefs.h. */
15886 + _ACEOF
15887 +@@ -13990,8 +16544,9 @@
15888 + cat >>conftest.$ac_ext <<_ACEOF
15889 + /* end confdefs.h. */
15890 + $ac_includes_default
15891 +-long longval () { return (long) (sizeof (float)); }
15892 +-unsigned long ulongval () { return (long) (sizeof (float)); }
15893 ++ typedef float ac__type_sizeof_;
15894 ++static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
15895 ++static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
15896 + #include <stdio.h>
15897 + #include <stdlib.h>
15898 + int
15899 +@@ -14000,35 +16555,44 @@
15900 +
15901 + FILE *f = fopen ("conftest.val", "w");
15902 + if (! f)
15903 +- exit (1);
15904 +- if (((long) (sizeof (float))) < 0)
15905 ++ return 1;
15906 ++ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
15907 + {
15908 +- long i = longval ();
15909 +- if (i != ((long) (sizeof (float))))
15910 +- exit (1);
15911 ++ long int i = longval ();
15912 ++ if (i != ((long int) (sizeof (ac__type_sizeof_))))
15913 ++ return 1;
15914 + fprintf (f, "%ld\n", i);
15915 + }
15916 + else
15917 + {
15918 +- unsigned long i = ulongval ();
15919 +- if (i != ((long) (sizeof (float))))
15920 +- exit (1);
15921 ++ unsigned long int i = ulongval ();
15922 ++ if (i != ((long int) (sizeof (ac__type_sizeof_))))
15923 ++ return 1;
15924 + fprintf (f, "%lu\n", i);
15925 + }
15926 +- exit (ferror (f) || fclose (f) != 0);
15927 ++ return ferror (f) || fclose (f) != 0;
15928 +
15929 + ;
15930 + return 0;
15931 + }
15932 + _ACEOF
15933 + rm -f conftest$ac_exeext
15934 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15935 +- (eval $ac_link) 2>&5
15936 ++if { (ac_try="$ac_link"
15937 ++case "(($ac_try" in
15938 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15939 ++ *) ac_try_echo=$ac_try;;
15940 ++esac
15941 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15942 ++ (eval "$ac_link") 2>&5
15943 + ac_status=$?
15944 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15946 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15947 +- (eval $ac_try) 2>&5
15948 ++ { (case "(($ac_try" in
15949 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15950 ++ *) ac_try_echo=$ac_try;;
15951 ++esac
15952 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15953 ++ (eval "$ac_try") 2>&5
15954 + ac_status=$?
15955 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15956 + (exit $ac_status); }; }; then
15957 +@@ -14039,29 +16603,28 @@
15958 + sed 's/^/| /' conftest.$ac_ext >&5
15959 +
15960 + ( exit $ac_status )
15961 +-{ { echo "$as_me:$LINENO: error: cannot compute sizeof (float), 77
15962 ++{ { echo "$as_me:$LINENO: error: cannot compute sizeof (float)
15963 + See \`config.log' for more details." >&5
15964 +-echo "$as_me: error: cannot compute sizeof (float), 77
15965 ++echo "$as_me: error: cannot compute sizeof (float)
15966 + See \`config.log' for more details." >&2;}
15967 +- { (exit 1); exit 1; }; }
15968 +-fi
15969 +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15970 ++ { (exit 77); exit 77; }; }
15971 + fi
15972 ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15973 + fi
15974 + rm -f conftest.val
15975 + else
15976 + ac_cv_sizeof_float=0
15977 + fi
15978 + fi
15979 +-echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5
15980 +-echo "${ECHO_T}$ac_cv_sizeof_float" >&6
15981 ++{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5
15982 ++echo "${ECHO_T}$ac_cv_sizeof_float" >&6; }
15983 + cat >>confdefs.h <<_ACEOF
15984 + #define SIZEOF_FLOAT $ac_cv_sizeof_float
15985 + _ACEOF
15986 +
15987 +
15988 +- echo "$as_me:$LINENO: checking for int" >&5
15989 +-echo $ECHO_N "checking for int... $ECHO_C" >&6
15990 ++ { echo "$as_me:$LINENO: checking for int" >&5
15991 ++echo $ECHO_N "checking for int... $ECHO_C" >&6; }
15992 + if test "${ac_cv_type_int+set}" = set; then
15993 + echo $ECHO_N "(cached) $ECHO_C" >&6
15994 + else
15995 +@@ -14072,36 +16635,49 @@
15996 + cat >>conftest.$ac_ext <<_ACEOF
15997 + /* end confdefs.h. */
15998 + $ac_includes_default
15999 ++typedef int ac__type_new_;
16000 + int
16001 + main ()
16002 + {
16003 +-if ((int *) 0)
16004 ++if ((ac__type_new_ *) 0)
16005 + return 0;
16006 +-if (sizeof (int))
16007 ++if (sizeof (ac__type_new_))
16008 + return 0;
16009 + ;
16010 + return 0;
16011 + }
16012 + _ACEOF
16013 + rm -f conftest.$ac_objext
16014 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16015 +- (eval $ac_compile) 2>conftest.er1
16016 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
16023 + ac_status=$?
16024 + grep -v '^ *+' conftest.er1 >conftest.err
16025 + rm -f conftest.er1
16026 + cat conftest.err >&5
16027 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 + (exit $ac_status); } &&
16029 +- { ac_try='test -z "$ac_cxx_werror_flag"
16030 +- || test ! -s conftest.err'
16031 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16032 +- (eval $ac_try) 2>&5
16033 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16034 ++ { (case "(($ac_try" in
16035 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16036 ++ *) ac_try_echo=$ac_try;;
16037 ++esac
16038 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16039 ++ (eval "$ac_try") 2>&5
16040 + ac_status=$?
16041 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16042 + (exit $ac_status); }; } &&
16043 + { ac_try='test -s conftest.$ac_objext'
16044 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16045 +- (eval $ac_try) 2>&5
16046 ++ { (case "(($ac_try" in
16047 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16048 ++ *) ac_try_echo=$ac_try;;
16049 ++esac
16050 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16051 ++ (eval "$ac_try") 2>&5
16052 + ac_status=$?
16053 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 + (exit $ac_status); }; }; then
16055 +@@ -14112,18 +16688,19 @@
16056 +
16057 + ac_cv_type_int=no
16058 + fi
16059 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16060 ++
16061 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16062 + fi
16063 +-echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16064 +-echo "${ECHO_T}$ac_cv_type_int" >&6
16065 ++{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16066 ++echo "${ECHO_T}$ac_cv_type_int" >&6; }
16067 +
16068 +-echo "$as_me:$LINENO: checking size of int" >&5
16069 +-echo $ECHO_N "checking size of int... $ECHO_C" >&6
16070 ++{ echo "$as_me:$LINENO: checking size of int" >&5
16071 ++echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
16072 + if test "${ac_cv_sizeof_int+set}" = set; then
16073 + echo $ECHO_N "(cached) $ECHO_C" >&6
16074 + else
16075 + if test "$ac_cv_type_int" = yes; then
16076 +- # The cast to unsigned long works around a bug in the HP C Compiler
16077 ++ # The cast to long int works around a bug in the HP C Compiler
16078 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16079 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16080 + # This bug is HP SR number 8606223364.
16081 +@@ -14136,10 +16713,11 @@
16082 + cat >>conftest.$ac_ext <<_ACEOF
16083 + /* end confdefs.h. */
16084 + $ac_includes_default
16085 ++ typedef int ac__type_sizeof_;
16086 + int
16087 + main ()
16088 + {
16089 +-static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16090 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
16091 + test_array [0] = 0
16092 +
16093 + ;
16094 +@@ -14147,24 +16725,36 @@
16095 + }
16096 + _ACEOF
16097 + rm -f conftest.$ac_objext
16098 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16099 +- (eval $ac_compile) 2>conftest.er1
16100 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
16107 + ac_status=$?
16108 + grep -v '^ *+' conftest.er1 >conftest.err
16109 + rm -f conftest.er1
16110 + cat conftest.err >&5
16111 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16112 + (exit $ac_status); } &&
16113 +- { ac_try='test -z "$ac_cxx_werror_flag"
16114 +- || test ! -s conftest.err'
16115 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16116 +- (eval $ac_try) 2>&5
16117 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16118 ++ { (case "(($ac_try" in
16119 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16120 ++ *) ac_try_echo=$ac_try;;
16121 ++esac
16122 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16123 ++ (eval "$ac_try") 2>&5
16124 + ac_status=$?
16125 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 + (exit $ac_status); }; } &&
16127 + { ac_try='test -s conftest.$ac_objext'
16128 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16129 +- (eval $ac_try) 2>&5
16130 ++ { (case "(($ac_try" in
16131 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16132 ++ *) ac_try_echo=$ac_try;;
16133 ++esac
16134 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16135 ++ (eval "$ac_try") 2>&5
16136 + ac_status=$?
16137 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16138 + (exit $ac_status); }; }; then
16139 +@@ -14177,10 +16767,11 @@
16140 + cat >>conftest.$ac_ext <<_ACEOF
16141 + /* end confdefs.h. */
16142 + $ac_includes_default
16143 ++ typedef int ac__type_sizeof_;
16144 + int
16145 + main ()
16146 + {
16147 +-static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16148 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16149 + test_array [0] = 0
16150 +
16151 + ;
16152 +@@ -14188,24 +16779,36 @@
16153 + }
16154 + _ACEOF
16155 + rm -f conftest.$ac_objext
16156 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16157 +- (eval $ac_compile) 2>conftest.er1
16158 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
16165 + ac_status=$?
16166 + grep -v '^ *+' conftest.er1 >conftest.err
16167 + rm -f conftest.er1
16168 + cat conftest.err >&5
16169 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 + (exit $ac_status); } &&
16171 +- { ac_try='test -z "$ac_cxx_werror_flag"
16172 +- || test ! -s conftest.err'
16173 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16174 +- (eval $ac_try) 2>&5
16175 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16176 ++ { (case "(($ac_try" in
16177 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16178 ++ *) ac_try_echo=$ac_try;;
16179 ++esac
16180 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16181 ++ (eval "$ac_try") 2>&5
16182 + ac_status=$?
16183 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16184 + (exit $ac_status); }; } &&
16185 + { ac_try='test -s conftest.$ac_objext'
16186 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16187 +- (eval $ac_try) 2>&5
16188 ++ { (case "(($ac_try" in
16189 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16190 ++ *) ac_try_echo=$ac_try;;
16191 ++esac
16192 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16193 ++ (eval "$ac_try") 2>&5
16194 + ac_status=$?
16195 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16196 + (exit $ac_status); }; }; then
16197 +@@ -14221,7 +16824,8 @@
16198 + fi
16199 + ac_mid=`expr 2 '*' $ac_mid + 1`
16200 + fi
16201 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16202 ++
16203 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16204 + done
16205 + else
16206 + echo "$as_me: failed program was:" >&5
16207 +@@ -14234,10 +16838,11 @@
16208 + cat >>conftest.$ac_ext <<_ACEOF
16209 + /* end confdefs.h. */
16210 + $ac_includes_default
16211 ++ typedef int ac__type_sizeof_;
16212 + int
16213 + main ()
16214 + {
16215 +-static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16216 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
16217 + test_array [0] = 0
16218 +
16219 + ;
16220 +@@ -14245,24 +16850,36 @@
16221 + }
16222 + _ACEOF
16223 + rm -f conftest.$ac_objext
16224 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16225 +- (eval $ac_compile) 2>conftest.er1
16226 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
16233 + ac_status=$?
16234 + grep -v '^ *+' conftest.er1 >conftest.err
16235 + rm -f conftest.er1
16236 + cat conftest.err >&5
16237 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 + (exit $ac_status); } &&
16239 +- { ac_try='test -z "$ac_cxx_werror_flag"
16240 +- || test ! -s conftest.err'
16241 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16242 +- (eval $ac_try) 2>&5
16243 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16244 ++ { (case "(($ac_try" in
16245 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16246 ++ *) ac_try_echo=$ac_try;;
16247 ++esac
16248 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16249 ++ (eval "$ac_try") 2>&5
16250 + ac_status=$?
16251 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 + (exit $ac_status); }; } &&
16253 + { ac_try='test -s conftest.$ac_objext'
16254 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16255 +- (eval $ac_try) 2>&5
16256 ++ { (case "(($ac_try" in
16257 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16258 ++ *) ac_try_echo=$ac_try;;
16259 ++esac
16260 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16261 ++ (eval "$ac_try") 2>&5
16262 + ac_status=$?
16263 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 + (exit $ac_status); }; }; then
16265 +@@ -14275,10 +16892,11 @@
16266 + cat >>conftest.$ac_ext <<_ACEOF
16267 + /* end confdefs.h. */
16268 + $ac_includes_default
16269 ++ typedef int ac__type_sizeof_;
16270 + int
16271 + main ()
16272 + {
16273 +-static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16274 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
16275 + test_array [0] = 0
16276 +
16277 + ;
16278 +@@ -14286,24 +16904,36 @@
16279 + }
16280 + _ACEOF
16281 + rm -f conftest.$ac_objext
16282 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16283 +- (eval $ac_compile) 2>conftest.er1
16284 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
16291 + ac_status=$?
16292 + grep -v '^ *+' conftest.er1 >conftest.err
16293 + rm -f conftest.er1
16294 + cat conftest.err >&5
16295 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16296 + (exit $ac_status); } &&
16297 +- { ac_try='test -z "$ac_cxx_werror_flag"
16298 +- || test ! -s conftest.err'
16299 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16300 +- (eval $ac_try) 2>&5
16301 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16302 ++ { (case "(($ac_try" in
16303 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16304 ++ *) ac_try_echo=$ac_try;;
16305 ++esac
16306 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16307 ++ (eval "$ac_try") 2>&5
16308 + ac_status=$?
16309 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16310 + (exit $ac_status); }; } &&
16311 + { ac_try='test -s conftest.$ac_objext'
16312 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16313 +- (eval $ac_try) 2>&5
16314 ++ { (case "(($ac_try" in
16315 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16316 ++ *) ac_try_echo=$ac_try;;
16317 ++esac
16318 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16319 ++ (eval "$ac_try") 2>&5
16320 + ac_status=$?
16321 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16322 + (exit $ac_status); }; }; then
16323 +@@ -14319,7 +16949,8 @@
16324 + fi
16325 + ac_mid=`expr 2 '*' $ac_mid`
16326 + fi
16327 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16328 ++
16329 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16330 + done
16331 + else
16332 + echo "$as_me: failed program was:" >&5
16333 +@@ -14327,9 +16958,11 @@
16334 +
16335 + ac_lo= ac_hi=
16336 + fi
16337 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16338 ++
16339 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16340 + fi
16341 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16342 ++
16343 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16344 + # Binary search between lo and hi bounds.
16345 + while test "x$ac_lo" != "x$ac_hi"; do
16346 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16347 +@@ -14340,10 +16973,11 @@
16348 + cat >>conftest.$ac_ext <<_ACEOF
16349 + /* end confdefs.h. */
16350 + $ac_includes_default
16351 ++ typedef int ac__type_sizeof_;
16352 + int
16353 + main ()
16354 + {
16355 +-static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16356 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16357 + test_array [0] = 0
16358 +
16359 + ;
16360 +@@ -14351,24 +16985,36 @@
16361 + }
16362 + _ACEOF
16363 + rm -f conftest.$ac_objext
16364 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16365 +- (eval $ac_compile) 2>conftest.er1
16366 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
16373 + ac_status=$?
16374 + grep -v '^ *+' conftest.er1 >conftest.err
16375 + rm -f conftest.er1
16376 + cat conftest.err >&5
16377 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16378 + (exit $ac_status); } &&
16379 +- { ac_try='test -z "$ac_cxx_werror_flag"
16380 +- || test ! -s conftest.err'
16381 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16382 +- (eval $ac_try) 2>&5
16383 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16384 ++ { (case "(($ac_try" in
16385 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16386 ++ *) ac_try_echo=$ac_try;;
16387 ++esac
16388 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16389 ++ (eval "$ac_try") 2>&5
16390 + ac_status=$?
16391 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16392 + (exit $ac_status); }; } &&
16393 + { ac_try='test -s conftest.$ac_objext'
16394 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16395 +- (eval $ac_try) 2>&5
16396 ++ { (case "(($ac_try" in
16397 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16398 ++ *) ac_try_echo=$ac_try;;
16399 ++esac
16400 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16401 ++ (eval "$ac_try") 2>&5
16402 + ac_status=$?
16403 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16404 + (exit $ac_status); }; }; then
16405 +@@ -14379,24 +17025,18 @@
16406 +
16407 + ac_lo=`expr '(' $ac_mid ')' + 1`
16408 + fi
16409 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16410 ++
16411 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16412 + done
16413 + case $ac_lo in
16414 + ?*) ac_cv_sizeof_int=$ac_lo;;
16415 +-'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16416 ++'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
16417 + See \`config.log' for more details." >&5
16418 +-echo "$as_me: error: cannot compute sizeof (int), 77
16419 ++echo "$as_me: error: cannot compute sizeof (int)
16420 + See \`config.log' for more details." >&2;}
16421 +- { (exit 1); exit 1; }; } ;;
16422 ++ { (exit 77); exit 77; }; } ;;
16423 + esac
16424 + else
16425 +- if test "$cross_compiling" = yes; then
16426 +- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16427 +-See \`config.log' for more details." >&5
16428 +-echo "$as_me: error: cannot run test program while cross compiling
16429 +-See \`config.log' for more details." >&2;}
16430 +- { (exit 1); exit 1; }; }
16431 +-else
16432 + cat >conftest.$ac_ext <<_ACEOF
16433 + /* confdefs.h. */
16434 + _ACEOF
16435 +@@ -14404,8 +17044,9 @@
16436 + cat >>conftest.$ac_ext <<_ACEOF
16437 + /* end confdefs.h. */
16438 + $ac_includes_default
16439 +-long longval () { return (long) (sizeof (int)); }
16440 +-unsigned long ulongval () { return (long) (sizeof (int)); }
16441 ++ typedef int ac__type_sizeof_;
16442 ++static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
16443 ++static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
16444 + #include <stdio.h>
16445 + #include <stdlib.h>
16446 + int
16447 +@@ -14414,35 +17055,44 @@
16448 +
16449 + FILE *f = fopen ("conftest.val", "w");
16450 + if (! f)
16451 +- exit (1);
16452 +- if (((long) (sizeof (int))) < 0)
16453 ++ return 1;
16454 ++ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
16455 + {
16456 +- long i = longval ();
16457 +- if (i != ((long) (sizeof (int))))
16458 +- exit (1);
16459 ++ long int i = longval ();
16460 ++ if (i != ((long int) (sizeof (ac__type_sizeof_))))
16461 ++ return 1;
16462 + fprintf (f, "%ld\n", i);
16463 + }
16464 + else
16465 + {
16466 +- unsigned long i = ulongval ();
16467 +- if (i != ((long) (sizeof (int))))
16468 +- exit (1);
16469 ++ unsigned long int i = ulongval ();
16470 ++ if (i != ((long int) (sizeof (ac__type_sizeof_))))
16471 ++ return 1;
16472 + fprintf (f, "%lu\n", i);
16473 + }
16474 +- exit (ferror (f) || fclose (f) != 0);
16475 ++ return ferror (f) || fclose (f) != 0;
16476 +
16477 + ;
16478 + return 0;
16479 + }
16480 + _ACEOF
16481 + rm -f conftest$ac_exeext
16482 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16483 +- (eval $ac_link) 2>&5
16484 ++if { (ac_try="$ac_link"
16485 ++case "(($ac_try" in
16486 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16487 ++ *) ac_try_echo=$ac_try;;
16488 ++esac
16489 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16490 ++ (eval "$ac_link") 2>&5
16491 + ac_status=$?
16492 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16494 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16495 +- (eval $ac_try) 2>&5
16496 ++ { (case "(($ac_try" in
16497 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16498 ++ *) ac_try_echo=$ac_try;;
16499 ++esac
16500 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16501 ++ (eval "$ac_try") 2>&5
16502 + ac_status=$?
16503 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 + (exit $ac_status); }; }; then
16505 +@@ -14453,29 +17103,28 @@
16506 + sed 's/^/| /' conftest.$ac_ext >&5
16507 +
16508 + ( exit $ac_status )
16509 +-{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16510 ++{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
16511 + See \`config.log' for more details." >&5
16512 +-echo "$as_me: error: cannot compute sizeof (int), 77
16513 ++echo "$as_me: error: cannot compute sizeof (int)
16514 + See \`config.log' for more details." >&2;}
16515 +- { (exit 1); exit 1; }; }
16516 +-fi
16517 +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16518 ++ { (exit 77); exit 77; }; }
16519 + fi
16520 ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16521 + fi
16522 + rm -f conftest.val
16523 + else
16524 + ac_cv_sizeof_int=0
16525 + fi
16526 + fi
16527 +-echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16528 +-echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16529 ++{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16530 ++echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
16531 + cat >>confdefs.h <<_ACEOF
16532 + #define SIZEOF_INT $ac_cv_sizeof_int
16533 + _ACEOF
16534 +
16535 +
16536 +- echo "$as_me:$LINENO: checking for long" >&5
16537 +-echo $ECHO_N "checking for long... $ECHO_C" >&6
16538 ++ { echo "$as_me:$LINENO: checking for long" >&5
16539 ++echo $ECHO_N "checking for long... $ECHO_C" >&6; }
16540 + if test "${ac_cv_type_long+set}" = set; then
16541 + echo $ECHO_N "(cached) $ECHO_C" >&6
16542 + else
16543 +@@ -14486,36 +17135,49 @@
16544 + cat >>conftest.$ac_ext <<_ACEOF
16545 + /* end confdefs.h. */
16546 + $ac_includes_default
16547 ++typedef long ac__type_new_;
16548 + int
16549 + main ()
16550 + {
16551 +-if ((long *) 0)
16552 ++if ((ac__type_new_ *) 0)
16553 + return 0;
16554 +-if (sizeof (long))
16555 ++if (sizeof (ac__type_new_))
16556 + return 0;
16557 + ;
16558 + return 0;
16559 + }
16560 + _ACEOF
16561 + rm -f conftest.$ac_objext
16562 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16563 +- (eval $ac_compile) 2>conftest.er1
16564 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
16571 + ac_status=$?
16572 + grep -v '^ *+' conftest.er1 >conftest.err
16573 + rm -f conftest.er1
16574 + cat conftest.err >&5
16575 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16576 + (exit $ac_status); } &&
16577 +- { ac_try='test -z "$ac_cxx_werror_flag"
16578 +- || test ! -s conftest.err'
16579 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16580 +- (eval $ac_try) 2>&5
16581 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16582 ++ { (case "(($ac_try" in
16583 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16584 ++ *) ac_try_echo=$ac_try;;
16585 ++esac
16586 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16587 ++ (eval "$ac_try") 2>&5
16588 + ac_status=$?
16589 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 + (exit $ac_status); }; } &&
16591 + { ac_try='test -s conftest.$ac_objext'
16592 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16593 +- (eval $ac_try) 2>&5
16594 ++ { (case "(($ac_try" in
16595 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16596 ++ *) ac_try_echo=$ac_try;;
16597 ++esac
16598 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16599 ++ (eval "$ac_try") 2>&5
16600 + ac_status=$?
16601 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 + (exit $ac_status); }; }; then
16603 +@@ -14526,18 +17188,19 @@
16604 +
16605 + ac_cv_type_long=no
16606 + fi
16607 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16608 ++
16609 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16610 + fi
16611 +-echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16612 +-echo "${ECHO_T}$ac_cv_type_long" >&6
16613 ++{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16614 ++echo "${ECHO_T}$ac_cv_type_long" >&6; }
16615 +
16616 +-echo "$as_me:$LINENO: checking size of long" >&5
16617 +-echo $ECHO_N "checking size of long... $ECHO_C" >&6
16618 ++{ echo "$as_me:$LINENO: checking size of long" >&5
16619 ++echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
16620 + if test "${ac_cv_sizeof_long+set}" = set; then
16621 + echo $ECHO_N "(cached) $ECHO_C" >&6
16622 + else
16623 + if test "$ac_cv_type_long" = yes; then
16624 +- # The cast to unsigned long works around a bug in the HP C Compiler
16625 ++ # The cast to long int works around a bug in the HP C Compiler
16626 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16627 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16628 + # This bug is HP SR number 8606223364.
16629 +@@ -14550,10 +17213,11 @@
16630 + cat >>conftest.$ac_ext <<_ACEOF
16631 + /* end confdefs.h. */
16632 + $ac_includes_default
16633 ++ typedef long ac__type_sizeof_;
16634 + int
16635 + main ()
16636 + {
16637 +-static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16638 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
16639 + test_array [0] = 0
16640 +
16641 + ;
16642 +@@ -14561,24 +17225,36 @@
16643 + }
16644 + _ACEOF
16645 + rm -f conftest.$ac_objext
16646 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16647 +- (eval $ac_compile) 2>conftest.er1
16648 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
16655 + ac_status=$?
16656 + grep -v '^ *+' conftest.er1 >conftest.err
16657 + rm -f conftest.er1
16658 + cat conftest.err >&5
16659 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 + (exit $ac_status); } &&
16661 +- { ac_try='test -z "$ac_cxx_werror_flag"
16662 +- || test ! -s conftest.err'
16663 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16664 +- (eval $ac_try) 2>&5
16665 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16666 ++ { (case "(($ac_try" in
16667 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16668 ++ *) ac_try_echo=$ac_try;;
16669 ++esac
16670 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16671 ++ (eval "$ac_try") 2>&5
16672 + ac_status=$?
16673 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 + (exit $ac_status); }; } &&
16675 + { ac_try='test -s conftest.$ac_objext'
16676 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16677 +- (eval $ac_try) 2>&5
16678 ++ { (case "(($ac_try" in
16679 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16680 ++ *) ac_try_echo=$ac_try;;
16681 ++esac
16682 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16683 ++ (eval "$ac_try") 2>&5
16684 + ac_status=$?
16685 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 + (exit $ac_status); }; }; then
16687 +@@ -14591,10 +17267,11 @@
16688 + cat >>conftest.$ac_ext <<_ACEOF
16689 + /* end confdefs.h. */
16690 + $ac_includes_default
16691 ++ typedef long ac__type_sizeof_;
16692 + int
16693 + main ()
16694 + {
16695 +-static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16696 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16697 + test_array [0] = 0
16698 +
16699 + ;
16700 +@@ -14602,24 +17279,36 @@
16701 + }
16702 + _ACEOF
16703 + rm -f conftest.$ac_objext
16704 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16705 +- (eval $ac_compile) 2>conftest.er1
16706 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
16713 + ac_status=$?
16714 + grep -v '^ *+' conftest.er1 >conftest.err
16715 + rm -f conftest.er1
16716 + cat conftest.err >&5
16717 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 + (exit $ac_status); } &&
16719 +- { ac_try='test -z "$ac_cxx_werror_flag"
16720 +- || test ! -s conftest.err'
16721 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16722 +- (eval $ac_try) 2>&5
16723 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16724 ++ { (case "(($ac_try" in
16725 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16726 ++ *) ac_try_echo=$ac_try;;
16727 ++esac
16728 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16729 ++ (eval "$ac_try") 2>&5
16730 + ac_status=$?
16731 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 + (exit $ac_status); }; } &&
16733 + { ac_try='test -s conftest.$ac_objext'
16734 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16735 +- (eval $ac_try) 2>&5
16736 ++ { (case "(($ac_try" in
16737 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16738 ++ *) ac_try_echo=$ac_try;;
16739 ++esac
16740 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16741 ++ (eval "$ac_try") 2>&5
16742 + ac_status=$?
16743 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16744 + (exit $ac_status); }; }; then
16745 +@@ -14635,7 +17324,8 @@
16746 + fi
16747 + ac_mid=`expr 2 '*' $ac_mid + 1`
16748 + fi
16749 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16750 ++
16751 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16752 + done
16753 + else
16754 + echo "$as_me: failed program was:" >&5
16755 +@@ -14648,10 +17338,11 @@
16756 + cat >>conftest.$ac_ext <<_ACEOF
16757 + /* end confdefs.h. */
16758 + $ac_includes_default
16759 ++ typedef long ac__type_sizeof_;
16760 + int
16761 + main ()
16762 + {
16763 +-static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16764 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
16765 + test_array [0] = 0
16766 +
16767 + ;
16768 +@@ -14659,24 +17350,36 @@
16769 + }
16770 + _ACEOF
16771 + rm -f conftest.$ac_objext
16772 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16773 +- (eval $ac_compile) 2>conftest.er1
16774 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
16781 + ac_status=$?
16782 + grep -v '^ *+' conftest.er1 >conftest.err
16783 + rm -f conftest.er1
16784 + cat conftest.err >&5
16785 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16786 + (exit $ac_status); } &&
16787 +- { ac_try='test -z "$ac_cxx_werror_flag"
16788 +- || test ! -s conftest.err'
16789 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16790 +- (eval $ac_try) 2>&5
16791 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16792 ++ { (case "(($ac_try" in
16793 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16794 ++ *) ac_try_echo=$ac_try;;
16795 ++esac
16796 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16797 ++ (eval "$ac_try") 2>&5
16798 + ac_status=$?
16799 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16800 + (exit $ac_status); }; } &&
16801 + { ac_try='test -s conftest.$ac_objext'
16802 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16803 +- (eval $ac_try) 2>&5
16804 ++ { (case "(($ac_try" in
16805 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16806 ++ *) ac_try_echo=$ac_try;;
16807 ++esac
16808 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16809 ++ (eval "$ac_try") 2>&5
16810 + ac_status=$?
16811 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812 + (exit $ac_status); }; }; then
16813 +@@ -14689,10 +17392,11 @@
16814 + cat >>conftest.$ac_ext <<_ACEOF
16815 + /* end confdefs.h. */
16816 + $ac_includes_default
16817 ++ typedef long ac__type_sizeof_;
16818 + int
16819 + main ()
16820 + {
16821 +-static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16822 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
16823 + test_array [0] = 0
16824 +
16825 + ;
16826 +@@ -14700,24 +17404,36 @@
16827 + }
16828 + _ACEOF
16829 + rm -f conftest.$ac_objext
16830 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16831 +- (eval $ac_compile) 2>conftest.er1
16832 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
16839 + ac_status=$?
16840 + grep -v '^ *+' conftest.er1 >conftest.err
16841 + rm -f conftest.er1
16842 + cat conftest.err >&5
16843 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 + (exit $ac_status); } &&
16845 +- { ac_try='test -z "$ac_cxx_werror_flag"
16846 +- || test ! -s conftest.err'
16847 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16848 +- (eval $ac_try) 2>&5
16849 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16850 ++ { (case "(($ac_try" in
16851 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16852 ++ *) ac_try_echo=$ac_try;;
16853 ++esac
16854 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16855 ++ (eval "$ac_try") 2>&5
16856 + ac_status=$?
16857 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 + (exit $ac_status); }; } &&
16859 + { ac_try='test -s conftest.$ac_objext'
16860 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16861 +- (eval $ac_try) 2>&5
16862 ++ { (case "(($ac_try" in
16863 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16864 ++ *) ac_try_echo=$ac_try;;
16865 ++esac
16866 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16867 ++ (eval "$ac_try") 2>&5
16868 + ac_status=$?
16869 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 + (exit $ac_status); }; }; then
16871 +@@ -14733,7 +17449,8 @@
16872 + fi
16873 + ac_mid=`expr 2 '*' $ac_mid`
16874 + fi
16875 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16876 ++
16877 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16878 + done
16879 + else
16880 + echo "$as_me: failed program was:" >&5
16881 +@@ -14741,9 +17458,11 @@
16882 +
16883 + ac_lo= ac_hi=
16884 + fi
16885 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16886 ++
16887 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16888 + fi
16889 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16890 ++
16891 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16892 + # Binary search between lo and hi bounds.
16893 + while test "x$ac_lo" != "x$ac_hi"; do
16894 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16895 +@@ -14754,10 +17473,11 @@
16896 + cat >>conftest.$ac_ext <<_ACEOF
16897 + /* end confdefs.h. */
16898 + $ac_includes_default
16899 ++ typedef long ac__type_sizeof_;
16900 + int
16901 + main ()
16902 + {
16903 +-static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16904 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16905 + test_array [0] = 0
16906 +
16907 + ;
16908 +@@ -14765,24 +17485,36 @@
16909 + }
16910 + _ACEOF
16911 + rm -f conftest.$ac_objext
16912 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16913 +- (eval $ac_compile) 2>conftest.er1
16914 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
16921 + ac_status=$?
16922 + grep -v '^ *+' conftest.er1 >conftest.err
16923 + rm -f conftest.er1
16924 + cat conftest.err >&5
16925 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 + (exit $ac_status); } &&
16927 +- { ac_try='test -z "$ac_cxx_werror_flag"
16928 +- || test ! -s conftest.err'
16929 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16930 +- (eval $ac_try) 2>&5
16931 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16932 ++ { (case "(($ac_try" in
16933 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16934 ++ *) ac_try_echo=$ac_try;;
16935 ++esac
16936 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16937 ++ (eval "$ac_try") 2>&5
16938 + ac_status=$?
16939 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 + (exit $ac_status); }; } &&
16941 + { ac_try='test -s conftest.$ac_objext'
16942 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16943 +- (eval $ac_try) 2>&5
16944 ++ { (case "(($ac_try" in
16945 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16946 ++ *) ac_try_echo=$ac_try;;
16947 ++esac
16948 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16949 ++ (eval "$ac_try") 2>&5
16950 + ac_status=$?
16951 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16952 + (exit $ac_status); }; }; then
16953 +@@ -14793,24 +17525,18 @@
16954 +
16955 + ac_lo=`expr '(' $ac_mid ')' + 1`
16956 + fi
16957 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16958 ++
16959 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16960 + done
16961 + case $ac_lo in
16962 + ?*) ac_cv_sizeof_long=$ac_lo;;
16963 +-'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16964 ++'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
16965 + See \`config.log' for more details." >&5
16966 +-echo "$as_me: error: cannot compute sizeof (long), 77
16967 ++echo "$as_me: error: cannot compute sizeof (long)
16968 + See \`config.log' for more details." >&2;}
16969 +- { (exit 1); exit 1; }; } ;;
16970 ++ { (exit 77); exit 77; }; } ;;
16971 + esac
16972 + else
16973 +- if test "$cross_compiling" = yes; then
16974 +- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16975 +-See \`config.log' for more details." >&5
16976 +-echo "$as_me: error: cannot run test program while cross compiling
16977 +-See \`config.log' for more details." >&2;}
16978 +- { (exit 1); exit 1; }; }
16979 +-else
16980 + cat >conftest.$ac_ext <<_ACEOF
16981 + /* confdefs.h. */
16982 + _ACEOF
16983 +@@ -14818,8 +17544,9 @@
16984 + cat >>conftest.$ac_ext <<_ACEOF
16985 + /* end confdefs.h. */
16986 + $ac_includes_default
16987 +-long longval () { return (long) (sizeof (long)); }
16988 +-unsigned long ulongval () { return (long) (sizeof (long)); }
16989 ++ typedef long ac__type_sizeof_;
16990 ++static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
16991 ++static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
16992 + #include <stdio.h>
16993 + #include <stdlib.h>
16994 + int
16995 +@@ -14828,35 +17555,44 @@
16996 +
16997 + FILE *f = fopen ("conftest.val", "w");
16998 + if (! f)
16999 +- exit (1);
17000 +- if (((long) (sizeof (long))) < 0)
17001 ++ return 1;
17002 ++ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
17003 + {
17004 +- long i = longval ();
17005 +- if (i != ((long) (sizeof (long))))
17006 +- exit (1);
17007 ++ long int i = longval ();
17008 ++ if (i != ((long int) (sizeof (ac__type_sizeof_))))
17009 ++ return 1;
17010 + fprintf (f, "%ld\n", i);
17011 + }
17012 + else
17013 + {
17014 +- unsigned long i = ulongval ();
17015 +- if (i != ((long) (sizeof (long))))
17016 +- exit (1);
17017 ++ unsigned long int i = ulongval ();
17018 ++ if (i != ((long int) (sizeof (ac__type_sizeof_))))
17019 ++ return 1;
17020 + fprintf (f, "%lu\n", i);
17021 + }
17022 +- exit (ferror (f) || fclose (f) != 0);
17023 ++ return ferror (f) || fclose (f) != 0;
17024 +
17025 + ;
17026 + return 0;
17027 + }
17028 + _ACEOF
17029 + rm -f conftest$ac_exeext
17030 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17031 +- (eval $ac_link) 2>&5
17032 ++if { (ac_try="$ac_link"
17033 ++case "(($ac_try" in
17034 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17035 ++ *) ac_try_echo=$ac_try;;
17036 ++esac
17037 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17038 ++ (eval "$ac_link") 2>&5
17039 + ac_status=$?
17040 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17042 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17043 +- (eval $ac_try) 2>&5
17044 ++ { (case "(($ac_try" in
17045 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17046 ++ *) ac_try_echo=$ac_try;;
17047 ++esac
17048 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17049 ++ (eval "$ac_try") 2>&5
17050 + ac_status=$?
17051 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 + (exit $ac_status); }; }; then
17053 +@@ -14867,29 +17603,28 @@
17054 + sed 's/^/| /' conftest.$ac_ext >&5
17055 +
17056 + ( exit $ac_status )
17057 +-{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17058 ++{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
17059 + See \`config.log' for more details." >&5
17060 +-echo "$as_me: error: cannot compute sizeof (long), 77
17061 ++echo "$as_me: error: cannot compute sizeof (long)
17062 + See \`config.log' for more details." >&2;}
17063 +- { (exit 1); exit 1; }; }
17064 +-fi
17065 +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17066 ++ { (exit 77); exit 77; }; }
17067 + fi
17068 ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17069 + fi
17070 + rm -f conftest.val
17071 + else
17072 + ac_cv_sizeof_long=0
17073 + fi
17074 + fi
17075 +-echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17076 +-echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17077 ++{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17078 ++echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
17079 + cat >>confdefs.h <<_ACEOF
17080 + #define SIZEOF_LONG $ac_cv_sizeof_long
17081 + _ACEOF
17082 +
17083 +
17084 +- echo "$as_me:$LINENO: checking for long double" >&5
17085 +-echo $ECHO_N "checking for long double... $ECHO_C" >&6
17086 ++ { echo "$as_me:$LINENO: checking for long double" >&5
17087 ++echo $ECHO_N "checking for long double... $ECHO_C" >&6; }
17088 + if test "${ac_cv_type_long_double+set}" = set; then
17089 + echo $ECHO_N "(cached) $ECHO_C" >&6
17090 + else
17091 +@@ -14900,36 +17635,49 @@
17092 + cat >>conftest.$ac_ext <<_ACEOF
17093 + /* end confdefs.h. */
17094 + $ac_includes_default
17095 ++typedef long double ac__type_new_;
17096 + int
17097 + main ()
17098 + {
17099 +-if ((long double *) 0)
17100 ++if ((ac__type_new_ *) 0)
17101 + return 0;
17102 +-if (sizeof (long double))
17103 ++if (sizeof (ac__type_new_))
17104 + return 0;
17105 + ;
17106 + return 0;
17107 + }
17108 + _ACEOF
17109 + rm -f conftest.$ac_objext
17110 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17111 +- (eval $ac_compile) 2>conftest.er1
17112 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
17119 + ac_status=$?
17120 + grep -v '^ *+' conftest.er1 >conftest.err
17121 + rm -f conftest.er1
17122 + cat conftest.err >&5
17123 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124 + (exit $ac_status); } &&
17125 +- { ac_try='test -z "$ac_cxx_werror_flag"
17126 +- || test ! -s conftest.err'
17127 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17128 +- (eval $ac_try) 2>&5
17129 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17130 ++ { (case "(($ac_try" in
17131 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17132 ++ *) ac_try_echo=$ac_try;;
17133 ++esac
17134 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17135 ++ (eval "$ac_try") 2>&5
17136 + ac_status=$?
17137 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17138 + (exit $ac_status); }; } &&
17139 + { ac_try='test -s conftest.$ac_objext'
17140 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17141 +- (eval $ac_try) 2>&5
17142 ++ { (case "(($ac_try" in
17143 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17144 ++ *) ac_try_echo=$ac_try;;
17145 ++esac
17146 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17147 ++ (eval "$ac_try") 2>&5
17148 + ac_status=$?
17149 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 + (exit $ac_status); }; }; then
17151 +@@ -14940,18 +17688,19 @@
17152 +
17153 + ac_cv_type_long_double=no
17154 + fi
17155 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17156 ++
17157 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17158 + fi
17159 +-echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5
17160 +-echo "${ECHO_T}$ac_cv_type_long_double" >&6
17161 ++{ echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5
17162 ++echo "${ECHO_T}$ac_cv_type_long_double" >&6; }
17163 +
17164 +-echo "$as_me:$LINENO: checking size of long double" >&5
17165 +-echo $ECHO_N "checking size of long double... $ECHO_C" >&6
17166 ++{ echo "$as_me:$LINENO: checking size of long double" >&5
17167 ++echo $ECHO_N "checking size of long double... $ECHO_C" >&6; }
17168 + if test "${ac_cv_sizeof_long_double+set}" = set; then
17169 + echo $ECHO_N "(cached) $ECHO_C" >&6
17170 + else
17171 + if test "$ac_cv_type_long_double" = yes; then
17172 +- # The cast to unsigned long works around a bug in the HP C Compiler
17173 ++ # The cast to long int works around a bug in the HP C Compiler
17174 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17175 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17176 + # This bug is HP SR number 8606223364.
17177 +@@ -14964,10 +17713,11 @@
17178 + cat >>conftest.$ac_ext <<_ACEOF
17179 + /* end confdefs.h. */
17180 + $ac_includes_default
17181 ++ typedef long double ac__type_sizeof_;
17182 + int
17183 + main ()
17184 + {
17185 +-static int test_array [1 - 2 * !(((long) (sizeof (long double))) >= 0)];
17186 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
17187 + test_array [0] = 0
17188 +
17189 + ;
17190 +@@ -14975,24 +17725,36 @@
17191 + }
17192 + _ACEOF
17193 + rm -f conftest.$ac_objext
17194 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17195 +- (eval $ac_compile) 2>conftest.er1
17196 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
17203 + ac_status=$?
17204 + grep -v '^ *+' conftest.er1 >conftest.err
17205 + rm -f conftest.er1
17206 + cat conftest.err >&5
17207 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 + (exit $ac_status); } &&
17209 +- { ac_try='test -z "$ac_cxx_werror_flag"
17210 +- || test ! -s conftest.err'
17211 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17212 +- (eval $ac_try) 2>&5
17213 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17214 ++ { (case "(($ac_try" in
17215 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17216 ++ *) ac_try_echo=$ac_try;;
17217 ++esac
17218 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17219 ++ (eval "$ac_try") 2>&5
17220 + ac_status=$?
17221 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17222 + (exit $ac_status); }; } &&
17223 + { ac_try='test -s conftest.$ac_objext'
17224 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17225 +- (eval $ac_try) 2>&5
17226 ++ { (case "(($ac_try" in
17227 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17228 ++ *) ac_try_echo=$ac_try;;
17229 ++esac
17230 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17231 ++ (eval "$ac_try") 2>&5
17232 + ac_status=$?
17233 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234 + (exit $ac_status); }; }; then
17235 +@@ -15005,10 +17767,11 @@
17236 + cat >>conftest.$ac_ext <<_ACEOF
17237 + /* end confdefs.h. */
17238 + $ac_includes_default
17239 ++ typedef long double ac__type_sizeof_;
17240 + int
17241 + main ()
17242 + {
17243 +-static int test_array [1 - 2 * !(((long) (sizeof (long double))) <= $ac_mid)];
17244 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17245 + test_array [0] = 0
17246 +
17247 + ;
17248 +@@ -15016,24 +17779,36 @@
17249 + }
17250 + _ACEOF
17251 + rm -f conftest.$ac_objext
17252 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17253 +- (eval $ac_compile) 2>conftest.er1
17254 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
17261 + ac_status=$?
17262 + grep -v '^ *+' conftest.er1 >conftest.err
17263 + rm -f conftest.er1
17264 + cat conftest.err >&5
17265 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 + (exit $ac_status); } &&
17267 +- { ac_try='test -z "$ac_cxx_werror_flag"
17268 +- || test ! -s conftest.err'
17269 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17270 +- (eval $ac_try) 2>&5
17271 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17272 ++ { (case "(($ac_try" in
17273 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17274 ++ *) ac_try_echo=$ac_try;;
17275 ++esac
17276 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17277 ++ (eval "$ac_try") 2>&5
17278 + ac_status=$?
17279 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 + (exit $ac_status); }; } &&
17281 + { ac_try='test -s conftest.$ac_objext'
17282 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17283 +- (eval $ac_try) 2>&5
17284 ++ { (case "(($ac_try" in
17285 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17286 ++ *) ac_try_echo=$ac_try;;
17287 ++esac
17288 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17289 ++ (eval "$ac_try") 2>&5
17290 + ac_status=$?
17291 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292 + (exit $ac_status); }; }; then
17293 +@@ -15049,7 +17824,8 @@
17294 + fi
17295 + ac_mid=`expr 2 '*' $ac_mid + 1`
17296 + fi
17297 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17298 ++
17299 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17300 + done
17301 + else
17302 + echo "$as_me: failed program was:" >&5
17303 +@@ -15062,10 +17838,11 @@
17304 + cat >>conftest.$ac_ext <<_ACEOF
17305 + /* end confdefs.h. */
17306 + $ac_includes_default
17307 ++ typedef long double ac__type_sizeof_;
17308 + int
17309 + main ()
17310 + {
17311 +-static int test_array [1 - 2 * !(((long) (sizeof (long double))) < 0)];
17312 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
17313 + test_array [0] = 0
17314 +
17315 + ;
17316 +@@ -15073,24 +17850,36 @@
17317 + }
17318 + _ACEOF
17319 + rm -f conftest.$ac_objext
17320 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17321 +- (eval $ac_compile) 2>conftest.er1
17322 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
17329 + ac_status=$?
17330 + grep -v '^ *+' conftest.er1 >conftest.err
17331 + rm -f conftest.er1
17332 + cat conftest.err >&5
17333 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17334 + (exit $ac_status); } &&
17335 +- { ac_try='test -z "$ac_cxx_werror_flag"
17336 +- || test ! -s conftest.err'
17337 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17338 +- (eval $ac_try) 2>&5
17339 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17340 ++ { (case "(($ac_try" in
17341 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17342 ++ *) ac_try_echo=$ac_try;;
17343 ++esac
17344 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17345 ++ (eval "$ac_try") 2>&5
17346 + ac_status=$?
17347 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 + (exit $ac_status); }; } &&
17349 + { ac_try='test -s conftest.$ac_objext'
17350 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17351 +- (eval $ac_try) 2>&5
17352 ++ { (case "(($ac_try" in
17353 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17354 ++ *) ac_try_echo=$ac_try;;
17355 ++esac
17356 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17357 ++ (eval "$ac_try") 2>&5
17358 + ac_status=$?
17359 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 + (exit $ac_status); }; }; then
17361 +@@ -15103,10 +17892,11 @@
17362 + cat >>conftest.$ac_ext <<_ACEOF
17363 + /* end confdefs.h. */
17364 + $ac_includes_default
17365 ++ typedef long double ac__type_sizeof_;
17366 + int
17367 + main ()
17368 + {
17369 +-static int test_array [1 - 2 * !(((long) (sizeof (long double))) >= $ac_mid)];
17370 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
17371 + test_array [0] = 0
17372 +
17373 + ;
17374 +@@ -15114,24 +17904,36 @@
17375 + }
17376 + _ACEOF
17377 + rm -f conftest.$ac_objext
17378 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17379 +- (eval $ac_compile) 2>conftest.er1
17380 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
17387 + ac_status=$?
17388 + grep -v '^ *+' conftest.er1 >conftest.err
17389 + rm -f conftest.er1
17390 + cat conftest.err >&5
17391 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 + (exit $ac_status); } &&
17393 +- { ac_try='test -z "$ac_cxx_werror_flag"
17394 +- || test ! -s conftest.err'
17395 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17396 +- (eval $ac_try) 2>&5
17397 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17398 ++ { (case "(($ac_try" in
17399 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17400 ++ *) ac_try_echo=$ac_try;;
17401 ++esac
17402 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17403 ++ (eval "$ac_try") 2>&5
17404 + ac_status=$?
17405 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 + (exit $ac_status); }; } &&
17407 + { ac_try='test -s conftest.$ac_objext'
17408 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17409 +- (eval $ac_try) 2>&5
17410 ++ { (case "(($ac_try" in
17411 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17412 ++ *) ac_try_echo=$ac_try;;
17413 ++esac
17414 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17415 ++ (eval "$ac_try") 2>&5
17416 + ac_status=$?
17417 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17418 + (exit $ac_status); }; }; then
17419 +@@ -15147,7 +17949,8 @@
17420 + fi
17421 + ac_mid=`expr 2 '*' $ac_mid`
17422 + fi
17423 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17424 ++
17425 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17426 + done
17427 + else
17428 + echo "$as_me: failed program was:" >&5
17429 +@@ -15155,9 +17958,11 @@
17430 +
17431 + ac_lo= ac_hi=
17432 + fi
17433 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17434 ++
17435 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17436 + fi
17437 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17438 ++
17439 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17440 + # Binary search between lo and hi bounds.
17441 + while test "x$ac_lo" != "x$ac_hi"; do
17442 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17443 +@@ -15168,10 +17973,11 @@
17444 + cat >>conftest.$ac_ext <<_ACEOF
17445 + /* end confdefs.h. */
17446 + $ac_includes_default
17447 ++ typedef long double ac__type_sizeof_;
17448 + int
17449 + main ()
17450 + {
17451 +-static int test_array [1 - 2 * !(((long) (sizeof (long double))) <= $ac_mid)];
17452 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17453 + test_array [0] = 0
17454 +
17455 + ;
17456 +@@ -15179,24 +17985,36 @@
17457 + }
17458 + _ACEOF
17459 + rm -f conftest.$ac_objext
17460 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17461 +- (eval $ac_compile) 2>conftest.er1
17462 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
17469 + ac_status=$?
17470 + grep -v '^ *+' conftest.er1 >conftest.err
17471 + rm -f conftest.er1
17472 + cat conftest.err >&5
17473 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17474 + (exit $ac_status); } &&
17475 +- { ac_try='test -z "$ac_cxx_werror_flag"
17476 +- || test ! -s conftest.err'
17477 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17478 +- (eval $ac_try) 2>&5
17479 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17480 ++ { (case "(($ac_try" in
17481 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17482 ++ *) ac_try_echo=$ac_try;;
17483 ++esac
17484 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17485 ++ (eval "$ac_try") 2>&5
17486 + ac_status=$?
17487 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 + (exit $ac_status); }; } &&
17489 + { ac_try='test -s conftest.$ac_objext'
17490 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17491 +- (eval $ac_try) 2>&5
17492 ++ { (case "(($ac_try" in
17493 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17494 ++ *) ac_try_echo=$ac_try;;
17495 ++esac
17496 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17497 ++ (eval "$ac_try") 2>&5
17498 + ac_status=$?
17499 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17500 + (exit $ac_status); }; }; then
17501 +@@ -15207,24 +18025,18 @@
17502 +
17503 + ac_lo=`expr '(' $ac_mid ')' + 1`
17504 + fi
17505 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17506 ++
17507 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17508 + done
17509 + case $ac_lo in
17510 + ?*) ac_cv_sizeof_long_double=$ac_lo;;
17511 +-'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double), 77
17512 ++'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
17513 + See \`config.log' for more details." >&5
17514 +-echo "$as_me: error: cannot compute sizeof (long double), 77
17515 ++echo "$as_me: error: cannot compute sizeof (long double)
17516 + See \`config.log' for more details." >&2;}
17517 +- { (exit 1); exit 1; }; } ;;
17518 ++ { (exit 77); exit 77; }; } ;;
17519 + esac
17520 + else
17521 +- if test "$cross_compiling" = yes; then
17522 +- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17523 +-See \`config.log' for more details." >&5
17524 +-echo "$as_me: error: cannot run test program while cross compiling
17525 +-See \`config.log' for more details." >&2;}
17526 +- { (exit 1); exit 1; }; }
17527 +-else
17528 + cat >conftest.$ac_ext <<_ACEOF
17529 + /* confdefs.h. */
17530 + _ACEOF
17531 +@@ -15232,8 +18044,9 @@
17532 + cat >>conftest.$ac_ext <<_ACEOF
17533 + /* end confdefs.h. */
17534 + $ac_includes_default
17535 +-long longval () { return (long) (sizeof (long double)); }
17536 +-unsigned long ulongval () { return (long) (sizeof (long double)); }
17537 ++ typedef long double ac__type_sizeof_;
17538 ++static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
17539 ++static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
17540 + #include <stdio.h>
17541 + #include <stdlib.h>
17542 + int
17543 +@@ -15242,35 +18055,44 @@
17544 +
17545 + FILE *f = fopen ("conftest.val", "w");
17546 + if (! f)
17547 +- exit (1);
17548 +- if (((long) (sizeof (long double))) < 0)
17549 ++ return 1;
17550 ++ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
17551 + {
17552 +- long i = longval ();
17553 +- if (i != ((long) (sizeof (long double))))
17554 +- exit (1);
17555 ++ long int i = longval ();
17556 ++ if (i != ((long int) (sizeof (ac__type_sizeof_))))
17557 ++ return 1;
17558 + fprintf (f, "%ld\n", i);
17559 + }
17560 + else
17561 + {
17562 +- unsigned long i = ulongval ();
17563 +- if (i != ((long) (sizeof (long double))))
17564 +- exit (1);
17565 ++ unsigned long int i = ulongval ();
17566 ++ if (i != ((long int) (sizeof (ac__type_sizeof_))))
17567 ++ return 1;
17568 + fprintf (f, "%lu\n", i);
17569 + }
17570 +- exit (ferror (f) || fclose (f) != 0);
17571 ++ return ferror (f) || fclose (f) != 0;
17572 +
17573 + ;
17574 + return 0;
17575 + }
17576 + _ACEOF
17577 + rm -f conftest$ac_exeext
17578 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17579 +- (eval $ac_link) 2>&5
17580 ++if { (ac_try="$ac_link"
17581 ++case "(($ac_try" in
17582 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17583 ++ *) ac_try_echo=$ac_try;;
17584 ++esac
17585 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17586 ++ (eval "$ac_link") 2>&5
17587 + ac_status=$?
17588 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17590 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17591 +- (eval $ac_try) 2>&5
17592 ++ { (case "(($ac_try" in
17593 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17594 ++ *) ac_try_echo=$ac_try;;
17595 ++esac
17596 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17597 ++ (eval "$ac_try") 2>&5
17598 + ac_status=$?
17599 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 + (exit $ac_status); }; }; then
17601 +@@ -15281,29 +18103,28 @@
17602 + sed 's/^/| /' conftest.$ac_ext >&5
17603 +
17604 + ( exit $ac_status )
17605 +-{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long double), 77
17606 ++{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
17607 + See \`config.log' for more details." >&5
17608 +-echo "$as_me: error: cannot compute sizeof (long double), 77
17609 ++echo "$as_me: error: cannot compute sizeof (long double)
17610 + See \`config.log' for more details." >&2;}
17611 +- { (exit 1); exit 1; }; }
17612 +-fi
17613 +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17614 ++ { (exit 77); exit 77; }; }
17615 + fi
17616 ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17617 + fi
17618 + rm -f conftest.val
17619 + else
17620 + ac_cv_sizeof_long_double=0
17621 + fi
17622 + fi
17623 +-echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_double" >&5
17624 +-echo "${ECHO_T}$ac_cv_sizeof_long_double" >&6
17625 ++{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_double" >&5
17626 ++echo "${ECHO_T}$ac_cv_sizeof_long_double" >&6; }
17627 + cat >>confdefs.h <<_ACEOF
17628 + #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
17629 + _ACEOF
17630 +
17631 +
17632 +- echo "$as_me:$LINENO: checking for long long" >&5
17633 +-echo $ECHO_N "checking for long long... $ECHO_C" >&6
17634 ++ { echo "$as_me:$LINENO: checking for long long" >&5
17635 ++echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17636 + if test "${ac_cv_type_long_long+set}" = set; then
17637 + echo $ECHO_N "(cached) $ECHO_C" >&6
17638 + else
17639 +@@ -15314,36 +18135,49 @@
17640 + cat >>conftest.$ac_ext <<_ACEOF
17641 + /* end confdefs.h. */
17642 + $ac_includes_default
17643 ++typedef long long ac__type_new_;
17644 + int
17645 + main ()
17646 + {
17647 +-if ((long long *) 0)
17648 ++if ((ac__type_new_ *) 0)
17649 + return 0;
17650 +-if (sizeof (long long))
17651 ++if (sizeof (ac__type_new_))
17652 + return 0;
17653 + ;
17654 + return 0;
17655 + }
17656 + _ACEOF
17657 + rm -f conftest.$ac_objext
17658 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17659 +- (eval $ac_compile) 2>conftest.er1
17660 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
17667 + ac_status=$?
17668 + grep -v '^ *+' conftest.er1 >conftest.err
17669 + rm -f conftest.er1
17670 + cat conftest.err >&5
17671 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672 + (exit $ac_status); } &&
17673 +- { ac_try='test -z "$ac_cxx_werror_flag"
17674 +- || test ! -s conftest.err'
17675 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17676 +- (eval $ac_try) 2>&5
17677 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17678 ++ { (case "(($ac_try" in
17679 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17680 ++ *) ac_try_echo=$ac_try;;
17681 ++esac
17682 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17683 ++ (eval "$ac_try") 2>&5
17684 + ac_status=$?
17685 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 + (exit $ac_status); }; } &&
17687 + { ac_try='test -s conftest.$ac_objext'
17688 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17689 +- (eval $ac_try) 2>&5
17690 ++ { (case "(($ac_try" in
17691 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17692 ++ *) ac_try_echo=$ac_try;;
17693 ++esac
17694 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17695 ++ (eval "$ac_try") 2>&5
17696 + ac_status=$?
17697 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 + (exit $ac_status); }; }; then
17699 +@@ -15354,18 +18188,19 @@
17700 +
17701 + ac_cv_type_long_long=no
17702 + fi
17703 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17704 ++
17705 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17706 + fi
17707 +-echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17708 +-echo "${ECHO_T}$ac_cv_type_long_long" >&6
17709 ++{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17710 ++echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17711 +
17712 +-echo "$as_me:$LINENO: checking size of long long" >&5
17713 +-echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17714 ++{ echo "$as_me:$LINENO: checking size of long long" >&5
17715 ++echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
17716 + if test "${ac_cv_sizeof_long_long+set}" = set; then
17717 + echo $ECHO_N "(cached) $ECHO_C" >&6
17718 + else
17719 + if test "$ac_cv_type_long_long" = yes; then
17720 +- # The cast to unsigned long works around a bug in the HP C Compiler
17721 ++ # The cast to long int works around a bug in the HP C Compiler
17722 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17723 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17724 + # This bug is HP SR number 8606223364.
17725 +@@ -15378,10 +18213,11 @@
17726 + cat >>conftest.$ac_ext <<_ACEOF
17727 + /* end confdefs.h. */
17728 + $ac_includes_default
17729 ++ typedef long long ac__type_sizeof_;
17730 + int
17731 + main ()
17732 + {
17733 +-static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17734 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
17735 + test_array [0] = 0
17736 +
17737 + ;
17738 +@@ -15389,24 +18225,36 @@
17739 + }
17740 + _ACEOF
17741 + rm -f conftest.$ac_objext
17742 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17743 +- (eval $ac_compile) 2>conftest.er1
17744 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
17751 + ac_status=$?
17752 + grep -v '^ *+' conftest.er1 >conftest.err
17753 + rm -f conftest.er1
17754 + cat conftest.err >&5
17755 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 + (exit $ac_status); } &&
17757 +- { ac_try='test -z "$ac_cxx_werror_flag"
17758 +- || test ! -s conftest.err'
17759 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17760 +- (eval $ac_try) 2>&5
17761 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17762 ++ { (case "(($ac_try" in
17763 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17764 ++ *) ac_try_echo=$ac_try;;
17765 ++esac
17766 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17767 ++ (eval "$ac_try") 2>&5
17768 + ac_status=$?
17769 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 + (exit $ac_status); }; } &&
17771 + { ac_try='test -s conftest.$ac_objext'
17772 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17773 +- (eval $ac_try) 2>&5
17774 ++ { (case "(($ac_try" in
17775 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17776 ++ *) ac_try_echo=$ac_try;;
17777 ++esac
17778 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17779 ++ (eval "$ac_try") 2>&5
17780 + ac_status=$?
17781 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 + (exit $ac_status); }; }; then
17783 +@@ -15419,10 +18267,11 @@
17784 + cat >>conftest.$ac_ext <<_ACEOF
17785 + /* end confdefs.h. */
17786 + $ac_includes_default
17787 ++ typedef long long ac__type_sizeof_;
17788 + int
17789 + main ()
17790 + {
17791 +-static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17792 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17793 + test_array [0] = 0
17794 +
17795 + ;
17796 +@@ -15430,24 +18279,36 @@
17797 + }
17798 + _ACEOF
17799 + rm -f conftest.$ac_objext
17800 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17801 +- (eval $ac_compile) 2>conftest.er1
17802 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
17809 + ac_status=$?
17810 + grep -v '^ *+' conftest.er1 >conftest.err
17811 + rm -f conftest.er1
17812 + cat conftest.err >&5
17813 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17814 + (exit $ac_status); } &&
17815 +- { ac_try='test -z "$ac_cxx_werror_flag"
17816 +- || test ! -s conftest.err'
17817 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17818 +- (eval $ac_try) 2>&5
17819 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17820 ++ { (case "(($ac_try" in
17821 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17822 ++ *) ac_try_echo=$ac_try;;
17823 ++esac
17824 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17825 ++ (eval "$ac_try") 2>&5
17826 + ac_status=$?
17827 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 + (exit $ac_status); }; } &&
17829 + { ac_try='test -s conftest.$ac_objext'
17830 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17831 +- (eval $ac_try) 2>&5
17832 ++ { (case "(($ac_try" in
17833 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17834 ++ *) ac_try_echo=$ac_try;;
17835 ++esac
17836 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17837 ++ (eval "$ac_try") 2>&5
17838 + ac_status=$?
17839 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 + (exit $ac_status); }; }; then
17841 +@@ -15463,7 +18324,8 @@
17842 + fi
17843 + ac_mid=`expr 2 '*' $ac_mid + 1`
17844 + fi
17845 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17846 ++
17847 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17848 + done
17849 + else
17850 + echo "$as_me: failed program was:" >&5
17851 +@@ -15476,10 +18338,11 @@
17852 + cat >>conftest.$ac_ext <<_ACEOF
17853 + /* end confdefs.h. */
17854 + $ac_includes_default
17855 ++ typedef long long ac__type_sizeof_;
17856 + int
17857 + main ()
17858 + {
17859 +-static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17860 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
17861 + test_array [0] = 0
17862 +
17863 + ;
17864 +@@ -15487,24 +18350,36 @@
17865 + }
17866 + _ACEOF
17867 + rm -f conftest.$ac_objext
17868 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17869 +- (eval $ac_compile) 2>conftest.er1
17870 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
17877 + ac_status=$?
17878 + grep -v '^ *+' conftest.er1 >conftest.err
17879 + rm -f conftest.er1
17880 + cat conftest.err >&5
17881 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882 + (exit $ac_status); } &&
17883 +- { ac_try='test -z "$ac_cxx_werror_flag"
17884 +- || test ! -s conftest.err'
17885 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17886 +- (eval $ac_try) 2>&5
17887 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17888 ++ { (case "(($ac_try" in
17889 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17890 ++ *) ac_try_echo=$ac_try;;
17891 ++esac
17892 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17893 ++ (eval "$ac_try") 2>&5
17894 + ac_status=$?
17895 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896 + (exit $ac_status); }; } &&
17897 + { ac_try='test -s conftest.$ac_objext'
17898 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17899 +- (eval $ac_try) 2>&5
17900 ++ { (case "(($ac_try" in
17901 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17902 ++ *) ac_try_echo=$ac_try;;
17903 ++esac
17904 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17905 ++ (eval "$ac_try") 2>&5
17906 + ac_status=$?
17907 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17908 + (exit $ac_status); }; }; then
17909 +@@ -15517,10 +18392,11 @@
17910 + cat >>conftest.$ac_ext <<_ACEOF
17911 + /* end confdefs.h. */
17912 + $ac_includes_default
17913 ++ typedef long long ac__type_sizeof_;
17914 + int
17915 + main ()
17916 + {
17917 +-static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17918 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
17919 + test_array [0] = 0
17920 +
17921 + ;
17922 +@@ -15528,24 +18404,36 @@
17923 + }
17924 + _ACEOF
17925 + rm -f conftest.$ac_objext
17926 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17927 +- (eval $ac_compile) 2>conftest.er1
17928 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
17935 + ac_status=$?
17936 + grep -v '^ *+' conftest.er1 >conftest.err
17937 + rm -f conftest.er1
17938 + cat conftest.err >&5
17939 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940 + (exit $ac_status); } &&
17941 +- { ac_try='test -z "$ac_cxx_werror_flag"
17942 +- || test ! -s conftest.err'
17943 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17944 +- (eval $ac_try) 2>&5
17945 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17946 ++ { (case "(($ac_try" in
17947 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17948 ++ *) ac_try_echo=$ac_try;;
17949 ++esac
17950 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17951 ++ (eval "$ac_try") 2>&5
17952 + ac_status=$?
17953 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 + (exit $ac_status); }; } &&
17955 + { ac_try='test -s conftest.$ac_objext'
17956 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17957 +- (eval $ac_try) 2>&5
17958 ++ { (case "(($ac_try" in
17959 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17960 ++ *) ac_try_echo=$ac_try;;
17961 ++esac
17962 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17963 ++ (eval "$ac_try") 2>&5
17964 + ac_status=$?
17965 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 + (exit $ac_status); }; }; then
17967 +@@ -15561,7 +18449,8 @@
17968 + fi
17969 + ac_mid=`expr 2 '*' $ac_mid`
17970 + fi
17971 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17972 ++
17973 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17974 + done
17975 + else
17976 + echo "$as_me: failed program was:" >&5
17977 +@@ -15569,9 +18458,11 @@
17978 +
17979 + ac_lo= ac_hi=
17980 + fi
17981 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17982 ++
17983 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17984 + fi
17985 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17986 ++
17987 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17988 + # Binary search between lo and hi bounds.
17989 + while test "x$ac_lo" != "x$ac_hi"; do
17990 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17991 +@@ -15582,10 +18473,11 @@
17992 + cat >>conftest.$ac_ext <<_ACEOF
17993 + /* end confdefs.h. */
17994 + $ac_includes_default
17995 ++ typedef long long ac__type_sizeof_;
17996 + int
17997 + main ()
17998 + {
17999 +-static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18000 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18001 + test_array [0] = 0
18002 +
18003 + ;
18004 +@@ -15593,24 +18485,36 @@
18005 + }
18006 + _ACEOF
18007 + rm -f conftest.$ac_objext
18008 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18009 +- (eval $ac_compile) 2>conftest.er1
18010 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
18017 + ac_status=$?
18018 + grep -v '^ *+' conftest.er1 >conftest.err
18019 + rm -f conftest.er1
18020 + cat conftest.err >&5
18021 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 + (exit $ac_status); } &&
18023 +- { ac_try='test -z "$ac_cxx_werror_flag"
18024 +- || test ! -s conftest.err'
18025 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18026 +- (eval $ac_try) 2>&5
18027 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18028 ++ { (case "(($ac_try" in
18029 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18030 ++ *) ac_try_echo=$ac_try;;
18031 ++esac
18032 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18033 ++ (eval "$ac_try") 2>&5
18034 + ac_status=$?
18035 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18036 + (exit $ac_status); }; } &&
18037 + { ac_try='test -s conftest.$ac_objext'
18038 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18039 +- (eval $ac_try) 2>&5
18040 ++ { (case "(($ac_try" in
18041 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18042 ++ *) ac_try_echo=$ac_try;;
18043 ++esac
18044 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18045 ++ (eval "$ac_try") 2>&5
18046 + ac_status=$?
18047 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 + (exit $ac_status); }; }; then
18049 +@@ -15621,24 +18525,18 @@
18050 +
18051 + ac_lo=`expr '(' $ac_mid ')' + 1`
18052 + fi
18053 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18054 ++
18055 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18056 + done
18057 + case $ac_lo in
18058 + ?*) ac_cv_sizeof_long_long=$ac_lo;;
18059 +-'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18060 ++'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
18061 + See \`config.log' for more details." >&5
18062 +-echo "$as_me: error: cannot compute sizeof (long long), 77
18063 ++echo "$as_me: error: cannot compute sizeof (long long)
18064 + See \`config.log' for more details." >&2;}
18065 +- { (exit 1); exit 1; }; } ;;
18066 ++ { (exit 77); exit 77; }; } ;;
18067 + esac
18068 + else
18069 +- if test "$cross_compiling" = yes; then
18070 +- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18071 +-See \`config.log' for more details." >&5
18072 +-echo "$as_me: error: cannot run test program while cross compiling
18073 +-See \`config.log' for more details." >&2;}
18074 +- { (exit 1); exit 1; }; }
18075 +-else
18076 + cat >conftest.$ac_ext <<_ACEOF
18077 + /* confdefs.h. */
18078 + _ACEOF
18079 +@@ -15646,8 +18544,9 @@
18080 + cat >>conftest.$ac_ext <<_ACEOF
18081 + /* end confdefs.h. */
18082 + $ac_includes_default
18083 +-long longval () { return (long) (sizeof (long long)); }
18084 +-unsigned long ulongval () { return (long) (sizeof (long long)); }
18085 ++ typedef long long ac__type_sizeof_;
18086 ++static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18087 ++static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18088 + #include <stdio.h>
18089 + #include <stdlib.h>
18090 + int
18091 +@@ -15656,35 +18555,44 @@
18092 +
18093 + FILE *f = fopen ("conftest.val", "w");
18094 + if (! f)
18095 +- exit (1);
18096 +- if (((long) (sizeof (long long))) < 0)
18097 ++ return 1;
18098 ++ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18099 + {
18100 +- long i = longval ();
18101 +- if (i != ((long) (sizeof (long long))))
18102 +- exit (1);
18103 ++ long int i = longval ();
18104 ++ if (i != ((long int) (sizeof (ac__type_sizeof_))))
18105 ++ return 1;
18106 + fprintf (f, "%ld\n", i);
18107 + }
18108 + else
18109 + {
18110 +- unsigned long i = ulongval ();
18111 +- if (i != ((long) (sizeof (long long))))
18112 +- exit (1);
18113 ++ unsigned long int i = ulongval ();
18114 ++ if (i != ((long int) (sizeof (ac__type_sizeof_))))
18115 ++ return 1;
18116 + fprintf (f, "%lu\n", i);
18117 + }
18118 +- exit (ferror (f) || fclose (f) != 0);
18119 ++ return ferror (f) || fclose (f) != 0;
18120 +
18121 + ;
18122 + return 0;
18123 + }
18124 + _ACEOF
18125 + rm -f conftest$ac_exeext
18126 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18127 +- (eval $ac_link) 2>&5
18128 ++if { (ac_try="$ac_link"
18129 ++case "(($ac_try" in
18130 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18131 ++ *) ac_try_echo=$ac_try;;
18132 ++esac
18133 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18134 ++ (eval "$ac_link") 2>&5
18135 + ac_status=$?
18136 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18137 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18138 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18139 +- (eval $ac_try) 2>&5
18140 ++ { (case "(($ac_try" in
18141 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18142 ++ *) ac_try_echo=$ac_try;;
18143 ++esac
18144 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18145 ++ (eval "$ac_try") 2>&5
18146 + ac_status=$?
18147 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 + (exit $ac_status); }; }; then
18149 +@@ -15695,29 +18603,28 @@
18150 + sed 's/^/| /' conftest.$ac_ext >&5
18151 +
18152 + ( exit $ac_status )
18153 +-{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18154 ++{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
18155 + See \`config.log' for more details." >&5
18156 +-echo "$as_me: error: cannot compute sizeof (long long), 77
18157 ++echo "$as_me: error: cannot compute sizeof (long long)
18158 + See \`config.log' for more details." >&2;}
18159 +- { (exit 1); exit 1; }; }
18160 +-fi
18161 +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18162 ++ { (exit 77); exit 77; }; }
18163 + fi
18164 ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18165 + fi
18166 + rm -f conftest.val
18167 + else
18168 + ac_cv_sizeof_long_long=0
18169 + fi
18170 + fi
18171 +-echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18172 +-echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18173 ++{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18174 ++echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
18175 + cat >>confdefs.h <<_ACEOF
18176 + #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18177 + _ACEOF
18178 +
18179 +
18180 +- echo "$as_me:$LINENO: checking for short" >&5
18181 +-echo $ECHO_N "checking for short... $ECHO_C" >&6
18182 ++ { echo "$as_me:$LINENO: checking for short" >&5
18183 ++echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18184 + if test "${ac_cv_type_short+set}" = set; then
18185 + echo $ECHO_N "(cached) $ECHO_C" >&6
18186 + else
18187 +@@ -15728,36 +18635,49 @@
18188 + cat >>conftest.$ac_ext <<_ACEOF
18189 + /* end confdefs.h. */
18190 + $ac_includes_default
18191 ++typedef short ac__type_new_;
18192 + int
18193 + main ()
18194 + {
18195 +-if ((short *) 0)
18196 ++if ((ac__type_new_ *) 0)
18197 + return 0;
18198 +-if (sizeof (short))
18199 ++if (sizeof (ac__type_new_))
18200 + return 0;
18201 + ;
18202 + return 0;
18203 + }
18204 + _ACEOF
18205 + rm -f conftest.$ac_objext
18206 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18207 +- (eval $ac_compile) 2>conftest.er1
18208 ++if { (ac_try="$ac_compile"
18209 ++case "(($ac_try" in
18210 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18211 ++ *) ac_try_echo=$ac_try;;
18212 ++esac
18213 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18214 ++ (eval "$ac_compile") 2>conftest.er1
18215 + ac_status=$?
18216 + grep -v '^ *+' conftest.er1 >conftest.err
18217 + rm -f conftest.er1
18218 + cat conftest.err >&5
18219 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 + (exit $ac_status); } &&
18221 +- { ac_try='test -z "$ac_cxx_werror_flag"
18222 +- || test ! -s conftest.err'
18223 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18224 +- (eval $ac_try) 2>&5
18225 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18226 ++ { (case "(($ac_try" in
18227 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18228 ++ *) ac_try_echo=$ac_try;;
18229 ++esac
18230 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18231 ++ (eval "$ac_try") 2>&5
18232 + ac_status=$?
18233 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18234 + (exit $ac_status); }; } &&
18235 + { ac_try='test -s conftest.$ac_objext'
18236 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18237 +- (eval $ac_try) 2>&5
18238 ++ { (case "(($ac_try" in
18239 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18240 ++ *) ac_try_echo=$ac_try;;
18241 ++esac
18242 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18243 ++ (eval "$ac_try") 2>&5
18244 + ac_status=$?
18245 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 + (exit $ac_status); }; }; then
18247 +@@ -15768,18 +18688,19 @@
18248 +
18249 + ac_cv_type_short=no
18250 + fi
18251 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18252 ++
18253 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18254 + fi
18255 +-echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18256 +-echo "${ECHO_T}$ac_cv_type_short" >&6
18257 ++{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18258 ++echo "${ECHO_T}$ac_cv_type_short" >&6; }
18259 +
18260 +-echo "$as_me:$LINENO: checking size of short" >&5
18261 +-echo $ECHO_N "checking size of short... $ECHO_C" >&6
18262 ++{ echo "$as_me:$LINENO: checking size of short" >&5
18263 ++echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18264 + if test "${ac_cv_sizeof_short+set}" = set; then
18265 + echo $ECHO_N "(cached) $ECHO_C" >&6
18266 + else
18267 + if test "$ac_cv_type_short" = yes; then
18268 +- # The cast to unsigned long works around a bug in the HP C Compiler
18269 ++ # The cast to long int works around a bug in the HP C Compiler
18270 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18271 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18272 + # This bug is HP SR number 8606223364.
18273 +@@ -15792,10 +18713,11 @@
18274 + cat >>conftest.$ac_ext <<_ACEOF
18275 + /* end confdefs.h. */
18276 + $ac_includes_default
18277 ++ typedef short ac__type_sizeof_;
18278 + int
18279 + main ()
18280 + {
18281 +-static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18282 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18283 + test_array [0] = 0
18284 +
18285 + ;
18286 +@@ -15803,24 +18725,36 @@
18287 + }
18288 + _ACEOF
18289 + rm -f conftest.$ac_objext
18290 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18291 +- (eval $ac_compile) 2>conftest.er1
18292 ++if { (ac_try="$ac_compile"
18293 ++case "(($ac_try" in
18294 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18295 ++ *) ac_try_echo=$ac_try;;
18296 ++esac
18297 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18298 ++ (eval "$ac_compile") 2>conftest.er1
18299 + ac_status=$?
18300 + grep -v '^ *+' conftest.er1 >conftest.err
18301 + rm -f conftest.er1
18302 + cat conftest.err >&5
18303 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18304 + (exit $ac_status); } &&
18305 +- { ac_try='test -z "$ac_cxx_werror_flag"
18306 +- || test ! -s conftest.err'
18307 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18308 +- (eval $ac_try) 2>&5
18309 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18310 ++ { (case "(($ac_try" in
18311 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18312 ++ *) ac_try_echo=$ac_try;;
18313 ++esac
18314 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18315 ++ (eval "$ac_try") 2>&5
18316 + ac_status=$?
18317 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 + (exit $ac_status); }; } &&
18319 + { ac_try='test -s conftest.$ac_objext'
18320 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18321 +- (eval $ac_try) 2>&5
18322 ++ { (case "(($ac_try" in
18323 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18324 ++ *) ac_try_echo=$ac_try;;
18325 ++esac
18326 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18327 ++ (eval "$ac_try") 2>&5
18328 + ac_status=$?
18329 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 + (exit $ac_status); }; }; then
18331 +@@ -15833,10 +18767,11 @@
18332 + cat >>conftest.$ac_ext <<_ACEOF
18333 + /* end confdefs.h. */
18334 + $ac_includes_default
18335 ++ typedef short ac__type_sizeof_;
18336 + int
18337 + main ()
18338 + {
18339 +-static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18340 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18341 + test_array [0] = 0
18342 +
18343 + ;
18344 +@@ -15844,24 +18779,36 @@
18345 + }
18346 + _ACEOF
18347 + rm -f conftest.$ac_objext
18348 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18349 +- (eval $ac_compile) 2>conftest.er1
18350 ++if { (ac_try="$ac_compile"
18351 ++case "(($ac_try" in
18352 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18353 ++ *) ac_try_echo=$ac_try;;
18354 ++esac
18355 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18356 ++ (eval "$ac_compile") 2>conftest.er1
18357 + ac_status=$?
18358 + grep -v '^ *+' conftest.er1 >conftest.err
18359 + rm -f conftest.er1
18360 + cat conftest.err >&5
18361 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18362 + (exit $ac_status); } &&
18363 +- { ac_try='test -z "$ac_cxx_werror_flag"
18364 +- || test ! -s conftest.err'
18365 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18366 +- (eval $ac_try) 2>&5
18367 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18368 ++ { (case "(($ac_try" in
18369 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18370 ++ *) ac_try_echo=$ac_try;;
18371 ++esac
18372 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18373 ++ (eval "$ac_try") 2>&5
18374 + ac_status=$?
18375 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18376 + (exit $ac_status); }; } &&
18377 + { ac_try='test -s conftest.$ac_objext'
18378 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18379 +- (eval $ac_try) 2>&5
18380 ++ { (case "(($ac_try" in
18381 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18382 ++ *) ac_try_echo=$ac_try;;
18383 ++esac
18384 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18385 ++ (eval "$ac_try") 2>&5
18386 + ac_status=$?
18387 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18388 + (exit $ac_status); }; }; then
18389 +@@ -15877,7 +18824,8 @@
18390 + fi
18391 + ac_mid=`expr 2 '*' $ac_mid + 1`
18392 + fi
18393 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18394 ++
18395 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18396 + done
18397 + else
18398 + echo "$as_me: failed program was:" >&5
18399 +@@ -15890,10 +18838,11 @@
18400 + cat >>conftest.$ac_ext <<_ACEOF
18401 + /* end confdefs.h. */
18402 + $ac_includes_default
18403 ++ typedef short ac__type_sizeof_;
18404 + int
18405 + main ()
18406 + {
18407 +-static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18408 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18409 + test_array [0] = 0
18410 +
18411 + ;
18412 +@@ -15901,24 +18850,36 @@
18413 + }
18414 + _ACEOF
18415 + rm -f conftest.$ac_objext
18416 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18417 +- (eval $ac_compile) 2>conftest.er1
18418 ++if { (ac_try="$ac_compile"
18419 ++case "(($ac_try" in
18420 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18421 ++ *) ac_try_echo=$ac_try;;
18422 ++esac
18423 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18424 ++ (eval "$ac_compile") 2>conftest.er1
18425 + ac_status=$?
18426 + grep -v '^ *+' conftest.er1 >conftest.err
18427 + rm -f conftest.er1
18428 + cat conftest.err >&5
18429 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 + (exit $ac_status); } &&
18431 +- { ac_try='test -z "$ac_cxx_werror_flag"
18432 +- || test ! -s conftest.err'
18433 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18434 +- (eval $ac_try) 2>&5
18435 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18436 ++ { (case "(($ac_try" in
18437 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18438 ++ *) ac_try_echo=$ac_try;;
18439 ++esac
18440 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18441 ++ (eval "$ac_try") 2>&5
18442 + ac_status=$?
18443 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 + (exit $ac_status); }; } &&
18445 + { ac_try='test -s conftest.$ac_objext'
18446 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18447 +- (eval $ac_try) 2>&5
18448 ++ { (case "(($ac_try" in
18449 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18450 ++ *) ac_try_echo=$ac_try;;
18451 ++esac
18452 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18453 ++ (eval "$ac_try") 2>&5
18454 + ac_status=$?
18455 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 + (exit $ac_status); }; }; then
18457 +@@ -15931,10 +18892,11 @@
18458 + cat >>conftest.$ac_ext <<_ACEOF
18459 + /* end confdefs.h. */
18460 + $ac_includes_default
18461 ++ typedef short ac__type_sizeof_;
18462 + int
18463 + main ()
18464 + {
18465 +-static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18466 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18467 + test_array [0] = 0
18468 +
18469 + ;
18470 +@@ -15942,24 +18904,36 @@
18471 + }
18472 + _ACEOF
18473 + rm -f conftest.$ac_objext
18474 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18475 +- (eval $ac_compile) 2>conftest.er1
18476 ++if { (ac_try="$ac_compile"
18477 ++case "(($ac_try" in
18478 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18479 ++ *) ac_try_echo=$ac_try;;
18480 ++esac
18481 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18482 ++ (eval "$ac_compile") 2>conftest.er1
18483 + ac_status=$?
18484 + grep -v '^ *+' conftest.er1 >conftest.err
18485 + rm -f conftest.er1
18486 + cat conftest.err >&5
18487 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 + (exit $ac_status); } &&
18489 +- { ac_try='test -z "$ac_cxx_werror_flag"
18490 +- || test ! -s conftest.err'
18491 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18492 +- (eval $ac_try) 2>&5
18493 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18494 ++ { (case "(($ac_try" in
18495 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18496 ++ *) ac_try_echo=$ac_try;;
18497 ++esac
18498 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18499 ++ (eval "$ac_try") 2>&5
18500 + ac_status=$?
18501 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 + (exit $ac_status); }; } &&
18503 + { ac_try='test -s conftest.$ac_objext'
18504 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18505 +- (eval $ac_try) 2>&5
18506 ++ { (case "(($ac_try" in
18507 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18508 ++ *) ac_try_echo=$ac_try;;
18509 ++esac
18510 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18511 ++ (eval "$ac_try") 2>&5
18512 + ac_status=$?
18513 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18514 + (exit $ac_status); }; }; then
18515 +@@ -15975,7 +18949,8 @@
18516 + fi
18517 + ac_mid=`expr 2 '*' $ac_mid`
18518 + fi
18519 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18520 ++
18521 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18522 + done
18523 + else
18524 + echo "$as_me: failed program was:" >&5
18525 +@@ -15983,9 +18958,11 @@
18526 +
18527 + ac_lo= ac_hi=
18528 + fi
18529 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18530 ++
18531 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18532 + fi
18533 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18534 ++
18535 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18536 + # Binary search between lo and hi bounds.
18537 + while test "x$ac_lo" != "x$ac_hi"; do
18538 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18539 +@@ -15996,10 +18973,11 @@
18540 + cat >>conftest.$ac_ext <<_ACEOF
18541 + /* end confdefs.h. */
18542 + $ac_includes_default
18543 ++ typedef short ac__type_sizeof_;
18544 + int
18545 + main ()
18546 + {
18547 +-static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18548 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18549 + test_array [0] = 0
18550 +
18551 + ;
18552 +@@ -16007,24 +18985,36 @@
18553 + }
18554 + _ACEOF
18555 + rm -f conftest.$ac_objext
18556 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18557 +- (eval $ac_compile) 2>conftest.er1
18558 ++if { (ac_try="$ac_compile"
18559 ++case "(($ac_try" in
18560 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18561 ++ *) ac_try_echo=$ac_try;;
18562 ++esac
18563 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18564 ++ (eval "$ac_compile") 2>conftest.er1
18565 + ac_status=$?
18566 + grep -v '^ *+' conftest.er1 >conftest.err
18567 + rm -f conftest.er1
18568 + cat conftest.err >&5
18569 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 + (exit $ac_status); } &&
18571 +- { ac_try='test -z "$ac_cxx_werror_flag"
18572 +- || test ! -s conftest.err'
18573 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18574 +- (eval $ac_try) 2>&5
18575 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18576 ++ { (case "(($ac_try" in
18577 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18578 ++ *) ac_try_echo=$ac_try;;
18579 ++esac
18580 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18581 ++ (eval "$ac_try") 2>&5
18582 + ac_status=$?
18583 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584 + (exit $ac_status); }; } &&
18585 + { ac_try='test -s conftest.$ac_objext'
18586 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18587 +- (eval $ac_try) 2>&5
18588 ++ { (case "(($ac_try" in
18589 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18590 ++ *) ac_try_echo=$ac_try;;
18591 ++esac
18592 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18593 ++ (eval "$ac_try") 2>&5
18594 + ac_status=$?
18595 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 + (exit $ac_status); }; }; then
18597 +@@ -16035,24 +19025,18 @@
18598 +
18599 + ac_lo=`expr '(' $ac_mid ')' + 1`
18600 + fi
18601 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18602 ++
18603 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18604 + done
18605 + case $ac_lo in
18606 + ?*) ac_cv_sizeof_short=$ac_lo;;
18607 +-'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18608 ++'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18609 + See \`config.log' for more details." >&5
18610 +-echo "$as_me: error: cannot compute sizeof (short), 77
18611 ++echo "$as_me: error: cannot compute sizeof (short)
18612 + See \`config.log' for more details." >&2;}
18613 +- { (exit 1); exit 1; }; } ;;
18614 ++ { (exit 77); exit 77; }; } ;;
18615 + esac
18616 + else
18617 +- if test "$cross_compiling" = yes; then
18618 +- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18619 +-See \`config.log' for more details." >&5
18620 +-echo "$as_me: error: cannot run test program while cross compiling
18621 +-See \`config.log' for more details." >&2;}
18622 +- { (exit 1); exit 1; }; }
18623 +-else
18624 + cat >conftest.$ac_ext <<_ACEOF
18625 + /* confdefs.h. */
18626 + _ACEOF
18627 +@@ -16060,8 +19044,9 @@
18628 + cat >>conftest.$ac_ext <<_ACEOF
18629 + /* end confdefs.h. */
18630 + $ac_includes_default
18631 +-long longval () { return (long) (sizeof (short)); }
18632 +-unsigned long ulongval () { return (long) (sizeof (short)); }
18633 ++ typedef short ac__type_sizeof_;
18634 ++static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18635 ++static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18636 + #include <stdio.h>
18637 + #include <stdlib.h>
18638 + int
18639 +@@ -16070,35 +19055,44 @@
18640 +
18641 + FILE *f = fopen ("conftest.val", "w");
18642 + if (! f)
18643 +- exit (1);
18644 +- if (((long) (sizeof (short))) < 0)
18645 ++ return 1;
18646 ++ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18647 + {
18648 +- long i = longval ();
18649 +- if (i != ((long) (sizeof (short))))
18650 +- exit (1);
18651 ++ long int i = longval ();
18652 ++ if (i != ((long int) (sizeof (ac__type_sizeof_))))
18653 ++ return 1;
18654 + fprintf (f, "%ld\n", i);
18655 + }
18656 + else
18657 + {
18658 +- unsigned long i = ulongval ();
18659 +- if (i != ((long) (sizeof (short))))
18660 +- exit (1);
18661 ++ unsigned long int i = ulongval ();
18662 ++ if (i != ((long int) (sizeof (ac__type_sizeof_))))
18663 ++ return 1;
18664 + fprintf (f, "%lu\n", i);
18665 + }
18666 +- exit (ferror (f) || fclose (f) != 0);
18667 ++ return ferror (f) || fclose (f) != 0;
18668 +
18669 + ;
18670 + return 0;
18671 + }
18672 + _ACEOF
18673 + rm -f conftest$ac_exeext
18674 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18675 +- (eval $ac_link) 2>&5
18676 ++if { (ac_try="$ac_link"
18677 ++case "(($ac_try" in
18678 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18679 ++ *) ac_try_echo=$ac_try;;
18680 ++esac
18681 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18682 ++ (eval "$ac_link") 2>&5
18683 + ac_status=$?
18684 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18686 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18687 +- (eval $ac_try) 2>&5
18688 ++ { (case "(($ac_try" in
18689 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18690 ++ *) ac_try_echo=$ac_try;;
18691 ++esac
18692 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18693 ++ (eval "$ac_try") 2>&5
18694 + ac_status=$?
18695 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696 + (exit $ac_status); }; }; then
18697 +@@ -16109,29 +19103,28 @@
18698 + sed 's/^/| /' conftest.$ac_ext >&5
18699 +
18700 + ( exit $ac_status )
18701 +-{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18702 ++{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18703 + See \`config.log' for more details." >&5
18704 +-echo "$as_me: error: cannot compute sizeof (short), 77
18705 ++echo "$as_me: error: cannot compute sizeof (short)
18706 + See \`config.log' for more details." >&2;}
18707 +- { (exit 1); exit 1; }; }
18708 +-fi
18709 +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18710 ++ { (exit 77); exit 77; }; }
18711 + fi
18712 ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18713 + fi
18714 + rm -f conftest.val
18715 + else
18716 + ac_cv_sizeof_short=0
18717 + fi
18718 + fi
18719 +-echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18720 +-echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18721 ++{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18722 ++echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18723 + cat >>confdefs.h <<_ACEOF
18724 + #define SIZEOF_SHORT $ac_cv_sizeof_short
18725 + _ACEOF
18726 +
18727 +
18728 +- echo "$as_me:$LINENO: checking for void*" >&5
18729 +-echo $ECHO_N "checking for void*... $ECHO_C" >&6
18730 ++ { echo "$as_me:$LINENO: checking for void*" >&5
18731 ++echo $ECHO_N "checking for void*... $ECHO_C" >&6; }
18732 + if test "${ac_cv_type_voidp+set}" = set; then
18733 + echo $ECHO_N "(cached) $ECHO_C" >&6
18734 + else
18735 +@@ -16142,36 +19135,49 @@
18736 + cat >>conftest.$ac_ext <<_ACEOF
18737 + /* end confdefs.h. */
18738 + $ac_includes_default
18739 ++typedef void* ac__type_new_;
18740 + int
18741 + main ()
18742 + {
18743 +-if ((void* *) 0)
18744 ++if ((ac__type_new_ *) 0)
18745 + return 0;
18746 +-if (sizeof (void*))
18747 ++if (sizeof (ac__type_new_))
18748 + return 0;
18749 + ;
18750 + return 0;
18751 + }
18752 + _ACEOF
18753 + rm -f conftest.$ac_objext
18754 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18755 +- (eval $ac_compile) 2>conftest.er1
18756 ++if { (ac_try="$ac_compile"
18757 ++case "(($ac_try" in
18758 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18759 ++ *) ac_try_echo=$ac_try;;
18760 ++esac
18761 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18762 ++ (eval "$ac_compile") 2>conftest.er1
18763 + ac_status=$?
18764 + grep -v '^ *+' conftest.er1 >conftest.err
18765 + rm -f conftest.er1
18766 + cat conftest.err >&5
18767 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 + (exit $ac_status); } &&
18769 +- { ac_try='test -z "$ac_cxx_werror_flag"
18770 +- || test ! -s conftest.err'
18771 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18772 +- (eval $ac_try) 2>&5
18773 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18774 ++ { (case "(($ac_try" in
18775 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18776 ++ *) ac_try_echo=$ac_try;;
18777 ++esac
18778 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18779 ++ (eval "$ac_try") 2>&5
18780 + ac_status=$?
18781 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18782 + (exit $ac_status); }; } &&
18783 + { ac_try='test -s conftest.$ac_objext'
18784 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18785 +- (eval $ac_try) 2>&5
18786 ++ { (case "(($ac_try" in
18787 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18788 ++ *) ac_try_echo=$ac_try;;
18789 ++esac
18790 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18791 ++ (eval "$ac_try") 2>&5
18792 + ac_status=$?
18793 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794 + (exit $ac_status); }; }; then
18795 +@@ -16182,18 +19188,19 @@
18796 +
18797 + ac_cv_type_voidp=no
18798 + fi
18799 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18800 ++
18801 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18802 + fi
18803 +-echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
18804 +-echo "${ECHO_T}$ac_cv_type_voidp" >&6
18805 ++{ echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
18806 ++echo "${ECHO_T}$ac_cv_type_voidp" >&6; }
18807 +
18808 +-echo "$as_me:$LINENO: checking size of void*" >&5
18809 +-echo $ECHO_N "checking size of void*... $ECHO_C" >&6
18810 ++{ echo "$as_me:$LINENO: checking size of void*" >&5
18811 ++echo $ECHO_N "checking size of void*... $ECHO_C" >&6; }
18812 + if test "${ac_cv_sizeof_voidp+set}" = set; then
18813 + echo $ECHO_N "(cached) $ECHO_C" >&6
18814 + else
18815 + if test "$ac_cv_type_voidp" = yes; then
18816 +- # The cast to unsigned long works around a bug in the HP C Compiler
18817 ++ # The cast to long int works around a bug in the HP C Compiler
18818 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18819 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18820 + # This bug is HP SR number 8606223364.
18821 +@@ -16206,10 +19213,11 @@
18822 + cat >>conftest.$ac_ext <<_ACEOF
18823 + /* end confdefs.h. */
18824 + $ac_includes_default
18825 ++ typedef void* ac__type_sizeof_;
18826 + int
18827 + main ()
18828 + {
18829 +-static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
18830 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18831 + test_array [0] = 0
18832 +
18833 + ;
18834 +@@ -16217,24 +19225,36 @@
18835 + }
18836 + _ACEOF
18837 + rm -f conftest.$ac_objext
18838 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18839 +- (eval $ac_compile) 2>conftest.er1
18840 ++if { (ac_try="$ac_compile"
18841 ++case "(($ac_try" in
18842 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18843 ++ *) ac_try_echo=$ac_try;;
18844 ++esac
18845 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18846 ++ (eval "$ac_compile") 2>conftest.er1
18847 + ac_status=$?
18848 + grep -v '^ *+' conftest.er1 >conftest.err
18849 + rm -f conftest.er1
18850 + cat conftest.err >&5
18851 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852 + (exit $ac_status); } &&
18853 +- { ac_try='test -z "$ac_cxx_werror_flag"
18854 +- || test ! -s conftest.err'
18855 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18856 +- (eval $ac_try) 2>&5
18857 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18858 ++ { (case "(($ac_try" in
18859 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18860 ++ *) ac_try_echo=$ac_try;;
18861 ++esac
18862 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18863 ++ (eval "$ac_try") 2>&5
18864 + ac_status=$?
18865 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 + (exit $ac_status); }; } &&
18867 + { ac_try='test -s conftest.$ac_objext'
18868 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18869 +- (eval $ac_try) 2>&5
18870 ++ { (case "(($ac_try" in
18871 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18872 ++ *) ac_try_echo=$ac_try;;
18873 ++esac
18874 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18875 ++ (eval "$ac_try") 2>&5
18876 + ac_status=$?
18877 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18878 + (exit $ac_status); }; }; then
18879 +@@ -16247,10 +19267,11 @@
18880 + cat >>conftest.$ac_ext <<_ACEOF
18881 + /* end confdefs.h. */
18882 + $ac_includes_default
18883 ++ typedef void* ac__type_sizeof_;
18884 + int
18885 + main ()
18886 + {
18887 +-static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
18888 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18889 + test_array [0] = 0
18890 +
18891 + ;
18892 +@@ -16258,24 +19279,36 @@
18893 + }
18894 + _ACEOF
18895 + rm -f conftest.$ac_objext
18896 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18897 +- (eval $ac_compile) 2>conftest.er1
18898 ++if { (ac_try="$ac_compile"
18899 ++case "(($ac_try" in
18900 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18901 ++ *) ac_try_echo=$ac_try;;
18902 ++esac
18903 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18904 ++ (eval "$ac_compile") 2>conftest.er1
18905 + ac_status=$?
18906 + grep -v '^ *+' conftest.er1 >conftest.err
18907 + rm -f conftest.er1
18908 + cat conftest.err >&5
18909 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18910 + (exit $ac_status); } &&
18911 +- { ac_try='test -z "$ac_cxx_werror_flag"
18912 +- || test ! -s conftest.err'
18913 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18914 +- (eval $ac_try) 2>&5
18915 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18916 ++ { (case "(($ac_try" in
18917 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18918 ++ *) ac_try_echo=$ac_try;;
18919 ++esac
18920 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18921 ++ (eval "$ac_try") 2>&5
18922 + ac_status=$?
18923 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18924 + (exit $ac_status); }; } &&
18925 + { ac_try='test -s conftest.$ac_objext'
18926 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18927 +- (eval $ac_try) 2>&5
18928 ++ { (case "(($ac_try" in
18929 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18930 ++ *) ac_try_echo=$ac_try;;
18931 ++esac
18932 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18933 ++ (eval "$ac_try") 2>&5
18934 + ac_status=$?
18935 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 + (exit $ac_status); }; }; then
18937 +@@ -16291,7 +19324,8 @@
18938 + fi
18939 + ac_mid=`expr 2 '*' $ac_mid + 1`
18940 + fi
18941 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18942 ++
18943 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18944 + done
18945 + else
18946 + echo "$as_me: failed program was:" >&5
18947 +@@ -16304,10 +19338,11 @@
18948 + cat >>conftest.$ac_ext <<_ACEOF
18949 + /* end confdefs.h. */
18950 + $ac_includes_default
18951 ++ typedef void* ac__type_sizeof_;
18952 + int
18953 + main ()
18954 + {
18955 +-static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
18956 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18957 + test_array [0] = 0
18958 +
18959 + ;
18960 +@@ -16315,24 +19350,36 @@
18961 + }
18962 + _ACEOF
18963 + rm -f conftest.$ac_objext
18964 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18965 +- (eval $ac_compile) 2>conftest.er1
18966 ++if { (ac_try="$ac_compile"
18967 ++case "(($ac_try" in
18968 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18969 ++ *) ac_try_echo=$ac_try;;
18970 ++esac
18971 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18972 ++ (eval "$ac_compile") 2>conftest.er1
18973 + ac_status=$?
18974 + grep -v '^ *+' conftest.er1 >conftest.err
18975 + rm -f conftest.er1
18976 + cat conftest.err >&5
18977 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978 + (exit $ac_status); } &&
18979 +- { ac_try='test -z "$ac_cxx_werror_flag"
18980 +- || test ! -s conftest.err'
18981 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18982 +- (eval $ac_try) 2>&5
18983 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18984 ++ { (case "(($ac_try" in
18985 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18986 ++ *) ac_try_echo=$ac_try;;
18987 ++esac
18988 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18989 ++ (eval "$ac_try") 2>&5
18990 + ac_status=$?
18991 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 + (exit $ac_status); }; } &&
18993 + { ac_try='test -s conftest.$ac_objext'
18994 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18995 +- (eval $ac_try) 2>&5
18996 ++ { (case "(($ac_try" in
18997 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18998 ++ *) ac_try_echo=$ac_try;;
18999 ++esac
19000 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19001 ++ (eval "$ac_try") 2>&5
19002 + ac_status=$?
19003 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19004 + (exit $ac_status); }; }; then
19005 +@@ -16345,10 +19392,11 @@
19006 + cat >>conftest.$ac_ext <<_ACEOF
19007 + /* end confdefs.h. */
19008 + $ac_includes_default
19009 ++ typedef void* ac__type_sizeof_;
19010 + int
19011 + main ()
19012 + {
19013 +-static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
19014 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19015 + test_array [0] = 0
19016 +
19017 + ;
19018 +@@ -16356,24 +19404,36 @@
19019 + }
19020 + _ACEOF
19021 + rm -f conftest.$ac_objext
19022 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19023 +- (eval $ac_compile) 2>conftest.er1
19024 ++if { (ac_try="$ac_compile"
19025 ++case "(($ac_try" in
19026 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19027 ++ *) ac_try_echo=$ac_try;;
19028 ++esac
19029 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19030 ++ (eval "$ac_compile") 2>conftest.er1
19031 + ac_status=$?
19032 + grep -v '^ *+' conftest.er1 >conftest.err
19033 + rm -f conftest.er1
19034 + cat conftest.err >&5
19035 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 + (exit $ac_status); } &&
19037 +- { ac_try='test -z "$ac_cxx_werror_flag"
19038 +- || test ! -s conftest.err'
19039 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19040 +- (eval $ac_try) 2>&5
19041 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19042 ++ { (case "(($ac_try" in
19043 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19044 ++ *) ac_try_echo=$ac_try;;
19045 ++esac
19046 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19047 ++ (eval "$ac_try") 2>&5
19048 + ac_status=$?
19049 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 + (exit $ac_status); }; } &&
19051 + { ac_try='test -s conftest.$ac_objext'
19052 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19053 +- (eval $ac_try) 2>&5
19054 ++ { (case "(($ac_try" in
19055 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19056 ++ *) ac_try_echo=$ac_try;;
19057 ++esac
19058 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19059 ++ (eval "$ac_try") 2>&5
19060 + ac_status=$?
19061 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19062 + (exit $ac_status); }; }; then
19063 +@@ -16389,7 +19449,8 @@
19064 + fi
19065 + ac_mid=`expr 2 '*' $ac_mid`
19066 + fi
19067 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19068 ++
19069 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19070 + done
19071 + else
19072 + echo "$as_me: failed program was:" >&5
19073 +@@ -16397,9 +19458,11 @@
19074 +
19075 + ac_lo= ac_hi=
19076 + fi
19077 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19078 ++
19079 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19080 + fi
19081 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19082 ++
19083 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19084 + # Binary search between lo and hi bounds.
19085 + while test "x$ac_lo" != "x$ac_hi"; do
19086 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19087 +@@ -16410,10 +19473,11 @@
19088 + cat >>conftest.$ac_ext <<_ACEOF
19089 + /* end confdefs.h. */
19090 + $ac_includes_default
19091 ++ typedef void* ac__type_sizeof_;
19092 + int
19093 + main ()
19094 + {
19095 +-static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
19096 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19097 + test_array [0] = 0
19098 +
19099 + ;
19100 +@@ -16421,24 +19485,36 @@
19101 + }
19102 + _ACEOF
19103 + rm -f conftest.$ac_objext
19104 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19105 +- (eval $ac_compile) 2>conftest.er1
19106 ++if { (ac_try="$ac_compile"
19107 ++case "(($ac_try" in
19108 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19109 ++ *) ac_try_echo=$ac_try;;
19110 ++esac
19111 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19112 ++ (eval "$ac_compile") 2>conftest.er1
19113 + ac_status=$?
19114 + grep -v '^ *+' conftest.er1 >conftest.err
19115 + rm -f conftest.er1
19116 + cat conftest.err >&5
19117 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 + (exit $ac_status); } &&
19119 +- { ac_try='test -z "$ac_cxx_werror_flag"
19120 +- || test ! -s conftest.err'
19121 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19122 +- (eval $ac_try) 2>&5
19123 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19124 ++ { (case "(($ac_try" in
19125 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19126 ++ *) ac_try_echo=$ac_try;;
19127 ++esac
19128 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19129 ++ (eval "$ac_try") 2>&5
19130 + ac_status=$?
19131 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 + (exit $ac_status); }; } &&
19133 + { ac_try='test -s conftest.$ac_objext'
19134 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19135 +- (eval $ac_try) 2>&5
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_try") 2>&5
19142 + ac_status=$?
19143 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 + (exit $ac_status); }; }; then
19145 +@@ -16449,24 +19525,18 @@
19146 +
19147 + ac_lo=`expr '(' $ac_mid ')' + 1`
19148 + fi
19149 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19150 ++
19151 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19152 + done
19153 + case $ac_lo in
19154 + ?*) ac_cv_sizeof_voidp=$ac_lo;;
19155 +-'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
19156 ++'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
19157 + See \`config.log' for more details." >&5
19158 +-echo "$as_me: error: cannot compute sizeof (void*), 77
19159 ++echo "$as_me: error: cannot compute sizeof (void*)
19160 + See \`config.log' for more details." >&2;}
19161 +- { (exit 1); exit 1; }; } ;;
19162 ++ { (exit 77); exit 77; }; } ;;
19163 + esac
19164 + else
19165 +- if test "$cross_compiling" = yes; then
19166 +- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19167 +-See \`config.log' for more details." >&5
19168 +-echo "$as_me: error: cannot run test program while cross compiling
19169 +-See \`config.log' for more details." >&2;}
19170 +- { (exit 1); exit 1; }; }
19171 +-else
19172 + cat >conftest.$ac_ext <<_ACEOF
19173 + /* confdefs.h. */
19174 + _ACEOF
19175 +@@ -16474,8 +19544,9 @@
19176 + cat >>conftest.$ac_ext <<_ACEOF
19177 + /* end confdefs.h. */
19178 + $ac_includes_default
19179 +-long longval () { return (long) (sizeof (void*)); }
19180 +-unsigned long ulongval () { return (long) (sizeof (void*)); }
19181 ++ typedef void* ac__type_sizeof_;
19182 ++static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19183 ++static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19184 + #include <stdio.h>
19185 + #include <stdlib.h>
19186 + int
19187 +@@ -16484,35 +19555,44 @@
19188 +
19189 + FILE *f = fopen ("conftest.val", "w");
19190 + if (! f)
19191 +- exit (1);
19192 +- if (((long) (sizeof (void*))) < 0)
19193 ++ return 1;
19194 ++ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19195 + {
19196 +- long i = longval ();
19197 +- if (i != ((long) (sizeof (void*))))
19198 +- exit (1);
19199 ++ long int i = longval ();
19200 ++ if (i != ((long int) (sizeof (ac__type_sizeof_))))
19201 ++ return 1;
19202 + fprintf (f, "%ld\n", i);
19203 + }
19204 + else
19205 + {
19206 +- unsigned long i = ulongval ();
19207 +- if (i != ((long) (sizeof (void*))))
19208 +- exit (1);
19209 ++ unsigned long int i = ulongval ();
19210 ++ if (i != ((long int) (sizeof (ac__type_sizeof_))))
19211 ++ return 1;
19212 + fprintf (f, "%lu\n", i);
19213 + }
19214 +- exit (ferror (f) || fclose (f) != 0);
19215 ++ return ferror (f) || fclose (f) != 0;
19216 +
19217 + ;
19218 + return 0;
19219 + }
19220 + _ACEOF
19221 + rm -f conftest$ac_exeext
19222 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19223 +- (eval $ac_link) 2>&5
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>&5
19231 + ac_status=$?
19232 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19233 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19234 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19235 +- (eval $ac_try) 2>&5
19236 ++ { (case "(($ac_try" in
19237 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19238 ++ *) ac_try_echo=$ac_try;;
19239 ++esac
19240 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19241 ++ (eval "$ac_try") 2>&5
19242 + ac_status=$?
19243 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 + (exit $ac_status); }; }; then
19245 +@@ -16523,29 +19603,28 @@
19246 + sed 's/^/| /' conftest.$ac_ext >&5
19247 +
19248 + ( exit $ac_status )
19249 +-{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
19250 ++{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
19251 + See \`config.log' for more details." >&5
19252 +-echo "$as_me: error: cannot compute sizeof (void*), 77
19253 ++echo "$as_me: error: cannot compute sizeof (void*)
19254 + See \`config.log' for more details." >&2;}
19255 +- { (exit 1); exit 1; }; }
19256 +-fi
19257 +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19258 ++ { (exit 77); exit 77; }; }
19259 + fi
19260 ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19261 + fi
19262 + rm -f conftest.val
19263 + else
19264 + ac_cv_sizeof_voidp=0
19265 + fi
19266 + fi
19267 +-echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
19268 +-echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
19269 ++{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
19270 ++echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6; }
19271 + cat >>confdefs.h <<_ACEOF
19272 + #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
19273 + _ACEOF
19274 +
19275 +
19276 +- echo "$as_me:$LINENO: checking for __int64" >&5
19277 +-echo $ECHO_N "checking for __int64... $ECHO_C" >&6
19278 ++ { echo "$as_me:$LINENO: checking for __int64" >&5
19279 ++echo $ECHO_N "checking for __int64... $ECHO_C" >&6; }
19280 + if test "${ac_cv_type___int64+set}" = set; then
19281 + echo $ECHO_N "(cached) $ECHO_C" >&6
19282 + else
19283 +@@ -16556,36 +19635,49 @@
19284 + cat >>conftest.$ac_ext <<_ACEOF
19285 + /* end confdefs.h. */
19286 + $ac_includes_default
19287 ++typedef __int64 ac__type_new_;
19288 + int
19289 + main ()
19290 + {
19291 +-if ((__int64 *) 0)
19292 ++if ((ac__type_new_ *) 0)
19293 + return 0;
19294 +-if (sizeof (__int64))
19295 ++if (sizeof (ac__type_new_))
19296 + return 0;
19297 + ;
19298 + return 0;
19299 + }
19300 + _ACEOF
19301 + rm -f conftest.$ac_objext
19302 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19303 +- (eval $ac_compile) 2>conftest.er1
19304 ++if { (ac_try="$ac_compile"
19305 ++case "(($ac_try" in
19306 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19307 ++ *) ac_try_echo=$ac_try;;
19308 ++esac
19309 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19310 ++ (eval "$ac_compile") 2>conftest.er1
19311 + ac_status=$?
19312 + grep -v '^ *+' conftest.er1 >conftest.err
19313 + rm -f conftest.er1
19314 + cat conftest.err >&5
19315 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19316 + (exit $ac_status); } &&
19317 +- { ac_try='test -z "$ac_cxx_werror_flag"
19318 +- || test ! -s conftest.err'
19319 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19320 +- (eval $ac_try) 2>&5
19321 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19322 ++ { (case "(($ac_try" in
19323 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19324 ++ *) ac_try_echo=$ac_try;;
19325 ++esac
19326 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19327 ++ (eval "$ac_try") 2>&5
19328 + ac_status=$?
19329 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19330 + (exit $ac_status); }; } &&
19331 + { ac_try='test -s conftest.$ac_objext'
19332 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19333 +- (eval $ac_try) 2>&5
19334 ++ { (case "(($ac_try" in
19335 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19336 ++ *) ac_try_echo=$ac_try;;
19337 ++esac
19338 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19339 ++ (eval "$ac_try") 2>&5
19340 + ac_status=$?
19341 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 + (exit $ac_status); }; }; then
19343 +@@ -16596,18 +19688,19 @@
19344 +
19345 + ac_cv_type___int64=no
19346 + fi
19347 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19348 ++
19349 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19350 + fi
19351 +-echo "$as_me:$LINENO: result: $ac_cv_type___int64" >&5
19352 +-echo "${ECHO_T}$ac_cv_type___int64" >&6
19353 ++{ echo "$as_me:$LINENO: result: $ac_cv_type___int64" >&5
19354 ++echo "${ECHO_T}$ac_cv_type___int64" >&6; }
19355 +
19356 +-echo "$as_me:$LINENO: checking size of __int64" >&5
19357 +-echo $ECHO_N "checking size of __int64... $ECHO_C" >&6
19358 ++{ echo "$as_me:$LINENO: checking size of __int64" >&5
19359 ++echo $ECHO_N "checking size of __int64... $ECHO_C" >&6; }
19360 + if test "${ac_cv_sizeof___int64+set}" = set; then
19361 + echo $ECHO_N "(cached) $ECHO_C" >&6
19362 + else
19363 + if test "$ac_cv_type___int64" = yes; then
19364 +- # The cast to unsigned long works around a bug in the HP C Compiler
19365 ++ # The cast to long int works around a bug in the HP C Compiler
19366 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19367 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19368 + # This bug is HP SR number 8606223364.
19369 +@@ -16620,10 +19713,11 @@
19370 + cat >>conftest.$ac_ext <<_ACEOF
19371 + /* end confdefs.h. */
19372 + $ac_includes_default
19373 ++ typedef __int64 ac__type_sizeof_;
19374 + int
19375 + main ()
19376 + {
19377 +-static int test_array [1 - 2 * !(((long) (sizeof (__int64))) >= 0)];
19378 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19379 + test_array [0] = 0
19380 +
19381 + ;
19382 +@@ -16631,24 +19725,36 @@
19383 + }
19384 + _ACEOF
19385 + rm -f conftest.$ac_objext
19386 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19387 +- (eval $ac_compile) 2>conftest.er1
19388 ++if { (ac_try="$ac_compile"
19389 ++case "(($ac_try" in
19390 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19391 ++ *) ac_try_echo=$ac_try;;
19392 ++esac
19393 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19394 ++ (eval "$ac_compile") 2>conftest.er1
19395 + ac_status=$?
19396 + grep -v '^ *+' conftest.er1 >conftest.err
19397 + rm -f conftest.er1
19398 + cat conftest.err >&5
19399 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19400 + (exit $ac_status); } &&
19401 +- { ac_try='test -z "$ac_cxx_werror_flag"
19402 +- || test ! -s conftest.err'
19403 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19404 +- (eval $ac_try) 2>&5
19405 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
19415 + { ac_try='test -s conftest.$ac_objext'
19416 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19417 +- (eval $ac_try) 2>&5
19418 ++ { (case "(($ac_try" in
19419 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19420 ++ *) ac_try_echo=$ac_try;;
19421 ++esac
19422 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19423 ++ (eval "$ac_try") 2>&5
19424 + ac_status=$?
19425 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19426 + (exit $ac_status); }; }; then
19427 +@@ -16661,10 +19767,11 @@
19428 + cat >>conftest.$ac_ext <<_ACEOF
19429 + /* end confdefs.h. */
19430 + $ac_includes_default
19431 ++ typedef __int64 ac__type_sizeof_;
19432 + int
19433 + main ()
19434 + {
19435 +-static int test_array [1 - 2 * !(((long) (sizeof (__int64))) <= $ac_mid)];
19436 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19437 + test_array [0] = 0
19438 +
19439 + ;
19440 +@@ -16672,24 +19779,36 @@
19441 + }
19442 + _ACEOF
19443 + rm -f conftest.$ac_objext
19444 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19445 +- (eval $ac_compile) 2>conftest.er1
19446 ++if { (ac_try="$ac_compile"
19447 ++case "(($ac_try" in
19448 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19449 ++ *) ac_try_echo=$ac_try;;
19450 ++esac
19451 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19452 ++ (eval "$ac_compile") 2>conftest.er1
19453 + ac_status=$?
19454 + grep -v '^ *+' conftest.er1 >conftest.err
19455 + rm -f conftest.er1
19456 + cat conftest.err >&5
19457 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 + (exit $ac_status); } &&
19459 +- { ac_try='test -z "$ac_cxx_werror_flag"
19460 +- || test ! -s conftest.err'
19461 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19462 +- (eval $ac_try) 2>&5
19463 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19464 ++ { (case "(($ac_try" in
19465 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19466 ++ *) ac_try_echo=$ac_try;;
19467 ++esac
19468 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19469 ++ (eval "$ac_try") 2>&5
19470 + ac_status=$?
19471 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 + (exit $ac_status); }; } &&
19473 + { ac_try='test -s conftest.$ac_objext'
19474 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19475 +- (eval $ac_try) 2>&5
19476 ++ { (case "(($ac_try" in
19477 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19478 ++ *) ac_try_echo=$ac_try;;
19479 ++esac
19480 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19481 ++ (eval "$ac_try") 2>&5
19482 + ac_status=$?
19483 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 + (exit $ac_status); }; }; then
19485 +@@ -16705,7 +19824,8 @@
19486 + fi
19487 + ac_mid=`expr 2 '*' $ac_mid + 1`
19488 + fi
19489 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19490 ++
19491 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19492 + done
19493 + else
19494 + echo "$as_me: failed program was:" >&5
19495 +@@ -16718,10 +19838,11 @@
19496 + cat >>conftest.$ac_ext <<_ACEOF
19497 + /* end confdefs.h. */
19498 + $ac_includes_default
19499 ++ typedef __int64 ac__type_sizeof_;
19500 + int
19501 + main ()
19502 + {
19503 +-static int test_array [1 - 2 * !(((long) (sizeof (__int64))) < 0)];
19504 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19505 + test_array [0] = 0
19506 +
19507 + ;
19508 +@@ -16729,24 +19850,36 @@
19509 + }
19510 + _ACEOF
19511 + rm -f conftest.$ac_objext
19512 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19513 +- (eval $ac_compile) 2>conftest.er1
19514 ++if { (ac_try="$ac_compile"
19515 ++case "(($ac_try" in
19516 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19517 ++ *) ac_try_echo=$ac_try;;
19518 ++esac
19519 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19520 ++ (eval "$ac_compile") 2>conftest.er1
19521 + ac_status=$?
19522 + grep -v '^ *+' conftest.er1 >conftest.err
19523 + rm -f conftest.er1
19524 + cat conftest.err >&5
19525 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19526 + (exit $ac_status); } &&
19527 +- { ac_try='test -z "$ac_cxx_werror_flag"
19528 +- || test ! -s conftest.err'
19529 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19530 +- (eval $ac_try) 2>&5
19531 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
19541 + { ac_try='test -s conftest.$ac_objext'
19542 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19543 +- (eval $ac_try) 2>&5
19544 ++ { (case "(($ac_try" in
19545 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19546 ++ *) ac_try_echo=$ac_try;;
19547 ++esac
19548 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19549 ++ (eval "$ac_try") 2>&5
19550 + ac_status=$?
19551 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19552 + (exit $ac_status); }; }; then
19553 +@@ -16759,10 +19892,11 @@
19554 + cat >>conftest.$ac_ext <<_ACEOF
19555 + /* end confdefs.h. */
19556 + $ac_includes_default
19557 ++ typedef __int64 ac__type_sizeof_;
19558 + int
19559 + main ()
19560 + {
19561 +-static int test_array [1 - 2 * !(((long) (sizeof (__int64))) >= $ac_mid)];
19562 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19563 + test_array [0] = 0
19564 +
19565 + ;
19566 +@@ -16770,24 +19904,36 @@
19567 + }
19568 + _ACEOF
19569 + rm -f conftest.$ac_objext
19570 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19571 +- (eval $ac_compile) 2>conftest.er1
19572 ++if { (ac_try="$ac_compile"
19573 ++case "(($ac_try" in
19574 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19575 ++ *) ac_try_echo=$ac_try;;
19576 ++esac
19577 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19578 ++ (eval "$ac_compile") 2>conftest.er1
19579 + ac_status=$?
19580 + grep -v '^ *+' conftest.er1 >conftest.err
19581 + rm -f conftest.er1
19582 + cat conftest.err >&5
19583 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19584 + (exit $ac_status); } &&
19585 +- { ac_try='test -z "$ac_cxx_werror_flag"
19586 +- || test ! -s conftest.err'
19587 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19588 +- (eval $ac_try) 2>&5
19589 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19590 ++ { (case "(($ac_try" in
19591 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19592 ++ *) ac_try_echo=$ac_try;;
19593 ++esac
19594 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19595 ++ (eval "$ac_try") 2>&5
19596 + ac_status=$?
19597 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19598 + (exit $ac_status); }; } &&
19599 + { ac_try='test -s conftest.$ac_objext'
19600 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19601 +- (eval $ac_try) 2>&5
19602 ++ { (case "(($ac_try" in
19603 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19604 ++ *) ac_try_echo=$ac_try;;
19605 ++esac
19606 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19607 ++ (eval "$ac_try") 2>&5
19608 + ac_status=$?
19609 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 + (exit $ac_status); }; }; then
19611 +@@ -16803,7 +19949,8 @@
19612 + fi
19613 + ac_mid=`expr 2 '*' $ac_mid`
19614 + fi
19615 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19616 ++
19617 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19618 + done
19619 + else
19620 + echo "$as_me: failed program was:" >&5
19621 +@@ -16811,9 +19958,11 @@
19622 +
19623 + ac_lo= ac_hi=
19624 + fi
19625 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19626 ++
19627 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19628 + fi
19629 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19630 ++
19631 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19632 + # Binary search between lo and hi bounds.
19633 + while test "x$ac_lo" != "x$ac_hi"; do
19634 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19635 +@@ -16824,10 +19973,11 @@
19636 + cat >>conftest.$ac_ext <<_ACEOF
19637 + /* end confdefs.h. */
19638 + $ac_includes_default
19639 ++ typedef __int64 ac__type_sizeof_;
19640 + int
19641 + main ()
19642 + {
19643 +-static int test_array [1 - 2 * !(((long) (sizeof (__int64))) <= $ac_mid)];
19644 ++static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19645 + test_array [0] = 0
19646 +
19647 + ;
19648 +@@ -16835,24 +19985,36 @@
19649 + }
19650 + _ACEOF
19651 + rm -f conftest.$ac_objext
19652 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19653 +- (eval $ac_compile) 2>conftest.er1
19654 ++if { (ac_try="$ac_compile"
19655 ++case "(($ac_try" in
19656 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19657 ++ *) ac_try_echo=$ac_try;;
19658 ++esac
19659 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19660 ++ (eval "$ac_compile") 2>conftest.er1
19661 + ac_status=$?
19662 + grep -v '^ *+' conftest.er1 >conftest.err
19663 + rm -f conftest.er1
19664 + cat conftest.err >&5
19665 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 + (exit $ac_status); } &&
19667 +- { ac_try='test -z "$ac_cxx_werror_flag"
19668 +- || test ! -s conftest.err'
19669 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19670 +- (eval $ac_try) 2>&5
19671 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19672 ++ { (case "(($ac_try" in
19673 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19674 ++ *) ac_try_echo=$ac_try;;
19675 ++esac
19676 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19677 ++ (eval "$ac_try") 2>&5
19678 + ac_status=$?
19679 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19680 + (exit $ac_status); }; } &&
19681 + { ac_try='test -s conftest.$ac_objext'
19682 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19683 +- (eval $ac_try) 2>&5
19684 ++ { (case "(($ac_try" in
19685 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19686 ++ *) ac_try_echo=$ac_try;;
19687 ++esac
19688 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19689 ++ (eval "$ac_try") 2>&5
19690 + ac_status=$?
19691 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19692 + (exit $ac_status); }; }; then
19693 +@@ -16863,24 +20025,18 @@
19694 +
19695 + ac_lo=`expr '(' $ac_mid ')' + 1`
19696 + fi
19697 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19698 ++
19699 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19700 + done
19701 + case $ac_lo in
19702 + ?*) ac_cv_sizeof___int64=$ac_lo;;
19703 +-'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64), 77
19704 ++'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64)
19705 + See \`config.log' for more details." >&5
19706 +-echo "$as_me: error: cannot compute sizeof (__int64), 77
19707 ++echo "$as_me: error: cannot compute sizeof (__int64)
19708 + See \`config.log' for more details." >&2;}
19709 +- { (exit 1); exit 1; }; } ;;
19710 ++ { (exit 77); exit 77; }; } ;;
19711 + esac
19712 + else
19713 +- if test "$cross_compiling" = yes; then
19714 +- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19715 +-See \`config.log' for more details." >&5
19716 +-echo "$as_me: error: cannot run test program while cross compiling
19717 +-See \`config.log' for more details." >&2;}
19718 +- { (exit 1); exit 1; }; }
19719 +-else
19720 + cat >conftest.$ac_ext <<_ACEOF
19721 + /* confdefs.h. */
19722 + _ACEOF
19723 +@@ -16888,8 +20044,9 @@
19724 + cat >>conftest.$ac_ext <<_ACEOF
19725 + /* end confdefs.h. */
19726 + $ac_includes_default
19727 +-long longval () { return (long) (sizeof (__int64)); }
19728 +-unsigned long ulongval () { return (long) (sizeof (__int64)); }
19729 ++ typedef __int64 ac__type_sizeof_;
19730 ++static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19731 ++static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19732 + #include <stdio.h>
19733 + #include <stdlib.h>
19734 + int
19735 +@@ -16898,35 +20055,44 @@
19736 +
19737 + FILE *f = fopen ("conftest.val", "w");
19738 + if (! f)
19739 +- exit (1);
19740 +- if (((long) (sizeof (__int64))) < 0)
19741 ++ return 1;
19742 ++ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19743 + {
19744 +- long i = longval ();
19745 +- if (i != ((long) (sizeof (__int64))))
19746 +- exit (1);
19747 ++ long int i = longval ();
19748 ++ if (i != ((long int) (sizeof (ac__type_sizeof_))))
19749 ++ return 1;
19750 + fprintf (f, "%ld\n", i);
19751 + }
19752 + else
19753 + {
19754 +- unsigned long i = ulongval ();
19755 +- if (i != ((long) (sizeof (__int64))))
19756 +- exit (1);
19757 ++ unsigned long int i = ulongval ();
19758 ++ if (i != ((long int) (sizeof (ac__type_sizeof_))))
19759 ++ return 1;
19760 + fprintf (f, "%lu\n", i);
19761 + }
19762 +- exit (ferror (f) || fclose (f) != 0);
19763 ++ return ferror (f) || fclose (f) != 0;
19764 +
19765 + ;
19766 + return 0;
19767 + }
19768 + _ACEOF
19769 + rm -f conftest$ac_exeext
19770 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19771 +- (eval $ac_link) 2>&5
19772 ++if { (ac_try="$ac_link"
19773 ++case "(($ac_try" in
19774 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19775 ++ *) ac_try_echo=$ac_try;;
19776 ++esac
19777 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19778 ++ (eval "$ac_link") 2>&5
19779 + ac_status=$?
19780 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19782 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19783 +- (eval $ac_try) 2>&5
19784 ++ { (case "(($ac_try" in
19785 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19786 ++ *) ac_try_echo=$ac_try;;
19787 ++esac
19788 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19789 ++ (eval "$ac_try") 2>&5
19790 + ac_status=$?
19791 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792 + (exit $ac_status); }; }; then
19793 +@@ -16937,30 +20103,29 @@
19794 + sed 's/^/| /' conftest.$ac_ext >&5
19795 +
19796 + ( exit $ac_status )
19797 +-{ { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64), 77
19798 ++{ { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64)
19799 + See \`config.log' for more details." >&5
19800 +-echo "$as_me: error: cannot compute sizeof (__int64), 77
19801 ++echo "$as_me: error: cannot compute sizeof (__int64)
19802 + See \`config.log' for more details." >&2;}
19803 +- { (exit 1); exit 1; }; }
19804 +-fi
19805 +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19806 ++ { (exit 77); exit 77; }; }
19807 + fi
19808 ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19809 + fi
19810 + rm -f conftest.val
19811 + else
19812 + ac_cv_sizeof___int64=0
19813 + fi
19814 + fi
19815 +-echo "$as_me:$LINENO: result: $ac_cv_sizeof___int64" >&5
19816 +-echo "${ECHO_T}$ac_cv_sizeof___int64" >&6
19817 ++{ echo "$as_me:$LINENO: result: $ac_cv_sizeof___int64" >&5
19818 ++echo "${ECHO_T}$ac_cv_sizeof___int64" >&6; }
19819 + cat >>confdefs.h <<_ACEOF
19820 + #define SIZEOF___INT64 $ac_cv_sizeof___int64
19821 + _ACEOF
19822 +
19823 +
19824 + fi
19825 +-echo "$as_me:$LINENO: checking for intptr_t" >&5
19826 +-echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
19827 ++{ echo "$as_me:$LINENO: checking for intptr_t" >&5
19828 ++echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6; }
19829 + if test "${ac_cv_type_intptr_t+set}" = set; then
19830 + echo $ECHO_N "(cached) $ECHO_C" >&6
19831 + else
19832 +@@ -16971,36 +20136,49 @@
19833 + cat >>conftest.$ac_ext <<_ACEOF
19834 + /* end confdefs.h. */
19835 + $ac_includes_default
19836 ++typedef intptr_t ac__type_new_;
19837 + int
19838 + main ()
19839 + {
19840 +-if ((intptr_t *) 0)
19841 ++if ((ac__type_new_ *) 0)
19842 + return 0;
19843 +-if (sizeof (intptr_t))
19844 ++if (sizeof (ac__type_new_))
19845 + return 0;
19846 + ;
19847 + return 0;
19848 + }
19849 + _ACEOF
19850 + rm -f conftest.$ac_objext
19851 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19852 +- (eval $ac_compile) 2>conftest.er1
19853 ++if { (ac_try="$ac_compile"
19854 ++case "(($ac_try" in
19855 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19856 ++ *) ac_try_echo=$ac_try;;
19857 ++esac
19858 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19859 ++ (eval "$ac_compile") 2>conftest.er1
19860 + ac_status=$?
19861 + grep -v '^ *+' conftest.er1 >conftest.err
19862 + rm -f conftest.er1
19863 + cat conftest.err >&5
19864 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19865 + (exit $ac_status); } &&
19866 +- { ac_try='test -z "$ac_cxx_werror_flag"
19867 +- || test ! -s conftest.err'
19868 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19869 +- (eval $ac_try) 2>&5
19870 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19871 ++ { (case "(($ac_try" in
19872 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19873 ++ *) ac_try_echo=$ac_try;;
19874 ++esac
19875 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19876 ++ (eval "$ac_try") 2>&5
19877 + ac_status=$?
19878 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19879 + (exit $ac_status); }; } &&
19880 + { ac_try='test -s conftest.$ac_objext'
19881 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19882 +- (eval $ac_try) 2>&5
19883 ++ { (case "(($ac_try" in
19884 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19885 ++ *) ac_try_echo=$ac_try;;
19886 ++esac
19887 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19888 ++ (eval "$ac_try") 2>&5
19889 + ac_status=$?
19890 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891 + (exit $ac_status); }; }; then
19892 +@@ -17011,10 +20189,11 @@
19893 +
19894 + ac_cv_type_intptr_t=no
19895 + fi
19896 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19897 ++
19898 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19899 + fi
19900 +-echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
19901 +-echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
19902 ++{ echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
19903 ++echo "${ECHO_T}$ac_cv_type_intptr_t" >&6; }
19904 + if test $ac_cv_type_intptr_t = yes; then
19905 +
19906 + cat >>confdefs.h <<_ACEOF
19907 +@@ -17023,8 +20202,8 @@
19908 +
19909 +
19910 + fi
19911 +-echo "$as_me:$LINENO: checking for uintptr_t" >&5
19912 +-echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
19913 ++{ echo "$as_me:$LINENO: checking for uintptr_t" >&5
19914 ++echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6; }
19915 + if test "${ac_cv_type_uintptr_t+set}" = set; then
19916 + echo $ECHO_N "(cached) $ECHO_C" >&6
19917 + else
19918 +@@ -17035,36 +20214,49 @@
19919 + cat >>conftest.$ac_ext <<_ACEOF
19920 + /* end confdefs.h. */
19921 + $ac_includes_default
19922 ++typedef uintptr_t ac__type_new_;
19923 + int
19924 + main ()
19925 + {
19926 +-if ((uintptr_t *) 0)
19927 ++if ((ac__type_new_ *) 0)
19928 + return 0;
19929 +-if (sizeof (uintptr_t))
19930 ++if (sizeof (ac__type_new_))
19931 + return 0;
19932 + ;
19933 + return 0;
19934 + }
19935 + _ACEOF
19936 + rm -f conftest.$ac_objext
19937 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19938 +- (eval $ac_compile) 2>conftest.er1
19939 ++if { (ac_try="$ac_compile"
19940 ++case "(($ac_try" in
19941 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19942 ++ *) ac_try_echo=$ac_try;;
19943 ++esac
19944 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19945 ++ (eval "$ac_compile") 2>conftest.er1
19946 + ac_status=$?
19947 + grep -v '^ *+' conftest.er1 >conftest.err
19948 + rm -f conftest.er1
19949 + cat conftest.err >&5
19950 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19951 + (exit $ac_status); } &&
19952 +- { ac_try='test -z "$ac_cxx_werror_flag"
19953 +- || test ! -s conftest.err'
19954 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19955 +- (eval $ac_try) 2>&5
19956 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19957 ++ { (case "(($ac_try" in
19958 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19959 ++ *) ac_try_echo=$ac_try;;
19960 ++esac
19961 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19962 ++ (eval "$ac_try") 2>&5
19963 + ac_status=$?
19964 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965 + (exit $ac_status); }; } &&
19966 + { ac_try='test -s conftest.$ac_objext'
19967 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19968 +- (eval $ac_try) 2>&5
19969 ++ { (case "(($ac_try" in
19970 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19971 ++ *) ac_try_echo=$ac_try;;
19972 ++esac
19973 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19974 ++ (eval "$ac_try") 2>&5
19975 + ac_status=$?
19976 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 + (exit $ac_status); }; }; then
19978 +@@ -17075,10 +20267,11 @@
19979 +
19980 + ac_cv_type_uintptr_t=no
19981 + fi
19982 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19983 ++
19984 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19985 + fi
19986 +-echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
19987 +-echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
19988 ++{ echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
19989 ++echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6; }
19990 + if test $ac_cv_type_uintptr_t = yes; then
19991 +
19992 + cat >>confdefs.h <<_ACEOF
19993 +@@ -17089,8 +20282,8 @@
19994 + fi
19995 +
19996 +
19997 +-echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5
19998 +-echo $ECHO_N "checking for struct sockaddr_in.sin_len... $ECHO_C" >&6
19999 ++{ echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5
20000 ++echo $ECHO_N "checking for struct sockaddr_in.sin_len... $ECHO_C" >&6; }
20001 + if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then
20002 + echo $ECHO_N "(cached) $ECHO_C" >&6
20003 + else
20004 +@@ -17114,24 +20307,36 @@
20005 + }
20006 + _ACEOF
20007 + rm -f conftest.$ac_objext
20008 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20009 +- (eval $ac_compile) 2>conftest.er1
20010 ++if { (ac_try="$ac_compile"
20011 ++case "(($ac_try" in
20012 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20013 ++ *) ac_try_echo=$ac_try;;
20014 ++esac
20015 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20016 ++ (eval "$ac_compile") 2>conftest.er1
20017 + ac_status=$?
20018 + grep -v '^ *+' conftest.er1 >conftest.err
20019 + rm -f conftest.er1
20020 + cat conftest.err >&5
20021 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20022 + (exit $ac_status); } &&
20023 +- { ac_try='test -z "$ac_cxx_werror_flag"
20024 +- || test ! -s conftest.err'
20025 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20026 +- (eval $ac_try) 2>&5
20027 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20028 ++ { (case "(($ac_try" in
20029 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20030 ++ *) ac_try_echo=$ac_try;;
20031 ++esac
20032 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20033 ++ (eval "$ac_try") 2>&5
20034 + ac_status=$?
20035 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 + (exit $ac_status); }; } &&
20037 + { ac_try='test -s conftest.$ac_objext'
20038 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20039 +- (eval $ac_try) 2>&5
20040 ++ { (case "(($ac_try" in
20041 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20042 ++ *) ac_try_echo=$ac_try;;
20043 ++esac
20044 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20045 ++ (eval "$ac_try") 2>&5
20046 + ac_status=$?
20047 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 + (exit $ac_status); }; }; then
20049 +@@ -17160,24 +20365,36 @@
20050 + }
20051 + _ACEOF
20052 + rm -f conftest.$ac_objext
20053 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20054 +- (eval $ac_compile) 2>conftest.er1
20055 ++if { (ac_try="$ac_compile"
20056 ++case "(($ac_try" in
20057 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20058 ++ *) ac_try_echo=$ac_try;;
20059 ++esac
20060 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20061 ++ (eval "$ac_compile") 2>conftest.er1
20062 + ac_status=$?
20063 + grep -v '^ *+' conftest.er1 >conftest.err
20064 + rm -f conftest.er1
20065 + cat conftest.err >&5
20066 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20067 + (exit $ac_status); } &&
20068 +- { ac_try='test -z "$ac_cxx_werror_flag"
20069 +- || test ! -s conftest.err'
20070 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20071 +- (eval $ac_try) 2>&5
20072 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20073 ++ { (case "(($ac_try" in
20074 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20075 ++ *) ac_try_echo=$ac_try;;
20076 ++esac
20077 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20078 ++ (eval "$ac_try") 2>&5
20079 + ac_status=$?
20080 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 + (exit $ac_status); }; } &&
20082 + { ac_try='test -s conftest.$ac_objext'
20083 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20084 +- (eval $ac_try) 2>&5
20085 ++ { (case "(($ac_try" in
20086 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20087 ++ *) ac_try_echo=$ac_try;;
20088 ++esac
20089 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20090 ++ (eval "$ac_try") 2>&5
20091 + ac_status=$?
20092 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20093 + (exit $ac_status); }; }; then
20094 +@@ -17188,12 +20405,14 @@
20095 +
20096 + ac_cv_member_struct_sockaddr_in_sin_len=no
20097 + fi
20098 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20099 ++
20100 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20101 + fi
20102 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20103 ++
20104 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20105 + fi
20106 +-echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5
20107 +-echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in_sin_len" >&6
20108 ++{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5
20109 ++echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in_sin_len" >&6; }
20110 + if test $ac_cv_member_struct_sockaddr_in_sin_len = yes; then
20111 +
20112 + cat >>confdefs.h <<\_ACEOF
20113 +@@ -17203,8 +20422,8 @@
20114 + fi
20115 +
20116 +
20117 +-echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
20118 +-echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
20119 ++{ echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
20120 ++echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
20121 + if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
20122 + echo $ECHO_N "(cached) $ECHO_C" >&6
20123 + else
20124 +@@ -17227,24 +20446,36 @@
20125 + }
20126 + _ACEOF
20127 + rm -f conftest.$ac_objext
20128 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20129 +- (eval $ac_compile) 2>conftest.er1
20130 ++if { (ac_try="$ac_compile"
20131 ++case "(($ac_try" in
20132 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20133 ++ *) ac_try_echo=$ac_try;;
20134 ++esac
20135 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20136 ++ (eval "$ac_compile") 2>conftest.er1
20137 + ac_status=$?
20138 + grep -v '^ *+' conftest.er1 >conftest.err
20139 + rm -f conftest.er1
20140 + cat conftest.err >&5
20141 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142 + (exit $ac_status); } &&
20143 +- { ac_try='test -z "$ac_cxx_werror_flag"
20144 +- || test ! -s conftest.err'
20145 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20146 +- (eval $ac_try) 2>&5
20147 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20148 ++ { (case "(($ac_try" in
20149 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20150 ++ *) ac_try_echo=$ac_try;;
20151 ++esac
20152 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20153 ++ (eval "$ac_try") 2>&5
20154 + ac_status=$?
20155 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20156 + (exit $ac_status); }; } &&
20157 + { ac_try='test -s conftest.$ac_objext'
20158 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20159 +- (eval $ac_try) 2>&5
20160 ++ { (case "(($ac_try" in
20161 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20162 ++ *) ac_try_echo=$ac_try;;
20163 ++esac
20164 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20165 ++ (eval "$ac_try") 2>&5
20166 + ac_status=$?
20167 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168 + (exit $ac_status); }; }; then
20169 +@@ -17272,24 +20503,36 @@
20170 + }
20171 + _ACEOF
20172 + rm -f conftest.$ac_objext
20173 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20174 +- (eval $ac_compile) 2>conftest.er1
20175 ++if { (ac_try="$ac_compile"
20176 ++case "(($ac_try" in
20177 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20178 ++ *) ac_try_echo=$ac_try;;
20179 ++esac
20180 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20181 ++ (eval "$ac_compile") 2>conftest.er1
20182 + ac_status=$?
20183 + grep -v '^ *+' conftest.er1 >conftest.err
20184 + rm -f conftest.er1
20185 + cat conftest.err >&5
20186 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 + (exit $ac_status); } &&
20188 +- { ac_try='test -z "$ac_cxx_werror_flag"
20189 +- || test ! -s conftest.err'
20190 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20191 +- (eval $ac_try) 2>&5
20192 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20193 ++ { (case "(($ac_try" in
20194 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20195 ++ *) ac_try_echo=$ac_try;;
20196 ++esac
20197 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20198 ++ (eval "$ac_try") 2>&5
20199 + ac_status=$?
20200 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201 + (exit $ac_status); }; } &&
20202 + { ac_try='test -s conftest.$ac_objext'
20203 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20204 +- (eval $ac_try) 2>&5
20205 ++ { (case "(($ac_try" in
20206 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20207 ++ *) ac_try_echo=$ac_try;;
20208 ++esac
20209 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20210 ++ (eval "$ac_try") 2>&5
20211 + ac_status=$?
20212 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 + (exit $ac_status); }; }; then
20214 +@@ -17300,12 +20543,14 @@
20215 +
20216 + ac_cv_member_struct_tm_tm_zone=no
20217 + fi
20218 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20219 ++
20220 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20221 + fi
20222 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20223 ++
20224 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20225 + fi
20226 +-echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
20227 +-echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
20228 ++{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
20229 ++echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
20230 + if test $ac_cv_member_struct_tm_tm_zone = yes; then
20231 +
20232 + cat >>confdefs.h <<_ACEOF
20233 +@@ -17314,8 +20559,8 @@
20234 +
20235 +
20236 + fi
20237 +-echo "$as_me:$LINENO: checking for struct tm.__tm_zone" >&5
20238 +-echo $ECHO_N "checking for struct tm.__tm_zone... $ECHO_C" >&6
20239 ++{ echo "$as_me:$LINENO: checking for struct tm.__tm_zone" >&5
20240 ++echo $ECHO_N "checking for struct tm.__tm_zone... $ECHO_C" >&6; }
20241 + if test "${ac_cv_member_struct_tm___tm_zone+set}" = set; then
20242 + echo $ECHO_N "(cached) $ECHO_C" >&6
20243 + else
20244 +@@ -17338,24 +20583,36 @@
20245 + }
20246 + _ACEOF
20247 + rm -f conftest.$ac_objext
20248 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20249 +- (eval $ac_compile) 2>conftest.er1
20250 ++if { (ac_try="$ac_compile"
20251 ++case "(($ac_try" in
20252 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20253 ++ *) ac_try_echo=$ac_try;;
20254 ++esac
20255 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20256 ++ (eval "$ac_compile") 2>conftest.er1
20257 + ac_status=$?
20258 + grep -v '^ *+' conftest.er1 >conftest.err
20259 + rm -f conftest.er1
20260 + cat conftest.err >&5
20261 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262 + (exit $ac_status); } &&
20263 +- { ac_try='test -z "$ac_cxx_werror_flag"
20264 +- || test ! -s conftest.err'
20265 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20266 +- (eval $ac_try) 2>&5
20267 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20268 ++ { (case "(($ac_try" in
20269 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20270 ++ *) ac_try_echo=$ac_try;;
20271 ++esac
20272 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20273 ++ (eval "$ac_try") 2>&5
20274 + ac_status=$?
20275 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 + (exit $ac_status); }; } &&
20277 + { ac_try='test -s conftest.$ac_objext'
20278 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20279 +- (eval $ac_try) 2>&5
20280 ++ { (case "(($ac_try" in
20281 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20282 ++ *) ac_try_echo=$ac_try;;
20283 ++esac
20284 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20285 ++ (eval "$ac_try") 2>&5
20286 + ac_status=$?
20287 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288 + (exit $ac_status); }; }; then
20289 +@@ -17383,24 +20640,36 @@
20290 + }
20291 + _ACEOF
20292 + rm -f conftest.$ac_objext
20293 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20294 +- (eval $ac_compile) 2>conftest.er1
20295 ++if { (ac_try="$ac_compile"
20296 ++case "(($ac_try" in
20297 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20298 ++ *) ac_try_echo=$ac_try;;
20299 ++esac
20300 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20301 ++ (eval "$ac_compile") 2>conftest.er1
20302 + ac_status=$?
20303 + grep -v '^ *+' conftest.er1 >conftest.err
20304 + rm -f conftest.er1
20305 + cat conftest.err >&5
20306 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20307 + (exit $ac_status); } &&
20308 +- { ac_try='test -z "$ac_cxx_werror_flag"
20309 +- || test ! -s conftest.err'
20310 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20311 +- (eval $ac_try) 2>&5
20312 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20313 ++ { (case "(($ac_try" in
20314 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20315 ++ *) ac_try_echo=$ac_try;;
20316 ++esac
20317 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20318 ++ (eval "$ac_try") 2>&5
20319 + ac_status=$?
20320 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321 + (exit $ac_status); }; } &&
20322 + { ac_try='test -s conftest.$ac_objext'
20323 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20324 +- (eval $ac_try) 2>&5
20325 ++ { (case "(($ac_try" in
20326 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20327 ++ *) ac_try_echo=$ac_try;;
20328 ++esac
20329 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20330 ++ (eval "$ac_try") 2>&5
20331 + ac_status=$?
20332 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 + (exit $ac_status); }; }; then
20334 +@@ -17411,12 +20680,14 @@
20335 +
20336 + ac_cv_member_struct_tm___tm_zone=no
20337 + fi
20338 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20339 ++
20340 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20341 + fi
20342 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20343 ++
20344 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20345 + fi
20346 +-echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm___tm_zone" >&5
20347 +-echo "${ECHO_T}$ac_cv_member_struct_tm___tm_zone" >&6
20348 ++{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm___tm_zone" >&5
20349 ++echo "${ECHO_T}$ac_cv_member_struct_tm___tm_zone" >&6; }
20350 + if test $ac_cv_member_struct_tm___tm_zone = yes; then
20351 +
20352 + cat >>confdefs.h <<_ACEOF
20353 +@@ -17428,8 +20699,8 @@
20354 +
20355 +
20356 +
20357 +-echo "$as_me:$LINENO: checking whether function prototypes can use throw(...)" >&5
20358 +-echo $ECHO_N "checking whether function prototypes can use throw(...)... $ECHO_C" >&6
20359 ++{ echo "$as_me:$LINENO: checking whether function prototypes can use throw(...)" >&5
20360 ++echo $ECHO_N "checking whether function prototypes can use throw(...)... $ECHO_C" >&6; }
20361 + if test "${ncbi_cv_cxx_throw_spec+set}" = set; then
20362 + echo $ECHO_N "(cached) $ECHO_C" >&6
20363 + else
20364 +@@ -17451,24 +20722,36 @@
20365 + }
20366 + _ACEOF
20367 + rm -f conftest.$ac_objext
20368 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20369 +- (eval $ac_compile) 2>conftest.er1
20370 ++if { (ac_try="$ac_compile"
20371 ++case "(($ac_try" in
20372 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20373 ++ *) ac_try_echo=$ac_try;;
20374 ++esac
20375 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20376 ++ (eval "$ac_compile") 2>conftest.er1
20377 + ac_status=$?
20378 + grep -v '^ *+' conftest.er1 >conftest.err
20379 + rm -f conftest.er1
20380 + cat conftest.err >&5
20381 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20382 + (exit $ac_status); } &&
20383 +- { ac_try='test -z "$ac_cxx_werror_flag"
20384 +- || test ! -s conftest.err'
20385 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20386 +- (eval $ac_try) 2>&5
20387 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20388 ++ { (case "(($ac_try" in
20389 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20390 ++ *) ac_try_echo=$ac_try;;
20391 ++esac
20392 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20393 ++ (eval "$ac_try") 2>&5
20394 + ac_status=$?
20395 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396 + (exit $ac_status); }; } &&
20397 + { ac_try='test -s conftest.$ac_objext'
20398 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20399 +- (eval $ac_try) 2>&5
20400 ++ { (case "(($ac_try" in
20401 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20402 ++ *) ac_try_echo=$ac_try;;
20403 ++esac
20404 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20405 ++ (eval "$ac_try") 2>&5
20406 + ac_status=$?
20407 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 + (exit $ac_status); }; }; then
20409 +@@ -17479,10 +20762,11 @@
20410 +
20411 + ncbi_cv_cxx_throw_spec=no
20412 + fi
20413 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20414 ++
20415 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20416 + fi
20417 +-echo "$as_me:$LINENO: result: $ncbi_cv_cxx_throw_spec" >&5
20418 +-echo "${ECHO_T}$ncbi_cv_cxx_throw_spec" >&6
20419 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_cxx_throw_spec" >&5
20420 ++echo "${ECHO_T}$ncbi_cv_cxx_throw_spec" >&6; }
20421 + if test "$ncbi_cv_cxx_throw_spec" = yes; then
20422 +
20423 + cat >>confdefs.h <<\_ACEOF
20424 +@@ -17492,8 +20776,8 @@
20425 + fi
20426 +
20427 +
20428 +-echo "$as_me:$LINENO: checking for obsolete string::compare() syntax" >&5
20429 +-echo $ECHO_N "checking for obsolete string::compare() syntax... $ECHO_C" >&6
20430 ++{ echo "$as_me:$LINENO: checking for obsolete string::compare() syntax" >&5
20431 ++echo $ECHO_N "checking for obsolete string::compare() syntax... $ECHO_C" >&6; }
20432 + if test "${ncbi_cv_func_string_compare_obsolete+set}" = set; then
20433 + echo $ECHO_N "(cached) $ECHO_C" >&6
20434 + else
20435 +@@ -17513,24 +20797,36 @@
20436 + }
20437 + _ACEOF
20438 + rm -f conftest.$ac_objext
20439 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20440 +- (eval $ac_compile) 2>conftest.er1
20441 ++if { (ac_try="$ac_compile"
20442 ++case "(($ac_try" in
20443 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20444 ++ *) ac_try_echo=$ac_try;;
20445 ++esac
20446 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20447 ++ (eval "$ac_compile") 2>conftest.er1
20448 + ac_status=$?
20449 + grep -v '^ *+' conftest.er1 >conftest.err
20450 + rm -f conftest.er1
20451 + cat conftest.err >&5
20452 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 + (exit $ac_status); } &&
20454 +- { ac_try='test -z "$ac_cxx_werror_flag"
20455 +- || test ! -s conftest.err'
20456 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20457 +- (eval $ac_try) 2>&5
20458 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20459 ++ { (case "(($ac_try" in
20460 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20461 ++ *) ac_try_echo=$ac_try;;
20462 ++esac
20463 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20464 ++ (eval "$ac_try") 2>&5
20465 + ac_status=$?
20466 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20467 + (exit $ac_status); }; } &&
20468 + { ac_try='test -s conftest.$ac_objext'
20469 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20470 +- (eval $ac_try) 2>&5
20471 ++ { (case "(($ac_try" in
20472 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20473 ++ *) ac_try_echo=$ac_try;;
20474 ++esac
20475 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20476 ++ (eval "$ac_try") 2>&5
20477 + ac_status=$?
20478 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479 + (exit $ac_status); }; }; then
20480 +@@ -17541,10 +20837,11 @@
20481 +
20482 + ncbi_cv_func_string_compare_obsolete=no
20483 + fi
20484 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20485 ++
20486 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20487 + fi
20488 +-echo "$as_me:$LINENO: result: $ncbi_cv_func_string_compare_obsolete" >&5
20489 +-echo "${ECHO_T}$ncbi_cv_func_string_compare_obsolete" >&6
20490 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_func_string_compare_obsolete" >&5
20491 ++echo "${ECHO_T}$ncbi_cv_func_string_compare_obsolete" >&6; }
20492 + if test "$ncbi_cv_func_string_compare_obsolete" = yes; then
20493 +
20494 + cat >>confdefs.h <<\_ACEOF
20495 +@@ -17554,8 +20851,8 @@
20496 + fi
20497 +
20498 +
20499 +-echo "$as_me:$LINENO: checking whether the auto_ptr template class works" >&5
20500 +-echo $ECHO_N "checking whether the auto_ptr template class works... $ECHO_C" >&6
20501 ++{ echo "$as_me:$LINENO: checking whether the auto_ptr template class works" >&5
20502 ++echo $ECHO_N "checking whether the auto_ptr template class works... $ECHO_C" >&6; }
20503 + if test "${ncbi_cv_type_auto_ptr_works+set}" = set; then
20504 + echo $ECHO_N "(cached) $ECHO_C" >&6
20505 + else
20506 +@@ -17575,24 +20872,36 @@
20507 + }
20508 + _ACEOF
20509 + rm -f conftest.$ac_objext
20510 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20511 +- (eval $ac_compile) 2>conftest.er1
20512 ++if { (ac_try="$ac_compile"
20513 ++case "(($ac_try" in
20514 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20515 ++ *) ac_try_echo=$ac_try;;
20516 ++esac
20517 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20518 ++ (eval "$ac_compile") 2>conftest.er1
20519 + ac_status=$?
20520 + grep -v '^ *+' conftest.er1 >conftest.err
20521 + rm -f conftest.er1
20522 + cat conftest.err >&5
20523 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20524 + (exit $ac_status); } &&
20525 +- { ac_try='test -z "$ac_cxx_werror_flag"
20526 +- || test ! -s conftest.err'
20527 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20528 +- (eval $ac_try) 2>&5
20529 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20530 ++ { (case "(($ac_try" in
20531 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20532 ++ *) ac_try_echo=$ac_try;;
20533 ++esac
20534 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20535 ++ (eval "$ac_try") 2>&5
20536 + ac_status=$?
20537 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20538 + (exit $ac_status); }; } &&
20539 + { ac_try='test -s conftest.$ac_objext'
20540 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20541 +- (eval $ac_try) 2>&5
20542 ++ { (case "(($ac_try" in
20543 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20544 ++ *) ac_try_echo=$ac_try;;
20545 ++esac
20546 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20547 ++ (eval "$ac_try") 2>&5
20548 + ac_status=$?
20549 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 + (exit $ac_status); }; }; then
20551 +@@ -17603,10 +20912,11 @@
20552 +
20553 + ncbi_cv_type_auto_ptr_works=no
20554 + fi
20555 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20556 ++
20557 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20558 + fi
20559 +-echo "$as_me:$LINENO: result: $ncbi_cv_type_auto_ptr_works" >&5
20560 +-echo "${ECHO_T}$ncbi_cv_type_auto_ptr_works" >&6
20561 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_type_auto_ptr_works" >&5
20562 ++echo "${ECHO_T}$ncbi_cv_type_auto_ptr_works" >&6; }
20563 + if test "$ncbi_cv_cxx_auto_ptr_works" = no; then
20564 +
20565 + cat >>confdefs.h <<\_ACEOF
20566 +@@ -17616,8 +20926,8 @@
20567 + fi
20568 +
20569 +
20570 +-echo "$as_me:$LINENO: checking for min/max templates" >&5
20571 +-echo $ECHO_N "checking for min/max templates... $ECHO_C" >&6
20572 ++{ echo "$as_me:$LINENO: checking for min/max templates" >&5
20573 ++echo $ECHO_N "checking for min/max templates... $ECHO_C" >&6; }
20574 + if test "${ncbi_cv_func_min_max+set}" = set; then
20575 + echo $ECHO_N "(cached) $ECHO_C" >&6
20576 + else
20577 +@@ -17645,24 +20955,36 @@
20578 + }
20579 + _ACEOF
20580 + rm -f conftest.$ac_objext
20581 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20582 +- (eval $ac_compile) 2>conftest.er1
20583 ++if { (ac_try="$ac_compile"
20584 ++case "(($ac_try" in
20585 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20586 ++ *) ac_try_echo=$ac_try;;
20587 ++esac
20588 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20589 ++ (eval "$ac_compile") 2>conftest.er1
20590 + ac_status=$?
20591 + grep -v '^ *+' conftest.er1 >conftest.err
20592 + rm -f conftest.er1
20593 + cat conftest.err >&5
20594 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20595 + (exit $ac_status); } &&
20596 +- { ac_try='test -z "$ac_cxx_werror_flag"
20597 +- || test ! -s conftest.err'
20598 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20599 +- (eval $ac_try) 2>&5
20600 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20601 ++ { (case "(($ac_try" in
20602 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20603 ++ *) ac_try_echo=$ac_try;;
20604 ++esac
20605 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20606 ++ (eval "$ac_try") 2>&5
20607 + ac_status=$?
20608 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 + (exit $ac_status); }; } &&
20610 + { ac_try='test -s conftest.$ac_objext'
20611 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20612 +- (eval $ac_try) 2>&5
20613 ++ { (case "(($ac_try" in
20614 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20615 ++ *) ac_try_echo=$ac_try;;
20616 ++esac
20617 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20618 ++ (eval "$ac_try") 2>&5
20619 + ac_status=$?
20620 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 + (exit $ac_status); }; }; then
20622 +@@ -17673,10 +20995,11 @@
20623 +
20624 + ncbi_cv_func_min_max=no
20625 + fi
20626 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20627 ++
20628 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20629 + fi
20630 +-echo "$as_me:$LINENO: result: $ncbi_cv_func_min_max" >&5
20631 +-echo "${ECHO_T}$ncbi_cv_func_min_max" >&6
20632 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_func_min_max" >&5
20633 ++echo "${ECHO_T}$ncbi_cv_func_min_max" >&6; }
20634 + if test "$ncbi_cv_func_min_max" = no; then
20635 +
20636 + cat >>confdefs.h <<\_ACEOF
20637 +@@ -17686,8 +21009,8 @@
20638 + fi
20639 +
20640 +
20641 +-echo "$as_me:$LINENO: checking whether new C++ streams have ios_base::" >&5
20642 +-echo $ECHO_N "checking whether new C++ streams have ios_base::... $ECHO_C" >&6
20643 ++{ echo "$as_me:$LINENO: checking whether new C++ streams have ios_base::" >&5
20644 ++echo $ECHO_N "checking whether new C++ streams have ios_base::... $ECHO_C" >&6; }
20645 + if test "${ncbi_cv_type_ios_base+set}" = set; then
20646 + echo $ECHO_N "(cached) $ECHO_C" >&6
20647 + else
20648 +@@ -17707,24 +21030,36 @@
20649 + }
20650 + _ACEOF
20651 + rm -f conftest.$ac_objext
20652 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20653 +- (eval $ac_compile) 2>conftest.er1
20654 ++if { (ac_try="$ac_compile"
20655 ++case "(($ac_try" in
20656 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20657 ++ *) ac_try_echo=$ac_try;;
20658 ++esac
20659 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20660 ++ (eval "$ac_compile") 2>conftest.er1
20661 + ac_status=$?
20662 + grep -v '^ *+' conftest.er1 >conftest.err
20663 + rm -f conftest.er1
20664 + cat conftest.err >&5
20665 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20666 + (exit $ac_status); } &&
20667 +- { ac_try='test -z "$ac_cxx_werror_flag"
20668 +- || test ! -s conftest.err'
20669 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20670 +- (eval $ac_try) 2>&5
20671 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20672 ++ { (case "(($ac_try" in
20673 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20674 ++ *) ac_try_echo=$ac_try;;
20675 ++esac
20676 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20677 ++ (eval "$ac_try") 2>&5
20678 + ac_status=$?
20679 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20680 + (exit $ac_status); }; } &&
20681 + { ac_try='test -s conftest.$ac_objext'
20682 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20683 +- (eval $ac_try) 2>&5
20684 ++ { (case "(($ac_try" in
20685 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20686 ++ *) ac_try_echo=$ac_try;;
20687 ++esac
20688 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20689 ++ (eval "$ac_try") 2>&5
20690 + ac_status=$?
20691 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20692 + (exit $ac_status); }; }; then
20693 +@@ -17735,10 +21070,11 @@
20694 +
20695 + ncbi_cv_type_ios_base=no
20696 + fi
20697 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20698 ++
20699 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20700 + fi
20701 +-echo "$as_me:$LINENO: result: $ncbi_cv_type_ios_base" >&5
20702 +-echo "${ECHO_T}$ncbi_cv_type_ios_base" >&6
20703 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_type_ios_base" >&5
20704 ++echo "${ECHO_T}$ncbi_cv_type_ios_base" >&6; }
20705 + if test "$ncbi_cv_type_ios_base" = no; then
20706 +
20707 + cat >>confdefs.h <<\_ACEOF
20708 +@@ -17748,8 +21084,8 @@
20709 + fi
20710 +
20711 +
20712 +-echo "$as_me:$LINENO: checking for ios(_base)::register_callback" >&5
20713 +-echo $ECHO_N "checking for ios(_base)::register_callback... $ECHO_C" >&6
20714 ++{ echo "$as_me:$LINENO: checking for ios(_base)::register_callback" >&5
20715 ++echo $ECHO_N "checking for ios(_base)::register_callback... $ECHO_C" >&6; }
20716 + if test "${ncbi_cv_func_ios_register_callback+set}" = set; then
20717 + echo $ECHO_N "(cached) $ECHO_C" >&6
20718 + else
20719 +@@ -17769,24 +21105,36 @@
20720 + }
20721 + _ACEOF
20722 + rm -f conftest.$ac_objext
20723 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20724 +- (eval $ac_compile) 2>conftest.er1
20725 ++if { (ac_try="$ac_compile"
20726 ++case "(($ac_try" in
20727 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20728 ++ *) ac_try_echo=$ac_try;;
20729 ++esac
20730 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20731 ++ (eval "$ac_compile") 2>conftest.er1
20732 + ac_status=$?
20733 + grep -v '^ *+' conftest.er1 >conftest.err
20734 + rm -f conftest.er1
20735 + cat conftest.err >&5
20736 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 + (exit $ac_status); } &&
20738 +- { ac_try='test -z "$ac_cxx_werror_flag"
20739 +- || test ! -s conftest.err'
20740 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20741 +- (eval $ac_try) 2>&5
20742 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20743 ++ { (case "(($ac_try" in
20744 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20745 ++ *) ac_try_echo=$ac_try;;
20746 ++esac
20747 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20748 ++ (eval "$ac_try") 2>&5
20749 + ac_status=$?
20750 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20751 + (exit $ac_status); }; } &&
20752 + { ac_try='test -s conftest.$ac_objext'
20753 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20754 +- (eval $ac_try) 2>&5
20755 ++ { (case "(($ac_try" in
20756 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20757 ++ *) ac_try_echo=$ac_try;;
20758 ++esac
20759 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20760 ++ (eval "$ac_try") 2>&5
20761 + ac_status=$?
20762 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 + (exit $ac_status); }; }; then
20764 +@@ -17797,10 +21145,11 @@
20765 +
20766 + ncbi_cv_func_ios_register_callback=no
20767 + fi
20768 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20769 ++
20770 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20771 + fi
20772 +-echo "$as_me:$LINENO: result: $ncbi_cv_func_ios_register_callback" >&5
20773 +-echo "${ECHO_T}$ncbi_cv_func_ios_register_callback" >&6
20774 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_func_ios_register_callback" >&5
20775 ++echo "${ECHO_T}$ncbi_cv_func_ios_register_callback" >&6; }
20776 + if test "$ncbi_cv_func_ios_register_callback" = yes; then
20777 +
20778 + cat >>confdefs.h <<\_ACEOF
20779 +@@ -17810,8 +21159,8 @@
20780 + fi
20781 +
20782 +
20783 +-echo "$as_me:$LINENO: checking for std::char_traits::" >&5
20784 +-echo $ECHO_N "checking for std::char_traits::... $ECHO_C" >&6
20785 ++{ echo "$as_me:$LINENO: checking for std::char_traits::" >&5
20786 ++echo $ECHO_N "checking for std::char_traits::... $ECHO_C" >&6; }
20787 + if test "${ncbi_cv_type_char_traits+set}" = set; then
20788 + echo $ECHO_N "(cached) $ECHO_C" >&6
20789 + else
20790 +@@ -17837,24 +21186,36 @@
20791 + }
20792 + _ACEOF
20793 + rm -f conftest.$ac_objext
20794 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20795 +- (eval $ac_compile) 2>conftest.er1
20796 ++if { (ac_try="$ac_compile"
20797 ++case "(($ac_try" in
20798 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20799 ++ *) ac_try_echo=$ac_try;;
20800 ++esac
20801 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20802 ++ (eval "$ac_compile") 2>conftest.er1
20803 + ac_status=$?
20804 + grep -v '^ *+' conftest.er1 >conftest.err
20805 + rm -f conftest.er1
20806 + cat conftest.err >&5
20807 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 + (exit $ac_status); } &&
20809 +- { ac_try='test -z "$ac_cxx_werror_flag"
20810 +- || test ! -s conftest.err'
20811 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20812 +- (eval $ac_try) 2>&5
20813 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20814 ++ { (case "(($ac_try" in
20815 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20816 ++ *) ac_try_echo=$ac_try;;
20817 ++esac
20818 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20819 ++ (eval "$ac_try") 2>&5
20820 + ac_status=$?
20821 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 + (exit $ac_status); }; } &&
20823 + { ac_try='test -s conftest.$ac_objext'
20824 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20825 +- (eval $ac_try) 2>&5
20826 ++ { (case "(($ac_try" in
20827 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20828 ++ *) ac_try_echo=$ac_try;;
20829 ++esac
20830 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20831 ++ (eval "$ac_try") 2>&5
20832 + ac_status=$?
20833 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 + (exit $ac_status); }; }; then
20835 +@@ -17865,10 +21226,11 @@
20836 +
20837 + ncbi_cv_type_char_traits=no
20838 + fi
20839 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20840 ++
20841 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20842 + fi
20843 +-echo "$as_me:$LINENO: result: $ncbi_cv_type_char_traits" >&5
20844 +-echo "${ECHO_T}$ncbi_cv_type_char_traits" >&6
20845 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_type_char_traits" >&5
20846 ++echo "${ECHO_T}$ncbi_cv_type_char_traits" >&6; }
20847 + if test "$ncbi_cv_type_char_traits" = no; then
20848 +
20849 + cat >>confdefs.h <<\_ACEOF
20850 +@@ -17878,9 +21240,10 @@
20851 + fi
20852 +
20853 +
20854 +-echo "$as_me:$LINENO: checking for std::is_sorted<> in <algorithm>" >&5
20855 +-echo $ECHO_N "checking for std::is_sorted<> in <algorithm>... $ECHO_C" >&6
20856 +-if test "${ncbi_cv_func_is_sorted+set}" = set; then
20857 ++
20858 ++{ echo "$as_me:$LINENO: checking for SysV semaphores" >&5
20859 ++echo $ECHO_N "checking for SysV semaphores... $ECHO_C" >&6; }
20860 ++if test "${ncbi_cv_sys_semaphores+set}" = set; then
20861 + echo $ECHO_N "(cached) $ECHO_C" >&6
20862 + else
20863 + cat >conftest.$ac_ext <<_ACEOF
20864 +@@ -17889,99 +21252,48 @@
20865 + cat confdefs.h >>conftest.$ac_ext
20866 + cat >>conftest.$ac_ext <<_ACEOF
20867 + /* end confdefs.h. */
20868 +-#include <algorithm>
20869 ++#include <sys/types.h>
20870 ++#include <sys/sem.h>
20871 + int
20872 + main ()
20873 + {
20874 +-int a[2]; return std::is_sorted(a, a+2) ? 0 : 1;
20875 ++struct sembuf buf; int id = semget(0x1234, 0, IPC_CREAT);
20876 ++ buf.sem_op = SEM_UNDO;
20877 + ;
20878 + return 0;
20879 + }
20880 + _ACEOF
20881 +-rm -f conftest.$ac_objext
20882 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20883 +- (eval $ac_compile) 2>conftest.er1
20884 ++rm -f conftest.$ac_objext conftest$ac_exeext
20885 ++if { (ac_try="$ac_link"
20886 ++case "(($ac_try" in
20887 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20888 ++ *) ac_try_echo=$ac_try;;
20889 ++esac
20890 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20891 ++ (eval "$ac_link") 2>conftest.er1
20892 + ac_status=$?
20893 + grep -v '^ *+' conftest.er1 >conftest.err
20894 + rm -f conftest.er1
20895 + cat conftest.err >&5
20896 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20897 + (exit $ac_status); } &&
20898 +- { ac_try='test -z "$ac_cxx_werror_flag"
20899 +- || test ! -s conftest.err'
20900 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20901 +- (eval $ac_try) 2>&5
20902 +- ac_status=$?
20903 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 +- (exit $ac_status); }; } &&
20905 +- { ac_try='test -s conftest.$ac_objext'
20906 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20907 +- (eval $ac_try) 2>&5
20908 +- ac_status=$?
20909 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
20910 +- (exit $ac_status); }; }; then
20911 +- ncbi_cv_func_is_sorted=yes
20912 +-else
20913 +- echo "$as_me: failed program was:" >&5
20914 +-sed 's/^/| /' conftest.$ac_ext >&5
20915 +-
20916 +-ncbi_cv_func_is_sorted=no
20917 +-fi
20918 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20919 +-fi
20920 +-echo "$as_me:$LINENO: result: $ncbi_cv_func_is_sorted" >&5
20921 +-echo "${ECHO_T}$ncbi_cv_func_is_sorted" >&6
20922 +-if test "$ncbi_cv_func_is_sorted" = yes; then
20923 +-
20924 +-cat >>confdefs.h <<\_ACEOF
20925 +-#define HAVE_IS_SORTED 1
20926 +-_ACEOF
20927 +-
20928 +-fi
20929 +-
20930 +-
20931 +-
20932 +-echo "$as_me:$LINENO: checking for SysV semaphores" >&5
20933 +-echo $ECHO_N "checking for SysV semaphores... $ECHO_C" >&6
20934 +-if test "${ncbi_cv_sys_semaphores+set}" = set; then
20935 +- echo $ECHO_N "(cached) $ECHO_C" >&6
20936 +-else
20937 +- cat >conftest.$ac_ext <<_ACEOF
20938 +-/* confdefs.h. */
20939 +-_ACEOF
20940 +-cat confdefs.h >>conftest.$ac_ext
20941 +-cat >>conftest.$ac_ext <<_ACEOF
20942 +-/* end confdefs.h. */
20943 +-#include <sys/types.h>
20944 +-#include <sys/sem.h>
20945 +-int
20946 +-main ()
20947 +-{
20948 +-struct sembuf buf; int id = semget(0x1234, 0, IPC_CREAT);
20949 +- buf.sem_op = SEM_UNDO;
20950 +- ;
20951 +- return 0;
20952 +-}
20953 +-_ACEOF
20954 +-rm -f conftest.$ac_objext conftest$ac_exeext
20955 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20956 +- (eval $ac_link) 2>conftest.er1
20957 +- ac_status=$?
20958 +- grep -v '^ *+' conftest.er1 >conftest.err
20959 +- rm -f conftest.er1
20960 +- cat conftest.err >&5
20961 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 +- (exit $ac_status); } &&
20963 +- { ac_try='test -z "$ac_cxx_werror_flag"
20964 +- || test ! -s conftest.err'
20965 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20966 +- (eval $ac_try) 2>&5
20967 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20968 ++ { (case "(($ac_try" in
20969 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20970 ++ *) ac_try_echo=$ac_try;;
20971 ++esac
20972 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20973 ++ (eval "$ac_try") 2>&5
20974 + ac_status=$?
20975 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20976 + (exit $ac_status); }; } &&
20977 + { ac_try='test -s conftest$ac_exeext'
20978 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20979 +- (eval $ac_try) 2>&5
20980 ++ { (case "(($ac_try" in
20981 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20982 ++ *) ac_try_echo=$ac_try;;
20983 ++esac
20984 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20985 ++ (eval "$ac_try") 2>&5
20986 + ac_status=$?
20987 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20988 + (exit $ac_status); }; }; then
20989 +@@ -17992,11 +21304,12 @@
20990 +
20991 + ncbi_cv_sys_semaphores=no
20992 + fi
20993 +-rm -f conftest.err conftest.$ac_objext \
20994 ++
20995 ++rm -f core conftest.err conftest.$ac_objext \
20996 + conftest$ac_exeext conftest.$ac_ext
20997 + fi
20998 +-echo "$as_me:$LINENO: result: $ncbi_cv_sys_semaphores" >&5
20999 +-echo "${ECHO_T}$ncbi_cv_sys_semaphores" >&6
21000 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_sys_semaphores" >&5
21001 ++echo "${ECHO_T}$ncbi_cv_sys_semaphores" >&6; }
21002 + if test "$ncbi_cv_sys_semaphores" = yes; then
21003 +
21004 + cat >>confdefs.h <<\_ACEOF
21005 +@@ -18005,8 +21318,8 @@
21006 +
21007 + fi
21008 +
21009 +-echo "$as_me:$LINENO: checking for union semun" >&5
21010 +-echo $ECHO_N "checking for union semun... $ECHO_C" >&6
21011 ++{ echo "$as_me:$LINENO: checking for union semun" >&5
21012 ++echo $ECHO_N "checking for union semun... $ECHO_C" >&6; }
21013 + if test "${ac_cv_type_union_semun+set}" = set; then
21014 + echo $ECHO_N "(cached) $ECHO_C" >&6
21015 + else
21016 +@@ -18019,36 +21332,49 @@
21017 + #include <sys/types.h>
21018 + #include <sys/sem.h>
21019 +
21020 ++typedef union semun ac__type_new_;
21021 + int
21022 + main ()
21023 + {
21024 +-if ((union semun *) 0)
21025 ++if ((ac__type_new_ *) 0)
21026 + return 0;
21027 +-if (sizeof (union semun))
21028 ++if (sizeof (ac__type_new_))
21029 + return 0;
21030 + ;
21031 + return 0;
21032 + }
21033 + _ACEOF
21034 + rm -f conftest.$ac_objext
21035 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21036 +- (eval $ac_compile) 2>conftest.er1
21037 ++if { (ac_try="$ac_compile"
21038 ++case "(($ac_try" in
21039 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21040 ++ *) ac_try_echo=$ac_try;;
21041 ++esac
21042 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21043 ++ (eval "$ac_compile") 2>conftest.er1
21044 + ac_status=$?
21045 + grep -v '^ *+' conftest.er1 >conftest.err
21046 + rm -f conftest.er1
21047 + cat conftest.err >&5
21048 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049 + (exit $ac_status); } &&
21050 +- { ac_try='test -z "$ac_cxx_werror_flag"
21051 +- || test ! -s conftest.err'
21052 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21053 +- (eval $ac_try) 2>&5
21054 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21055 ++ { (case "(($ac_try" in
21056 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21057 ++ *) ac_try_echo=$ac_try;;
21058 ++esac
21059 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21060 ++ (eval "$ac_try") 2>&5
21061 + ac_status=$?
21062 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 + (exit $ac_status); }; } &&
21064 + { ac_try='test -s conftest.$ac_objext'
21065 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21066 +- (eval $ac_try) 2>&5
21067 ++ { (case "(($ac_try" in
21068 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21069 ++ *) ac_try_echo=$ac_try;;
21070 ++esac
21071 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21072 ++ (eval "$ac_try") 2>&5
21073 + ac_status=$?
21074 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 + (exit $ac_status); }; }; then
21076 +@@ -18059,10 +21385,11 @@
21077 +
21078 + ac_cv_type_union_semun=no
21079 + fi
21080 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21081 ++
21082 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21083 + fi
21084 +-echo "$as_me:$LINENO: result: $ac_cv_type_union_semun" >&5
21085 +-echo "${ECHO_T}$ac_cv_type_union_semun" >&6
21086 ++{ echo "$as_me:$LINENO: result: $ac_cv_type_union_semun" >&5
21087 ++echo "${ECHO_T}$ac_cv_type_union_semun" >&6; }
21088 + if test $ac_cv_type_union_semun = yes; then
21089 +
21090 + cat >>confdefs.h <<\_ACEOF
21091 +@@ -18073,8 +21400,8 @@
21092 +
21093 +
21094 +
21095 +-echo "$as_me:$LINENO: checking which way the stack grows" >&5
21096 +-echo $ECHO_N "checking which way the stack grows... $ECHO_C" >&6
21097 ++{ echo "$as_me:$LINENO: checking which way the stack grows" >&5
21098 ++echo $ECHO_N "checking which way the stack grows... $ECHO_C" >&6; }
21099 + if test "${ncbi_cv_sys_stack_dir+set}" = set; then
21100 + echo $ECHO_N "(cached) $ECHO_C" >&6
21101 + else
21102 +@@ -18097,13 +21424,22 @@
21103 + }
21104 + _ACEOF
21105 + rm -f conftest$ac_exeext
21106 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21107 +- (eval $ac_link) 2>&5
21108 ++if { (ac_try="$ac_link"
21109 ++case "(($ac_try" in
21110 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21111 ++ *) ac_try_echo=$ac_try;;
21112 ++esac
21113 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21114 ++ (eval "$ac_link") 2>&5
21115 + ac_status=$?
21116 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21117 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21118 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21119 +- (eval $ac_try) 2>&5
21120 ++ { (case "(($ac_try" in
21121 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21122 ++ *) ac_try_echo=$ac_try;;
21123 ++esac
21124 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21125 ++ (eval "$ac_try") 2>&5
21126 + ac_status=$?
21127 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21128 + (exit $ac_status); }; }; then
21129 +@@ -18116,11 +21452,13 @@
21130 + ( exit $ac_status )
21131 + ncbi_cv_sys_stack_dir=down
21132 + fi
21133 +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21134 ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21135 + fi
21136 ++
21137 ++
21138 + fi
21139 +-echo "$as_me:$LINENO: result: $ncbi_cv_sys_stack_dir" >&5
21140 +-echo "${ECHO_T}$ncbi_cv_sys_stack_dir" >&6
21141 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_sys_stack_dir" >&5
21142 ++echo "${ECHO_T}$ncbi_cv_sys_stack_dir" >&6; }
21143 + case "$ncbi_cv_sys_stack_dir" in
21144 + up)
21145 + cat >>confdefs.h <<\_ACEOF
21146 +@@ -18141,8 +21479,8 @@
21147 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
21148 +
21149 +
21150 +-echo "$as_me:$LINENO: checking whether the preprocessor supports C99-style variadic macros" >&5
21151 +-echo $ECHO_N "checking whether the preprocessor supports C99-style variadic macros... $ECHO_C" >&6
21152 ++{ echo "$as_me:$LINENO: checking whether the preprocessor supports C99-style variadic macros" >&5
21153 ++echo $ECHO_N "checking whether the preprocessor supports C99-style variadic macros... $ECHO_C" >&6; }
21154 + if test "${ncbi_cv_cpp_std_varargs+set}" = set; then
21155 + echo $ECHO_N "(cached) $ECHO_C" >&6
21156 + else
21157 +@@ -18165,24 +21503,36 @@
21158 + }
21159 + _ACEOF
21160 + rm -f conftest.$ac_objext
21161 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21162 +- (eval $ac_compile) 2>conftest.er1
21163 ++if { (ac_try="$ac_compile"
21164 ++case "(($ac_try" in
21165 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21166 ++ *) ac_try_echo=$ac_try;;
21167 ++esac
21168 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21169 ++ (eval "$ac_compile") 2>conftest.er1
21170 + ac_status=$?
21171 + grep -v '^ *+' conftest.er1 >conftest.err
21172 + rm -f conftest.er1
21173 + cat conftest.err >&5
21174 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21175 + (exit $ac_status); } &&
21176 +- { ac_try='test -z "$ac_c_werror_flag"
21177 +- || test ! -s conftest.err'
21178 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21179 +- (eval $ac_try) 2>&5
21180 ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21181 ++ { (case "(($ac_try" in
21182 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21183 ++ *) ac_try_echo=$ac_try;;
21184 ++esac
21185 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21186 ++ (eval "$ac_try") 2>&5
21187 + ac_status=$?
21188 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 + (exit $ac_status); }; } &&
21190 + { ac_try='test -s conftest.$ac_objext'
21191 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21192 +- (eval $ac_try) 2>&5
21193 ++ { (case "(($ac_try" in
21194 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21195 ++ *) ac_try_echo=$ac_try;;
21196 ++esac
21197 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21198 ++ (eval "$ac_try") 2>&5
21199 + ac_status=$?
21200 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 + (exit $ac_status); }; }; then
21202 +@@ -18193,10 +21543,11 @@
21203 +
21204 + ncbi_cv_cpp_std_varargs=no
21205 + fi
21206 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21207 ++
21208 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21209 + fi
21210 +-echo "$as_me:$LINENO: result: $ncbi_cv_cpp_std_varargs" >&5
21211 +-echo "${ECHO_T}$ncbi_cv_cpp_std_varargs" >&6
21212 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_cpp_std_varargs" >&5
21213 ++echo "${ECHO_T}$ncbi_cv_cpp_std_varargs" >&6; }
21214 + if test "$ncbi_cv_cpp_std_varargs" = yes; then
21215 +
21216 + cat >>confdefs.h <<\_ACEOF
21217 +@@ -18205,8 +21556,8 @@
21218 +
21219 + fi
21220 +
21221 +-echo "$as_me:$LINENO: checking whether the preprocessor supports GNU-style variadic macros" >&5
21222 +-echo $ECHO_N "checking whether the preprocessor supports GNU-style variadic macros... $ECHO_C" >&6
21223 ++{ echo "$as_me:$LINENO: checking whether the preprocessor supports GNU-style variadic macros" >&5
21224 ++echo $ECHO_N "checking whether the preprocessor supports GNU-style variadic macros... $ECHO_C" >&6; }
21225 + if test "${ncbi_cv_cpp_gnu_varargs+set}" = set; then
21226 + echo $ECHO_N "(cached) $ECHO_C" >&6
21227 + else
21228 +@@ -18229,24 +21580,36 @@
21229 + }
21230 + _ACEOF
21231 + rm -f conftest.$ac_objext
21232 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21233 +- (eval $ac_compile) 2>conftest.er1
21234 ++if { (ac_try="$ac_compile"
21235 ++case "(($ac_try" in
21236 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21237 ++ *) ac_try_echo=$ac_try;;
21238 ++esac
21239 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21240 ++ (eval "$ac_compile") 2>conftest.er1
21241 + ac_status=$?
21242 + grep -v '^ *+' conftest.er1 >conftest.err
21243 + rm -f conftest.er1
21244 + cat conftest.err >&5
21245 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21246 + (exit $ac_status); } &&
21247 +- { ac_try='test -z "$ac_c_werror_flag"
21248 +- || test ! -s conftest.err'
21249 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21250 +- (eval $ac_try) 2>&5
21251 ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21252 ++ { (case "(($ac_try" in
21253 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21254 ++ *) ac_try_echo=$ac_try;;
21255 ++esac
21256 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21257 ++ (eval "$ac_try") 2>&5
21258 + ac_status=$?
21259 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21260 + (exit $ac_status); }; } &&
21261 + { ac_try='test -s conftest.$ac_objext'
21262 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21263 +- (eval $ac_try) 2>&5
21264 ++ { (case "(($ac_try" in
21265 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21266 ++ *) ac_try_echo=$ac_try;;
21267 ++esac
21268 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21269 ++ (eval "$ac_try") 2>&5
21270 + ac_status=$?
21271 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21272 + (exit $ac_status); }; }; then
21273 +@@ -18257,10 +21620,11 @@
21274 +
21275 + ncbi_cv_cpp_gnu_varargs=no
21276 + fi
21277 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21278 ++
21279 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21280 + fi
21281 +-echo "$as_me:$LINENO: result: $ncbi_cv_cpp_gnu_varargs" >&5
21282 +-echo "${ECHO_T}$ncbi_cv_cpp_gnu_varargs" >&6
21283 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_cpp_gnu_varargs" >&5
21284 ++echo "${ECHO_T}$ncbi_cv_cpp_gnu_varargs" >&6; }
21285 + if test "$ncbi_cv_cpp_gnu_varargs" = yes; then
21286 +
21287 + cat >>confdefs.h <<\_ACEOF
21288 +@@ -18269,7 +21633,7 @@
21289 +
21290 + fi
21291 +
21292 +-ac_ext=cc
21293 ++ac_ext=cpp
21294 + ac_cpp='$CXXCPP $CPPFLAGS'
21295 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21296 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21297 +@@ -18292,8 +21656,8 @@
21298 + ;;
21299 + esac
21300 +
21301 +-echo "$as_me:$LINENO: checking syntax for marking deprecated functions" >&5
21302 +-echo $ECHO_N "checking syntax for marking deprecated functions... $ECHO_C" >&6
21303 ++{ echo "$as_me:$LINENO: checking syntax for marking deprecated functions" >&5
21304 ++echo $ECHO_N "checking syntax for marking deprecated functions... $ECHO_C" >&6; }
21305 + if test "${ncbi_cv_c_deprecation_syntax+set}" = set; then
21306 + echo $ECHO_N "(cached) $ECHO_C" >&6
21307 + else
21308 +@@ -18313,24 +21677,36 @@
21309 + }
21310 + _ACEOF
21311 + rm -f conftest.$ac_objext
21312 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21313 +- (eval $ac_compile) 2>conftest.er1
21314 ++if { (ac_try="$ac_compile"
21315 ++case "(($ac_try" in
21316 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21317 ++ *) ac_try_echo=$ac_try;;
21318 ++esac
21319 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21320 ++ (eval "$ac_compile") 2>conftest.er1
21321 + ac_status=$?
21322 + grep -v '^ *+' conftest.er1 >conftest.err
21323 + rm -f conftest.er1
21324 + cat conftest.err >&5
21325 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21326 + (exit $ac_status); } &&
21327 +- { ac_try='test -z "$ac_cxx_werror_flag"
21328 +- || test ! -s conftest.err'
21329 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21330 +- (eval $ac_try) 2>&5
21331 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21332 ++ { (case "(($ac_try" in
21333 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21334 ++ *) ac_try_echo=$ac_try;;
21335 ++esac
21336 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21337 ++ (eval "$ac_try") 2>&5
21338 + ac_status=$?
21339 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 + (exit $ac_status); }; } &&
21341 + { ac_try='test -s conftest.$ac_objext'
21342 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21343 +- (eval $ac_try) 2>&5
21344 ++ { (case "(($ac_try" in
21345 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21346 ++ *) ac_try_echo=$ac_try;;
21347 ++esac
21348 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21349 ++ (eval "$ac_try") 2>&5
21350 + ac_status=$?
21351 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 + (exit $ac_status); }; }; then
21353 +@@ -18341,10 +21717,11 @@
21354 +
21355 + ncbi_cv_c_deprecation_syntax=none
21356 + fi
21357 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21358 ++
21359 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21360 + fi
21361 +-echo "$as_me:$LINENO: result: $ncbi_cv_c_deprecation_syntax" >&5
21362 +-echo "${ECHO_T}$ncbi_cv_c_deprecation_syntax" >&6
21363 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_c_deprecation_syntax" >&5
21364 ++echo "${ECHO_T}$ncbi_cv_c_deprecation_syntax" >&6; }
21365 + depr=$ncbi_cv_c_deprecation_syntax
21366 + test "$depr" = "none" && depr=""
21367 +
21368 +@@ -18359,8 +21736,8 @@
21369 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21370 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
21371 +
21372 +-echo "$as_me:$LINENO: checking how to force inlining" >&5
21373 +-echo $ECHO_N "checking how to force inlining... $ECHO_C" >&6
21374 ++{ echo "$as_me:$LINENO: checking how to force inlining" >&5
21375 ++echo $ECHO_N "checking how to force inlining... $ECHO_C" >&6; }
21376 + if test "${ncbi_cv_c_forceinline+set}" = set; then
21377 + echo $ECHO_N "(cached) $ECHO_C" >&6
21378 + else
21379 +@@ -18377,24 +21754,36 @@
21380 + $fi int f(void) { return 0; }
21381 + _ACEOF
21382 + rm -f conftest.$ac_objext
21383 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21384 +- (eval $ac_compile) 2>conftest.er1
21385 ++if { (ac_try="$ac_compile"
21386 ++case "(($ac_try" in
21387 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21388 ++ *) ac_try_echo=$ac_try;;
21389 ++esac
21390 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21391 ++ (eval "$ac_compile") 2>conftest.er1
21392 + ac_status=$?
21393 + grep -v '^ *+' conftest.er1 >conftest.err
21394 + rm -f conftest.er1
21395 + cat conftest.err >&5
21396 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21397 + (exit $ac_status); } &&
21398 +- { ac_try='test -z "$ac_c_werror_flag"
21399 +- || test ! -s conftest.err'
21400 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21401 +- (eval $ac_try) 2>&5
21402 ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21403 ++ { (case "(($ac_try" in
21404 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21405 ++ *) ac_try_echo=$ac_try;;
21406 ++esac
21407 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21408 ++ (eval "$ac_try") 2>&5
21409 + ac_status=$?
21410 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21411 + (exit $ac_status); }; } &&
21412 + { ac_try='test -s conftest.$ac_objext'
21413 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21414 +- (eval $ac_try) 2>&5
21415 ++ { (case "(($ac_try" in
21416 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21417 ++ *) ac_try_echo=$ac_try;;
21418 ++esac
21419 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21420 ++ (eval "$ac_try") 2>&5
21421 + ac_status=$?
21422 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21423 + (exit $ac_status); }; }; then
21424 +@@ -18403,12 +21792,14 @@
21425 + echo "$as_me: failed program was:" >&5
21426 + sed 's/^/| /' conftest.$ac_ext >&5
21427 +
21428 ++
21429 + fi
21430 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21431 ++
21432 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21433 + done
21434 + fi
21435 +-echo "$as_me:$LINENO: result: $ncbi_cv_c_forceinline" >&5
21436 +-echo "${ECHO_T}$ncbi_cv_c_forceinline" >&6
21437 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_c_forceinline" >&5
21438 ++echo "${ECHO_T}$ncbi_cv_c_forceinline" >&6; }
21439 + forceinline=$ncbi_cv_c_forceinline
21440 + test "$forceinline" = "no" && forceinline=""
21441 +
21442 +@@ -18417,8 +21808,8 @@
21443 + _ACEOF
21444 +
21445 +
21446 +-echo "$as_me:$LINENO: checking whether the C compiler supports __attribute__((destructor))" >&5
21447 +-echo $ECHO_N "checking whether the C compiler supports __attribute__((destructor))... $ECHO_C" >&6
21448 ++{ echo "$as_me:$LINENO: checking whether the C compiler supports __attribute__((destructor))" >&5
21449 ++echo $ECHO_N "checking whether the C compiler supports __attribute__((destructor))... $ECHO_C" >&6; }
21450 + if test "${ncbi_cv_c_attribute_destructor+set}" = set; then
21451 + echo $ECHO_N "(cached) $ECHO_C" >&6
21452 + else
21453 +@@ -18438,24 +21829,36 @@
21454 + }
21455 + _ACEOF
21456 + rm -f conftest.$ac_objext
21457 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21458 +- (eval $ac_compile) 2>conftest.er1
21459 ++if { (ac_try="$ac_compile"
21460 ++case "(($ac_try" in
21461 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21462 ++ *) ac_try_echo=$ac_try;;
21463 ++esac
21464 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21465 ++ (eval "$ac_compile") 2>conftest.er1
21466 + ac_status=$?
21467 + grep -v '^ *+' conftest.er1 >conftest.err
21468 + rm -f conftest.er1
21469 + cat conftest.err >&5
21470 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21471 + (exit $ac_status); } &&
21472 +- { ac_try='test -z "$ac_c_werror_flag"
21473 +- || test ! -s conftest.err'
21474 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21475 +- (eval $ac_try) 2>&5
21476 ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21477 ++ { (case "(($ac_try" in
21478 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21479 ++ *) ac_try_echo=$ac_try;;
21480 ++esac
21481 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21482 ++ (eval "$ac_try") 2>&5
21483 + ac_status=$?
21484 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 + (exit $ac_status); }; } &&
21486 + { ac_try='test -s conftest.$ac_objext'
21487 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21488 +- (eval $ac_try) 2>&5
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); }; }; then
21498 +@@ -18466,10 +21869,11 @@
21499 +
21500 + ncbi_cv_c_attribute_destructor=no
21501 + fi
21502 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21503 ++
21504 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21505 + fi
21506 +-echo "$as_me:$LINENO: result: $ncbi_cv_c_attribute_destructor" >&5
21507 +-echo "${ECHO_T}$ncbi_cv_c_attribute_destructor" >&6
21508 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_c_attribute_destructor" >&5
21509 ++echo "${ECHO_T}$ncbi_cv_c_attribute_destructor" >&6; }
21510 + if test $ncbi_cv_c_attribute_destructor = yes; then
21511 +
21512 + cat >>confdefs.h <<\_ACEOF
21513 +@@ -18483,8 +21887,8 @@
21514 + * ) ncbi_cv_c_attribute_visibility_default=unnecessary ;;
21515 + esac
21516 +
21517 +-echo "$as_me:$LINENO: checking whether $CC supports __attribute__((visibility(\"default\")))" >&5
21518 +-echo $ECHO_N "checking whether $CC supports __attribute__((visibility(\"default\")))... $ECHO_C" >&6
21519 ++{ echo "$as_me:$LINENO: checking whether $CC supports __attribute__((visibility(\"default\")))" >&5
21520 ++echo $ECHO_N "checking whether $CC supports __attribute__((visibility(\"default\")))... $ECHO_C" >&6; }
21521 + if test "${ncbi_cv_c_attribute_visibility_default+set}" = set; then
21522 + echo $ECHO_N "(cached) $ECHO_C" >&6
21523 + else
21524 +@@ -18504,24 +21908,36 @@
21525 + }
21526 + _ACEOF
21527 + rm -f conftest.$ac_objext
21528 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21529 +- (eval $ac_compile) 2>conftest.er1
21530 ++if { (ac_try="$ac_compile"
21531 ++case "(($ac_try" in
21532 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21533 ++ *) ac_try_echo=$ac_try;;
21534 ++esac
21535 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21536 ++ (eval "$ac_compile") 2>conftest.er1
21537 + ac_status=$?
21538 + grep -v '^ *+' conftest.er1 >conftest.err
21539 + rm -f conftest.er1
21540 + cat conftest.err >&5
21541 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21542 + (exit $ac_status); } &&
21543 +- { ac_try='test -z "$ac_c_werror_flag"
21544 +- || test ! -s conftest.err'
21545 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21546 +- (eval $ac_try) 2>&5
21547 ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21548 ++ { (case "(($ac_try" in
21549 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21550 ++ *) ac_try_echo=$ac_try;;
21551 ++esac
21552 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21553 ++ (eval "$ac_try") 2>&5
21554 + ac_status=$?
21555 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 + (exit $ac_status); }; } &&
21557 + { ac_try='test -s conftest.$ac_objext'
21558 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21559 +- (eval $ac_try) 2>&5
21560 ++ { (case "(($ac_try" in
21561 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21562 ++ *) ac_try_echo=$ac_try;;
21563 ++esac
21564 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21565 ++ (eval "$ac_try") 2>&5
21566 + ac_status=$?
21567 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21568 + (exit $ac_status); }; }; then
21569 +@@ -18532,10 +21948,11 @@
21570 +
21571 + ncbi_cv_c_attribute_visibility_default=no
21572 + fi
21573 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21574 ++
21575 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21576 + fi
21577 +-echo "$as_me:$LINENO: result: $ncbi_cv_c_attribute_visibility_default" >&5
21578 +-echo "${ECHO_T}$ncbi_cv_c_attribute_visibility_default" >&6
21579 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_c_attribute_visibility_default" >&5
21580 ++echo "${ECHO_T}$ncbi_cv_c_attribute_visibility_default" >&6; }
21581 + if test $ncbi_cv_c_attribute_visibility_default = yes; then
21582 +
21583 + cat >>confdefs.h <<\_ACEOF
21584 +@@ -18544,13 +21961,13 @@
21585 +
21586 + fi
21587 +
21588 +-echo "$as_me:$LINENO: checking whether the C compiler supports C99 restrict" >&5
21589 +-echo $ECHO_N "checking whether the C compiler supports C99 restrict... $ECHO_C" >&6
21590 ++{ echo "$as_me:$LINENO: checking whether the C compiler supports C99 restrict" >&5
21591 ++echo $ECHO_N "checking whether the C compiler supports C99 restrict... $ECHO_C" >&6; }
21592 + if test "${ncbi_cv_c_restrict+set}" = set; then
21593 + echo $ECHO_N "(cached) $ECHO_C" >&6
21594 + else
21595 + ncbi_cv_c_restrict=no
21596 +- for restrict in restrict __restrict__ __restrict; do
21597 ++ for restrict in __restrict__ __restrict restrict; do
21598 + test "$ncbi_cv_c_restrict" = "no" || break
21599 + cat >conftest.$ac_ext <<_ACEOF
21600 + /* confdefs.h. */
21601 +@@ -18561,24 +21978,36 @@
21602 + void f(int * $restrict p);
21603 + _ACEOF
21604 + rm -f conftest.$ac_objext
21605 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21606 +- (eval $ac_compile) 2>conftest.er1
21607 ++if { (ac_try="$ac_compile"
21608 ++case "(($ac_try" in
21609 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21610 ++ *) ac_try_echo=$ac_try;;
21611 ++esac
21612 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21613 ++ (eval "$ac_compile") 2>conftest.er1
21614 + ac_status=$?
21615 + grep -v '^ *+' conftest.er1 >conftest.err
21616 + rm -f conftest.er1
21617 + cat conftest.err >&5
21618 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21619 + (exit $ac_status); } &&
21620 +- { ac_try='test -z "$ac_c_werror_flag"
21621 +- || test ! -s conftest.err'
21622 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21623 +- (eval $ac_try) 2>&5
21624 ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21625 ++ { (case "(($ac_try" in
21626 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21627 ++ *) ac_try_echo=$ac_try;;
21628 ++esac
21629 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21630 ++ (eval "$ac_try") 2>&5
21631 + ac_status=$?
21632 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21633 + (exit $ac_status); }; } &&
21634 + { ac_try='test -s conftest.$ac_objext'
21635 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21636 +- (eval $ac_try) 2>&5
21637 ++ { (case "(($ac_try" in
21638 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21639 ++ *) ac_try_echo=$ac_try;;
21640 ++esac
21641 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21642 ++ (eval "$ac_try") 2>&5
21643 + ac_status=$?
21644 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21645 + (exit $ac_status); }; }; then
21646 +@@ -18587,12 +22016,14 @@
21647 + echo "$as_me: failed program was:" >&5
21648 + sed 's/^/| /' conftest.$ac_ext >&5
21649 +
21650 ++
21651 + fi
21652 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21653 ++
21654 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21655 + done
21656 + fi
21657 +-echo "$as_me:$LINENO: result: $ncbi_cv_c_restrict" >&5
21658 +-echo "${ECHO_T}$ncbi_cv_c_restrict" >&6
21659 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_c_restrict" >&5
21660 ++echo "${ECHO_T}$ncbi_cv_c_restrict" >&6; }
21661 + restrict=$ncbi_cv_c_restrict
21662 + test "$restrict" = "no" && restrict=""
21663 +
21664 +@@ -18607,20 +22038,20 @@
21665 + _ACEOF
21666 +
21667 + fi
21668 +-ac_ext=cc
21669 ++ac_ext=cpp
21670 + ac_cpp='$CXXCPP $CPPFLAGS'
21671 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21672 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21673 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21674 +
21675 +
21676 +-echo "$as_me:$LINENO: checking whether the C++ compiler supports C99 restrict" >&5
21677 +-echo $ECHO_N "checking whether the C++ compiler supports C99 restrict... $ECHO_C" >&6
21678 ++{ echo "$as_me:$LINENO: checking whether the C++ compiler supports C99 restrict" >&5
21679 ++echo $ECHO_N "checking whether the C++ compiler supports C99 restrict... $ECHO_C" >&6; }
21680 + if test "${ncbi_cv_cxx_restrict+set}" = set; then
21681 + echo $ECHO_N "(cached) $ECHO_C" >&6
21682 + else
21683 + ncbi_cv_cxx_restrict=no
21684 +- for restrict in restrict __restrict__ __restrict; do
21685 ++ for restrict in __restrict__ __restrict restrict; do
21686 + test "$ncbi_cv_cxx_restrict" = "no" || break
21687 + cat >conftest.$ac_ext <<_ACEOF
21688 + /* confdefs.h. */
21689 +@@ -18631,24 +22062,36 @@
21690 + void f(int * $restrict p);
21691 + _ACEOF
21692 + rm -f conftest.$ac_objext
21693 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21694 +- (eval $ac_compile) 2>conftest.er1
21695 ++if { (ac_try="$ac_compile"
21696 ++case "(($ac_try" in
21697 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21698 ++ *) ac_try_echo=$ac_try;;
21699 ++esac
21700 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21701 ++ (eval "$ac_compile") 2>conftest.er1
21702 + ac_status=$?
21703 + grep -v '^ *+' conftest.er1 >conftest.err
21704 + rm -f conftest.er1
21705 + cat conftest.err >&5
21706 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 + (exit $ac_status); } &&
21708 +- { ac_try='test -z "$ac_cxx_werror_flag"
21709 +- || test ! -s conftest.err'
21710 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21711 +- (eval $ac_try) 2>&5
21712 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21713 ++ { (case "(($ac_try" in
21714 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21715 ++ *) ac_try_echo=$ac_try;;
21716 ++esac
21717 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21718 ++ (eval "$ac_try") 2>&5
21719 + ac_status=$?
21720 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21721 + (exit $ac_status); }; } &&
21722 + { ac_try='test -s conftest.$ac_objext'
21723 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21724 +- (eval $ac_try) 2>&5
21725 ++ { (case "(($ac_try" in
21726 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21727 ++ *) ac_try_echo=$ac_try;;
21728 ++esac
21729 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21730 ++ (eval "$ac_try") 2>&5
21731 + ac_status=$?
21732 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21733 + (exit $ac_status); }; }; then
21734 +@@ -18657,12 +22100,14 @@
21735 + echo "$as_me: failed program was:" >&5
21736 + sed 's/^/| /' conftest.$ac_ext >&5
21737 +
21738 ++
21739 + fi
21740 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21741 ++
21742 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21743 + done
21744 + fi
21745 +-echo "$as_me:$LINENO: result: $ncbi_cv_cxx_restrict" >&5
21746 +-echo "${ECHO_T}$ncbi_cv_cxx_restrict" >&6
21747 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_cxx_restrict" >&5
21748 ++echo "${ECHO_T}$ncbi_cv_cxx_restrict" >&6; }
21749 + restrict=$ncbi_cv_cxx_restrict
21750 + test "$restrict" = "no" && restrict=""
21751 +
21752 +@@ -18678,8 +22123,8 @@
21753 +
21754 + fi
21755 +
21756 +-echo "$as_me:$LINENO: checking syntax for marking functions that never return" >&5
21757 +-echo $ECHO_N "checking syntax for marking functions that never return... $ECHO_C" >&6
21758 ++{ echo "$as_me:$LINENO: checking syntax for marking functions that never return" >&5
21759 ++echo $ECHO_N "checking syntax for marking functions that never return... $ECHO_C" >&6; }
21760 + if test "${ncbi_cv_c_noreturn+set}" = set; then
21761 + echo $ECHO_N "(cached) $ECHO_C" >&6
21762 + else
21763 +@@ -18699,24 +22144,36 @@
21764 + }
21765 + _ACEOF
21766 + rm -f conftest.$ac_objext
21767 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21768 +- (eval $ac_compile) 2>conftest.er1
21769 ++if { (ac_try="$ac_compile"
21770 ++case "(($ac_try" in
21771 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21772 ++ *) ac_try_echo=$ac_try;;
21773 ++esac
21774 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21775 ++ (eval "$ac_compile") 2>conftest.er1
21776 + ac_status=$?
21777 + grep -v '^ *+' conftest.er1 >conftest.err
21778 + rm -f conftest.er1
21779 + cat conftest.err >&5
21780 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781 + (exit $ac_status); } &&
21782 +- { ac_try='test -z "$ac_cxx_werror_flag"
21783 +- || test ! -s conftest.err'
21784 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21785 +- (eval $ac_try) 2>&5
21786 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21787 ++ { (case "(($ac_try" in
21788 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21789 ++ *) ac_try_echo=$ac_try;;
21790 ++esac
21791 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21792 ++ (eval "$ac_try") 2>&5
21793 + ac_status=$?
21794 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21795 + (exit $ac_status); }; } &&
21796 + { ac_try='test -s conftest.$ac_objext'
21797 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21798 +- (eval $ac_try) 2>&5
21799 ++ { (case "(($ac_try" in
21800 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21801 ++ *) ac_try_echo=$ac_try;;
21802 ++esac
21803 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21804 ++ (eval "$ac_try") 2>&5
21805 + ac_status=$?
21806 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21807 + (exit $ac_status); }; }; then
21808 +@@ -18727,10 +22184,11 @@
21809 +
21810 + ncbi_cv_c_noreturn=none
21811 + fi
21812 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21813 ++
21814 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21815 + fi
21816 +-echo "$as_me:$LINENO: result: $ncbi_cv_c_noreturn" >&5
21817 +-echo "${ECHO_T}$ncbi_cv_c_noreturn" >&6
21818 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_c_noreturn" >&5
21819 ++echo "${ECHO_T}$ncbi_cv_c_noreturn" >&6; }
21820 + noret=$ncbi_cv_c_noreturn
21821 + test "$noret" = "none" && noret=""
21822 +
21823 +@@ -18739,8 +22197,8 @@
21824 + _ACEOF
21825 +
21826 +
21827 +-echo "$as_me:$LINENO: checking syntax for declaring thread-local variables" >&5
21828 +-echo $ECHO_N "checking syntax for declaring thread-local variables... $ECHO_C" >&6
21829 ++{ echo "$as_me:$LINENO: checking syntax for declaring thread-local variables" >&5
21830 ++echo $ECHO_N "checking syntax for declaring thread-local variables... $ECHO_C" >&6; }
21831 + if test "${ncbi_cv_c_tls_var+set}" = set; then
21832 + echo $ECHO_N "(cached) $ECHO_C" >&6
21833 + else
21834 +@@ -18763,24 +22221,36 @@
21835 + }
21836 + _ACEOF
21837 + rm -f conftest.$ac_objext
21838 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21839 +- (eval $ac_compile) 2>conftest.er1
21840 ++if { (ac_try="$ac_compile"
21841 ++case "(($ac_try" in
21842 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21843 ++ *) ac_try_echo=$ac_try;;
21844 ++esac
21845 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21846 ++ (eval "$ac_compile") 2>conftest.er1
21847 + ac_status=$?
21848 + grep -v '^ *+' conftest.er1 >conftest.err
21849 + rm -f conftest.er1
21850 + cat conftest.err >&5
21851 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852 + (exit $ac_status); } &&
21853 +- { ac_try='test -z "$ac_cxx_werror_flag"
21854 +- || test ! -s conftest.err'
21855 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21856 +- (eval $ac_try) 2>&5
21857 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21858 ++ { (case "(($ac_try" in
21859 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21860 ++ *) ac_try_echo=$ac_try;;
21861 ++esac
21862 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21863 ++ (eval "$ac_try") 2>&5
21864 + ac_status=$?
21865 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21866 + (exit $ac_status); }; } &&
21867 + { ac_try='test -s conftest.$ac_objext'
21868 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21869 +- (eval $ac_try) 2>&5
21870 ++ { (case "(($ac_try" in
21871 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21872 ++ *) ac_try_echo=$ac_try;;
21873 ++esac
21874 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21875 ++ (eval "$ac_try") 2>&5
21876 + ac_status=$?
21877 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21878 + (exit $ac_status); }; }; then
21879 +@@ -18789,12 +22259,14 @@
21880 + echo "$as_me: failed program was:" >&5
21881 + sed 's/^/| /' conftest.$ac_ext >&5
21882 +
21883 ++
21884 + fi
21885 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21886 ++
21887 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21888 + done
21889 + fi
21890 +-echo "$as_me:$LINENO: result: $ncbi_cv_c_tls_var" >&5
21891 +-echo "${ECHO_T}$ncbi_cv_c_tls_var" >&6
21892 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_c_tls_var" >&5
21893 ++echo "${ECHO_T}$ncbi_cv_c_tls_var" >&6; }
21894 + tls_var=$ncbi_cv_c_tls_var
21895 + if test "$tls_var" != "none"; then
21896 +
21897 +@@ -18805,8 +22277,8 @@
21898 + fi
21899 +
21900 + # for FreeTDS
21901 +-echo "$as_me:$LINENO: checking whether FIONBIO requires BSD_COMP to be defined" >&5
21902 +-echo $ECHO_N "checking whether FIONBIO requires BSD_COMP to be defined... $ECHO_C" >&6
21903 ++{ echo "$as_me:$LINENO: checking whether FIONBIO requires BSD_COMP to be defined" >&5
21904 ++echo $ECHO_N "checking whether FIONBIO requires BSD_COMP to be defined... $ECHO_C" >&6; }
21905 + if test "${ncbi_cv_decl_fionbio_needs_bsd_comp+set}" = set; then
21906 + echo $ECHO_N "(cached) $ECHO_C" >&6
21907 + else
21908 +@@ -18827,24 +22299,36 @@
21909 + }
21910 + _ACEOF
21911 + rm -f conftest.$ac_objext
21912 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21913 +- (eval $ac_compile) 2>conftest.er1
21914 ++if { (ac_try="$ac_compile"
21915 ++case "(($ac_try" in
21916 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21917 ++ *) ac_try_echo=$ac_try;;
21918 ++esac
21919 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21920 ++ (eval "$ac_compile") 2>conftest.er1
21921 + ac_status=$?
21922 + grep -v '^ *+' conftest.er1 >conftest.err
21923 + rm -f conftest.er1
21924 + cat conftest.err >&5
21925 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21926 + (exit $ac_status); } &&
21927 +- { ac_try='test -z "$ac_cxx_werror_flag"
21928 +- || test ! -s conftest.err'
21929 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21930 +- (eval $ac_try) 2>&5
21931 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21932 ++ { (case "(($ac_try" in
21933 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21934 ++ *) ac_try_echo=$ac_try;;
21935 ++esac
21936 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21937 ++ (eval "$ac_try") 2>&5
21938 + ac_status=$?
21939 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940 + (exit $ac_status); }; } &&
21941 + { ac_try='test -s conftest.$ac_objext'
21942 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21943 +- (eval $ac_try) 2>&5
21944 ++ { (case "(($ac_try" in
21945 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21946 ++ *) ac_try_echo=$ac_try;;
21947 ++esac
21948 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21949 ++ (eval "$ac_try") 2>&5
21950 + ac_status=$?
21951 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21952 + (exit $ac_status); }; }; then
21953 +@@ -18871,24 +22355,36 @@
21954 + }
21955 + _ACEOF
21956 + rm -f conftest.$ac_objext
21957 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21958 +- (eval $ac_compile) 2>conftest.er1
21959 ++if { (ac_try="$ac_compile"
21960 ++case "(($ac_try" in
21961 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21962 ++ *) ac_try_echo=$ac_try;;
21963 ++esac
21964 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21965 ++ (eval "$ac_compile") 2>conftest.er1
21966 + ac_status=$?
21967 + grep -v '^ *+' conftest.er1 >conftest.err
21968 + rm -f conftest.er1
21969 + cat conftest.err >&5
21970 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21971 + (exit $ac_status); } &&
21972 +- { ac_try='test -z "$ac_cxx_werror_flag"
21973 +- || test ! -s conftest.err'
21974 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21975 +- (eval $ac_try) 2>&5
21976 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21977 ++ { (case "(($ac_try" in
21978 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21979 ++ *) ac_try_echo=$ac_try;;
21980 ++esac
21981 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21982 ++ (eval "$ac_try") 2>&5
21983 + ac_status=$?
21984 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 + (exit $ac_status); }; } &&
21986 + { ac_try='test -s conftest.$ac_objext'
21987 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21988 +- (eval $ac_try) 2>&5
21989 ++ { (case "(($ac_try" in
21990 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21991 ++ *) ac_try_echo=$ac_try;;
21992 ++esac
21993 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21994 ++ (eval "$ac_try") 2>&5
21995 + ac_status=$?
21996 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997 + (exit $ac_status); }; }; then
21998 +@@ -18899,12 +22395,14 @@
21999 +
22000 + ncbi_cv_decl_fionbio_needs_bsd_comp="never defined at all"
22001 + fi
22002 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22003 ++
22004 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22005 + fi
22006 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22007 ++
22008 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22009 + fi
22010 +-echo "$as_me:$LINENO: result: $ncbi_cv_decl_fionbio_needs_bsd_comp" >&5
22011 +-echo "${ECHO_T}$ncbi_cv_decl_fionbio_needs_bsd_comp" >&6
22012 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_decl_fionbio_needs_bsd_comp" >&5
22013 ++echo "${ECHO_T}$ncbi_cv_decl_fionbio_needs_bsd_comp" >&6; }
22014 + if test "$ncbi_cv_decl_fionbio_needs_bsd_comp" = yes; then
22015 +
22016 + cat >>confdefs.h <<\_ACEOF
22017 +@@ -18913,8 +22411,8 @@
22018 +
22019 + fi
22020 +
22021 +-echo "$as_me:$LINENO: checking whether INADDR_NONE is defined" >&5
22022 +-echo $ECHO_N "checking whether INADDR_NONE is defined... $ECHO_C" >&6
22023 ++{ echo "$as_me:$LINENO: checking whether INADDR_NONE is defined" >&5
22024 ++echo $ECHO_N "checking whether INADDR_NONE is defined... $ECHO_C" >&6; }
22025 + if test "${ncbi_cv_decl_inaddr_none+set}" = set; then
22026 + echo $ECHO_N "(cached) $ECHO_C" >&6
22027 + else
22028 +@@ -18947,24 +22445,36 @@
22029 + }
22030 + _ACEOF
22031 + rm -f conftest.$ac_objext
22032 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22033 +- (eval $ac_compile) 2>conftest.er1
22034 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
22041 + ac_status=$?
22042 + grep -v '^ *+' conftest.er1 >conftest.err
22043 + rm -f conftest.er1
22044 + cat conftest.err >&5
22045 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22046 + (exit $ac_status); } &&
22047 +- { ac_try='test -z "$ac_cxx_werror_flag"
22048 +- || test ! -s conftest.err'
22049 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22050 +- (eval $ac_try) 2>&5
22051 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22052 ++ { (case "(($ac_try" in
22053 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22054 ++ *) ac_try_echo=$ac_try;;
22055 ++esac
22056 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22057 ++ (eval "$ac_try") 2>&5
22058 + ac_status=$?
22059 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060 + (exit $ac_status); }; } &&
22061 + { ac_try='test -s conftest.$ac_objext'
22062 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22063 +- (eval $ac_try) 2>&5
22064 ++ { (case "(($ac_try" in
22065 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22066 ++ *) ac_try_echo=$ac_try;;
22067 ++esac
22068 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22069 ++ (eval "$ac_try") 2>&5
22070 + ac_status=$?
22071 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22072 + (exit $ac_status); }; }; then
22073 +@@ -18975,10 +22485,11 @@
22074 +
22075 + ncbi_cv_decl_inaddr_none=no
22076 + fi
22077 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22078 ++
22079 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22080 + fi
22081 +-echo "$as_me:$LINENO: result: $ncbi_cv_decl_inaddr_none" >&5
22082 +-echo "${ECHO_T}$ncbi_cv_decl_inaddr_none" >&6
22083 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_decl_inaddr_none" >&5
22084 ++echo "${ECHO_T}$ncbi_cv_decl_inaddr_none" >&6; }
22085 + if test "$ncbi_cv_decl_inaddr_none" != yes; then
22086 +
22087 + cat >>confdefs.h <<\_ACEOF
22088 +@@ -18987,8 +22498,8 @@
22089 +
22090 + fi
22091 +
22092 +-echo "$as_me:$LINENO: checking whether unaligned reads are permissible" >&5
22093 +-echo $ECHO_N "checking whether unaligned reads are permissible... $ECHO_C" >&6
22094 ++{ echo "$as_me:$LINENO: checking whether unaligned reads are permissible" >&5
22095 ++echo $ECHO_N "checking whether unaligned reads are permissible... $ECHO_C" >&6; }
22096 + if test "${ncbi_cv_sys_unaligned_reads+set}" = set; then
22097 + echo $ECHO_N "(cached) $ECHO_C" >&6
22098 + else
22099 +@@ -19015,13 +22526,22 @@
22100 + }
22101 + _ACEOF
22102 + rm -f conftest$ac_exeext
22103 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22104 +- (eval $ac_link) 2>&5
22105 ++if { (ac_try="$ac_link"
22106 ++case "(($ac_try" in
22107 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22108 ++ *) ac_try_echo=$ac_try;;
22109 ++esac
22110 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22111 ++ (eval "$ac_link") 2>&5
22112 + ac_status=$?
22113 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22115 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22116 +- (eval $ac_try) 2>&5
22117 ++ { (case "(($ac_try" in
22118 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22119 ++ *) ac_try_echo=$ac_try;;
22120 ++esac
22121 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22122 ++ (eval "$ac_try") 2>&5
22123 + ac_status=$?
22124 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125 + (exit $ac_status); }; }; then
22126 +@@ -19034,76 +22554,17 @@
22127 + ( exit $ac_status )
22128 + ncbi_cv_sys_unaligned_reads=no
22129 + fi
22130 +-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22131 +-fi
22132 +-fi
22133 +-echo "$as_me:$LINENO: result: $ncbi_cv_sys_unaligned_reads" >&5
22134 +-echo "${ECHO_T}$ncbi_cv_sys_unaligned_reads" >&6
22135 +-if test "$ncbi_cv_sys_unaligned_reads" = yes; then
22136 +-
22137 +-cat >>confdefs.h <<\_ACEOF
22138 +-#define HAVE_UNALIGNED_READS 1
22139 +-_ACEOF
22140 +-
22141 ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22142 + fi
22143 +
22144 +-echo "$as_me:$LINENO: checking whether $CXX supports C++0x nullptr" >&5
22145 +-echo $ECHO_N "checking whether $CXX supports C++0x nullptr... $ECHO_C" >&6
22146 +-if test "${ncbi_cv_cxx_nullptr+set}" = set; then
22147 +- echo $ECHO_N "(cached) $ECHO_C" >&6
22148 +-else
22149 +- cat >conftest.$ac_ext <<_ACEOF
22150 +-/* confdefs.h. */
22151 +-_ACEOF
22152 +-cat confdefs.h >>conftest.$ac_ext
22153 +-cat >>conftest.$ac_ext <<_ACEOF
22154 +-/* end confdefs.h. */
22155 +-
22156 +-int
22157 +-main ()
22158 +-{
22159 +-void * p = nullptr;
22160 +- ;
22161 +- return 0;
22162 +-}
22163 +-_ACEOF
22164 +-rm -f conftest.$ac_objext
22165 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22166 +- (eval $ac_compile) 2>conftest.er1
22167 +- ac_status=$?
22168 +- grep -v '^ *+' conftest.er1 >conftest.err
22169 +- rm -f conftest.er1
22170 +- cat conftest.err >&5
22171 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
22172 +- (exit $ac_status); } &&
22173 +- { ac_try='test -z "$ac_cxx_werror_flag"
22174 +- || test ! -s conftest.err'
22175 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22176 +- (eval $ac_try) 2>&5
22177 +- ac_status=$?
22178 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 +- (exit $ac_status); }; } &&
22180 +- { ac_try='test -s conftest.$ac_objext'
22181 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22182 +- (eval $ac_try) 2>&5
22183 +- ac_status=$?
22184 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
22185 +- (exit $ac_status); }; }; then
22186 +- ncbi_cv_cxx_nullptr=yes
22187 +-else
22188 +- echo "$as_me: failed program was:" >&5
22189 +-sed 's/^/| /' conftest.$ac_ext >&5
22190 +
22191 +-ncbi_cv_cxx_nullptr=no
22192 +-fi
22193 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22194 + fi
22195 +-echo "$as_me:$LINENO: result: $ncbi_cv_cxx_nullptr" >&5
22196 +-echo "${ECHO_T}$ncbi_cv_cxx_nullptr" >&6
22197 +-if test "$ncbi_cv_cxx_nullptr" = yes; then
22198 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_sys_unaligned_reads" >&5
22199 ++echo "${ECHO_T}$ncbi_cv_sys_unaligned_reads" >&6; }
22200 ++if test "$ncbi_cv_sys_unaligned_reads" = yes; then
22201 +
22202 + cat >>confdefs.h <<\_ACEOF
22203 +-#define HAVE_NULLPTR 1
22204 ++#define HAVE_UNALIGNED_READS 1
22205 + _ACEOF
22206 +
22207 + fi
22208 +@@ -19112,23 +22573,23 @@
22209 + ### --------------------------------------------
22210 +
22211 +
22212 +-echo "$as_me:$LINENO: checking whether in-house NCBI resources are available" >&5
22213 +-echo $ECHO_N "checking whether in-house NCBI resources are available... $ECHO_C" >&6
22214 ++{ echo "$as_me:$LINENO: checking whether in-house NCBI resources are available" >&5
22215 ++echo $ECHO_N "checking whether in-house NCBI resources are available... $ECHO_C" >&6; }
22216 + if test -n "$orig_NCBI" -a -f "$orig_NCBI/.ncbirc" \
22217 + -a -d /am/coremake_builds/test_data; \
22218 + then
22219 + WithFeatures="$WithFeatures${WithFeaturesSep}in-house-resources"; WithFeaturesSep=" "
22220 +- echo "$as_me:$LINENO: result: yes" >&5
22221 +-echo "${ECHO_T}yes" >&6
22222 ++ { echo "$as_me:$LINENO: result: yes" >&5
22223 ++echo "${ECHO_T}yes" >&6; }
22224 + else
22225 +- echo "$as_me:$LINENO: result: no" >&5
22226 +-echo "${ECHO_T}no" >&6
22227 ++ { echo "$as_me:$LINENO: result: no" >&5
22228 ++echo "${ECHO_T}no" >&6; }
22229 + fi
22230 +
22231 + ### Common-use system and miscellaneous libs
22232 + if test -z "${NETWORK_LIBS+set}"; then
22233 +- echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22234 +-echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22235 ++ { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22236 ++echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
22237 + if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22238 + echo $ECHO_N "(cached) $ECHO_C" >&6
22239 + else
22240 +@@ -19141,40 +22602,52 @@
22241 + cat >>conftest.$ac_ext <<_ACEOF
22242 + /* end confdefs.h. */
22243 +
22244 +-/* Override any gcc2 internal prototype to avoid an error. */
22245 ++/* Override any GCC internal prototype to avoid an error.
22246 ++ Use char because int might match the return type of a GCC
22247 ++ builtin and then its argument prototype would still apply. */
22248 + #ifdef __cplusplus
22249 + extern "C"
22250 + #endif
22251 +-/* We use char because int might match the return type of a gcc2
22252 +- builtin and then its argument prototype would still apply. */
22253 + char gethostbyname ();
22254 + int
22255 + main ()
22256 + {
22257 +-gethostbyname ();
22258 ++return gethostbyname ();
22259 + ;
22260 + return 0;
22261 + }
22262 + _ACEOF
22263 + rm -f conftest.$ac_objext conftest$ac_exeext
22264 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22265 +- (eval $ac_link) 2>conftest.er1
22266 ++if { (ac_try="$ac_link"
22267 ++case "(($ac_try" in
22268 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22269 ++ *) ac_try_echo=$ac_try;;
22270 ++esac
22271 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22272 ++ (eval "$ac_link") 2>conftest.er1
22273 + ac_status=$?
22274 + grep -v '^ *+' conftest.er1 >conftest.err
22275 + rm -f conftest.er1
22276 + cat conftest.err >&5
22277 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278 + (exit $ac_status); } &&
22279 +- { ac_try='test -z "$ac_cxx_werror_flag"
22280 +- || test ! -s conftest.err'
22281 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22282 +- (eval $ac_try) 2>&5
22283 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22284 ++ { (case "(($ac_try" in
22285 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22286 ++ *) ac_try_echo=$ac_try;;
22287 ++esac
22288 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22289 ++ (eval "$ac_try") 2>&5
22290 + ac_status=$?
22291 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22292 + (exit $ac_status); }; } &&
22293 + { ac_try='test -s conftest$ac_exeext'
22294 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22295 +- (eval $ac_try) 2>&5
22296 ++ { (case "(($ac_try" in
22297 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22298 ++ *) ac_try_echo=$ac_try;;
22299 ++esac
22300 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22301 ++ (eval "$ac_try") 2>&5
22302 + ac_status=$?
22303 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22304 + (exit $ac_status); }; }; then
22305 +@@ -19185,20 +22658,21 @@
22306 +
22307 + ac_cv_lib_nsl_gethostbyname=no
22308 + fi
22309 +-rm -f conftest.err conftest.$ac_objext \
22310 ++
22311 ++rm -f core conftest.err conftest.$ac_objext \
22312 + conftest$ac_exeext conftest.$ac_ext
22313 + LIBS=$ac_check_lib_save_LIBS
22314 + fi
22315 +-echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22316 +-echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22317 ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22318 ++echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
22319 + if test $ac_cv_lib_nsl_gethostbyname = yes; then
22320 + libnsl=-lnsl
22321 + else
22322 + libnsl=
22323 + fi
22324 +
22325 +- echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22326 +-echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22327 ++ { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22328 ++echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
22329 + if test "${ac_cv_lib_socket_connect+set}" = set; then
22330 + echo $ECHO_N "(cached) $ECHO_C" >&6
22331 + else
22332 +@@ -19211,40 +22685,52 @@
22333 + cat >>conftest.$ac_ext <<_ACEOF
22334 + /* end confdefs.h. */
22335 +
22336 +-/* Override any gcc2 internal prototype to avoid an error. */
22337 ++/* Override any GCC internal prototype to avoid an error.
22338 ++ Use char because int might match the return type of a GCC
22339 ++ builtin and then its argument prototype would still apply. */
22340 + #ifdef __cplusplus
22341 + extern "C"
22342 + #endif
22343 +-/* We use char because int might match the return type of a gcc2
22344 +- builtin and then its argument prototype would still apply. */
22345 + char connect ();
22346 + int
22347 + main ()
22348 + {
22349 +-connect ();
22350 ++return connect ();
22351 + ;
22352 + return 0;
22353 + }
22354 + _ACEOF
22355 + rm -f conftest.$ac_objext conftest$ac_exeext
22356 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22357 +- (eval $ac_link) 2>conftest.er1
22358 ++if { (ac_try="$ac_link"
22359 ++case "(($ac_try" in
22360 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22361 ++ *) ac_try_echo=$ac_try;;
22362 ++esac
22363 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22364 ++ (eval "$ac_link") 2>conftest.er1
22365 + ac_status=$?
22366 + grep -v '^ *+' conftest.er1 >conftest.err
22367 + rm -f conftest.er1
22368 + cat conftest.err >&5
22369 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 + (exit $ac_status); } &&
22371 +- { ac_try='test -z "$ac_cxx_werror_flag"
22372 +- || test ! -s conftest.err'
22373 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22374 +- (eval $ac_try) 2>&5
22375 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22376 ++ { (case "(($ac_try" in
22377 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22378 ++ *) ac_try_echo=$ac_try;;
22379 ++esac
22380 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22381 ++ (eval "$ac_try") 2>&5
22382 + ac_status=$?
22383 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 + (exit $ac_status); }; } &&
22385 + { ac_try='test -s conftest$ac_exeext'
22386 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22387 +- (eval $ac_try) 2>&5
22388 ++ { (case "(($ac_try" in
22389 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22390 ++ *) ac_try_echo=$ac_try;;
22391 ++esac
22392 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22393 ++ (eval "$ac_try") 2>&5
22394 + ac_status=$?
22395 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396 + (exit $ac_status); }; }; then
22397 +@@ -19255,12 +22741,13 @@
22398 +
22399 + ac_cv_lib_socket_connect=no
22400 + fi
22401 +-rm -f conftest.err conftest.$ac_objext \
22402 ++
22403 ++rm -f core conftest.err conftest.$ac_objext \
22404 + conftest$ac_exeext conftest.$ac_ext
22405 + LIBS=$ac_check_lib_save_LIBS
22406 + fi
22407 +-echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22408 +-echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22409 ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22410 ++echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
22411 + if test $ac_cv_lib_socket_connect = yes; then
22412 + NETWORK_LIBS="-lsocket $libnsl"
22413 + else
22414 +@@ -19268,8 +22755,8 @@
22415 + fi
22416 +
22417 + fi
22418 +-echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
22419 +-echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6
22420 ++{ echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
22421 ++echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; }
22422 + if test "${ac_cv_lib_resolv_res_search+set}" = set; then
22423 + echo $ECHO_N "(cached) $ECHO_C" >&6
22424 + else
22425 +@@ -19292,24 +22779,36 @@
22426 + }
22427 + _ACEOF
22428 + rm -f conftest.$ac_objext conftest$ac_exeext
22429 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22430 +- (eval $ac_link) 2>conftest.er1
22431 ++if { (ac_try="$ac_link"
22432 ++case "(($ac_try" in
22433 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22434 ++ *) ac_try_echo=$ac_try;;
22435 ++esac
22436 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22437 ++ (eval "$ac_link") 2>conftest.er1
22438 + ac_status=$?
22439 + grep -v '^ *+' conftest.er1 >conftest.err
22440 + rm -f conftest.er1
22441 + cat conftest.err >&5
22442 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22443 + (exit $ac_status); } &&
22444 +- { ac_try='test -z "$ac_cxx_werror_flag"
22445 +- || test ! -s conftest.err'
22446 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22447 +- (eval $ac_try) 2>&5
22448 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22449 ++ { (case "(($ac_try" in
22450 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22451 ++ *) ac_try_echo=$ac_try;;
22452 ++esac
22453 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 ++ { (case "(($ac_try" in
22462 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22463 ++ *) ac_try_echo=$ac_try;;
22464 ++esac
22465 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22466 ++ (eval "$ac_try") 2>&5
22467 + ac_status=$?
22468 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22469 + (exit $ac_status); }; }; then
22470 +@@ -19320,12 +22819,13 @@
22471 +
22472 + ac_cv_lib_resolv_res_search=no
22473 + fi
22474 +-rm -f conftest.err conftest.$ac_objext \
22475 ++
22476 ++rm -f core conftest.err conftest.$ac_objext \
22477 + conftest$ac_exeext conftest.$ac_ext
22478 + LIBS=$orig_LIBS
22479 + fi
22480 +-echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5
22481 +-echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6
22482 ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5
22483 ++echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6; }
22484 + if test "$ac_cv_lib_resolv_res_search" = "yes"; then
22485 + RESOLVER_LIBS=-lresolv
22486 + else
22487 +@@ -19338,9 +22838,9 @@
22488 + for ac_func in inet_ntoa_r
22489 + do
22490 + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22491 +-echo "$as_me:$LINENO: checking for $ac_func" >&5
22492 +-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22493 +-if eval "test \"\${$as_ac_var+set}\" = set"; then
22494 ++{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22495 ++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22496 ++if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22497 + echo $ECHO_N "(cached) $ECHO_C" >&6
22498 + else
22499 + cat >conftest.$ac_ext <<_ACEOF
22500 +@@ -19366,53 +22866,59 @@
22501 +
22502 + #undef $ac_func
22503 +
22504 +-/* Override any gcc2 internal prototype to avoid an error. */
22505 ++/* Override any GCC internal prototype to avoid an error.
22506 ++ Use char because int might match the return type of a GCC
22507 ++ builtin and then its argument prototype would still apply. */
22508 + #ifdef __cplusplus
22509 + extern "C"
22510 +-{
22511 + #endif
22512 +-/* We use char because int might match the return type of a gcc2
22513 +- builtin and then its argument prototype would still apply. */
22514 + char $ac_func ();
22515 + /* The GNU C library defines this for functions which it implements
22516 + to always fail with ENOSYS. Some functions are actually named
22517 + something starting with __ and the normal name is an alias. */
22518 +-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22519 ++#if defined __stub_$ac_func || defined __stub___$ac_func
22520 + choke me
22521 +-#else
22522 +-char (*f) () = $ac_func;
22523 +-#endif
22524 +-#ifdef __cplusplus
22525 +-}
22526 + #endif
22527 +
22528 + int
22529 + main ()
22530 + {
22531 +-return f != $ac_func;
22532 ++return $ac_func ();
22533 + ;
22534 + return 0;
22535 + }
22536 + _ACEOF
22537 + rm -f conftest.$ac_objext conftest$ac_exeext
22538 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22539 +- (eval $ac_link) 2>conftest.er1
22540 ++if { (ac_try="$ac_link"
22541 ++case "(($ac_try" in
22542 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22543 ++ *) ac_try_echo=$ac_try;;
22544 ++esac
22545 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22546 ++ (eval "$ac_link") 2>conftest.er1
22547 + ac_status=$?
22548 + grep -v '^ *+' conftest.er1 >conftest.err
22549 + rm -f conftest.er1
22550 + cat conftest.err >&5
22551 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22552 + (exit $ac_status); } &&
22553 +- { ac_try='test -z "$ac_cxx_werror_flag"
22554 +- || test ! -s conftest.err'
22555 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22556 +- (eval $ac_try) 2>&5
22557 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22558 ++ { (case "(($ac_try" in
22559 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22560 ++ *) ac_try_echo=$ac_try;;
22561 ++esac
22562 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22563 ++ (eval "$ac_try") 2>&5
22564 + ac_status=$?
22565 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22566 + (exit $ac_status); }; } &&
22567 + { ac_try='test -s conftest$ac_exeext'
22568 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22569 +- (eval $ac_try) 2>&5
22570 ++ { (case "(($ac_try" in
22571 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22572 ++ *) ac_try_echo=$ac_try;;
22573 ++esac
22574 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22575 ++ (eval "$ac_try") 2>&5
22576 + ac_status=$?
22577 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22578 + (exit $ac_status); }; }; then
22579 +@@ -19423,11 +22929,13 @@
22580 +
22581 + eval "$as_ac_var=no"
22582 + fi
22583 +-rm -f conftest.err conftest.$ac_objext \
22584 ++
22585 ++rm -f core conftest.err conftest.$ac_objext \
22586 + conftest$ac_exeext conftest.$ac_ext
22587 + fi
22588 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22589 +-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22590 ++ac_res=`eval echo '${'$as_ac_var'}'`
22591 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
22592 ++echo "${ECHO_T}$ac_res" >&6; }
22593 + if test `eval echo '${'$as_ac_var'}'` = yes; then
22594 + cat >>confdefs.h <<_ACEOF
22595 + #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22596 +@@ -19436,8 +22944,8 @@
22597 + fi
22598 + done
22599 +
22600 +-echo "$as_me:$LINENO: checking for getaddrinfo" >&5
22601 +-echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6
22602 ++{ echo "$as_me:$LINENO: checking for getaddrinfo" >&5
22603 ++echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6; }
22604 + if test "${ac_cv_func_getaddrinfo+set}" = set; then
22605 + echo $ECHO_N "(cached) $ECHO_C" >&6
22606 + else
22607 +@@ -19457,24 +22965,36 @@
22608 + }
22609 + _ACEOF
22610 + rm -f conftest.$ac_objext conftest$ac_exeext
22611 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22612 +- (eval $ac_link) 2>conftest.er1
22613 ++if { (ac_try="$ac_link"
22614 ++case "(($ac_try" in
22615 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22616 ++ *) ac_try_echo=$ac_try;;
22617 ++esac
22618 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22619 ++ (eval "$ac_link") 2>conftest.er1
22620 + ac_status=$?
22621 + grep -v '^ *+' conftest.er1 >conftest.err
22622 + rm -f conftest.er1
22623 + cat conftest.err >&5
22624 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625 + (exit $ac_status); } &&
22626 +- { ac_try='test -z "$ac_cxx_werror_flag"
22627 +- || test ! -s conftest.err'
22628 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22629 +- (eval $ac_try) 2>&5
22630 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22631 ++ { (case "(($ac_try" in
22632 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22633 ++ *) ac_try_echo=$ac_try;;
22634 ++esac
22635 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22636 ++ (eval "$ac_try") 2>&5
22637 + ac_status=$?
22638 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22639 + (exit $ac_status); }; } &&
22640 + { ac_try='test -s conftest$ac_exeext'
22641 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22642 +- (eval $ac_try) 2>&5
22643 ++ { (case "(($ac_try" in
22644 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22645 ++ *) ac_try_echo=$ac_try;;
22646 ++esac
22647 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22648 ++ (eval "$ac_try") 2>&5
22649 + ac_status=$?
22650 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22651 + (exit $ac_status); }; }; then
22652 +@@ -19485,19 +23005,20 @@
22653 +
22654 + ac_cv_func_getaddrinfo=no
22655 + fi
22656 +-rm -f conftest.err conftest.$ac_objext \
22657 ++
22658 ++rm -f core conftest.err conftest.$ac_objext \
22659 + conftest$ac_exeext conftest.$ac_ext
22660 + fi
22661 +-echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
22662 +-echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6
22663 ++{ echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
22664 ++echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6; }
22665 + test "$ac_cv_func_getaddrinfo" = "yes" && \
22666 +
22667 + cat >>confdefs.h <<\_ACEOF
22668 + #define HAVE_GETADDRINFO 1
22669 + _ACEOF
22670 +
22671 +-echo "$as_me:$LINENO: checking for getnameinfo" >&5
22672 +-echo $ECHO_N "checking for getnameinfo... $ECHO_C" >&6
22673 ++{ echo "$as_me:$LINENO: checking for getnameinfo" >&5
22674 ++echo $ECHO_N "checking for getnameinfo... $ECHO_C" >&6; }
22675 + if test "${ac_cv_func_getnameinfo+set}" = set; then
22676 + echo $ECHO_N "(cached) $ECHO_C" >&6
22677 + else
22678 +@@ -19520,24 +23041,36 @@
22679 + }
22680 + _ACEOF
22681 + rm -f conftest.$ac_objext conftest$ac_exeext
22682 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22683 +- (eval $ac_link) 2>conftest.er1
22684 ++if { (ac_try="$ac_link"
22685 ++case "(($ac_try" in
22686 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22687 ++ *) ac_try_echo=$ac_try;;
22688 ++esac
22689 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22690 ++ (eval "$ac_link") 2>conftest.er1
22691 + ac_status=$?
22692 + grep -v '^ *+' conftest.er1 >conftest.err
22693 + rm -f conftest.er1
22694 + cat conftest.err >&5
22695 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22696 + (exit $ac_status); } &&
22697 +- { ac_try='test -z "$ac_cxx_werror_flag"
22698 +- || test ! -s conftest.err'
22699 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22700 +- (eval $ac_try) 2>&5
22701 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22702 ++ { (case "(($ac_try" in
22703 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22704 ++ *) ac_try_echo=$ac_try;;
22705 ++esac
22706 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22707 ++ (eval "$ac_try") 2>&5
22708 + ac_status=$?
22709 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 + (exit $ac_status); }; } &&
22711 + { ac_try='test -s conftest$ac_exeext'
22712 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22713 +- (eval $ac_try) 2>&5
22714 ++ { (case "(($ac_try" in
22715 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22716 ++ *) ac_try_echo=$ac_try;;
22717 ++esac
22718 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22719 ++ (eval "$ac_try") 2>&5
22720 + ac_status=$?
22721 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22722 + (exit $ac_status); }; }; then
22723 +@@ -19548,11 +23081,12 @@
22724 +
22725 + ac_cv_func_getnameinfo=no
22726 + fi
22727 +-rm -f conftest.err conftest.$ac_objext \
22728 ++
22729 ++rm -f core conftest.err conftest.$ac_objext \
22730 + conftest$ac_exeext conftest.$ac_ext
22731 + fi
22732 +-echo "$as_me:$LINENO: result: $ac_cv_func_getnameinfo" >&5
22733 +-echo "${ECHO_T}$ac_cv_func_getnameinfo" >&6
22734 ++{ echo "$as_me:$LINENO: result: $ac_cv_func_getnameinfo" >&5
22735 ++echo "${ECHO_T}$ac_cv_func_getnameinfo" >&6; }
22736 + test "$ac_cv_func_getnameinfo" = "yes" && \
22737 +
22738 + cat >>confdefs.h <<\_ACEOF
22739 +@@ -19568,9 +23102,9 @@
22740 + inet_ntop
22741 + do
22742 + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22743 +-echo "$as_me:$LINENO: checking for $ac_func" >&5
22744 +-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22745 +-if eval "test \"\${$as_ac_var+set}\" = set"; then
22746 ++{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22747 ++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22748 ++if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22749 + echo $ECHO_N "(cached) $ECHO_C" >&6
22750 + else
22751 + cat >conftest.$ac_ext <<_ACEOF
22752 +@@ -19596,53 +23130,59 @@
22753 +
22754 + #undef $ac_func
22755 +
22756 +-/* Override any gcc2 internal prototype to avoid an error. */
22757 ++/* Override any GCC internal prototype to avoid an error.
22758 ++ Use char because int might match the return type of a GCC
22759 ++ builtin and then its argument prototype would still apply. */
22760 + #ifdef __cplusplus
22761 + extern "C"
22762 +-{
22763 + #endif
22764 +-/* We use char because int might match the return type of a gcc2
22765 +- builtin and then its argument prototype would still apply. */
22766 + char $ac_func ();
22767 + /* The GNU C library defines this for functions which it implements
22768 + to always fail with ENOSYS. Some functions are actually named
22769 + something starting with __ and the normal name is an alias. */
22770 +-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22771 ++#if defined __stub_$ac_func || defined __stub___$ac_func
22772 + choke me
22773 +-#else
22774 +-char (*f) () = $ac_func;
22775 +-#endif
22776 +-#ifdef __cplusplus
22777 +-}
22778 + #endif
22779 +
22780 + int
22781 + main ()
22782 + {
22783 +-return f != $ac_func;
22784 ++return $ac_func ();
22785 + ;
22786 + return 0;
22787 + }
22788 + _ACEOF
22789 + rm -f conftest.$ac_objext conftest$ac_exeext
22790 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22791 +- (eval $ac_link) 2>conftest.er1
22792 ++if { (ac_try="$ac_link"
22793 ++case "(($ac_try" in
22794 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22795 ++ *) ac_try_echo=$ac_try;;
22796 ++esac
22797 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22798 ++ (eval "$ac_link") 2>conftest.er1
22799 + ac_status=$?
22800 + grep -v '^ *+' conftest.er1 >conftest.err
22801 + rm -f conftest.er1
22802 + cat conftest.err >&5
22803 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22804 + (exit $ac_status); } &&
22805 +- { ac_try='test -z "$ac_cxx_werror_flag"
22806 +- || test ! -s conftest.err'
22807 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22808 +- (eval $ac_try) 2>&5
22809 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22810 ++ { (case "(($ac_try" in
22811 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22812 ++ *) ac_try_echo=$ac_try;;
22813 ++esac
22814 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22815 ++ (eval "$ac_try") 2>&5
22816 + ac_status=$?
22817 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22818 + (exit $ac_status); }; } &&
22819 + { ac_try='test -s conftest$ac_exeext'
22820 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22821 +- (eval $ac_try) 2>&5
22822 ++ { (case "(($ac_try" in
22823 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22824 ++ *) ac_try_echo=$ac_try;;
22825 ++esac
22826 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22827 ++ (eval "$ac_try") 2>&5
22828 + ac_status=$?
22829 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22830 + (exit $ac_status); }; }; then
22831 +@@ -19653,11 +23193,13 @@
22832 +
22833 + eval "$as_ac_var=no"
22834 + fi
22835 +-rm -f conftest.err conftest.$ac_objext \
22836 ++
22837 ++rm -f core conftest.err conftest.$ac_objext \
22838 + conftest$ac_exeext conftest.$ac_ext
22839 + fi
22840 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22841 +-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22842 ++ac_res=`eval echo '${'$as_ac_var'}'`
22843 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
22844 ++echo "${ECHO_T}$ac_res" >&6; }
22845 + if test `eval echo '${'$as_ac_var'}'` = yes; then
22846 + cat >>confdefs.h <<_ACEOF
22847 + #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22848 +@@ -19680,9 +23222,9 @@
22849 + for ac_func in erf
22850 + do
22851 + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22852 +-echo "$as_me:$LINENO: checking for $ac_func" >&5
22853 +-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22854 +-if eval "test \"\${$as_ac_var+set}\" = set"; then
22855 ++{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22856 ++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22857 ++if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22858 + echo $ECHO_N "(cached) $ECHO_C" >&6
22859 + else
22860 + cat >conftest.$ac_ext <<_ACEOF
22861 +@@ -19708,53 +23250,59 @@
22862 +
22863 + #undef $ac_func
22864 +
22865 +-/* Override any gcc2 internal prototype to avoid an error. */
22866 ++/* Override any GCC internal prototype to avoid an error.
22867 ++ Use char because int might match the return type of a GCC
22868 ++ builtin and then its argument prototype would still apply. */
22869 + #ifdef __cplusplus
22870 + extern "C"
22871 +-{
22872 + #endif
22873 +-/* We use char because int might match the return type of a gcc2
22874 +- builtin and then its argument prototype would still apply. */
22875 + char $ac_func ();
22876 + /* The GNU C library defines this for functions which it implements
22877 + to always fail with ENOSYS. Some functions are actually named
22878 + something starting with __ and the normal name is an alias. */
22879 +-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22880 ++#if defined __stub_$ac_func || defined __stub___$ac_func
22881 + choke me
22882 +-#else
22883 +-char (*f) () = $ac_func;
22884 +-#endif
22885 +-#ifdef __cplusplus
22886 +-}
22887 + #endif
22888 +
22889 + int
22890 + main ()
22891 + {
22892 +-return f != $ac_func;
22893 ++return $ac_func ();
22894 + ;
22895 + return 0;
22896 + }
22897 + _ACEOF
22898 + rm -f conftest.$ac_objext conftest$ac_exeext
22899 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22900 +- (eval $ac_link) 2>conftest.er1
22901 ++if { (ac_try="$ac_link"
22902 ++case "(($ac_try" in
22903 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22904 ++ *) ac_try_echo=$ac_try;;
22905 ++esac
22906 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22907 ++ (eval "$ac_link") 2>conftest.er1
22908 + ac_status=$?
22909 + grep -v '^ *+' conftest.er1 >conftest.err
22910 + rm -f conftest.er1
22911 + cat conftest.err >&5
22912 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 + (exit $ac_status); } &&
22914 +- { ac_try='test -z "$ac_cxx_werror_flag"
22915 +- || test ! -s conftest.err'
22916 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22917 +- (eval $ac_try) 2>&5
22918 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22919 ++ { (case "(($ac_try" in
22920 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22921 ++ *) ac_try_echo=$ac_try;;
22922 ++esac
22923 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22924 ++ (eval "$ac_try") 2>&5
22925 + ac_status=$?
22926 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22927 + (exit $ac_status); }; } &&
22928 + { ac_try='test -s conftest$ac_exeext'
22929 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22930 +- (eval $ac_try) 2>&5
22931 ++ { (case "(($ac_try" in
22932 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22933 ++ *) ac_try_echo=$ac_try;;
22934 ++esac
22935 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22936 ++ (eval "$ac_try") 2>&5
22937 + ac_status=$?
22938 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22939 + (exit $ac_status); }; }; then
22940 +@@ -19765,11 +23313,13 @@
22941 +
22942 + eval "$as_ac_var=no"
22943 + fi
22944 +-rm -f conftest.err conftest.$ac_objext \
22945 ++
22946 ++rm -f core conftest.err conftest.$ac_objext \
22947 + conftest$ac_exeext conftest.$ac_ext
22948 + fi
22949 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22950 +-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22951 ++ac_res=`eval echo '${'$as_ac_var'}'`
22952 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
22953 ++echo "${ECHO_T}$ac_res" >&6; }
22954 + if test `eval echo '${'$as_ac_var'}'` = yes; then
22955 + cat >>confdefs.h <<_ACEOF
22956 + #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22957 +@@ -19780,13 +23330,12 @@
22958 +
22959 +
22960 + saved_LIBS=$LIBS
22961 +- echo "$as_me:$LINENO: checking for library containing kstat_open" >&5
22962 +-echo $ECHO_N "checking for library containing kstat_open... $ECHO_C" >&6
22963 ++ { echo "$as_me:$LINENO: checking for library containing kstat_open" >&5
22964 ++echo $ECHO_N "checking for library containing kstat_open... $ECHO_C" >&6; }
22965 + if test "${ac_cv_search_kstat_open+set}" = set; then
22966 + echo $ECHO_N "(cached) $ECHO_C" >&6
22967 + else
22968 + ac_func_search_save_LIBS=$LIBS
22969 +-ac_cv_search_kstat_open=no
22970 + cat >conftest.$ac_ext <<_ACEOF
22971 + /* confdefs.h. */
22972 + _ACEOF
22973 +@@ -19794,54 +23343,106 @@
22974 + cat >>conftest.$ac_ext <<_ACEOF
22975 + /* end confdefs.h. */
22976 +
22977 +-/* Override any gcc2 internal prototype to avoid an error. */
22978 ++/* Override any GCC internal prototype to avoid an error.
22979 ++ Use char because int might match the return type of a GCC
22980 ++ builtin and then its argument prototype would still apply. */
22981 + #ifdef __cplusplus
22982 + extern "C"
22983 + #endif
22984 +-/* We use char because int might match the return type of a gcc2
22985 +- builtin and then its argument prototype would still apply. */
22986 + char kstat_open ();
22987 + int
22988 + main ()
22989 + {
22990 +-kstat_open ();
22991 ++return kstat_open ();
22992 + ;
22993 + return 0;
22994 + }
22995 + _ACEOF
22996 ++for ac_lib in '' "$KSTAT_LIBS" kstat; do
22997 ++ if test -z "$ac_lib"; then
22998 ++ ac_res="none required"
22999 ++ else
23000 ++ ac_res=-l$ac_lib
23001 ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23002 ++ fi
23003 + rm -f conftest.$ac_objext conftest$ac_exeext
23004 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23005 +- (eval $ac_link) 2>conftest.er1
23006 ++if { (ac_try="$ac_link"
23007 ++case "(($ac_try" in
23008 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23009 ++ *) ac_try_echo=$ac_try;;
23010 ++esac
23011 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23012 ++ (eval "$ac_link") 2>conftest.er1
23013 + ac_status=$?
23014 + grep -v '^ *+' conftest.er1 >conftest.err
23015 + rm -f conftest.er1
23016 + cat conftest.err >&5
23017 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23018 + (exit $ac_status); } &&
23019 +- { ac_try='test -z "$ac_cxx_werror_flag"
23020 +- || test ! -s conftest.err'
23021 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23022 +- (eval $ac_try) 2>&5
23023 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23024 ++ { (case "(($ac_try" in
23025 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23026 ++ *) ac_try_echo=$ac_try;;
23027 ++esac
23028 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23029 ++ (eval "$ac_try") 2>&5
23030 + ac_status=$?
23031 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23032 + (exit $ac_status); }; } &&
23033 + { ac_try='test -s conftest$ac_exeext'
23034 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23035 +- (eval $ac_try) 2>&5
23036 ++ { (case "(($ac_try" in
23037 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23038 ++ *) ac_try_echo=$ac_try;;
23039 ++esac
23040 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23041 ++ (eval "$ac_try") 2>&5
23042 + ac_status=$?
23043 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23044 + (exit $ac_status); }; }; then
23045 +- ac_cv_search_kstat_open="none required"
23046 ++ ac_cv_search_kstat_open=$ac_res
23047 + else
23048 + echo "$as_me: failed program was:" >&5
23049 + sed 's/^/| /' conftest.$ac_ext >&5
23050 +
23051 ++
23052 + fi
23053 +-rm -f conftest.err conftest.$ac_objext \
23054 +- conftest$ac_exeext conftest.$ac_ext
23055 +-if test "$ac_cv_search_kstat_open" = no; then
23056 +- for ac_lib in "$KSTAT_LIBS" kstat; do
23057 +- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23058 ++
23059 ++rm -f core conftest.err conftest.$ac_objext \
23060 ++ conftest$ac_exeext
23061 ++ if test "${ac_cv_search_kstat_open+set}" = set; then
23062 ++ break
23063 ++fi
23064 ++done
23065 ++if test "${ac_cv_search_kstat_open+set}" = set; then
23066 ++ :
23067 ++else
23068 ++ ac_cv_search_kstat_open=no
23069 ++fi
23070 ++rm conftest.$ac_ext
23071 ++LIBS=$ac_func_search_save_LIBS
23072 ++fi
23073 ++{ echo "$as_me:$LINENO: result: $ac_cv_search_kstat_open" >&5
23074 ++echo "${ECHO_T}$ac_cv_search_kstat_open" >&6; }
23075 ++ac_res=$ac_cv_search_kstat_open
23076 ++if test "$ac_res" != no; then
23077 ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23078 ++
23079 ++cat >>confdefs.h <<\_ACEOF
23080 ++#define HAVE_LIBKSTAT 1
23081 ++_ACEOF
23082 ++
23083 ++ test "x$ac_cv_search_kstat_open" = "xnone required" || KSTAT_LIBS=$ac_cv_search_kstat_open
23084 ++fi
23085 ++
23086 ++ LIBS=$saved_LIBS
23087 ++
23088 ++saved_LIBS=$LIBS
23089 ++ { echo "$as_me:$LINENO: checking for library containing rstat" >&5
23090 ++echo $ECHO_N "checking for library containing rstat... $ECHO_C" >&6; }
23091 ++if test "${ac_cv_search_rstat+set}" = set; then
23092 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
23093 ++else
23094 ++ ac_func_search_save_LIBS=$LIBS
23095 + cat >conftest.$ac_ext <<_ACEOF
23096 + /* confdefs.h. */
23097 + _ACEOF
23098 +@@ -19849,78 +23450,114 @@
23099 + cat >>conftest.$ac_ext <<_ACEOF
23100 + /* end confdefs.h. */
23101 +
23102 +-/* Override any gcc2 internal prototype to avoid an error. */
23103 ++/* Override any GCC internal prototype to avoid an error.
23104 ++ Use char because int might match the return type of a GCC
23105 ++ builtin and then its argument prototype would still apply. */
23106 + #ifdef __cplusplus
23107 + extern "C"
23108 + #endif
23109 +-/* We use char because int might match the return type of a gcc2
23110 +- builtin and then its argument prototype would still apply. */
23111 +-char kstat_open ();
23112 ++char rstat ();
23113 + int
23114 + main ()
23115 + {
23116 +-kstat_open ();
23117 ++return rstat ();
23118 + ;
23119 + return 0;
23120 + }
23121 + _ACEOF
23122 ++for ac_lib in '' "$RPCSVC_LIBS" rpcsvc; do
23123 ++ if test -z "$ac_lib"; then
23124 ++ ac_res="none required"
23125 ++ else
23126 ++ ac_res=-l$ac_lib
23127 ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23128 ++ fi
23129 + rm -f conftest.$ac_objext conftest$ac_exeext
23130 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23131 +- (eval $ac_link) 2>conftest.er1
23132 ++if { (ac_try="$ac_link"
23133 ++case "(($ac_try" in
23134 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23135 ++ *) ac_try_echo=$ac_try;;
23136 ++esac
23137 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23138 ++ (eval "$ac_link") 2>conftest.er1
23139 + ac_status=$?
23140 + grep -v '^ *+' conftest.er1 >conftest.err
23141 + rm -f conftest.er1
23142 + cat conftest.err >&5
23143 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23144 + (exit $ac_status); } &&
23145 +- { ac_try='test -z "$ac_cxx_werror_flag"
23146 +- || test ! -s conftest.err'
23147 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23148 +- (eval $ac_try) 2>&5
23149 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23150 ++ { (case "(($ac_try" in
23151 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23152 ++ *) ac_try_echo=$ac_try;;
23153 ++esac
23154 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23155 ++ (eval "$ac_try") 2>&5
23156 + ac_status=$?
23157 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158 + (exit $ac_status); }; } &&
23159 + { ac_try='test -s conftest$ac_exeext'
23160 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23161 +- (eval $ac_try) 2>&5
23162 ++ { (case "(($ac_try" in
23163 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23164 ++ *) ac_try_echo=$ac_try;;
23165 ++esac
23166 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23167 ++ (eval "$ac_try") 2>&5
23168 + ac_status=$?
23169 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23170 + (exit $ac_status); }; }; then
23171 +- ac_cv_search_kstat_open="-l$ac_lib"
23172 +-break
23173 ++ ac_cv_search_rstat=$ac_res
23174 + else
23175 + echo "$as_me: failed program was:" >&5
23176 + sed 's/^/| /' conftest.$ac_ext >&5
23177 +
23178 ++
23179 ++fi
23180 ++
23181 ++rm -f core conftest.err conftest.$ac_objext \
23182 ++ conftest$ac_exeext
23183 ++ if test "${ac_cv_search_rstat+set}" = set; then
23184 ++ break
23185 + fi
23186 +-rm -f conftest.err conftest.$ac_objext \
23187 +- conftest$ac_exeext conftest.$ac_ext
23188 + done
23189 ++if test "${ac_cv_search_rstat+set}" = set; then
23190 ++ :
23191 ++else
23192 ++ ac_cv_search_rstat=no
23193 + fi
23194 ++rm conftest.$ac_ext
23195 + LIBS=$ac_func_search_save_LIBS
23196 + fi
23197 +-echo "$as_me:$LINENO: result: $ac_cv_search_kstat_open" >&5
23198 +-echo "${ECHO_T}$ac_cv_search_kstat_open" >&6
23199 +-if test "$ac_cv_search_kstat_open" != no; then
23200 +- test "$ac_cv_search_kstat_open" = "none required" || LIBS="$ac_cv_search_kstat_open $LIBS"
23201 ++{ echo "$as_me:$LINENO: result: $ac_cv_search_rstat" >&5
23202 ++echo "${ECHO_T}$ac_cv_search_rstat" >&6; }
23203 ++ac_res=$ac_cv_search_rstat
23204 ++if test "$ac_res" != no; then
23205 ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23206 +
23207 + cat >>confdefs.h <<\_ACEOF
23208 +-#define HAVE_LIBKSTAT 1
23209 ++#define HAVE_LIBRPCSVC 1
23210 + _ACEOF
23211 +
23212 +- test "x$ac_cv_search_kstat_open" = "xnone required" || KSTAT_LIBS=$ac_cv_search_kstat_open
23213 ++ test "x$ac_cv_search_rstat" = "xnone required" || RPCSVC_LIBS=$ac_cv_search_rstat
23214 + fi
23215 +
23216 + LIBS=$saved_LIBS
23217 +
23218 ++ac_ext=c
23219 ++ac_cpp='$CPP $CPPFLAGS'
23220 ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23221 ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23222 ++ac_compiler_gnu=$ac_cv_c_compiler_gnu
23223 ++
23224 ++# Force C for this test because Sun WorkShop otherwise complains about
23225 ++# multiple extern "C" declarations of setkey.
23226 + saved_LIBS=$LIBS
23227 +- echo "$as_me:$LINENO: checking for library containing rstat" >&5
23228 +-echo $ECHO_N "checking for library containing rstat... $ECHO_C" >&6
23229 +-if test "${ac_cv_search_rstat+set}" = set; then
23230 ++ { echo "$as_me:$LINENO: checking for library containing setkey" >&5
23231 ++echo $ECHO_N "checking for library containing setkey... $ECHO_C" >&6; }
23232 ++if test "${ac_cv_search_setkey+set}" = set; then
23233 + echo $ECHO_N "(cached) $ECHO_C" >&6
23234 + else
23235 + ac_func_search_save_LIBS=$LIBS
23236 +-ac_cv_search_rstat=no
23237 + cat >conftest.$ac_ext <<_ACEOF
23238 + /* confdefs.h. */
23239 + _ACEOF
23240 +@@ -19928,54 +23565,116 @@
23241 + cat >>conftest.$ac_ext <<_ACEOF
23242 + /* end confdefs.h. */
23243 +
23244 +-/* Override any gcc2 internal prototype to avoid an error. */
23245 ++/* Override any GCC internal prototype to avoid an error.
23246 ++ Use char because int might match the return type of a GCC
23247 ++ builtin and then its argument prototype would still apply. */
23248 + #ifdef __cplusplus
23249 + extern "C"
23250 + #endif
23251 +-/* We use char because int might match the return type of a gcc2
23252 +- builtin and then its argument prototype would still apply. */
23253 +-char rstat ();
23254 ++char setkey ();
23255 + int
23256 + main ()
23257 + {
23258 +-rstat ();
23259 ++return setkey ();
23260 + ;
23261 + return 0;
23262 + }
23263 + _ACEOF
23264 ++for ac_lib in '' "$CRYPT_LIBS" crypt crypt_i; do
23265 ++ if test -z "$ac_lib"; then
23266 ++ ac_res="none required"
23267 ++ else
23268 ++ ac_res=-l$ac_lib
23269 ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23270 ++ fi
23271 + rm -f conftest.$ac_objext conftest$ac_exeext
23272 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23273 +- (eval $ac_link) 2>conftest.er1
23274 ++if { (ac_try="$ac_link"
23275 ++case "(($ac_try" in
23276 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23277 ++ *) ac_try_echo=$ac_try;;
23278 ++esac
23279 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23280 ++ (eval "$ac_link") 2>conftest.er1
23281 + ac_status=$?
23282 + grep -v '^ *+' conftest.er1 >conftest.err
23283 + rm -f conftest.er1
23284 + cat conftest.err >&5
23285 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23286 + (exit $ac_status); } &&
23287 +- { ac_try='test -z "$ac_cxx_werror_flag"
23288 +- || test ! -s conftest.err'
23289 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23290 +- (eval $ac_try) 2>&5
23291 ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23292 ++ { (case "(($ac_try" in
23293 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23294 ++ *) ac_try_echo=$ac_try;;
23295 ++esac
23296 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23297 ++ (eval "$ac_try") 2>&5
23298 + ac_status=$?
23299 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23300 + (exit $ac_status); }; } &&
23301 + { ac_try='test -s conftest$ac_exeext'
23302 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23303 +- (eval $ac_try) 2>&5
23304 ++ { (case "(($ac_try" in
23305 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23306 ++ *) ac_try_echo=$ac_try;;
23307 ++esac
23308 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23309 ++ (eval "$ac_try") 2>&5
23310 + ac_status=$?
23311 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23312 + (exit $ac_status); }; }; then
23313 +- ac_cv_search_rstat="none required"
23314 ++ ac_cv_search_setkey=$ac_res
23315 + else
23316 + echo "$as_me: failed program was:" >&5
23317 + sed 's/^/| /' conftest.$ac_ext >&5
23318 +
23319 ++
23320 + fi
23321 +-rm -f conftest.err conftest.$ac_objext \
23322 +- conftest$ac_exeext conftest.$ac_ext
23323 +-if test "$ac_cv_search_rstat" = no; then
23324 +- for ac_lib in "$RPCSVC_LIBS" rpcsvc; do
23325 +- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23326 ++
23327 ++rm -f core conftest.err conftest.$ac_objext \
23328 ++ conftest$ac_exeext
23329 ++ if test "${ac_cv_search_setkey+set}" = set; then
23330 ++ break
23331 ++fi
23332 ++done
23333 ++if test "${ac_cv_search_setkey+set}" = set; then
23334 ++ :
23335 ++else
23336 ++ ac_cv_search_setkey=no
23337 ++fi
23338 ++rm conftest.$ac_ext
23339 ++LIBS=$ac_func_search_save_LIBS
23340 ++fi
23341 ++{ echo "$as_me:$LINENO: result: $ac_cv_search_setkey" >&5
23342 ++echo "${ECHO_T}$ac_cv_search_setkey" >&6; }
23343 ++ac_res=$ac_cv_search_setkey
23344 ++if test "$ac_res" != no; then
23345 ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23346 ++
23347 ++cat >>confdefs.h <<\_ACEOF
23348 ++#define HAVE_LIBCRYPT 1
23349 ++_ACEOF
23350 ++
23351 ++ test "x$ac_cv_search_setkey" = "xnone required" || CRYPT_LIBS=$ac_cv_search_setkey
23352 ++fi
23353 ++
23354 ++ LIBS=$saved_LIBS
23355 ++
23356 ++ac_ext=cpp
23357 ++ac_cpp='$CXXCPP $CPPFLAGS'
23358 ++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23359 ++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23360 ++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23361 ++
23362 ++case "$host_os:$compiler" in
23363 ++ solaris*:GCC ) ac_cv_search_dlopen="-ldl" ;;
23364 ++ darwin* ) ac_cv_search_iconv="-liconv" ;;
23365 ++esac
23366 ++saved_LIBS=$LIBS
23367 ++ { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
23368 ++echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
23369 ++if test "${ac_cv_search_dlopen+set}" = set; then
23370 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
23371 ++else
23372 ++ ac_func_search_save_LIBS=$LIBS
23373 + cat >conftest.$ac_ext <<_ACEOF
23374 + /* confdefs.h. */
23375 + _ACEOF
23376 +@@ -19983,86 +23682,110 @@
23377 + cat >>conftest.$ac_ext <<_ACEOF
23378 + /* end confdefs.h. */
23379 +
23380 +-/* Override any gcc2 internal prototype to avoid an error. */
23381 ++/* Override any GCC internal prototype to avoid an error.
23382 ++ Use char because int might match the return type of a GCC
23383 ++ builtin and then its argument prototype would still apply. */
23384 + #ifdef __cplusplus
23385 + extern "C"
23386 + #endif
23387 +-/* We use char because int might match the return type of a gcc2
23388 +- builtin and then its argument prototype would still apply. */
23389 +-char rstat ();
23390 ++char dlopen ();
23391 + int
23392 + main ()
23393 + {
23394 +-rstat ();
23395 ++return dlopen ();
23396 + ;
23397 + return 0;
23398 + }
23399 + _ACEOF
23400 ++for ac_lib in '' "$DL_LIBS" dl; do
23401 ++ if test -z "$ac_lib"; then
23402 ++ ac_res="none required"
23403 ++ else
23404 ++ ac_res=-l$ac_lib
23405 ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23406 ++ fi
23407 + rm -f conftest.$ac_objext conftest$ac_exeext
23408 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23409 +- (eval $ac_link) 2>conftest.er1
23410 ++if { (ac_try="$ac_link"
23411 ++case "(($ac_try" in
23412 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23413 ++ *) ac_try_echo=$ac_try;;
23414 ++esac
23415 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23416 ++ (eval "$ac_link") 2>conftest.er1
23417 + ac_status=$?
23418 + grep -v '^ *+' conftest.er1 >conftest.err
23419 + rm -f conftest.er1
23420 + cat conftest.err >&5
23421 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23422 + (exit $ac_status); } &&
23423 +- { ac_try='test -z "$ac_cxx_werror_flag"
23424 +- || test ! -s conftest.err'
23425 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23426 +- (eval $ac_try) 2>&5
23427 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23428 ++ { (case "(($ac_try" in
23429 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23430 ++ *) ac_try_echo=$ac_try;;
23431 ++esac
23432 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23433 ++ (eval "$ac_try") 2>&5
23434 + ac_status=$?
23435 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23436 + (exit $ac_status); }; } &&
23437 + { ac_try='test -s conftest$ac_exeext'
23438 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23439 +- (eval $ac_try) 2>&5
23440 ++ { (case "(($ac_try" in
23441 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23442 ++ *) ac_try_echo=$ac_try;;
23443 ++esac
23444 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23445 ++ (eval "$ac_try") 2>&5
23446 + ac_status=$?
23447 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23448 + (exit $ac_status); }; }; then
23449 +- ac_cv_search_rstat="-l$ac_lib"
23450 +-break
23451 ++ ac_cv_search_dlopen=$ac_res
23452 + else
23453 + echo "$as_me: failed program was:" >&5
23454 + sed 's/^/| /' conftest.$ac_ext >&5
23455 +
23456 ++
23457 ++fi
23458 ++
23459 ++rm -f core conftest.err conftest.$ac_objext \
23460 ++ conftest$ac_exeext
23461 ++ if test "${ac_cv_search_dlopen+set}" = set; then
23462 ++ break
23463 + fi
23464 +-rm -f conftest.err conftest.$ac_objext \
23465 +- conftest$ac_exeext conftest.$ac_ext
23466 + done
23467 ++if test "${ac_cv_search_dlopen+set}" = set; then
23468 ++ :
23469 ++else
23470 ++ ac_cv_search_dlopen=no
23471 + fi
23472 ++rm conftest.$ac_ext
23473 + LIBS=$ac_func_search_save_LIBS
23474 + fi
23475 +-echo "$as_me:$LINENO: result: $ac_cv_search_rstat" >&5
23476 +-echo "${ECHO_T}$ac_cv_search_rstat" >&6
23477 +-if test "$ac_cv_search_rstat" != no; then
23478 +- test "$ac_cv_search_rstat" = "none required" || LIBS="$ac_cv_search_rstat $LIBS"
23479 ++{ echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
23480 ++echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
23481 ++ac_res=$ac_cv_search_dlopen
23482 ++if test "$ac_res" != no; then
23483 ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23484 +
23485 + cat >>confdefs.h <<\_ACEOF
23486 +-#define HAVE_LIBRPCSVC 1
23487 ++#define HAVE_LIBDL 1
23488 + _ACEOF
23489 +
23490 +- test "x$ac_cv_search_rstat" = "xnone required" || RPCSVC_LIBS=$ac_cv_search_rstat
23491 ++ test "x$ac_cv_search_dlopen" = "xnone required" || DL_LIBS=$ac_cv_search_dlopen
23492 + fi
23493 +
23494 + LIBS=$saved_LIBS
23495 +
23496 +-ac_ext=c
23497 +-ac_cpp='$CPP $CPPFLAGS'
23498 +-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23499 +-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23500 +-ac_compiler_gnu=$ac_cv_c_compiler_gnu
23501 +-
23502 +-# Force C for this test because Sun WorkShop otherwise complains about
23503 +-# multiple extern "C" declarations of setkey.
23504 +-saved_LIBS=$LIBS
23505 +- echo "$as_me:$LINENO: checking for library containing setkey" >&5
23506 +-echo $ECHO_N "checking for library containing setkey... $ECHO_C" >&6
23507 +-if test "${ac_cv_search_setkey+set}" = set; then
23508 ++# libc's stubs aren't always sufficient...
23509 ++case "$host_os:$libnsl" in
23510 ++ solaris2.[89]:* ) orig_LIBS="$DL_LIBS $orig_LIBS" ;;
23511 ++ solaris*:-lnsl ) NETWORK_LIBS="$NETWORK_LIBS $DL_LIBS" ;;
23512 ++esac
23513 ++{ echo "$as_me:$LINENO: checking for library containing uuid_generate" >&5
23514 ++echo $ECHO_N "checking for library containing uuid_generate... $ECHO_C" >&6; }
23515 ++if test "${ac_cv_search_uuid_generate+set}" = set; then
23516 + echo $ECHO_N "(cached) $ECHO_C" >&6
23517 + else
23518 + ac_func_search_save_LIBS=$LIBS
23519 +-ac_cv_search_setkey=no
23520 + cat >conftest.$ac_ext <<_ACEOF
23521 + /* confdefs.h. */
23522 + _ACEOF
23523 +@@ -20070,54 +23793,101 @@
23524 + cat >>conftest.$ac_ext <<_ACEOF
23525 + /* end confdefs.h. */
23526 +
23527 +-/* Override any gcc2 internal prototype to avoid an error. */
23528 ++/* Override any GCC internal prototype to avoid an error.
23529 ++ Use char because int might match the return type of a GCC
23530 ++ builtin and then its argument prototype would still apply. */
23531 + #ifdef __cplusplus
23532 + extern "C"
23533 + #endif
23534 +-/* We use char because int might match the return type of a gcc2
23535 +- builtin and then its argument prototype would still apply. */
23536 +-char setkey ();
23537 ++char uuid_generate ();
23538 + int
23539 + main ()
23540 + {
23541 +-setkey ();
23542 ++return uuid_generate ();
23543 + ;
23544 + return 0;
23545 + }
23546 + _ACEOF
23547 ++for ac_lib in '' uuid; do
23548 ++ if test -z "$ac_lib"; then
23549 ++ ac_res="none required"
23550 ++ else
23551 ++ ac_res=-l$ac_lib
23552 ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23553 ++ fi
23554 + rm -f conftest.$ac_objext conftest$ac_exeext
23555 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23556 +- (eval $ac_link) 2>conftest.er1
23557 ++if { (ac_try="$ac_link"
23558 ++case "(($ac_try" in
23559 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23560 ++ *) ac_try_echo=$ac_try;;
23561 ++esac
23562 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23563 ++ (eval "$ac_link") 2>conftest.er1
23564 + ac_status=$?
23565 + grep -v '^ *+' conftest.er1 >conftest.err
23566 + rm -f conftest.er1
23567 + cat conftest.err >&5
23568 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23569 + (exit $ac_status); } &&
23570 +- { ac_try='test -z "$ac_c_werror_flag"
23571 +- || test ! -s conftest.err'
23572 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23573 +- (eval $ac_try) 2>&5
23574 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23575 ++ { (case "(($ac_try" in
23576 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23577 ++ *) ac_try_echo=$ac_try;;
23578 ++esac
23579 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23580 ++ (eval "$ac_try") 2>&5
23581 + ac_status=$?
23582 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23583 + (exit $ac_status); }; } &&
23584 + { ac_try='test -s conftest$ac_exeext'
23585 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23586 +- (eval $ac_try) 2>&5
23587 ++ { (case "(($ac_try" in
23588 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23589 ++ *) ac_try_echo=$ac_try;;
23590 ++esac
23591 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23592 ++ (eval "$ac_try") 2>&5
23593 + ac_status=$?
23594 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 + (exit $ac_status); }; }; then
23596 +- ac_cv_search_setkey="none required"
23597 ++ ac_cv_search_uuid_generate=$ac_res
23598 + else
23599 + echo "$as_me: failed program was:" >&5
23600 + sed 's/^/| /' conftest.$ac_ext >&5
23601 +
23602 ++
23603 + fi
23604 +-rm -f conftest.err conftest.$ac_objext \
23605 +- conftest$ac_exeext conftest.$ac_ext
23606 +-if test "$ac_cv_search_setkey" = no; then
23607 +- for ac_lib in "$CRYPT_LIBS" crypt crypt_i; do
23608 +- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23609 ++
23610 ++rm -f core conftest.err conftest.$ac_objext \
23611 ++ conftest$ac_exeext
23612 ++ if test "${ac_cv_search_uuid_generate+set}" = set; then
23613 ++ break
23614 ++fi
23615 ++done
23616 ++if test "${ac_cv_search_uuid_generate+set}" = set; then
23617 ++ :
23618 ++else
23619 ++ ac_cv_search_uuid_generate=no
23620 ++fi
23621 ++rm conftest.$ac_ext
23622 ++LIBS=$ac_func_search_save_LIBS
23623 ++fi
23624 ++{ echo "$as_me:$LINENO: result: $ac_cv_search_uuid_generate" >&5
23625 ++echo "${ECHO_T}$ac_cv_search_uuid_generate" >&6; }
23626 ++ac_res=$ac_cv_search_uuid_generate
23627 ++if test "$ac_res" != no; then
23628 ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23629 ++ WithPackages="$WithPackages${WithPackagesSep}UUID"; WithPackagesSep=" "
23630 ++ test "x$ac_cv_search_uuid_generate" = "xnone required" || \
23631 ++ UUID_LIBS=$ac_cv_search_uuid_generate
23632 ++fi
23633 ++
23634 ++LIBS=$orig_LIBS
23635 ++{ echo "$as_me:$LINENO: checking for library containing fuse_loop" >&5
23636 ++echo $ECHO_N "checking for library containing fuse_loop... $ECHO_C" >&6; }
23637 ++if test "${ac_cv_search_fuse_loop+set}" = set; then
23638 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
23639 ++else
23640 ++ ac_func_search_save_LIBS=$LIBS
23641 + cat >conftest.$ac_ext <<_ACEOF
23642 + /* confdefs.h. */
23643 + _ACEOF
23644 +@@ -20125,88 +23895,107 @@
23645 + cat >>conftest.$ac_ext <<_ACEOF
23646 + /* end confdefs.h. */
23647 +
23648 +-/* Override any gcc2 internal prototype to avoid an error. */
23649 ++/* Override any GCC internal prototype to avoid an error.
23650 ++ Use char because int might match the return type of a GCC
23651 ++ builtin and then its argument prototype would still apply. */
23652 + #ifdef __cplusplus
23653 + extern "C"
23654 + #endif
23655 +-/* We use char because int might match the return type of a gcc2
23656 +- builtin and then its argument prototype would still apply. */
23657 +-char setkey ();
23658 ++char fuse_loop ();
23659 + int
23660 + main ()
23661 + {
23662 +-setkey ();
23663 ++return fuse_loop ();
23664 + ;
23665 + return 0;
23666 + }
23667 + _ACEOF
23668 ++for ac_lib in '' fuse; do
23669 ++ if test -z "$ac_lib"; then
23670 ++ ac_res="none required"
23671 ++ else
23672 ++ ac_res=-l$ac_lib
23673 ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23674 ++ fi
23675 + rm -f conftest.$ac_objext conftest$ac_exeext
23676 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23677 +- (eval $ac_link) 2>conftest.er1
23678 ++if { (ac_try="$ac_link"
23679 ++case "(($ac_try" in
23680 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23681 ++ *) ac_try_echo=$ac_try;;
23682 ++esac
23683 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23684 ++ (eval "$ac_link") 2>conftest.er1
23685 + ac_status=$?
23686 + grep -v '^ *+' conftest.er1 >conftest.err
23687 + rm -f conftest.er1
23688 + cat conftest.err >&5
23689 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23690 + (exit $ac_status); } &&
23691 +- { ac_try='test -z "$ac_c_werror_flag"
23692 +- || test ! -s conftest.err'
23693 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23694 +- (eval $ac_try) 2>&5
23695 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23696 ++ { (case "(($ac_try" in
23697 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23698 ++ *) ac_try_echo=$ac_try;;
23699 ++esac
23700 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23701 ++ (eval "$ac_try") 2>&5
23702 + ac_status=$?
23703 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23704 + (exit $ac_status); }; } &&
23705 + { ac_try='test -s conftest$ac_exeext'
23706 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23707 +- (eval $ac_try) 2>&5
23708 ++ { (case "(($ac_try" in
23709 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23710 ++ *) ac_try_echo=$ac_try;;
23711 ++esac
23712 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23713 ++ (eval "$ac_try") 2>&5
23714 + ac_status=$?
23715 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23716 + (exit $ac_status); }; }; then
23717 +- ac_cv_search_setkey="-l$ac_lib"
23718 +-break
23719 ++ ac_cv_search_fuse_loop=$ac_res
23720 + else
23721 + echo "$as_me: failed program was:" >&5
23722 + sed 's/^/| /' conftest.$ac_ext >&5
23723 +
23724 ++
23725 ++fi
23726 ++
23727 ++rm -f core conftest.err conftest.$ac_objext \
23728 ++ conftest$ac_exeext
23729 ++ if test "${ac_cv_search_fuse_loop+set}" = set; then
23730 ++ break
23731 + fi
23732 +-rm -f conftest.err conftest.$ac_objext \
23733 +- conftest$ac_exeext conftest.$ac_ext
23734 + done
23735 ++if test "${ac_cv_search_fuse_loop+set}" = set; then
23736 ++ :
23737 ++else
23738 ++ ac_cv_search_fuse_loop=no
23739 + fi
23740 ++rm conftest.$ac_ext
23741 + LIBS=$ac_func_search_save_LIBS
23742 + fi
23743 +-echo "$as_me:$LINENO: result: $ac_cv_search_setkey" >&5
23744 +-echo "${ECHO_T}$ac_cv_search_setkey" >&6
23745 +-if test "$ac_cv_search_setkey" != no; then
23746 +- test "$ac_cv_search_setkey" = "none required" || LIBS="$ac_cv_search_setkey $LIBS"
23747 +-
23748 +-cat >>confdefs.h <<\_ACEOF
23749 +-#define HAVE_LIBCRYPT 1
23750 +-_ACEOF
23751 +-
23752 +- test "x$ac_cv_search_setkey" = "xnone required" || CRYPT_LIBS=$ac_cv_search_setkey
23753 ++{ echo "$as_me:$LINENO: result: $ac_cv_search_fuse_loop" >&5
23754 ++echo "${ECHO_T}$ac_cv_search_fuse_loop" >&6; }
23755 ++ac_res=$ac_cv_search_fuse_loop
23756 ++if test "$ac_res" != no; then
23757 ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23758 ++ WithPackages="$WithPackages${WithPackagesSep}FUSE"; WithPackagesSep=" "
23759 + fi
23760 +
23761 +- LIBS=$saved_LIBS
23762 +-
23763 +-ac_ext=cc
23764 +-ac_cpp='$CXXCPP $CPPFLAGS'
23765 +-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23766 +-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23767 +-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23768 +-
23769 +-case "$host_os:$compiler" in
23770 +- solaris*:GCC ) ac_cv_search_dlopen="-ldl" ;;
23771 +- darwin* ) ac_cv_search_iconv="-liconv" ;;
23772 +-esac
23773 ++LIBS=$orig_LIBS
23774 ++# Temporarily drop OpenMP flags for this test, as some toolchains count
23775 ++# its support library's indirect use of librt when building applications
23776 ++# but not when building shared libraries with --no-undefined.
23777 ++orig_CXXFLAGS=$CXXFLAGS
23778 ++orig_LDFLAGS=$LDFLAGS
23779 ++CXXFLAGS=`echo $CXXFLAGS | sed -e 's/[^ ]*openmp[^ ]*//g'`
23780 ++LDFLAGS=`echo $LDFLAGS | sed -e 's/[^ ]*openmp[^ ]*//g'`
23781 + saved_LIBS=$LIBS
23782 +- echo "$as_me:$LINENO: checking for library containing dlopen" >&5
23783 +-echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
23784 +-if test "${ac_cv_search_dlopen+set}" = set; then
23785 ++ { echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
23786 ++echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6; }
23787 ++if test "${ac_cv_search_clock_gettime+set}" = set; then
23788 + echo $ECHO_N "(cached) $ECHO_C" >&6
23789 + else
23790 + ac_func_search_save_LIBS=$LIBS
23791 +-ac_cv_search_dlopen=no
23792 + cat >conftest.$ac_ext <<_ACEOF
23793 + /* confdefs.h. */
23794 + _ACEOF
23795 +@@ -20214,54 +24003,108 @@
23796 + cat >>conftest.$ac_ext <<_ACEOF
23797 + /* end confdefs.h. */
23798 +
23799 +-/* Override any gcc2 internal prototype to avoid an error. */
23800 ++/* Override any GCC internal prototype to avoid an error.
23801 ++ Use char because int might match the return type of a GCC
23802 ++ builtin and then its argument prototype would still apply. */
23803 + #ifdef __cplusplus
23804 + extern "C"
23805 + #endif
23806 +-/* We use char because int might match the return type of a gcc2
23807 +- builtin and then its argument prototype would still apply. */
23808 +-char dlopen ();
23809 ++char clock_gettime ();
23810 + int
23811 + main ()
23812 + {
23813 +-dlopen ();
23814 ++return clock_gettime ();
23815 + ;
23816 + return 0;
23817 + }
23818 + _ACEOF
23819 ++for ac_lib in '' "$RT_LIBS" rt posix4; do
23820 ++ if test -z "$ac_lib"; then
23821 ++ ac_res="none required"
23822 ++ else
23823 ++ ac_res=-l$ac_lib
23824 ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23825 ++ fi
23826 + rm -f conftest.$ac_objext conftest$ac_exeext
23827 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23828 +- (eval $ac_link) 2>conftest.er1
23829 ++if { (ac_try="$ac_link"
23830 ++case "(($ac_try" in
23831 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23832 ++ *) ac_try_echo=$ac_try;;
23833 ++esac
23834 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23835 ++ (eval "$ac_link") 2>conftest.er1
23836 + ac_status=$?
23837 + grep -v '^ *+' conftest.er1 >conftest.err
23838 + rm -f conftest.er1
23839 + cat conftest.err >&5
23840 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841 + (exit $ac_status); } &&
23842 +- { ac_try='test -z "$ac_cxx_werror_flag"
23843 +- || test ! -s conftest.err'
23844 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23845 +- (eval $ac_try) 2>&5
23846 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23847 ++ { (case "(($ac_try" in
23848 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23849 ++ *) ac_try_echo=$ac_try;;
23850 ++esac
23851 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23852 ++ (eval "$ac_try") 2>&5
23853 + ac_status=$?
23854 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23855 + (exit $ac_status); }; } &&
23856 + { ac_try='test -s conftest$ac_exeext'
23857 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23858 +- (eval $ac_try) 2>&5
23859 ++ { (case "(($ac_try" in
23860 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23861 ++ *) ac_try_echo=$ac_try;;
23862 ++esac
23863 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23864 ++ (eval "$ac_try") 2>&5
23865 + ac_status=$?
23866 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23867 + (exit $ac_status); }; }; then
23868 +- ac_cv_search_dlopen="none required"
23869 ++ ac_cv_search_clock_gettime=$ac_res
23870 + else
23871 + echo "$as_me: failed program was:" >&5
23872 + sed 's/^/| /' conftest.$ac_ext >&5
23873 +
23874 ++
23875 + fi
23876 +-rm -f conftest.err conftest.$ac_objext \
23877 +- conftest$ac_exeext conftest.$ac_ext
23878 +-if test "$ac_cv_search_dlopen" = no; then
23879 +- for ac_lib in "$DL_LIBS" dl; do
23880 +- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23881 ++
23882 ++rm -f core conftest.err conftest.$ac_objext \
23883 ++ conftest$ac_exeext
23884 ++ if test "${ac_cv_search_clock_gettime+set}" = set; then
23885 ++ break
23886 ++fi
23887 ++done
23888 ++if test "${ac_cv_search_clock_gettime+set}" = set; then
23889 ++ :
23890 ++else
23891 ++ ac_cv_search_clock_gettime=no
23892 ++fi
23893 ++rm conftest.$ac_ext
23894 ++LIBS=$ac_func_search_save_LIBS
23895 ++fi
23896 ++{ echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
23897 ++echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6; }
23898 ++ac_res=$ac_cv_search_clock_gettime
23899 ++if test "$ac_res" != no; then
23900 ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23901 ++
23902 ++cat >>confdefs.h <<\_ACEOF
23903 ++#define HAVE_LIBRT 1
23904 ++_ACEOF
23905 ++
23906 ++ test "x$ac_cv_search_clock_gettime" = "xnone required" || RT_LIBS=$ac_cv_search_clock_gettime
23907 ++fi
23908 ++
23909 ++ LIBS=$saved_LIBS
23910 ++
23911 ++CXXFLAGS=$orig_CXXFLAGS
23912 ++LDFLAGS=$orig_LDFLAGS
23913 ++saved_LIBS=$LIBS
23914 ++ { echo "$as_me:$LINENO: checking for library containing cplus_demangle" >&5
23915 ++echo $ECHO_N "checking for library containing cplus_demangle... $ECHO_C" >&6; }
23916 ++if test "${ac_cv_search_cplus_demangle+set}" = set; then
23917 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
23918 ++else
23919 ++ ac_func_search_save_LIBS=$LIBS
23920 + cat >conftest.$ac_ext <<_ACEOF
23921 + /* confdefs.h. */
23922 + _ACEOF
23923 +@@ -20269,1369 +24112,1910 @@
23924 + cat >>conftest.$ac_ext <<_ACEOF
23925 + /* end confdefs.h. */
23926 +
23927 +-/* Override any gcc2 internal prototype to avoid an error. */
23928 ++/* Override any GCC internal prototype to avoid an error.
23929 ++ Use char because int might match the return type of a GCC
23930 ++ builtin and then its argument prototype would still apply. */
23931 + #ifdef __cplusplus
23932 + extern "C"
23933 + #endif
23934 +-/* We use char because int might match the return type of a gcc2
23935 +- builtin and then its argument prototype would still apply. */
23936 +-char dlopen ();
23937 ++char cplus_demangle ();
23938 + int
23939 + main ()
23940 + {
23941 +-dlopen ();
23942 ++return cplus_demangle ();
23943 + ;
23944 + return 0;
23945 + }
23946 + _ACEOF
23947 ++for ac_lib in '' "$DEMANGLE_LIBS" demangle; do
23948 ++ if test -z "$ac_lib"; then
23949 ++ ac_res="none required"
23950 ++ else
23951 ++ ac_res=-l$ac_lib
23952 ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23953 ++ fi
23954 + rm -f conftest.$ac_objext conftest$ac_exeext
23955 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23956 +- (eval $ac_link) 2>conftest.er1
23957 ++if { (ac_try="$ac_link"
23958 ++case "(($ac_try" in
23959 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23960 ++ *) ac_try_echo=$ac_try;;
23961 ++esac
23962 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23963 ++ (eval "$ac_link") 2>conftest.er1
23964 + ac_status=$?
23965 + grep -v '^ *+' conftest.er1 >conftest.err
23966 + rm -f conftest.er1
23967 + cat conftest.err >&5
23968 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23969 + (exit $ac_status); } &&
23970 +- { ac_try='test -z "$ac_cxx_werror_flag"
23971 +- || test ! -s conftest.err'
23972 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23973 +- (eval $ac_try) 2>&5
23974 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23975 ++ { (case "(($ac_try" in
23976 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23977 ++ *) ac_try_echo=$ac_try;;
23978 ++esac
23979 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23980 ++ (eval "$ac_try") 2>&5
23981 + ac_status=$?
23982 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23983 + (exit $ac_status); }; } &&
23984 + { ac_try='test -s conftest$ac_exeext'
23985 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23986 +- (eval $ac_try) 2>&5
23987 ++ { (case "(($ac_try" in
23988 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23989 ++ *) ac_try_echo=$ac_try;;
23990 ++esac
23991 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23992 ++ (eval "$ac_try") 2>&5
23993 + ac_status=$?
23994 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995 + (exit $ac_status); }; }; then
23996 +- ac_cv_search_dlopen="-l$ac_lib"
23997 +-break
23998 ++ ac_cv_search_cplus_demangle=$ac_res
23999 + else
24000 + echo "$as_me: failed program was:" >&5
24001 + sed 's/^/| /' conftest.$ac_ext >&5
24002 +
24003 ++
24004 ++fi
24005 ++
24006 ++rm -f core conftest.err conftest.$ac_objext \
24007 ++ conftest$ac_exeext
24008 ++ if test "${ac_cv_search_cplus_demangle+set}" = set; then
24009 ++ break
24010 + fi
24011 +-rm -f conftest.err conftest.$ac_objext \
24012 +- conftest$ac_exeext conftest.$ac_ext
24013 + done
24014 ++if test "${ac_cv_search_cplus_demangle+set}" = set; then
24015 ++ :
24016 ++else
24017 ++ ac_cv_search_cplus_demangle=no
24018 + fi
24019 ++rm conftest.$ac_ext
24020 + LIBS=$ac_func_search_save_LIBS
24021 + fi
24022 +-echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
24023 +-echo "${ECHO_T}$ac_cv_search_dlopen" >&6
24024 +-if test "$ac_cv_search_dlopen" != no; then
24025 +- test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
24026 ++{ echo "$as_me:$LINENO: result: $ac_cv_search_cplus_demangle" >&5
24027 ++echo "${ECHO_T}$ac_cv_search_cplus_demangle" >&6; }
24028 ++ac_res=$ac_cv_search_cplus_demangle
24029 ++if test "$ac_res" != no; then
24030 ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
24031 +
24032 + cat >>confdefs.h <<\_ACEOF
24033 +-#define HAVE_LIBDL 1
24034 ++#define HAVE_LIBDEMANGLE 1
24035 + _ACEOF
24036 +
24037 +- test "x$ac_cv_search_dlopen" = "xnone required" || DL_LIBS=$ac_cv_search_dlopen
24038 ++ test "x$ac_cv_search_cplus_demangle" = "xnone required" || DEMANGLE_LIBS=$ac_cv_search_cplus_demangle
24039 + fi
24040 +
24041 + LIBS=$saved_LIBS
24042 +
24043 +-# libc's stubs aren't always sufficient...
24044 +-case "$host_os:$libnsl" in
24045 +- solaris2.[89]:* ) orig_LIBS="$DL_LIBS $orig_LIBS" ;;
24046 +- solaris*:-lnsl ) NETWORK_LIBS="$NETWORK_LIBS $DL_LIBS" ;;
24047 +-esac
24048 +-echo "$as_me:$LINENO: checking for library containing uuid_generate" >&5
24049 +-echo $ECHO_N "checking for library containing uuid_generate... $ECHO_C" >&6
24050 +-if test "${ac_cv_search_uuid_generate+set}" = set; then
24051 ++# Add to (orig_)LIBS if present for the sake of corelib and the
24052 ++# following call to AC_CHECK_FUNCS.
24053 ++if test -n "$DEMANGLE_LIBS$RT_LIBS"; then
24054 ++ LIBS="$DEMANGLE_LIBS $RT_LIBS $LIBS"
24055 ++ orig_LIBS="$DEMANGLE_LIBS $RT_LIBS $orig_LIBS"
24056 ++fi
24057 ++
24058 ++
24059 ++for ac_func in nanosleep sched_yield
24060 ++do
24061 ++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24062 ++{ echo "$as_me:$LINENO: checking for $ac_func" >&5
24063 ++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24064 ++if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24065 + echo $ECHO_N "(cached) $ECHO_C" >&6
24066 + else
24067 +- ac_func_search_save_LIBS=$LIBS
24068 +-ac_cv_search_uuid_generate=no
24069 + cat >conftest.$ac_ext <<_ACEOF
24070 + /* confdefs.h. */
24071 + _ACEOF
24072 + cat confdefs.h >>conftest.$ac_ext
24073 + cat >>conftest.$ac_ext <<_ACEOF
24074 + /* end confdefs.h. */
24075 ++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24076 ++ For example, HP-UX 11i <limits.h> declares gettimeofday. */
24077 ++#define $ac_func innocuous_$ac_func
24078 +
24079 +-/* Override any gcc2 internal prototype to avoid an error. */
24080 +-#ifdef __cplusplus
24081 +-extern "C"
24082 ++/* System header to define __stub macros and hopefully few prototypes,
24083 ++ which can conflict with char $ac_func (); below.
24084 ++ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24085 ++ <limits.h> exists even on freestanding compilers. */
24086 ++
24087 ++#ifdef __STDC__
24088 ++# include <limits.h>
24089 ++#else
24090 ++# include <assert.h>
24091 + #endif
24092 +-/* We use char because int might match the return type of a gcc2
24093 +- builtin and then its argument prototype would still apply. */
24094 +-char uuid_generate ();
24095 +-int
24096 +-main ()
24097 +-{
24098 +-uuid_generate ();
24099 +- ;
24100 +- return 0;
24101 +-}
24102 +-_ACEOF
24103 +-rm -f conftest.$ac_objext conftest$ac_exeext
24104 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24105 +- (eval $ac_link) 2>conftest.er1
24106 +- ac_status=$?
24107 +- grep -v '^ *+' conftest.er1 >conftest.err
24108 +- rm -f conftest.er1
24109 +- cat conftest.err >&5
24110 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
24111 +- (exit $ac_status); } &&
24112 +- { ac_try='test -z "$ac_cxx_werror_flag"
24113 +- || test ! -s conftest.err'
24114 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24115 +- (eval $ac_try) 2>&5
24116 +- ac_status=$?
24117 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118 +- (exit $ac_status); }; } &&
24119 +- { ac_try='test -s conftest$ac_exeext'
24120 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24121 +- (eval $ac_try) 2>&5
24122 +- ac_status=$?
24123 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124 +- (exit $ac_status); }; }; then
24125 +- ac_cv_search_uuid_generate="none required"
24126 +-else
24127 +- echo "$as_me: failed program was:" >&5
24128 +-sed 's/^/| /' conftest.$ac_ext >&5
24129 +
24130 +-fi
24131 +-rm -f conftest.err conftest.$ac_objext \
24132 +- conftest$ac_exeext conftest.$ac_ext
24133 +-if test "$ac_cv_search_uuid_generate" = no; then
24134 +- for ac_lib in uuid; do
24135 +- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24136 +- cat >conftest.$ac_ext <<_ACEOF
24137 +-/* confdefs.h. */
24138 +-_ACEOF
24139 +-cat confdefs.h >>conftest.$ac_ext
24140 +-cat >>conftest.$ac_ext <<_ACEOF
24141 +-/* end confdefs.h. */
24142 ++#undef $ac_func
24143 +
24144 +-/* Override any gcc2 internal prototype to avoid an error. */
24145 ++/* Override any GCC internal prototype to avoid an error.
24146 ++ Use char because int might match the return type of a GCC
24147 ++ builtin and then its argument prototype would still apply. */
24148 + #ifdef __cplusplus
24149 + extern "C"
24150 + #endif
24151 +-/* We use char because int might match the return type of a gcc2
24152 +- builtin and then its argument prototype would still apply. */
24153 +-char uuid_generate ();
24154 ++char $ac_func ();
24155 ++/* The GNU C library defines this for functions which it implements
24156 ++ to always fail with ENOSYS. Some functions are actually named
24157 ++ something starting with __ and the normal name is an alias. */
24158 ++#if defined __stub_$ac_func || defined __stub___$ac_func
24159 ++choke me
24160 ++#endif
24161 ++
24162 + int
24163 + main ()
24164 + {
24165 +-uuid_generate ();
24166 ++return $ac_func ();
24167 + ;
24168 + return 0;
24169 + }
24170 + _ACEOF
24171 + rm -f conftest.$ac_objext conftest$ac_exeext
24172 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24173 +- (eval $ac_link) 2>conftest.er1
24174 ++if { (ac_try="$ac_link"
24175 ++case "(($ac_try" in
24176 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24177 ++ *) ac_try_echo=$ac_try;;
24178 ++esac
24179 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24180 ++ (eval "$ac_link") 2>conftest.er1
24181 + ac_status=$?
24182 + grep -v '^ *+' conftest.er1 >conftest.err
24183 + rm -f conftest.er1
24184 + cat conftest.err >&5
24185 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24186 + (exit $ac_status); } &&
24187 +- { ac_try='test -z "$ac_cxx_werror_flag"
24188 +- || test ! -s conftest.err'
24189 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24190 +- (eval $ac_try) 2>&5
24191 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24192 ++ { (case "(($ac_try" in
24193 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24194 ++ *) ac_try_echo=$ac_try;;
24195 ++esac
24196 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24197 ++ (eval "$ac_try") 2>&5
24198 + ac_status=$?
24199 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24200 + (exit $ac_status); }; } &&
24201 + { ac_try='test -s conftest$ac_exeext'
24202 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24203 +- (eval $ac_try) 2>&5
24204 ++ { (case "(($ac_try" in
24205 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24206 ++ *) ac_try_echo=$ac_try;;
24207 ++esac
24208 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24209 ++ (eval "$ac_try") 2>&5
24210 + ac_status=$?
24211 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212 + (exit $ac_status); }; }; then
24213 +- ac_cv_search_uuid_generate="-l$ac_lib"
24214 +-break
24215 ++ eval "$as_ac_var=yes"
24216 + else
24217 + echo "$as_me: failed program was:" >&5
24218 + sed 's/^/| /' conftest.$ac_ext >&5
24219 +
24220 ++ eval "$as_ac_var=no"
24221 + fi
24222 +-rm -f conftest.err conftest.$ac_objext \
24223 ++
24224 ++rm -f core conftest.err conftest.$ac_objext \
24225 + conftest$ac_exeext conftest.$ac_ext
24226 +- done
24227 +-fi
24228 +-LIBS=$ac_func_search_save_LIBS
24229 + fi
24230 +-echo "$as_me:$LINENO: result: $ac_cv_search_uuid_generate" >&5
24231 +-echo "${ECHO_T}$ac_cv_search_uuid_generate" >&6
24232 +-if test "$ac_cv_search_uuid_generate" != no; then
24233 +- test "$ac_cv_search_uuid_generate" = "none required" || LIBS="$ac_cv_search_uuid_generate $LIBS"
24234 +- WithPackages="$WithPackages${WithPackagesSep}UUID"; WithPackagesSep=" "
24235 +- test "x$ac_cv_search_uuid_generate" = "xnone required" || \
24236 +- UUID_LIBS=$ac_cv_search_uuid_generate
24237 ++ac_res=`eval echo '${'$as_ac_var'}'`
24238 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
24239 ++echo "${ECHO_T}$ac_res" >&6; }
24240 ++if test `eval echo '${'$as_ac_var'}'` = yes; then
24241 ++ cat >>confdefs.h <<_ACEOF
24242 ++#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24243 ++_ACEOF
24244 ++
24245 + fi
24246 ++done
24247 +
24248 +-LIBS=$orig_LIBS
24249 +-echo "$as_me:$LINENO: checking for library containing fuse_loop" >&5
24250 +-echo $ECHO_N "checking for library containing fuse_loop... $ECHO_C" >&6
24251 +-if test "${ac_cv_search_fuse_loop+set}" = set; then
24252 ++
24253 ++# We need to include <iconv.h>, since some implementations rename the symbols.
24254 ++# This logic adapted from Bruno Haible's iconv.m4.
24255 ++{ echo "$as_me:$LINENO: checking for library containing iconv" >&5
24256 ++echo $ECHO_N "checking for library containing iconv... $ECHO_C" >&6; }
24257 ++if test "${ac_cv_search_iconv+set}" = set; then
24258 + echo $ECHO_N "(cached) $ECHO_C" >&6
24259 + else
24260 +- ac_func_search_save_LIBS=$LIBS
24261 +-ac_cv_search_fuse_loop=no
24262 ++
24263 ++ ac_cv_search_iconv=no
24264 + cat >conftest.$ac_ext <<_ACEOF
24265 + /* confdefs.h. */
24266 + _ACEOF
24267 + cat confdefs.h >>conftest.$ac_ext
24268 + cat >>conftest.$ac_ext <<_ACEOF
24269 + /* end confdefs.h. */
24270 +-
24271 +-/* Override any gcc2 internal prototype to avoid an error. */
24272 +-#ifdef __cplusplus
24273 +-extern "C"
24274 +-#endif
24275 +-/* We use char because int might match the return type of a gcc2
24276 +- builtin and then its argument prototype would still apply. */
24277 +-char fuse_loop ();
24278 ++#include <stdlib.h>
24279 ++ #include <iconv.h>
24280 + int
24281 + main ()
24282 + {
24283 +-fuse_loop ();
24284 ++iconv_t cd = iconv_open("","");
24285 ++ iconv(cd,NULL,NULL,NULL,NULL);
24286 ++ iconv_close(cd);
24287 + ;
24288 + return 0;
24289 + }
24290 + _ACEOF
24291 + rm -f conftest.$ac_objext conftest$ac_exeext
24292 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24293 +- (eval $ac_link) 2>conftest.er1
24294 ++if { (ac_try="$ac_link"
24295 ++case "(($ac_try" in
24296 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24297 ++ *) ac_try_echo=$ac_try;;
24298 ++esac
24299 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24300 ++ (eval "$ac_link") 2>conftest.er1
24301 + ac_status=$?
24302 + grep -v '^ *+' conftest.er1 >conftest.err
24303 + rm -f conftest.er1
24304 + cat conftest.err >&5
24305 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24306 + (exit $ac_status); } &&
24307 +- { ac_try='test -z "$ac_cxx_werror_flag"
24308 +- || test ! -s conftest.err'
24309 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24310 +- (eval $ac_try) 2>&5
24311 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24312 ++ { (case "(($ac_try" in
24313 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24314 ++ *) ac_try_echo=$ac_try;;
24315 ++esac
24316 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24317 ++ (eval "$ac_try") 2>&5
24318 + ac_status=$?
24319 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24320 + (exit $ac_status); }; } &&
24321 + { ac_try='test -s conftest$ac_exeext'
24322 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24323 +- (eval $ac_try) 2>&5
24324 ++ { (case "(($ac_try" in
24325 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24326 ++ *) ac_try_echo=$ac_try;;
24327 ++esac
24328 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24329 ++ (eval "$ac_try") 2>&5
24330 + ac_status=$?
24331 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24332 + (exit $ac_status); }; }; then
24333 +- ac_cv_search_fuse_loop="none required"
24334 ++ ac_cv_search_iconv="none required"
24335 + else
24336 + echo "$as_me: failed program was:" >&5
24337 + sed 's/^/| /' conftest.$ac_ext >&5
24338 +
24339 ++
24340 + fi
24341 +-rm -f conftest.err conftest.$ac_objext \
24342 ++
24343 ++rm -f core conftest.err conftest.$ac_objext \
24344 + conftest$ac_exeext conftest.$ac_ext
24345 +-if test "$ac_cv_search_fuse_loop" = no; then
24346 +- for ac_lib in fuse; do
24347 +- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24348 ++ if test "$ac_cv_search_iconv" != "none required"; then
24349 ++ for l in iconv; do
24350 ++ LIBS="-l$l $orig_LIBS"
24351 + cat >conftest.$ac_ext <<_ACEOF
24352 + /* confdefs.h. */
24353 + _ACEOF
24354 + cat confdefs.h >>conftest.$ac_ext
24355 + cat >>conftest.$ac_ext <<_ACEOF
24356 + /* end confdefs.h. */
24357 +-
24358 +-/* Override any gcc2 internal prototype to avoid an error. */
24359 +-#ifdef __cplusplus
24360 +-extern "C"
24361 +-#endif
24362 +-/* We use char because int might match the return type of a gcc2
24363 +- builtin and then its argument prototype would still apply. */
24364 +-char fuse_loop ();
24365 ++#include <stdlib.h>
24366 ++ #include <iconv.h>
24367 + int
24368 + main ()
24369 + {
24370 +-fuse_loop ();
24371 ++iconv_t cd = iconv_open("","");
24372 ++ iconv(cd,NULL,NULL,NULL,NULL);
24373 ++ iconv_close(cd);
24374 + ;
24375 + return 0;
24376 + }
24377 + _ACEOF
24378 + rm -f conftest.$ac_objext conftest$ac_exeext
24379 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24380 +- (eval $ac_link) 2>conftest.er1
24381 ++if { (ac_try="$ac_link"
24382 ++case "(($ac_try" in
24383 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24384 ++ *) ac_try_echo=$ac_try;;
24385 ++esac
24386 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24387 ++ (eval "$ac_link") 2>conftest.er1
24388 + ac_status=$?
24389 + grep -v '^ *+' conftest.er1 >conftest.err
24390 + rm -f conftest.er1
24391 + cat conftest.err >&5
24392 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24393 + (exit $ac_status); } &&
24394 +- { ac_try='test -z "$ac_cxx_werror_flag"
24395 +- || test ! -s conftest.err'
24396 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24397 +- (eval $ac_try) 2>&5
24398 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24399 ++ { (case "(($ac_try" in
24400 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24401 ++ *) ac_try_echo=$ac_try;;
24402 ++esac
24403 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24404 ++ (eval "$ac_try") 2>&5
24405 + ac_status=$?
24406 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24407 + (exit $ac_status); }; } &&
24408 + { ac_try='test -s conftest$ac_exeext'
24409 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24410 +- (eval $ac_try) 2>&5
24411 ++ { (case "(($ac_try" in
24412 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24413 ++ *) ac_try_echo=$ac_try;;
24414 ++esac
24415 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24416 ++ (eval "$ac_try") 2>&5
24417 + ac_status=$?
24418 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24419 + (exit $ac_status); }; }; then
24420 +- ac_cv_search_fuse_loop="-l$ac_lib"
24421 +-break
24422 ++ ac_cv_search_iconv=-l$l
24423 + else
24424 + echo "$as_me: failed program was:" >&5
24425 + sed 's/^/| /' conftest.$ac_ext >&5
24426 +
24427 ++
24428 + fi
24429 +-rm -f conftest.err conftest.$ac_objext \
24430 ++
24431 ++rm -f core conftest.err conftest.$ac_objext \
24432 + conftest$ac_exeext conftest.$ac_ext
24433 ++ LIBS="$orig_LIBS"
24434 + done
24435 + fi
24436 +-LIBS=$ac_func_search_save_LIBS
24437 +-fi
24438 +-echo "$as_me:$LINENO: result: $ac_cv_search_fuse_loop" >&5
24439 +-echo "${ECHO_T}$ac_cv_search_fuse_loop" >&6
24440 +-if test "$ac_cv_search_fuse_loop" != no; then
24441 +- test "$ac_cv_search_fuse_loop" = "none required" || LIBS="$ac_cv_search_fuse_loop $LIBS"
24442 +- WithPackages="$WithPackages${WithPackagesSep}FUSE"; WithPackagesSep=" "
24443 + fi
24444 ++{ echo "$as_me:$LINENO: result: $ac_cv_search_iconv" >&5
24445 ++echo "${ECHO_T}$ac_cv_search_iconv" >&6; }
24446 ++if test "x$ac_cv_search_iconv" != xno; then
24447 +
24448 +-LIBS=$orig_LIBS
24449 +-saved_LIBS=$LIBS
24450 +- echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
24451 +-echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
24452 +-if test "${ac_cv_search_clock_gettime+set}" = set; then
24453 +- echo $ECHO_N "(cached) $ECHO_C" >&6
24454 +-else
24455 +- ac_func_search_save_LIBS=$LIBS
24456 +-ac_cv_search_clock_gettime=no
24457 +-cat >conftest.$ac_ext <<_ACEOF
24458 +-/* confdefs.h. */
24459 ++cat >>confdefs.h <<\_ACEOF
24460 ++#define HAVE_LIBICONV 1
24461 + _ACEOF
24462 +-cat confdefs.h >>conftest.$ac_ext
24463 +-cat >>conftest.$ac_ext <<_ACEOF
24464 +-/* end confdefs.h. */
24465 +
24466 +-/* Override any gcc2 internal prototype to avoid an error. */
24467 +-#ifdef __cplusplus
24468 +-extern "C"
24469 +-#endif
24470 +-/* We use char because int might match the return type of a gcc2
24471 +- builtin and then its argument prototype would still apply. */
24472 +-char clock_gettime ();
24473 +-int
24474 +-main ()
24475 +-{
24476 +-clock_gettime ();
24477 +- ;
24478 +- return 0;
24479 +-}
24480 +-_ACEOF
24481 +-rm -f conftest.$ac_objext conftest$ac_exeext
24482 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24483 +- (eval $ac_link) 2>conftest.er1
24484 +- ac_status=$?
24485 +- grep -v '^ *+' conftest.er1 >conftest.err
24486 +- rm -f conftest.er1
24487 +- cat conftest.err >&5
24488 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
24489 +- (exit $ac_status); } &&
24490 +- { ac_try='test -z "$ac_cxx_werror_flag"
24491 +- || test ! -s conftest.err'
24492 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24493 +- (eval $ac_try) 2>&5
24494 +- ac_status=$?
24495 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
24496 +- (exit $ac_status); }; } &&
24497 +- { ac_try='test -s conftest$ac_exeext'
24498 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24499 +- (eval $ac_try) 2>&5
24500 +- ac_status=$?
24501 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
24502 +- (exit $ac_status); }; }; then
24503 +- ac_cv_search_clock_gettime="none required"
24504 ++ { echo "$as_me:$LINENO: checking for iconv declaration" >&5
24505 ++echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; }
24506 ++ if test "${am_cv_proto_iconv+set}" = set; then
24507 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
24508 + else
24509 +- echo "$as_me: failed program was:" >&5
24510 +-sed 's/^/| /' conftest.$ac_ext >&5
24511 +
24512 +-fi
24513 +-rm -f conftest.err conftest.$ac_objext \
24514 +- conftest$ac_exeext conftest.$ac_ext
24515 +-if test "$ac_cv_search_clock_gettime" = no; then
24516 +- for ac_lib in "$RT_LIBS" rt posix4; do
24517 +- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24518 + cat >conftest.$ac_ext <<_ACEOF
24519 +-/* confdefs.h. */
24520 +-_ACEOF
24521 +-cat confdefs.h >>conftest.$ac_ext
24522 +-cat >>conftest.$ac_ext <<_ACEOF
24523 +-/* end confdefs.h. */
24524 +
24525 +-/* Override any gcc2 internal prototype to avoid an error. */
24526 ++#include <stdlib.h>
24527 ++#include <iconv.h>
24528 ++extern
24529 + #ifdef __cplusplus
24530 +-extern "C"
24531 ++"C"
24532 + #endif
24533 +-/* We use char because int might match the return type of a gcc2
24534 +- builtin and then its argument prototype would still apply. */
24535 +-char clock_gettime ();
24536 +-int
24537 +-main ()
24538 +-{
24539 +-clock_gettime ();
24540 +- ;
24541 +- return 0;
24542 +-}
24543 ++#if defined(__STDC__) || defined(__cplusplus)
24544 ++size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
24545 ++#else
24546 ++size_t iconv();
24547 ++#endif
24548 ++
24549 + _ACEOF
24550 +-rm -f conftest.$ac_objext conftest$ac_exeext
24551 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24552 +- (eval $ac_link) 2>conftest.er1
24553 ++rm -f conftest.$ac_objext
24554 ++if { (ac_try="$ac_compile"
24555 ++case "(($ac_try" in
24556 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24557 ++ *) ac_try_echo=$ac_try;;
24558 ++esac
24559 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24560 ++ (eval "$ac_compile") 2>conftest.er1
24561 + ac_status=$?
24562 + grep -v '^ *+' conftest.er1 >conftest.err
24563 + rm -f conftest.er1
24564 + cat conftest.err >&5
24565 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24566 + (exit $ac_status); } &&
24567 +- { ac_try='test -z "$ac_cxx_werror_flag"
24568 +- || test ! -s conftest.err'
24569 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24570 +- (eval $ac_try) 2>&5
24571 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24572 ++ { (case "(($ac_try" in
24573 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24574 ++ *) ac_try_echo=$ac_try;;
24575 ++esac
24576 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24577 ++ (eval "$ac_try") 2>&5
24578 + ac_status=$?
24579 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24580 + (exit $ac_status); }; } &&
24581 +- { ac_try='test -s conftest$ac_exeext'
24582 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24583 +- (eval $ac_try) 2>&5
24584 ++ { ac_try='test -s conftest.$ac_objext'
24585 ++ { (case "(($ac_try" in
24586 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24587 ++ *) ac_try_echo=$ac_try;;
24588 ++esac
24589 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24590 ++ (eval "$ac_try") 2>&5
24591 + ac_status=$?
24592 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24593 + (exit $ac_status); }; }; then
24594 +- ac_cv_search_clock_gettime="-l$ac_lib"
24595 +-break
24596 ++ am_cv_proto_iconv_arg1=""
24597 + else
24598 + echo "$as_me: failed program was:" >&5
24599 + sed 's/^/| /' conftest.$ac_ext >&5
24600 +
24601 ++ am_cv_proto_iconv_arg1="const"
24602 + fi
24603 +-rm -f conftest.err conftest.$ac_objext \
24604 +- conftest$ac_exeext conftest.$ac_ext
24605 +- done
24606 +-fi
24607 +-LIBS=$ac_func_search_save_LIBS
24608 ++
24609 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24610 ++ 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);"
24611 + fi
24612 +-echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
24613 +-echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
24614 +-if test "$ac_cv_search_clock_gettime" != no; then
24615 +- test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
24616 +
24617 +-cat >>confdefs.h <<\_ACEOF
24618 +-#define HAVE_LIBRT 1
24619 +-_ACEOF
24620 ++ am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
24621 ++ { echo "$as_me:$LINENO: result: ${ac_t:-
24622 ++ }$am_cv_proto_iconv" >&5
24623 ++echo "${ECHO_T}${ac_t:-
24624 ++ }$am_cv_proto_iconv" >&6; }
24625 +
24626 +- test "x$ac_cv_search_clock_gettime" = "xnone required" || RT_LIBS=$ac_cv_search_clock_gettime
24627 ++cat >>confdefs.h <<_ACEOF
24628 ++#define ICONV_CONST $am_cv_proto_iconv_arg1
24629 ++_ACEOF
24630 ++
24631 ++ if test "x$ac_cv_search_iconv" != "xnone required"; then
24632 ++ ICONV_LIBS=$ac_cv_search_iconv
24633 ++ fi
24634 + fi
24635 +
24636 +- LIBS=$saved_LIBS
24637 +
24638 +-saved_LIBS=$LIBS
24639 +- echo "$as_me:$LINENO: checking for library containing cplus_demangle" >&5
24640 +-echo $ECHO_N "checking for library containing cplus_demangle... $ECHO_C" >&6
24641 +-if test "${ac_cv_search_cplus_demangle+set}" = set; then
24642 ++### Third-party libraries
24643 ++
24644 ++usr_lib='[/usr]*/lib/*[amdsprcv]*[23469]*'
24645 ++no_usr_lib="s,-L$usr_lib ,,g;"
24646 ++
24647 ++if test "$with_z" != "no"; then
24648 ++ case "$with_z" in
24649 ++ yes | "" ) ;;
24650 ++ * ) Z_PATH=$with_z ;;
24651 ++ esac
24652 ++ if test -d "$Z_PATH"; then
24653 ++ in_path=" in $Z_PATH"
24654 ++ if test -z "$Z_INCLUDE" -a -d "$Z_PATH/include"; then
24655 ++ Z_INCLUDE="-I$Z_PATH/include"
24656 ++ fi
24657 ++ if test -n "$Z_LIBPATH"; then
24658 ++ :
24659 ++ elif test -d "$Z_PATH/lib${bit64_sfx}"; then
24660 ++ ncbi_rp_L_flags=
24661 ++ ncbi_rp_L_sep=$CONF_f_libpath
24662 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
24663 ++ for x in $Z_PATH/lib${bit64_sfx}; do
24664 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
24665 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
24666 ++ done
24667 ++ Z_LIBPATH="${ncbi_rp_L_flags}"
24668 ++ else
24669 ++ ncbi_rp_R_flags=
24670 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
24671 ++ for x in $Z_PATH/lib${bit64_sfx}; do
24672 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
24673 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
24674 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
24675 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
24676 ++ ncbi_rp_R_sep=:
24677 ++ done
24678 ++ Z_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
24679 ++ fi
24680 ++ elif test -d "$Z_PATH/lib"; then
24681 ++ ncbi_rp_L_flags=
24682 ++ ncbi_rp_L_sep=$CONF_f_libpath
24683 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
24684 ++ for x in $Z_PATH/lib; do
24685 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
24686 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
24687 ++ done
24688 ++ Z_LIBPATH="${ncbi_rp_L_flags}"
24689 ++ else
24690 ++ ncbi_rp_R_flags=
24691 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
24692 ++ for x in $Z_PATH/lib; do
24693 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
24694 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
24695 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
24696 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
24697 ++ ncbi_rp_R_sep=:
24698 ++ done
24699 ++ Z_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
24700 ++ fi
24701 ++ fi
24702 ++ Z_LIBS="$Z_LIBPATH -lz "
24703 ++ else
24704 ++ Z_INCLUDE=""
24705 ++ Z_LIBS="-lz "
24706 ++ in_path=
24707 ++ fi
24708 ++ { echo "$as_me:$LINENO: checking for libz$in_path" >&5
24709 ++echo $ECHO_N "checking for libz$in_path... $ECHO_C" >&6; }
24710 ++if test "${ncbi_cv_lib_z+set}" = set; then
24711 + echo $ECHO_N "(cached) $ECHO_C" >&6
24712 + else
24713 +- ac_func_search_save_LIBS=$LIBS
24714 +-ac_cv_search_cplus_demangle=no
24715 ++ CPPFLAGS=" $Z_INCLUDE $orig_CPPFLAGS"
24716 ++ LIBS="$Z_LIBS $orig_LIBS"
24717 + cat >conftest.$ac_ext <<_ACEOF
24718 + /* confdefs.h. */
24719 + _ACEOF
24720 + cat confdefs.h >>conftest.$ac_ext
24721 + cat >>conftest.$ac_ext <<_ACEOF
24722 + /* end confdefs.h. */
24723 +-
24724 +-/* Override any gcc2 internal prototype to avoid an error. */
24725 +-#ifdef __cplusplus
24726 +-extern "C"
24727 +-#endif
24728 +-/* We use char because int might match the return type of a gcc2
24729 +- builtin and then its argument prototype would still apply. */
24730 +-char cplus_demangle ();
24731 ++#include <zlib.h>
24732 + int
24733 + main ()
24734 + {
24735 +-cplus_demangle ();
24736 ++gzFile fp; char buf[1024]; int n = gzread(fp, buf, sizeof(buf))
24737 + ;
24738 + return 0;
24739 + }
24740 + _ACEOF
24741 + rm -f conftest.$ac_objext conftest$ac_exeext
24742 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24743 +- (eval $ac_link) 2>conftest.er1
24744 ++if { (ac_try="$ac_link"
24745 ++case "(($ac_try" in
24746 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24747 ++ *) ac_try_echo=$ac_try;;
24748 ++esac
24749 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24750 ++ (eval "$ac_link") 2>conftest.er1
24751 + ac_status=$?
24752 + grep -v '^ *+' conftest.er1 >conftest.err
24753 + rm -f conftest.er1
24754 + cat conftest.err >&5
24755 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24756 + (exit $ac_status); } &&
24757 +- { ac_try='test -z "$ac_cxx_werror_flag"
24758 +- || test ! -s conftest.err'
24759 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24760 +- (eval $ac_try) 2>&5
24761 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24762 ++ { (case "(($ac_try" in
24763 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24764 ++ *) ac_try_echo=$ac_try;;
24765 ++esac
24766 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24767 ++ (eval "$ac_try") 2>&5
24768 + ac_status=$?
24769 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770 + (exit $ac_status); }; } &&
24771 + { ac_try='test -s conftest$ac_exeext'
24772 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24773 +- (eval $ac_try) 2>&5
24774 ++ { (case "(($ac_try" in
24775 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24776 ++ *) ac_try_echo=$ac_try;;
24777 ++esac
24778 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24779 ++ (eval "$ac_try") 2>&5
24780 + ac_status=$?
24781 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24782 + (exit $ac_status); }; }; then
24783 +- ac_cv_search_cplus_demangle="none required"
24784 ++ ncbi_cv_lib_z=yes
24785 + else
24786 + echo "$as_me: failed program was:" >&5
24787 + sed 's/^/| /' conftest.$ac_ext >&5
24788 +
24789 ++ ncbi_cv_lib_z=no
24790 + fi
24791 +-rm -f conftest.err conftest.$ac_objext \
24792 ++
24793 ++rm -f core conftest.err conftest.$ac_objext \
24794 + conftest$ac_exeext conftest.$ac_ext
24795 +-if test "$ac_cv_search_cplus_demangle" = no; then
24796 +- for ac_lib in "$DEMANGLE_LIBS" demangle; do
24797 +- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24798 ++fi
24799 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_z" >&5
24800 ++echo "${ECHO_T}$ncbi_cv_lib_z" >&6; }
24801 ++ if test "$ncbi_cv_lib_z" = "no"; then
24802 ++ if test "${with_z:=no}" != no; then
24803 ++ { { echo "$as_me:$LINENO: error: --with-z explicitly specified, but no usable version found." >&5
24804 ++echo "$as_me: error: --with-z explicitly specified, but no usable version found." >&2;}
24805 ++ { (exit 1); exit 1; }; }
24806 ++ fi
24807 ++ fi
24808 ++ fi
24809 ++ if test "$with_z" = "no"; then
24810 ++ Z_PATH="No_Z"
24811 ++ Z_INCLUDE=
24812 ++ Z_LIBS=
24813 ++ else
24814 ++ WithPackages="$WithPackages${WithPackagesSep}Z"; WithPackagesSep=" "
24815 ++ Z_INCLUDE=" $Z_INCLUDE"
24816 ++
24817 ++cat >>confdefs.h <<\_ACEOF
24818 ++#define HAVE_LIBZ 1
24819 ++_ACEOF
24820 ++
24821 ++ fi
24822 ++
24823 ++
24824 ++
24825 ++if test -z "$Z_LIBS"; then
24826 ++ zlocal=util/compress/zlib
24827 ++ { echo "$as_me:$LINENO: using local zlib copy in $zlocal" >&5
24828 ++echo "$as_me: using local zlib copy in $zlocal" >&6;}
24829 ++ Z_PATH="<$zlocal>"
24830 ++ Z_INCLUDE="-I\$(includedir)/$zlocal -I\$(includedir0)/$zlocal"
24831 ++ # Z_LIBS="-lz"
24832 ++ Z_LIB="z"
24833 ++ # AC_DEFINE(USE_LOCAL_ZLIB, 1, [Define to 1 if using a local copy of zlib.])
24834 ++ WithPackages="$WithPackages${WithPackagesSep}Z"; WithPackagesSep=" "
24835 ++ WithPackages="$WithPackages${WithPackagesSep}LocalZ"; WithPackagesSep=" "
24836 ++fi
24837 ++
24838 ++if test "$with_bz2" != "no"; then
24839 ++ case "$with_bz2" in
24840 ++ yes | "" ) ;;
24841 ++ * ) BZ2_PATH=$with_bz2 ;;
24842 ++ esac
24843 ++ if test -d "$BZ2_PATH"; then
24844 ++ in_path=" in $BZ2_PATH"
24845 ++ if test -z "$BZ2_INCLUDE" -a -d "$BZ2_PATH/include"; then
24846 ++ BZ2_INCLUDE="-I$BZ2_PATH/include"
24847 ++ fi
24848 ++ if test -n "$BZ2_LIBPATH"; then
24849 ++ :
24850 ++ elif test -d "$BZ2_PATH/lib${bit64_sfx}"; then
24851 ++ ncbi_rp_L_flags=
24852 ++ ncbi_rp_L_sep=$CONF_f_libpath
24853 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
24854 ++ for x in $BZ2_PATH/lib${bit64_sfx}; do
24855 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
24856 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
24857 ++ done
24858 ++ BZ2_LIBPATH="${ncbi_rp_L_flags}"
24859 ++ else
24860 ++ ncbi_rp_R_flags=
24861 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
24862 ++ for x in $BZ2_PATH/lib${bit64_sfx}; do
24863 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
24864 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
24865 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
24866 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
24867 ++ ncbi_rp_R_sep=:
24868 ++ done
24869 ++ BZ2_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
24870 ++ fi
24871 ++ elif test -d "$BZ2_PATH/lib"; then
24872 ++ ncbi_rp_L_flags=
24873 ++ ncbi_rp_L_sep=$CONF_f_libpath
24874 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
24875 ++ for x in $BZ2_PATH/lib; do
24876 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
24877 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
24878 ++ done
24879 ++ BZ2_LIBPATH="${ncbi_rp_L_flags}"
24880 ++ else
24881 ++ ncbi_rp_R_flags=
24882 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
24883 ++ for x in $BZ2_PATH/lib; do
24884 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
24885 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
24886 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
24887 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
24888 ++ ncbi_rp_R_sep=:
24889 ++ done
24890 ++ BZ2_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
24891 ++ fi
24892 ++ fi
24893 ++ BZ2_LIBS="$BZ2_LIBPATH -lbz2 "
24894 ++ else
24895 ++ BZ2_INCLUDE=""
24896 ++ BZ2_LIBS="-lbz2 "
24897 ++ in_path=
24898 ++ fi
24899 ++ { echo "$as_me:$LINENO: checking for libbz2$in_path" >&5
24900 ++echo $ECHO_N "checking for libbz2$in_path... $ECHO_C" >&6; }
24901 ++if test "${ncbi_cv_lib_bz2+set}" = set; then
24902 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
24903 ++else
24904 ++ CPPFLAGS=" $BZ2_INCLUDE $orig_CPPFLAGS"
24905 ++ LIBS="$BZ2_LIBS $orig_LIBS"
24906 + cat >conftest.$ac_ext <<_ACEOF
24907 + /* confdefs.h. */
24908 + _ACEOF
24909 + cat confdefs.h >>conftest.$ac_ext
24910 + cat >>conftest.$ac_ext <<_ACEOF
24911 + /* end confdefs.h. */
24912 +-
24913 +-/* Override any gcc2 internal prototype to avoid an error. */
24914 +-#ifdef __cplusplus
24915 +-extern "C"
24916 +-#endif
24917 +-/* We use char because int might match the return type of a gcc2
24918 +- builtin and then its argument prototype would still apply. */
24919 +-char cplus_demangle ();
24920 ++#include <bzlib.h>
24921 + int
24922 + main ()
24923 + {
24924 +-cplus_demangle ();
24925 ++BZFILE* fp; char buf[1024]; int err;
24926 ++ int n = BZ2_bzRead(&err, fp, buf, sizeof(buf))
24927 + ;
24928 + return 0;
24929 + }
24930 + _ACEOF
24931 + rm -f conftest.$ac_objext conftest$ac_exeext
24932 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24933 +- (eval $ac_link) 2>conftest.er1
24934 ++if { (ac_try="$ac_link"
24935 ++case "(($ac_try" in
24936 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24937 ++ *) ac_try_echo=$ac_try;;
24938 ++esac
24939 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24940 ++ (eval "$ac_link") 2>conftest.er1
24941 + ac_status=$?
24942 + grep -v '^ *+' conftest.er1 >conftest.err
24943 + rm -f conftest.er1
24944 + cat conftest.err >&5
24945 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24946 + (exit $ac_status); } &&
24947 +- { ac_try='test -z "$ac_cxx_werror_flag"
24948 +- || test ! -s conftest.err'
24949 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24950 +- (eval $ac_try) 2>&5
24951 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24952 ++ { (case "(($ac_try" in
24953 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24954 ++ *) ac_try_echo=$ac_try;;
24955 ++esac
24956 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24957 ++ (eval "$ac_try") 2>&5
24958 + ac_status=$?
24959 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24960 + (exit $ac_status); }; } &&
24961 + { ac_try='test -s conftest$ac_exeext'
24962 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24963 +- (eval $ac_try) 2>&5
24964 ++ { (case "(($ac_try" in
24965 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24966 ++ *) ac_try_echo=$ac_try;;
24967 ++esac
24968 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24969 ++ (eval "$ac_try") 2>&5
24970 + ac_status=$?
24971 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972 + (exit $ac_status); }; }; then
24973 +- ac_cv_search_cplus_demangle="-l$ac_lib"
24974 +-break
24975 ++ ncbi_cv_lib_bz2=yes
24976 + else
24977 + echo "$as_me: failed program was:" >&5
24978 + sed 's/^/| /' conftest.$ac_ext >&5
24979 +
24980 ++ ncbi_cv_lib_bz2=no
24981 + fi
24982 +-rm -f conftest.err conftest.$ac_objext \
24983 ++
24984 ++rm -f core conftest.err conftest.$ac_objext \
24985 + conftest$ac_exeext conftest.$ac_ext
24986 +- done
24987 + fi
24988 +-LIBS=$ac_func_search_save_LIBS
24989 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_bz2" >&5
24990 ++echo "${ECHO_T}$ncbi_cv_lib_bz2" >&6; }
24991 ++ if test "$ncbi_cv_lib_bz2" = "no"; then
24992 ++ if test "${with_bz2:=no}" != no; then
24993 ++ { { echo "$as_me:$LINENO: error: --with-bz2 explicitly specified, but no usable version found." >&5
24994 ++echo "$as_me: error: --with-bz2 explicitly specified, but no usable version found." >&2;}
24995 ++ { (exit 1); exit 1; }; }
24996 ++ fi
24997 + fi
24998 +-echo "$as_me:$LINENO: result: $ac_cv_search_cplus_demangle" >&5
24999 +-echo "${ECHO_T}$ac_cv_search_cplus_demangle" >&6
25000 +-if test "$ac_cv_search_cplus_demangle" != no; then
25001 +- test "$ac_cv_search_cplus_demangle" = "none required" || LIBS="$ac_cv_search_cplus_demangle $LIBS"
25002 ++ fi
25003 ++ if test "$with_bz2" = "no"; then
25004 ++ BZ2_PATH="No_BZ2"
25005 ++ BZ2_INCLUDE=
25006 ++ BZ2_LIBS=
25007 ++ else
25008 ++ WithPackages="$WithPackages${WithPackagesSep}BZ2"; WithPackagesSep=" "
25009 ++ BZ2_INCLUDE=" $BZ2_INCLUDE"
25010 +
25011 + cat >>confdefs.h <<\_ACEOF
25012 +-#define HAVE_LIBDEMANGLE 1
25013 ++#define HAVE_LIBBZ2 1
25014 + _ACEOF
25015 +
25016 +- test "x$ac_cv_search_cplus_demangle" = "xnone required" || DEMANGLE_LIBS=$ac_cv_search_cplus_demangle
25017 + fi
25018 +
25019 +- LIBS=$saved_LIBS
25020 +
25021 +-# Add to (orig_)LIBS if present for the sake of corelib and the
25022 +-# following call to AC_CHECK_FUNCS.
25023 +-if test -n "$DEMANGLE_LIBS$RT_LIBS"; then
25024 +- LIBS="$DEMANGLE_LIBS $RT_LIBS $LIBS"
25025 +- orig_LIBS="$DEMANGLE_LIBS $RT_LIBS $orig_LIBS"
25026 +-fi
25027 +
25028 ++if test -z "$BZ2_LIBS"; then
25029 ++ bzlocal=util/compress/bzip2
25030 ++ { echo "$as_me:$LINENO: using local bzlib copy in $bzlocal" >&5
25031 ++echo "$as_me: using local bzlib copy in $bzlocal" >&6;}
25032 ++ BZ2_PATH="<$bzlocal>"
25033 ++ BZ2_INCLUDE="-I\$(includedir)/$bzlocal -I\$(includedir0)/$bzlocal"
25034 ++ # BZ2_LIBS="-lbz2"
25035 ++ BZ2_LIB="bz2"
25036 +
25037 +-for ac_func in nanosleep sched_yield
25038 +-do
25039 +-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25040 +-echo "$as_me:$LINENO: checking for $ac_func" >&5
25041 +-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25042 +-if eval "test \"\${$as_ac_var+set}\" = set"; then
25043 ++cat >>confdefs.h <<\_ACEOF
25044 ++#define USE_LOCAL_BZLIB 1
25045 ++_ACEOF
25046 ++
25047 ++ WithPackages="$WithPackages${WithPackagesSep}BZ2"; WithPackagesSep=" "
25048 ++ WithPackages="$WithPackages${WithPackagesSep}LocalBZ2"; WithPackagesSep=" "
25049 ++fi
25050 ++
25051 ++if test -d "$LZO_PATH"; then
25052 ++ ncbi_fix_dir_tmp=`if cd $LZO_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
25053 ++ case "$ncbi_fix_dir_tmp" in
25054 ++ /.*) ncbi_fix_dir_tmp2=`cd $LZO_PATH && $smart_pwd 2>/dev/null`
25055 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
25056 ++ LZO_PATH=$ncbi_fix_dir_tmp2
25057 ++ else
25058 ++ case "$LZO_PATH" in
25059 ++ /*) ;;
25060 ++ * ) LZO_PATH=$ncbi_fix_dir_tmp ;;
25061 ++ esac
25062 ++ fi
25063 ++ ;;
25064 ++ /*) LZO_PATH=$ncbi_fix_dir_tmp ;;
25065 ++ esac
25066 ++fi
25067 ++if test "$with_lzo" != "no"; then
25068 ++ case "$with_lzo" in
25069 ++ yes | "" ) ;;
25070 ++ * ) LZO_PATH=$with_lzo ;;
25071 ++ esac
25072 ++ if test -d "$LZO_PATH"; then
25073 ++ in_path=" in $LZO_PATH"
25074 ++ if test -z "$LZO_INCLUDE" -a -d "$LZO_PATH/include"; then
25075 ++ LZO_INCLUDE="-I$LZO_PATH/include"
25076 ++ fi
25077 ++ if test -n "$LZO_LIBPATH"; then
25078 ++ :
25079 ++ elif test -d "$LZO_PATH/lib${bit64_sfx}"; then
25080 ++ ncbi_rp_L_flags=
25081 ++ ncbi_rp_L_sep=$CONF_f_libpath
25082 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
25083 ++ for x in $LZO_PATH/lib${bit64_sfx}; do
25084 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25085 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
25086 ++ done
25087 ++ LZO_LIBPATH="${ncbi_rp_L_flags}"
25088 ++ else
25089 ++ ncbi_rp_R_flags=
25090 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
25091 ++ for x in $LZO_PATH/lib${bit64_sfx}; do
25092 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25093 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
25094 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
25095 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
25096 ++ ncbi_rp_R_sep=:
25097 ++ done
25098 ++ LZO_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
25099 ++ fi
25100 ++ elif test -d "$LZO_PATH/lib"; then
25101 ++ ncbi_rp_L_flags=
25102 ++ ncbi_rp_L_sep=$CONF_f_libpath
25103 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
25104 ++ for x in $LZO_PATH/lib; do
25105 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25106 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
25107 ++ done
25108 ++ LZO_LIBPATH="${ncbi_rp_L_flags}"
25109 ++ else
25110 ++ ncbi_rp_R_flags=
25111 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
25112 ++ for x in $LZO_PATH/lib; do
25113 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25114 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
25115 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
25116 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
25117 ++ ncbi_rp_R_sep=:
25118 ++ done
25119 ++ LZO_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
25120 ++ fi
25121 ++ fi
25122 ++ LZO_LIBS="$LZO_LIBPATH -llzo2 "
25123 ++ else
25124 ++ LZO_INCLUDE=""
25125 ++ LZO_LIBS="-llzo2 "
25126 ++ in_path=
25127 ++ fi
25128 ++ { echo "$as_me:$LINENO: checking for liblzo2$in_path" >&5
25129 ++echo $ECHO_N "checking for liblzo2$in_path... $ECHO_C" >&6; }
25130 ++if test "${ncbi_cv_lib_lzo+set}" = set; then
25131 + echo $ECHO_N "(cached) $ECHO_C" >&6
25132 + else
25133 ++ CPPFLAGS=" $LZO_INCLUDE $orig_CPPFLAGS"
25134 ++ LIBS="$LZO_LIBS $orig_LIBS"
25135 + cat >conftest.$ac_ext <<_ACEOF
25136 + /* confdefs.h. */
25137 + _ACEOF
25138 + cat confdefs.h >>conftest.$ac_ext
25139 + cat >>conftest.$ac_ext <<_ACEOF
25140 + /* end confdefs.h. */
25141 +-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25142 +- For example, HP-UX 11i <limits.h> declares gettimeofday. */
25143 +-#define $ac_func innocuous_$ac_func
25144 +-
25145 +-/* System header to define __stub macros and hopefully few prototypes,
25146 +- which can conflict with char $ac_func (); below.
25147 +- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25148 +- <limits.h> exists even on freestanding compilers. */
25149 +-
25150 +-#ifdef __STDC__
25151 +-# include <limits.h>
25152 +-#else
25153 +-# include <assert.h>
25154 +-#endif
25155 +-
25156 +-#undef $ac_func
25157 +-
25158 +-/* Override any gcc2 internal prototype to avoid an error. */
25159 +-#ifdef __cplusplus
25160 +-extern "C"
25161 +-{
25162 +-#endif
25163 +-/* We use char because int might match the return type of a gcc2
25164 +- builtin and then its argument prototype would still apply. */
25165 +-char $ac_func ();
25166 +-/* The GNU C library defines this for functions which it implements
25167 +- to always fail with ENOSYS. Some functions are actually named
25168 +- something starting with __ and the normal name is an alias. */
25169 +-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25170 +-choke me
25171 +-#else
25172 +-char (*f) () = $ac_func;
25173 +-#endif
25174 +-#ifdef __cplusplus
25175 +-}
25176 +-#endif
25177 +-
25178 ++#include <lzo/lzo1x.h>
25179 + int
25180 + main ()
25181 + {
25182 +-return f != $ac_func;
25183 ++lzo_uint32 c = lzo_crc32(0, (const unsigned char*)"foo", 3);
25184 + ;
25185 + return 0;
25186 + }
25187 + _ACEOF
25188 + rm -f conftest.$ac_objext conftest$ac_exeext
25189 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25190 +- (eval $ac_link) 2>conftest.er1
25191 ++if { (ac_try="$ac_link"
25192 ++case "(($ac_try" in
25193 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25194 ++ *) ac_try_echo=$ac_try;;
25195 ++esac
25196 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25197 ++ (eval "$ac_link") 2>conftest.er1
25198 + ac_status=$?
25199 + grep -v '^ *+' conftest.er1 >conftest.err
25200 + rm -f conftest.er1
25201 + cat conftest.err >&5
25202 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25203 + (exit $ac_status); } &&
25204 +- { ac_try='test -z "$ac_cxx_werror_flag"
25205 +- || test ! -s conftest.err'
25206 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25207 +- (eval $ac_try) 2>&5
25208 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25209 ++ { (case "(($ac_try" in
25210 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25211 ++ *) ac_try_echo=$ac_try;;
25212 ++esac
25213 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25214 ++ (eval "$ac_try") 2>&5
25215 + ac_status=$?
25216 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25217 + (exit $ac_status); }; } &&
25218 + { ac_try='test -s conftest$ac_exeext'
25219 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25220 +- (eval $ac_try) 2>&5
25221 ++ { (case "(($ac_try" in
25222 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25223 ++ *) ac_try_echo=$ac_try;;
25224 ++esac
25225 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25226 ++ (eval "$ac_try") 2>&5
25227 + ac_status=$?
25228 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25229 + (exit $ac_status); }; }; then
25230 +- eval "$as_ac_var=yes"
25231 ++ ncbi_cv_lib_lzo=yes
25232 + else
25233 + echo "$as_me: failed program was:" >&5
25234 + sed 's/^/| /' conftest.$ac_ext >&5
25235 +
25236 +-eval "$as_ac_var=no"
25237 ++ ncbi_cv_lib_lzo=no
25238 + fi
25239 +-rm -f conftest.err conftest.$ac_objext \
25240 ++
25241 ++rm -f core conftest.err conftest.$ac_objext \
25242 + conftest$ac_exeext conftest.$ac_ext
25243 + fi
25244 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25245 +-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25246 +-if test `eval echo '${'$as_ac_var'}'` = yes; then
25247 +- cat >>confdefs.h <<_ACEOF
25248 +-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25249 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_lzo" >&5
25250 ++echo "${ECHO_T}$ncbi_cv_lib_lzo" >&6; }
25251 ++ if test "$ncbi_cv_lib_lzo" = "no"; then
25252 ++ if test "${with_lzo:=no}" != no; then
25253 ++ { { echo "$as_me:$LINENO: error: --with-lzo explicitly specified, but no usable version found." >&5
25254 ++echo "$as_me: error: --with-lzo explicitly specified, but no usable version found." >&2;}
25255 ++ { (exit 1); exit 1; }; }
25256 ++ fi
25257 ++ fi
25258 ++ fi
25259 ++ if test "$with_lzo" = "no"; then
25260 ++ LZO_PATH="No_LZO"
25261 ++ LZO_INCLUDE=
25262 ++ LZO_LIBS=
25263 ++ else
25264 ++ WithPackages="$WithPackages${WithPackagesSep}LZO"; WithPackagesSep=" "
25265 ++ LZO_INCLUDE=" $LZO_INCLUDE"
25266 ++
25267 ++cat >>confdefs.h <<\_ACEOF
25268 ++#define HAVE_LIBLZO 1
25269 + _ACEOF
25270 +
25271 + fi
25272 +-done
25273 +
25274 +
25275 +-# We need to include <iconv.h>, since some implementations rename the symbols.
25276 +-# This logic adapted from Bruno Haible's iconv.m4.
25277 +-echo "$as_me:$LINENO: checking for library containing iconv" >&5
25278 +-echo $ECHO_N "checking for library containing iconv... $ECHO_C" >&6
25279 +-if test "${ac_cv_search_iconv+set}" = set; then
25280 ++
25281 ++
25282 ++if test -z "$PCRE_PATH" && pcre-config --version >/dev/null 2>&1; then
25283 ++ p=`pcre-config --prefix`
25284 ++ test "x$p" = "x/usr" || PCRE_PATH=$p
25285 ++fi
25286 ++if test "$with_pcre" != "no"; then
25287 ++ case "$with_pcre" in
25288 ++ yes | "" ) ;;
25289 ++ * ) PCRE_PATH=$with_pcre ;;
25290 ++ esac
25291 ++ if test -d "$PCRE_PATH"; then
25292 ++ in_path=" in $PCRE_PATH"
25293 ++ if test -z "$PCRE_INCLUDE" -a -d "$PCRE_PATH/include"; then
25294 ++ PCRE_INCLUDE="-I$PCRE_PATH/include"
25295 ++ fi
25296 ++ if test -n "$PCRE_LIBPATH"; then
25297 ++ :
25298 ++ elif test -d "$PCRE_PATH/lib${bit64_sfx}"; then
25299 ++ ncbi_rp_L_flags=
25300 ++ ncbi_rp_L_sep=$CONF_f_libpath
25301 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
25302 ++ for x in $PCRE_PATH/lib${bit64_sfx}; do
25303 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25304 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
25305 ++ done
25306 ++ PCRE_LIBPATH="${ncbi_rp_L_flags}"
25307 ++ else
25308 ++ ncbi_rp_R_flags=
25309 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
25310 ++ for x in $PCRE_PATH/lib${bit64_sfx}; do
25311 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25312 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
25313 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
25314 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
25315 ++ ncbi_rp_R_sep=:
25316 ++ done
25317 ++ PCRE_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
25318 ++ fi
25319 ++ elif test -d "$PCRE_PATH/lib"; then
25320 ++ ncbi_rp_L_flags=
25321 ++ ncbi_rp_L_sep=$CONF_f_libpath
25322 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
25323 ++ for x in $PCRE_PATH/lib; do
25324 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25325 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
25326 ++ done
25327 ++ PCRE_LIBPATH="${ncbi_rp_L_flags}"
25328 ++ else
25329 ++ ncbi_rp_R_flags=
25330 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
25331 ++ for x in $PCRE_PATH/lib; do
25332 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25333 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
25334 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
25335 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
25336 ++ ncbi_rp_R_sep=:
25337 ++ done
25338 ++ PCRE_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
25339 ++ fi
25340 ++ fi
25341 ++ PCRE_LIBS="$PCRE_LIBPATH -lpcre "
25342 ++ else
25343 ++ PCRE_INCLUDE=""
25344 ++ PCRE_LIBS="-lpcre "
25345 ++ in_path=
25346 ++ fi
25347 ++ { echo "$as_me:$LINENO: checking for libpcre$in_path" >&5
25348 ++echo $ECHO_N "checking for libpcre$in_path... $ECHO_C" >&6; }
25349 ++if test "${ncbi_cv_lib_pcre+set}" = set; then
25350 + echo $ECHO_N "(cached) $ECHO_C" >&6
25351 + else
25352 +-
25353 +- ac_cv_search_iconv=no
25354 ++ CPPFLAGS=" $PCRE_INCLUDE $orig_CPPFLAGS"
25355 ++ LIBS="$PCRE_LIBS $orig_LIBS"
25356 + cat >conftest.$ac_ext <<_ACEOF
25357 + /* confdefs.h. */
25358 + _ACEOF
25359 + cat confdefs.h >>conftest.$ac_ext
25360 + cat >>conftest.$ac_ext <<_ACEOF
25361 + /* end confdefs.h. */
25362 +-#include <stdlib.h>
25363 +- #include <iconv.h>
25364 ++#include <pcre.h>
25365 + int
25366 + main ()
25367 + {
25368 +-iconv_t cd = iconv_open("","");
25369 +- iconv(cd,NULL,NULL,NULL,NULL);
25370 +- iconv_close(cd);
25371 ++const char*s[]={"x"}; pcre* p; pcre_extra* x = pcre_study(p, 1, s);
25372 + ;
25373 + return 0;
25374 + }
25375 + _ACEOF
25376 + rm -f conftest.$ac_objext conftest$ac_exeext
25377 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25378 +- (eval $ac_link) 2>conftest.er1
25379 ++if { (ac_try="$ac_link"
25380 ++case "(($ac_try" in
25381 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25382 ++ *) ac_try_echo=$ac_try;;
25383 ++esac
25384 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25385 ++ (eval "$ac_link") 2>conftest.er1
25386 + ac_status=$?
25387 + grep -v '^ *+' conftest.er1 >conftest.err
25388 + rm -f conftest.er1
25389 + cat conftest.err >&5
25390 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25391 + (exit $ac_status); } &&
25392 +- { ac_try='test -z "$ac_cxx_werror_flag"
25393 +- || test ! -s conftest.err'
25394 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25395 +- (eval $ac_try) 2>&5
25396 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25397 ++ { (case "(($ac_try" in
25398 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25399 ++ *) ac_try_echo=$ac_try;;
25400 ++esac
25401 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25402 ++ (eval "$ac_try") 2>&5
25403 + ac_status=$?
25404 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25405 + (exit $ac_status); }; } &&
25406 + { ac_try='test -s conftest$ac_exeext'
25407 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25408 +- (eval $ac_try) 2>&5
25409 ++ { (case "(($ac_try" in
25410 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25411 ++ *) ac_try_echo=$ac_try;;
25412 ++esac
25413 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25414 ++ (eval "$ac_try") 2>&5
25415 + ac_status=$?
25416 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25417 + (exit $ac_status); }; }; then
25418 +- ac_cv_search_iconv="none required"
25419 ++ ncbi_cv_lib_pcre=yes
25420 + else
25421 + echo "$as_me: failed program was:" >&5
25422 + sed 's/^/| /' conftest.$ac_ext >&5
25423 +
25424 ++ ncbi_cv_lib_pcre=no
25425 + fi
25426 +-rm -f conftest.err conftest.$ac_objext \
25427 ++
25428 ++rm -f core conftest.err conftest.$ac_objext \
25429 + conftest$ac_exeext conftest.$ac_ext
25430 +- if test "$ac_cv_search_iconv" != "none required"; then
25431 +- for l in iconv; do
25432 +- LIBS="-l$l $orig_LIBS"
25433 +- cat >conftest.$ac_ext <<_ACEOF
25434 +-/* confdefs.h. */
25435 +-_ACEOF
25436 +-cat confdefs.h >>conftest.$ac_ext
25437 +-cat >>conftest.$ac_ext <<_ACEOF
25438 +-/* end confdefs.h. */
25439 +-#include <stdlib.h>
25440 +- #include <iconv.h>
25441 +-int
25442 +-main ()
25443 +-{
25444 +-iconv_t cd = iconv_open("","");
25445 +- iconv(cd,NULL,NULL,NULL,NULL);
25446 +- iconv_close(cd);
25447 +- ;
25448 +- return 0;
25449 +-}
25450 +-_ACEOF
25451 +-rm -f conftest.$ac_objext conftest$ac_exeext
25452 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25453 +- (eval $ac_link) 2>conftest.er1
25454 +- ac_status=$?
25455 +- grep -v '^ *+' conftest.er1 >conftest.err
25456 +- rm -f conftest.er1
25457 +- cat conftest.err >&5
25458 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
25459 +- (exit $ac_status); } &&
25460 +- { ac_try='test -z "$ac_cxx_werror_flag"
25461 +- || test ! -s conftest.err'
25462 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25463 +- (eval $ac_try) 2>&5
25464 +- ac_status=$?
25465 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
25466 +- (exit $ac_status); }; } &&
25467 +- { ac_try='test -s conftest$ac_exeext'
25468 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25469 +- (eval $ac_try) 2>&5
25470 +- ac_status=$?
25471 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
25472 +- (exit $ac_status); }; }; then
25473 +- ac_cv_search_iconv=-l$l
25474 +-else
25475 +- echo "$as_me: failed program was:" >&5
25476 +-sed 's/^/| /' conftest.$ac_ext >&5
25477 +-
25478 + fi
25479 +-rm -f conftest.err conftest.$ac_objext \
25480 +- conftest$ac_exeext conftest.$ac_ext
25481 +- LIBS="$orig_LIBS"
25482 +- done
25483 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_pcre" >&5
25484 ++echo "${ECHO_T}$ncbi_cv_lib_pcre" >&6; }
25485 ++ if test "$ncbi_cv_lib_pcre" = "no"; then
25486 ++ if test "${with_pcre:=no}" != no; then
25487 ++ { { echo "$as_me:$LINENO: error: --with-pcre explicitly specified, but no usable version found." >&5
25488 ++echo "$as_me: error: --with-pcre explicitly specified, but no usable version found." >&2;}
25489 ++ { (exit 1); exit 1; }; }
25490 + fi
25491 + fi
25492 +-echo "$as_me:$LINENO: result: $ac_cv_search_iconv" >&5
25493 +-echo "${ECHO_T}$ac_cv_search_iconv" >&6
25494 +-if test "x$ac_cv_search_iconv" != xno; then
25495 ++ fi
25496 ++ if test "$with_pcre" = "no"; then
25497 ++ PCRE_PATH="No_PCRE"
25498 ++ PCRE_INCLUDE=
25499 ++ PCRE_LIBS=
25500 ++ else
25501 ++ WithPackages="$WithPackages${WithPackagesSep}PCRE"; WithPackagesSep=" "
25502 ++ PCRE_INCLUDE=" $PCRE_INCLUDE"
25503 +
25504 + cat >>confdefs.h <<\_ACEOF
25505 +-#define HAVE_LIBICONV 1
25506 ++#define HAVE_LIBPCRE 1
25507 + _ACEOF
25508 +
25509 +- echo "$as_me:$LINENO: checking for iconv declaration" >&5
25510 +-echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
25511 +- if test "${am_cv_proto_iconv+set}" = set; then
25512 +- echo $ECHO_N "(cached) $ECHO_C" >&6
25513 +-else
25514 ++ fi
25515 +
25516 +- cat >conftest.$ac_ext <<_ACEOF
25517 +
25518 +-#include <stdlib.h>
25519 +-#include <iconv.h>
25520 +-extern
25521 +-#ifdef __cplusplus
25522 +-"C"
25523 +-#endif
25524 +-#if defined(__STDC__) || defined(__cplusplus)
25525 +-size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
25526 +-#else
25527 +-size_t iconv();
25528 +-#endif
25529 +
25530 ++if test -z "$PCRE_LIBS"; then
25531 ++ pcrelocal=util/regexp
25532 ++ { echo "$as_me:$LINENO: using local PCRE copy in $pcrelocal" >&5
25533 ++echo "$as_me: using local PCRE copy in $pcrelocal" >&6;}
25534 ++ PCRE_PATH="<$pcrelocal>"
25535 ++ PCRE_INCLUDE="-I\$(includedir)/$pcrelocal -I\$(includedir0)/$pcrelocal"
25536 ++ # PCRE_LIBS="-lregexp"
25537 ++ # PCREPOSIX_LIBS="-lregexp"
25538 ++ PCRE_LIB="regexp"
25539 ++
25540 ++cat >>confdefs.h <<\_ACEOF
25541 ++#define USE_LOCAL_PCRE 1
25542 + _ACEOF
25543 +-rm -f conftest.$ac_objext
25544 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25545 +- (eval $ac_compile) 2>conftest.er1
25546 +- ac_status=$?
25547 +- grep -v '^ *+' conftest.er1 >conftest.err
25548 +- rm -f conftest.er1
25549 +- cat conftest.err >&5
25550 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
25551 +- (exit $ac_status); } &&
25552 +- { ac_try='test -z "$ac_cxx_werror_flag"
25553 +- || test ! -s conftest.err'
25554 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25555 +- (eval $ac_try) 2>&5
25556 +- ac_status=$?
25557 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
25558 +- (exit $ac_status); }; } &&
25559 +- { ac_try='test -s conftest.$ac_objext'
25560 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25561 +- (eval $ac_try) 2>&5
25562 +- ac_status=$?
25563 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
25564 +- (exit $ac_status); }; }; then
25565 +- am_cv_proto_iconv_arg1=""
25566 ++
25567 ++ WithPackages="$WithPackages${WithPackagesSep}PCRE"; WithPackagesSep=" "
25568 ++ WithPackages="$WithPackages${WithPackagesSep}LocalPCRE"; WithPackagesSep=" "
25569 + else
25570 +- echo "$as_me: failed program was:" >&5
25571 +-sed 's/^/| /' conftest.$ac_ext >&5
25572 ++ PCREPOSIX_LIBS=`echo "$PCRE_LIBS" | sed -e 's/-lpcre/-lpcreposix -lpcre/'`
25573 ++fi
25574 +
25575 +-am_cv_proto_iconv_arg1="const"
25576 ++## SSL/TLS libraries
25577 ++case "$with_gcrypt" in
25578 ++ no ) ac_cv_path_LIBGCRYPT_CONFIG=no ;;
25579 ++ yes | '' ) ;;
25580 ++ * ) GCRYPT_PATH=$with_gcrypt ;;
25581 ++esac
25582 ++if test -d "$GCRYPT_PATH"; then
25583 ++ ncbi_fix_dir_tmp=`if cd $GCRYPT_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
25584 ++ case "$ncbi_fix_dir_tmp" in
25585 ++ /.*) ncbi_fix_dir_tmp2=`cd $GCRYPT_PATH && $smart_pwd 2>/dev/null`
25586 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
25587 ++ GCRYPT_PATH=$ncbi_fix_dir_tmp2
25588 ++ else
25589 ++ case "$GCRYPT_PATH" in
25590 ++ /*) ;;
25591 ++ * ) GCRYPT_PATH=$ncbi_fix_dir_tmp ;;
25592 ++ esac
25593 + fi
25594 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25595 +- 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);"
25596 ++ ;;
25597 ++ /*) GCRYPT_PATH=$ncbi_fix_dir_tmp ;;
25598 ++ esac
25599 + fi
25600 ++# Extract the first word of "libgcrypt-config", so it can be a program name with args.
25601 ++set dummy libgcrypt-config; ac_word=$2
25602 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25603 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25604 ++if test "${ac_cv_path_LIBGCRYPT_CONFIG+set}" = set; then
25605 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
25606 ++else
25607 ++ case $LIBGCRYPT_CONFIG in
25608 ++ [\\/]* | ?:[\\/]*)
25609 ++ ac_cv_path_LIBGCRYPT_CONFIG="$LIBGCRYPT_CONFIG" # Let the user override the test with a path.
25610 ++ ;;
25611 ++ *)
25612 ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25613 ++as_dummy="${GCRYPT_BIN-$GCRYPT_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/bin}:$GCRYPT_PATH/bin${bit64_sfx}:$GCRYPT_PATH/bin:$PATH"
25614 ++for as_dir in $as_dummy
25615 ++do
25616 ++ IFS=$as_save_IFS
25617 ++ test -z "$as_dir" && as_dir=.
25618 ++ for ac_exec_ext in '' $ac_executable_extensions; do
25619 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
25620 ++ ac_cv_path_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25621 ++ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25622 ++ break 2
25623 ++ fi
25624 ++done
25625 ++done
25626 ++IFS=$as_save_IFS
25627 +
25628 +- am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
25629 +- echo "$as_me:$LINENO: result: ${ac_t:-
25630 +- }$am_cv_proto_iconv" >&5
25631 +-echo "${ECHO_T}${ac_t:-
25632 +- }$am_cv_proto_iconv" >&6
25633 +-
25634 +-cat >>confdefs.h <<_ACEOF
25635 +-#define ICONV_CONST $am_cv_proto_iconv_arg1
25636 +-_ACEOF
25637 +-
25638 +- if test "x$ac_cv_search_iconv" != "xnone required"; then
25639 +- ICONV_LIBS=$ac_cv_search_iconv
25640 ++ ;;
25641 ++esac
25642 + fi
25643 ++LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG
25644 ++if test -n "$LIBGCRYPT_CONFIG"; then
25645 ++ { echo "$as_me:$LINENO: result: $LIBGCRYPT_CONFIG" >&5
25646 ++echo "${ECHO_T}$LIBGCRYPT_CONFIG" >&6; }
25647 ++else
25648 ++ { echo "$as_me:$LINENO: result: no" >&5
25649 ++echo "${ECHO_T}no" >&6; }
25650 + fi
25651 +
25652 +
25653 +-### Third-party libraries
25654 +-
25655 +-usr_lib='[/usr]*/lib/*[amdsprcv]*[23469]*'
25656 +-no_usr_lib="s,-L$usr_lib ,,g;"
25657 +
25658 +-if test "$with_z" != "no"; then
25659 +- case "$with_z" in
25660 ++if test "x$with_gcrypt" != xno; then
25661 ++ if test -x "$LIBGCRYPT_CONFIG"; then
25662 ++ if test -z "$GCRYPT_PATH"; then
25663 ++ p=`libgcrypt-config --prefix`
25664 ++ test "x$p" = "x/usr" || GCRYPT_PATH=$p
25665 ++ fi
25666 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
25667 ++ GCRYPT_LIBPATH=`$LIBGCRYPT_CONFIG --exec-prefix | sed -e "s,^,-L,; s,$,/lib,;"`
25668 ++ else
25669 ++ GCRYPT_LIBPATH=
25670 ++ ncbi_rp_L_sep=
25671 ++ ncbi_rp_R_flags=
25672 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
25673 ++ for x in `$LIBGCRYPT_CONFIG --exec-prefix | sed -e "s,^,-L,; s,$,/lib,;"`; do
25674 ++ case "$x" in
25675 ++ -L*)
25676 ++ GCRYPT_LIBPATH="$GCRYPT_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 ++ GCRYPT_LIBPATH="$GCRYPT_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 ++ GCRYPT_LIBPATH="$GCRYPT_LIBPATH${ncbi_rp_R_flags}"
25690 ++ fi
25691 ++ GCRYPT_INCLUDE=`$LIBGCRYPT_CONFIG --cflags`
25692 ++ GCRYPT_CONFIG_LIBS="`$LIBGCRYPT_CONFIG --libs` $Z_LIBS"
25693 ++ fi
25694 ++else
25695 ++ $as_unset GCRYPT_CONFIG_LIBS || test "${GCRYPT_CONFIG_LIBS+set}" != set || { GCRYPT_CONFIG_LIBS=; export GCRYPT_CONFIG_LIBS; }
25696 ++fi
25697 ++if test "$with_gcrypt" != "no"; then
25698 ++ case "$with_gcrypt" in
25699 + yes | "" ) ;;
25700 +- * ) Z_PATH=$with_z ;;
25701 ++ * ) GCRYPT_PATH=$with_gcrypt ;;
25702 + esac
25703 +- if test -d "$Z_PATH"; then
25704 +- in_path=" in $Z_PATH"
25705 +- if test -z "$Z_INCLUDE" -a -d "$Z_PATH/include"; then
25706 +- Z_INCLUDE="-I$Z_PATH/include"
25707 ++ if test -d "$GCRYPT_PATH"; then
25708 ++ in_path=" in $GCRYPT_PATH"
25709 ++ if test -z "$GCRYPT_INCLUDE" -a -d "$GCRYPT_PATH/include"; then
25710 ++ GCRYPT_INCLUDE="-I$GCRYPT_PATH/include"
25711 + fi
25712 +- if test -n "$Z_LIBPATH"; then
25713 ++ if test -n "$GCRYPT_LIBPATH"; then
25714 + :
25715 +- elif test -d "$Z_PATH/lib${bit64_sfx}"; then
25716 ++ elif test -d "$GCRYPT_PATH/lib${bit64_sfx}"; then
25717 + ncbi_rp_L_flags=
25718 + ncbi_rp_L_sep=$CONF_f_libpath
25719 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
25720 +- for x in $Z_PATH/lib${bit64_sfx}; do
25721 ++ for x in $GCRYPT_PATH/lib${bit64_sfx}; do
25722 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25723 + ncbi_rp_L_sep=" $CONF_f_libpath"
25724 + done
25725 +- Z_LIBPATH="${ncbi_rp_L_flags}"
25726 ++ GCRYPT_LIBPATH="${ncbi_rp_L_flags}"
25727 + else
25728 + ncbi_rp_R_flags=
25729 + ncbi_rp_R_sep=" $CONF_f_runpath"
25730 +- for x in $Z_PATH/lib${bit64_sfx}; do
25731 ++ for x in $GCRYPT_PATH/lib${bit64_sfx}; do
25732 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25733 + ncbi_rp_L_sep=" $CONF_f_libpath"
25734 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
25735 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
25736 + ncbi_rp_R_sep=:
25737 + done
25738 +- Z_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
25739 ++ GCRYPT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
25740 + fi
25741 +- elif test -d "$Z_PATH/lib"; then
25742 ++ elif test -d "$GCRYPT_PATH/lib"; then
25743 + ncbi_rp_L_flags=
25744 + ncbi_rp_L_sep=$CONF_f_libpath
25745 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
25746 +- for x in $Z_PATH/lib; do
25747 ++ for x in $GCRYPT_PATH/lib; do
25748 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25749 + ncbi_rp_L_sep=" $CONF_f_libpath"
25750 + done
25751 +- Z_LIBPATH="${ncbi_rp_L_flags}"
25752 ++ GCRYPT_LIBPATH="${ncbi_rp_L_flags}"
25753 + else
25754 + ncbi_rp_R_flags=
25755 + ncbi_rp_R_sep=" $CONF_f_runpath"
25756 +- for x in $Z_PATH/lib; do
25757 ++ for x in $GCRYPT_PATH/lib; do
25758 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25759 + ncbi_rp_L_sep=" $CONF_f_libpath"
25760 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
25761 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
25762 + ncbi_rp_R_sep=:
25763 + done
25764 +- Z_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
25765 ++ GCRYPT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
25766 + fi
25767 + fi
25768 +- Z_LIBS="$Z_LIBPATH -lz "
25769 ++ GCRYPT_LIBS="$GCRYPT_LIBPATH -lgcrypt $GCRYPT_CONFIG_LIBS"
25770 + else
25771 +- Z_INCLUDE=""
25772 +- Z_LIBS="-lz "
25773 ++ GCRYPT_INCLUDE=""
25774 ++ GCRYPT_LIBS="-lgcrypt $GCRYPT_CONFIG_LIBS"
25775 + in_path=
25776 + fi
25777 +- echo "$as_me:$LINENO: checking for libz$in_path" >&5
25778 +-echo $ECHO_N "checking for libz$in_path... $ECHO_C" >&6
25779 +-if test "${ncbi_cv_lib_z+set}" = set; then
25780 ++ { echo "$as_me:$LINENO: checking for libgcrypt$in_path" >&5
25781 ++echo $ECHO_N "checking for libgcrypt$in_path... $ECHO_C" >&6; }
25782 ++if test "${ncbi_cv_lib_gcrypt+set}" = set; then
25783 + echo $ECHO_N "(cached) $ECHO_C" >&6
25784 + else
25785 +- CPPFLAGS=" $Z_INCLUDE $orig_CPPFLAGS"
25786 +- LIBS="$Z_LIBS $orig_LIBS"
25787 ++ CPPFLAGS=" $GCRYPT_INCLUDE $orig_CPPFLAGS"
25788 ++ LIBS="$GCRYPT_LIBS $orig_LIBS"
25789 + cat >conftest.$ac_ext <<_ACEOF
25790 + /* confdefs.h. */
25791 + _ACEOF
25792 + cat confdefs.h >>conftest.$ac_ext
25793 + cat >>conftest.$ac_ext <<_ACEOF
25794 + /* end confdefs.h. */
25795 +-#include <zlib.h>
25796 ++#include <gcrypt.h>
25797 ++ #include <pthread.h>
25798 ++ #include <errno.h>
25799 ++ GCRY_THREAD_OPTION_PTHREAD_IMPL;
25800 + int
25801 + main ()
25802 + {
25803 +-gzFile fp; char buf[1024]; int n = gzread(fp, buf, sizeof(buf))
25804 ++gcry_control(GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);
25805 + ;
25806 + return 0;
25807 + }
25808 + _ACEOF
25809 + rm -f conftest.$ac_objext conftest$ac_exeext
25810 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25811 +- (eval $ac_link) 2>conftest.er1
25812 ++if { (ac_try="$ac_link"
25813 ++case "(($ac_try" in
25814 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25815 ++ *) ac_try_echo=$ac_try;;
25816 ++esac
25817 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25818 ++ (eval "$ac_link") 2>conftest.er1
25819 + ac_status=$?
25820 + grep -v '^ *+' conftest.er1 >conftest.err
25821 + rm -f conftest.er1
25822 + cat conftest.err >&5
25823 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25824 + (exit $ac_status); } &&
25825 +- { ac_try='test -z "$ac_cxx_werror_flag"
25826 +- || test ! -s conftest.err'
25827 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25828 +- (eval $ac_try) 2>&5
25829 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25830 ++ { (case "(($ac_try" in
25831 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25832 ++ *) ac_try_echo=$ac_try;;
25833 ++esac
25834 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25835 ++ (eval "$ac_try") 2>&5
25836 + ac_status=$?
25837 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25838 + (exit $ac_status); }; } &&
25839 + { ac_try='test -s conftest$ac_exeext'
25840 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25841 +- (eval $ac_try) 2>&5
25842 ++ { (case "(($ac_try" in
25843 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25844 ++ *) ac_try_echo=$ac_try;;
25845 ++esac
25846 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25847 ++ (eval "$ac_try") 2>&5
25848 + ac_status=$?
25849 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25850 + (exit $ac_status); }; }; then
25851 +- ncbi_cv_lib_z=yes
25852 ++ ncbi_cv_lib_gcrypt=yes
25853 + else
25854 + echo "$as_me: failed program was:" >&5
25855 + sed 's/^/| /' conftest.$ac_ext >&5
25856 +
25857 +-ncbi_cv_lib_z=no
25858 ++ ncbi_cv_lib_gcrypt=no
25859 + fi
25860 +-rm -f conftest.err conftest.$ac_objext \
25861 ++
25862 ++rm -f core conftest.err conftest.$ac_objext \
25863 + conftest$ac_exeext conftest.$ac_ext
25864 + fi
25865 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_z" >&5
25866 +-echo "${ECHO_T}$ncbi_cv_lib_z" >&6
25867 +- if test "$ncbi_cv_lib_z" = "no"; then
25868 +- if test "${with_z:=no}" != no; then
25869 +- { { echo "$as_me:$LINENO: error: --with-z explicitly specified, but no usable version found." >&5
25870 +-echo "$as_me: error: --with-z explicitly specified, but no usable version found." >&2;}
25871 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_gcrypt" >&5
25872 ++echo "${ECHO_T}$ncbi_cv_lib_gcrypt" >&6; }
25873 ++ if test "$ncbi_cv_lib_gcrypt" = "no"; then
25874 ++ if test "${with_gcrypt:=no}" != no; then
25875 ++ { { echo "$as_me:$LINENO: error: --with-gcrypt explicitly specified, but no usable version found." >&5
25876 ++echo "$as_me: error: --with-gcrypt explicitly specified, but no usable version found." >&2;}
25877 + { (exit 1); exit 1; }; }
25878 + fi
25879 + fi
25880 + fi
25881 +- if test "$with_z" = "no"; then
25882 +- Z_PATH="No_Z"
25883 +- Z_INCLUDE=
25884 +- Z_LIBS=
25885 ++ if test "$with_gcrypt" = "no"; then
25886 ++ GCRYPT_PATH="No_GCRYPT"
25887 ++ GCRYPT_INCLUDE=
25888 ++ GCRYPT_LIBS=
25889 + else
25890 +- WithPackages="$WithPackages${WithPackagesSep}Z"; WithPackagesSep=" "
25891 +- Z_INCLUDE=" $Z_INCLUDE"
25892 ++ WithPackages="$WithPackages${WithPackagesSep}GCRYPT"; WithPackagesSep=" "
25893 ++ GCRYPT_INCLUDE=" $GCRYPT_INCLUDE"
25894 +
25895 + cat >>confdefs.h <<\_ACEOF
25896 +-#define HAVE_LIBZ 1
25897 ++#define HAVE_LIBGCRYPT 1
25898 + _ACEOF
25899 +
25900 + fi
25901 +
25902 +
25903 +
25904 +-if test -z "$Z_LIBS"; then
25905 +- zlocal=util/compress/zlib
25906 +- { echo "$as_me:$LINENO: using local zlib copy in $zlocal" >&5
25907 +-echo "$as_me: using local zlib copy in $zlocal" >&6;}
25908 +- Z_PATH="<$zlocal>"
25909 +- Z_INCLUDE="-I\$(includedir)/$zlocal -I\$(includedir0)/$zlocal"
25910 +- # Z_LIBS="-lz"
25911 +- Z_LIB="z"
25912 +- # AC_DEFINE(USE_LOCAL_ZLIB, 1, [Define to 1 if using a local copy of zlib.])
25913 +- WithPackages="$WithPackages${WithPackagesSep}Z"; WithPackagesSep=" "
25914 +- WithPackages="$WithPackages${WithPackagesSep}LocalZ"; WithPackagesSep=" "
25915 ++if test "x$with_gcrypt" != xno -a -n "$GCRYPT_CONFIG_LIBS"; then
25916 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
25917 ++ GCRYPT_LIBS=`echo $GCRYPT_CONFIG_LIBS | sed -e "$no_usr_lib"`
25918 ++ else
25919 ++ GCRYPT_LIBS=
25920 ++ ncbi_rp_L_sep=
25921 ++ ncbi_rp_R_flags=
25922 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
25923 ++ for x in `echo $GCRYPT_CONFIG_LIBS | sed -e "$no_usr_lib"`; do
25924 ++ case "$x" in
25925 ++ -L*)
25926 ++ GCRYPT_LIBS="$GCRYPT_LIBS${ncbi_rp_L_sep}$x"
25927 ++ x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
25928 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
25929 ++ ncbi_rp_R_sep=:
25930 ++ ;;
25931 ++ *)
25932 ++ GCRYPT_LIBS="$GCRYPT_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
25933 ++ ncbi_rp_R_flags=
25934 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
25935 ++ ;;
25936 ++ esac
25937 ++ ncbi_rp_L_sep=" "
25938 ++ done
25939 ++ GCRYPT_LIBS="$GCRYPT_LIBS${ncbi_rp_R_flags}"
25940 ++ fi
25941 + fi
25942 +
25943 +-if test "$with_bz2" != "no"; then
25944 +- case "$with_bz2" in
25945 ++case "$with_gnutls" in
25946 ++ no ) ac_cv_path_LIBGNUTLS_CONFIG=no ;;
25947 ++ yes | '' ) ;;
25948 ++ * ) GNUTLS_PATH=$with_gnutls ;;
25949 ++esac
25950 ++if test -d "$GNUTLS_PATH"; then
25951 ++ ncbi_fix_dir_tmp=`if cd $GNUTLS_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
25952 ++ case "$ncbi_fix_dir_tmp" in
25953 ++ /.*) ncbi_fix_dir_tmp2=`cd $GNUTLS_PATH && $smart_pwd 2>/dev/null`
25954 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
25955 ++ GNUTLS_PATH=$ncbi_fix_dir_tmp2
25956 ++ else
25957 ++ case "$GNUTLS_PATH" in
25958 ++ /*) ;;
25959 ++ * ) GNUTLS_PATH=$ncbi_fix_dir_tmp ;;
25960 ++ esac
25961 ++ fi
25962 ++ ;;
25963 ++ /*) GNUTLS_PATH=$ncbi_fix_dir_tmp ;;
25964 ++ esac
25965 ++ gnutls_config_path=${GNUTLS_BIN-$GNUTLS_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/bin}:$GNUTLS_PATH/bin${bit64_sfx}:$GNUTLS_PATH/bin
25966 ++else
25967 ++ gnutls_config_path=$PATH
25968 ++fi
25969 ++# Extract the first word of "libgnutls-config", so it can be a program name with args.
25970 ++set dummy libgnutls-config; ac_word=$2
25971 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25972 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25973 ++if test "${ac_cv_path_LIBGNUTLS_CONFIG+set}" = set; then
25974 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
25975 ++else
25976 ++ case $LIBGNUTLS_CONFIG in
25977 ++ [\\/]* | ?:[\\/]*)
25978 ++ ac_cv_path_LIBGNUTLS_CONFIG="$LIBGNUTLS_CONFIG" # Let the user override the test with a path.
25979 ++ ;;
25980 ++ *)
25981 ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25982 ++for as_dir in $gnutls_config_path
25983 ++do
25984 ++ IFS=$as_save_IFS
25985 ++ test -z "$as_dir" && as_dir=.
25986 ++ for ac_exec_ext in '' $ac_executable_extensions; do
25987 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
25988 ++ ac_cv_path_LIBGNUTLS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25989 ++ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25990 ++ break 2
25991 ++ fi
25992 ++done
25993 ++done
25994 ++IFS=$as_save_IFS
25995 ++
25996 ++ ;;
25997 ++esac
25998 ++fi
25999 ++LIBGNUTLS_CONFIG=$ac_cv_path_LIBGNUTLS_CONFIG
26000 ++if test -n "$LIBGNUTLS_CONFIG"; then
26001 ++ { echo "$as_me:$LINENO: result: $LIBGNUTLS_CONFIG" >&5
26002 ++echo "${ECHO_T}$LIBGNUTLS_CONFIG" >&6; }
26003 ++else
26004 ++ { echo "$as_me:$LINENO: result: no" >&5
26005 ++echo "${ECHO_T}no" >&6; }
26006 ++fi
26007 ++
26008 ++
26009 ++
26010 ++if test "x$with_gnutls" != xno; then
26011 ++ if test -x "$LIBGNUTLS_CONFIG"; then
26012 ++ if test -z "$GNUTLS_PATH"; then
26013 ++ p=`libgnutls-config --prefix`
26014 ++ test "x$p" = "x/usr" || GNUTLS_PATH=$p
26015 ++ fi
26016 ++ else
26017 ++ LIBGNUTLS_CONFIG="eval PKG_CONFIG_PATH=\"$GNUTLS_PATH/lib/pkgconfig\" pkg-config gnutls --static"
26018 ++ $LIBGNUTLS_CONFIG --exists >/dev/null 2>&1 || LIBGNUTLS_CONFIG=no
26019 ++ fi
26020 ++ case "$LIBGNUTLS_CONFIG" in
26021 ++ eval\ *)
26022 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
26023 ++ GNUTLS_LIBPATH=`$LIBGNUTLS_CONFIG --libs-only-L | sed -e ""`
26024 ++ else
26025 ++ GNUTLS_LIBPATH=
26026 ++ ncbi_rp_L_sep=
26027 ++ ncbi_rp_R_flags=
26028 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
26029 ++ for x in `$LIBGNUTLS_CONFIG --libs-only-L | sed -e ""`; do
26030 ++ case "$x" in
26031 ++ -L*)
26032 ++ GNUTLS_LIBPATH="$GNUTLS_LIBPATH${ncbi_rp_L_sep}$x"
26033 ++ x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
26034 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
26035 ++ ncbi_rp_R_sep=:
26036 ++ ;;
26037 ++ *)
26038 ++ GNUTLS_LIBPATH="$GNUTLS_LIBPATH${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
26039 ++ ncbi_rp_R_flags=
26040 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
26041 ++ ;;
26042 ++ esac
26043 ++ ncbi_rp_L_sep=" "
26044 ++ done
26045 ++ GNUTLS_LIBPATH="$GNUTLS_LIBPATH${ncbi_rp_R_flags}"
26046 ++ fi
26047 ++ ;;
26048 ++ no)
26049 ++ ;;
26050 ++ *)
26051 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
26052 ++ GNUTLS_LIBPATH=`$LIBGNUTLS_CONFIG --exec-prefix | sed -e "s,^,-L,; s,$,/lib,;"`
26053 ++ else
26054 ++ GNUTLS_LIBPATH=
26055 ++ ncbi_rp_L_sep=
26056 ++ ncbi_rp_R_flags=
26057 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
26058 ++ for x in `$LIBGNUTLS_CONFIG --exec-prefix | sed -e "s,^,-L,; s,$,/lib,;"`; do
26059 ++ case "$x" in
26060 ++ -L*)
26061 ++ GNUTLS_LIBPATH="$GNUTLS_LIBPATH${ncbi_rp_L_sep}$x"
26062 ++ x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
26063 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
26064 ++ ncbi_rp_R_sep=:
26065 ++ ;;
26066 ++ *)
26067 ++ GNUTLS_LIBPATH="$GNUTLS_LIBPATH${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
26068 ++ ncbi_rp_R_flags=
26069 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
26070 ++ ;;
26071 ++ esac
26072 ++ ncbi_rp_L_sep=" "
26073 ++ done
26074 ++ GNUTLS_LIBPATH="$GNUTLS_LIBPATH${ncbi_rp_R_flags}"
26075 ++ fi
26076 ++ ;;
26077 ++ esac
26078 ++
26079 ++ if test "x$LIBGNUTLS_CONFIG" != xno; then
26080 ++ GNUTLS_INCLUDE=`$LIBGNUTLS_CONFIG --cflags`
26081 ++ GNUTLS_CONFIG_LIBS="`$LIBGNUTLS_CONFIG --libs` $Z_LIBS"
26082 ++ fi
26083 ++else
26084 ++ $as_unset GNUTLS_CONFIG_LIBS || test "${GNUTLS_CONFIG_LIBS+set}" != set || { GNUTLS_CONFIG_LIBS=; export GNUTLS_CONFIG_LIBS; }
26085 ++fi
26086 ++if test "$with_gnutls" != "no"; then
26087 ++ case "$with_gnutls" in
26088 + yes | "" ) ;;
26089 +- * ) BZ2_PATH=$with_bz2 ;;
26090 ++ * ) GNUTLS_PATH=$with_gnutls ;;
26091 + esac
26092 +- if test -d "$BZ2_PATH"; then
26093 +- in_path=" in $BZ2_PATH"
26094 +- if test -z "$BZ2_INCLUDE" -a -d "$BZ2_PATH/include"; then
26095 +- BZ2_INCLUDE="-I$BZ2_PATH/include"
26096 ++ if test -d "$GNUTLS_PATH"; then
26097 ++ in_path=" in $GNUTLS_PATH"
26098 ++ if test -z "$GNUTLS_INCLUDE" -a -d "$GNUTLS_PATH/include"; then
26099 ++ GNUTLS_INCLUDE="-I$GNUTLS_PATH/include"
26100 + fi
26101 +- if test -n "$BZ2_LIBPATH"; then
26102 ++ if test -n "$GNUTLS_LIBPATH"; then
26103 + :
26104 +- elif test -d "$BZ2_PATH/lib${bit64_sfx}"; then
26105 ++ elif test -d "$GNUTLS_PATH/lib${bit64_sfx}"; then
26106 + ncbi_rp_L_flags=
26107 + ncbi_rp_L_sep=$CONF_f_libpath
26108 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
26109 +- for x in $BZ2_PATH/lib${bit64_sfx}; do
26110 ++ for x in $GNUTLS_PATH/lib${bit64_sfx}; do
26111 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
26112 + ncbi_rp_L_sep=" $CONF_f_libpath"
26113 + done
26114 +- BZ2_LIBPATH="${ncbi_rp_L_flags}"
26115 ++ GNUTLS_LIBPATH="${ncbi_rp_L_flags}"
26116 + else
26117 + ncbi_rp_R_flags=
26118 + ncbi_rp_R_sep=" $CONF_f_runpath"
26119 +- for x in $BZ2_PATH/lib${bit64_sfx}; do
26120 ++ for x in $GNUTLS_PATH/lib${bit64_sfx}; do
26121 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
26122 + ncbi_rp_L_sep=" $CONF_f_libpath"
26123 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
26124 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
26125 + ncbi_rp_R_sep=:
26126 + done
26127 +- BZ2_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
26128 ++ GNUTLS_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
26129 + fi
26130 +- elif test -d "$BZ2_PATH/lib"; then
26131 ++ elif test -d "$GNUTLS_PATH/lib"; then
26132 + ncbi_rp_L_flags=
26133 + ncbi_rp_L_sep=$CONF_f_libpath
26134 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
26135 +- for x in $BZ2_PATH/lib; do
26136 ++ for x in $GNUTLS_PATH/lib; do
26137 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
26138 + ncbi_rp_L_sep=" $CONF_f_libpath"
26139 + done
26140 +- BZ2_LIBPATH="${ncbi_rp_L_flags}"
26141 ++ GNUTLS_LIBPATH="${ncbi_rp_L_flags}"
26142 + else
26143 + ncbi_rp_R_flags=
26144 + ncbi_rp_R_sep=" $CONF_f_runpath"
26145 +- for x in $BZ2_PATH/lib; do
26146 ++ for x in $GNUTLS_PATH/lib; do
26147 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
26148 + ncbi_rp_L_sep=" $CONF_f_libpath"
26149 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
26150 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
26151 + ncbi_rp_R_sep=:
26152 + done
26153 +- BZ2_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
26154 ++ GNUTLS_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
26155 + fi
26156 + fi
26157 +- BZ2_LIBS="$BZ2_LIBPATH -lbz2 "
26158 ++ GNUTLS_LIBS="$GNUTLS_LIBPATH -lgnutls $GNUTLS_CONFIG_LIBS $GCRYPT_LIBS"
26159 + else
26160 +- BZ2_INCLUDE=""
26161 +- BZ2_LIBS="-lbz2 "
26162 ++ GNUTLS_INCLUDE=""
26163 ++ GNUTLS_LIBS="-lgnutls $GNUTLS_CONFIG_LIBS $GCRYPT_LIBS"
26164 + in_path=
26165 + fi
26166 +- echo "$as_me:$LINENO: checking for libbz2$in_path" >&5
26167 +-echo $ECHO_N "checking for libbz2$in_path... $ECHO_C" >&6
26168 +-if test "${ncbi_cv_lib_bz2+set}" = set; then
26169 ++ { echo "$as_me:$LINENO: checking for libgnutls$in_path" >&5
26170 ++echo $ECHO_N "checking for libgnutls$in_path... $ECHO_C" >&6; }
26171 ++if test "${ncbi_cv_lib_gnutls+set}" = set; then
26172 + echo $ECHO_N "(cached) $ECHO_C" >&6
26173 + else
26174 +- CPPFLAGS=" $BZ2_INCLUDE $orig_CPPFLAGS"
26175 +- LIBS="$BZ2_LIBS $orig_LIBS"
26176 ++ CPPFLAGS=" $GNUTLS_INCLUDE $orig_CPPFLAGS"
26177 ++ LIBS="$GNUTLS_LIBS $orig_LIBS"
26178 + cat >conftest.$ac_ext <<_ACEOF
26179 + /* confdefs.h. */
26180 + _ACEOF
26181 + cat confdefs.h >>conftest.$ac_ext
26182 + cat >>conftest.$ac_ext <<_ACEOF
26183 + /* end confdefs.h. */
26184 +-#include <bzlib.h>
26185 ++#include <gnutls/gnutls.h>
26186 + int
26187 + main ()
26188 + {
26189 +-BZFILE* fp; char buf[1024]; int err;
26190 +- int n = BZ2_bzRead(&err, fp, buf, sizeof(buf))
26191 ++gnutls_session_t s; gnutls_init(&s, GNUTLS_CLIENT);
26192 + ;
26193 + return 0;
26194 + }
26195 + _ACEOF
26196 + rm -f conftest.$ac_objext conftest$ac_exeext
26197 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26198 +- (eval $ac_link) 2>conftest.er1
26199 ++if { (ac_try="$ac_link"
26200 ++case "(($ac_try" in
26201 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26202 ++ *) ac_try_echo=$ac_try;;
26203 ++esac
26204 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26205 ++ (eval "$ac_link") 2>conftest.er1
26206 + ac_status=$?
26207 + grep -v '^ *+' conftest.er1 >conftest.err
26208 + rm -f conftest.er1
26209 + cat conftest.err >&5
26210 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
26211 + (exit $ac_status); } &&
26212 +- { ac_try='test -z "$ac_cxx_werror_flag"
26213 +- || test ! -s conftest.err'
26214 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26215 +- (eval $ac_try) 2>&5
26216 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26217 ++ { (case "(($ac_try" in
26218 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26219 ++ *) ac_try_echo=$ac_try;;
26220 ++esac
26221 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26222 ++ (eval "$ac_try") 2>&5
26223 + ac_status=$?
26224 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
26225 + (exit $ac_status); }; } &&
26226 + { ac_try='test -s conftest$ac_exeext'
26227 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26228 +- (eval $ac_try) 2>&5
26229 ++ { (case "(($ac_try" in
26230 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26231 ++ *) ac_try_echo=$ac_try;;
26232 ++esac
26233 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26234 ++ (eval "$ac_try") 2>&5
26235 + ac_status=$?
26236 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
26237 + (exit $ac_status); }; }; then
26238 +- ncbi_cv_lib_bz2=yes
26239 ++ ncbi_cv_lib_gnutls=yes
26240 + else
26241 + echo "$as_me: failed program was:" >&5
26242 + sed 's/^/| /' conftest.$ac_ext >&5
26243 +
26244 +-ncbi_cv_lib_bz2=no
26245 ++ ncbi_cv_lib_gnutls=no
26246 + fi
26247 +-rm -f conftest.err conftest.$ac_objext \
26248 ++
26249 ++rm -f core conftest.err conftest.$ac_objext \
26250 + conftest$ac_exeext conftest.$ac_ext
26251 + fi
26252 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_bz2" >&5
26253 +-echo "${ECHO_T}$ncbi_cv_lib_bz2" >&6
26254 +- if test "$ncbi_cv_lib_bz2" = "no"; then
26255 +- if test "${with_bz2:=no}" != no; then
26256 +- { { echo "$as_me:$LINENO: error: --with-bz2 explicitly specified, but no usable version found." >&5
26257 +-echo "$as_me: error: --with-bz2 explicitly specified, but no usable version found." >&2;}
26258 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_gnutls" >&5
26259 ++echo "${ECHO_T}$ncbi_cv_lib_gnutls" >&6; }
26260 ++ if test "$ncbi_cv_lib_gnutls" = "no"; then
26261 ++ if test "${with_gnutls:=no}" != no; then
26262 ++ { { echo "$as_me:$LINENO: error: --with-gnutls explicitly specified, but no usable version found." >&5
26263 ++echo "$as_me: error: --with-gnutls explicitly specified, but no usable version found." >&2;}
26264 + { (exit 1); exit 1; }; }
26265 + fi
26266 + fi
26267 + fi
26268 +- if test "$with_bz2" = "no"; then
26269 +- BZ2_PATH="No_BZ2"
26270 +- BZ2_INCLUDE=
26271 +- BZ2_LIBS=
26272 ++ if test "$with_gnutls" = "no"; then
26273 ++ GNUTLS_PATH="No_GNUTLS"
26274 ++ GNUTLS_INCLUDE=
26275 ++ GNUTLS_LIBS=
26276 + else
26277 +- WithPackages="$WithPackages${WithPackagesSep}BZ2"; WithPackagesSep=" "
26278 +- BZ2_INCLUDE=" $BZ2_INCLUDE"
26279 ++ WithPackages="$WithPackages${WithPackagesSep}GNUTLS"; WithPackagesSep=" "
26280 ++ GNUTLS_INCLUDE=" $GNUTLS_INCLUDE"
26281 +
26282 + cat >>confdefs.h <<\_ACEOF
26283 +-#define HAVE_LIBBZ2 1
26284 ++#define HAVE_LIBGNUTLS 1
26285 + _ACEOF
26286 +
26287 + fi
26288 +
26289 +
26290 +
26291 +-if test -z "$BZ2_LIBS"; then
26292 +- bzlocal=util/compress/bzip2
26293 +- { echo "$as_me:$LINENO: using local bzlib copy in $bzlocal" >&5
26294 +-echo "$as_me: using local bzlib copy in $bzlocal" >&6;}
26295 +- BZ2_PATH="<$bzlocal>"
26296 +- BZ2_INCLUDE="-I\$(includedir)/$bzlocal -I\$(includedir0)/$bzlocal"
26297 +- # BZ2_LIBS="-lbz2"
26298 +- BZ2_LIB="bz2"
26299 +-
26300 +-cat >>confdefs.h <<\_ACEOF
26301 +-#define USE_LOCAL_BZLIB 1
26302 +-_ACEOF
26303 +-
26304 +- WithPackages="$WithPackages${WithPackagesSep}BZ2"; WithPackagesSep=" "
26305 +- WithPackages="$WithPackages${WithPackagesSep}LocalBZ2"; WithPackagesSep=" "
26306 +-fi
26307 +-
26308 +-: ${LZO_PATH=$NCBI/lzo2}
26309 +-if test -d "$LZO_PATH"; then
26310 +- ncbi_fix_dir_tmp=`if cd $LZO_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
26311 +- case "$ncbi_fix_dir_tmp" in
26312 +- /.*) ncbi_fix_dir_tmp2=`cd $LZO_PATH && $smart_pwd 2>/dev/null`
26313 +- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
26314 +- LZO_PATH=$ncbi_fix_dir_tmp2
26315 ++if test "x$with_gnutls" != xno -a -n "$GNUTLS_CONFIG_LIBS"; then
26316 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
26317 ++ GNUTLS_LIBS=`echo $GNUTLS_CONFIG_LIBS | sed -e "$no_usr_lib"`
26318 + else
26319 +- case "$LZO_PATH" in
26320 +- /*) ;;
26321 +- * ) LZO_PATH=$ncbi_fix_dir_tmp ;;
26322 ++ GNUTLS_LIBS=
26323 ++ ncbi_rp_L_sep=
26324 ++ ncbi_rp_R_flags=
26325 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
26326 ++ for x in `echo $GNUTLS_CONFIG_LIBS | sed -e "$no_usr_lib"`; do
26327 ++ case "$x" in
26328 ++ -L*)
26329 ++ GNUTLS_LIBS="$GNUTLS_LIBS${ncbi_rp_L_sep}$x"
26330 ++ x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
26331 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
26332 ++ ncbi_rp_R_sep=:
26333 ++ ;;
26334 ++ *)
26335 ++ GNUTLS_LIBS="$GNUTLS_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
26336 ++ ncbi_rp_R_flags=
26337 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
26338 ++ ;;
26339 + esac
26340 ++ ncbi_rp_L_sep=" "
26341 ++ done
26342 ++ GNUTLS_LIBS="$GNUTLS_LIBS${ncbi_rp_R_flags}"
26343 + fi
26344 +- ;;
26345 +- /*) LZO_PATH=$ncbi_fix_dir_tmp ;;
26346 ++ # Conservatively build against gcrypt if available even when gnutls
26347 ++ # uses nettle instead, because gcrypt needs explicit initialization
26348 ++ # to be thread-safe, but gnutls's headers don't indicate which
26349 ++ # underlying crypto library it's actually using.
26350 ++ case "$GNUTLS_INCLUDE" in
26351 ++ *$GCRYPT_INCLUDE* ) ;;
26352 ++ * ) GNUTLS_INCLUDE="$GNUTLS_INCLUDE $GCRYPT_INCLUDE" ;;
26353 ++ esac
26354 ++ case "$GNUTLS_LIBS" in
26355 ++ *\ -lgcrypt* ) ;;
26356 ++ * ) GNUTLS_LIBS="$GNUTLS_LIBS $GCRYPT_LIBS" ;;
26357 + esac
26358 + fi
26359 +-if test "$with_lzo" != "no"; then
26360 +- case "$with_lzo" in
26361 ++
26362 ++if test "$with_openssl" != "no"; then
26363 ++ case "$with_openssl" in
26364 + yes | "" ) ;;
26365 +- * ) LZO_PATH=$with_lzo ;;
26366 ++ * ) OPENSSL_PATH=$with_openssl ;;
26367 + esac
26368 +- if test -d "$LZO_PATH"; then
26369 +- in_path=" in $LZO_PATH"
26370 +- if test -z "$LZO_INCLUDE" -a -d "$LZO_PATH/include"; then
26371 +- LZO_INCLUDE="-I$LZO_PATH/include"
26372 ++ if test -d "$OPENSSL_PATH"; then
26373 ++ in_path=" in $OPENSSL_PATH"
26374 ++ if test -z "$OPENSSL_INCLUDE" -a -d "$OPENSSL_PATH/include"; then
26375 ++ OPENSSL_INCLUDE="-I$OPENSSL_PATH/include"
26376 + fi
26377 +- if test -n "$LZO_LIBPATH"; then
26378 ++ if test -n "$OPENSSL_LIBPATH"; then
26379 + :
26380 +- elif test -d "$LZO_PATH/lib${bit64_sfx}"; then
26381 ++ elif test -d "$OPENSSL_PATH/lib${bit64_sfx}"; then
26382 + ncbi_rp_L_flags=
26383 + ncbi_rp_L_sep=$CONF_f_libpath
26384 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
26385 +- for x in $LZO_PATH/lib${bit64_sfx}; do
26386 ++ for x in $OPENSSL_PATH/lib${bit64_sfx}; do
26387 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
26388 + ncbi_rp_L_sep=" $CONF_f_libpath"
26389 + done
26390 +- LZO_LIBPATH="${ncbi_rp_L_flags}"
26391 ++ OPENSSL_LIBPATH="${ncbi_rp_L_flags}"
26392 + else
26393 + ncbi_rp_R_flags=
26394 + ncbi_rp_R_sep=" $CONF_f_runpath"
26395 +- for x in $LZO_PATH/lib${bit64_sfx}; do
26396 ++ for x in $OPENSSL_PATH/lib${bit64_sfx}; do
26397 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
26398 + ncbi_rp_L_sep=" $CONF_f_libpath"
26399 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
26400 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
26401 + ncbi_rp_R_sep=:
26402 + done
26403 +- LZO_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
26404 ++ OPENSSL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
26405 + fi
26406 +- elif test -d "$LZO_PATH/lib"; then
26407 ++ elif test -d "$OPENSSL_PATH/lib"; then
26408 + ncbi_rp_L_flags=
26409 + ncbi_rp_L_sep=$CONF_f_libpath
26410 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
26411 +- for x in $LZO_PATH/lib; do
26412 ++ for x in $OPENSSL_PATH/lib; do
26413 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
26414 + ncbi_rp_L_sep=" $CONF_f_libpath"
26415 + done
26416 +- LZO_LIBPATH="${ncbi_rp_L_flags}"
26417 ++ OPENSSL_LIBPATH="${ncbi_rp_L_flags}"
26418 + else
26419 + ncbi_rp_R_flags=
26420 + ncbi_rp_R_sep=" $CONF_f_runpath"
26421 +- for x in $LZO_PATH/lib; do
26422 ++ for x in $OPENSSL_PATH/lib; do
26423 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
26424 + ncbi_rp_L_sep=" $CONF_f_libpath"
26425 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
26426 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
26427 + ncbi_rp_R_sep=:
26428 + done
26429 +- LZO_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
26430 ++ OPENSSL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
26431 + fi
26432 + fi
26433 +- LZO_LIBS="$LZO_LIBPATH -llzo2 "
26434 ++ OPENSSL_LIBS="$OPENSSL_LIBPATH -lssl -lcrypto"
26435 + else
26436 +- LZO_INCLUDE=""
26437 +- LZO_LIBS="-llzo2 "
26438 ++ OPENSSL_INCLUDE=""
26439 ++ OPENSSL_LIBS="-lssl -lcrypto"
26440 + in_path=
26441 + fi
26442 +- echo "$as_me:$LINENO: checking for liblzo2$in_path" >&5
26443 +-echo $ECHO_N "checking for liblzo2$in_path... $ECHO_C" >&6
26444 +-if test "${ncbi_cv_lib_lzo+set}" = set; then
26445 ++ { echo "$as_me:$LINENO: checking for libssl$in_path" >&5
26446 ++echo $ECHO_N "checking for libssl$in_path... $ECHO_C" >&6; }
26447 ++if test "${ncbi_cv_lib_openssl+set}" = set; then
26448 + echo $ECHO_N "(cached) $ECHO_C" >&6
26449 + else
26450 +- CPPFLAGS=" $LZO_INCLUDE $orig_CPPFLAGS"
26451 +- LIBS="$LZO_LIBS $orig_LIBS"
26452 ++ CPPFLAGS=" $OPENSSL_INCLUDE $orig_CPPFLAGS"
26453 ++ LIBS="$OPENSSL_LIBS $orig_LIBS"
26454 + cat >conftest.$ac_ext <<_ACEOF
26455 + /* confdefs.h. */
26456 + _ACEOF
26457 + cat confdefs.h >>conftest.$ac_ext
26458 + cat >>conftest.$ac_ext <<_ACEOF
26459 + /* end confdefs.h. */
26460 +-#include <lzo/lzo1x.h>
26461 ++#include <openssl/ssl.h>
26462 + int
26463 + main ()
26464 + {
26465 +-lzo_uint32 c = lzo_crc32(0, (const unsigned char*)"foo", 3);
26466 ++SSL_library_init();
26467 + ;
26468 + return 0;
26469 + }
26470 + _ACEOF
26471 + rm -f conftest.$ac_objext conftest$ac_exeext
26472 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26473 +- (eval $ac_link) 2>conftest.er1
26474 ++if { (ac_try="$ac_link"
26475 ++case "(($ac_try" in
26476 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26477 ++ *) ac_try_echo=$ac_try;;
26478 ++esac
26479 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26480 ++ (eval "$ac_link") 2>conftest.er1
26481 + ac_status=$?
26482 + grep -v '^ *+' conftest.er1 >conftest.err
26483 + rm -f conftest.er1
26484 + cat conftest.err >&5
26485 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
26486 + (exit $ac_status); } &&
26487 +- { ac_try='test -z "$ac_cxx_werror_flag"
26488 +- || test ! -s conftest.err'
26489 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26490 +- (eval $ac_try) 2>&5
26491 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26492 ++ { (case "(($ac_try" in
26493 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26494 ++ *) ac_try_echo=$ac_try;;
26495 ++esac
26496 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26497 ++ (eval "$ac_try") 2>&5
26498 + ac_status=$?
26499 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
26500 + (exit $ac_status); }; } &&
26501 + { ac_try='test -s conftest$ac_exeext'
26502 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26503 +- (eval $ac_try) 2>&5
26504 ++ { (case "(($ac_try" in
26505 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26506 ++ *) ac_try_echo=$ac_try;;
26507 ++esac
26508 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26509 ++ (eval "$ac_try") 2>&5
26510 + ac_status=$?
26511 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
26512 + (exit $ac_status); }; }; then
26513 +- ncbi_cv_lib_lzo=yes
26514 ++ ncbi_cv_lib_openssl=yes
26515 + else
26516 + echo "$as_me: failed program was:" >&5
26517 + sed 's/^/| /' conftest.$ac_ext >&5
26518 +
26519 +-ncbi_cv_lib_lzo=no
26520 ++ ncbi_cv_lib_openssl=no
26521 + fi
26522 +-rm -f conftest.err conftest.$ac_objext \
26523 ++
26524 ++rm -f core conftest.err conftest.$ac_objext \
26525 + conftest$ac_exeext conftest.$ac_ext
26526 + fi
26527 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_lzo" >&5
26528 +-echo "${ECHO_T}$ncbi_cv_lib_lzo" >&6
26529 +- if test "$ncbi_cv_lib_lzo" = "no"; then
26530 +- if test "${with_lzo:=no}" != no; then
26531 +- { { echo "$as_me:$LINENO: error: --with-lzo explicitly specified, but no usable version found." >&5
26532 +-echo "$as_me: error: --with-lzo explicitly specified, but no usable version found." >&2;}
26533 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_openssl" >&5
26534 ++echo "${ECHO_T}$ncbi_cv_lib_openssl" >&6; }
26535 ++ if test "$ncbi_cv_lib_openssl" = "no"; then
26536 ++ if test "${with_openssl:=no}" != no; then
26537 ++ { { echo "$as_me:$LINENO: error: --with-openssl explicitly specified, but no usable version found." >&5
26538 ++echo "$as_me: error: --with-openssl explicitly specified, but no usable version found." >&2;}
26539 + { (exit 1); exit 1; }; }
26540 + fi
26541 + fi
26542 + fi
26543 +- if test "$with_lzo" = "no"; then
26544 +- LZO_PATH="No_LZO"
26545 +- LZO_INCLUDE=
26546 +- LZO_LIBS=
26547 ++ if test "$with_openssl" = "no"; then
26548 ++ OPENSSL_PATH="No_OPENSSL"
26549 ++ OPENSSL_INCLUDE=
26550 ++ OPENSSL_LIBS=
26551 + else
26552 +- WithPackages="$WithPackages${WithPackagesSep}LZO"; WithPackagesSep=" "
26553 +- LZO_INCLUDE=" $LZO_INCLUDE"
26554 ++ WithPackages="$WithPackages${WithPackagesSep}OPENSSL"; WithPackagesSep=" "
26555 ++ OPENSSL_INCLUDE=" $OPENSSL_INCLUDE"
26556 +
26557 + cat >>confdefs.h <<\_ACEOF
26558 +-#define HAVE_LIBLZO 1
26559 ++#define HAVE_LIBOPENSSL 1
26560 + _ACEOF
26561 +
26562 + fi
26563 +@@ -21639,1287 +26023,420 @@
26564 +
26565 +
26566 +
26567 +-if test -z "$PCRE_PATH" && pcre-config --version >/dev/null 2>&1; then
26568 +- p=`pcre-config --prefix`
26569 +- test "x$p" = "x/usr" || PCRE_PATH=$p
26570 ++OPENSSL_STATIC_LIBS=$OPENSSL_LIBS
26571 ++for d in `echo " $OPENSSL_LIBS" | fmt -w 1 | sed -ne 's/^ *-L//p'` \
26572 ++ /usr/local/lib${bit64_sfx} /usr/local/lib /usr/lib${bit64_sfx} /usr/lib; do
26573 ++ if test -f $d/libssl.a -a -f $d/libcrypto.a; then
26574 ++ OPENSSL_STATIC_LIBS="$d/libssl.a $d/libcrypto.a"
26575 ++ break
26576 ++ elif test -f $d/libssl.so -o -f $d/libssl.dylib; then
26577 ++ break
26578 + fi
26579 +-if test "$with_pcre" != "no"; then
26580 +- case "$with_pcre" in
26581 ++done
26582 ++
26583 ++if test -n "$GNUTLS_LIBS"; then
26584 ++ TLS_INCLUDE=$GNUTLS_INCLUDE
26585 ++ TLS_LIBS=$GNUTLS_LIBS
26586 ++else
26587 ++ TLS_INCLUDE=$OPENSSL_INCLUDE
26588 ++ TLS_LIBS=$OPENSSL_LIBS
26589 ++fi
26590 ++
26591 ++
26592 ++case "$with_krb5" in
26593 ++ no ) ac_cv_path_KRB5_CONFIG=no ;;
26594 ++ yes | '' ) : ${KRB5_PATH=/usr/kerberos} ;;
26595 ++ * ) KRB5_PATH=$with_krb5 ;;
26596 ++esac
26597 ++# Extract the first word of "krb5-config", so it can be a program name with args.
26598 ++set dummy krb5-config; ac_word=$2
26599 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26600 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26601 ++if test "${ac_cv_path_KRB5_CONFIG+set}" = set; then
26602 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
26603 ++else
26604 ++ case $KRB5_CONFIG in
26605 ++ [\\/]* | ?:[\\/]*)
26606 ++ ac_cv_path_KRB5_CONFIG="$KRB5_CONFIG" # Let the user override the test with a path.
26607 ++ ;;
26608 ++ *)
26609 ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26610 ++as_dummy="${KRB5_BIN-$KRB5_PATH/bin}:$PATH"
26611 ++for as_dir in $as_dummy
26612 ++do
26613 ++ IFS=$as_save_IFS
26614 ++ test -z "$as_dir" && as_dir=.
26615 ++ for ac_exec_ext in '' $ac_executable_extensions; do
26616 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
26617 ++ ac_cv_path_KRB5_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26618 ++ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26619 ++ break 2
26620 ++ fi
26621 ++done
26622 ++done
26623 ++IFS=$as_save_IFS
26624 ++
26625 ++ ;;
26626 ++esac
26627 ++fi
26628 ++KRB5_CONFIG=$ac_cv_path_KRB5_CONFIG
26629 ++if test -n "$KRB5_CONFIG"; then
26630 ++ { echo "$as_me:$LINENO: result: $KRB5_CONFIG" >&5
26631 ++echo "${ECHO_T}$KRB5_CONFIG" >&6; }
26632 ++else
26633 ++ { echo "$as_me:$LINENO: result: no" >&5
26634 ++echo "${ECHO_T}no" >&6; }
26635 ++fi
26636 ++
26637 ++
26638 ++
26639 ++if test "x$with_krb5" != xno; then
26640 ++ if test -x "$KRB5_CONFIG"; then
26641 ++ KRB5_PATH=`$KRB5_CONFIG --prefix`
26642 ++ KRB5_INCLUDE=`$KRB5_CONFIG --cflags | \
26643 ++ sed -e 's/$/ /; s,-I/usr/include ,,'`
26644 ++ KRB5_CONFIG_LIBS=`$KRB5_CONFIG --libs gssapi | \
26645 ++ sed -e 's/^/ /; s/ -[^Ll][^ ]*//g'`
26646 ++ fi
26647 ++else
26648 ++ KRB5_CONFIG_LIBS=$KRB5_LIBS
26649 ++fi
26650 ++if test "$with_krb5" != "no"; then
26651 ++ case "$with_krb5" in
26652 + yes | "" ) ;;
26653 +- * ) PCRE_PATH=$with_pcre ;;
26654 ++ * ) KRB5_PATH=$with_krb5 ;;
26655 + esac
26656 +- if test -d "$PCRE_PATH"; then
26657 +- in_path=" in $PCRE_PATH"
26658 +- if test -z "$PCRE_INCLUDE" -a -d "$PCRE_PATH/include"; then
26659 +- PCRE_INCLUDE="-I$PCRE_PATH/include"
26660 ++ if test -d "$KRB5_PATH"; then
26661 ++ in_path=" in $KRB5_PATH"
26662 ++ if test -z "$KRB5_INCLUDE" -a -d "$KRB5_PATH/include"; then
26663 ++ KRB5_INCLUDE="-I$KRB5_PATH/include"
26664 + fi
26665 +- if test -n "$PCRE_LIBPATH"; then
26666 ++ if test -n "$KRB5_LIBPATH"; then
26667 + :
26668 +- elif test -d "$PCRE_PATH/lib${bit64_sfx}"; then
26669 ++ elif test -d "$KRB5_PATH/lib${bit64_sfx}"; then
26670 + ncbi_rp_L_flags=
26671 + ncbi_rp_L_sep=$CONF_f_libpath
26672 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
26673 +- for x in $PCRE_PATH/lib${bit64_sfx}; do
26674 ++ for x in $KRB5_PATH/lib${bit64_sfx}; do
26675 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
26676 + ncbi_rp_L_sep=" $CONF_f_libpath"
26677 + done
26678 +- PCRE_LIBPATH="${ncbi_rp_L_flags}"
26679 ++ KRB5_LIBPATH="${ncbi_rp_L_flags}"
26680 + else
26681 + ncbi_rp_R_flags=
26682 + ncbi_rp_R_sep=" $CONF_f_runpath"
26683 +- for x in $PCRE_PATH/lib${bit64_sfx}; do
26684 ++ for x in $KRB5_PATH/lib${bit64_sfx}; do
26685 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
26686 + ncbi_rp_L_sep=" $CONF_f_libpath"
26687 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
26688 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
26689 + ncbi_rp_R_sep=:
26690 + done
26691 +- PCRE_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
26692 ++ KRB5_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
26693 + fi
26694 +- elif test -d "$PCRE_PATH/lib"; then
26695 ++ elif test -d "$KRB5_PATH/lib"; then
26696 + ncbi_rp_L_flags=
26697 + ncbi_rp_L_sep=$CONF_f_libpath
26698 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
26699 +- for x in $PCRE_PATH/lib; do
26700 ++ for x in $KRB5_PATH/lib; do
26701 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
26702 + ncbi_rp_L_sep=" $CONF_f_libpath"
26703 + done
26704 +- PCRE_LIBPATH="${ncbi_rp_L_flags}"
26705 ++ KRB5_LIBPATH="${ncbi_rp_L_flags}"
26706 + else
26707 + ncbi_rp_R_flags=
26708 + ncbi_rp_R_sep=" $CONF_f_runpath"
26709 +- for x in $PCRE_PATH/lib; do
26710 ++ for x in $KRB5_PATH/lib; do
26711 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
26712 + ncbi_rp_L_sep=" $CONF_f_libpath"
26713 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
26714 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
26715 + ncbi_rp_R_sep=:
26716 + done
26717 +- PCRE_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
26718 ++ KRB5_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
26719 + fi
26720 + fi
26721 +- PCRE_LIBS="$PCRE_LIBPATH -lpcre "
26722 ++ KRB5_LIBS="$KRB5_LIBPATH -lgssapi_krb5 $KRB5_CONFIG_LIBS"
26723 + else
26724 +- PCRE_INCLUDE=""
26725 +- PCRE_LIBS="-lpcre "
26726 ++ KRB5_INCLUDE=""
26727 ++ KRB5_LIBS="-lgssapi_krb5 $KRB5_CONFIG_LIBS"
26728 + in_path=
26729 + fi
26730 +- echo "$as_me:$LINENO: checking for libpcre$in_path" >&5
26731 +-echo $ECHO_N "checking for libpcre$in_path... $ECHO_C" >&6
26732 +-if test "${ncbi_cv_lib_pcre+set}" = set; then
26733 ++ { echo "$as_me:$LINENO: checking for libgssapi_krb5$in_path" >&5
26734 ++echo $ECHO_N "checking for libgssapi_krb5$in_path... $ECHO_C" >&6; }
26735 ++if test "${ncbi_cv_lib_krb5+set}" = set; then
26736 + echo $ECHO_N "(cached) $ECHO_C" >&6
26737 + else
26738 +- CPPFLAGS=" $PCRE_INCLUDE $orig_CPPFLAGS"
26739 +- LIBS="$PCRE_LIBS $orig_LIBS"
26740 ++ CPPFLAGS=" $KRB5_INCLUDE $orig_CPPFLAGS"
26741 ++ LIBS="$KRB5_LIBS $orig_LIBS"
26742 + cat >conftest.$ac_ext <<_ACEOF
26743 + /* confdefs.h. */
26744 + _ACEOF
26745 + cat confdefs.h >>conftest.$ac_ext
26746 + cat >>conftest.$ac_ext <<_ACEOF
26747 + /* end confdefs.h. */
26748 +-#include <pcre.h>
26749 ++#include <time.h>
26750 ++extern "C" {
26751 ++#include <gssapi/gssapi_krb5.h>
26752 ++}
26753 + int
26754 + main ()
26755 + {
26756 +-const char*s[]={"x"}; pcre* p; pcre_extra* x = pcre_study(p, 1, s);
26757 ++OM_uint32 min_stat;
26758 ++ gss_buffer_desc buf;
26759 ++ gss_release_buffer(&min_stat, &buf);
26760 + ;
26761 + return 0;
26762 + }
26763 + _ACEOF
26764 + rm -f conftest.$ac_objext conftest$ac_exeext
26765 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26766 +- (eval $ac_link) 2>conftest.er1
26767 ++if { (ac_try="$ac_link"
26768 ++case "(($ac_try" in
26769 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26770 ++ *) ac_try_echo=$ac_try;;
26771 ++esac
26772 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26773 ++ (eval "$ac_link") 2>conftest.er1
26774 + ac_status=$?
26775 + grep -v '^ *+' conftest.er1 >conftest.err
26776 + rm -f conftest.er1
26777 + cat conftest.err >&5
26778 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
26779 + (exit $ac_status); } &&
26780 +- { ac_try='test -z "$ac_cxx_werror_flag"
26781 +- || test ! -s conftest.err'
26782 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26783 +- (eval $ac_try) 2>&5
26784 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26785 ++ { (case "(($ac_try" in
26786 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26787 ++ *) ac_try_echo=$ac_try;;
26788 ++esac
26789 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26790 ++ (eval "$ac_try") 2>&5
26791 + ac_status=$?
26792 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
26793 + (exit $ac_status); }; } &&
26794 + { ac_try='test -s conftest$ac_exeext'
26795 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26796 +- (eval $ac_try) 2>&5
26797 ++ { (case "(($ac_try" in
26798 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26799 ++ *) ac_try_echo=$ac_try;;
26800 ++esac
26801 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26802 ++ (eval "$ac_try") 2>&5
26803 + ac_status=$?
26804 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
26805 + (exit $ac_status); }; }; then
26806 +- ncbi_cv_lib_pcre=yes
26807 ++ ncbi_cv_lib_krb5=yes
26808 + else
26809 + echo "$as_me: failed program was:" >&5
26810 + sed 's/^/| /' conftest.$ac_ext >&5
26811 +
26812 +-ncbi_cv_lib_pcre=no
26813 ++ ncbi_cv_lib_krb5=no
26814 + fi
26815 +-rm -f conftest.err conftest.$ac_objext \
26816 ++
26817 ++rm -f core conftest.err conftest.$ac_objext \
26818 + conftest$ac_exeext conftest.$ac_ext
26819 + fi
26820 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_pcre" >&5
26821 +-echo "${ECHO_T}$ncbi_cv_lib_pcre" >&6
26822 +- if test "$ncbi_cv_lib_pcre" = "no"; then
26823 +- if test "${with_pcre:=no}" != no; then
26824 +- { { echo "$as_me:$LINENO: error: --with-pcre explicitly specified, but no usable version found." >&5
26825 +-echo "$as_me: error: --with-pcre explicitly specified, but no usable version found." >&2;}
26826 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_krb5" >&5
26827 ++echo "${ECHO_T}$ncbi_cv_lib_krb5" >&6; }
26828 ++ if test "$ncbi_cv_lib_krb5" = "no"; then
26829 ++ if test "${with_krb5:=no}" != no; then
26830 ++ { { echo "$as_me:$LINENO: error: --with-krb5 explicitly specified, but no usable version found." >&5
26831 ++echo "$as_me: error: --with-krb5 explicitly specified, but no usable version found." >&2;}
26832 + { (exit 1); exit 1; }; }
26833 + fi
26834 + fi
26835 + fi
26836 +- if test "$with_pcre" = "no"; then
26837 +- PCRE_PATH="No_PCRE"
26838 +- PCRE_INCLUDE=
26839 +- PCRE_LIBS=
26840 ++ if test "$with_krb5" = "no"; then
26841 ++ KRB5_PATH="No_KRB5"
26842 ++ KRB5_INCLUDE=
26843 ++ KRB5_LIBS=
26844 + else
26845 +- WithPackages="$WithPackages${WithPackagesSep}PCRE"; WithPackagesSep=" "
26846 +- PCRE_INCLUDE=" $PCRE_INCLUDE"
26847 +-
26848 +-cat >>confdefs.h <<\_ACEOF
26849 +-#define HAVE_LIBPCRE 1
26850 +-_ACEOF
26851 +-
26852 +- fi
26853 +-
26854 +-
26855 +-
26856 +-if test -z "$PCRE_LIBS"; then
26857 +- pcrelocal=util/regexp
26858 +- { echo "$as_me:$LINENO: using local PCRE copy in $pcrelocal" >&5
26859 +-echo "$as_me: using local PCRE copy in $pcrelocal" >&6;}
26860 +- PCRE_PATH="<$pcrelocal>"
26861 +- PCRE_INCLUDE="-I\$(includedir)/$pcrelocal -I\$(includedir0)/$pcrelocal"
26862 +- # PCRE_LIBS="-lregexp"
26863 +- # PCREPOSIX_LIBS="-lregexp"
26864 +- PCRE_LIB="regexp"
26865 ++ WithPackages="$WithPackages${WithPackagesSep}KRB5"; WithPackagesSep=" "
26866 ++ KRB5_INCLUDE=" $KRB5_INCLUDE"
26867 +
26868 + cat >>confdefs.h <<\_ACEOF
26869 +-#define USE_LOCAL_PCRE 1
26870 ++#define HAVE_LIBKRB5 1
26871 + _ACEOF
26872 +
26873 +- WithPackages="$WithPackages${WithPackagesSep}PCRE"; WithPackagesSep=" "
26874 +- WithPackages="$WithPackages${WithPackagesSep}LocalPCRE"; WithPackagesSep=" "
26875 +-else
26876 +- PCREPOSIX_LIBS=`echo "$PCRE_LIBS" | sed -e 's/-lpcre/-lpcreposix -lpcre/'`
26877 +-fi
26878 +-
26879 +-## SSL/TLS libraries
26880 +-case "$with_gcrypt" in
26881 +- no ) ac_cv_path_LIBGCRYPT_CONFIG=no ;;
26882 +- yes | '' ) : ${GCRYPT_PATH=$NCBI/gcrypt} ;;
26883 +- * ) GCRYPT_PATH=$with_gcrypt ;;
26884 +-esac
26885 +-if test -d "$GCRYPT_PATH"; then
26886 +- ncbi_fix_dir_tmp=`if cd $GCRYPT_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
26887 +- case "$ncbi_fix_dir_tmp" in
26888 +- /.*) ncbi_fix_dir_tmp2=`cd $GCRYPT_PATH && $smart_pwd 2>/dev/null`
26889 +- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
26890 +- GCRYPT_PATH=$ncbi_fix_dir_tmp2
26891 +- else
26892 +- case "$GCRYPT_PATH" in
26893 +- /*) ;;
26894 +- * ) GCRYPT_PATH=$ncbi_fix_dir_tmp ;;
26895 +- esac
26896 +- fi
26897 +- ;;
26898 +- /*) GCRYPT_PATH=$ncbi_fix_dir_tmp ;;
26899 +- esac
26900 +-fi
26901 +-# Extract the first word of "libgcrypt-config", so it can be a program name with args.
26902 +-set dummy libgcrypt-config; ac_word=$2
26903 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
26904 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26905 +-if test "${ac_cv_path_LIBGCRYPT_CONFIG+set}" = set; then
26906 +- echo $ECHO_N "(cached) $ECHO_C" >&6
26907 +-else
26908 +- case $LIBGCRYPT_CONFIG in
26909 +- [\\/]* | ?:[\\/]*)
26910 +- ac_cv_path_LIBGCRYPT_CONFIG="$LIBGCRYPT_CONFIG" # Let the user override the test with a path.
26911 +- ;;
26912 +- *)
26913 +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26914 +-as_dummy="${GCRYPT_BIN-$GCRYPT_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/bin}:$GCRYPT_PATH/bin${bit64_sfx}:$GCRYPT_PATH/bin:$PATH"
26915 +-for as_dir in $as_dummy
26916 +-do
26917 +- IFS=$as_save_IFS
26918 +- test -z "$as_dir" && as_dir=.
26919 +- for ac_exec_ext in '' $ac_executable_extensions; do
26920 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26921 +- ac_cv_path_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26922 +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26923 +- break 2
26924 +- fi
26925 +-done
26926 +-done
26927 +-
26928 +- ;;
26929 +-esac
26930 + fi
26931 +-LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG
26932 +
26933 +-if test -n "$LIBGCRYPT_CONFIG"; then
26934 +- echo "$as_me:$LINENO: result: $LIBGCRYPT_CONFIG" >&5
26935 +-echo "${ECHO_T}$LIBGCRYPT_CONFIG" >&6
26936 +-else
26937 +- echo "$as_me:$LINENO: result: no" >&5
26938 +-echo "${ECHO_T}no" >&6
26939 +-fi
26940 +
26941 +
26942 +-if test "x$with_gcrypt" != xno; then
26943 +- if test -x "$LIBGCRYPT_CONFIG"; then
26944 +- if test -z "$GCRYPT_PATH"; then
26945 +- p=`libgcrypt-config --prefix`
26946 +- test "x$p" = "x/usr" || GCRYPT_PATH=$p
26947 +- fi
26948 ++if test "x$with_krb5" != xno; then
26949 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
26950 +- GCRYPT_LIBPATH=`$LIBGCRYPT_CONFIG --exec-prefix | sed -e "s,^,-L,; s,$,/lib,;"`
26951 ++ KRB5_LIBS=`echo $KRB5_CONFIG_LIBS | sed -e "$no_usr_lib"`
26952 + else
26953 +- GCRYPT_LIBPATH=
26954 ++ KRB5_LIBS=
26955 + ncbi_rp_L_sep=
26956 + ncbi_rp_R_flags=
26957 + ncbi_rp_R_sep=" $CONF_f_runpath"
26958 +- for x in `$LIBGCRYPT_CONFIG --exec-prefix | sed -e "s,^,-L,; s,$,/lib,;"`; do
26959 ++ for x in `echo $KRB5_CONFIG_LIBS | sed -e "$no_usr_lib"`; do
26960 + case "$x" in
26961 + -L*)
26962 +- GCRYPT_LIBPATH="$GCRYPT_LIBPATH${ncbi_rp_L_sep}$x"
26963 ++ KRB5_LIBS="$KRB5_LIBS${ncbi_rp_L_sep}$x"
26964 + x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
26965 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
26966 + ncbi_rp_R_sep=:
26967 + ;;
26968 + *)
26969 +- GCRYPT_LIBPATH="$GCRYPT_LIBPATH${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
26970 ++ KRB5_LIBS="$KRB5_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
26971 + ncbi_rp_R_flags=
26972 + ncbi_rp_R_sep=" $CONF_f_runpath"
26973 + ;;
26974 + esac
26975 + ncbi_rp_L_sep=" "
26976 + done
26977 +- GCRYPT_LIBPATH="$GCRYPT_LIBPATH${ncbi_rp_R_flags}"
26978 +- fi
26979 +- GCRYPT_INCLUDE=`$LIBGCRYPT_CONFIG --cflags`
26980 +- GCRYPT_CONFIG_LIBS="`$LIBGCRYPT_CONFIG --libs` $Z_LIBS"
26981 ++ KRB5_LIBS="$KRB5_LIBS${ncbi_rp_R_flags}"
26982 + fi
26983 +-else
26984 +- $as_unset GCRYPT_CONFIG_LIBS || test "${GCRYPT_CONFIG_LIBS+set}" != set || { GCRYPT_CONFIG_LIBS=; export GCRYPT_CONFIG_LIBS; }
26985 + fi
26986 +-if test "$with_gcrypt" != "no"; then
26987 +- case "$with_gcrypt" in
26988 ++
26989 ++
26990 ++if test "$with_curl" != "no"; then
26991 ++ case "$with_curl" in
26992 + yes | "" ) ;;
26993 +- * ) GCRYPT_PATH=$with_gcrypt ;;
26994 ++ * ) CURL_PATH=$with_curl ;;
26995 + esac
26996 +- if test -d "$GCRYPT_PATH"; then
26997 +- in_path=" in $GCRYPT_PATH"
26998 +- if test -z "$GCRYPT_INCLUDE" -a -d "$GCRYPT_PATH/include"; then
26999 +- GCRYPT_INCLUDE="-I$GCRYPT_PATH/include"
27000 ++ if test -d "$CURL_PATH"; then
27001 ++ in_path=" in $CURL_PATH"
27002 ++ if test -z "$CURL_INCLUDE" -a -d "$CURL_PATH/include"; then
27003 ++ CURL_INCLUDE="-I$CURL_PATH/include"
27004 + fi
27005 +- if test -n "$GCRYPT_LIBPATH"; then
27006 ++ if test -n "$CURL_LIBPATH"; then
27007 + :
27008 +- elif test -d "$GCRYPT_PATH/lib${bit64_sfx}"; then
27009 ++ elif test -d "$CURL_PATH/lib${bit64_sfx}"; then
27010 + ncbi_rp_L_flags=
27011 + ncbi_rp_L_sep=$CONF_f_libpath
27012 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
27013 +- for x in $GCRYPT_PATH/lib${bit64_sfx}; do
27014 ++ for x in $CURL_PATH/lib${bit64_sfx}; do
27015 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
27016 + ncbi_rp_L_sep=" $CONF_f_libpath"
27017 + done
27018 +- GCRYPT_LIBPATH="${ncbi_rp_L_flags}"
27019 ++ CURL_LIBPATH="${ncbi_rp_L_flags}"
27020 + else
27021 + ncbi_rp_R_flags=
27022 + ncbi_rp_R_sep=" $CONF_f_runpath"
27023 +- for x in $GCRYPT_PATH/lib${bit64_sfx}; do
27024 ++ for x in $CURL_PATH/lib${bit64_sfx}; do
27025 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
27026 + ncbi_rp_L_sep=" $CONF_f_libpath"
27027 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
27028 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
27029 + ncbi_rp_R_sep=:
27030 + done
27031 +- GCRYPT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
27032 ++ CURL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
27033 + fi
27034 +- elif test -d "$GCRYPT_PATH/lib"; then
27035 ++ elif test -d "$CURL_PATH/lib"; then
27036 + ncbi_rp_L_flags=
27037 + ncbi_rp_L_sep=$CONF_f_libpath
27038 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
27039 +- for x in $GCRYPT_PATH/lib; do
27040 ++ for x in $CURL_PATH/lib; do
27041 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
27042 + ncbi_rp_L_sep=" $CONF_f_libpath"
27043 + done
27044 +- GCRYPT_LIBPATH="${ncbi_rp_L_flags}"
27045 ++ CURL_LIBPATH="${ncbi_rp_L_flags}"
27046 + else
27047 + ncbi_rp_R_flags=
27048 + ncbi_rp_R_sep=" $CONF_f_runpath"
27049 +- for x in $GCRYPT_PATH/lib; do
27050 ++ for x in $CURL_PATH/lib; do
27051 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
27052 + ncbi_rp_L_sep=" $CONF_f_libpath"
27053 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
27054 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
27055 + ncbi_rp_R_sep=:
27056 + done
27057 +- GCRYPT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
27058 ++ CURL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
27059 + fi
27060 + fi
27061 +- GCRYPT_LIBS="$GCRYPT_LIBPATH -lgcrypt $GCRYPT_CONFIG_LIBS"
27062 ++ CURL_LIBS="$CURL_LIBPATH -lcurl "
27063 + else
27064 +- GCRYPT_INCLUDE=""
27065 +- GCRYPT_LIBS="-lgcrypt $GCRYPT_CONFIG_LIBS"
27066 ++ CURL_INCLUDE=""
27067 ++ CURL_LIBS="-lcurl "
27068 + in_path=
27069 + fi
27070 +- echo "$as_me:$LINENO: checking for libgcrypt$in_path" >&5
27071 +-echo $ECHO_N "checking for libgcrypt$in_path... $ECHO_C" >&6
27072 +-if test "${ncbi_cv_lib_gcrypt+set}" = set; then
27073 ++ { echo "$as_me:$LINENO: checking for libcurl$in_path" >&5
27074 ++echo $ECHO_N "checking for libcurl$in_path... $ECHO_C" >&6; }
27075 ++if test "${ncbi_cv_lib_curl+set}" = set; then
27076 + echo $ECHO_N "(cached) $ECHO_C" >&6
27077 + else
27078 +- CPPFLAGS=" $GCRYPT_INCLUDE $orig_CPPFLAGS"
27079 +- LIBS="$GCRYPT_LIBS $orig_LIBS"
27080 ++ CPPFLAGS=" $CURL_INCLUDE $orig_CPPFLAGS"
27081 ++ LIBS="$CURL_LIBS $orig_LIBS"
27082 + cat >conftest.$ac_ext <<_ACEOF
27083 + /* confdefs.h. */
27084 + _ACEOF
27085 + cat confdefs.h >>conftest.$ac_ext
27086 + cat >>conftest.$ac_ext <<_ACEOF
27087 + /* end confdefs.h. */
27088 +-#include <gcrypt.h>
27089 +- #include <pthread.h>
27090 +- #include <errno.h>
27091 +- GCRY_THREAD_OPTION_PTHREAD_IMPL;
27092 ++#include <curl/curl.h>
27093 + int
27094 + main ()
27095 + {
27096 +-gcry_control(GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);
27097 ++char* v = curl_version();
27098 + ;
27099 + return 0;
27100 + }
27101 + _ACEOF
27102 + rm -f conftest.$ac_objext conftest$ac_exeext
27103 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27104 +- (eval $ac_link) 2>conftest.er1
27105 ++if { (ac_try="$ac_link"
27106 ++case "(($ac_try" in
27107 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27108 ++ *) ac_try_echo=$ac_try;;
27109 ++esac
27110 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27111 ++ (eval "$ac_link") 2>conftest.er1
27112 + ac_status=$?
27113 + grep -v '^ *+' conftest.er1 >conftest.err
27114 + rm -f conftest.er1
27115 + cat conftest.err >&5
27116 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
27117 + (exit $ac_status); } &&
27118 +- { ac_try='test -z "$ac_cxx_werror_flag"
27119 +- || test ! -s conftest.err'
27120 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27121 +- (eval $ac_try) 2>&5
27122 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27123 ++ { (case "(($ac_try" in
27124 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27125 ++ *) ac_try_echo=$ac_try;;
27126 ++esac
27127 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27128 ++ (eval "$ac_try") 2>&5
27129 + ac_status=$?
27130 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
27131 + (exit $ac_status); }; } &&
27132 + { ac_try='test -s conftest$ac_exeext'
27133 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27134 +- (eval $ac_try) 2>&5
27135 ++ { (case "(($ac_try" in
27136 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27137 ++ *) ac_try_echo=$ac_try;;
27138 ++esac
27139 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27140 ++ (eval "$ac_try") 2>&5
27141 + ac_status=$?
27142 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
27143 + (exit $ac_status); }; }; then
27144 +- ncbi_cv_lib_gcrypt=yes
27145 ++ ncbi_cv_lib_curl=yes
27146 + else
27147 + echo "$as_me: failed program was:" >&5
27148 + sed 's/^/| /' conftest.$ac_ext >&5
27149 +
27150 +-ncbi_cv_lib_gcrypt=no
27151 ++ ncbi_cv_lib_curl=no
27152 + fi
27153 +-rm -f conftest.err conftest.$ac_objext \
27154 ++
27155 ++rm -f core conftest.err conftest.$ac_objext \
27156 + conftest$ac_exeext conftest.$ac_ext
27157 + fi
27158 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_gcrypt" >&5
27159 +-echo "${ECHO_T}$ncbi_cv_lib_gcrypt" >&6
27160 +- if test "$ncbi_cv_lib_gcrypt" = "no"; then
27161 +- if test "${with_gcrypt:=no}" != no; then
27162 +- { { echo "$as_me:$LINENO: error: --with-gcrypt explicitly specified, but no usable version found." >&5
27163 +-echo "$as_me: error: --with-gcrypt explicitly specified, but no usable version found." >&2;}
27164 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_curl" >&5
27165 ++echo "${ECHO_T}$ncbi_cv_lib_curl" >&6; }
27166 ++ if test "$ncbi_cv_lib_curl" = "no"; then
27167 ++ if test "${with_curl:=no}" != no; then
27168 ++ { { echo "$as_me:$LINENO: error: --with-curl explicitly specified, but no usable version found." >&5
27169 ++echo "$as_me: error: --with-curl explicitly specified, but no usable version found." >&2;}
27170 + { (exit 1); exit 1; }; }
27171 + fi
27172 + fi
27173 + fi
27174 +- if test "$with_gcrypt" = "no"; then
27175 +- GCRYPT_PATH="No_GCRYPT"
27176 +- GCRYPT_INCLUDE=
27177 +- GCRYPT_LIBS=
27178 ++ if test "$with_curl" = "no"; then
27179 ++ CURL_PATH="No_CURL"
27180 ++ CURL_INCLUDE=
27181 ++ CURL_LIBS=
27182 + else
27183 +- WithPackages="$WithPackages${WithPackagesSep}GCRYPT"; WithPackagesSep=" "
27184 +- GCRYPT_INCLUDE=" $GCRYPT_INCLUDE"
27185 ++ WithPackages="$WithPackages${WithPackagesSep}CURL"; WithPackagesSep=" "
27186 ++ CURL_INCLUDE=" $CURL_INCLUDE"
27187 +
27188 + cat >>confdefs.h <<\_ACEOF
27189 +-#define HAVE_LIBGCRYPT 1
27190 +-_ACEOF
27191 +-
27192 +- fi
27193 +-
27194 +-
27195 +-
27196 +-if test "x$with_gcrypt" != xno -a -n "$GCRYPT_CONFIG_LIBS"; then
27197 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
27198 +- GCRYPT_LIBS=`echo $GCRYPT_CONFIG_LIBS | sed -e "$no_usr_lib"`
27199 +- else
27200 +- GCRYPT_LIBS=
27201 +- ncbi_rp_L_sep=
27202 +- ncbi_rp_R_flags=
27203 +- ncbi_rp_R_sep=" $CONF_f_runpath"
27204 +- for x in `echo $GCRYPT_CONFIG_LIBS | sed -e "$no_usr_lib"`; do
27205 +- case "$x" in
27206 +- -L*)
27207 +- GCRYPT_LIBS="$GCRYPT_LIBS${ncbi_rp_L_sep}$x"
27208 +- x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
27209 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
27210 +- ncbi_rp_R_sep=:
27211 +- ;;
27212 +- *)
27213 +- GCRYPT_LIBS="$GCRYPT_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
27214 +- ncbi_rp_R_flags=
27215 +- ncbi_rp_R_sep=" $CONF_f_runpath"
27216 +- ;;
27217 +- esac
27218 +- ncbi_rp_L_sep=" "
27219 +- done
27220 +- GCRYPT_LIBS="$GCRYPT_LIBS${ncbi_rp_R_flags}"
27221 +- fi
27222 +-fi
27223 +-
27224 +-case "$with_gnutls" in
27225 +- no ) ac_cv_path_LIBGNUTLS_CONFIG=no ;;
27226 +- yes | '' ) : ${GNUTLS_PATH=$NCBI/gnutls} ;;
27227 +- * ) GNUTLS_PATH=$with_gnutls ;;
27228 +-esac
27229 +-if test -d "$GNUTLS_PATH"; then
27230 +- ncbi_fix_dir_tmp=`if cd $GNUTLS_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
27231 +- case "$ncbi_fix_dir_tmp" in
27232 +- /.*) ncbi_fix_dir_tmp2=`cd $GNUTLS_PATH && $smart_pwd 2>/dev/null`
27233 +- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
27234 +- GNUTLS_PATH=$ncbi_fix_dir_tmp2
27235 +- else
27236 +- case "$GNUTLS_PATH" in
27237 +- /*) ;;
27238 +- * ) GNUTLS_PATH=$ncbi_fix_dir_tmp ;;
27239 +- esac
27240 +- fi
27241 +- ;;
27242 +- /*) GNUTLS_PATH=$ncbi_fix_dir_tmp ;;
27243 +- esac
27244 +-fi
27245 +-# Extract the first word of "libgnutls-config", so it can be a program name with args.
27246 +-set dummy libgnutls-config; ac_word=$2
27247 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
27248 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27249 +-if test "${ac_cv_path_LIBGNUTLS_CONFIG+set}" = set; then
27250 +- echo $ECHO_N "(cached) $ECHO_C" >&6
27251 +-else
27252 +- case $LIBGNUTLS_CONFIG in
27253 +- [\\/]* | ?:[\\/]*)
27254 +- ac_cv_path_LIBGNUTLS_CONFIG="$LIBGNUTLS_CONFIG" # Let the user override the test with a path.
27255 +- ;;
27256 +- *)
27257 +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27258 +-as_dummy="${GNUTLS_BIN-$GNUTLS_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/bin}:$GNUTLS_PATH/bin${bit64_sfx}:$GNUTLS_PATH/bin:$PATH"
27259 +-for as_dir in $as_dummy
27260 +-do
27261 +- IFS=$as_save_IFS
27262 +- test -z "$as_dir" && as_dir=.
27263 +- for ac_exec_ext in '' $ac_executable_extensions; do
27264 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27265 +- ac_cv_path_LIBGNUTLS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27266 +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27267 +- break 2
27268 +- fi
27269 +-done
27270 +-done
27271 +-
27272 +- ;;
27273 +-esac
27274 +-fi
27275 +-LIBGNUTLS_CONFIG=$ac_cv_path_LIBGNUTLS_CONFIG
27276 +-
27277 +-if test -n "$LIBGNUTLS_CONFIG"; then
27278 +- echo "$as_me:$LINENO: result: $LIBGNUTLS_CONFIG" >&5
27279 +-echo "${ECHO_T}$LIBGNUTLS_CONFIG" >&6
27280 +-else
27281 +- echo "$as_me:$LINENO: result: no" >&5
27282 +-echo "${ECHO_T}no" >&6
27283 +-fi
27284 +-
27285 +-
27286 +-if test "x$with_gnutls" != xno; then
27287 +- if test -x "$LIBGNUTLS_CONFIG"; then
27288 +- if test -z "$GNUTLS_PATH"; then
27289 +- p=`libgnutls-config --prefix`
27290 +- test "x$p" = "x/usr" || GNUTLS_PATH=$p
27291 +- fi
27292 +- else
27293 +- LIBGNUTLS_CONFIG="eval PKG_CONFIG_PATH=\"$GNUTLS_PATH/lib/pkgconfig\" pkg-config gnutls"
27294 +- $LIBGNUTLS_CONFIG --exists >/dev/null 2>&1 || LIBGNUTLS_CONFIG=no
27295 +- fi
27296 +- case "$LIBGNUTLS_CONFIG" in
27297 +- eval\ *)
27298 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
27299 +- GNUTLS_LIBPATH=`$LIBGNUTLS_CONFIG --libs-only-L | sed -e ""`
27300 +- else
27301 +- GNUTLS_LIBPATH=
27302 +- ncbi_rp_L_sep=
27303 +- ncbi_rp_R_flags=
27304 +- ncbi_rp_R_sep=" $CONF_f_runpath"
27305 +- for x in `$LIBGNUTLS_CONFIG --libs-only-L | sed -e ""`; do
27306 +- case "$x" in
27307 +- -L*)
27308 +- GNUTLS_LIBPATH="$GNUTLS_LIBPATH${ncbi_rp_L_sep}$x"
27309 +- x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
27310 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
27311 +- ncbi_rp_R_sep=:
27312 +- ;;
27313 +- *)
27314 +- GNUTLS_LIBPATH="$GNUTLS_LIBPATH${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
27315 +- ncbi_rp_R_flags=
27316 +- ncbi_rp_R_sep=" $CONF_f_runpath"
27317 +- ;;
27318 +- esac
27319 +- ncbi_rp_L_sep=" "
27320 +- done
27321 +- GNUTLS_LIBPATH="$GNUTLS_LIBPATH${ncbi_rp_R_flags}"
27322 +- fi
27323 +- ;;
27324 +- no)
27325 +- ;;
27326 +- *)
27327 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
27328 +- GNUTLS_LIBPATH=`$LIBGNUTLS_CONFIG --exec-prefix | sed -e "s,^,-L,; s,$,/lib,;"`
27329 +- else
27330 +- GNUTLS_LIBPATH=
27331 +- ncbi_rp_L_sep=
27332 +- ncbi_rp_R_flags=
27333 +- ncbi_rp_R_sep=" $CONF_f_runpath"
27334 +- for x in `$LIBGNUTLS_CONFIG --exec-prefix | sed -e "s,^,-L,; s,$,/lib,;"`; do
27335 +- case "$x" in
27336 +- -L*)
27337 +- GNUTLS_LIBPATH="$GNUTLS_LIBPATH${ncbi_rp_L_sep}$x"
27338 +- x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
27339 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
27340 +- ncbi_rp_R_sep=:
27341 +- ;;
27342 +- *)
27343 +- GNUTLS_LIBPATH="$GNUTLS_LIBPATH${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
27344 +- ncbi_rp_R_flags=
27345 +- ncbi_rp_R_sep=" $CONF_f_runpath"
27346 +- ;;
27347 +- esac
27348 +- ncbi_rp_L_sep=" "
27349 +- done
27350 +- GNUTLS_LIBPATH="$GNUTLS_LIBPATH${ncbi_rp_R_flags}"
27351 +- fi
27352 +- ;;
27353 +- esac
27354 +-
27355 +- if test "x$LIBGNUTLS_CONFIG" != xno; then
27356 +- GNUTLS_INCLUDE=`$LIBGNUTLS_CONFIG --cflags`
27357 +- GNUTLS_CONFIG_LIBS="`$LIBGNUTLS_CONFIG --libs` $Z_LIBS"
27358 +- fi
27359 +-else
27360 +- $as_unset GNUTLS_CONFIG_LIBS || test "${GNUTLS_CONFIG_LIBS+set}" != set || { GNUTLS_CONFIG_LIBS=; export GNUTLS_CONFIG_LIBS; }
27361 +-fi
27362 +-if test "$with_gnutls" != "no"; then
27363 +- case "$with_gnutls" in
27364 +- yes | "" ) ;;
27365 +- * ) GNUTLS_PATH=$with_gnutls ;;
27366 +- esac
27367 +- if test -d "$GNUTLS_PATH"; then
27368 +- in_path=" in $GNUTLS_PATH"
27369 +- if test -z "$GNUTLS_INCLUDE" -a -d "$GNUTLS_PATH/include"; then
27370 +- GNUTLS_INCLUDE="-I$GNUTLS_PATH/include"
27371 +- fi
27372 +- if test -n "$GNUTLS_LIBPATH"; then
27373 +- :
27374 +- elif test -d "$GNUTLS_PATH/lib${bit64_sfx}"; then
27375 +- ncbi_rp_L_flags=
27376 +- ncbi_rp_L_sep=$CONF_f_libpath
27377 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
27378 +- for x in $GNUTLS_PATH/lib${bit64_sfx}; do
27379 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
27380 +- ncbi_rp_L_sep=" $CONF_f_libpath"
27381 +- done
27382 +- GNUTLS_LIBPATH="${ncbi_rp_L_flags}"
27383 +- else
27384 +- ncbi_rp_R_flags=
27385 +- ncbi_rp_R_sep=" $CONF_f_runpath"
27386 +- for x in $GNUTLS_PATH/lib${bit64_sfx}; do
27387 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
27388 +- ncbi_rp_L_sep=" $CONF_f_libpath"
27389 +- x=`echo $x | sed -e "$ncbi_rpath_sed"`
27390 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
27391 +- ncbi_rp_R_sep=:
27392 +- done
27393 +- GNUTLS_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
27394 +- fi
27395 +- elif test -d "$GNUTLS_PATH/lib"; then
27396 +- ncbi_rp_L_flags=
27397 +- ncbi_rp_L_sep=$CONF_f_libpath
27398 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
27399 +- for x in $GNUTLS_PATH/lib; do
27400 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
27401 +- ncbi_rp_L_sep=" $CONF_f_libpath"
27402 +- done
27403 +- GNUTLS_LIBPATH="${ncbi_rp_L_flags}"
27404 +- else
27405 +- ncbi_rp_R_flags=
27406 +- ncbi_rp_R_sep=" $CONF_f_runpath"
27407 +- for x in $GNUTLS_PATH/lib; do
27408 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
27409 +- ncbi_rp_L_sep=" $CONF_f_libpath"
27410 +- x=`echo $x | sed -e "$ncbi_rpath_sed"`
27411 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
27412 +- ncbi_rp_R_sep=:
27413 +- done
27414 +- GNUTLS_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
27415 +- fi
27416 +- fi
27417 +- GNUTLS_LIBS="$GNUTLS_LIBPATH -lgnutls $GNUTLS_CONFIG_LIBS $GCRYPT_LIBS"
27418 +- else
27419 +- GNUTLS_INCLUDE=""
27420 +- GNUTLS_LIBS="-lgnutls $GNUTLS_CONFIG_LIBS $GCRYPT_LIBS"
27421 +- in_path=
27422 +- fi
27423 +- echo "$as_me:$LINENO: checking for libgnutls$in_path" >&5
27424 +-echo $ECHO_N "checking for libgnutls$in_path... $ECHO_C" >&6
27425 +-if test "${ncbi_cv_lib_gnutls+set}" = set; then
27426 +- echo $ECHO_N "(cached) $ECHO_C" >&6
27427 +-else
27428 +- CPPFLAGS=" $GNUTLS_INCLUDE $orig_CPPFLAGS"
27429 +- LIBS="$GNUTLS_LIBS $orig_LIBS"
27430 +- cat >conftest.$ac_ext <<_ACEOF
27431 +-/* confdefs.h. */
27432 +-_ACEOF
27433 +-cat confdefs.h >>conftest.$ac_ext
27434 +-cat >>conftest.$ac_ext <<_ACEOF
27435 +-/* end confdefs.h. */
27436 +-#include <gnutls/gnutls.h>
27437 +-int
27438 +-main ()
27439 +-{
27440 +-gnutls_session_t s; gnutls_init(&s, GNUTLS_CLIENT);
27441 +- ;
27442 +- return 0;
27443 +-}
27444 +-_ACEOF
27445 +-rm -f conftest.$ac_objext conftest$ac_exeext
27446 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27447 +- (eval $ac_link) 2>conftest.er1
27448 +- ac_status=$?
27449 +- grep -v '^ *+' conftest.er1 >conftest.err
27450 +- rm -f conftest.er1
27451 +- cat conftest.err >&5
27452 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
27453 +- (exit $ac_status); } &&
27454 +- { ac_try='test -z "$ac_cxx_werror_flag"
27455 +- || test ! -s conftest.err'
27456 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27457 +- (eval $ac_try) 2>&5
27458 +- ac_status=$?
27459 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
27460 +- (exit $ac_status); }; } &&
27461 +- { ac_try='test -s conftest$ac_exeext'
27462 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27463 +- (eval $ac_try) 2>&5
27464 +- ac_status=$?
27465 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
27466 +- (exit $ac_status); }; }; then
27467 +- ncbi_cv_lib_gnutls=yes
27468 +-else
27469 +- echo "$as_me: failed program was:" >&5
27470 +-sed 's/^/| /' conftest.$ac_ext >&5
27471 +-
27472 +-ncbi_cv_lib_gnutls=no
27473 +-fi
27474 +-rm -f conftest.err conftest.$ac_objext \
27475 +- conftest$ac_exeext conftest.$ac_ext
27476 +-fi
27477 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_gnutls" >&5
27478 +-echo "${ECHO_T}$ncbi_cv_lib_gnutls" >&6
27479 +- if test "$ncbi_cv_lib_gnutls" = "no"; then
27480 +- if test "${with_gnutls:=no}" != no; then
27481 +- { { echo "$as_me:$LINENO: error: --with-gnutls explicitly specified, but no usable version found." >&5
27482 +-echo "$as_me: error: --with-gnutls explicitly specified, but no usable version found." >&2;}
27483 +- { (exit 1); exit 1; }; }
27484 +- fi
27485 +- fi
27486 +- fi
27487 +- if test "$with_gnutls" = "no"; then
27488 +- GNUTLS_PATH="No_GNUTLS"
27489 +- GNUTLS_INCLUDE=
27490 +- GNUTLS_LIBS=
27491 +- else
27492 +- WithPackages="$WithPackages${WithPackagesSep}GNUTLS"; WithPackagesSep=" "
27493 +- GNUTLS_INCLUDE=" $GNUTLS_INCLUDE"
27494 +-
27495 +-cat >>confdefs.h <<\_ACEOF
27496 +-#define HAVE_LIBGNUTLS 1
27497 +-_ACEOF
27498 +-
27499 +- fi
27500 +-
27501 +-
27502 +-
27503 +-if test "x$with_gnutls" != xno -a -n "$GNUTLS_CONFIG_LIBS"; then
27504 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
27505 +- GNUTLS_LIBS=`echo $GNUTLS_CONFIG_LIBS | sed -e "$no_usr_lib"`
27506 +- else
27507 +- GNUTLS_LIBS=
27508 +- ncbi_rp_L_sep=
27509 +- ncbi_rp_R_flags=
27510 +- ncbi_rp_R_sep=" $CONF_f_runpath"
27511 +- for x in `echo $GNUTLS_CONFIG_LIBS | sed -e "$no_usr_lib"`; do
27512 +- case "$x" in
27513 +- -L*)
27514 +- GNUTLS_LIBS="$GNUTLS_LIBS${ncbi_rp_L_sep}$x"
27515 +- x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
27516 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
27517 +- ncbi_rp_R_sep=:
27518 +- ;;
27519 +- *)
27520 +- GNUTLS_LIBS="$GNUTLS_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
27521 +- ncbi_rp_R_flags=
27522 +- ncbi_rp_R_sep=" $CONF_f_runpath"
27523 +- ;;
27524 +- esac
27525 +- ncbi_rp_L_sep=" "
27526 +- done
27527 +- GNUTLS_LIBS="$GNUTLS_LIBS${ncbi_rp_R_flags}"
27528 +- fi
27529 +- case "$GNUTLS_INCLUDE" in
27530 +- *$GCRYPT_INCLUDE* ) ;;
27531 +- * ) GNUTLS_INCLUDE="$GNUTLS_INCLUDE $GCRYPT_INCLUDE" ;;
27532 +- esac
27533 +- case "$GNUTLS_LIBS" in
27534 +- *\ -lgcrypt* ) ;;
27535 +- * ) GNUTLS_LIBS="$GNUTLS_LIBS $GCRYPT_LIBS" ;;
27536 +- esac
27537 +-fi
27538 +-
27539 +-if test "$with_openssl" != "no"; then
27540 +- case "$with_openssl" in
27541 +- yes | "" ) ;;
27542 +- * ) OPENSSL_PATH=$with_openssl ;;
27543 +- esac
27544 +- if test -d "$OPENSSL_PATH"; then
27545 +- in_path=" in $OPENSSL_PATH"
27546 +- if test -z "$OPENSSL_INCLUDE" -a -d "$OPENSSL_PATH/include"; then
27547 +- OPENSSL_INCLUDE="-I$OPENSSL_PATH/include"
27548 +- fi
27549 +- if test -n "$OPENSSL_LIBPATH"; then
27550 +- :
27551 +- elif test -d "$OPENSSL_PATH/lib${bit64_sfx}"; then
27552 +- ncbi_rp_L_flags=
27553 +- ncbi_rp_L_sep=$CONF_f_libpath
27554 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
27555 +- for x in $OPENSSL_PATH/lib${bit64_sfx}; do
27556 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
27557 +- ncbi_rp_L_sep=" $CONF_f_libpath"
27558 +- done
27559 +- OPENSSL_LIBPATH="${ncbi_rp_L_flags}"
27560 +- else
27561 +- ncbi_rp_R_flags=
27562 +- ncbi_rp_R_sep=" $CONF_f_runpath"
27563 +- for x in $OPENSSL_PATH/lib${bit64_sfx}; do
27564 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
27565 +- ncbi_rp_L_sep=" $CONF_f_libpath"
27566 +- x=`echo $x | sed -e "$ncbi_rpath_sed"`
27567 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
27568 +- ncbi_rp_R_sep=:
27569 +- done
27570 +- OPENSSL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
27571 +- fi
27572 +- elif test -d "$OPENSSL_PATH/lib"; then
27573 +- ncbi_rp_L_flags=
27574 +- ncbi_rp_L_sep=$CONF_f_libpath
27575 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
27576 +- for x in $OPENSSL_PATH/lib; do
27577 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
27578 +- ncbi_rp_L_sep=" $CONF_f_libpath"
27579 +- done
27580 +- OPENSSL_LIBPATH="${ncbi_rp_L_flags}"
27581 +- else
27582 +- ncbi_rp_R_flags=
27583 +- ncbi_rp_R_sep=" $CONF_f_runpath"
27584 +- for x in $OPENSSL_PATH/lib; do
27585 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
27586 +- ncbi_rp_L_sep=" $CONF_f_libpath"
27587 +- x=`echo $x | sed -e "$ncbi_rpath_sed"`
27588 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
27589 +- ncbi_rp_R_sep=:
27590 +- done
27591 +- OPENSSL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
27592 +- fi
27593 +- fi
27594 +- OPENSSL_LIBS="$OPENSSL_LIBPATH -lssl -lcrypto"
27595 +- else
27596 +- OPENSSL_INCLUDE=""
27597 +- OPENSSL_LIBS="-lssl -lcrypto"
27598 +- in_path=
27599 +- fi
27600 +- echo "$as_me:$LINENO: checking for libssl$in_path" >&5
27601 +-echo $ECHO_N "checking for libssl$in_path... $ECHO_C" >&6
27602 +-if test "${ncbi_cv_lib_openssl+set}" = set; then
27603 +- echo $ECHO_N "(cached) $ECHO_C" >&6
27604 +-else
27605 +- CPPFLAGS=" $OPENSSL_INCLUDE $orig_CPPFLAGS"
27606 +- LIBS="$OPENSSL_LIBS $orig_LIBS"
27607 +- cat >conftest.$ac_ext <<_ACEOF
27608 +-/* confdefs.h. */
27609 +-_ACEOF
27610 +-cat confdefs.h >>conftest.$ac_ext
27611 +-cat >>conftest.$ac_ext <<_ACEOF
27612 +-/* end confdefs.h. */
27613 +-#include <openssl/ssl.h>
27614 +-int
27615 +-main ()
27616 +-{
27617 +-SSL_library_init();
27618 +- ;
27619 +- return 0;
27620 +-}
27621 +-_ACEOF
27622 +-rm -f conftest.$ac_objext conftest$ac_exeext
27623 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27624 +- (eval $ac_link) 2>conftest.er1
27625 +- ac_status=$?
27626 +- grep -v '^ *+' conftest.er1 >conftest.err
27627 +- rm -f conftest.er1
27628 +- cat conftest.err >&5
27629 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
27630 +- (exit $ac_status); } &&
27631 +- { ac_try='test -z "$ac_cxx_werror_flag"
27632 +- || test ! -s conftest.err'
27633 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27634 +- (eval $ac_try) 2>&5
27635 +- ac_status=$?
27636 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
27637 +- (exit $ac_status); }; } &&
27638 +- { ac_try='test -s conftest$ac_exeext'
27639 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27640 +- (eval $ac_try) 2>&5
27641 +- ac_status=$?
27642 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
27643 +- (exit $ac_status); }; }; then
27644 +- ncbi_cv_lib_openssl=yes
27645 +-else
27646 +- echo "$as_me: failed program was:" >&5
27647 +-sed 's/^/| /' conftest.$ac_ext >&5
27648 +-
27649 +-ncbi_cv_lib_openssl=no
27650 +-fi
27651 +-rm -f conftest.err conftest.$ac_objext \
27652 +- conftest$ac_exeext conftest.$ac_ext
27653 +-fi
27654 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_openssl" >&5
27655 +-echo "${ECHO_T}$ncbi_cv_lib_openssl" >&6
27656 +- if test "$ncbi_cv_lib_openssl" = "no"; then
27657 +- if test "${with_openssl:=no}" != no; then
27658 +- { { echo "$as_me:$LINENO: error: --with-openssl explicitly specified, but no usable version found." >&5
27659 +-echo "$as_me: error: --with-openssl explicitly specified, but no usable version found." >&2;}
27660 +- { (exit 1); exit 1; }; }
27661 +- fi
27662 +- fi
27663 +- fi
27664 +- if test "$with_openssl" = "no"; then
27665 +- OPENSSL_PATH="No_OPENSSL"
27666 +- OPENSSL_INCLUDE=
27667 +- OPENSSL_LIBS=
27668 +- else
27669 +- WithPackages="$WithPackages${WithPackagesSep}OPENSSL"; WithPackagesSep=" "
27670 +- OPENSSL_INCLUDE=" $OPENSSL_INCLUDE"
27671 +-
27672 +-cat >>confdefs.h <<\_ACEOF
27673 +-#define HAVE_LIBOPENSSL 1
27674 +-_ACEOF
27675 +-
27676 +- fi
27677 +-
27678 +-
27679 +-
27680 +-
27681 +-OPENSSL_STATIC_LIBS=$OPENSSL_LIBS
27682 +-for d in `echo " $OPENSSL_LIBS" | fmt -w 1 | sed -ne 's/^ *-L//p'` \
27683 +- /usr/local/lib${bit64_sfx} /usr/local/lib /usr/lib${bit64_sfx} /usr/lib; do
27684 +- if test -f $d/libssl.a -a -f $d/libcrypto.a; then
27685 +- OPENSSL_STATIC_LIBS="$d/libssl.a $d/libcrypto.a"
27686 +- break
27687 +- elif test -f $d/libssl.so -o -f $d/libssl.dylib; then
27688 +- break
27689 +- fi
27690 +-done
27691 +-
27692 +-if test -n "$GNUTLS_LIBS"; then
27693 +- TLS_INCLUDE=$GNUTLS_INCLUDE
27694 +- TLS_LIBS=$GNUTLS_LIBS
27695 +-else
27696 +- TLS_INCLUDE=$OPENSSL_INCLUDE
27697 +- TLS_LIBS=$OPENSSL_LIBS
27698 +-fi
27699 +-
27700 +-
27701 +-case "$with_krb5" in
27702 +- no ) ac_cv_path_KRB5_CONFIG=no ;;
27703 +- yes | '' ) : ${KRB5_PATH=/usr/kerberos} ;;
27704 +- * ) KRB5_PATH=$with_krb5 ;;
27705 +-esac
27706 +-# Extract the first word of "krb5-config", so it can be a program name with args.
27707 +-set dummy krb5-config; ac_word=$2
27708 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
27709 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27710 +-if test "${ac_cv_path_KRB5_CONFIG+set}" = set; then
27711 +- echo $ECHO_N "(cached) $ECHO_C" >&6
27712 +-else
27713 +- case $KRB5_CONFIG in
27714 +- [\\/]* | ?:[\\/]*)
27715 +- ac_cv_path_KRB5_CONFIG="$KRB5_CONFIG" # Let the user override the test with a path.
27716 +- ;;
27717 +- *)
27718 +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27719 +-as_dummy="${KRB5_BIN-$KRB5_PATH/bin}:$PATH"
27720 +-for as_dir in $as_dummy
27721 +-do
27722 +- IFS=$as_save_IFS
27723 +- test -z "$as_dir" && as_dir=.
27724 +- for ac_exec_ext in '' $ac_executable_extensions; do
27725 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27726 +- ac_cv_path_KRB5_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27727 +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27728 +- break 2
27729 +- fi
27730 +-done
27731 +-done
27732 +-
27733 +- ;;
27734 +-esac
27735 +-fi
27736 +-KRB5_CONFIG=$ac_cv_path_KRB5_CONFIG
27737 +-
27738 +-if test -n "$KRB5_CONFIG"; then
27739 +- echo "$as_me:$LINENO: result: $KRB5_CONFIG" >&5
27740 +-echo "${ECHO_T}$KRB5_CONFIG" >&6
27741 +-else
27742 +- echo "$as_me:$LINENO: result: no" >&5
27743 +-echo "${ECHO_T}no" >&6
27744 +-fi
27745 +-
27746 +-
27747 +-if test "x$with_krb5" != xno; then
27748 +- if test -x "$KRB5_CONFIG"; then
27749 +- KRB5_PATH=`$KRB5_CONFIG --prefix`
27750 +- KRB5_INCLUDE=`$KRB5_CONFIG --cflags | \
27751 +- sed -e 's/$/ /; s,-I/usr/include ,,'`
27752 +- KRB5_CONFIG_LIBS=`$KRB5_CONFIG --libs gssapi | \
27753 +- sed -e 's/^/ /; s/ -[^Ll][^ ]*//g'`
27754 +- fi
27755 +-else
27756 +- KRB5_CONFIG_LIBS=$KRB5_LIBS
27757 +-fi
27758 +-if test "$with_krb5" != "no"; then
27759 +- case "$with_krb5" in
27760 +- yes | "" ) ;;
27761 +- * ) KRB5_PATH=$with_krb5 ;;
27762 +- esac
27763 +- if test -d "$KRB5_PATH"; then
27764 +- in_path=" in $KRB5_PATH"
27765 +- if test -z "$KRB5_INCLUDE" -a -d "$KRB5_PATH/include"; then
27766 +- KRB5_INCLUDE="-I$KRB5_PATH/include"
27767 +- fi
27768 +- if test -n "$KRB5_LIBPATH"; then
27769 +- :
27770 +- elif test -d "$KRB5_PATH/lib${bit64_sfx}"; then
27771 +- ncbi_rp_L_flags=
27772 +- ncbi_rp_L_sep=$CONF_f_libpath
27773 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
27774 +- for x in $KRB5_PATH/lib${bit64_sfx}; do
27775 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
27776 +- ncbi_rp_L_sep=" $CONF_f_libpath"
27777 +- done
27778 +- KRB5_LIBPATH="${ncbi_rp_L_flags}"
27779 +- else
27780 +- ncbi_rp_R_flags=
27781 +- ncbi_rp_R_sep=" $CONF_f_runpath"
27782 +- for x in $KRB5_PATH/lib${bit64_sfx}; do
27783 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
27784 +- ncbi_rp_L_sep=" $CONF_f_libpath"
27785 +- x=`echo $x | sed -e "$ncbi_rpath_sed"`
27786 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
27787 +- ncbi_rp_R_sep=:
27788 +- done
27789 +- KRB5_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
27790 +- fi
27791 +- elif test -d "$KRB5_PATH/lib"; then
27792 +- ncbi_rp_L_flags=
27793 +- ncbi_rp_L_sep=$CONF_f_libpath
27794 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
27795 +- for x in $KRB5_PATH/lib; do
27796 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
27797 +- ncbi_rp_L_sep=" $CONF_f_libpath"
27798 +- done
27799 +- KRB5_LIBPATH="${ncbi_rp_L_flags}"
27800 +- else
27801 +- ncbi_rp_R_flags=
27802 +- ncbi_rp_R_sep=" $CONF_f_runpath"
27803 +- for x in $KRB5_PATH/lib; do
27804 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
27805 +- ncbi_rp_L_sep=" $CONF_f_libpath"
27806 +- x=`echo $x | sed -e "$ncbi_rpath_sed"`
27807 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
27808 +- ncbi_rp_R_sep=:
27809 +- done
27810 +- KRB5_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
27811 +- fi
27812 +- fi
27813 +- KRB5_LIBS="$KRB5_LIBPATH -lgssapi_krb5 $KRB5_CONFIG_LIBS"
27814 +- else
27815 +- KRB5_INCLUDE=""
27816 +- KRB5_LIBS="-lgssapi_krb5 $KRB5_CONFIG_LIBS"
27817 +- in_path=
27818 +- fi
27819 +- echo "$as_me:$LINENO: checking for libgssapi_krb5$in_path" >&5
27820 +-echo $ECHO_N "checking for libgssapi_krb5$in_path... $ECHO_C" >&6
27821 +-if test "${ncbi_cv_lib_krb5+set}" = set; then
27822 +- echo $ECHO_N "(cached) $ECHO_C" >&6
27823 +-else
27824 +- CPPFLAGS=" $KRB5_INCLUDE $orig_CPPFLAGS"
27825 +- LIBS="$KRB5_LIBS $orig_LIBS"
27826 +- cat >conftest.$ac_ext <<_ACEOF
27827 +-/* confdefs.h. */
27828 +-_ACEOF
27829 +-cat confdefs.h >>conftest.$ac_ext
27830 +-cat >>conftest.$ac_ext <<_ACEOF
27831 +-/* end confdefs.h. */
27832 +-#include <time.h>
27833 +-extern "C" {
27834 +-#include <gssapi/gssapi_krb5.h>
27835 +-}
27836 +-int
27837 +-main ()
27838 +-{
27839 +-OM_uint32 min_stat;
27840 +- gss_buffer_desc buf;
27841 +- gss_release_buffer(&min_stat, &buf);
27842 +- ;
27843 +- return 0;
27844 +-}
27845 +-_ACEOF
27846 +-rm -f conftest.$ac_objext conftest$ac_exeext
27847 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27848 +- (eval $ac_link) 2>conftest.er1
27849 +- ac_status=$?
27850 +- grep -v '^ *+' conftest.er1 >conftest.err
27851 +- rm -f conftest.er1
27852 +- cat conftest.err >&5
27853 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
27854 +- (exit $ac_status); } &&
27855 +- { ac_try='test -z "$ac_cxx_werror_flag"
27856 +- || test ! -s conftest.err'
27857 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27858 +- (eval $ac_try) 2>&5
27859 +- ac_status=$?
27860 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
27861 +- (exit $ac_status); }; } &&
27862 +- { ac_try='test -s conftest$ac_exeext'
27863 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27864 +- (eval $ac_try) 2>&5
27865 +- ac_status=$?
27866 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
27867 +- (exit $ac_status); }; }; then
27868 +- ncbi_cv_lib_krb5=yes
27869 +-else
27870 +- echo "$as_me: failed program was:" >&5
27871 +-sed 's/^/| /' conftest.$ac_ext >&5
27872 +-
27873 +-ncbi_cv_lib_krb5=no
27874 +-fi
27875 +-rm -f conftest.err conftest.$ac_objext \
27876 +- conftest$ac_exeext conftest.$ac_ext
27877 +-fi
27878 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_krb5" >&5
27879 +-echo "${ECHO_T}$ncbi_cv_lib_krb5" >&6
27880 +- if test "$ncbi_cv_lib_krb5" = "no"; then
27881 +- if test "${with_krb5:=no}" != no; then
27882 +- { { echo "$as_me:$LINENO: error: --with-krb5 explicitly specified, but no usable version found." >&5
27883 +-echo "$as_me: error: --with-krb5 explicitly specified, but no usable version found." >&2;}
27884 +- { (exit 1); exit 1; }; }
27885 +- fi
27886 +- fi
27887 +- fi
27888 +- if test "$with_krb5" = "no"; then
27889 +- KRB5_PATH="No_KRB5"
27890 +- KRB5_INCLUDE=
27891 +- KRB5_LIBS=
27892 +- else
27893 +- WithPackages="$WithPackages${WithPackagesSep}KRB5"; WithPackagesSep=" "
27894 +- KRB5_INCLUDE=" $KRB5_INCLUDE"
27895 +-
27896 +-cat >>confdefs.h <<\_ACEOF
27897 +-#define HAVE_LIBKRB5 1
27898 +-_ACEOF
27899 +-
27900 +- fi
27901 +-
27902 +-
27903 +-
27904 +-if test "x$with_krb5" != xno; then
27905 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
27906 +- KRB5_LIBS=`echo $KRB5_CONFIG_LIBS | sed -e "$no_usr_lib"`
27907 +- else
27908 +- KRB5_LIBS=
27909 +- ncbi_rp_L_sep=
27910 +- ncbi_rp_R_flags=
27911 +- ncbi_rp_R_sep=" $CONF_f_runpath"
27912 +- for x in `echo $KRB5_CONFIG_LIBS | sed -e "$no_usr_lib"`; do
27913 +- case "$x" in
27914 +- -L*)
27915 +- KRB5_LIBS="$KRB5_LIBS${ncbi_rp_L_sep}$x"
27916 +- x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
27917 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
27918 +- ncbi_rp_R_sep=:
27919 +- ;;
27920 +- *)
27921 +- KRB5_LIBS="$KRB5_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
27922 +- ncbi_rp_R_flags=
27923 +- ncbi_rp_R_sep=" $CONF_f_runpath"
27924 +- ;;
27925 +- esac
27926 +- ncbi_rp_L_sep=" "
27927 +- done
27928 +- KRB5_LIBS="$KRB5_LIBS${ncbi_rp_R_flags}"
27929 +- fi
27930 +-fi
27931 +-
27932 +-
27933 +-if test "$with_curl" != "no"; then
27934 +- case "$with_curl" in
27935 +- yes | "" ) ;;
27936 +- * ) CURL_PATH=$with_curl ;;
27937 +- esac
27938 +- if test -d "$CURL_PATH"; then
27939 +- in_path=" in $CURL_PATH"
27940 +- if test -z "$CURL_INCLUDE" -a -d "$CURL_PATH/include"; then
27941 +- CURL_INCLUDE="-I$CURL_PATH/include"
27942 +- fi
27943 +- if test -n "$CURL_LIBPATH"; then
27944 +- :
27945 +- elif test -d "$CURL_PATH/lib${bit64_sfx}"; then
27946 +- ncbi_rp_L_flags=
27947 +- ncbi_rp_L_sep=$CONF_f_libpath
27948 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
27949 +- for x in $CURL_PATH/lib${bit64_sfx}; do
27950 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
27951 +- ncbi_rp_L_sep=" $CONF_f_libpath"
27952 +- done
27953 +- CURL_LIBPATH="${ncbi_rp_L_flags}"
27954 +- else
27955 +- ncbi_rp_R_flags=
27956 +- ncbi_rp_R_sep=" $CONF_f_runpath"
27957 +- for x in $CURL_PATH/lib${bit64_sfx}; do
27958 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
27959 +- ncbi_rp_L_sep=" $CONF_f_libpath"
27960 +- x=`echo $x | sed -e "$ncbi_rpath_sed"`
27961 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
27962 +- ncbi_rp_R_sep=:
27963 +- done
27964 +- CURL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
27965 +- fi
27966 +- elif test -d "$CURL_PATH/lib"; then
27967 +- ncbi_rp_L_flags=
27968 +- ncbi_rp_L_sep=$CONF_f_libpath
27969 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
27970 +- for x in $CURL_PATH/lib; do
27971 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
27972 +- ncbi_rp_L_sep=" $CONF_f_libpath"
27973 +- done
27974 +- CURL_LIBPATH="${ncbi_rp_L_flags}"
27975 +- else
27976 +- ncbi_rp_R_flags=
27977 +- ncbi_rp_R_sep=" $CONF_f_runpath"
27978 +- for x in $CURL_PATH/lib; do
27979 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
27980 +- ncbi_rp_L_sep=" $CONF_f_libpath"
27981 +- x=`echo $x | sed -e "$ncbi_rpath_sed"`
27982 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
27983 +- ncbi_rp_R_sep=:
27984 +- done
27985 +- CURL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
27986 +- fi
27987 +- fi
27988 +- CURL_LIBS="$CURL_LIBPATH -lcurl "
27989 +- else
27990 +- CURL_INCLUDE=""
27991 +- CURL_LIBS="-lcurl "
27992 +- in_path=
27993 +- fi
27994 +- echo "$as_me:$LINENO: checking for libcurl$in_path" >&5
27995 +-echo $ECHO_N "checking for libcurl$in_path... $ECHO_C" >&6
27996 +-if test "${ncbi_cv_lib_curl+set}" = set; then
27997 +- echo $ECHO_N "(cached) $ECHO_C" >&6
27998 +-else
27999 +- CPPFLAGS=" $CURL_INCLUDE $orig_CPPFLAGS"
28000 +- LIBS="$CURL_LIBS $orig_LIBS"
28001 +- cat >conftest.$ac_ext <<_ACEOF
28002 +-/* confdefs.h. */
28003 +-_ACEOF
28004 +-cat confdefs.h >>conftest.$ac_ext
28005 +-cat >>conftest.$ac_ext <<_ACEOF
28006 +-/* end confdefs.h. */
28007 +-#include <curl/curl.h>
28008 +-int
28009 +-main ()
28010 +-{
28011 +-char* v = curl_version();
28012 +- ;
28013 +- return 0;
28014 +-}
28015 +-_ACEOF
28016 +-rm -f conftest.$ac_objext conftest$ac_exeext
28017 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28018 +- (eval $ac_link) 2>conftest.er1
28019 +- ac_status=$?
28020 +- grep -v '^ *+' conftest.er1 >conftest.err
28021 +- rm -f conftest.er1
28022 +- cat conftest.err >&5
28023 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
28024 +- (exit $ac_status); } &&
28025 +- { ac_try='test -z "$ac_cxx_werror_flag"
28026 +- || test ! -s conftest.err'
28027 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28028 +- (eval $ac_try) 2>&5
28029 +- ac_status=$?
28030 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
28031 +- (exit $ac_status); }; } &&
28032 +- { ac_try='test -s conftest$ac_exeext'
28033 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28034 +- (eval $ac_try) 2>&5
28035 +- ac_status=$?
28036 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
28037 +- (exit $ac_status); }; }; then
28038 +- ncbi_cv_lib_curl=yes
28039 +-else
28040 +- echo "$as_me: failed program was:" >&5
28041 +-sed 's/^/| /' conftest.$ac_ext >&5
28042 +-
28043 +-ncbi_cv_lib_curl=no
28044 +-fi
28045 +-rm -f conftest.err conftest.$ac_objext \
28046 +- conftest$ac_exeext conftest.$ac_ext
28047 +-fi
28048 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_curl" >&5
28049 +-echo "${ECHO_T}$ncbi_cv_lib_curl" >&6
28050 +- if test "$ncbi_cv_lib_curl" = "no"; then
28051 +- if test "${with_curl:=no}" != no; then
28052 +- { { echo "$as_me:$LINENO: error: --with-curl explicitly specified, but no usable version found." >&5
28053 +-echo "$as_me: error: --with-curl explicitly specified, but no usable version found." >&2;}
28054 +- { (exit 1); exit 1; }; }
28055 +- fi
28056 +- fi
28057 +- fi
28058 +- if test "$with_curl" = "no"; then
28059 +- CURL_PATH="No_CURL"
28060 +- CURL_INCLUDE=
28061 +- CURL_LIBS=
28062 +- else
28063 +- WithPackages="$WithPackages${WithPackagesSep}CURL"; WithPackagesSep=" "
28064 +- CURL_INCLUDE=" $CURL_INCLUDE"
28065 +-
28066 +-cat >>confdefs.h <<\_ACEOF
28067 +-#define HAVE_LIBCURL 1
28068 ++#define HAVE_LIBCURL 1
28069 + _ACEOF
28070 +
28071 + fi
28072 +@@ -23074,8 +26591,8 @@
28073 + SYBASE_LIBPATH="$SYBASE_PATH/${sybase_lib}"
28074 + syb_sfx=$bit64_sfx
28075 + if test "$with_mt" = "yes" ; then
28076 +- echo "$as_me:$LINENO: checking for reentrant Sybase libraries" >&5
28077 +-echo $ECHO_N "checking for reentrant Sybase libraries... $ECHO_C" >&6
28078 ++ { echo "$as_me:$LINENO: checking for reentrant Sybase libraries" >&5
28079 ++echo $ECHO_N "checking for reentrant Sybase libraries... $ECHO_C" >&6; }
28080 + if test "${ncbi_cv_lib_sybase_r+set}" = set; then
28081 + echo $ECHO_N "(cached) $ECHO_C" >&6
28082 + else
28083 +@@ -23085,8 +26602,8 @@
28084 + ncbi_cv_lib_sybase_r=no
28085 + fi
28086 + fi
28087 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_sybase_r" >&5
28088 +-echo "${ECHO_T}$ncbi_cv_lib_sybase_r" >&6
28089 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_sybase_r" >&5
28090 ++echo "${ECHO_T}$ncbi_cv_lib_sybase_r" >&6; }
28091 + if test $ncbi_cv_lib_sybase_r = yes; then
28092 + syb_sfx=_r$bit64_sfx
28093 + fi
28094 +@@ -23164,8 +26681,8 @@
28095 + SYBASE_DBLIBS="$SYBASE_LPATH $SYBASE_DBLIBS"
28096 + SYBASE_DLLS="$SYBASE_DLLLIST"
28097 +
28098 +- echo "$as_me:$LINENO: checking for Sybase in $SYBASE_PATH" >&5
28099 +-echo $ECHO_N "checking for Sybase in $SYBASE_PATH... $ECHO_C" >&6
28100 ++ { echo "$as_me:$LINENO: checking for Sybase${SYBASE_PATH:+ in $SYBASE_PATH}" >&5
28101 ++echo $ECHO_N "checking for Sybase${SYBASE_PATH:+ in $SYBASE_PATH}... $ECHO_C" >&6; }
28102 + if test "${ncbi_cv_lib_sybase+set}" = set; then
28103 + echo $ECHO_N "(cached) $ECHO_C" >&6
28104 + else
28105 +@@ -23187,24 +26704,36 @@
28106 + }
28107 + _ACEOF
28108 + rm -f conftest.$ac_objext conftest$ac_exeext
28109 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28110 +- (eval $ac_link) 2>conftest.er1
28111 ++if { (ac_try="$ac_link"
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_link") 2>conftest.er1
28118 + ac_status=$?
28119 + grep -v '^ *+' conftest.er1 >conftest.err
28120 + rm -f conftest.er1
28121 + cat conftest.err >&5
28122 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 + (exit $ac_status); } &&
28124 +- { ac_try='test -z "$ac_cxx_werror_flag"
28125 +- || test ! -s conftest.err'
28126 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28127 +- (eval $ac_try) 2>&5
28128 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28129 ++ { (case "(($ac_try" in
28130 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28131 ++ *) ac_try_echo=$ac_try;;
28132 ++esac
28133 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28134 ++ (eval "$ac_try") 2>&5
28135 + ac_status=$?
28136 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28137 + (exit $ac_status); }; } &&
28138 + { ac_try='test -s conftest$ac_exeext'
28139 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28140 +- (eval $ac_try) 2>&5
28141 ++ { (case "(($ac_try" in
28142 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28143 ++ *) ac_try_echo=$ac_try;;
28144 ++esac
28145 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28146 ++ (eval "$ac_try") 2>&5
28147 + ac_status=$?
28148 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28149 + (exit $ac_status); }; }; then
28150 +@@ -23215,11 +26744,12 @@
28151 +
28152 + ncbi_cv_lib_sybase=no
28153 + fi
28154 +-rm -f conftest.err conftest.$ac_objext \
28155 ++
28156 ++rm -f core conftest.err conftest.$ac_objext \
28157 + conftest$ac_exeext conftest.$ac_ext
28158 + fi
28159 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_sybase" >&5
28160 +-echo "${ECHO_T}$ncbi_cv_lib_sybase" >&6
28161 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_sybase" >&5
28162 ++echo "${ECHO_T}$ncbi_cv_lib_sybase" >&6; }
28163 +
28164 + if test "$ncbi_cv_lib_sybase" = yes; then
28165 + WithPackages="$WithPackages${WithPackagesSep}Sybase"; WithPackagesSep=" "
28166 +@@ -23236,8 +26766,8 @@
28167 +
28168 + fi
28169 + if test "$with_dbapi" != no -a -f ${real_srcdir}/src/objtools/data_loaders/genbank/pubseq/Makefile.ncbi_xreader_pubseqos.lib ; then
28170 +- echo "$as_me:$LINENO: checking for PubSeq service availability" >&5
28171 +-echo $ECHO_N "checking for PubSeq service availability... $ECHO_C" >&6
28172 ++ { echo "$as_me:$LINENO: checking for PubSeq service availability" >&5
28173 ++echo $ECHO_N "checking for PubSeq service availability... $ECHO_C" >&6; }
28174 + if test "${ncbi_cv_db_pubseq+set}" = set; then
28175 + echo $ECHO_N "(cached) $ECHO_C" >&6
28176 + else
28177 +@@ -23247,8 +26777,8 @@
28178 + ncbi_cv_db_pubseq=no
28179 + fi
28180 + fi
28181 +-echo "$as_me:$LINENO: result: $ncbi_cv_db_pubseq" >&5
28182 +-echo "${ECHO_T}$ncbi_cv_db_pubseq" >&6
28183 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_db_pubseq" >&5
28184 ++echo "${ECHO_T}$ncbi_cv_db_pubseq" >&6; }
28185 + if test "$ncbi_cv_db_pubseq" = yes; then
28186 +
28187 + cat >>confdefs.h <<\_ACEOF
28188 +@@ -23263,8 +26793,8 @@
28189 + fi
28190 +
28191 + SYBASE_DBLIBS="$SYBASE_LPATH -lsybdb${bit64_sfx}"
28192 +- echo "$as_me:$LINENO: checking for Sybase DBLib" >&5
28193 +-echo $ECHO_N "checking for Sybase DBLib... $ECHO_C" >&6
28194 ++ { echo "$as_me:$LINENO: checking for Sybase DBLib" >&5
28195 ++echo $ECHO_N "checking for Sybase DBLib... $ECHO_C" >&6; }
28196 + if test "${ncbi_cv_lib_sybdb+set}" = set; then
28197 + echo $ECHO_N "(cached) $ECHO_C" >&6
28198 + else
28199 +@@ -23292,24 +26822,36 @@
28200 + }
28201 + _ACEOF
28202 + rm -f conftest.$ac_objext conftest$ac_exeext
28203 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28204 +- (eval $ac_link) 2>conftest.er1
28205 ++if { (ac_try="$ac_link"
28206 ++case "(($ac_try" in
28207 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28208 ++ *) ac_try_echo=$ac_try;;
28209 ++esac
28210 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28211 ++ (eval "$ac_link") 2>conftest.er1
28212 + ac_status=$?
28213 + grep -v '^ *+' conftest.er1 >conftest.err
28214 + rm -f conftest.er1
28215 + cat conftest.err >&5
28216 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28217 + (exit $ac_status); } &&
28218 +- { ac_try='test -z "$ac_cxx_werror_flag"
28219 +- || test ! -s conftest.err'
28220 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28221 +- (eval $ac_try) 2>&5
28222 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28223 ++ { (case "(($ac_try" in
28224 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28225 ++ *) ac_try_echo=$ac_try;;
28226 ++esac
28227 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28228 ++ (eval "$ac_try") 2>&5
28229 + ac_status=$?
28230 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28231 + (exit $ac_status); }; } &&
28232 + { ac_try='test -s conftest$ac_exeext'
28233 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28234 +- (eval $ac_try) 2>&5
28235 ++ { (case "(($ac_try" in
28236 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28237 ++ *) ac_try_echo=$ac_try;;
28238 ++esac
28239 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28240 ++ (eval "$ac_try") 2>&5
28241 + ac_status=$?
28242 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28243 + (exit $ac_status); }; }; then
28244 +@@ -23320,11 +26862,12 @@
28245 +
28246 + ncbi_cv_lib_sybdb=no
28247 + fi
28248 +-rm -f conftest.err conftest.$ac_objext \
28249 ++
28250 ++rm -f core conftest.err conftest.$ac_objext \
28251 + conftest$ac_exeext conftest.$ac_ext
28252 + fi
28253 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_sybdb" >&5
28254 +-echo "${ECHO_T}$ncbi_cv_lib_sybdb" >&6
28255 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_sybdb" >&5
28256 ++echo "${ECHO_T}$ncbi_cv_lib_sybdb" >&6; }
28257 + if test "$ncbi_cv_lib_sybdb" = yes; then
28258 + WithPackages="$WithPackages${WithPackagesSep}DBLib"; WithPackagesSep=" "
28259 +
28260 +@@ -23431,8 +26974,8 @@
28261 + echo "$as_me: Using bundled FreeTDS (version $ftds_ver) from $FTDS_PATH" >&6;}
28262 + else
28263 + FTDS_LIBS="$FTDS_CTLIBS"
28264 +- echo "$as_me:$LINENO: checking for FreeTDS in $FTDS_PATH" >&5
28265 +-echo $ECHO_N "checking for FreeTDS in $FTDS_PATH... $ECHO_C" >&6
28266 ++ { echo "$as_me:$LINENO: checking for FreeTDS${FTDS_PATH:+ in $FTDS_PATH}" >&5
28267 ++echo $ECHO_N "checking for FreeTDS${FTDS_PATH:+ in $FTDS_PATH}... $ECHO_C" >&6; }
28268 + if test "${ncbi_cv_lib_freetds+set}" = set; then
28269 + echo $ECHO_N "(cached) $ECHO_C" >&6
28270 + else
28271 +@@ -23463,24 +27006,36 @@
28272 + }
28273 + _ACEOF
28274 + rm -f conftest.$ac_objext conftest$ac_exeext
28275 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28276 +- (eval $ac_link) 2>conftest.er1
28277 ++if { (ac_try="$ac_link"
28278 ++case "(($ac_try" in
28279 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28280 ++ *) ac_try_echo=$ac_try;;
28281 ++esac
28282 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28283 ++ (eval "$ac_link") 2>conftest.er1
28284 + ac_status=$?
28285 + grep -v '^ *+' conftest.er1 >conftest.err
28286 + rm -f conftest.er1
28287 + cat conftest.err >&5
28288 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28289 + (exit $ac_status); } &&
28290 +- { ac_try='test -z "$ac_cxx_werror_flag"
28291 +- || test ! -s conftest.err'
28292 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28293 +- (eval $ac_try) 2>&5
28294 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28295 ++ { (case "(($ac_try" in
28296 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28297 ++ *) ac_try_echo=$ac_try;;
28298 ++esac
28299 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28300 ++ (eval "$ac_try") 2>&5
28301 + ac_status=$?
28302 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28303 + (exit $ac_status); }; } &&
28304 + { ac_try='test -s conftest$ac_exeext'
28305 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28306 +- (eval $ac_try) 2>&5
28307 ++ { (case "(($ac_try" in
28308 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28309 ++ *) ac_try_echo=$ac_try;;
28310 ++esac
28311 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28312 ++ (eval "$ac_try") 2>&5
28313 + ac_status=$?
28314 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28315 + (exit $ac_status); }; }; then
28316 +@@ -23491,11 +27046,12 @@
28317 +
28318 + ncbi_cv_lib_freetds=no
28319 + fi
28320 +-rm -f conftest.err conftest.$ac_objext \
28321 ++
28322 ++rm -f core conftest.err conftest.$ac_objext \
28323 + conftest$ac_exeext conftest.$ac_ext
28324 + fi
28325 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_freetds" >&5
28326 +-echo "${ECHO_T}$ncbi_cv_lib_freetds" >&6
28327 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_freetds" >&5
28328 ++echo "${ECHO_T}$ncbi_cv_lib_freetds" >&6; }
28329 + if test "$ncbi_cv_lib_freetds" = "no"; then
28330 + # Don't panic when using partial trees lacking dbapi/driver/ftdsN.
28331 + if test "${with_ftds:=no}" != no; then
28332 +@@ -23548,8 +27104,8 @@
28333 + : ${MYSQL_BINPATH=$MYSQL_PATH/bin}
28334 + # Extract the first word of "mysql_config", so it can be a program name with args.
28335 + set dummy mysql_config; ac_word=$2
28336 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
28337 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28338 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
28339 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28340 + if test "${ac_cv_path_mysql_config+set}" = set; then
28341 + echo $ECHO_N "(cached) $ECHO_C" >&6
28342 + else
28343 +@@ -23565,40 +27121,41 @@
28344 + IFS=$as_save_IFS
28345 + test -z "$as_dir" && as_dir=.
28346 + for ac_exec_ext in '' $ac_executable_extensions; do
28347 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28348 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
28349 + ac_cv_path_mysql_config="$as_dir/$ac_word$ac_exec_ext"
28350 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28351 + break 2
28352 + fi
28353 + done
28354 + done
28355 ++IFS=$as_save_IFS
28356 +
28357 + ;;
28358 + esac
28359 + fi
28360 + mysql_config=$ac_cv_path_mysql_config
28361 +-
28362 + if test -n "$mysql_config"; then
28363 +- echo "$as_me:$LINENO: result: $mysql_config" >&5
28364 +-echo "${ECHO_T}$mysql_config" >&6
28365 ++ { echo "$as_me:$LINENO: result: $mysql_config" >&5
28366 ++echo "${ECHO_T}$mysql_config" >&6; }
28367 + else
28368 +- echo "$as_me:$LINENO: result: no" >&5
28369 +-echo "${ECHO_T}no" >&6
28370 ++ { echo "$as_me:$LINENO: result: no" >&5
28371 ++echo "${ECHO_T}no" >&6; }
28372 + fi
28373 +
28374 ++
28375 + if test -n "$mysql_config" ; then
28376 + : ${MYSQL_BINPATH=`dirname $mysql_config`}
28377 + # Kill off single quotes, due to later requoting
28378 + : ${MYSQL_INCLUDE=`$mysql_config --include | tr -d \'`}
28379 + if test -z "${MYSQL_LIBS+set}"; then
28380 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
28381 +- MYSQL_LIBS=`$mysql_config --libs${mt_sfx:+_r} | sed -e "s/'//g; "`
28382 ++ MYSQL_LIBS=`$mysql_config --libs${mt_sfx:+_r} | sed -e "s/'//g; $no_usr_lib"`
28383 + else
28384 + MYSQL_LIBS=
28385 + ncbi_rp_L_sep=
28386 + ncbi_rp_R_flags=
28387 + ncbi_rp_R_sep=" $CONF_f_runpath"
28388 +- for x in `$mysql_config --libs${mt_sfx:+_r} | sed -e "s/'//g; "`; do
28389 ++ for x in `$mysql_config --libs${mt_sfx:+_r} | sed -e "s/'//g; $no_usr_lib"`; do
28390 + case "$x" in
28391 + -L*)
28392 + MYSQL_LIBS="$MYSQL_LIBS${ncbi_rp_L_sep}$x"
28393 +@@ -23617,8 +27174,8 @@
28394 + MYSQL_LIBS="$MYSQL_LIBS${ncbi_rp_R_flags}"
28395 + fi
28396 + fi
28397 +- echo "$as_me:$LINENO: checking whether MySQL works" >&5
28398 +-echo $ECHO_N "checking whether MySQL works... $ECHO_C" >&6
28399 ++ { echo "$as_me:$LINENO: checking whether MySQL works" >&5
28400 ++echo $ECHO_N "checking whether MySQL works... $ECHO_C" >&6; }
28401 + if test "${ncbi_cv_lib_mysql+set}" = set; then
28402 + echo $ECHO_N "(cached) $ECHO_C" >&6
28403 + else
28404 +@@ -23640,24 +27197,36 @@
28405 + }
28406 + _ACEOF
28407 + rm -f conftest.$ac_objext conftest$ac_exeext
28408 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28409 +- (eval $ac_link) 2>conftest.er1
28410 ++if { (ac_try="$ac_link"
28411 ++case "(($ac_try" in
28412 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28413 ++ *) ac_try_echo=$ac_try;;
28414 ++esac
28415 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28416 ++ (eval "$ac_link") 2>conftest.er1
28417 + ac_status=$?
28418 + grep -v '^ *+' conftest.er1 >conftest.err
28419 + rm -f conftest.er1
28420 + cat conftest.err >&5
28421 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28422 + (exit $ac_status); } &&
28423 +- { ac_try='test -z "$ac_cxx_werror_flag"
28424 +- || test ! -s conftest.err'
28425 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28426 +- (eval $ac_try) 2>&5
28427 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28428 ++ { (case "(($ac_try" in
28429 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28430 ++ *) ac_try_echo=$ac_try;;
28431 ++esac
28432 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28433 ++ (eval "$ac_try") 2>&5
28434 + ac_status=$?
28435 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28436 + (exit $ac_status); }; } &&
28437 + { ac_try='test -s conftest$ac_exeext'
28438 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28439 +- (eval $ac_try) 2>&5
28440 ++ { (case "(($ac_try" in
28441 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28442 ++ *) ac_try_echo=$ac_try;;
28443 ++esac
28444 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28445 ++ (eval "$ac_try") 2>&5
28446 + ac_status=$?
28447 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28448 + (exit $ac_status); }; }; then
28449 +@@ -23668,11 +27237,12 @@
28450 +
28451 + ncbi_cv_lib_mysql=no
28452 + fi
28453 +-rm -f conftest.err conftest.$ac_objext \
28454 ++
28455 ++rm -f core conftest.err conftest.$ac_objext \
28456 + conftest$ac_exeext conftest.$ac_ext
28457 + fi
28458 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_mysql" >&5
28459 +-echo "${ECHO_T}$ncbi_cv_lib_mysql" >&6
28460 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_mysql" >&5
28461 ++echo "${ECHO_T}$ncbi_cv_lib_mysql" >&6; }
28462 + if test "$ncbi_cv_lib_mysql" = no; then
28463 + if test "${with_mysql:=no}" != no; then
28464 + { { echo "$as_me:$LINENO: error: --with-mysql explicitly specified, but no usable version found." >&5
28465 +@@ -23706,7 +27276,6 @@
28466 + if test "$with_bdb" != "no" ; then
28467 + case "$with_bdb" in
28468 + yes | "" )
28469 +- : ${BERKELEYDB_PATH:="$NCBI/BerkeleyDB"}
28470 + ;;
28471 + */*)
28472 + BERKELEYDB_PATH=$with_bdb
28473 +@@ -23794,8 +27363,8 @@
28474 + else
28475 + BERKELEYDB_STATIC_LIBS=${BERKELEYDB_LIBS}
28476 + fi
28477 +- echo "$as_me:$LINENO: checking for Berkeley DB libraries in $BERKELEYDB_PATH" >&5
28478 +-echo $ECHO_N "checking for Berkeley DB libraries in $BERKELEYDB_PATH... $ECHO_C" >&6
28479 ++ { echo "$as_me:$LINENO: checking for Berkeley DB libraries${BERKELEYDB_PATH:+ in $BERKELEYDB_PATH}" >&5
28480 ++echo $ECHO_N "checking for Berkeley DB libraries${BERKELEYDB_PATH:+ in $BERKELEYDB_PATH}... $ECHO_C" >&6; }
28481 + if test "${ncbi_cv_lib_berkeley_db+set}" = set; then
28482 + echo $ECHO_N "(cached) $ECHO_C" >&6
28483 + else
28484 +@@ -23817,24 +27386,36 @@
28485 + }
28486 + _ACEOF
28487 + rm -f conftest.$ac_objext conftest$ac_exeext
28488 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28489 +- (eval $ac_link) 2>conftest.er1
28490 ++if { (ac_try="$ac_link"
28491 ++case "(($ac_try" in
28492 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28493 ++ *) ac_try_echo=$ac_try;;
28494 ++esac
28495 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28496 ++ (eval "$ac_link") 2>conftest.er1
28497 + ac_status=$?
28498 + grep -v '^ *+' conftest.er1 >conftest.err
28499 + rm -f conftest.er1
28500 + cat conftest.err >&5
28501 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28502 + (exit $ac_status); } &&
28503 +- { ac_try='test -z "$ac_cxx_werror_flag"
28504 +- || test ! -s conftest.err'
28505 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28506 +- (eval $ac_try) 2>&5
28507 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28508 ++ { (case "(($ac_try" in
28509 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28510 ++ *) ac_try_echo=$ac_try;;
28511 ++esac
28512 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28513 ++ (eval "$ac_try") 2>&5
28514 + ac_status=$?
28515 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28516 + (exit $ac_status); }; } &&
28517 + { ac_try='test -s conftest$ac_exeext'
28518 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28519 +- (eval $ac_try) 2>&5
28520 ++ { (case "(($ac_try" in
28521 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28522 ++ *) ac_try_echo=$ac_try;;
28523 ++esac
28524 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28525 ++ (eval "$ac_try") 2>&5
28526 + ac_status=$?
28527 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28528 + (exit $ac_status); }; }; then
28529 +@@ -23845,11 +27426,12 @@
28530 +
28531 + ncbi_cv_lib_berkeley_db=no
28532 + fi
28533 +-rm -f conftest.err conftest.$ac_objext \
28534 ++
28535 ++rm -f core conftest.err conftest.$ac_objext \
28536 + conftest$ac_exeext conftest.$ac_ext
28537 + fi
28538 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_berkeley_db" >&5
28539 +-echo "${ECHO_T}$ncbi_cv_lib_berkeley_db" >&6
28540 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_berkeley_db" >&5
28541 ++echo "${ECHO_T}$ncbi_cv_lib_berkeley_db" >&6; }
28542 + if test "$ncbi_cv_lib_berkeley_db" = "no"; then
28543 + if test "${with_bdb:=no}" != no; then
28544 + { { echo "$as_me:$LINENO: error: --with-bdb explicitly specified, but no usable version found." >&5
28545 +@@ -23857,8 +27439,8 @@
28546 + { (exit 1); exit 1; }; }
28547 + fi
28548 + else
28549 +- echo "$as_me:$LINENO: checking Berkeley DB version (4.3 or newer required)" >&5
28550 +-echo $ECHO_N "checking Berkeley DB version (4.3 or newer required)... $ECHO_C" >&6
28551 ++ { echo "$as_me:$LINENO: checking Berkeley DB version (4.3 or newer required)" >&5
28552 ++echo $ECHO_N "checking Berkeley DB version (4.3 or newer required)... $ECHO_C" >&6; }
28553 + if test "${ncbi_cv_lib_berkeley_db_version+set}" = set; then
28554 + echo $ECHO_N "(cached) $ECHO_C" >&6
28555 + else
28556 +@@ -23880,8 +27462,8 @@
28557 + rm -f contest*
28558 +
28559 + fi
28560 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_berkeley_db_version" >&5
28561 +-echo "${ECHO_T}$ncbi_cv_lib_berkeley_db_version" >&6
28562 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_berkeley_db_version" >&5
28563 ++echo "${ECHO_T}$ncbi_cv_lib_berkeley_db_version" >&6; }
28564 + case "$ncbi_cv_lib_berkeley_db_version" in
28565 + 1.* | 2.* | 3.* | 4.[0-2].* )
28566 + { echo "$as_me:$LINENO: WARNING: Your Berkeley DB version is too old to use. (Needed >= 4.3.)" >&5
28567 +@@ -23948,8 +27530,8 @@
28568 + else
28569 + BERKELEYDB_CXX_STATIC_LIBS=${BERKELEYDB_CXX_LIBS}
28570 + fi
28571 +- echo "$as_me:$LINENO: checking for native Berkeley DB C++ wrappers (optional)" >&5
28572 +-echo $ECHO_N "checking for native Berkeley DB C++ wrappers (optional)... $ECHO_C" >&6
28573 ++ { echo "$as_me:$LINENO: checking for native Berkeley DB C++ wrappers (optional)" >&5
28574 ++echo $ECHO_N "checking for native Berkeley DB C++ wrappers (optional)... $ECHO_C" >&6; }
28575 + if test "${ncbi_cv_lib_berkeley_db_cxx+set}" = set; then
28576 + echo $ECHO_N "(cached) $ECHO_C" >&6
28577 + else
28578 +@@ -23971,24 +27553,36 @@
28579 + }
28580 + _ACEOF
28581 + rm -f conftest.$ac_objext conftest$ac_exeext
28582 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28583 +- (eval $ac_link) 2>conftest.er1
28584 ++if { (ac_try="$ac_link"
28585 ++case "(($ac_try" in
28586 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28587 ++ *) ac_try_echo=$ac_try;;
28588 ++esac
28589 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28590 ++ (eval "$ac_link") 2>conftest.er1
28591 + ac_status=$?
28592 + grep -v '^ *+' conftest.er1 >conftest.err
28593 + rm -f conftest.er1
28594 + cat conftest.err >&5
28595 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28596 + (exit $ac_status); } &&
28597 +- { ac_try='test -z "$ac_cxx_werror_flag"
28598 +- || test ! -s conftest.err'
28599 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28600 +- (eval $ac_try) 2>&5
28601 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28602 ++ { (case "(($ac_try" in
28603 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28604 ++ *) ac_try_echo=$ac_try;;
28605 ++esac
28606 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28607 ++ (eval "$ac_try") 2>&5
28608 + ac_status=$?
28609 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28610 + (exit $ac_status); }; } &&
28611 + { ac_try='test -s conftest$ac_exeext'
28612 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28613 +- (eval $ac_try) 2>&5
28614 ++ { (case "(($ac_try" in
28615 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28616 ++ *) ac_try_echo=$ac_try;;
28617 ++esac
28618 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28619 ++ (eval "$ac_try") 2>&5
28620 + ac_status=$?
28621 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28622 + (exit $ac_status); }; }; then
28623 +@@ -23999,11 +27593,12 @@
28624 +
28625 + ncbi_cv_lib_berkeley_db_cxx=no
28626 + fi
28627 +-rm -f conftest.err conftest.$ac_objext \
28628 ++
28629 ++rm -f core conftest.err conftest.$ac_objext \
28630 + conftest$ac_exeext conftest.$ac_ext
28631 + fi
28632 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_berkeley_db_cxx" >&5
28633 +-echo "${ECHO_T}$ncbi_cv_lib_berkeley_db_cxx" >&6
28634 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_berkeley_db_cxx" >&5
28635 ++echo "${ECHO_T}$ncbi_cv_lib_berkeley_db_cxx" >&6; }
28636 + if test "$ncbi_cv_lib_berkeley_db_cxx" = "yes"; then
28637 + WithPackages="$WithPackages${WithPackagesSep}BerkeleyDB++"; WithPackagesSep=" "
28638 +
28639 +@@ -24052,8 +27647,8 @@
28640 + fi
28641 + CPPFLAGS="$ODBC_INCLUDE $orig_CPPFLAGS"
28642 + LIBS="$ODBC_LIBS $orig_LIBS"
28643 +- echo "$as_me:$LINENO: checking for ODBC libraries in $ODBC_PATH" >&5
28644 +-echo $ECHO_N "checking for ODBC libraries in $ODBC_PATH... $ECHO_C" >&6
28645 ++ { echo "$as_me:$LINENO: checking for ODBC libraries${ODBC_PATH:+ in $ODBC_PATH}" >&5
28646 ++echo $ECHO_N "checking for ODBC libraries${ODBC_PATH:+ in $ODBC_PATH}... $ECHO_C" >&6; }
28647 + if test "${ncbi_cv_lib_odbc+set}" = set; then
28648 + echo $ECHO_N "(cached) $ECHO_C" >&6
28649 + else
28650 +@@ -24074,24 +27669,36 @@
28651 + }
28652 + _ACEOF
28653 + rm -f conftest.$ac_objext conftest$ac_exeext
28654 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28655 +- (eval $ac_link) 2>conftest.er1
28656 ++if { (ac_try="$ac_link"
28657 ++case "(($ac_try" in
28658 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28659 ++ *) ac_try_echo=$ac_try;;
28660 ++esac
28661 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28662 ++ (eval "$ac_link") 2>conftest.er1
28663 + ac_status=$?
28664 + grep -v '^ *+' conftest.er1 >conftest.err
28665 + rm -f conftest.er1
28666 + cat conftest.err >&5
28667 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28668 + (exit $ac_status); } &&
28669 +- { ac_try='test -z "$ac_cxx_werror_flag"
28670 +- || test ! -s conftest.err'
28671 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28672 +- (eval $ac_try) 2>&5
28673 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28674 ++ { (case "(($ac_try" in
28675 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28676 ++ *) ac_try_echo=$ac_try;;
28677 ++esac
28678 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28679 ++ (eval "$ac_try") 2>&5
28680 + ac_status=$?
28681 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682 + (exit $ac_status); }; } &&
28683 + { ac_try='test -s conftest$ac_exeext'
28684 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28685 +- (eval $ac_try) 2>&5
28686 ++ { (case "(($ac_try" in
28687 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28688 ++ *) ac_try_echo=$ac_try;;
28689 ++esac
28690 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28691 ++ (eval "$ac_try") 2>&5
28692 + ac_status=$?
28693 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28694 + (exit $ac_status); }; }; then
28695 +@@ -24102,11 +27709,12 @@
28696 +
28697 + ncbi_cv_lib_odbc=no
28698 + fi
28699 +-rm -f conftest.err conftest.$ac_objext \
28700 ++
28701 ++rm -f core conftest.err conftest.$ac_objext \
28702 + conftest$ac_exeext conftest.$ac_ext
28703 + fi
28704 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_odbc" >&5
28705 +-echo "${ECHO_T}$ncbi_cv_lib_odbc" >&6
28706 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_odbc" >&5
28707 ++echo "${ECHO_T}$ncbi_cv_lib_odbc" >&6; }
28708 + if test "$ncbi_cv_lib_odbc" = "no"; then
28709 + if test "${with_odbc:=no}" != no; then
28710 + { { echo "$as_me:$LINENO: error: --with-odbc explicitly specified, but no usable version found." >&5
28711 +@@ -24119,9 +27727,9 @@
28712 + for ac_header in odbcss.h
28713 + do
28714 + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28715 +-echo "$as_me:$LINENO: checking for $ac_header" >&5
28716 +-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28717 +-if eval "test \"\${$as_ac_Header+set}\" = set"; then
28718 ++{ echo "$as_me:$LINENO: checking for $ac_header" >&5
28719 ++echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28720 ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28721 + echo $ECHO_N "(cached) $ECHO_C" >&6
28722 + else
28723 + cat >conftest.$ac_ext <<_ACEOF
28724 +@@ -24135,24 +27743,36 @@
28725 + #include <$ac_header>
28726 + _ACEOF
28727 + rm -f conftest.$ac_objext
28728 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28729 +- (eval $ac_compile) 2>conftest.er1
28730 ++if { (ac_try="$ac_compile"
28731 ++case "(($ac_try" in
28732 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28733 ++ *) ac_try_echo=$ac_try;;
28734 ++esac
28735 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28736 ++ (eval "$ac_compile") 2>conftest.er1
28737 + ac_status=$?
28738 + grep -v '^ *+' conftest.er1 >conftest.err
28739 + rm -f conftest.er1
28740 + cat conftest.err >&5
28741 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28742 + (exit $ac_status); } &&
28743 +- { ac_try='test -z "$ac_cxx_werror_flag"
28744 +- || test ! -s conftest.err'
28745 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28746 +- (eval $ac_try) 2>&5
28747 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28748 ++ { (case "(($ac_try" in
28749 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28750 ++ *) ac_try_echo=$ac_try;;
28751 ++esac
28752 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28753 ++ (eval "$ac_try") 2>&5
28754 + ac_status=$?
28755 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28756 + (exit $ac_status); }; } &&
28757 + { ac_try='test -s conftest.$ac_objext'
28758 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28759 +- (eval $ac_try) 2>&5
28760 ++ { (case "(($ac_try" in
28761 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28762 ++ *) ac_try_echo=$ac_try;;
28763 ++esac
28764 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28765 ++ (eval "$ac_try") 2>&5
28766 + ac_status=$?
28767 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28768 + (exit $ac_status); }; }; then
28769 +@@ -24163,10 +27783,12 @@
28770 +
28771 + eval "$as_ac_Header=no"
28772 + fi
28773 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28774 ++
28775 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28776 + fi
28777 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28778 +-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28779 ++ac_res=`eval echo '${'$as_ac_Header'}'`
28780 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
28781 ++echo "${ECHO_T}$ac_res" >&6; }
28782 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
28783 + cat >>confdefs.h <<_ACEOF
28784 + #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28785 +@@ -24181,9 +27803,9 @@
28786 + for ac_func in SQLGetPrivateProfileString
28787 + do
28788 + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28789 +-echo "$as_me:$LINENO: checking for $ac_func" >&5
28790 +-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28791 +-if eval "test \"\${$as_ac_var+set}\" = set"; then
28792 ++{ echo "$as_me:$LINENO: checking for $ac_func" >&5
28793 ++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28794 ++if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28795 + echo $ECHO_N "(cached) $ECHO_C" >&6
28796 + else
28797 + cat >conftest.$ac_ext <<_ACEOF
28798 +@@ -24209,53 +27831,59 @@
28799 +
28800 + #undef $ac_func
28801 +
28802 +-/* Override any gcc2 internal prototype to avoid an error. */
28803 ++/* Override any GCC internal prototype to avoid an error.
28804 ++ Use char because int might match the return type of a GCC
28805 ++ builtin and then its argument prototype would still apply. */
28806 + #ifdef __cplusplus
28807 + extern "C"
28808 +-{
28809 + #endif
28810 +-/* We use char because int might match the return type of a gcc2
28811 +- builtin and then its argument prototype would still apply. */
28812 + char $ac_func ();
28813 + /* The GNU C library defines this for functions which it implements
28814 + to always fail with ENOSYS. Some functions are actually named
28815 + something starting with __ and the normal name is an alias. */
28816 +-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28817 ++#if defined __stub_$ac_func || defined __stub___$ac_func
28818 + choke me
28819 +-#else
28820 +-char (*f) () = $ac_func;
28821 +-#endif
28822 +-#ifdef __cplusplus
28823 +-}
28824 + #endif
28825 +
28826 + int
28827 + main ()
28828 + {
28829 +-return f != $ac_func;
28830 ++return $ac_func ();
28831 + ;
28832 + return 0;
28833 + }
28834 + _ACEOF
28835 + rm -f conftest.$ac_objext conftest$ac_exeext
28836 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28837 +- (eval $ac_link) 2>conftest.er1
28838 ++if { (ac_try="$ac_link"
28839 ++case "(($ac_try" in
28840 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28841 ++ *) ac_try_echo=$ac_try;;
28842 ++esac
28843 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28844 ++ (eval "$ac_link") 2>conftest.er1
28845 + ac_status=$?
28846 + grep -v '^ *+' conftest.er1 >conftest.err
28847 + rm -f conftest.er1
28848 + cat conftest.err >&5
28849 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28850 + (exit $ac_status); } &&
28851 +- { ac_try='test -z "$ac_cxx_werror_flag"
28852 +- || test ! -s conftest.err'
28853 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28854 +- (eval $ac_try) 2>&5
28855 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28856 ++ { (case "(($ac_try" in
28857 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28858 ++ *) ac_try_echo=$ac_try;;
28859 ++esac
28860 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28861 ++ (eval "$ac_try") 2>&5
28862 + ac_status=$?
28863 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864 + (exit $ac_status); }; } &&
28865 + { ac_try='test -s conftest$ac_exeext'
28866 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28867 +- (eval $ac_try) 2>&5
28868 ++ { (case "(($ac_try" in
28869 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28870 ++ *) ac_try_echo=$ac_try;;
28871 ++esac
28872 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28873 ++ (eval "$ac_try") 2>&5
28874 + ac_status=$?
28875 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28876 + (exit $ac_status); }; }; then
28877 +@@ -24266,11 +27894,13 @@
28878 +
28879 + eval "$as_ac_var=no"
28880 + fi
28881 +-rm -f conftest.err conftest.$ac_objext \
28882 ++
28883 ++rm -f core conftest.err conftest.$ac_objext \
28884 + conftest$ac_exeext conftest.$ac_ext
28885 + fi
28886 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28887 +-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28888 ++ac_res=`eval echo '${'$as_ac_var'}'`
28889 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
28890 ++echo "${ECHO_T}$ac_res" >&6; }
28891 + if test `eval echo '${'$as_ac_var'}'` = yes; then
28892 + cat >>confdefs.h <<_ACEOF
28893 + #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28894 +@@ -24279,8 +27909,8 @@
28895 + fi
28896 + done
28897 +
28898 +- echo "$as_me:$LINENO: checking for SQLLEN" >&5
28899 +-echo $ECHO_N "checking for SQLLEN... $ECHO_C" >&6
28900 ++ { echo "$as_me:$LINENO: checking for SQLLEN" >&5
28901 ++echo $ECHO_N "checking for SQLLEN... $ECHO_C" >&6; }
28902 + if test "${ac_cv_type_SQLLEN+set}" = set; then
28903 + echo $ECHO_N "(cached) $ECHO_C" >&6
28904 + else
28905 +@@ -24292,36 +27922,49 @@
28906 + /* end confdefs.h. */
28907 + #include <sqltypes.h>
28908 +
28909 ++typedef SQLLEN ac__type_new_;
28910 + int
28911 + main ()
28912 + {
28913 +-if ((SQLLEN *) 0)
28914 ++if ((ac__type_new_ *) 0)
28915 + return 0;
28916 +-if (sizeof (SQLLEN))
28917 ++if (sizeof (ac__type_new_))
28918 + return 0;
28919 + ;
28920 + return 0;
28921 + }
28922 + _ACEOF
28923 + rm -f conftest.$ac_objext
28924 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28925 +- (eval $ac_compile) 2>conftest.er1
28926 ++if { (ac_try="$ac_compile"
28927 ++case "(($ac_try" in
28928 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28929 ++ *) ac_try_echo=$ac_try;;
28930 ++esac
28931 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28932 ++ (eval "$ac_compile") 2>conftest.er1
28933 + ac_status=$?
28934 + grep -v '^ *+' conftest.er1 >conftest.err
28935 + rm -f conftest.er1
28936 + cat conftest.err >&5
28937 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28938 + (exit $ac_status); } &&
28939 +- { ac_try='test -z "$ac_cxx_werror_flag"
28940 +- || test ! -s conftest.err'
28941 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28942 +- (eval $ac_try) 2>&5
28943 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28944 ++ { (case "(($ac_try" in
28945 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28946 ++ *) ac_try_echo=$ac_try;;
28947 ++esac
28948 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28949 ++ (eval "$ac_try") 2>&5
28950 + ac_status=$?
28951 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28952 + (exit $ac_status); }; } &&
28953 + { ac_try='test -s conftest.$ac_objext'
28954 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28955 +- (eval $ac_try) 2>&5
28956 ++ { (case "(($ac_try" in
28957 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28958 ++ *) ac_try_echo=$ac_try;;
28959 ++esac
28960 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28961 ++ (eval "$ac_try") 2>&5
28962 + ac_status=$?
28963 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28964 + (exit $ac_status); }; }; then
28965 +@@ -24332,10 +27975,11 @@
28966 +
28967 + ac_cv_type_SQLLEN=no
28968 + fi
28969 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28970 ++
28971 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28972 + fi
28973 +-echo "$as_me:$LINENO: result: $ac_cv_type_SQLLEN" >&5
28974 +-echo "${ECHO_T}$ac_cv_type_SQLLEN" >&6
28975 ++{ echo "$as_me:$LINENO: result: $ac_cv_type_SQLLEN" >&5
28976 ++echo "${ECHO_T}$ac_cv_type_SQLLEN" >&6; }
28977 + if test $ac_cv_type_SQLLEN = yes; then
28978 +
28979 + cat >>confdefs.h <<_ACEOF
28980 +@@ -24346,8 +27990,8 @@
28981 + fi
28982 +
28983 +
28984 +- echo "$as_me:$LINENO: checking whether SQLColAttribute's last argument is an SQLLEN *" >&5
28985 +-echo $ECHO_N "checking whether SQLColAttribute's last argument is an SQLLEN *... $ECHO_C" >&6
28986 ++ { echo "$as_me:$LINENO: checking whether SQLColAttribute's last argument is an SQLLEN *" >&5
28987 ++echo $ECHO_N "checking whether SQLColAttribute's last argument is an SQLLEN *... $ECHO_C" >&6; }
28988 + if test "${ncbi_cv_func_sqlcolattribute_sqllen+set}" = set; then
28989 + echo $ECHO_N "(cached) $ECHO_C" >&6
28990 + else
28991 +@@ -24370,24 +28014,36 @@
28992 + }
28993 + _ACEOF
28994 + rm -f conftest.$ac_objext
28995 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28996 +- (eval $ac_compile) 2>conftest.er1
28997 ++if { (ac_try="$ac_compile"
28998 ++case "(($ac_try" in
28999 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29000 ++ *) ac_try_echo=$ac_try;;
29001 ++esac
29002 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29003 ++ (eval "$ac_compile") 2>conftest.er1
29004 + ac_status=$?
29005 + grep -v '^ *+' conftest.er1 >conftest.err
29006 + rm -f conftest.er1
29007 + cat conftest.err >&5
29008 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29009 + (exit $ac_status); } &&
29010 +- { ac_try='test -z "$ac_cxx_werror_flag"
29011 +- || test ! -s conftest.err'
29012 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29013 +- (eval $ac_try) 2>&5
29014 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29015 ++ { (case "(($ac_try" in
29016 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29017 ++ *) ac_try_echo=$ac_try;;
29018 ++esac
29019 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29020 ++ (eval "$ac_try") 2>&5
29021 + ac_status=$?
29022 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29023 + (exit $ac_status); }; } &&
29024 + { ac_try='test -s conftest.$ac_objext'
29025 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29026 +- (eval $ac_try) 2>&5
29027 ++ { (case "(($ac_try" in
29028 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29029 ++ *) ac_try_echo=$ac_try;;
29030 ++esac
29031 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29032 ++ (eval "$ac_try") 2>&5
29033 + ac_status=$?
29034 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29035 + (exit $ac_status); }; }; then
29036 +@@ -24398,10 +28054,11 @@
29037 +
29038 + ncbi_cv_func_sqlcolattribute_sqllen=no
29039 + fi
29040 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29041 ++
29042 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29043 + fi
29044 +-echo "$as_me:$LINENO: result: $ncbi_cv_func_sqlcolattribute_sqllen" >&5
29045 +-echo "${ECHO_T}$ncbi_cv_func_sqlcolattribute_sqllen" >&6
29046 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_func_sqlcolattribute_sqllen" >&5
29047 ++echo "${ECHO_T}$ncbi_cv_func_sqlcolattribute_sqllen" >&6; }
29048 + if test $ncbi_cv_func_sqlcolattribute_sqllen = yes; then
29049 +
29050 + cat >>confdefs.h <<\_ACEOF
29051 +@@ -24442,8 +28099,8 @@
29052 + esac
29053 + # Extract the first word of "python", so it can be a program name with args.
29054 + set dummy python; ac_word=$2
29055 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
29056 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29057 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29058 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29059 + if test "${ac_cv_path_PYTHON+set}" = set; then
29060 + echo $ECHO_N "(cached) $ECHO_C" >&6
29061 + else
29062 +@@ -24459,27 +28116,28 @@
29063 + IFS=$as_save_IFS
29064 + test -z "$as_dir" && as_dir=.
29065 + for ac_exec_ext in '' $ac_executable_extensions; do
29066 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29067 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
29068 + ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
29069 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29070 + break 2
29071 + fi
29072 + done
29073 + done
29074 ++IFS=$as_save_IFS
29075 +
29076 + ;;
29077 + esac
29078 + fi
29079 + PYTHON=$ac_cv_path_PYTHON
29080 +-
29081 + if test -n "$PYTHON"; then
29082 +- echo "$as_me:$LINENO: result: $PYTHON" >&5
29083 +-echo "${ECHO_T}$PYTHON" >&6
29084 ++ { echo "$as_me:$LINENO: result: $PYTHON" >&5
29085 ++echo "${ECHO_T}$PYTHON" >&6; }
29086 + else
29087 +- echo "$as_me:$LINENO: result: no" >&5
29088 +-echo "${ECHO_T}no" >&6
29089 ++ { echo "$as_me:$LINENO: result: no" >&5
29090 ++echo "${ECHO_T}no" >&6; }
29091 + fi
29092 +
29093 ++
29094 + if test -x "$PYTHON"; then
29095 + PYTHON_VERSION=`$PYTHON -c 'from distutils import sysconfig; print sysconfig.get_config_var("VERSION")' 2>/dev/null`
29096 + else
29097 +@@ -24512,8 +28170,8 @@
29098 + fi
29099 + CPPFLAGS="$PYTHON_INCLUDE $orig_CPPFLAGS"
29100 + LIBS="$PYTHON_LIBS $orig_LIBS"
29101 +- echo "$as_me:$LINENO: checking for usable Python $PYTHON_VERSION libraries" >&5
29102 +-echo $ECHO_N "checking for usable Python $PYTHON_VERSION libraries... $ECHO_C" >&6
29103 ++ { echo "$as_me:$LINENO: checking for usable Python $PYTHON_VERSION libraries" >&5
29104 ++echo $ECHO_N "checking for usable Python $PYTHON_VERSION libraries... $ECHO_C" >&6; }
29105 + if test "${ncbi_cv_lib_python+set}" = set; then
29106 + echo $ECHO_N "(cached) $ECHO_C" >&6
29107 + else
29108 +@@ -24540,24 +28198,36 @@
29109 + }
29110 + _ACEOF
29111 + rm -f conftest.$ac_objext conftest$ac_exeext
29112 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29113 +- (eval $ac_link) 2>conftest.er1
29114 ++if { (ac_try="$ac_link"
29115 ++case "(($ac_try" in
29116 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29117 ++ *) ac_try_echo=$ac_try;;
29118 ++esac
29119 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29120 ++ (eval "$ac_link") 2>conftest.er1
29121 + ac_status=$?
29122 + grep -v '^ *+' conftest.er1 >conftest.err
29123 + rm -f conftest.er1
29124 + cat conftest.err >&5
29125 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29126 + (exit $ac_status); } &&
29127 +- { ac_try='test -z "$ac_cxx_werror_flag"
29128 +- || test ! -s conftest.err'
29129 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29130 +- (eval $ac_try) 2>&5
29131 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29132 ++ { (case "(($ac_try" in
29133 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29134 ++ *) ac_try_echo=$ac_try;;
29135 ++esac
29136 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29137 ++ (eval "$ac_try") 2>&5
29138 + ac_status=$?
29139 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29140 + (exit $ac_status); }; } &&
29141 + { ac_try='test -s conftest$ac_exeext'
29142 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29143 +- (eval $ac_try) 2>&5
29144 ++ { (case "(($ac_try" in
29145 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29146 ++ *) ac_try_echo=$ac_try;;
29147 ++esac
29148 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29149 ++ (eval "$ac_try") 2>&5
29150 + ac_status=$?
29151 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29152 + (exit $ac_status); }; }; then
29153 +@@ -24568,11 +28238,12 @@
29154 +
29155 + ncbi_cv_lib_python=no
29156 + fi
29157 +-rm -f conftest.err conftest.$ac_objext \
29158 ++
29159 ++rm -f core conftest.err conftest.$ac_objext \
29160 + conftest$ac_exeext conftest.$ac_ext
29161 + fi
29162 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_python" >&5
29163 +-echo "${ECHO_T}$ncbi_cv_lib_python" >&6
29164 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_python" >&5
29165 ++echo "${ECHO_T}$ncbi_cv_lib_python" >&6; }
29166 + else
29167 + ncbi_cv_lib_python=no
29168 + fi
29169 +@@ -24592,8 +28263,8 @@
29170 +
29171 + # Extract the first word of "python2.3", so it can be a program name with args.
29172 + set dummy python2.3; ac_word=$2
29173 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
29174 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29175 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29176 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29177 + if test "${ac_cv_path_PYTHON23+set}" = set; then
29178 + echo $ECHO_N "(cached) $ECHO_C" >&6
29179 + else
29180 +@@ -24609,27 +28280,28 @@
29181 + IFS=$as_save_IFS
29182 + test -z "$as_dir" && as_dir=.
29183 + for ac_exec_ext in '' $ac_executable_extensions; do
29184 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29185 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
29186 + ac_cv_path_PYTHON23="$as_dir/$ac_word$ac_exec_ext"
29187 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29188 + break 2
29189 + fi
29190 + done
29191 + done
29192 ++IFS=$as_save_IFS
29193 +
29194 + ;;
29195 + esac
29196 + fi
29197 + PYTHON23=$ac_cv_path_PYTHON23
29198 +-
29199 + if test -n "$PYTHON23"; then
29200 +- echo "$as_me:$LINENO: result: $PYTHON23" >&5
29201 +-echo "${ECHO_T}$PYTHON23" >&6
29202 ++ { echo "$as_me:$LINENO: result: $PYTHON23" >&5
29203 ++echo "${ECHO_T}$PYTHON23" >&6; }
29204 + else
29205 +- echo "$as_me:$LINENO: result: no" >&5
29206 +-echo "${ECHO_T}no" >&6
29207 ++ { echo "$as_me:$LINENO: result: no" >&5
29208 ++echo "${ECHO_T}no" >&6; }
29209 + fi
29210 +
29211 ++
29212 + if test -x "$PYTHON23"; then
29213 + PYTHON23_VERSION=`$PYTHON23 -c 'from distutils import sysconfig; print sysconfig.get_config_var("VERSION")' 2>/dev/null`
29214 + else
29215 +@@ -24662,8 +28334,8 @@
29216 + fi
29217 + CPPFLAGS="$PYTHON23_INCLUDE $orig_CPPFLAGS"
29218 + LIBS="$PYTHON23_LIBS $orig_LIBS"
29219 +- echo "$as_me:$LINENO: checking for usable Python $PYTHON23_VERSION libraries" >&5
29220 +-echo $ECHO_N "checking for usable Python $PYTHON23_VERSION libraries... $ECHO_C" >&6
29221 ++ { echo "$as_me:$LINENO: checking for usable Python $PYTHON23_VERSION libraries" >&5
29222 ++echo $ECHO_N "checking for usable Python $PYTHON23_VERSION libraries... $ECHO_C" >&6; }
29223 + if test "${ncbi_cv_lib_python23+set}" = set; then
29224 + echo $ECHO_N "(cached) $ECHO_C" >&6
29225 + else
29226 +@@ -24690,24 +28362,36 @@
29227 + }
29228 + _ACEOF
29229 + rm -f conftest.$ac_objext conftest$ac_exeext
29230 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29231 +- (eval $ac_link) 2>conftest.er1
29232 ++if { (ac_try="$ac_link"
29233 ++case "(($ac_try" in
29234 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29235 ++ *) ac_try_echo=$ac_try;;
29236 ++esac
29237 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29238 ++ (eval "$ac_link") 2>conftest.er1
29239 + ac_status=$?
29240 + grep -v '^ *+' conftest.er1 >conftest.err
29241 + rm -f conftest.er1
29242 + cat conftest.err >&5
29243 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29244 + (exit $ac_status); } &&
29245 +- { ac_try='test -z "$ac_cxx_werror_flag"
29246 +- || test ! -s conftest.err'
29247 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29248 +- (eval $ac_try) 2>&5
29249 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29250 ++ { (case "(($ac_try" in
29251 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29252 ++ *) ac_try_echo=$ac_try;;
29253 ++esac
29254 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29255 ++ (eval "$ac_try") 2>&5
29256 + ac_status=$?
29257 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29258 + (exit $ac_status); }; } &&
29259 + { ac_try='test -s conftest$ac_exeext'
29260 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29261 +- (eval $ac_try) 2>&5
29262 ++ { (case "(($ac_try" in
29263 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29264 ++ *) ac_try_echo=$ac_try;;
29265 ++esac
29266 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29267 ++ (eval "$ac_try") 2>&5
29268 + ac_status=$?
29269 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29270 + (exit $ac_status); }; }; then
29271 +@@ -24718,11 +28402,12 @@
29272 +
29273 + ncbi_cv_lib_python23=no
29274 + fi
29275 +-rm -f conftest.err conftest.$ac_objext \
29276 ++
29277 ++rm -f core conftest.err conftest.$ac_objext \
29278 + conftest$ac_exeext conftest.$ac_ext
29279 + fi
29280 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_python23" >&5
29281 +-echo "${ECHO_T}$ncbi_cv_lib_python23" >&6
29282 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_python23" >&5
29283 ++echo "${ECHO_T}$ncbi_cv_lib_python23" >&6; }
29284 + else
29285 + ncbi_cv_lib_python23=no
29286 + fi
29287 +@@ -24743,8 +28428,8 @@
29288 + : ${PYTHON_PATH:="/usr/local/python-2.4.4"}
29289 + # Extract the first word of "python2.4", so it can be a program name with args.
29290 + set dummy python2.4; ac_word=$2
29291 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
29292 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29293 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29294 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29295 + if test "${ac_cv_path_PYTHON24+set}" = set; then
29296 + echo $ECHO_N "(cached) $ECHO_C" >&6
29297 + else
29298 +@@ -24760,27 +28445,28 @@
29299 + IFS=$as_save_IFS
29300 + test -z "$as_dir" && as_dir=.
29301 + for ac_exec_ext in '' $ac_executable_extensions; do
29302 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29303 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
29304 + ac_cv_path_PYTHON24="$as_dir/$ac_word$ac_exec_ext"
29305 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29306 + break 2
29307 + fi
29308 + done
29309 + done
29310 ++IFS=$as_save_IFS
29311 +
29312 + ;;
29313 + esac
29314 + fi
29315 + PYTHON24=$ac_cv_path_PYTHON24
29316 +-
29317 + if test -n "$PYTHON24"; then
29318 +- echo "$as_me:$LINENO: result: $PYTHON24" >&5
29319 +-echo "${ECHO_T}$PYTHON24" >&6
29320 ++ { echo "$as_me:$LINENO: result: $PYTHON24" >&5
29321 ++echo "${ECHO_T}$PYTHON24" >&6; }
29322 + else
29323 +- echo "$as_me:$LINENO: result: no" >&5
29324 +-echo "${ECHO_T}no" >&6
29325 ++ { echo "$as_me:$LINENO: result: no" >&5
29326 ++echo "${ECHO_T}no" >&6; }
29327 + fi
29328 +
29329 ++
29330 + if test -x "$PYTHON24"; then
29331 + PYTHON24_VERSION=`$PYTHON24 -c 'from distutils import sysconfig; print sysconfig.get_config_var("VERSION")' 2>/dev/null`
29332 + else
29333 +@@ -24813,8 +28499,8 @@
29334 + fi
29335 + CPPFLAGS="$PYTHON24_INCLUDE $orig_CPPFLAGS"
29336 + LIBS="$PYTHON24_LIBS $orig_LIBS"
29337 +- echo "$as_me:$LINENO: checking for usable Python $PYTHON24_VERSION libraries" >&5
29338 +-echo $ECHO_N "checking for usable Python $PYTHON24_VERSION libraries... $ECHO_C" >&6
29339 ++ { echo "$as_me:$LINENO: checking for usable Python $PYTHON24_VERSION libraries" >&5
29340 ++echo $ECHO_N "checking for usable Python $PYTHON24_VERSION libraries... $ECHO_C" >&6; }
29341 + if test "${ncbi_cv_lib_python24+set}" = set; then
29342 + echo $ECHO_N "(cached) $ECHO_C" >&6
29343 + else
29344 +@@ -24841,24 +28527,36 @@
29345 + }
29346 + _ACEOF
29347 + rm -f conftest.$ac_objext conftest$ac_exeext
29348 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29349 +- (eval $ac_link) 2>conftest.er1
29350 ++if { (ac_try="$ac_link"
29351 ++case "(($ac_try" in
29352 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29353 ++ *) ac_try_echo=$ac_try;;
29354 ++esac
29355 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29356 ++ (eval "$ac_link") 2>conftest.er1
29357 + ac_status=$?
29358 + grep -v '^ *+' conftest.er1 >conftest.err
29359 + rm -f conftest.er1
29360 + cat conftest.err >&5
29361 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29362 + (exit $ac_status); } &&
29363 +- { ac_try='test -z "$ac_cxx_werror_flag"
29364 +- || test ! -s conftest.err'
29365 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29366 +- (eval $ac_try) 2>&5
29367 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29368 ++ { (case "(($ac_try" in
29369 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29370 ++ *) ac_try_echo=$ac_try;;
29371 ++esac
29372 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29373 ++ (eval "$ac_try") 2>&5
29374 + ac_status=$?
29375 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29376 + (exit $ac_status); }; } &&
29377 + { ac_try='test -s conftest$ac_exeext'
29378 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29379 +- (eval $ac_try) 2>&5
29380 ++ { (case "(($ac_try" in
29381 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29382 ++ *) ac_try_echo=$ac_try;;
29383 ++esac
29384 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29385 ++ (eval "$ac_try") 2>&5
29386 + ac_status=$?
29387 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29388 + (exit $ac_status); }; }; then
29389 +@@ -24869,11 +28567,12 @@
29390 +
29391 + ncbi_cv_lib_python24=no
29392 + fi
29393 +-rm -f conftest.err conftest.$ac_objext \
29394 ++
29395 ++rm -f core conftest.err conftest.$ac_objext \
29396 + conftest$ac_exeext conftest.$ac_ext
29397 + fi
29398 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_python24" >&5
29399 +-echo "${ECHO_T}$ncbi_cv_lib_python24" >&6
29400 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_python24" >&5
29401 ++echo "${ECHO_T}$ncbi_cv_lib_python24" >&6; }
29402 + else
29403 + ncbi_cv_lib_python24=no
29404 + fi
29405 +@@ -24893,8 +28592,8 @@
29406 +
29407 + # Extract the first word of "python2.5", so it can be a program name with args.
29408 + set dummy python2.5; ac_word=$2
29409 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
29410 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29411 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29412 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29413 + if test "${ac_cv_path_PYTHON25+set}" = set; then
29414 + echo $ECHO_N "(cached) $ECHO_C" >&6
29415 + else
29416 +@@ -24910,27 +28609,28 @@
29417 + IFS=$as_save_IFS
29418 + test -z "$as_dir" && as_dir=.
29419 + for ac_exec_ext in '' $ac_executable_extensions; do
29420 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29421 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
29422 + ac_cv_path_PYTHON25="$as_dir/$ac_word$ac_exec_ext"
29423 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29424 + break 2
29425 + fi
29426 + done
29427 + done
29428 ++IFS=$as_save_IFS
29429 +
29430 + ;;
29431 + esac
29432 + fi
29433 + PYTHON25=$ac_cv_path_PYTHON25
29434 +-
29435 + if test -n "$PYTHON25"; then
29436 +- echo "$as_me:$LINENO: result: $PYTHON25" >&5
29437 +-echo "${ECHO_T}$PYTHON25" >&6
29438 ++ { echo "$as_me:$LINENO: result: $PYTHON25" >&5
29439 ++echo "${ECHO_T}$PYTHON25" >&6; }
29440 + else
29441 +- echo "$as_me:$LINENO: result: no" >&5
29442 +-echo "${ECHO_T}no" >&6
29443 ++ { echo "$as_me:$LINENO: result: no" >&5
29444 ++echo "${ECHO_T}no" >&6; }
29445 + fi
29446 +
29447 ++
29448 + if test -x "$PYTHON25"; then
29449 + PYTHON25_VERSION=`$PYTHON25 -c 'from distutils import sysconfig; print sysconfig.get_config_var("VERSION")' 2>/dev/null`
29450 + else
29451 +@@ -24963,8 +28663,8 @@
29452 + fi
29453 + CPPFLAGS="$PYTHON25_INCLUDE $orig_CPPFLAGS"
29454 + LIBS="$PYTHON25_LIBS $orig_LIBS"
29455 +- echo "$as_me:$LINENO: checking for usable Python $PYTHON25_VERSION libraries" >&5
29456 +-echo $ECHO_N "checking for usable Python $PYTHON25_VERSION libraries... $ECHO_C" >&6
29457 ++ { echo "$as_me:$LINENO: checking for usable Python $PYTHON25_VERSION libraries" >&5
29458 ++echo $ECHO_N "checking for usable Python $PYTHON25_VERSION libraries... $ECHO_C" >&6; }
29459 + if test "${ncbi_cv_lib_python25+set}" = set; then
29460 + echo $ECHO_N "(cached) $ECHO_C" >&6
29461 + else
29462 +@@ -24991,24 +28691,36 @@
29463 + }
29464 + _ACEOF
29465 + rm -f conftest.$ac_objext conftest$ac_exeext
29466 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29467 +- (eval $ac_link) 2>conftest.er1
29468 ++if { (ac_try="$ac_link"
29469 ++case "(($ac_try" in
29470 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29471 ++ *) ac_try_echo=$ac_try;;
29472 ++esac
29473 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29474 ++ (eval "$ac_link") 2>conftest.er1
29475 + ac_status=$?
29476 + grep -v '^ *+' conftest.er1 >conftest.err
29477 + rm -f conftest.er1
29478 + cat conftest.err >&5
29479 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29480 + (exit $ac_status); } &&
29481 +- { ac_try='test -z "$ac_cxx_werror_flag"
29482 +- || test ! -s conftest.err'
29483 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29484 +- (eval $ac_try) 2>&5
29485 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29486 ++ { (case "(($ac_try" in
29487 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29488 ++ *) ac_try_echo=$ac_try;;
29489 ++esac
29490 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29491 ++ (eval "$ac_try") 2>&5
29492 + ac_status=$?
29493 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29494 + (exit $ac_status); }; } &&
29495 + { ac_try='test -s conftest$ac_exeext'
29496 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29497 +- (eval $ac_try) 2>&5
29498 ++ { (case "(($ac_try" in
29499 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29500 ++ *) ac_try_echo=$ac_try;;
29501 ++esac
29502 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29503 ++ (eval "$ac_try") 2>&5
29504 + ac_status=$?
29505 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29506 + (exit $ac_status); }; }; then
29507 +@@ -25019,11 +28731,12 @@
29508 +
29509 + ncbi_cv_lib_python25=no
29510 + fi
29511 +-rm -f conftest.err conftest.$ac_objext \
29512 ++
29513 ++rm -f core conftest.err conftest.$ac_objext \
29514 + conftest$ac_exeext conftest.$ac_ext
29515 + fi
29516 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_python25" >&5
29517 +-echo "${ECHO_T}$ncbi_cv_lib_python25" >&6
29518 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_python25" >&5
29519 ++echo "${ECHO_T}$ncbi_cv_lib_python25" >&6; }
29520 + else
29521 + ncbi_cv_lib_python25=no
29522 + fi
29523 +@@ -25078,8 +28791,8 @@
29524 + esac
29525 + # Extract the first word of "perl", so it can be a program name with args.
29526 + set dummy perl; ac_word=$2
29527 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
29528 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29529 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29530 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29531 + if test "${ac_cv_path_PERL+set}" = set; then
29532 + echo $ECHO_N "(cached) $ECHO_C" >&6
29533 + else
29534 +@@ -25095,30 +28808,31 @@
29535 + IFS=$as_save_IFS
29536 + test -z "$as_dir" && as_dir=.
29537 + for ac_exec_ext in '' $ac_executable_extensions; do
29538 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29539 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
29540 + ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
29541 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29542 + break 2
29543 + fi
29544 + done
29545 + done
29546 ++IFS=$as_save_IFS
29547 +
29548 + ;;
29549 + esac
29550 + fi
29551 + PERL=$ac_cv_path_PERL
29552 +-
29553 + if test -n "$PERL"; then
29554 +- echo "$as_me:$LINENO: result: $PERL" >&5
29555 +-echo "${ECHO_T}$PERL" >&6
29556 ++ { echo "$as_me:$LINENO: result: $PERL" >&5
29557 ++echo "${ECHO_T}$PERL" >&6; }
29558 + else
29559 +- echo "$as_me:$LINENO: result: no" >&5
29560 +-echo "${ECHO_T}no" >&6
29561 ++ { echo "$as_me:$LINENO: result: no" >&5
29562 ++echo "${ECHO_T}no" >&6; }
29563 + fi
29564 +
29565 ++
29566 + if test -x "$PERL"; then
29567 + PERL_ARCHLIB=`$PERL -MConfig -e 'print \$Config{archlibexp};'`
29568 +- PERL_FLAGS=`$PERL -MConfig -e 'print \$Config{cppflags};'`
29569 ++ PERL_FLAGS=`$PERL -MConfig -e 'print join " ", grep /^-[DI]/, split /\\s+/, \$Config{cppflags};'`
29570 + PERL_INCLUDE="-I$PERL_ARCHLIB/CORE $PERL_FLAGS"
29571 + PERL_DEPS=`$PERL -MConfig -e 'print \$Config{libs};'`
29572 + ncbi_rp_L_flags=
29573 +@@ -25143,8 +28857,8 @@
29574 + fi
29575 + CPPFLAGS="$PERL_INCLUDE $orig_CPPFLAGS"
29576 + LIBS="$PERL_LIBS $orig_LIBS"
29577 +- echo "$as_me:$LINENO: checking for usable Perl libraries" >&5
29578 +-echo $ECHO_N "checking for usable Perl libraries... $ECHO_C" >&6
29579 ++ { echo "$as_me:$LINENO: checking for usable Perl libraries" >&5
29580 ++echo $ECHO_N "checking for usable Perl libraries... $ECHO_C" >&6; }
29581 + if test "${ncbi_cv_lib_perl+set}" = set; then
29582 + echo $ECHO_N "(cached) $ECHO_C" >&6
29583 + else
29584 +@@ -25166,24 +28880,36 @@
29585 + }
29586 + _ACEOF
29587 + rm -f conftest.$ac_objext conftest$ac_exeext
29588 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29589 +- (eval $ac_link) 2>conftest.er1
29590 ++if { (ac_try="$ac_link"
29591 ++case "(($ac_try" in
29592 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29593 ++ *) ac_try_echo=$ac_try;;
29594 ++esac
29595 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29596 ++ (eval "$ac_link") 2>conftest.er1
29597 + ac_status=$?
29598 + grep -v '^ *+' conftest.er1 >conftest.err
29599 + rm -f conftest.er1
29600 + cat conftest.err >&5
29601 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29602 + (exit $ac_status); } &&
29603 +- { ac_try='test -z "$ac_cxx_werror_flag"
29604 +- || test ! -s conftest.err'
29605 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29606 +- (eval $ac_try) 2>&5
29607 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29608 ++ { (case "(($ac_try" in
29609 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29610 ++ *) ac_try_echo=$ac_try;;
29611 ++esac
29612 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29613 ++ (eval "$ac_try") 2>&5
29614 + ac_status=$?
29615 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29616 + (exit $ac_status); }; } &&
29617 + { ac_try='test -s conftest$ac_exeext'
29618 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29619 +- (eval $ac_try) 2>&5
29620 ++ { (case "(($ac_try" in
29621 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29622 ++ *) ac_try_echo=$ac_try;;
29623 ++esac
29624 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29625 ++ (eval "$ac_try") 2>&5
29626 + ac_status=$?
29627 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29628 + (exit $ac_status); }; }; then
29629 +@@ -25194,11 +28920,12 @@
29630 +
29631 + ncbi_cv_lib_perl=no
29632 + fi
29633 +-rm -f conftest.err conftest.$ac_objext \
29634 ++
29635 ++rm -f core conftest.err conftest.$ac_objext \
29636 + conftest$ac_exeext conftest.$ac_ext
29637 + fi
29638 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_perl" >&5
29639 +-echo "${ECHO_T}$ncbi_cv_lib_perl" >&6
29640 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_perl" >&5
29641 ++echo "${ECHO_T}$ncbi_cv_lib_perl" >&6; }
29642 + fi
29643 + if test "$ncbi_cv_lib_perl" = yes; then
29644 + WithPackages="$WithPackages${WithPackagesSep}PERL"; WithPackagesSep=" "
29645 +@@ -25236,8 +28963,8 @@
29646 + { (exit 1); exit 1; }; }
29647 + # Extract the first word of "$JAVAC", so it can be a program name with args.
29648 + set dummy $JAVAC; ac_word=$2
29649 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
29650 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29651 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29652 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29653 + if test "${ac_cv_path__ACJNI_JAVAC+set}" = set; then
29654 + echo $ECHO_N "(cached) $ECHO_C" >&6
29655 + else
29656 +@@ -25252,28 +28979,29 @@
29657 + IFS=$as_save_IFS
29658 + test -z "$as_dir" && as_dir=.
29659 + for ac_exec_ext in '' $ac_executable_extensions; do
29660 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29661 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
29662 + ac_cv_path__ACJNI_JAVAC="$as_dir/$ac_word$ac_exec_ext"
29663 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29664 + break 2
29665 + fi
29666 + done
29667 + done
29668 ++IFS=$as_save_IFS
29669 +
29670 + test -z "$ac_cv_path__ACJNI_JAVAC" && ac_cv_path__ACJNI_JAVAC="no"
29671 + ;;
29672 + esac
29673 + fi
29674 + _ACJNI_JAVAC=$ac_cv_path__ACJNI_JAVAC
29675 +-
29676 + if test -n "$_ACJNI_JAVAC"; then
29677 +- echo "$as_me:$LINENO: result: $_ACJNI_JAVAC" >&5
29678 +-echo "${ECHO_T}$_ACJNI_JAVAC" >&6
29679 ++ { echo "$as_me:$LINENO: result: $_ACJNI_JAVAC" >&5
29680 ++echo "${ECHO_T}$_ACJNI_JAVAC" >&6; }
29681 + else
29682 +- echo "$as_me:$LINENO: result: no" >&5
29683 +-echo "${ECHO_T}no" >&6
29684 ++ { echo "$as_me:$LINENO: result: no" >&5
29685 ++echo "${ECHO_T}no" >&6; }
29686 + fi
29687 +
29688 ++
29689 + test "x$_ACJNI_JAVAC" = xno && { { echo "$as_me:$LINENO: error: $JAVAC could not be found in path" >&5
29690 + echo "$as_me: error: $JAVAC could not be found in path" >&2;}
29691 + { (exit 1); exit 1; }; }
29692 +@@ -25282,16 +29010,16 @@
29693 + # find the include directory relative to the javac executable
29694 + _cur=""$_ACJNI_JAVAC""
29695 + while ls -ld "$_cur" 2>/dev/null | grep " -> " >/dev/null; do
29696 +- echo "$as_me:$LINENO: checking symlink for $_cur" >&5
29697 +-echo $ECHO_N "checking symlink for $_cur... $ECHO_C" >&6
29698 ++ { echo "$as_me:$LINENO: checking symlink for $_cur" >&5
29699 ++echo $ECHO_N "checking symlink for $_cur... $ECHO_C" >&6; }
29700 + _slink=`ls -ld "$_cur" | sed 's/.* -> //'`
29701 + case "$_slink" in
29702 + /*) _cur="$_slink";;
29703 + # 'X' avoids triggering unwanted echo options.
29704 + *) _cur=`echo "X$_cur" | sed -e 's/^X//' -e 's:[^/]*$::'`"$_slink";;
29705 + esac
29706 +- echo "$as_me:$LINENO: result: $_cur" >&5
29707 +-echo "${ECHO_T}$_cur" >&6
29708 ++ { echo "$as_me:$LINENO: result: $_cur" >&5
29709 ++echo "${ECHO_T}$_cur" >&6; }
29710 + done
29711 + _ACJNI_FOLLOWED="$_cur"
29712 +
29713 +@@ -25343,17 +29071,17 @@
29714 + echo "$as_me: setting JDK_INCLUDE = $JDK_INCLUDE" >&6;}
29715 + CPPFLAGS="$JDK_INCLUDE $orig_CPPFLAGS"
29716 + if test "${ac_cv_header_jni_h+set}" = set; then
29717 +- echo "$as_me:$LINENO: checking for jni.h" >&5
29718 +-echo $ECHO_N "checking for jni.h... $ECHO_C" >&6
29719 ++ { echo "$as_me:$LINENO: checking for jni.h" >&5
29720 ++echo $ECHO_N "checking for jni.h... $ECHO_C" >&6; }
29721 + if test "${ac_cv_header_jni_h+set}" = set; then
29722 + echo $ECHO_N "(cached) $ECHO_C" >&6
29723 + fi
29724 +-echo "$as_me:$LINENO: result: $ac_cv_header_jni_h" >&5
29725 +-echo "${ECHO_T}$ac_cv_header_jni_h" >&6
29726 ++{ echo "$as_me:$LINENO: result: $ac_cv_header_jni_h" >&5
29727 ++echo "${ECHO_T}$ac_cv_header_jni_h" >&6; }
29728 + else
29729 + # Is the header compilable?
29730 +-echo "$as_me:$LINENO: checking jni.h usability" >&5
29731 +-echo $ECHO_N "checking jni.h usability... $ECHO_C" >&6
29732 ++{ echo "$as_me:$LINENO: checking jni.h usability" >&5
29733 ++echo $ECHO_N "checking jni.h usability... $ECHO_C" >&6; }
29734 + cat >conftest.$ac_ext <<_ACEOF
29735 + /* confdefs.h. */
29736 + _ACEOF
29737 +@@ -25364,24 +29092,36 @@
29738 + #include <jni.h>
29739 + _ACEOF
29740 + rm -f conftest.$ac_objext
29741 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29742 +- (eval $ac_compile) 2>conftest.er1
29743 ++if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
29750 + ac_status=$?
29751 + grep -v '^ *+' conftest.er1 >conftest.err
29752 + rm -f conftest.er1
29753 + cat conftest.err >&5
29754 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29755 + (exit $ac_status); } &&
29756 +- { ac_try='test -z "$ac_cxx_werror_flag"
29757 +- || test ! -s conftest.err'
29758 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29759 +- (eval $ac_try) 2>&5
29760 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29761 ++ { (case "(($ac_try" in
29762 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29763 ++ *) ac_try_echo=$ac_try;;
29764 ++esac
29765 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29766 ++ (eval "$ac_try") 2>&5
29767 + ac_status=$?
29768 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29769 + (exit $ac_status); }; } &&
29770 + { ac_try='test -s conftest.$ac_objext'
29771 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29772 +- (eval $ac_try) 2>&5
29773 ++ { (case "(($ac_try" in
29774 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29775 ++ *) ac_try_echo=$ac_try;;
29776 ++esac
29777 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29778 ++ (eval "$ac_try") 2>&5
29779 + ac_status=$?
29780 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29781 + (exit $ac_status); }; }; then
29782 +@@ -25392,13 +29132,14 @@
29783 +
29784 + ac_header_compiler=no
29785 + fi
29786 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29787 +-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29788 +-echo "${ECHO_T}$ac_header_compiler" >&6
29789 ++
29790 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29791 ++{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29792 ++echo "${ECHO_T}$ac_header_compiler" >&6; }
29793 +
29794 + # Is the header present?
29795 +-echo "$as_me:$LINENO: checking jni.h presence" >&5
29796 +-echo $ECHO_N "checking jni.h presence... $ECHO_C" >&6
29797 ++{ echo "$as_me:$LINENO: checking jni.h presence" >&5
29798 ++echo $ECHO_N "checking jni.h presence... $ECHO_C" >&6; }
29799 + cat >conftest.$ac_ext <<_ACEOF
29800 + /* confdefs.h. */
29801 + _ACEOF
29802 +@@ -25407,8 +29148,13 @@
29803 + /* end confdefs.h. */
29804 + #include <jni.h>
29805 + _ACEOF
29806 +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29807 +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29808 ++if { (ac_try="$ac_cpp conftest.$ac_ext"
29809 ++case "(($ac_try" in
29810 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29811 ++ *) ac_try_echo=$ac_try;;
29812 ++esac
29813 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29814 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29815 + ac_status=$?
29816 + grep -v '^ *+' conftest.er1 >conftest.err
29817 + rm -f conftest.er1
29818 +@@ -25432,9 +29178,10 @@
29819 +
29820 + ac_header_preproc=no
29821 + fi
29822 ++
29823 + rm -f conftest.err conftest.$ac_ext
29824 +-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29825 +-echo "${ECHO_T}$ac_header_preproc" >&6
29826 ++{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29827 ++echo "${ECHO_T}$ac_header_preproc" >&6; }
29828 +
29829 + # So? What about this header?
29830 + case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
29831 +@@ -25458,25 +29205,23 @@
29832 + echo "$as_me: WARNING: jni.h: proceeding with the preprocessor's result" >&2;}
29833 + { echo "$as_me:$LINENO: WARNING: jni.h: in the future, the compiler will take precedence" >&5
29834 + echo "$as_me: WARNING: jni.h: in the future, the compiler will take precedence" >&2;}
29835 +- (
29836 +- cat <<\_ASBOX
29837 ++ ( cat <<\_ASBOX
29838 + ## ---------------------------------------- ##
29839 + ## Report this to cpp-core@××××××××××××.gov ##
29840 + ## ---------------------------------------- ##
29841 + _ASBOX
29842 +- ) |
29843 +- sed "s/^/$as_me: WARNING: /" >&2
29844 ++ ) | sed "s/^/$as_me: WARNING: /" >&2
29845 + ;;
29846 + esac
29847 +-echo "$as_me:$LINENO: checking for jni.h" >&5
29848 +-echo $ECHO_N "checking for jni.h... $ECHO_C" >&6
29849 ++{ echo "$as_me:$LINENO: checking for jni.h" >&5
29850 ++echo $ECHO_N "checking for jni.h... $ECHO_C" >&6; }
29851 + if test "${ac_cv_header_jni_h+set}" = set; then
29852 + echo $ECHO_N "(cached) $ECHO_C" >&6
29853 + else
29854 + ac_cv_header_jni_h=$ac_header_preproc
29855 + fi
29856 +-echo "$as_me:$LINENO: result: $ac_cv_header_jni_h" >&5
29857 +-echo "${ECHO_T}$ac_cv_header_jni_h" >&6
29858 ++{ echo "$as_me:$LINENO: result: $ac_cv_header_jni_h" >&5
29859 ++echo "${ECHO_T}$ac_cv_header_jni_h" >&6; }
29860 +
29861 + fi
29862 + if test $ac_cv_header_jni_h = yes; then
29863 +@@ -25500,9 +29245,7 @@
29864 +
29865 + ## Boost
29866 + if test "$with_boost" != "no"; then
29867 +- if test "${with_boost-yes}" = yes; then
29868 +- : ${BOOST_PATH=$NCBI/boost}
29869 +- else
29870 ++ if test "${with_boost-yes}" != yes; then
29871 + BOOST_PATH=$with_boost
29872 + fi
29873 + if test -d "$BOOST_PATH"; then
29874 +@@ -25560,8 +29303,8 @@
29875 + $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; }
29876 + fi
29877 + fi
29878 +- echo "$as_me:$LINENO: checking Boost version" >&5
29879 +-echo $ECHO_N "checking Boost version... $ECHO_C" >&6
29880 ++ { echo "$as_me:$LINENO: checking Boost version" >&5
29881 ++echo $ECHO_N "checking Boost version... $ECHO_C" >&6; }
29882 + if test "${ncbi_cv_lib_boost_version+set}" = set; then
29883 + echo $ECHO_N "(cached) $ECHO_C" >&6
29884 + else
29885 +@@ -25583,22 +29326,27 @@
29886 + rm -f contest*
29887 +
29888 + fi
29889 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_version" >&5
29890 +-echo "${ECHO_T}$ncbi_cv_lib_boost_version" >&6
29891 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_version" >&5
29892 ++echo "${ECHO_T}$ncbi_cv_lib_boost_version" >&6; }
29893 + if test -d `echo $BOOST_INCLUDE | sed -e 's/^-I//'`/boost-${ncbi_cv_lib_boost_version}/boost; then
29894 + BOOST_INCLUDE=$BOOST_INCLUDE/boost-${ncbi_cv_lib_boost_version}
29895 + fi
29896 +- case "$ncbi_compiler" in
29897 +- MIPSPRO)
29898 ++ case "$compiler:$ncbi_compiler_ver" in
29899 ++ MIPSpro*)
29900 + BOOST_INCLUDE="$BOOST_INCLUDE $BOOST_INCLUDE/boost/compatibility/cpp_c_headers"
29901 + ;;
29902 +- WORKSHOP)
29903 ++ WorkShop*)
29904 + # Boost.Test's macros yield a *lot* of spurious "should not initialize
29905 + # a non-const reference with a temporary" warnings, to the point of
29906 + # overwhelming the compiler in some cases; turn them off altogether
29907 + # when using Boost at all.
29908 + BOOST_INCLUDE="$BOOST_INCLUDE -erroff=reftotemp"
29909 + ;;
29910 ++ GCC*:4[7-9]* | GCC*:5*)
29911 ++ # Some portions of Boost also have a lot of "unused" typedefs
29912 ++ # from concept checking.
29913 ++ BOOST_INCLUDE="$BOOST_INCLUDE -Wno-unused-local-typedefs"
29914 ++ ;;
29915 + esac
29916 + case "$ncbi_cv_lib_boost_version" in
29917 + 0_* | 1_[0-9] | 1_[0-9]_* | 1_[0-2][0-9] | 1_[0-2][0-9]_* ) ;;
29918 +@@ -25612,7 +29360,7 @@
29919 + fi
29920 + with_boost=no
29921 + ;;
29922 +- 1_3[5-9] | 1_3[5-9]_* | 1_4* | 1_5[0-2] | 1_5[0-2]_* ) ;;
29923 ++ 1_3[5-9] | 1_3[5-9]_* | 1_4* | 1_5[0-3] | 1_5[0-3]_* ) ;;
29924 + '' ) with_boost=no ;;
29925 + * )
29926 + { echo "$as_me:$LINENO: WARNING: Untested Boost version; may prove incompatible." >&5
29927 +@@ -25621,8 +29369,8 @@
29928 + echo "$as_me: WARNING: If so, please re-run this script with the flag --without-boost." >&2;}
29929 + ;;
29930 + esac
29931 +- echo "$as_me:$LINENO: checking for Boost library name tag" >&5
29932 +-echo $ECHO_N "checking for Boost library name tag... $ECHO_C" >&6
29933 ++ { echo "$as_me:$LINENO: checking for Boost library name tag" >&5
29934 ++echo $ECHO_N "checking for Boost library name tag... $ECHO_C" >&6; }
29935 + case "$with_boost_tag" in
29936 + yes | "" )
29937 + case "$host_os:$ncbi_compiler" in
29938 +@@ -25676,18 +29424,18 @@
29939 + fi
29940 +
29941 + BOOST_TAG=$base$bsfx
29942 +- echo "$as_me:$LINENO: result: $BOOST_TAG (autodetected)" >&5
29943 +-echo "${ECHO_T}$BOOST_TAG (autodetected)" >&6
29944 ++ { echo "$as_me:$LINENO: result: $BOOST_TAG (autodetected)" >&5
29945 ++echo "${ECHO_T}$BOOST_TAG (autodetected)" >&6; }
29946 + ;;
29947 + no )
29948 + BOOST_TAG=""
29949 +- echo "$as_me:$LINENO: result: none (by explicit request)" >&5
29950 +-echo "${ECHO_T}none (by explicit request)" >&6
29951 ++ { echo "$as_me:$LINENO: result: none (by explicit request)" >&5
29952 ++echo "${ECHO_T}none (by explicit request)" >&6; }
29953 + ;;
29954 + *)
29955 + BOOST_TAG=$with_boost_tag
29956 +- echo "$as_me:$LINENO: result: $BOOST_TAG (by explicit request)" >&5
29957 +-echo "${ECHO_T}$BOOST_TAG (by explicit request)" >&6
29958 ++ { echo "$as_me:$LINENO: result: $BOOST_TAG (by explicit request)" >&5
29959 ++echo "${ECHO_T}$BOOST_TAG (by explicit request)" >&6; }
29960 + ;;
29961 + esac
29962 +
29963 +@@ -25701,8 +29449,10 @@
29964 + BOOST_REGEX_STATIC_LIBS=$BOOST_REGEX_LIBS
29965 + fi
29966 +
29967 +- echo "$as_me:$LINENO: checking for Boost.Regex in $BOOST_PATH" >&5
29968 +-echo $ECHO_N "checking for Boost.Regex in $BOOST_PATH... $ECHO_C" >&6
29969 ++ in_path=${BOOST_PATH:+ in $BOOST_PATH}
29970 ++
29971 ++ { echo "$as_me:$LINENO: checking for Boost.Regex$in_path" >&5
29972 ++echo $ECHO_N "checking for Boost.Regex$in_path... $ECHO_C" >&6; }
29973 + if test "${ncbi_cv_lib_boost_regex+set}" = set; then
29974 + echo $ECHO_N "(cached) $ECHO_C" >&6
29975 + else
29976 +@@ -25724,24 +29474,36 @@
29977 + }
29978 + _ACEOF
29979 + rm -f conftest.$ac_objext conftest$ac_exeext
29980 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29981 +- (eval $ac_link) 2>conftest.er1
29982 ++if { (ac_try="$ac_link"
29983 ++case "(($ac_try" in
29984 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29985 ++ *) ac_try_echo=$ac_try;;
29986 ++esac
29987 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29988 ++ (eval "$ac_link") 2>conftest.er1
29989 + ac_status=$?
29990 + grep -v '^ *+' conftest.er1 >conftest.err
29991 + rm -f conftest.er1
29992 + cat conftest.err >&5
29993 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29994 + (exit $ac_status); } &&
29995 +- { ac_try='test -z "$ac_cxx_werror_flag"
29996 +- || test ! -s conftest.err'
29997 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29998 +- (eval $ac_try) 2>&5
29999 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30000 ++ { (case "(($ac_try" in
30001 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30002 ++ *) ac_try_echo=$ac_try;;
30003 ++esac
30004 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30005 ++ (eval "$ac_try") 2>&5
30006 + ac_status=$?
30007 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30008 + (exit $ac_status); }; } &&
30009 + { ac_try='test -s conftest$ac_exeext'
30010 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30011 +- (eval $ac_try) 2>&5
30012 ++ { (case "(($ac_try" in
30013 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30014 ++ *) ac_try_echo=$ac_try;;
30015 ++esac
30016 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30017 ++ (eval "$ac_try") 2>&5
30018 + ac_status=$?
30019 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30020 + (exit $ac_status); }; }; then
30021 +@@ -25752,14 +29514,15 @@
30022 +
30023 + ncbi_cv_lib_boost_regex=no
30024 + fi
30025 +-rm -f conftest.err conftest.$ac_objext \
30026 ++
30027 ++rm -f core conftest.err conftest.$ac_objext \
30028 + conftest$ac_exeext conftest.$ac_ext
30029 + fi
30030 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_regex" >&5
30031 +-echo "${ECHO_T}$ncbi_cv_lib_boost_regex" >&6
30032 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_regex" >&5
30033 ++echo "${ECHO_T}$ncbi_cv_lib_boost_regex" >&6; }
30034 +
30035 +- echo "$as_me:$LINENO: checking for Boost.Spirit in $BOOST_PATH" >&5
30036 +-echo $ECHO_N "checking for Boost.Spirit in $BOOST_PATH... $ECHO_C" >&6
30037 ++ { echo "$as_me:$LINENO: checking for Boost.Spirit$in_path" >&5
30038 ++echo $ECHO_N "checking for Boost.Spirit$in_path... $ECHO_C" >&6; }
30039 + if test "${ncbi_cv_lib_boost_spirit+set}" = set; then
30040 + echo $ECHO_N "(cached) $ECHO_C" >&6
30041 + else
30042 +@@ -25781,24 +29544,36 @@
30043 + }
30044 + _ACEOF
30045 + rm -f conftest.$ac_objext conftest$ac_exeext
30046 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30047 +- (eval $ac_link) 2>conftest.er1
30048 ++if { (ac_try="$ac_link"
30049 ++case "(($ac_try" in
30050 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30051 ++ *) ac_try_echo=$ac_try;;
30052 ++esac
30053 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30054 ++ (eval "$ac_link") 2>conftest.er1
30055 + ac_status=$?
30056 + grep -v '^ *+' conftest.er1 >conftest.err
30057 + rm -f conftest.er1
30058 + cat conftest.err >&5
30059 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30060 + (exit $ac_status); } &&
30061 +- { ac_try='test -z "$ac_cxx_werror_flag"
30062 +- || test ! -s conftest.err'
30063 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30064 +- (eval $ac_try) 2>&5
30065 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30066 ++ { (case "(($ac_try" in
30067 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30068 ++ *) ac_try_echo=$ac_try;;
30069 ++esac
30070 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30071 ++ (eval "$ac_try") 2>&5
30072 + ac_status=$?
30073 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30074 + (exit $ac_status); }; } &&
30075 + { ac_try='test -s conftest$ac_exeext'
30076 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30077 +- (eval $ac_try) 2>&5
30078 ++ { (case "(($ac_try" in
30079 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30080 ++ *) ac_try_echo=$ac_try;;
30081 ++esac
30082 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30083 ++ (eval "$ac_try") 2>&5
30084 + ac_status=$?
30085 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30086 + (exit $ac_status); }; }; then
30087 +@@ -25809,11 +29584,12 @@
30088 +
30089 + ncbi_cv_lib_boost_spirit=no
30090 + fi
30091 +-rm -f conftest.err conftest.$ac_objext \
30092 ++
30093 ++rm -f core conftest.err conftest.$ac_objext \
30094 + conftest$ac_exeext conftest.$ac_ext
30095 + fi
30096 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_spirit" >&5
30097 +-echo "${ECHO_T}$ncbi_cv_lib_boost_spirit" >&6
30098 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_spirit" >&5
30099 ++echo "${ECHO_T}$ncbi_cv_lib_boost_spirit" >&6; }
30100 +
30101 + BOOST_SYSTEM_LIBS=-lboost_system${BOOST_TAG}
30102 + if test -f "$BOOST_LIBPATH_/libboost_system${BOOST_TAG}-static.a"; then
30103 +@@ -25822,8 +29598,8 @@
30104 + BOOST_SYSTEM_STATIC_LIBS=$BOOST_SYSTEM_LIBS
30105 + fi
30106 +
30107 +- echo "$as_me:$LINENO: checking for Boost.System in $BOOST_PATH" >&5
30108 +-echo $ECHO_N "checking for Boost.System in $BOOST_PATH... $ECHO_C" >&6
30109 ++ { echo "$as_me:$LINENO: checking for Boost.System$in_path" >&5
30110 ++echo $ECHO_N "checking for Boost.System$in_path... $ECHO_C" >&6; }
30111 + if test "${ncbi_cv_lib_boost_system+set}" = set; then
30112 + echo $ECHO_N "(cached) $ECHO_C" >&6
30113 + else
30114 +@@ -25845,24 +29621,36 @@
30115 + }
30116 + _ACEOF
30117 + rm -f conftest.$ac_objext conftest$ac_exeext
30118 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30119 +- (eval $ac_link) 2>conftest.er1
30120 ++if { (ac_try="$ac_link"
30121 ++case "(($ac_try" in
30122 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30123 ++ *) ac_try_echo=$ac_try;;
30124 ++esac
30125 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30126 ++ (eval "$ac_link") 2>conftest.er1
30127 + ac_status=$?
30128 + grep -v '^ *+' conftest.er1 >conftest.err
30129 + rm -f conftest.er1
30130 + cat conftest.err >&5
30131 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30132 + (exit $ac_status); } &&
30133 +- { ac_try='test -z "$ac_cxx_werror_flag"
30134 +- || test ! -s conftest.err'
30135 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30136 +- (eval $ac_try) 2>&5
30137 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30138 ++ { (case "(($ac_try" in
30139 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30140 ++ *) ac_try_echo=$ac_try;;
30141 ++esac
30142 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30143 ++ (eval "$ac_try") 2>&5
30144 + ac_status=$?
30145 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30146 + (exit $ac_status); }; } &&
30147 + { ac_try='test -s conftest$ac_exeext'
30148 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30149 +- (eval $ac_try) 2>&5
30150 ++ { (case "(($ac_try" in
30151 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30152 ++ *) ac_try_echo=$ac_try;;
30153 ++esac
30154 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30155 ++ (eval "$ac_try") 2>&5
30156 + ac_status=$?
30157 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30158 + (exit $ac_status); }; }; then
30159 +@@ -25875,11 +29663,91 @@
30160 + BOOST_SYSTEM_LIBS=
30161 + BOOST_SYSTEM_STATIC_LIBS=
30162 + fi
30163 +-rm -f conftest.err conftest.$ac_objext \
30164 ++
30165 ++rm -f core conftest.err conftest.$ac_objext \
30166 ++ conftest$ac_exeext conftest.$ac_ext
30167 ++fi
30168 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_system" >&5
30169 ++echo "${ECHO_T}$ncbi_cv_lib_boost_system" >&6; }
30170 ++
30171 ++ boost_fs_lib=-lboost_filesystem${BOOST_TAG}
30172 ++ if test -f "$BOOST_LIBPATH_/libboost_filesystem${BOOST_TAG}-static.a"; then
30173 ++ boost_fs_static_lib=-lboost_filesystem${BOOST_TAG}-static
30174 ++ else
30175 ++ boost_fs_static_lib=$boost_fs_lib
30176 ++ fi
30177 ++ BOOST_FILESYSTEM_LIBS="$boost_fs_lib $BOOST_SYSTEM_LIBS"
30178 ++ BOOST_FILESYSTEM_STATIC_LIBS="$boost_fs_static_lib $BOOST_SYSTEM_STATIC_LIBS"
30179 ++
30180 ++ { echo "$as_me:$LINENO: checking for Boost.Filesystem$in_path" >&5
30181 ++echo $ECHO_N "checking for Boost.Filesystem$in_path... $ECHO_C" >&6; }
30182 ++if test "${ncbi_cv_lib_boost_filesystem+set}" = set; then
30183 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
30184 ++else
30185 ++ CPPFLAGS="$BOOST_INCLUDE $orig_CPPFLAGS"
30186 ++ LIBS="$BOOST_LIBPATH $BOOST_FILESYSTEM_LIBS $RT_LIBS $orig_LIBS"
30187 ++ cat >conftest.$ac_ext <<_ACEOF
30188 ++/* confdefs.h. */
30189 ++_ACEOF
30190 ++cat confdefs.h >>conftest.$ac_ext
30191 ++cat >>conftest.$ac_ext <<_ACEOF
30192 ++/* end confdefs.h. */
30193 ++#include <boost/filesystem.hpp>
30194 ++int
30195 ++main ()
30196 ++{
30197 ++return boost::filesystem::portable_name("foo");
30198 ++ ;
30199 ++ return 0;
30200 ++}
30201 ++_ACEOF
30202 ++rm -f conftest.$ac_objext conftest$ac_exeext
30203 ++if { (ac_try="$ac_link"
30204 ++case "(($ac_try" in
30205 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30206 ++ *) ac_try_echo=$ac_try;;
30207 ++esac
30208 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30209 ++ (eval "$ac_link") 2>conftest.er1
30210 ++ ac_status=$?
30211 ++ grep -v '^ *+' conftest.er1 >conftest.err
30212 ++ rm -f conftest.er1
30213 ++ cat conftest.err >&5
30214 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
30215 ++ (exit $ac_status); } &&
30216 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30217 ++ { (case "(($ac_try" in
30218 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30219 ++ *) ac_try_echo=$ac_try;;
30220 ++esac
30221 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30222 ++ (eval "$ac_try") 2>&5
30223 ++ ac_status=$?
30224 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
30225 ++ (exit $ac_status); }; } &&
30226 ++ { ac_try='test -s conftest$ac_exeext'
30227 ++ { (case "(($ac_try" in
30228 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30229 ++ *) ac_try_echo=$ac_try;;
30230 ++esac
30231 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30232 ++ (eval "$ac_try") 2>&5
30233 ++ ac_status=$?
30234 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
30235 ++ (exit $ac_status); }; }; then
30236 ++ ncbi_cv_lib_boost_filesystem=yes
30237 ++else
30238 ++ echo "$as_me: failed program was:" >&5
30239 ++sed 's/^/| /' conftest.$ac_ext >&5
30240 ++
30241 ++ ncbi_cv_lib_boost_filesystem=no
30242 ++fi
30243 ++
30244 ++rm -f core conftest.err conftest.$ac_objext \
30245 + conftest$ac_exeext conftest.$ac_ext
30246 + fi
30247 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_system" >&5
30248 +-echo "${ECHO_T}$ncbi_cv_lib_boost_system" >&6
30249 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_filesystem" >&5
30250 ++echo "${ECHO_T}$ncbi_cv_lib_boost_filesystem" >&6; }
30251 +
30252 + BOOST_TEST_PEM_LIBS=-lboost_prg_exec_monitor${BOOST_TAG}
30253 + if test -f "$BOOST_LIBPATH_/libboost_prg_exec_monitor${BOOST_TAG}-static.a"; then
30254 +@@ -25906,8 +29774,8 @@
30255 + BOOST_TEST_TEM_LIBS=$BOOST_TEST_TEM_STATIC_LIBS
30256 + BOOST_TEST_UTF_LIBS=$BOOST_TEST_UTF_STATIC_LIBS
30257 +
30258 +- echo "$as_me:$LINENO: checking for Boost.Test in $BOOST_PATH" >&5
30259 +-echo $ECHO_N "checking for Boost.Test in $BOOST_PATH... $ECHO_C" >&6
30260 ++ { echo "$as_me:$LINENO: checking for Boost.Test$in_path" >&5
30261 ++echo $ECHO_N "checking for Boost.Test$in_path... $ECHO_C" >&6; }
30262 + if test "${ncbi_cv_lib_boost_test+set}" = set; then
30263 + echo $ECHO_N "(cached) $ECHO_C" >&6
30264 + else
30265 +@@ -25940,24 +29808,36 @@
30266 + }
30267 + _ACEOF
30268 + rm -f conftest.$ac_objext conftest$ac_exeext
30269 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30270 +- (eval $ac_link) 2>conftest.er1
30271 ++if { (ac_try="$ac_link"
30272 ++case "(($ac_try" in
30273 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30274 ++ *) ac_try_echo=$ac_try;;
30275 ++esac
30276 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30277 ++ (eval "$ac_link") 2>conftest.er1
30278 + ac_status=$?
30279 + grep -v '^ *+' conftest.er1 >conftest.err
30280 + rm -f conftest.er1
30281 + cat conftest.err >&5
30282 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30283 + (exit $ac_status); } &&
30284 +- { ac_try='test -z "$ac_cxx_werror_flag"
30285 +- || test ! -s conftest.err'
30286 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30287 +- (eval $ac_try) 2>&5
30288 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30289 ++ { (case "(($ac_try" in
30290 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30291 ++ *) ac_try_echo=$ac_try;;
30292 ++esac
30293 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30294 ++ (eval "$ac_try") 2>&5
30295 + ac_status=$?
30296 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30297 + (exit $ac_status); }; } &&
30298 + { ac_try='test -s conftest$ac_exeext'
30299 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30300 +- (eval $ac_try) 2>&5
30301 ++ { (case "(($ac_try" in
30302 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30303 ++ *) ac_try_echo=$ac_try;;
30304 ++esac
30305 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30306 ++ (eval "$ac_try") 2>&5
30307 + ac_status=$?
30308 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309 + (exit $ac_status); }; }; then
30310 +@@ -25966,8 +29846,10 @@
30311 + echo "$as_me: failed program was:" >&5
30312 + sed 's/^/| /' conftest.$ac_ext >&5
30313 +
30314 ++
30315 + fi
30316 +-rm -f conftest.err conftest.$ac_objext \
30317 ++
30318 ++rm -f core conftest.err conftest.$ac_objext \
30319 + conftest$ac_exeext conftest.$ac_ext
30320 + done
30321 + case "$found" in
30322 +@@ -25977,8 +29859,8 @@
30323 + '' ) ncbi_cv_lib_boost_test=no ;;
30324 + esac
30325 + fi
30326 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_test" >&5
30327 +-echo "${ECHO_T}$ncbi_cv_lib_boost_test" >&6
30328 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_test" >&5
30329 ++echo "${ECHO_T}$ncbi_cv_lib_boost_test" >&6; }
30330 +
30331 + BOOST_THREAD_LIBS="-lboost_thread${BOOST_TAG} $BOOST_SYSTEM_LIBS"
30332 + if test -f "$BOOST_LIBPATH_/libboost_thread${BOOST_TAG}-static.a"; then
30333 +@@ -25987,8 +29869,8 @@
30334 + BOOST_THREAD_STATIC_LIBS=$BOOST_THREAD_LIBS
30335 + fi
30336 +
30337 +- echo "$as_me:$LINENO: checking for Boost.Threads in $BOOST_PATH" >&5
30338 +-echo $ECHO_N "checking for Boost.Threads in $BOOST_PATH... $ECHO_C" >&6
30339 ++ { echo "$as_me:$LINENO: checking for Boost.Threads$in_path" >&5
30340 ++echo $ECHO_N "checking for Boost.Threads$in_path... $ECHO_C" >&6; }
30341 + if test "${ncbi_cv_lib_boost_thread+set}" = set; then
30342 + echo $ECHO_N "(cached) $ECHO_C" >&6
30343 + else
30344 +@@ -26010,24 +29892,36 @@
30345 + }
30346 + _ACEOF
30347 + rm -f conftest.$ac_objext conftest$ac_exeext
30348 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30349 +- (eval $ac_link) 2>conftest.er1
30350 ++if { (ac_try="$ac_link"
30351 ++case "(($ac_try" in
30352 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30353 ++ *) ac_try_echo=$ac_try;;
30354 ++esac
30355 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30356 ++ (eval "$ac_link") 2>conftest.er1
30357 + ac_status=$?
30358 + grep -v '^ *+' conftest.er1 >conftest.err
30359 + rm -f conftest.er1
30360 + cat conftest.err >&5
30361 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30362 + (exit $ac_status); } &&
30363 +- { ac_try='test -z "$ac_cxx_werror_flag"
30364 +- || test ! -s conftest.err'
30365 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30366 +- (eval $ac_try) 2>&5
30367 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30368 ++ { (case "(($ac_try" in
30369 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30370 ++ *) ac_try_echo=$ac_try;;
30371 ++esac
30372 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30373 ++ (eval "$ac_try") 2>&5
30374 + ac_status=$?
30375 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30376 + (exit $ac_status); }; } &&
30377 + { ac_try='test -s conftest$ac_exeext'
30378 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30379 +- (eval $ac_try) 2>&5
30380 ++ { (case "(($ac_try" in
30381 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30382 ++ *) ac_try_echo=$ac_try;;
30383 ++esac
30384 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30385 ++ (eval "$ac_try") 2>&5
30386 + ac_status=$?
30387 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30388 + (exit $ac_status); }; }; then
30389 +@@ -26038,21 +29932,33 @@
30390 +
30391 + ncbi_cv_lib_boost_thread=no
30392 + fi
30393 +-rm -f conftest.err conftest.$ac_objext \
30394 ++
30395 ++rm -f core conftest.err conftest.$ac_objext \
30396 + conftest$ac_exeext conftest.$ac_ext
30397 + fi
30398 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_thread" >&5
30399 +-echo "${ECHO_T}$ncbi_cv_lib_boost_thread" >&6
30400 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_thread" >&5
30401 ++echo "${ECHO_T}$ncbi_cv_lib_boost_thread" >&6; }
30402 + else
30403 + BOOST_INCLUDE=
30404 + BOOST_LIBPATH=
30405 + BOOST_TAG=
30406 ++ ncbi_cv_lib_boost_filesystem=no
30407 + ncbi_cv_lib_boost_regex=no
30408 + ncbi_cv_lib_boost_spirit=no
30409 ++ ncbi_cv_lib_boost_system=no
30410 + ncbi_cv_lib_boost_test=no
30411 + ncbi_cv_lib_boost_thread=no
30412 + fi
30413 +
30414 ++if test "$ncbi_cv_lib_boost_filesystem" != "no"; then
30415 ++ WithPackages="$WithPackages${WithPackagesSep}Boost.Filesystem"; WithPackagesSep=" "
30416 ++else
30417 ++ boost_fs_lib=
30418 ++ boost_fs_static_lib=
30419 ++ BOOST_FILESYSTEM_LIBS=
30420 ++ BOOST_FILESYSTEM_STATIC_LIBS=
30421 ++fi
30422 ++
30423 + if test "$ncbi_cv_lib_boost_regex" != "no"; then
30424 +
30425 + cat >>confdefs.h <<\_ACEOF
30426 +@@ -26122,7 +30028,10 @@
30427 +
30428 + ## NCBI C Toolkit
30429 + if test "$with_ncbi_c" != "no" ; then
30430 +- NCBI_C_PATH=${NCBI_C_PATH:="$NCBI"}
30431 ++ if test "${with_ncbi_c-yes}" != yes; then
30432 ++ NCBI_C_PATH=$with_ncbi_c
30433 ++ fi
30434 ++ : ${NCBI_C_PATH="$NCBI"}
30435 + if test "$ncbi_compiler" = ICC -a -d "$NCBI_C_PATH/ncbi_icc"; then
30436 + NCBI_C_PATH=$NCBI_C_PATH/ncbi_icc
30437 + fi
30438 +@@ -26144,8 +30053,8 @@
30439 + NCBI_C_ncbi="-lncbi"
30440 + fi
30441 + NCBI_C_LIBPATH="-L$NCBI_C_LIBPATH"
30442 +- echo "$as_me:$LINENO: checking for the NCBI C toolkit in $NCBI_C_PATH" >&5
30443 +-echo $ECHO_N "checking for the NCBI C toolkit in $NCBI_C_PATH... $ECHO_C" >&6
30444 ++ { echo "$as_me:$LINENO: checking for the NCBI C toolkit${NCBI_C_PATH:+ in $NCBI_C_PATH}" >&5
30445 ++echo $ECHO_N "checking for the NCBI C toolkit${NCBI_C_PATH:+ in $NCBI_C_PATH}... $ECHO_C" >&6; }
30446 + if test "${ncbi_cv_lib_ctools+set}" = set; then
30447 + echo $ECHO_N "(cached) $ECHO_C" >&6
30448 + else
30449 +@@ -26167,24 +30076,36 @@
30450 + }
30451 + _ACEOF
30452 + rm -f conftest.$ac_objext conftest$ac_exeext
30453 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30454 +- (eval $ac_link) 2>conftest.er1
30455 ++if { (ac_try="$ac_link"
30456 ++case "(($ac_try" in
30457 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30458 ++ *) ac_try_echo=$ac_try;;
30459 ++esac
30460 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30461 ++ (eval "$ac_link") 2>conftest.er1
30462 + ac_status=$?
30463 + grep -v '^ *+' conftest.er1 >conftest.err
30464 + rm -f conftest.er1
30465 + cat conftest.err >&5
30466 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30467 + (exit $ac_status); } &&
30468 +- { ac_try='test -z "$ac_cxx_werror_flag"
30469 +- || test ! -s conftest.err'
30470 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30471 +- (eval $ac_try) 2>&5
30472 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30473 ++ { (case "(($ac_try" in
30474 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30475 ++ *) ac_try_echo=$ac_try;;
30476 ++esac
30477 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30478 ++ (eval "$ac_try") 2>&5
30479 + ac_status=$?
30480 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30481 + (exit $ac_status); }; } &&
30482 + { ac_try='test -s conftest$ac_exeext'
30483 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30484 +- (eval $ac_try) 2>&5
30485 ++ { (case "(($ac_try" in
30486 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30487 ++ *) ac_try_echo=$ac_try;;
30488 ++esac
30489 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30490 ++ (eval "$ac_try") 2>&5
30491 + ac_status=$?
30492 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30493 + (exit $ac_status); }; }; then
30494 +@@ -26195,11 +30116,12 @@
30495 +
30496 + ncbi_cv_lib_ctools=no
30497 + fi
30498 +-rm -f conftest.err conftest.$ac_objext \
30499 ++
30500 ++rm -f core conftest.err conftest.$ac_objext \
30501 + conftest$ac_exeext conftest.$ac_ext
30502 + fi
30503 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_ctools" >&5
30504 +-echo "${ECHO_T}$ncbi_cv_lib_ctools" >&6
30505 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_ctools" >&5
30506 ++echo "${ECHO_T}$ncbi_cv_lib_ctools" >&6; }
30507 + if test "$ncbi_cv_lib_ctools" = no; then
30508 + if test "${with_ncbi_c:=no}" != no; then
30509 + { { echo "$as_me:$LINENO: error: --with-ncbi-c explicitly specified, but no usable version found." >&5
30510 +@@ -26240,44 +30162,49 @@
30511 + cmp -s /usr/lib$bit64_sfx/$base $xlib || \
30512 + x_libraries=/usr/X11R6/lib$bit64_sfx x_includes=/usr/X11R6/include
30513 + fi
30514 +-echo "$as_me:$LINENO: checking for X" >&5
30515 +-echo $ECHO_N "checking for X... $ECHO_C" >&6
30516 ++{ echo "$as_me:$LINENO: checking for X" >&5
30517 ++echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30518 +
30519 +
30520 +-# Check whether --with-x or --without-x was given.
30521 ++# Check whether --with-x was given.
30522 + if test "${with_x+set}" = set; then
30523 +- withval="$with_x"
30524 ++ withval=$with_x;
30525 ++fi
30526 +
30527 +-fi;
30528 + # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30529 + if test "x$with_x" = xno; then
30530 + # The user explicitly disabled X.
30531 + have_x=disabled
30532 + else
30533 +- if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
30534 +- # Both variables are already set.
30535 +- have_x=yes
30536 +- else
30537 +- if test "${ac_cv_have_x+set}" = set; then
30538 ++ case $x_includes,$x_libraries in #(
30539 ++ *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30540 ++echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30541 ++ { (exit 1); exit 1; }; };; #(
30542 ++ *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30543 + echo $ECHO_N "(cached) $ECHO_C" >&6
30544 + else
30545 + # One or both of the vars are not set, and there is no cached value.
30546 + ac_x_includes=no ac_x_libraries=no
30547 +-rm -fr conftest.dir
30548 ++rm -f -r conftest.dir
30549 + if mkdir conftest.dir; then
30550 + cd conftest.dir
30551 +- # Make sure to not put "make" in the Imakefile rules, since we grep it out.
30552 + cat >Imakefile <<'_ACEOF'
30553 +-acfindx:
30554 +- @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
30555 ++incroot:
30556 ++ @echo incroot='${INCROOT}'
30557 ++usrlibdir:
30558 ++ @echo usrlibdir='${USRLIBDIR}'
30559 ++libdir:
30560 ++ @echo libdir='${LIBDIR}'
30561 + _ACEOF
30562 +- if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
30563 ++ if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30564 + # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30565 +- eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
30566 ++ for ac_var in incroot usrlibdir libdir; do
30567 ++ eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30568 ++ done
30569 + # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30570 + for ac_extension in a so sl; do
30571 +- if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
30572 +- test -f $ac_im_libdir/libX11.$ac_extension; then
30573 ++ if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30574 ++ test -f "$ac_im_libdir/libX11.$ac_extension"; then
30575 + ac_im_usrlibdir=$ac_im_libdir; break
30576 + fi
30577 + done
30578 +@@ -26285,7 +30212,7 @@
30579 + # bogus both because they are the default anyway, and because
30580 + # using them would break gcc on systems where it needs fixed includes.
30581 + case $ac_im_incroot in
30582 +- /usr/include) ;;
30583 ++ /usr/include) ac_x_includes= ;;
30584 + *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30585 + esac
30586 + case $ac_im_usrlibdir in
30587 +@@ -26294,7 +30221,7 @@
30588 + esac
30589 + fi
30590 + cd ..
30591 +- rm -fr conftest.dir
30592 ++ rm -f -r conftest.dir
30593 + fi
30594 +
30595 + # Standard set of common directories for X headers.
30596 +@@ -26335,7 +30262,7 @@
30597 + /usr/openwin/share/include'
30598 +
30599 + if test "$ac_x_includes" = no; then
30600 +- # Guess where to find include files, by looking for Intrinsic.h.
30601 ++ # Guess where to find include files, by looking for Xlib.h.
30602 + # First, try using that file with no special directory specified.
30603 + cat >conftest.$ac_ext <<_ACEOF
30604 + /* confdefs.h. */
30605 +@@ -26343,10 +30270,15 @@
30606 + cat confdefs.h >>conftest.$ac_ext
30607 + cat >>conftest.$ac_ext <<_ACEOF
30608 + /* end confdefs.h. */
30609 +-#include <X11/Intrinsic.h>
30610 ++#include <X11/Xlib.h>
30611 + _ACEOF
30612 +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30613 +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30614 ++if { (ac_try="$ac_cpp conftest.$ac_ext"
30615 ++case "(($ac_try" in
30616 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30617 ++ *) ac_try_echo=$ac_try;;
30618 ++esac
30619 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30620 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30621 + ac_status=$?
30622 + grep -v '^ *+' conftest.er1 >conftest.err
30623 + rm -f conftest.er1
30624 +@@ -26370,12 +30302,13 @@
30625 + sed 's/^/| /' conftest.$ac_ext >&5
30626 +
30627 + for ac_dir in $ac_x_header_dirs; do
30628 +- if test -r "$ac_dir/X11/Intrinsic.h"; then
30629 ++ if test -r "$ac_dir/X11/Xlib.h"; then
30630 + ac_x_includes=$ac_dir
30631 + break
30632 + fi
30633 + done
30634 + fi
30635 ++
30636 + rm -f conftest.err conftest.$ac_ext
30637 + fi # $ac_x_includes = no
30638 +
30639 +@@ -26391,34 +30324,46 @@
30640 + cat confdefs.h >>conftest.$ac_ext
30641 + cat >>conftest.$ac_ext <<_ACEOF
30642 + /* end confdefs.h. */
30643 +-#include <X11/Intrinsic.h>
30644 ++#include <X11/Xlib.h>
30645 + int
30646 + main ()
30647 + {
30648 +-XtMalloc (0)
30649 ++XrmInitialize ()
30650 + ;
30651 + return 0;
30652 + }
30653 + _ACEOF
30654 + rm -f conftest.$ac_objext conftest$ac_exeext
30655 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30656 +- (eval $ac_link) 2>conftest.er1
30657 ++if { (ac_try="$ac_link"
30658 ++case "(($ac_try" in
30659 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30660 ++ *) ac_try_echo=$ac_try;;
30661 ++esac
30662 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30663 ++ (eval "$ac_link") 2>conftest.er1
30664 + ac_status=$?
30665 + grep -v '^ *+' conftest.er1 >conftest.err
30666 + rm -f conftest.er1
30667 + cat conftest.err >&5
30668 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30669 + (exit $ac_status); } &&
30670 +- { ac_try='test -z "$ac_cxx_werror_flag"
30671 +- || test ! -s conftest.err'
30672 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30673 +- (eval $ac_try) 2>&5
30674 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30675 ++ { (case "(($ac_try" in
30676 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30677 ++ *) ac_try_echo=$ac_try;;
30678 ++esac
30679 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30680 ++ (eval "$ac_try") 2>&5
30681 + ac_status=$?
30682 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30683 + (exit $ac_status); }; } &&
30684 + { ac_try='test -s conftest$ac_exeext'
30685 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30686 +- (eval $ac_try) 2>&5
30687 ++ { (case "(($ac_try" in
30688 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30689 ++ *) ac_try_echo=$ac_try;;
30690 ++esac
30691 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30692 ++ (eval "$ac_try") 2>&5
30693 + ac_status=$?
30694 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30695 + (exit $ac_status); }; }; then
30696 +@@ -26434,34 +30379,38 @@
30697 + do
30698 + # Don't even attempt the hair of trying to link an X program!
30699 + for ac_extension in a so sl; do
30700 +- if test -r $ac_dir/libXt.$ac_extension; then
30701 ++ if test -r "$ac_dir/libXt.$ac_extension"; then
30702 + ac_x_libraries=$ac_dir
30703 + break 2
30704 + fi
30705 + done
30706 + done
30707 + fi
30708 +-rm -f conftest.err conftest.$ac_objext \
30709 ++
30710 ++rm -f core conftest.err conftest.$ac_objext \
30711 + conftest$ac_exeext conftest.$ac_ext
30712 + fi # $ac_x_libraries = no
30713 +
30714 +-if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
30715 +- # Didn't find X anywhere. Cache the known absence of X.
30716 +- ac_cv_have_x="have_x=no"
30717 +-else
30718 ++case $ac_x_includes,$ac_x_libraries in #(
30719 ++ no,* | *,no | *\'*)
30720 ++ # Didn't find X, or a directory has "'" in its name.
30721 ++ ac_cv_have_x="have_x=no";; #(
30722 ++ *)
30723 + # Record where we found X for the cache.
30724 + ac_cv_have_x="have_x=yes \
30725 +- ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
30726 +-fi
30727 +-fi
30728 +-
30729 ++ ac_x_includes='$ac_x_includes'\
30730 ++ ac_x_libraries='$ac_x_libraries'"
30731 ++esac
30732 + fi
30733 ++;; #(
30734 ++ *) have_x=yes;;
30735 ++ esac
30736 + eval "$ac_cv_have_x"
30737 + fi # $with_x != no
30738 +
30739 + if test "$have_x" != yes; then
30740 +- echo "$as_me:$LINENO: result: $have_x" >&5
30741 +-echo "${ECHO_T}$have_x" >&6
30742 ++ { echo "$as_me:$LINENO: result: $have_x" >&5
30743 ++echo "${ECHO_T}$have_x" >&6; }
30744 + no_x=yes
30745 + else
30746 + # If each of the values was on the command line, it overrides each guess.
30747 +@@ -26469,9 +30418,10 @@
30748 + test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30749 + # Update the cache value to reflect the command line values.
30750 + ac_cv_have_x="have_x=yes \
30751 +- ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
30752 +- echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30753 +-echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
30754 ++ ac_x_includes='$x_includes'\
30755 ++ ac_x_libraries='$x_libraries'"
30756 ++ { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30757 ++echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30758 + fi
30759 +
30760 + if test "$no_x" = yes; then
30761 +@@ -26494,8 +30444,8 @@
30762 + # others require no space. Words are not sufficient . . . .
30763 + case `(uname -sr) 2>/dev/null` in
30764 + "SunOS 5"*)
30765 +- echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30766 +-echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
30767 ++ { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30768 ++echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30769 + ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30770 + cat >conftest.$ac_ext <<_ACEOF
30771 + /* confdefs.h. */
30772 +@@ -26513,24 +30463,36 @@
30773 + }
30774 + _ACEOF
30775 + rm -f conftest.$ac_objext conftest$ac_exeext
30776 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30777 +- (eval $ac_link) 2>conftest.er1
30778 ++if { (ac_try="$ac_link"
30779 ++case "(($ac_try" in
30780 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30781 ++ *) ac_try_echo=$ac_try;;
30782 ++esac
30783 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30784 ++ (eval "$ac_link") 2>conftest.er1
30785 + ac_status=$?
30786 + grep -v '^ *+' conftest.er1 >conftest.err
30787 + rm -f conftest.er1
30788 + cat conftest.err >&5
30789 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30790 + (exit $ac_status); } &&
30791 +- { ac_try='test -z "$ac_cxx_werror_flag"
30792 +- || test ! -s conftest.err'
30793 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30794 +- (eval $ac_try) 2>&5
30795 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30796 ++ { (case "(($ac_try" in
30797 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30798 ++ *) ac_try_echo=$ac_try;;
30799 ++esac
30800 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30801 ++ (eval "$ac_try") 2>&5
30802 + ac_status=$?
30803 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30804 + (exit $ac_status); }; } &&
30805 + { ac_try='test -s conftest$ac_exeext'
30806 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30807 +- (eval $ac_try) 2>&5
30808 ++ { (case "(($ac_try" in
30809 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30810 ++ *) ac_try_echo=$ac_try;;
30811 ++esac
30812 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30813 ++ (eval "$ac_try") 2>&5
30814 + ac_status=$?
30815 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30816 + (exit $ac_status); }; }; then
30817 +@@ -26541,11 +30503,12 @@
30818 +
30819 + ac_R_nospace=no
30820 + fi
30821 +-rm -f conftest.err conftest.$ac_objext \
30822 ++
30823 ++rm -f core conftest.err conftest.$ac_objext \
30824 + conftest$ac_exeext conftest.$ac_ext
30825 + if test $ac_R_nospace = yes; then
30826 +- echo "$as_me:$LINENO: result: no" >&5
30827 +-echo "${ECHO_T}no" >&6
30828 ++ { echo "$as_me:$LINENO: result: no" >&5
30829 ++echo "${ECHO_T}no" >&6; }
30830 + X_LIBS="$X_LIBS -R$x_libraries"
30831 + else
30832 + LIBS="$ac_xsave_LIBS -R $x_libraries"
30833 +@@ -26565,24 +30528,36 @@
30834 + }
30835 + _ACEOF
30836 + rm -f conftest.$ac_objext conftest$ac_exeext
30837 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30838 +- (eval $ac_link) 2>conftest.er1
30839 ++if { (ac_try="$ac_link"
30840 ++case "(($ac_try" in
30841 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30842 ++ *) ac_try_echo=$ac_try;;
30843 ++esac
30844 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30845 ++ (eval "$ac_link") 2>conftest.er1
30846 + ac_status=$?
30847 + grep -v '^ *+' conftest.er1 >conftest.err
30848 + rm -f conftest.er1
30849 + cat conftest.err >&5
30850 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30851 + (exit $ac_status); } &&
30852 +- { ac_try='test -z "$ac_cxx_werror_flag"
30853 +- || test ! -s conftest.err'
30854 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30855 +- (eval $ac_try) 2>&5
30856 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30857 ++ { (case "(($ac_try" in
30858 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30859 ++ *) ac_try_echo=$ac_try;;
30860 ++esac
30861 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30862 ++ (eval "$ac_try") 2>&5
30863 + ac_status=$?
30864 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30865 + (exit $ac_status); }; } &&
30866 + { ac_try='test -s conftest$ac_exeext'
30867 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30868 +- (eval $ac_try) 2>&5
30869 ++ { (case "(($ac_try" in
30870 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30871 ++ *) ac_try_echo=$ac_try;;
30872 ++esac
30873 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30874 ++ (eval "$ac_try") 2>&5
30875 + ac_status=$?
30876 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30877 + (exit $ac_status); }; }; then
30878 +@@ -26593,15 +30568,16 @@
30879 +
30880 + ac_R_space=no
30881 + fi
30882 +-rm -f conftest.err conftest.$ac_objext \
30883 ++
30884 ++rm -f core conftest.err conftest.$ac_objext \
30885 + conftest$ac_exeext conftest.$ac_ext
30886 + if test $ac_R_space = yes; then
30887 +- echo "$as_me:$LINENO: result: yes" >&5
30888 +-echo "${ECHO_T}yes" >&6
30889 ++ { echo "$as_me:$LINENO: result: yes" >&5
30890 ++echo "${ECHO_T}yes" >&6; }
30891 + X_LIBS="$X_LIBS -R $x_libraries"
30892 + else
30893 +- echo "$as_me:$LINENO: result: neither works" >&5
30894 +-echo "${ECHO_T}neither works" >&6
30895 ++ { echo "$as_me:$LINENO: result: neither works" >&5
30896 ++echo "${ECHO_T}neither works" >&6; }
30897 + fi
30898 + fi
30899 + LIBS=$ac_xsave_LIBS
30900 +@@ -26626,40 +30602,52 @@
30901 + cat >>conftest.$ac_ext <<_ACEOF
30902 + /* end confdefs.h. */
30903 +
30904 +-/* Override any gcc2 internal prototype to avoid an error. */
30905 ++/* Override any GCC internal prototype to avoid an error.
30906 ++ Use char because int might match the return type of a GCC
30907 ++ builtin and then its argument prototype would still apply. */
30908 + #ifdef __cplusplus
30909 + extern "C"
30910 + #endif
30911 +-/* We use char because int might match the return type of a gcc2
30912 +- builtin and then its argument prototype would still apply. */
30913 + char XOpenDisplay ();
30914 + int
30915 + main ()
30916 + {
30917 +-XOpenDisplay ();
30918 ++return XOpenDisplay ();
30919 + ;
30920 + return 0;
30921 + }
30922 + _ACEOF
30923 + rm -f conftest.$ac_objext conftest$ac_exeext
30924 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30925 +- (eval $ac_link) 2>conftest.er1
30926 ++if { (ac_try="$ac_link"
30927 ++case "(($ac_try" in
30928 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30929 ++ *) ac_try_echo=$ac_try;;
30930 ++esac
30931 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30932 ++ (eval "$ac_link") 2>conftest.er1
30933 + ac_status=$?
30934 + grep -v '^ *+' conftest.er1 >conftest.err
30935 + rm -f conftest.er1
30936 + cat conftest.err >&5
30937 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30938 + (exit $ac_status); } &&
30939 +- { ac_try='test -z "$ac_cxx_werror_flag"
30940 +- || test ! -s conftest.err'
30941 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30942 +- (eval $ac_try) 2>&5
30943 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30944 ++ { (case "(($ac_try" in
30945 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30946 ++ *) ac_try_echo=$ac_try;;
30947 ++esac
30948 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30949 ++ (eval "$ac_try") 2>&5
30950 + ac_status=$?
30951 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30952 + (exit $ac_status); }; } &&
30953 + { ac_try='test -s conftest$ac_exeext'
30954 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30955 +- (eval $ac_try) 2>&5
30956 ++ { (case "(($ac_try" in
30957 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30958 ++ *) ac_try_echo=$ac_try;;
30959 ++esac
30960 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30961 ++ (eval "$ac_try") 2>&5
30962 + ac_status=$?
30963 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30964 + (exit $ac_status); }; }; then
30965 +@@ -26668,8 +30656,8 @@
30966 + echo "$as_me: failed program was:" >&5
30967 + sed 's/^/| /' conftest.$ac_ext >&5
30968 +
30969 +-echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30970 +-echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
30971 ++ { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30972 ++echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30973 + if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30974 + echo $ECHO_N "(cached) $ECHO_C" >&6
30975 + else
30976 +@@ -26682,40 +30670,52 @@
30977 + cat >>conftest.$ac_ext <<_ACEOF
30978 + /* end confdefs.h. */
30979 +
30980 +-/* Override any gcc2 internal prototype to avoid an error. */
30981 ++/* Override any GCC internal prototype to avoid an error.
30982 ++ Use char because int might match the return type of a GCC
30983 ++ builtin and then its argument prototype would still apply. */
30984 + #ifdef __cplusplus
30985 + extern "C"
30986 + #endif
30987 +-/* We use char because int might match the return type of a gcc2
30988 +- builtin and then its argument prototype would still apply. */
30989 + char dnet_ntoa ();
30990 + int
30991 + main ()
30992 + {
30993 +-dnet_ntoa ();
30994 ++return dnet_ntoa ();
30995 + ;
30996 + return 0;
30997 + }
30998 + _ACEOF
30999 + rm -f conftest.$ac_objext conftest$ac_exeext
31000 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31001 +- (eval $ac_link) 2>conftest.er1
31002 ++if { (ac_try="$ac_link"
31003 ++case "(($ac_try" in
31004 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31005 ++ *) ac_try_echo=$ac_try;;
31006 ++esac
31007 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31008 ++ (eval "$ac_link") 2>conftest.er1
31009 + ac_status=$?
31010 + grep -v '^ *+' conftest.er1 >conftest.err
31011 + rm -f conftest.er1
31012 + cat conftest.err >&5
31013 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31014 + (exit $ac_status); } &&
31015 +- { ac_try='test -z "$ac_cxx_werror_flag"
31016 +- || test ! -s conftest.err'
31017 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31018 +- (eval $ac_try) 2>&5
31019 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31020 ++ { (case "(($ac_try" in
31021 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31022 ++ *) ac_try_echo=$ac_try;;
31023 ++esac
31024 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31025 ++ (eval "$ac_try") 2>&5
31026 + ac_status=$?
31027 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31028 + (exit $ac_status); }; } &&
31029 + { ac_try='test -s conftest$ac_exeext'
31030 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31031 +- (eval $ac_try) 2>&5
31032 ++ { (case "(($ac_try" in
31033 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31034 ++ *) ac_try_echo=$ac_try;;
31035 ++esac
31036 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31037 ++ (eval "$ac_try") 2>&5
31038 + ac_status=$?
31039 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31040 + (exit $ac_status); }; }; then
31041 +@@ -26726,19 +30726,20 @@
31042 +
31043 + ac_cv_lib_dnet_dnet_ntoa=no
31044 + fi
31045 +-rm -f conftest.err conftest.$ac_objext \
31046 ++
31047 ++rm -f core conftest.err conftest.$ac_objext \
31048 + conftest$ac_exeext conftest.$ac_ext
31049 + LIBS=$ac_check_lib_save_LIBS
31050 + fi
31051 +-echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31052 +-echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
31053 ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31054 ++echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31055 + if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31056 + X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31057 + fi
31058 +
31059 + if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31060 +- echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31061 +-echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
31062 ++ { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31063 ++echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31064 + if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31065 + echo $ECHO_N "(cached) $ECHO_C" >&6
31066 + else
31067 +@@ -26751,40 +30752,52 @@
31068 + cat >>conftest.$ac_ext <<_ACEOF
31069 + /* end confdefs.h. */
31070 +
31071 +-/* Override any gcc2 internal prototype to avoid an error. */
31072 ++/* Override any GCC internal prototype to avoid an error.
31073 ++ Use char because int might match the return type of a GCC
31074 ++ builtin and then its argument prototype would still apply. */
31075 + #ifdef __cplusplus
31076 + extern "C"
31077 + #endif
31078 +-/* We use char because int might match the return type of a gcc2
31079 +- builtin and then its argument prototype would still apply. */
31080 + char dnet_ntoa ();
31081 + int
31082 + main ()
31083 + {
31084 +-dnet_ntoa ();
31085 ++return dnet_ntoa ();
31086 + ;
31087 + return 0;
31088 + }
31089 + _ACEOF
31090 + rm -f conftest.$ac_objext conftest$ac_exeext
31091 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31092 +- (eval $ac_link) 2>conftest.er1
31093 ++if { (ac_try="$ac_link"
31094 ++case "(($ac_try" in
31095 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31096 ++ *) ac_try_echo=$ac_try;;
31097 ++esac
31098 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31099 ++ (eval "$ac_link") 2>conftest.er1
31100 + ac_status=$?
31101 + grep -v '^ *+' conftest.er1 >conftest.err
31102 + rm -f conftest.er1
31103 + cat conftest.err >&5
31104 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105 + (exit $ac_status); } &&
31106 +- { ac_try='test -z "$ac_cxx_werror_flag"
31107 +- || test ! -s conftest.err'
31108 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31109 +- (eval $ac_try) 2>&5
31110 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31111 ++ { (case "(($ac_try" in
31112 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31113 ++ *) ac_try_echo=$ac_try;;
31114 ++esac
31115 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31116 ++ (eval "$ac_try") 2>&5
31117 + ac_status=$?
31118 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31119 + (exit $ac_status); }; } &&
31120 + { ac_try='test -s conftest$ac_exeext'
31121 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31122 +- (eval $ac_try) 2>&5
31123 ++ { (case "(($ac_try" in
31124 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31125 ++ *) ac_try_echo=$ac_try;;
31126 ++esac
31127 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31128 ++ (eval "$ac_try") 2>&5
31129 + ac_status=$?
31130 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31131 + (exit $ac_status); }; }; then
31132 +@@ -26795,19 +30808,21 @@
31133 +
31134 + ac_cv_lib_dnet_stub_dnet_ntoa=no
31135 + fi
31136 +-rm -f conftest.err conftest.$ac_objext \
31137 ++
31138 ++rm -f core conftest.err conftest.$ac_objext \
31139 + conftest$ac_exeext conftest.$ac_ext
31140 + LIBS=$ac_check_lib_save_LIBS
31141 + fi
31142 +-echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31143 +-echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
31144 ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31145 ++echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31146 + if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31147 + X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31148 + fi
31149 +
31150 + fi
31151 + fi
31152 +-rm -f conftest.err conftest.$ac_objext \
31153 ++
31154 ++rm -f core conftest.err conftest.$ac_objext \
31155 + conftest$ac_exeext conftest.$ac_ext
31156 + LIBS="$ac_xsave_LIBS"
31157 +
31158 +@@ -26819,8 +30834,8 @@
31159 + # on Irix 5.2, according to T.E. Dickey.
31160 + # The functions gethostbyname, getservbyname, and inet_addr are
31161 + # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31162 +- echo "$as_me:$LINENO: checking for gethostbyname" >&5
31163 +-echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
31164 ++ { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31165 ++echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31166 + if test "${ac_cv_func_gethostbyname+set}" = set; then
31167 + echo $ECHO_N "(cached) $ECHO_C" >&6
31168 + else
31169 +@@ -26847,53 +30862,59 @@
31170 +
31171 + #undef gethostbyname
31172 +
31173 +-/* Override any gcc2 internal prototype to avoid an error. */
31174 ++/* Override any GCC internal prototype to avoid an error.
31175 ++ Use char because int might match the return type of a GCC
31176 ++ builtin and then its argument prototype would still apply. */
31177 + #ifdef __cplusplus
31178 + extern "C"
31179 +-{
31180 + #endif
31181 +-/* We use char because int might match the return type of a gcc2
31182 +- builtin and then its argument prototype would still apply. */
31183 + char gethostbyname ();
31184 + /* The GNU C library defines this for functions which it implements
31185 + to always fail with ENOSYS. Some functions are actually named
31186 + something starting with __ and the normal name is an alias. */
31187 +-#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
31188 ++#if defined __stub_gethostbyname || defined __stub___gethostbyname
31189 + choke me
31190 +-#else
31191 +-char (*f) () = gethostbyname;
31192 +-#endif
31193 +-#ifdef __cplusplus
31194 +-}
31195 + #endif
31196 +
31197 + int
31198 + main ()
31199 + {
31200 +-return f != gethostbyname;
31201 ++return gethostbyname ();
31202 + ;
31203 + return 0;
31204 + }
31205 + _ACEOF
31206 + rm -f conftest.$ac_objext conftest$ac_exeext
31207 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31208 +- (eval $ac_link) 2>conftest.er1
31209 ++if { (ac_try="$ac_link"
31210 ++case "(($ac_try" in
31211 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31212 ++ *) ac_try_echo=$ac_try;;
31213 ++esac
31214 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31215 ++ (eval "$ac_link") 2>conftest.er1
31216 + ac_status=$?
31217 + grep -v '^ *+' conftest.er1 >conftest.err
31218 + rm -f conftest.er1
31219 + cat conftest.err >&5
31220 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31221 + (exit $ac_status); } &&
31222 +- { ac_try='test -z "$ac_cxx_werror_flag"
31223 +- || test ! -s conftest.err'
31224 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31225 +- (eval $ac_try) 2>&5
31226 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31227 ++ { (case "(($ac_try" in
31228 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31229 ++ *) ac_try_echo=$ac_try;;
31230 ++esac
31231 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31232 ++ (eval "$ac_try") 2>&5
31233 + ac_status=$?
31234 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31235 + (exit $ac_status); }; } &&
31236 + { ac_try='test -s conftest$ac_exeext'
31237 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31238 +- (eval $ac_try) 2>&5
31239 ++ { (case "(($ac_try" in
31240 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31241 ++ *) ac_try_echo=$ac_try;;
31242 ++esac
31243 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31244 ++ (eval "$ac_try") 2>&5
31245 + ac_status=$?
31246 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31247 + (exit $ac_status); }; }; then
31248 +@@ -26904,15 +30925,16 @@
31249 +
31250 + ac_cv_func_gethostbyname=no
31251 + fi
31252 +-rm -f conftest.err conftest.$ac_objext \
31253 ++
31254 ++rm -f core conftest.err conftest.$ac_objext \
31255 + conftest$ac_exeext conftest.$ac_ext
31256 + fi
31257 +-echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31258 +-echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
31259 ++{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31260 ++echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31261 +
31262 + if test $ac_cv_func_gethostbyname = no; then
31263 +- echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31264 +-echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
31265 ++ { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31266 ++echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31267 + if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31268 + echo $ECHO_N "(cached) $ECHO_C" >&6
31269 + else
31270 +@@ -26925,40 +30947,52 @@
31271 + cat >>conftest.$ac_ext <<_ACEOF
31272 + /* end confdefs.h. */
31273 +
31274 +-/* Override any gcc2 internal prototype to avoid an error. */
31275 ++/* Override any GCC internal prototype to avoid an error.
31276 ++ Use char because int might match the return type of a GCC
31277 ++ builtin and then its argument prototype would still apply. */
31278 + #ifdef __cplusplus
31279 + extern "C"
31280 + #endif
31281 +-/* We use char because int might match the return type of a gcc2
31282 +- builtin and then its argument prototype would still apply. */
31283 + char gethostbyname ();
31284 + int
31285 + main ()
31286 + {
31287 +-gethostbyname ();
31288 ++return gethostbyname ();
31289 + ;
31290 + return 0;
31291 + }
31292 + _ACEOF
31293 + rm -f conftest.$ac_objext conftest$ac_exeext
31294 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31295 +- (eval $ac_link) 2>conftest.er1
31296 ++if { (ac_try="$ac_link"
31297 ++case "(($ac_try" in
31298 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31299 ++ *) ac_try_echo=$ac_try;;
31300 ++esac
31301 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31302 ++ (eval "$ac_link") 2>conftest.er1
31303 + ac_status=$?
31304 + grep -v '^ *+' conftest.er1 >conftest.err
31305 + rm -f conftest.er1
31306 + cat conftest.err >&5
31307 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31308 + (exit $ac_status); } &&
31309 +- { ac_try='test -z "$ac_cxx_werror_flag"
31310 +- || test ! -s conftest.err'
31311 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31312 +- (eval $ac_try) 2>&5
31313 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31314 ++ { (case "(($ac_try" in
31315 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31316 ++ *) ac_try_echo=$ac_try;;
31317 ++esac
31318 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31319 ++ (eval "$ac_try") 2>&5
31320 + ac_status=$?
31321 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31322 + (exit $ac_status); }; } &&
31323 + { ac_try='test -s conftest$ac_exeext'
31324 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31325 +- (eval $ac_try) 2>&5
31326 ++ { (case "(($ac_try" in
31327 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31328 ++ *) ac_try_echo=$ac_try;;
31329 ++esac
31330 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31331 ++ (eval "$ac_try") 2>&5
31332 + ac_status=$?
31333 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31334 + (exit $ac_status); }; }; then
31335 +@@ -26969,19 +31003,20 @@
31336 +
31337 + ac_cv_lib_nsl_gethostbyname=no
31338 + fi
31339 +-rm -f conftest.err conftest.$ac_objext \
31340 ++
31341 ++rm -f core conftest.err conftest.$ac_objext \
31342 + conftest$ac_exeext conftest.$ac_ext
31343 + LIBS=$ac_check_lib_save_LIBS
31344 + fi
31345 +-echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31346 +-echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
31347 ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31348 ++echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31349 + if test $ac_cv_lib_nsl_gethostbyname = yes; then
31350 + X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31351 + fi
31352 +
31353 + if test $ac_cv_lib_nsl_gethostbyname = no; then
31354 +- echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31355 +-echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
31356 ++ { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31357 ++echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31358 + if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31359 + echo $ECHO_N "(cached) $ECHO_C" >&6
31360 + else
31361 +@@ -26994,40 +31029,52 @@
31362 + cat >>conftest.$ac_ext <<_ACEOF
31363 + /* end confdefs.h. */
31364 +
31365 +-/* Override any gcc2 internal prototype to avoid an error. */
31366 ++/* Override any GCC internal prototype to avoid an error.
31367 ++ Use char because int might match the return type of a GCC
31368 ++ builtin and then its argument prototype would still apply. */
31369 + #ifdef __cplusplus
31370 + extern "C"
31371 + #endif
31372 +-/* We use char because int might match the return type of a gcc2
31373 +- builtin and then its argument prototype would still apply. */
31374 + char gethostbyname ();
31375 + int
31376 + main ()
31377 + {
31378 +-gethostbyname ();
31379 ++return gethostbyname ();
31380 + ;
31381 + return 0;
31382 + }
31383 + _ACEOF
31384 + rm -f conftest.$ac_objext conftest$ac_exeext
31385 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31386 +- (eval $ac_link) 2>conftest.er1
31387 ++if { (ac_try="$ac_link"
31388 ++case "(($ac_try" in
31389 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31390 ++ *) ac_try_echo=$ac_try;;
31391 ++esac
31392 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31393 ++ (eval "$ac_link") 2>conftest.er1
31394 + ac_status=$?
31395 + grep -v '^ *+' conftest.er1 >conftest.err
31396 + rm -f conftest.er1
31397 + cat conftest.err >&5
31398 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31399 + (exit $ac_status); } &&
31400 +- { ac_try='test -z "$ac_cxx_werror_flag"
31401 +- || test ! -s conftest.err'
31402 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31403 +- (eval $ac_try) 2>&5
31404 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31405 ++ { (case "(($ac_try" in
31406 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31407 ++ *) ac_try_echo=$ac_try;;
31408 ++esac
31409 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31410 ++ (eval "$ac_try") 2>&5
31411 + ac_status=$?
31412 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31413 + (exit $ac_status); }; } &&
31414 + { ac_try='test -s conftest$ac_exeext'
31415 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31416 +- (eval $ac_try) 2>&5
31417 ++ { (case "(($ac_try" in
31418 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31419 ++ *) ac_try_echo=$ac_try;;
31420 ++esac
31421 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31422 ++ (eval "$ac_try") 2>&5
31423 + ac_status=$?
31424 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31425 + (exit $ac_status); }; }; then
31426 +@@ -27038,12 +31085,13 @@
31427 +
31428 + ac_cv_lib_bsd_gethostbyname=no
31429 + fi
31430 +-rm -f conftest.err conftest.$ac_objext \
31431 ++
31432 ++rm -f core conftest.err conftest.$ac_objext \
31433 + conftest$ac_exeext conftest.$ac_ext
31434 + LIBS=$ac_check_lib_save_LIBS
31435 + fi
31436 +-echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31437 +-echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
31438 ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31439 ++echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31440 + if test $ac_cv_lib_bsd_gethostbyname = yes; then
31441 + X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31442 + fi
31443 +@@ -27058,8 +31106,8 @@
31444 + # variants that don't use the name server (or something). -lsocket
31445 + # must be given before -lnsl if both are needed. We assume that
31446 + # if connect needs -lnsl, so does gethostbyname.
31447 +- echo "$as_me:$LINENO: checking for connect" >&5
31448 +-echo $ECHO_N "checking for connect... $ECHO_C" >&6
31449 ++ { echo "$as_me:$LINENO: checking for connect" >&5
31450 ++echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31451 + if test "${ac_cv_func_connect+set}" = set; then
31452 + echo $ECHO_N "(cached) $ECHO_C" >&6
31453 + else
31454 +@@ -27086,53 +31134,59 @@
31455 +
31456 + #undef connect
31457 +
31458 +-/* Override any gcc2 internal prototype to avoid an error. */
31459 ++/* Override any GCC internal prototype to avoid an error.
31460 ++ Use char because int might match the return type of a GCC
31461 ++ builtin and then its argument prototype would still apply. */
31462 + #ifdef __cplusplus
31463 + extern "C"
31464 +-{
31465 + #endif
31466 +-/* We use char because int might match the return type of a gcc2
31467 +- builtin and then its argument prototype would still apply. */
31468 + char connect ();
31469 + /* The GNU C library defines this for functions which it implements
31470 + to always fail with ENOSYS. Some functions are actually named
31471 + something starting with __ and the normal name is an alias. */
31472 +-#if defined (__stub_connect) || defined (__stub___connect)
31473 ++#if defined __stub_connect || defined __stub___connect
31474 + choke me
31475 +-#else
31476 +-char (*f) () = connect;
31477 +-#endif
31478 +-#ifdef __cplusplus
31479 +-}
31480 + #endif
31481 +
31482 + int
31483 + main ()
31484 + {
31485 +-return f != connect;
31486 ++return connect ();
31487 + ;
31488 + return 0;
31489 + }
31490 + _ACEOF
31491 + rm -f conftest.$ac_objext conftest$ac_exeext
31492 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31493 +- (eval $ac_link) 2>conftest.er1
31494 ++if { (ac_try="$ac_link"
31495 ++case "(($ac_try" in
31496 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31497 ++ *) ac_try_echo=$ac_try;;
31498 ++esac
31499 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31500 ++ (eval "$ac_link") 2>conftest.er1
31501 + ac_status=$?
31502 + grep -v '^ *+' conftest.er1 >conftest.err
31503 + rm -f conftest.er1
31504 + cat conftest.err >&5
31505 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31506 + (exit $ac_status); } &&
31507 +- { ac_try='test -z "$ac_cxx_werror_flag"
31508 +- || test ! -s conftest.err'
31509 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31510 +- (eval $ac_try) 2>&5
31511 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31512 ++ { (case "(($ac_try" in
31513 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31514 ++ *) ac_try_echo=$ac_try;;
31515 ++esac
31516 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31517 ++ (eval "$ac_try") 2>&5
31518 + ac_status=$?
31519 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31520 + (exit $ac_status); }; } &&
31521 + { ac_try='test -s conftest$ac_exeext'
31522 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31523 +- (eval $ac_try) 2>&5
31524 ++ { (case "(($ac_try" in
31525 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31526 ++ *) ac_try_echo=$ac_try;;
31527 ++esac
31528 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31529 ++ (eval "$ac_try") 2>&5
31530 + ac_status=$?
31531 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31532 + (exit $ac_status); }; }; then
31533 +@@ -27143,15 +31197,16 @@
31534 +
31535 + ac_cv_func_connect=no
31536 + fi
31537 +-rm -f conftest.err conftest.$ac_objext \
31538 ++
31539 ++rm -f core conftest.err conftest.$ac_objext \
31540 + conftest$ac_exeext conftest.$ac_ext
31541 + fi
31542 +-echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31543 +-echo "${ECHO_T}$ac_cv_func_connect" >&6
31544 ++{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31545 ++echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31546 +
31547 + if test $ac_cv_func_connect = no; then
31548 +- echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31549 +-echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
31550 ++ { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31551 ++echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31552 + if test "${ac_cv_lib_socket_connect+set}" = set; then
31553 + echo $ECHO_N "(cached) $ECHO_C" >&6
31554 + else
31555 +@@ -27164,40 +31219,52 @@
31556 + cat >>conftest.$ac_ext <<_ACEOF
31557 + /* end confdefs.h. */
31558 +
31559 +-/* Override any gcc2 internal prototype to avoid an error. */
31560 ++/* Override any GCC internal prototype to avoid an error.
31561 ++ Use char because int might match the return type of a GCC
31562 ++ builtin and then its argument prototype would still apply. */
31563 + #ifdef __cplusplus
31564 + extern "C"
31565 + #endif
31566 +-/* We use char because int might match the return type of a gcc2
31567 +- builtin and then its argument prototype would still apply. */
31568 + char connect ();
31569 + int
31570 + main ()
31571 + {
31572 +-connect ();
31573 ++return connect ();
31574 + ;
31575 + return 0;
31576 + }
31577 + _ACEOF
31578 + rm -f conftest.$ac_objext conftest$ac_exeext
31579 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31580 +- (eval $ac_link) 2>conftest.er1
31581 ++if { (ac_try="$ac_link"
31582 ++case "(($ac_try" in
31583 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31584 ++ *) ac_try_echo=$ac_try;;
31585 ++esac
31586 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31587 ++ (eval "$ac_link") 2>conftest.er1
31588 + ac_status=$?
31589 + grep -v '^ *+' conftest.er1 >conftest.err
31590 + rm -f conftest.er1
31591 + cat conftest.err >&5
31592 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31593 + (exit $ac_status); } &&
31594 +- { ac_try='test -z "$ac_cxx_werror_flag"
31595 +- || test ! -s conftest.err'
31596 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31597 +- (eval $ac_try) 2>&5
31598 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31599 ++ { (case "(($ac_try" in
31600 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31601 ++ *) ac_try_echo=$ac_try;;
31602 ++esac
31603 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31604 ++ (eval "$ac_try") 2>&5
31605 + ac_status=$?
31606 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31607 + (exit $ac_status); }; } &&
31608 + { ac_try='test -s conftest$ac_exeext'
31609 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31610 +- (eval $ac_try) 2>&5
31611 ++ { (case "(($ac_try" in
31612 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31613 ++ *) ac_try_echo=$ac_try;;
31614 ++esac
31615 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31616 ++ (eval "$ac_try") 2>&5
31617 + ac_status=$?
31618 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31619 + (exit $ac_status); }; }; then
31620 +@@ -27208,12 +31275,13 @@
31621 +
31622 + ac_cv_lib_socket_connect=no
31623 + fi
31624 +-rm -f conftest.err conftest.$ac_objext \
31625 ++
31626 ++rm -f core conftest.err conftest.$ac_objext \
31627 + conftest$ac_exeext conftest.$ac_ext
31628 + LIBS=$ac_check_lib_save_LIBS
31629 + fi
31630 +-echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31631 +-echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
31632 ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31633 ++echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31634 + if test $ac_cv_lib_socket_connect = yes; then
31635 + X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31636 + fi
31637 +@@ -27221,8 +31289,8 @@
31638 + fi
31639 +
31640 + # Guillermo Gomez says -lposix is necessary on A/UX.
31641 +- echo "$as_me:$LINENO: checking for remove" >&5
31642 +-echo $ECHO_N "checking for remove... $ECHO_C" >&6
31643 ++ { echo "$as_me:$LINENO: checking for remove" >&5
31644 ++echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31645 + if test "${ac_cv_func_remove+set}" = set; then
31646 + echo $ECHO_N "(cached) $ECHO_C" >&6
31647 + else
31648 +@@ -27249,53 +31317,59 @@
31649 +
31650 + #undef remove
31651 +
31652 +-/* Override any gcc2 internal prototype to avoid an error. */
31653 ++/* Override any GCC internal prototype to avoid an error.
31654 ++ Use char because int might match the return type of a GCC
31655 ++ builtin and then its argument prototype would still apply. */
31656 + #ifdef __cplusplus
31657 + extern "C"
31658 +-{
31659 + #endif
31660 +-/* We use char because int might match the return type of a gcc2
31661 +- builtin and then its argument prototype would still apply. */
31662 + char remove ();
31663 + /* The GNU C library defines this for functions which it implements
31664 + to always fail with ENOSYS. Some functions are actually named
31665 + something starting with __ and the normal name is an alias. */
31666 +-#if defined (__stub_remove) || defined (__stub___remove)
31667 ++#if defined __stub_remove || defined __stub___remove
31668 + choke me
31669 +-#else
31670 +-char (*f) () = remove;
31671 +-#endif
31672 +-#ifdef __cplusplus
31673 +-}
31674 + #endif
31675 +
31676 + int
31677 + main ()
31678 + {
31679 +-return f != remove;
31680 ++return remove ();
31681 + ;
31682 + return 0;
31683 + }
31684 + _ACEOF
31685 + rm -f conftest.$ac_objext conftest$ac_exeext
31686 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31687 +- (eval $ac_link) 2>conftest.er1
31688 ++if { (ac_try="$ac_link"
31689 ++case "(($ac_try" in
31690 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31691 ++ *) ac_try_echo=$ac_try;;
31692 ++esac
31693 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31694 ++ (eval "$ac_link") 2>conftest.er1
31695 + ac_status=$?
31696 + grep -v '^ *+' conftest.er1 >conftest.err
31697 + rm -f conftest.er1
31698 + cat conftest.err >&5
31699 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31700 + (exit $ac_status); } &&
31701 +- { ac_try='test -z "$ac_cxx_werror_flag"
31702 +- || test ! -s conftest.err'
31703 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31704 +- (eval $ac_try) 2>&5
31705 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31706 ++ { (case "(($ac_try" in
31707 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31708 ++ *) ac_try_echo=$ac_try;;
31709 ++esac
31710 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31711 ++ (eval "$ac_try") 2>&5
31712 + ac_status=$?
31713 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31714 + (exit $ac_status); }; } &&
31715 + { ac_try='test -s conftest$ac_exeext'
31716 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31717 +- (eval $ac_try) 2>&5
31718 ++ { (case "(($ac_try" in
31719 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31720 ++ *) ac_try_echo=$ac_try;;
31721 ++esac
31722 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31723 ++ (eval "$ac_try") 2>&5
31724 + ac_status=$?
31725 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31726 + (exit $ac_status); }; }; then
31727 +@@ -27306,15 +31380,16 @@
31728 +
31729 + ac_cv_func_remove=no
31730 + fi
31731 +-rm -f conftest.err conftest.$ac_objext \
31732 ++
31733 ++rm -f core conftest.err conftest.$ac_objext \
31734 + conftest$ac_exeext conftest.$ac_ext
31735 + fi
31736 +-echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31737 +-echo "${ECHO_T}$ac_cv_func_remove" >&6
31738 ++{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31739 ++echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31740 +
31741 + if test $ac_cv_func_remove = no; then
31742 +- echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31743 +-echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
31744 ++ { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31745 ++echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31746 + if test "${ac_cv_lib_posix_remove+set}" = set; then
31747 + echo $ECHO_N "(cached) $ECHO_C" >&6
31748 + else
31749 +@@ -27327,40 +31402,52 @@
31750 + cat >>conftest.$ac_ext <<_ACEOF
31751 + /* end confdefs.h. */
31752 +
31753 +-/* Override any gcc2 internal prototype to avoid an error. */
31754 ++/* Override any GCC internal prototype to avoid an error.
31755 ++ Use char because int might match the return type of a GCC
31756 ++ builtin and then its argument prototype would still apply. */
31757 + #ifdef __cplusplus
31758 + extern "C"
31759 + #endif
31760 +-/* We use char because int might match the return type of a gcc2
31761 +- builtin and then its argument prototype would still apply. */
31762 + char remove ();
31763 + int
31764 + main ()
31765 + {
31766 +-remove ();
31767 ++return remove ();
31768 + ;
31769 + return 0;
31770 + }
31771 + _ACEOF
31772 + rm -f conftest.$ac_objext conftest$ac_exeext
31773 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31774 +- (eval $ac_link) 2>conftest.er1
31775 ++if { (ac_try="$ac_link"
31776 ++case "(($ac_try" in
31777 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31778 ++ *) ac_try_echo=$ac_try;;
31779 ++esac
31780 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31781 ++ (eval "$ac_link") 2>conftest.er1
31782 + ac_status=$?
31783 + grep -v '^ *+' conftest.er1 >conftest.err
31784 + rm -f conftest.er1
31785 + cat conftest.err >&5
31786 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31787 + (exit $ac_status); } &&
31788 +- { ac_try='test -z "$ac_cxx_werror_flag"
31789 +- || test ! -s conftest.err'
31790 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31791 +- (eval $ac_try) 2>&5
31792 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31793 ++ { (case "(($ac_try" in
31794 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31795 ++ *) ac_try_echo=$ac_try;;
31796 ++esac
31797 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31798 ++ (eval "$ac_try") 2>&5
31799 + ac_status=$?
31800 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31801 + (exit $ac_status); }; } &&
31802 + { ac_try='test -s conftest$ac_exeext'
31803 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31804 +- (eval $ac_try) 2>&5
31805 ++ { (case "(($ac_try" in
31806 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31807 ++ *) ac_try_echo=$ac_try;;
31808 ++esac
31809 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31810 ++ (eval "$ac_try") 2>&5
31811 + ac_status=$?
31812 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31813 + (exit $ac_status); }; }; then
31814 +@@ -27371,12 +31458,13 @@
31815 +
31816 + ac_cv_lib_posix_remove=no
31817 + fi
31818 +-rm -f conftest.err conftest.$ac_objext \
31819 ++
31820 ++rm -f core conftest.err conftest.$ac_objext \
31821 + conftest$ac_exeext conftest.$ac_ext
31822 + LIBS=$ac_check_lib_save_LIBS
31823 + fi
31824 +-echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31825 +-echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
31826 ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31827 ++echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31828 + if test $ac_cv_lib_posix_remove = yes; then
31829 + X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31830 + fi
31831 +@@ -27384,8 +31472,8 @@
31832 + fi
31833 +
31834 + # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31835 +- echo "$as_me:$LINENO: checking for shmat" >&5
31836 +-echo $ECHO_N "checking for shmat... $ECHO_C" >&6
31837 ++ { echo "$as_me:$LINENO: checking for shmat" >&5
31838 ++echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31839 + if test "${ac_cv_func_shmat+set}" = set; then
31840 + echo $ECHO_N "(cached) $ECHO_C" >&6
31841 + else
31842 +@@ -27412,77 +31500,347 @@
31843 +
31844 + #undef shmat
31845 +
31846 +-/* Override any gcc2 internal prototype to avoid an error. */
31847 ++/* Override any GCC internal prototype to avoid an error.
31848 ++ Use char because int might match the return type of a GCC
31849 ++ builtin and then its argument prototype would still apply. */
31850 + #ifdef __cplusplus
31851 + extern "C"
31852 +-{
31853 + #endif
31854 +-/* We use char because int might match the return type of a gcc2
31855 +- builtin and then its argument prototype would still apply. */
31856 + char shmat ();
31857 + /* The GNU C library defines this for functions which it implements
31858 + to always fail with ENOSYS. Some functions are actually named
31859 + something starting with __ and the normal name is an alias. */
31860 +-#if defined (__stub_shmat) || defined (__stub___shmat)
31861 ++#if defined __stub_shmat || defined __stub___shmat
31862 + choke me
31863 +-#else
31864 +-char (*f) () = shmat;
31865 + #endif
31866 ++
31867 ++int
31868 ++main ()
31869 ++{
31870 ++return shmat ();
31871 ++ ;
31872 ++ return 0;
31873 ++}
31874 ++_ACEOF
31875 ++rm -f conftest.$ac_objext conftest$ac_exeext
31876 ++if { (ac_try="$ac_link"
31877 ++case "(($ac_try" in
31878 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31879 ++ *) ac_try_echo=$ac_try;;
31880 ++esac
31881 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31882 ++ (eval "$ac_link") 2>conftest.er1
31883 ++ ac_status=$?
31884 ++ grep -v '^ *+' conftest.er1 >conftest.err
31885 ++ rm -f conftest.er1
31886 ++ cat conftest.err >&5
31887 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
31888 ++ (exit $ac_status); } &&
31889 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31890 ++ { (case "(($ac_try" in
31891 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31892 ++ *) ac_try_echo=$ac_try;;
31893 ++esac
31894 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31895 ++ (eval "$ac_try") 2>&5
31896 ++ ac_status=$?
31897 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
31898 ++ (exit $ac_status); }; } &&
31899 ++ { ac_try='test -s conftest$ac_exeext'
31900 ++ { (case "(($ac_try" in
31901 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31902 ++ *) ac_try_echo=$ac_try;;
31903 ++esac
31904 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31905 ++ (eval "$ac_try") 2>&5
31906 ++ ac_status=$?
31907 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
31908 ++ (exit $ac_status); }; }; then
31909 ++ ac_cv_func_shmat=yes
31910 ++else
31911 ++ echo "$as_me: failed program was:" >&5
31912 ++sed 's/^/| /' conftest.$ac_ext >&5
31913 ++
31914 ++ ac_cv_func_shmat=no
31915 ++fi
31916 ++
31917 ++rm -f core conftest.err conftest.$ac_objext \
31918 ++ conftest$ac_exeext conftest.$ac_ext
31919 ++fi
31920 ++{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31921 ++echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31922 ++
31923 ++ if test $ac_cv_func_shmat = no; then
31924 ++ { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31925 ++echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31926 ++if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31927 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
31928 ++else
31929 ++ ac_check_lib_save_LIBS=$LIBS
31930 ++LIBS="-lipc $LIBS"
31931 ++cat >conftest.$ac_ext <<_ACEOF
31932 ++/* confdefs.h. */
31933 ++_ACEOF
31934 ++cat confdefs.h >>conftest.$ac_ext
31935 ++cat >>conftest.$ac_ext <<_ACEOF
31936 ++/* end confdefs.h. */
31937 ++
31938 ++/* Override any GCC internal prototype to avoid an error.
31939 ++ Use char because int might match the return type of a GCC
31940 ++ builtin and then its argument prototype would still apply. */
31941 + #ifdef __cplusplus
31942 ++extern "C"
31943 ++#endif
31944 ++char shmat ();
31945 ++int
31946 ++main ()
31947 ++{
31948 ++return shmat ();
31949 ++ ;
31950 ++ return 0;
31951 + }
31952 ++_ACEOF
31953 ++rm -f conftest.$ac_objext conftest$ac_exeext
31954 ++if { (ac_try="$ac_link"
31955 ++case "(($ac_try" in
31956 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31957 ++ *) ac_try_echo=$ac_try;;
31958 ++esac
31959 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31960 ++ (eval "$ac_link") 2>conftest.er1
31961 ++ ac_status=$?
31962 ++ grep -v '^ *+' conftest.er1 >conftest.err
31963 ++ rm -f conftest.er1
31964 ++ cat conftest.err >&5
31965 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
31966 ++ (exit $ac_status); } &&
31967 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31968 ++ { (case "(($ac_try" in
31969 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31970 ++ *) ac_try_echo=$ac_try;;
31971 ++esac
31972 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31973 ++ (eval "$ac_try") 2>&5
31974 ++ ac_status=$?
31975 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
31976 ++ (exit $ac_status); }; } &&
31977 ++ { ac_try='test -s conftest$ac_exeext'
31978 ++ { (case "(($ac_try" in
31979 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31980 ++ *) ac_try_echo=$ac_try;;
31981 ++esac
31982 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31983 ++ (eval "$ac_try") 2>&5
31984 ++ ac_status=$?
31985 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
31986 ++ (exit $ac_status); }; }; then
31987 ++ ac_cv_lib_ipc_shmat=yes
31988 ++else
31989 ++ echo "$as_me: failed program was:" >&5
31990 ++sed 's/^/| /' conftest.$ac_ext >&5
31991 ++
31992 ++ ac_cv_lib_ipc_shmat=no
31993 ++fi
31994 ++
31995 ++rm -f core conftest.err conftest.$ac_objext \
31996 ++ conftest$ac_exeext conftest.$ac_ext
31997 ++LIBS=$ac_check_lib_save_LIBS
31998 ++fi
31999 ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32000 ++echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32001 ++if test $ac_cv_lib_ipc_shmat = yes; then
32002 ++ X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32003 ++fi
32004 ++
32005 ++ fi
32006 ++ fi
32007 ++
32008 ++ # Check for libraries that X11R6 Xt/Xaw programs need.
32009 ++ ac_save_LDFLAGS=$LDFLAGS
32010 ++ test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32011 ++ # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32012 ++ # check for ICE first), but we must link in the order -lSM -lICE or
32013 ++ # we get undefined symbols. So assume we have SM if we have ICE.
32014 ++ # These have to be linked with before -lX11, unlike the other
32015 ++ # libraries we check for below, so use a different variable.
32016 ++ # John Interrante, Karl Berry
32017 ++ { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32018 ++echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32019 ++if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32020 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
32021 ++else
32022 ++ ac_check_lib_save_LIBS=$LIBS
32023 ++LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32024 ++cat >conftest.$ac_ext <<_ACEOF
32025 ++/* confdefs.h. */
32026 ++_ACEOF
32027 ++cat confdefs.h >>conftest.$ac_ext
32028 ++cat >>conftest.$ac_ext <<_ACEOF
32029 ++/* end confdefs.h. */
32030 ++
32031 ++/* Override any GCC internal prototype to avoid an error.
32032 ++ Use char because int might match the return type of a GCC
32033 ++ builtin and then its argument prototype would still apply. */
32034 ++#ifdef __cplusplus
32035 ++extern "C"
32036 + #endif
32037 ++char IceConnectionNumber ();
32038 ++int
32039 ++main ()
32040 ++{
32041 ++return IceConnectionNumber ();
32042 ++ ;
32043 ++ return 0;
32044 ++}
32045 ++_ACEOF
32046 ++rm -f conftest.$ac_objext conftest$ac_exeext
32047 ++if { (ac_try="$ac_link"
32048 ++case "(($ac_try" in
32049 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32050 ++ *) ac_try_echo=$ac_try;;
32051 ++esac
32052 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32053 ++ (eval "$ac_link") 2>conftest.er1
32054 ++ ac_status=$?
32055 ++ grep -v '^ *+' conftest.er1 >conftest.err
32056 ++ rm -f conftest.er1
32057 ++ cat conftest.err >&5
32058 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
32059 ++ (exit $ac_status); } &&
32060 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32061 ++ { (case "(($ac_try" in
32062 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32063 ++ *) ac_try_echo=$ac_try;;
32064 ++esac
32065 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32066 ++ (eval "$ac_try") 2>&5
32067 ++ ac_status=$?
32068 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
32069 ++ (exit $ac_status); }; } &&
32070 ++ { ac_try='test -s conftest$ac_exeext'
32071 ++ { (case "(($ac_try" in
32072 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32073 ++ *) ac_try_echo=$ac_try;;
32074 ++esac
32075 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32076 ++ (eval "$ac_try") 2>&5
32077 ++ ac_status=$?
32078 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
32079 ++ (exit $ac_status); }; }; then
32080 ++ ac_cv_lib_ICE_IceConnectionNumber=yes
32081 ++else
32082 ++ echo "$as_me: failed program was:" >&5
32083 ++sed 's/^/| /' conftest.$ac_ext >&5
32084 ++
32085 ++ ac_cv_lib_ICE_IceConnectionNumber=no
32086 ++fi
32087 ++
32088 ++rm -f core conftest.err conftest.$ac_objext \
32089 ++ conftest$ac_exeext conftest.$ac_ext
32090 ++LIBS=$ac_check_lib_save_LIBS
32091 ++fi
32092 ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32093 ++echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32094 ++if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32095 ++ X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32096 ++fi
32097 ++
32098 ++ LDFLAGS=$ac_save_LDFLAGS
32099 +
32100 ++fi
32101 ++
32102 ++x_libraries=`echo "$x_libraries" | sed -e "s,^$usr_lib\$,,"`
32103 ++X_LIBS=`echo "$X_LIBS " | sed -e "$no_usr_lib"`
32104 ++{ echo "$as_me:$LINENO: checking for XextCreateExtension in -lXext" >&5
32105 ++echo $ECHO_N "checking for XextCreateExtension in -lXext... $ECHO_C" >&6; }
32106 ++if test "${ac_cv_lib_Xext_XextCreateExtension+set}" = set; then
32107 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
32108 ++else
32109 ++ ac_check_lib_save_LIBS=$LIBS
32110 ++LIBS="-lXext $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
32111 ++cat >conftest.$ac_ext <<_ACEOF
32112 ++/* confdefs.h. */
32113 ++_ACEOF
32114 ++cat confdefs.h >>conftest.$ac_ext
32115 ++cat >>conftest.$ac_ext <<_ACEOF
32116 ++/* end confdefs.h. */
32117 ++
32118 ++/* Override any GCC internal prototype to avoid an error.
32119 ++ Use char because int might match the return type of a GCC
32120 ++ builtin and then its argument prototype would still apply. */
32121 ++#ifdef __cplusplus
32122 ++extern "C"
32123 ++#endif
32124 ++char XextCreateExtension ();
32125 + int
32126 + main ()
32127 + {
32128 +-return f != shmat;
32129 ++return XextCreateExtension ();
32130 + ;
32131 + return 0;
32132 + }
32133 + _ACEOF
32134 + rm -f conftest.$ac_objext conftest$ac_exeext
32135 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32136 +- (eval $ac_link) 2>conftest.er1
32137 ++if { (ac_try="$ac_link"
32138 ++case "(($ac_try" in
32139 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32140 ++ *) ac_try_echo=$ac_try;;
32141 ++esac
32142 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32143 ++ (eval "$ac_link") 2>conftest.er1
32144 + ac_status=$?
32145 + grep -v '^ *+' conftest.er1 >conftest.err
32146 + rm -f conftest.er1
32147 + cat conftest.err >&5
32148 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32149 + (exit $ac_status); } &&
32150 +- { ac_try='test -z "$ac_cxx_werror_flag"
32151 +- || test ! -s conftest.err'
32152 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32153 +- (eval $ac_try) 2>&5
32154 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32155 ++ { (case "(($ac_try" in
32156 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32157 ++ *) ac_try_echo=$ac_try;;
32158 ++esac
32159 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32160 ++ (eval "$ac_try") 2>&5
32161 + ac_status=$?
32162 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32163 + (exit $ac_status); }; } &&
32164 + { ac_try='test -s conftest$ac_exeext'
32165 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32166 +- (eval $ac_try) 2>&5
32167 ++ { (case "(($ac_try" in
32168 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32169 ++ *) ac_try_echo=$ac_try;;
32170 ++esac
32171 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32172 ++ (eval "$ac_try") 2>&5
32173 + ac_status=$?
32174 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32175 + (exit $ac_status); }; }; then
32176 +- ac_cv_func_shmat=yes
32177 ++ ac_cv_lib_Xext_XextCreateExtension=yes
32178 + else
32179 + echo "$as_me: failed program was:" >&5
32180 + sed 's/^/| /' conftest.$ac_ext >&5
32181 +
32182 +-ac_cv_func_shmat=no
32183 ++ ac_cv_lib_Xext_XextCreateExtension=no
32184 ++fi
32185 ++
32186 ++rm -f core conftest.err conftest.$ac_objext \
32187 ++ conftest$ac_exeext conftest.$ac_ext
32188 ++LIBS=$ac_check_lib_save_LIBS
32189 + fi
32190 +-rm -f conftest.err conftest.$ac_objext \
32191 +- conftest$ac_exeext conftest.$ac_ext
32192 ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XextCreateExtension" >&5
32193 ++echo "${ECHO_T}$ac_cv_lib_Xext_XextCreateExtension" >&6; }
32194 ++if test $ac_cv_lib_Xext_XextCreateExtension = yes; then
32195 ++ Xext="-lXext"
32196 ++else
32197 ++ Xext=
32198 + fi
32199 +-echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32200 +-echo "${ECHO_T}$ac_cv_func_shmat" >&6
32201 +
32202 +- if test $ac_cv_func_shmat = no; then
32203 +- echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32204 +-echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
32205 +-if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32206 ++{ echo "$as_me:$LINENO: checking for XtMainLoop in -lXt" >&5
32207 ++echo $ECHO_N "checking for XtMainLoop in -lXt... $ECHO_C" >&6; }
32208 ++if test "${ac_cv_lib_Xt_XtMainLoop+set}" = set; then
32209 + echo $ECHO_N "(cached) $ECHO_C" >&6
32210 + else
32211 + ac_check_lib_save_LIBS=$LIBS
32212 +-LIBS="-lipc $LIBS"
32213 ++LIBS="-lXt $Xext $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
32214 + cat >conftest.$ac_ext <<_ACEOF
32215 + /* confdefs.h. */
32216 + _ACEOF
32217 +@@ -27490,79 +31848,82 @@
32218 + cat >>conftest.$ac_ext <<_ACEOF
32219 + /* end confdefs.h. */
32220 +
32221 +-/* Override any gcc2 internal prototype to avoid an error. */
32222 ++/* Override any GCC internal prototype to avoid an error.
32223 ++ Use char because int might match the return type of a GCC
32224 ++ builtin and then its argument prototype would still apply. */
32225 + #ifdef __cplusplus
32226 + extern "C"
32227 + #endif
32228 +-/* We use char because int might match the return type of a gcc2
32229 +- builtin and then its argument prototype would still apply. */
32230 +-char shmat ();
32231 ++char XtMainLoop ();
32232 + int
32233 + main ()
32234 + {
32235 +-shmat ();
32236 ++return XtMainLoop ();
32237 + ;
32238 + return 0;
32239 + }
32240 + _ACEOF
32241 + rm -f conftest.$ac_objext conftest$ac_exeext
32242 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32243 +- (eval $ac_link) 2>conftest.er1
32244 ++if { (ac_try="$ac_link"
32245 ++case "(($ac_try" in
32246 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32247 ++ *) ac_try_echo=$ac_try;;
32248 ++esac
32249 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32250 ++ (eval "$ac_link") 2>conftest.er1
32251 + ac_status=$?
32252 + grep -v '^ *+' conftest.er1 >conftest.err
32253 + rm -f conftest.er1
32254 + cat conftest.err >&5
32255 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32256 + (exit $ac_status); } &&
32257 +- { ac_try='test -z "$ac_cxx_werror_flag"
32258 +- || test ! -s conftest.err'
32259 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32260 +- (eval $ac_try) 2>&5
32261 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32262 ++ { (case "(($ac_try" in
32263 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32264 ++ *) ac_try_echo=$ac_try;;
32265 ++esac
32266 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32267 ++ (eval "$ac_try") 2>&5
32268 + ac_status=$?
32269 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32270 + (exit $ac_status); }; } &&
32271 + { ac_try='test -s conftest$ac_exeext'
32272 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32273 +- (eval $ac_try) 2>&5
32274 ++ { (case "(($ac_try" in
32275 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32276 ++ *) ac_try_echo=$ac_try;;
32277 ++esac
32278 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32279 ++ (eval "$ac_try") 2>&5
32280 + ac_status=$?
32281 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32282 + (exit $ac_status); }; }; then
32283 +- ac_cv_lib_ipc_shmat=yes
32284 ++ ac_cv_lib_Xt_XtMainLoop=yes
32285 + else
32286 + echo "$as_me: failed program was:" >&5
32287 + sed 's/^/| /' conftest.$ac_ext >&5
32288 +
32289 +-ac_cv_lib_ipc_shmat=no
32290 ++ ac_cv_lib_Xt_XtMainLoop=no
32291 + fi
32292 +-rm -f conftest.err conftest.$ac_objext \
32293 ++
32294 ++rm -f core conftest.err conftest.$ac_objext \
32295 + conftest$ac_exeext conftest.$ac_ext
32296 + LIBS=$ac_check_lib_save_LIBS
32297 + fi
32298 +-echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32299 +-echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
32300 +-if test $ac_cv_lib_ipc_shmat = yes; then
32301 +- X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32302 +-fi
32303 +-
32304 +- fi
32305 ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xt_XtMainLoop" >&5
32306 ++echo "${ECHO_T}$ac_cv_lib_Xt_XtMainLoop" >&6; }
32307 ++if test $ac_cv_lib_Xt_XtMainLoop = yes; then
32308 ++ Xt="-lXt"
32309 ++else
32310 ++ Xt=
32311 + fi
32312 +
32313 +- # Check for libraries that X11R6 Xt/Xaw programs need.
32314 +- ac_save_LDFLAGS=$LDFLAGS
32315 +- test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32316 +- # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32317 +- # check for ICE first), but we must link in the order -lSM -lICE or
32318 +- # we get undefined symbols. So assume we have SM if we have ICE.
32319 +- # These have to be linked with before -lX11, unlike the other
32320 +- # libraries we check for below, so use a different variable.
32321 +- # John Interrante, Karl Berry
32322 +- echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32323 +-echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
32324 +-if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32325 ++{ echo "$as_me:$LINENO: checking for XmuMakeAtom in -lXmu" >&5
32326 ++echo $ECHO_N "checking for XmuMakeAtom in -lXmu... $ECHO_C" >&6; }
32327 ++if test "${ac_cv_lib_Xmu_XmuMakeAtom+set}" = set; then
32328 + echo $ECHO_N "(cached) $ECHO_C" >&6
32329 + else
32330 + ac_check_lib_save_LIBS=$LIBS
32331 +-LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32332 ++LIBS="-lXmu $Xt $Xext $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
32333 + cat >conftest.$ac_ext <<_ACEOF
32334 + /* confdefs.h. */
32335 + _ACEOF
32336 +@@ -27570,73 +31931,172 @@
32337 + cat >>conftest.$ac_ext <<_ACEOF
32338 + /* end confdefs.h. */
32339 +
32340 +-/* Override any gcc2 internal prototype to avoid an error. */
32341 ++/* Override any GCC internal prototype to avoid an error.
32342 ++ Use char because int might match the return type of a GCC
32343 ++ builtin and then its argument prototype would still apply. */
32344 + #ifdef __cplusplus
32345 + extern "C"
32346 + #endif
32347 +-/* We use char because int might match the return type of a gcc2
32348 +- builtin and then its argument prototype would still apply. */
32349 +-char IceConnectionNumber ();
32350 ++char XmuMakeAtom ();
32351 + int
32352 + main ()
32353 + {
32354 +-IceConnectionNumber ();
32355 ++return XmuMakeAtom ();
32356 + ;
32357 + return 0;
32358 + }
32359 + _ACEOF
32360 + rm -f conftest.$ac_objext conftest$ac_exeext
32361 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32362 +- (eval $ac_link) 2>conftest.er1
32363 ++if { (ac_try="$ac_link"
32364 ++case "(($ac_try" in
32365 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32366 ++ *) ac_try_echo=$ac_try;;
32367 ++esac
32368 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32369 ++ (eval "$ac_link") 2>conftest.er1
32370 + ac_status=$?
32371 + grep -v '^ *+' conftest.er1 >conftest.err
32372 + rm -f conftest.er1
32373 + cat conftest.err >&5
32374 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32375 + (exit $ac_status); } &&
32376 +- { ac_try='test -z "$ac_cxx_werror_flag"
32377 +- || test ! -s conftest.err'
32378 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32379 +- (eval $ac_try) 2>&5
32380 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32381 ++ { (case "(($ac_try" in
32382 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32383 ++ *) ac_try_echo=$ac_try;;
32384 ++esac
32385 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32386 ++ (eval "$ac_try") 2>&5
32387 + ac_status=$?
32388 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32389 + (exit $ac_status); }; } &&
32390 + { ac_try='test -s conftest$ac_exeext'
32391 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32392 +- (eval $ac_try) 2>&5
32393 ++ { (case "(($ac_try" in
32394 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32395 ++ *) ac_try_echo=$ac_try;;
32396 ++esac
32397 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32398 ++ (eval "$ac_try") 2>&5
32399 + ac_status=$?
32400 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32401 + (exit $ac_status); }; }; then
32402 +- ac_cv_lib_ICE_IceConnectionNumber=yes
32403 ++ ac_cv_lib_Xmu_XmuMakeAtom=yes
32404 + else
32405 + echo "$as_me: failed program was:" >&5
32406 + sed 's/^/| /' conftest.$ac_ext >&5
32407 +
32408 +-ac_cv_lib_ICE_IceConnectionNumber=no
32409 ++ ac_cv_lib_Xmu_XmuMakeAtom=no
32410 + fi
32411 +-rm -f conftest.err conftest.$ac_objext \
32412 ++
32413 ++rm -f core conftest.err conftest.$ac_objext \
32414 + conftest$ac_exeext conftest.$ac_ext
32415 + LIBS=$ac_check_lib_save_LIBS
32416 + fi
32417 +-echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32418 +-echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
32419 +-if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32420 +- X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32421 ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuMakeAtom" >&5
32422 ++echo "${ECHO_T}$ac_cv_lib_Xmu_XmuMakeAtom" >&6; }
32423 ++if test $ac_cv_lib_Xmu_XmuMakeAtom = yes; then
32424 ++ Xmu="-lXmu"
32425 ++else
32426 ++ Xmu=
32427 + fi
32428 +
32429 +- LDFLAGS=$ac_save_LDFLAGS
32430 ++LDFLAGS=$orig_LDFLAGS
32431 ++X_ALL_LIBS="$Xmu $Xt $Xext $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
32432 +
32433 ++## OpenGL
32434 ++if test "$with_opengl" != "no"; then
32435 ++ if test "${with_opengl-yes}" != yes; then
32436 ++ OPENGL_PATH=$with_opengl
32437 + fi
32438 +-
32439 +-x_libraries=`echo "$x_libraries" | sed -e "s,^$usr_lib\$,,"`
32440 +-X_LIBS=`echo "$X_LIBS " | sed -e "$no_usr_lib"`
32441 +-echo "$as_me:$LINENO: checking for XextCreateExtension in -lXext" >&5
32442 +-echo $ECHO_N "checking for XextCreateExtension in -lXext... $ECHO_C" >&6
32443 +-if test "${ac_cv_lib_Xext_XextCreateExtension+set}" = set; then
32444 ++ if test -d "$OPENGL_PATH"; then
32445 ++ ncbi_fix_dir_tmp=`if cd $OPENGL_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
32446 ++ case "$ncbi_fix_dir_tmp" in
32447 ++ /.*) ncbi_fix_dir_tmp2=`cd $OPENGL_PATH && $smart_pwd 2>/dev/null`
32448 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
32449 ++ OPENGL_PATH=$ncbi_fix_dir_tmp2
32450 ++ else
32451 ++ case "$OPENGL_PATH" in
32452 ++ /*) ;;
32453 ++ * ) OPENGL_PATH=$ncbi_fix_dir_tmp ;;
32454 ++ esac
32455 ++ fi
32456 ++ ;;
32457 ++ /*) OPENGL_PATH=$ncbi_fix_dir_tmp ;;
32458 ++ esac
32459 ++ fi
32460 ++ case "$OSTYPE" in
32461 ++ darwin) # Use native interface
32462 ++ OPENGL_LIBS="-framework AGL -framework OpenGL"
32463 ++ ;;
32464 ++ # cygwin) ... ;;
32465 ++ *) # Default -- assume X-based
32466 ++ LIBS="$orig_LIBS"
32467 ++ CPPFLAGS="$orig_CPPFLAGS"
32468 ++ LDFLAGS="$orig_LDFLAGS $X_LIBS"
32469 ++ if test -d "$OPENGL_PATH/include/GL"; then
32470 ++ OPENGL_INCLUDE="-I$OPENGL_PATH/include $X_CFLAGS"
32471 ++ else
32472 ++ OPENGL_INCLUDE=$X_CFLAGS
32473 ++ fi
32474 ++ if test -n "$OPENGL_PATH" -a -d "$OPENGL_PATH/lib${bit64_sfx}"; then
32475 ++ ncbi_rp_L_flags=
32476 ++ ncbi_rp_L_sep=$CONF_f_libpath
32477 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
32478 ++ for x in $OPENGL_PATH/lib${bit64_sfx}; do
32479 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
32480 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
32481 ++ done
32482 ++ OPENGL_LIBPATH="${ncbi_rp_L_flags} $X_LIBS"
32483 ++ else
32484 ++ ncbi_rp_R_flags=
32485 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
32486 ++ for x in $OPENGL_PATH/lib${bit64_sfx}; do
32487 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
32488 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
32489 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
32490 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
32491 ++ ncbi_rp_R_sep=:
32492 ++ done
32493 ++ OPENGL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags} $X_LIBS"
32494 ++ fi
32495 ++ elif test -f /usr/lib/mesa/libGL.so; then
32496 ++ ncbi_rp_L_flags=
32497 ++ ncbi_rp_L_sep=$CONF_f_libpath
32498 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
32499 ++ for x in /usr/lib/mesa; do
32500 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
32501 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
32502 ++ done
32503 ++ OPENGL_LIBPATH="${ncbi_rp_L_flags} $X_LIBS"
32504 ++ else
32505 ++ ncbi_rp_R_flags=
32506 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
32507 ++ for x in /usr/lib/mesa; do
32508 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
32509 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
32510 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
32511 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
32512 ++ ncbi_rp_R_sep=:
32513 ++ done
32514 ++ OPENGL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags} $X_LIBS"
32515 ++ fi
32516 ++ else
32517 ++ OPENGL_LIBPATH=$X_LIBS
32518 ++ fi
32519 ++ OPENGL_LIBS="$OPENGL_LIBPATH -lGLU -lGL $X_ALL_LIBS"
32520 ++ ;;
32521 ++ esac
32522 ++ case "${OPENGL_PATH}" in
32523 ++ */*) where=" in $OPENGL_PATH" ;;
32524 ++ * ) where= ;;
32525 ++ esac
32526 ++ { echo "$as_me:$LINENO: checking for OpenGL$where" >&5
32527 ++echo $ECHO_N "checking for OpenGL$where... $ECHO_C" >&6; }
32528 ++if test "${ncbi_cv_lib_opengl+set}" = set; then
32529 + echo $ECHO_N "(cached) $ECHO_C" >&6
32530 + else
32531 +- ac_check_lib_save_LIBS=$LIBS
32532 +-LIBS="-lXext $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
32533 ++ CPPFLAGS="$orig_CPPFLAGS $OPENGL_INCLUDE"
32534 ++ LIBS="$OPENGL_LIBS $orig_LIBS"
32535 + cat >conftest.$ac_ext <<_ACEOF
32536 + /* confdefs.h. */
32537 + _ACEOF
32538 +@@ -27644,69 +32104,136 @@
32539 + cat >>conftest.$ac_ext <<_ACEOF
32540 + /* end confdefs.h. */
32541 +
32542 +-/* Override any gcc2 internal prototype to avoid an error. */
32543 +-#ifdef __cplusplus
32544 +-extern "C"
32545 ++ #ifdef NCBI_OS_DARWIN
32546 ++ # include <OpenGL/gl.h>
32547 ++ #else
32548 ++ # include <GL/gl.h>
32549 + #endif
32550 +-/* We use char because int might match the return type of a gcc2
32551 +- builtin and then its argument prototype would still apply. */
32552 +-char XextCreateExtension ();
32553 ++
32554 + int
32555 + main ()
32556 + {
32557 +-XextCreateExtension ();
32558 ++glBegin(0);
32559 + ;
32560 + return 0;
32561 + }
32562 + _ACEOF
32563 + rm -f conftest.$ac_objext conftest$ac_exeext
32564 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32565 +- (eval $ac_link) 2>conftest.er1
32566 ++if { (ac_try="$ac_link"
32567 ++case "(($ac_try" in
32568 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32569 ++ *) ac_try_echo=$ac_try;;
32570 ++esac
32571 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32572 ++ (eval "$ac_link") 2>conftest.er1
32573 + ac_status=$?
32574 + grep -v '^ *+' conftest.er1 >conftest.err
32575 + rm -f conftest.er1
32576 + cat conftest.err >&5
32577 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32578 + (exit $ac_status); } &&
32579 +- { ac_try='test -z "$ac_cxx_werror_flag"
32580 +- || test ! -s conftest.err'
32581 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32582 +- (eval $ac_try) 2>&5
32583 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32584 ++ { (case "(($ac_try" in
32585 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32586 ++ *) ac_try_echo=$ac_try;;
32587 ++esac
32588 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32589 ++ (eval "$ac_try") 2>&5
32590 + ac_status=$?
32591 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32592 + (exit $ac_status); }; } &&
32593 + { ac_try='test -s conftest$ac_exeext'
32594 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32595 +- (eval $ac_try) 2>&5
32596 ++ { (case "(($ac_try" in
32597 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32598 ++ *) ac_try_echo=$ac_try;;
32599 ++esac
32600 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32601 ++ (eval "$ac_try") 2>&5
32602 + ac_status=$?
32603 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32604 + (exit $ac_status); }; }; then
32605 +- ac_cv_lib_Xext_XextCreateExtension=yes
32606 ++ ncbi_cv_lib_opengl=yes
32607 + else
32608 + echo "$as_me: failed program was:" >&5
32609 + sed 's/^/| /' conftest.$ac_ext >&5
32610 +
32611 +-ac_cv_lib_Xext_XextCreateExtension=no
32612 ++ ncbi_cv_lib_opengl=no
32613 + fi
32614 +-rm -f conftest.err conftest.$ac_objext \
32615 ++
32616 ++rm -f core conftest.err conftest.$ac_objext \
32617 + conftest$ac_exeext conftest.$ac_ext
32618 +-LIBS=$ac_check_lib_save_LIBS
32619 + fi
32620 +-echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XextCreateExtension" >&5
32621 +-echo "${ECHO_T}$ac_cv_lib_Xext_XextCreateExtension" >&6
32622 +-if test $ac_cv_lib_Xext_XextCreateExtension = yes; then
32623 +- Xext="-lXext"
32624 +-else
32625 +- Xext=
32626 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_opengl" >&5
32627 ++echo "${ECHO_T}$ncbi_cv_lib_opengl" >&6; }
32628 + fi
32629 +
32630 +-echo "$as_me:$LINENO: checking for XtMainLoop in -lXt" >&5
32631 +-echo $ECHO_N "checking for XtMainLoop in -lXt... $ECHO_C" >&6
32632 +-if test "${ac_cv_lib_Xt_XtMainLoop+set}" = set; then
32633 ++if test "$with_opengl" = "no" -o "$ncbi_cv_lib_opengl" = "no"; then
32634 ++ OPENGL_INCLUDE=
32635 ++ OPENGL_LIBS=
32636 ++ OPENGL_STATIC_LIBS=
32637 ++ OSMESA_INCLUDE=
32638 ++ OSMESA_LIBS=
32639 ++ OSMESA_STATIC_LIBS=
32640 ++ GLUT_INCLUDE=
32641 ++ GLUT_LIBS=
32642 ++ GLEW_INCLUDE=
32643 ++ GLEW_LIBS=
32644 ++ GLEW_STATIC_LIBS=
32645 ++ if test "${with_opengl:=no}" != no; then
32646 ++ { { echo "$as_me:$LINENO: error: --with-opengl explicitly specified, but no usable version found." >&5
32647 ++echo "$as_me: error: --with-opengl explicitly specified, but no usable version found." >&2;}
32648 ++ { (exit 1); exit 1; }; }
32649 ++ fi
32650 ++else
32651 ++ WithPackages="$WithPackages${WithPackagesSep}OpenGL"; WithPackagesSep=" "
32652 ++
32653 ++cat >>confdefs.h <<\_ACEOF
32654 ++#define HAVE_OPENGL 1
32655 ++_ACEOF
32656 ++
32657 ++ if test -f "$OPENGL_PATH/lib${bit64_sfx}/libGLU-static.a"; then
32658 ++ OPENGL_STATIC_LIBS="$OPENGL_LIBPATH -lGLU-static -lGL-static $X_ALL_LIBS"
32659 ++ else
32660 ++ OPENGL_STATIC_LIBS=$OPENGL_LIBS
32661 ++ fi
32662 ++ : ${OSMESA_PATH=$OPENGL_PATH}
32663 ++ if test "$with_mesa" != "no"; then
32664 ++ if test "${with_mesa-yes}" != "yes"; then
32665 ++ OSMESA_PATH=$with_mesa
32666 ++ fi
32667 ++ if test -d "$OSMESA_PATH"; then
32668 ++ OSMESA_INCLUDE=-I$OSMESA_PATH/include
32669 ++ if test "$OSMESA_PATH" != "$OPENGL_PATH"; then
32670 ++ ncbi_rp_L_flags=
32671 ++ ncbi_rp_L_sep=$CONF_f_libpath
32672 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
32673 ++ for x in $OSMESA_PATH/lib${bit64_sfx}; do
32674 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
32675 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
32676 ++ done
32677 ++ OSMESA_LDFLAGS="${ncbi_rp_L_flags}"
32678 ++ else
32679 ++ ncbi_rp_R_flags=
32680 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
32681 ++ for x in $OSMESA_PATH/lib${bit64_sfx}; do
32682 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
32683 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
32684 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
32685 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
32686 ++ ncbi_rp_R_sep=:
32687 ++ done
32688 ++ OSMESA_LDFLAGS="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
32689 ++ fi
32690 ++ fi
32691 ++ fi
32692 ++ LDFLAGS="$orig_LDFLAGS $OSMESA_LDFLAGS $OPENGL_LIBPATH"
32693 ++ { echo "$as_me:$LINENO: checking for OSMesaCreateContext in -lOSMesa" >&5
32694 ++echo $ECHO_N "checking for OSMesaCreateContext in -lOSMesa... $ECHO_C" >&6; }
32695 ++if test "${ac_cv_lib_OSMesa_OSMesaCreateContext+set}" = set; then
32696 + echo $ECHO_N "(cached) $ECHO_C" >&6
32697 + else
32698 + ac_check_lib_save_LIBS=$LIBS
32699 +-LIBS="-lXt $Xext $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
32700 ++LIBS="-lOSMesa $OPENGL_LIBS $LIBS"
32701 + cat >conftest.$ac_ext <<_ACEOF
32702 + /* confdefs.h. */
32703 + _ACEOF
32704 +@@ -27714,69 +32241,128 @@
32705 + cat >>conftest.$ac_ext <<_ACEOF
32706 + /* end confdefs.h. */
32707 +
32708 +-/* Override any gcc2 internal prototype to avoid an error. */
32709 ++/* Override any GCC internal prototype to avoid an error.
32710 ++ Use char because int might match the return type of a GCC
32711 ++ builtin and then its argument prototype would still apply. */
32712 + #ifdef __cplusplus
32713 + extern "C"
32714 + #endif
32715 +-/* We use char because int might match the return type of a gcc2
32716 +- builtin and then its argument prototype would still apply. */
32717 +-char XtMainLoop ();
32718 ++char OSMesaCreateContext ();
32719 + int
32720 + main ()
32721 + {
32722 +-XtMainLoop ();
32723 ++return OSMesaCreateContext ();
32724 + ;
32725 + return 0;
32726 + }
32727 + _ACEOF
32728 + rm -f conftest.$ac_objext conftest$ac_exeext
32729 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32730 +- (eval $ac_link) 2>conftest.er1
32731 ++if { (ac_try="$ac_link"
32732 ++case "(($ac_try" in
32733 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32734 ++ *) ac_try_echo=$ac_try;;
32735 ++esac
32736 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32737 ++ (eval "$ac_link") 2>conftest.er1
32738 + ac_status=$?
32739 + grep -v '^ *+' conftest.er1 >conftest.err
32740 + rm -f conftest.er1
32741 + cat conftest.err >&5
32742 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32743 + (exit $ac_status); } &&
32744 +- { ac_try='test -z "$ac_cxx_werror_flag"
32745 +- || test ! -s conftest.err'
32746 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32747 +- (eval $ac_try) 2>&5
32748 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32749 ++ { (case "(($ac_try" in
32750 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32751 ++ *) ac_try_echo=$ac_try;;
32752 ++esac
32753 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32754 ++ (eval "$ac_try") 2>&5
32755 + ac_status=$?
32756 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32757 + (exit $ac_status); }; } &&
32758 + { ac_try='test -s conftest$ac_exeext'
32759 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32760 +- (eval $ac_try) 2>&5
32761 ++ { (case "(($ac_try" in
32762 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32763 ++ *) ac_try_echo=$ac_try;;
32764 ++esac
32765 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32766 ++ (eval "$ac_try") 2>&5
32767 + ac_status=$?
32768 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32769 + (exit $ac_status); }; }; then
32770 +- ac_cv_lib_Xt_XtMainLoop=yes
32771 ++ ac_cv_lib_OSMesa_OSMesaCreateContext=yes
32772 + else
32773 + echo "$as_me: failed program was:" >&5
32774 + sed 's/^/| /' conftest.$ac_ext >&5
32775 +
32776 +-ac_cv_lib_Xt_XtMainLoop=no
32777 ++ ac_cv_lib_OSMesa_OSMesaCreateContext=no
32778 + fi
32779 +-rm -f conftest.err conftest.$ac_objext \
32780 ++
32781 ++rm -f core conftest.err conftest.$ac_objext \
32782 + conftest$ac_exeext conftest.$ac_ext
32783 + LIBS=$ac_check_lib_save_LIBS
32784 + fi
32785 +-echo "$as_me:$LINENO: result: $ac_cv_lib_Xt_XtMainLoop" >&5
32786 +-echo "${ECHO_T}$ac_cv_lib_Xt_XtMainLoop" >&6
32787 +-if test $ac_cv_lib_Xt_XtMainLoop = yes; then
32788 +- Xt="-lXt"
32789 ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_OSMesaCreateContext" >&5
32790 ++echo "${ECHO_T}$ac_cv_lib_OSMesa_OSMesaCreateContext" >&6; }
32791 ++if test $ac_cv_lib_OSMesa_OSMesaCreateContext = yes; then
32792 ++ WithPackages="$WithPackages${WithPackagesSep}MESA"; WithPackagesSep=" ";
32793 ++ OSMESA_LIBS="$OSMESA_LDFLAGS $OPENGL_LIBPATH -lOSMesa -lGLU -lGL $X_ALL_LIBS"
32794 ++
32795 ++cat >>confdefs.h <<\_ACEOF
32796 ++#define HAVE_LIBOSMESA 1
32797 ++_ACEOF
32798 ++
32799 + else
32800 +- Xt=
32801 ++ OSMESA_LIBS=
32802 + fi
32803 +
32804 +-echo "$as_me:$LINENO: checking for XmuMakeAtom in -lXmu" >&5
32805 +-echo $ECHO_N "checking for XmuMakeAtom in -lXmu... $ECHO_C" >&6
32806 +-if test "${ac_cv_lib_Xmu_XmuMakeAtom+set}" = set; then
32807 ++ fi
32808 ++ if test -z "$OSMESA_LIBS"; then
32809 ++ if test "${with_mesa:=no}" != no; then
32810 ++ { { echo "$as_me:$LINENO: error: --with-mesa explicitly specified, but no usable version found." >&5
32811 ++echo "$as_me: error: --with-mesa explicitly specified, but no usable version found." >&2;}
32812 ++ { (exit 1); exit 1; }; }
32813 ++ fi
32814 ++ elif test -f "$OSMESA_PATH/lib${bit64_sfx}/libOSMesa-static.a"; then
32815 ++ OSMESA_STATIC_LIBS="$OSMESA_LDFLAGS $OPENGL_LIBPATH -lOSMesa-static -lGLU-static -lGL-static $X_ALL_LIBS"
32816 ++ else
32817 ++ OSMESA_STATIC_LIBS=$OSMESA_LIBS
32818 ++ fi
32819 ++ if test "$with_glut" != "no"; then
32820 ++ if test "${with_glut-yes}" != "yes"; then
32821 ++ GLUT_PATH=$with_glut
32822 ++ fi
32823 ++ if test -d "GLUT_PATH"; then
32824 ++ GLUT_INCLUDE=-I$GLUT_PATH/include
32825 ++ ncbi_rp_L_flags=
32826 ++ ncbi_rp_L_sep=$CONF_f_libpath
32827 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
32828 ++ for x in $GLUT_PATH/lib${bit64_sfx}; do
32829 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
32830 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
32831 ++ done
32832 ++ GLUT_LDFLAGS="${ncbi_rp_L_flags}"
32833 ++ else
32834 ++ ncbi_rp_R_flags=
32835 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
32836 ++ for x in $GLUT_PATH/lib${bit64_sfx}; do
32837 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
32838 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
32839 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
32840 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
32841 ++ ncbi_rp_R_sep=:
32842 ++ done
32843 ++ GLUT_LDFLAGS="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
32844 ++ fi
32845 ++ fi
32846 ++ LDFLAGS="$orig_LDFLAGS $GLUT_LDFLAGS $OPENGL_LIBPATH"
32847 ++ { echo "$as_me:$LINENO: checking for glutInit in -lglut" >&5
32848 ++echo $ECHO_N "checking for glutInit in -lglut... $ECHO_C" >&6; }
32849 ++if test "${ac_cv_lib_glut_glutInit+set}" = set; then
32850 + echo $ECHO_N "(cached) $ECHO_C" >&6
32851 + else
32852 + ac_check_lib_save_LIBS=$LIBS
32853 +-LIBS="-lXmu $Xt $Xext $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
32854 ++LIBS="-lglut $OPENGL_LIBS $LIBS"
32855 + cat >conftest.$ac_ext <<_ACEOF
32856 + /* confdefs.h. */
32857 + _ACEOF
32858 +@@ -27784,163 +32370,163 @@
32859 + cat >>conftest.$ac_ext <<_ACEOF
32860 + /* end confdefs.h. */
32861 +
32862 +-/* Override any gcc2 internal prototype to avoid an error. */
32863 ++/* Override any GCC internal prototype to avoid an error.
32864 ++ Use char because int might match the return type of a GCC
32865 ++ builtin and then its argument prototype would still apply. */
32866 + #ifdef __cplusplus
32867 + extern "C"
32868 + #endif
32869 +-/* We use char because int might match the return type of a gcc2
32870 +- builtin and then its argument prototype would still apply. */
32871 +-char XmuMakeAtom ();
32872 ++char glutInit ();
32873 + int
32874 + main ()
32875 + {
32876 +-XmuMakeAtom ();
32877 ++return glutInit ();
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 +- ac_cv_lib_Xmu_XmuMakeAtom=yes
32925 ++ ac_cv_lib_glut_glutInit=yes
32926 + else
32927 + echo "$as_me: failed program was:" >&5
32928 + sed 's/^/| /' conftest.$ac_ext >&5
32929 +
32930 +-ac_cv_lib_Xmu_XmuMakeAtom=no
32931 ++ ac_cv_lib_glut_glutInit=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 + LIBS=$ac_check_lib_save_LIBS
32938 + fi
32939 +-echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuMakeAtom" >&5
32940 +-echo "${ECHO_T}$ac_cv_lib_Xmu_XmuMakeAtom" >&6
32941 +-if test $ac_cv_lib_Xmu_XmuMakeAtom = yes; then
32942 +- Xmu="-lXmu"
32943 ++{ echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutInit" >&5
32944 ++echo "${ECHO_T}$ac_cv_lib_glut_glutInit" >&6; }
32945 ++if test $ac_cv_lib_glut_glutInit = yes; then
32946 ++ WithPackages="$WithPackages${WithPackagesSep}GLUT"; WithPackagesSep=" ";
32947 ++ GLUT_LIBS="$GLUT_LDFLAGS $OPENGL_LIBPATH -lglut -lGLU -lGL $X_ALL_LIBS"
32948 ++
32949 ++cat >>confdefs.h <<\_ACEOF
32950 ++#define HAVE_LIBGLUT 1
32951 ++_ACEOF
32952 ++
32953 + else
32954 +- Xmu=
32955 ++ GLUT_LIBS=
32956 + fi
32957 +
32958 +-LDFLAGS=$orig_LDFLAGS
32959 +-X_ALL_LIBS="$Xmu $Xt $Xext $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
32960 +-
32961 +-## OpenGL
32962 +-if test "$with_opengl" != "no"; then
32963 +- if test "${with_opengl-yes}" = yes; then
32964 +- if test -d $NCBI/MesaGL; then
32965 +- : ${OPENGL_PATH=$NCBI/MesaGL}
32966 ++ if test -z "$GLUT_LIBS"; then
32967 ++ if test "${with_glut:=no}" != no; then
32968 ++ { { echo "$as_me:$LINENO: error: --with-glut explicitly specified, but no usable version found." >&5
32969 ++echo "$as_me: error: --with-glut explicitly specified, but no usable version found." >&2;}
32970 ++ { (exit 1); exit 1; }; }
32971 + fi
32972 +- else
32973 +- OPENGL_PATH=$with_opengl
32974 + fi
32975 +- if test -d "$OPENGL_PATH"; then
32976 +- ncbi_fix_dir_tmp=`if cd $OPENGL_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
32977 ++ fi
32978 ++ if test "$with_glew" != "no"; then
32979 ++ if test "${with_glew-yes}" != "yes"; then
32980 ++ GLEW_PATH=$with_glew
32981 ++ fi
32982 ++ if test -d "$GLEW_PATH"; then
32983 ++ if test -d "$GLEW_PATH/$compiler_vpfx$DEBUG_SFX$bit64_sfx"; then
32984 ++ GLEW_PATH=$GLEW_PATH/$compiler_vpfx$DEBUG_SFX$bit64_sfx
32985 ++ elif test -d "$GLEW_PATH/$compiler_pfx$DEBUG_SFX$bit64_sfx"; then
32986 ++ GLEW_PATH=$GLEW_PATH/$compiler_pfx$DEBUG_SFX$bit64_sfx
32987 ++ elif test -d "$GLEW_PATH/$DEBUG_SFX$bit64_sfx"; then
32988 ++ GLEW_PATH=$GLEW_PATH/$DEBUG_SFX$bit64_sfx
32989 ++ fi
32990 ++ ncbi_fix_dir_tmp=`if cd $GLEW_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
32991 + case "$ncbi_fix_dir_tmp" in
32992 +- /.*) ncbi_fix_dir_tmp2=`cd $OPENGL_PATH && $smart_pwd 2>/dev/null`
32993 ++ /.*) ncbi_fix_dir_tmp2=`cd $GLEW_PATH && $smart_pwd 2>/dev/null`
32994 + if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
32995 +- OPENGL_PATH=$ncbi_fix_dir_tmp2
32996 ++ GLEW_PATH=$ncbi_fix_dir_tmp2
32997 + else
32998 +- case "$OPENGL_PATH" in
32999 ++ case "$GLEW_PATH" in
33000 + /*) ;;
33001 +- * ) OPENGL_PATH=$ncbi_fix_dir_tmp ;;
33002 ++ * ) GLEW_PATH=$ncbi_fix_dir_tmp ;;
33003 + esac
33004 + fi
33005 + ;;
33006 +- /*) OPENGL_PATH=$ncbi_fix_dir_tmp ;;
33007 ++ /*) GLEW_PATH=$ncbi_fix_dir_tmp ;;
33008 + esac
33009 +- fi
33010 +- case "$OSTYPE" in
33011 +- darwin) # Use native interface
33012 +- OPENGL_LIBS="-framework AGL -framework OpenGL"
33013 +- ;;
33014 +- # cygwin) ... ;;
33015 +- *) # Default -- assume X-based
33016 +- LIBS="$orig_LIBS"
33017 +- CPPFLAGS="$orig_CPPFLAGS"
33018 +- LDFLAGS="$orig_LDFLAGS $X_LIBS"
33019 +- if test -d "$OPENGL_PATH/include/GL"; then
33020 +- OPENGL_INCLUDE="-I$OPENGL_PATH/include $X_CFLAGS"
33021 ++ GLEW_LIBDIR=$GLEW_PATH/lib
33022 ++ if test -n "$bit64_sfx" -a -d $GLEW_LIBDIR$bit64_sfx; then
33023 ++ if test -d $GLEW_LIBDIR; then
33024 ++ for x in $GLEW_LIBDIR/libGLEW*; do
33025 ++ if cmp -s "$x" "$GLEW_LIBDIR$bit64_sfx/`basename \"$x\"`"; then
33026 ++ :
33027 + else
33028 +- OPENGL_INCLUDE=$X_CFLAGS
33029 ++ GLEW_LIBDIR=$GLEW_LIBDIR$bit64_sfx
33030 ++ break
33031 + fi
33032 +- if test -n "$OPENGL_PATH" -a -d "$OPENGL_PATH/lib${bit64_sfx}"; then
33033 +- ncbi_rp_L_flags=
33034 +- ncbi_rp_L_sep=$CONF_f_libpath
33035 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
33036 +- for x in $OPENGL_PATH/lib${bit64_sfx}; do
33037 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
33038 +- ncbi_rp_L_sep=" $CONF_f_libpath"
33039 + done
33040 +- OPENGL_LIBPATH="${ncbi_rp_L_flags} $X_LIBS"
33041 + else
33042 +- ncbi_rp_R_flags=
33043 +- ncbi_rp_R_sep=" $CONF_f_runpath"
33044 +- for x in $OPENGL_PATH/lib${bit64_sfx}; do
33045 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
33046 +- ncbi_rp_L_sep=" $CONF_f_libpath"
33047 +- x=`echo $x | sed -e "$ncbi_rpath_sed"`
33048 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
33049 +- ncbi_rp_R_sep=:
33050 +- done
33051 +- OPENGL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags} $X_LIBS"
33052 ++ GLEW_LIBDIR=$GLEW_LIBDIR$bit64_sfx
33053 + fi
33054 +- elif test -f /usr/lib/mesa/libGL.so; then
33055 +- ncbi_rp_L_flags=
33056 +- ncbi_rp_L_sep=$CONF_f_libpath
33057 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
33058 +- for x in /usr/lib/mesa; do
33059 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
33060 +- ncbi_rp_L_sep=" $CONF_f_libpath"
33061 +- done
33062 +- OPENGL_LIBPATH="${ncbi_rp_L_flags} $X_LIBS"
33063 ++ fi
33064 ++ glew_config="eval PKG_CONFIG_PATH=\"$GLEW_LIBDIR/pkgconfig\" pkg-config"
33065 + else
33066 +- ncbi_rp_R_flags=
33067 +- ncbi_rp_R_sep=" $CONF_f_runpath"
33068 +- for x in /usr/lib/mesa; do
33069 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
33070 +- ncbi_rp_L_sep=" $CONF_f_libpath"
33071 +- x=`echo $x | sed -e "$ncbi_rpath_sed"`
33072 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
33073 +- ncbi_rp_R_sep=:
33074 +- done
33075 +- OPENGL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags} $X_LIBS"
33076 ++ glew_config=pkg-config
33077 + fi
33078 ++ if pkg-config --version >/dev/null 2>&1; then
33079 ++ if $glew_config glewmx --exists >/dev/null 2>&1 \
33080 ++ && test -n "`$glew_config glewmx --libs 2>/dev/null`"; then
33081 ++ glew_config="$glew_config glewmx"
33082 ++ elif $glew_config glew --exists >/dev/null 2>&1 \
33083 ++ && test -n "`$glew_config glew --libs 2>/dev/null`"; then
33084 ++ glew_config="$glew_config glew"
33085 + else
33086 +- OPENGL_LIBPATH=$X_LIBS
33087 ++ glew_config=
33088 + fi
33089 +- OPENGL_LIBS="$OPENGL_LIBPATH -lGLU -lGL $X_ALL_LIBS"
33090 +- ;;
33091 +- esac
33092 +- case "${OPENGL_PATH}" in
33093 +- */*) where=" in $OPENGL_PATH" ;;
33094 +- * ) where= ;;
33095 +- esac
33096 +- echo "$as_me:$LINENO: checking for OpenGL$where" >&5
33097 +-echo $ECHO_N "checking for OpenGL$where... $ECHO_C" >&6
33098 +-if test "${ncbi_cv_lib_opengl+set}" = set; then
33099 ++ if test -n "$glew_config"; then
33100 ++ GLEW_INCLUDE=`$glew_config --cflags | sed 's:/GL *$::'`
33101 ++ GLEW_LDFLAGS=`$glew_config --libs-only-L`
33102 ++ glew_libname=`$glew_config --libs-only-l | sed -e 's/-l//'`
33103 ++ fi
33104 ++ fi
33105 ++ if test -z "$glew_libname" -a -d "$GLEW_PATH"; then
33106 ++ GLEW_INCLUDE=-I$GLEW_PATH/include
33107 ++ GLEW_LDFLAGS=-L$GLEW_LIBDIR
33108 ++ fi
33109 ++ LDFLAGS="$orig_LDFLAGS $GLEW_LDFLAGS"
33110 ++ LIBS="$OPENGL_LIBS $DL_LIBS $orig_LIBS"
33111 ++ saved_LIBS=$LIBS
33112 ++ { echo "$as_me:$LINENO: checking for library containing glewGetExtension" >&5
33113 ++echo $ECHO_N "checking for library containing glewGetExtension... $ECHO_C" >&6; }
33114 ++if test "${ac_cv_search_glewGetExtension+set}" = set; then
33115 + echo $ECHO_N "(cached) $ECHO_C" >&6
33116 + else
33117 +- CPPFLAGS="$orig_CPPFLAGS $OPENGL_INCLUDE"
33118 +- LIBS="$OPENGL_LIBS $orig_LIBS"
33119 ++ ac_func_search_save_LIBS=$LIBS
33120 + cat >conftest.$ac_ext <<_ACEOF
33121 + /* confdefs.h. */
33122 + _ACEOF
33123 +@@ -27948,567 +32534,656 @@
33124 + cat >>conftest.$ac_ext <<_ACEOF
33125 + /* end confdefs.h. */
33126 +
33127 +- #ifdef NCBI_OS_DARWIN
33128 +- # include <OpenGL/gl.h>
33129 +- #else
33130 +- # include <GL/gl.h>
33131 ++/* Override any GCC internal prototype to avoid an error.
33132 ++ Use char because int might match the return type of a GCC
33133 ++ builtin and then its argument prototype would still apply. */
33134 ++#ifdef __cplusplus
33135 ++extern "C"
33136 + #endif
33137 +-
33138 ++char glewGetExtension ();
33139 + int
33140 + main ()
33141 + {
33142 +-glBegin(0);
33143 ++return glewGetExtension ();
33144 + ;
33145 + return 0;
33146 + }
33147 + _ACEOF
33148 ++for ac_lib in '' "$GLEW_LIBS" $glew_libname GLEWmx GLEW; do
33149 ++ if test -z "$ac_lib"; then
33150 ++ ac_res="none required"
33151 ++ else
33152 ++ ac_res=-l$ac_lib
33153 ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
33154 ++ fi
33155 + rm -f conftest.$ac_objext conftest$ac_exeext
33156 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33157 +- (eval $ac_link) 2>conftest.er1
33158 ++if { (ac_try="$ac_link"
33159 ++case "(($ac_try" in
33160 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33161 ++ *) ac_try_echo=$ac_try;;
33162 ++esac
33163 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33164 ++ (eval "$ac_link") 2>conftest.er1
33165 + ac_status=$?
33166 + grep -v '^ *+' conftest.er1 >conftest.err
33167 + rm -f conftest.er1
33168 + cat conftest.err >&5
33169 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33170 + (exit $ac_status); } &&
33171 +- { ac_try='test -z "$ac_cxx_werror_flag"
33172 +- || test ! -s conftest.err'
33173 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33174 +- (eval $ac_try) 2>&5
33175 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33176 ++ { (case "(($ac_try" in
33177 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33178 ++ *) ac_try_echo=$ac_try;;
33179 ++esac
33180 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33181 ++ (eval "$ac_try") 2>&5
33182 + ac_status=$?
33183 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33184 + (exit $ac_status); }; } &&
33185 + { ac_try='test -s conftest$ac_exeext'
33186 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33187 +- (eval $ac_try) 2>&5
33188 ++ { (case "(($ac_try" in
33189 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33190 ++ *) ac_try_echo=$ac_try;;
33191 ++esac
33192 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33193 ++ (eval "$ac_try") 2>&5
33194 + ac_status=$?
33195 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33196 + (exit $ac_status); }; }; then
33197 +- ncbi_cv_lib_opengl=yes
33198 ++ ac_cv_search_glewGetExtension=$ac_res
33199 + else
33200 + echo "$as_me: failed program was:" >&5
33201 + sed 's/^/| /' conftest.$ac_ext >&5
33202 +-
33203 +-ncbi_cv_lib_opengl=no
33204 +-fi
33205 +-rm -f conftest.err conftest.$ac_objext \
33206 +- conftest$ac_exeext conftest.$ac_ext
33207 +-fi
33208 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_opengl" >&5
33209 +-echo "${ECHO_T}$ncbi_cv_lib_opengl" >&6
33210 +-fi
33211 +-
33212 +-if test "$with_opengl" = "no" -o "$ncbi_cv_lib_opengl" = "no"; then
33213 +- OPENGL_INCLUDE=
33214 +- OPENGL_LIBS=
33215 +- OPENGL_STATIC_LIBS=
33216 +- OSMESA_INCLUDE=
33217 +- OSMESA_LIBS=
33218 +- OSMESA_STATIC_LIBS=
33219 +- GLUT_INCLUDE=
33220 +- GLUT_LIBS=
33221 +- GLEW_INCLUDE=
33222 +- GLEW_LIBS=
33223 +- GLEW_STATIC_LIBS=
33224 +- if test "${with_opengl:=no}" != no; then
33225 +- { { echo "$as_me:$LINENO: error: --with-opengl explicitly specified, but no usable version found." >&5
33226 +-echo "$as_me: error: --with-opengl explicitly specified, but no usable version found." >&2;}
33227 +- { (exit 1); exit 1; }; }
33228 ++
33229 ++
33230 ++fi
33231 ++
33232 ++rm -f core conftest.err conftest.$ac_objext \
33233 ++ conftest$ac_exeext
33234 ++ if test "${ac_cv_search_glewGetExtension+set}" = set; then
33235 ++ break
33236 + fi
33237 ++done
33238 ++if test "${ac_cv_search_glewGetExtension+set}" = set; then
33239 ++ :
33240 + else
33241 +- WithPackages="$WithPackages${WithPackagesSep}OpenGL"; WithPackagesSep=" "
33242 ++ ac_cv_search_glewGetExtension=no
33243 ++fi
33244 ++rm conftest.$ac_ext
33245 ++LIBS=$ac_func_search_save_LIBS
33246 ++fi
33247 ++{ echo "$as_me:$LINENO: result: $ac_cv_search_glewGetExtension" >&5
33248 ++echo "${ECHO_T}$ac_cv_search_glewGetExtension" >&6; }
33249 ++ac_res=$ac_cv_search_glewGetExtension
33250 ++if test "$ac_res" != no; then
33251 ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
33252 +
33253 + cat >>confdefs.h <<\_ACEOF
33254 +-#define HAVE_OPENGL 1
33255 ++#define HAVE_LIBGLEW 1
33256 + _ACEOF
33257 +
33258 +- if test -f "$OPENGL_PATH/lib${bit64_sfx}/libGLU-static.a"; then
33259 +- OPENGL_STATIC_LIBS="$OPENGL_LIBPATH -lGLU-static -lGL-static $X_ALL_LIBS"
33260 +- else
33261 +- OPENGL_STATIC_LIBS=$OPENGL_LIBS
33262 ++ test "x$ac_cv_search_glewGetExtension" = "xnone required" || GLEW_LIBS=$ac_cv_search_glewGetExtension
33263 + fi
33264 +- : ${OSMESA_PATH=$OPENGL_PATH}
33265 +- if test "$with_mesa" != "no"; then
33266 +- if test "${with_mesa-yes}" != "yes"; then
33267 +- OSMESA_PATH=$with_mesa
33268 ++
33269 ++ LIBS=$saved_LIBS
33270 ++
33271 ++ if test "$ac_cv_search_glewGetExtension" = no; then
33272 ++ GLEW_INCLUDE=
33273 ++ GLEW_LIBS=
33274 ++ if test "${with_glew:=no}" != no; then
33275 ++ { { echo "$as_me:$LINENO: error: --with-glew explicitly specified, but no usable version found." >&5
33276 ++echo "$as_me: error: --with-glew explicitly specified, but no usable version found." >&2;}
33277 ++ { (exit 1); exit 1; }; }
33278 + fi
33279 +- if test -d "$OSMESA_PATH"; then
33280 +- OSMESA_INCLUDE=-I$OSMESA_PATH/include
33281 +- if test "$OSMESA_PATH" != "$OPENGL_PATH"; then
33282 +- ncbi_rp_L_flags=
33283 +- ncbi_rp_L_sep=$CONF_f_libpath
33284 ++ if test "${with_glew_mx:=no}" != no; then
33285 ++ { { echo "$as_me:$LINENO: error: --with-glew-mx explicitly specified, but no usable version found." >&5
33286 ++echo "$as_me: error: --with-glew-mx explicitly specified, but no usable version found." >&2;}
33287 ++ { (exit 1); exit 1; }; }
33288 ++ fi
33289 ++ else
33290 ++ if test -z "${tmp_LIBS+set}"; then
33291 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
33292 +- for x in $OSMESA_PATH/lib${bit64_sfx}; do
33293 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
33294 +- ncbi_rp_L_sep=" $CONF_f_libpath"
33295 +- done
33296 +- OSMESA_LDFLAGS="${ncbi_rp_L_flags}"
33297 ++ tmp_LIBS=`echo $GLEW_LDFLAGS $GLEW_LIBS | sed -e ""`
33298 + else
33299 ++ tmp_LIBS=
33300 ++ ncbi_rp_L_sep=
33301 + ncbi_rp_R_flags=
33302 + ncbi_rp_R_sep=" $CONF_f_runpath"
33303 +- for x in $OSMESA_PATH/lib${bit64_sfx}; do
33304 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
33305 +- ncbi_rp_L_sep=" $CONF_f_libpath"
33306 +- x=`echo $x | sed -e "$ncbi_rpath_sed"`
33307 ++ for x in `echo $GLEW_LDFLAGS $GLEW_LIBS | sed -e ""`; do
33308 ++ case "$x" in
33309 ++ -L*)
33310 ++ tmp_LIBS="$tmp_LIBS${ncbi_rp_L_sep}$x"
33311 ++ x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
33312 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
33313 + ncbi_rp_R_sep=:
33314 ++ ;;
33315 ++ *)
33316 ++ tmp_LIBS="$tmp_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
33317 ++ ncbi_rp_R_flags=
33318 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
33319 ++ ;;
33320 ++ esac
33321 ++ ncbi_rp_L_sep=" "
33322 + done
33323 +- OSMESA_LDFLAGS="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
33324 +- fi
33325 ++ tmp_LIBS="$tmp_LIBS${ncbi_rp_R_flags}"
33326 + fi
33327 + fi
33328 +- LDFLAGS="$orig_LDFLAGS $OSMESA_LDFLAGS $OPENGL_LIBPATH"
33329 +- echo "$as_me:$LINENO: checking for OSMesaCreateContext in -lOSMesa" >&5
33330 +-echo $ECHO_N "checking for OSMesaCreateContext in -lOSMesa... $ECHO_C" >&6
33331 +-if test "${ac_cv_lib_OSMesa_OSMesaCreateContext+set}" = set; then
33332 ++ GLEW_LIBS=$tmp_LIBS
33333 ++ WithPackages="$WithPackages${WithPackagesSep}GLEW"; WithPackagesSep=" "
33334 ++ CPPFLAGS="$orig_CPPFLAGS $GLEW_INCLUDE $OPENGL_INCLUDE"
33335 ++ LIBS="$GLEW_LIBS $OPENGL_LIBS $DL_LIBS $orig_LIBS"
33336 ++ { echo "$as_me:$LINENO: checking for GLEW multi-context (MX) support (recommended)" >&5
33337 ++echo $ECHO_N "checking for GLEW multi-context (MX) support (recommended)... $ECHO_C" >&6; }
33338 ++if test "${ncbi_cv_lib_glew_mx+set}" = set; then
33339 + echo $ECHO_N "(cached) $ECHO_C" >&6
33340 + else
33341 +- ac_check_lib_save_LIBS=$LIBS
33342 +-LIBS="-lOSMesa $OPENGL_LIBS $LIBS"
33343 + cat >conftest.$ac_ext <<_ACEOF
33344 + /* confdefs.h. */
33345 + _ACEOF
33346 + cat confdefs.h >>conftest.$ac_ext
33347 + cat >>conftest.$ac_ext <<_ACEOF
33348 + /* end confdefs.h. */
33349 +-
33350 +-/* Override any gcc2 internal prototype to avoid an error. */
33351 +-#ifdef __cplusplus
33352 +-extern "C"
33353 +-#endif
33354 +-/* We use char because int might match the return type of a gcc2
33355 +- builtin and then its argument prototype would still apply. */
33356 +-char OSMesaCreateContext ();
33357 ++#define GLEW_MX 1
33358 ++ #include <GL/glew.h>
33359 + int
33360 + main ()
33361 + {
33362 +-OSMesaCreateContext ();
33363 ++glewContextInit(NULL);
33364 + ;
33365 + return 0;
33366 + }
33367 + _ACEOF
33368 + rm -f conftest.$ac_objext conftest$ac_exeext
33369 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33370 +- (eval $ac_link) 2>conftest.er1
33371 ++if { (ac_try="$ac_link"
33372 ++case "(($ac_try" in
33373 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33374 ++ *) ac_try_echo=$ac_try;;
33375 ++esac
33376 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33377 ++ (eval "$ac_link") 2>conftest.er1
33378 + ac_status=$?
33379 + grep -v '^ *+' conftest.er1 >conftest.err
33380 + rm -f conftest.er1
33381 + cat conftest.err >&5
33382 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33383 + (exit $ac_status); } &&
33384 +- { ac_try='test -z "$ac_cxx_werror_flag"
33385 +- || test ! -s conftest.err'
33386 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33387 +- (eval $ac_try) 2>&5
33388 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33389 ++ { (case "(($ac_try" in
33390 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33391 ++ *) ac_try_echo=$ac_try;;
33392 ++esac
33393 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33394 ++ (eval "$ac_try") 2>&5
33395 + ac_status=$?
33396 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33397 + (exit $ac_status); }; } &&
33398 + { ac_try='test -s conftest$ac_exeext'
33399 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33400 +- (eval $ac_try) 2>&5
33401 ++ { (case "(($ac_try" in
33402 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33403 ++ *) ac_try_echo=$ac_try;;
33404 ++esac
33405 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33406 ++ (eval "$ac_try") 2>&5
33407 + ac_status=$?
33408 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33409 + (exit $ac_status); }; }; then
33410 +- ac_cv_lib_OSMesa_OSMesaCreateContext=yes
33411 ++ ncbi_cv_lib_glew_mx=yes
33412 + else
33413 + echo "$as_me: failed program was:" >&5
33414 + sed 's/^/| /' conftest.$ac_ext >&5
33415 +
33416 +-ac_cv_lib_OSMesa_OSMesaCreateContext=no
33417 ++ ncbi_cv_lib_glew_mx=no
33418 + fi
33419 +-rm -f conftest.err conftest.$ac_objext \
33420 ++
33421 ++rm -f core conftest.err conftest.$ac_objext \
33422 + conftest$ac_exeext conftest.$ac_ext
33423 +-LIBS=$ac_check_lib_save_LIBS
33424 + fi
33425 +-echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_OSMesaCreateContext" >&5
33426 +-echo "${ECHO_T}$ac_cv_lib_OSMesa_OSMesaCreateContext" >&6
33427 +-if test $ac_cv_lib_OSMesa_OSMesaCreateContext = yes; then
33428 +- WithPackages="$WithPackages${WithPackagesSep}MESA"; WithPackagesSep=" ";
33429 +- OSMESA_LIBS="$OSMESA_LDFLAGS $OPENGL_LIBPATH -lOSMesa -lGLU -lGL $X_ALL_LIBS"
33430 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_glew_mx" >&5
33431 ++echo "${ECHO_T}$ncbi_cv_lib_glew_mx" >&6; }
33432 ++ if test $ncbi_cv_lib_glew_mx = yes; then
33433 ++ GLEW_INCLUDE="$GLEW_INCLUDE -DGLEW_MX"
33434 ++ else
33435 ++ if test "${with_glew_mx:=no}" != no; then
33436 ++ { { echo "$as_me:$LINENO: error: --with-glew-mx explicitly specified, but no usable version found." >&5
33437 ++echo "$as_me: error: --with-glew-mx explicitly specified, but no usable version found." >&2;}
33438 ++ { (exit 1); exit 1; }; }
33439 ++ fi
33440 ++ fi
33441 ++ : ${GLEW_STATIC_LIBS=$GLEW_LIBDIR/libGLEW-static.a}
33442 ++ test -f "$GLEW_STATIC_LIBS" || GLEW_STATIC_LIBS=$GLEW_LIBS
33443 ++ fi
33444 ++ fi
33445 ++fi
33446 +
33447 +-cat >>confdefs.h <<\_ACEOF
33448 +-#define HAVE_LIBOSMESA 1
33449 +-_ACEOF
33450 ++LDFLAGS=$orig_LDFLAGS
33451 ++
33452 ++
33453 ++## wxWidgets
33454 ++# Insist on single-byte builds by default, per various projects' expectations.
33455 ++: ${with_wxwidgets_ucs=no}
33456 ++if test "$with_wxwidgets" != "no" ; then
33457 ++ case "$with_wxwidgets" in
33458 ++ yes | "" ) ;;
33459 ++ * ) WXWIDGETS_PATH=$with_wxwidgets ;;
33460 ++ esac
33461 ++ if test -d "$WXWIDGETS_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/lib" \
33462 ++ -a -z "$WXWIDGETS_ARCH_PATH"; then
33463 ++ WXWIDGETS_ARCH_PATH="$WXWIDGETS_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}"
33464 ++ elif test -d "$WXWIDGETS_PATH/${compiler_pfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/lib" \
33465 ++ -a -z "$WXWIDGETS_ARCH_PATH"; then
33466 ++ WXWIDGETS_ARCH_PATH="$WXWIDGETS_PATH/${compiler_pfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}"
33467 ++ else
33468 ++ WXWIDGETS_ARCH_PATH="$WXWIDGETS_PATH"
33469 ++ fi
33470 ++ WXWIDGETS_BINPATH=${WXWIDGETS_BINPATH:="$WXWIDGETS_ARCH_PATH/bin"}
33471 ++ WXWIDGETS_LIBPATH=${WXWIDGETS_LIBPATH:="$WXWIDGETS_ARCH_PATH/lib"}
33472 ++ WXWIDGETS_INCLUDE=
33473 ++ $as_unset wxconf || test "${wxconf+set}" != set || { wxconf=; export wxconf; }
33474 ++ # Extract the first word of "wx-config", so it can be a program name with args.
33475 ++set dummy wx-config; ac_word=$2
33476 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
33477 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33478 ++if test "${ac_cv_path_wxconf+set}" = set; then
33479 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
33480 ++else
33481 ++ case $wxconf in
33482 ++ [\\/]* | ?:[\\/]*)
33483 ++ ac_cv_path_wxconf="$wxconf" # Let the user override the test with a path.
33484 ++ ;;
33485 ++ *)
33486 ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33487 ++as_dummy="$WXWIDGETS_BINPATH:$PATH"
33488 ++for as_dir in $as_dummy
33489 ++do
33490 ++ IFS=$as_save_IFS
33491 ++ test -z "$as_dir" && as_dir=.
33492 ++ for ac_exec_ext in '' $ac_executable_extensions; do
33493 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
33494 ++ ac_cv_path_wxconf="$as_dir/$ac_word$ac_exec_ext"
33495 ++ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33496 ++ break 2
33497 ++ fi
33498 ++done
33499 ++done
33500 ++IFS=$as_save_IFS
33501 +
33502 ++ ;;
33503 ++esac
33504 ++fi
33505 ++wxconf=$ac_cv_path_wxconf
33506 ++if test -n "$wxconf"; then
33507 ++ { echo "$as_me:$LINENO: result: $wxconf" >&5
33508 ++echo "${ECHO_T}$wxconf" >&6; }
33509 + else
33510 +- OSMESA_LIBS=
33511 ++ { echo "$as_me:$LINENO: result: no" >&5
33512 ++echo "${ECHO_T}no" >&6; }
33513 + fi
33514 +
33515 ++
33516 ++ if test -x "$wxconf"; then
33517 ++ WXWIDGETS_ARCH_PATH=`$wxconf --exec-prefix`
33518 ++ if test -n "$with_wxwidgets_ucs"; then
33519 ++ wxcfflags=--unicode=$with_wxwidgets_ucs
33520 ++ else
33521 ++ wxcfflags=
33522 + fi
33523 +- if test -z "$OSMESA_LIBS"; then
33524 +- if test "${with_mesa:=no}" != no; then
33525 +- { { echo "$as_me:$LINENO: error: --with-mesa explicitly specified, but no usable version found." >&5
33526 +-echo "$as_me: error: --with-mesa explicitly specified, but no usable version found." >&2;}
33527 +- { (exit 1); exit 1; }; }
33528 ++ for x in `"$wxconf" $wxcfflags --libs --static 2>&5`; do
33529 ++ case "$x" in
33530 ++ -L*)
33531 ++ d=`echo $x | sed -e 's/^-L//'`
33532 ++ pcd=$d/pkgconfig
33533 ++ if test -d "$pcd"; then
33534 ++ PKG_CONFIG_PATH="${PKG_CONFIG_PATH+$PKG_CONFIG_PATH:}$pcd"
33535 + fi
33536 +- elif test -f "$OSMESA_PATH/lib${bit64_sfx}/libOSMesa-static.a"; then
33537 +- OSMESA_STATIC_LIBS="$OSMESA_LDFLAGS $OPENGL_LIBPATH -lOSMesa-static -lGLU-static -lGL-static $X_ALL_LIBS"
33538 ++ ;;
33539 ++ esac
33540 ++ done
33541 ++ export PKG_CONFIG_PATH
33542 + else
33543 +- OSMESA_STATIC_LIBS=$OSMESA_LIBS
33544 ++ $as_unset wxconf || test "${wxconf+set}" != set || { wxconf=; export wxconf; }
33545 + fi
33546 +- : ${GLUT_PATH=$NCBI/glut}
33547 +- if test "$with_glut" != "no"; then
33548 +- if test "${with_glut-yes}" != "yes"; then
33549 +- GLUT_PATH=$with_glut
33550 ++ if test -x "$wxconf" \
33551 ++ && "$wxconf" $wxcfflags --list 2>/dev/null \
33552 ++ | grep 'Default config is gtk2' >/dev/null; then
33553 ++ gtkconf="pkg-config gtk+-2.0"
33554 ++ elif test -x "$WXWIDGETS_BINPATH/gtk-config"; then
33555 ++ gtkconf=$WXWIDGETS_BINPATH/gtk-config
33556 ++ elif gtk-config --version >/dev/null 2>&1; then
33557 ++ gtkconf=gtk-config
33558 ++ else
33559 ++ # May work without gtk-config (e.g., on Mac OS X)
33560 ++ gtkconf=:
33561 + fi
33562 +- if test -d "GLUT_PATH"; then
33563 +- GLUT_INCLUDE=-I$GLUT_PATH/include
33564 +- ncbi_rp_L_flags=
33565 +- ncbi_rp_L_sep=$CONF_f_libpath
33566 ++ case "$host_os" in
33567 ++ darwin* )
33568 ++ baseflags=""
33569 ++ basesed='s/-isysroot [^ ]*//g; s/-arch [^ ]*//g'
33570 ++ if test -n "$SYSROOT"; then
33571 ++ deps=`"$wxconf" $wxcfflags --libs --static 2>/dev/null \
33572 ++ | sed -e 's/.*\.a//'`
33573 ++ libsed="$basesed; s/\$/ $deps/"
33574 ++ else
33575 ++ libsed=$basesed
33576 ++ fi
33577 ++ ;;
33578 ++ * )
33579 ++ baseflags=`$gtkconf --cflags 2>/dev/null`
33580 ++ basesed=$no_usr_lib
33581 ++ libsed=$basesed
33582 ++ ;;
33583 ++ esac
33584 ++ { echo "$as_me:$LINENO: checking for wxWidgets${WXWIDGETS_ARCH_PATH:+ in $WXWIDGETS_ARCH_PATH}" >&5
33585 ++echo $ECHO_N "checking for wxWidgets${WXWIDGETS_ARCH_PATH:+ in $WXWIDGETS_ARCH_PATH}... $ECHO_C" >&6; }
33586 ++if test "${ncbi_cv_lib_wxwidgets+set}" = set; then
33587 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
33588 ++else
33589 ++ if test -x "$wxconf" ; then
33590 ++ WXWIDGETS_INCLUDE="$baseflags `"$wxconf" $wxcfflags --cflags`"
33591 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
33592 +- for x in $GLUT_PATH/lib${bit64_sfx}; do
33593 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
33594 +- ncbi_rp_L_sep=" $CONF_f_libpath"
33595 +- done
33596 +- GLUT_LDFLAGS="${ncbi_rp_L_flags}"
33597 ++ WXWIDGETS_LIBS=`"$wxconf" $wxcfflags --libs | sed -e "$libsed; s/ -lm / /g;"`
33598 + else
33599 ++ WXWIDGETS_LIBS=
33600 ++ ncbi_rp_L_sep=
33601 + ncbi_rp_R_flags=
33602 +- ncbi_rp_R_sep=" $CONF_f_runpath"
33603 +- for x in $GLUT_PATH/lib${bit64_sfx}; do
33604 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
33605 +- ncbi_rp_L_sep=" $CONF_f_libpath"
33606 +- x=`echo $x | sed -e "$ncbi_rpath_sed"`
33607 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
33608 ++ for x in `"$wxconf" $wxcfflags --libs | sed -e "$libsed; s/ -lm / /g;"`; do
33609 ++ case "$x" in
33610 ++ -L*)
33611 ++ WXWIDGETS_LIBS="$WXWIDGETS_LIBS${ncbi_rp_L_sep}$x"
33612 ++ x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
33613 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
33614 + ncbi_rp_R_sep=:
33615 ++ ;;
33616 ++ *)
33617 ++ WXWIDGETS_LIBS="$WXWIDGETS_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
33618 ++ ncbi_rp_R_flags=
33619 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
33620 ++ ;;
33621 ++ esac
33622 ++ ncbi_rp_L_sep=" "
33623 + done
33624 +- GLUT_LDFLAGS="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
33625 +- fi
33626 ++ WXWIDGETS_LIBS="$WXWIDGETS_LIBS${ncbi_rp_R_flags}"
33627 + fi
33628 +- LDFLAGS="$orig_LDFLAGS $GLUT_LDFLAGS $OPENGL_LIBPATH"
33629 +- echo "$as_me:$LINENO: checking for glutInit in -lglut" >&5
33630 +-echo $ECHO_N "checking for glutInit in -lglut... $ECHO_C" >&6
33631 +-if test "${ac_cv_lib_glut_glutInit+set}" = set; then
33632 +- echo $ECHO_N "(cached) $ECHO_C" >&6
33633 +-else
33634 +- ac_check_lib_save_LIBS=$LIBS
33635 +-LIBS="-lglut $OPENGL_LIBS $LIBS"
33636 ++
33637 ++ CPPFLAGS="$WXWIDGETS_INCLUDE $orig_CPPFLAGS"
33638 ++ LIBS="$WXWIDGETS_LIBS $orig_LIBS"
33639 + cat >conftest.$ac_ext <<_ACEOF
33640 + /* confdefs.h. */
33641 + _ACEOF
33642 + cat confdefs.h >>conftest.$ac_ext
33643 + cat >>conftest.$ac_ext <<_ACEOF
33644 + /* end confdefs.h. */
33645 +-
33646 +-/* Override any gcc2 internal prototype to avoid an error. */
33647 +-#ifdef __cplusplus
33648 +-extern "C"
33649 +-#endif
33650 +-/* We use char because int might match the return type of a gcc2
33651 +- builtin and then its argument prototype would still apply. */
33652 +-char glutInit ();
33653 ++#include <wx/wx.h>
33654 + int
33655 + main ()
33656 + {
33657 +-glutInit ();
33658 ++ wxExit();
33659 + ;
33660 + return 0;
33661 + }
33662 + _ACEOF
33663 + rm -f conftest.$ac_objext conftest$ac_exeext
33664 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33665 +- (eval $ac_link) 2>conftest.er1
33666 ++if { (ac_try="$ac_link"
33667 ++case "(($ac_try" in
33668 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33669 ++ *) ac_try_echo=$ac_try;;
33670 ++esac
33671 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33672 ++ (eval "$ac_link") 2>conftest.er1
33673 + ac_status=$?
33674 + grep -v '^ *+' conftest.er1 >conftest.err
33675 + rm -f conftest.er1
33676 + cat conftest.err >&5
33677 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33678 + (exit $ac_status); } &&
33679 +- { ac_try='test -z "$ac_cxx_werror_flag"
33680 +- || test ! -s conftest.err'
33681 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33682 +- (eval $ac_try) 2>&5
33683 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33684 ++ { (case "(($ac_try" in
33685 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33686 ++ *) ac_try_echo=$ac_try;;
33687 ++esac
33688 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33689 ++ (eval "$ac_try") 2>&5
33690 + ac_status=$?
33691 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33692 + (exit $ac_status); }; } &&
33693 + { ac_try='test -s conftest$ac_exeext'
33694 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33695 +- (eval $ac_try) 2>&5
33696 ++ { (case "(($ac_try" in
33697 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33698 ++ *) ac_try_echo=$ac_try;;
33699 ++esac
33700 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33701 ++ (eval "$ac_try") 2>&5
33702 + ac_status=$?
33703 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33704 + (exit $ac_status); }; }; then
33705 +- ac_cv_lib_glut_glutInit=yes
33706 ++ ncbi_cv_lib_wxwidgets=yes
33707 + else
33708 + echo "$as_me: failed program was:" >&5
33709 + sed 's/^/| /' conftest.$ac_ext >&5
33710 +
33711 +-ac_cv_lib_glut_glutInit=no
33712 +-fi
33713 +-rm -f conftest.err conftest.$ac_objext \
33714 +- conftest$ac_exeext conftest.$ac_ext
33715 +-LIBS=$ac_check_lib_save_LIBS
33716 ++ ncbi_cv_lib_wxwidgets=no
33717 + fi
33718 +-echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutInit" >&5
33719 +-echo "${ECHO_T}$ac_cv_lib_glut_glutInit" >&6
33720 +-if test $ac_cv_lib_glut_glutInit = yes; then
33721 +- WithPackages="$WithPackages${WithPackagesSep}GLUT"; WithPackagesSep=" ";
33722 +- GLUT_LIBS="$GLUT_LDFLAGS $OPENGL_LIBPATH -lglut -lGLU -lGL $X_ALL_LIBS"
33723 +-
33724 +-cat >>confdefs.h <<\_ACEOF
33725 +-#define HAVE_LIBGLUT 1
33726 +-_ACEOF
33727 +
33728 ++rm -f core conftest.err conftest.$ac_objext \
33729 ++ conftest$ac_exeext conftest.$ac_ext
33730 + else
33731 +- GLUT_LIBS=
33732 +-fi
33733 +-
33734 +- if test -z "$GLUT_LIBS"; then
33735 +- if test "${with_glut:=no}" != no; then
33736 +- { { echo "$as_me:$LINENO: error: --with-glut explicitly specified, but no usable version found." >&5
33737 +-echo "$as_me: error: --with-glut explicitly specified, but no usable version found." >&2;}
33738 +- { (exit 1); exit 1; }; }
33739 ++ ncbi_cv_lib_wxwidgets=no
33740 + fi
33741 + fi
33742 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_wxwidgets" >&5
33743 ++echo "${ECHO_T}$ncbi_cv_lib_wxwidgets" >&6; }
33744 ++ if test "$ncbi_cv_lib_wxwidgets" = "no"; then
33745 ++ if test "${with_wxwidgets:=no}" != no; then
33746 ++ { { echo "$as_me:$LINENO: error: --with-wxwidgets explicitly specified, but no usable version found." >&5
33747 ++echo "$as_me: error: --with-wxwidgets explicitly specified, but no usable version found." >&2;}
33748 ++ { (exit 1); exit 1; }; }
33749 + fi
33750 +- : ${GLEW_PATH=$NCBI/glew}
33751 +- if test "$with_glew" != "no"; then
33752 +- if test "${with_glew-yes}" != "yes"; then
33753 +- GLEW_PATH=$with_glew
33754 + fi
33755 +- if test -d "$GLEW_PATH"; then
33756 +- if test -d "$GLEW_PATH/$compiler_vpfx$DEBUG_SFX$bit64_sfx"; then
33757 +- GLEW_PATH=$GLEW_PATH/$compiler_vpfx$DEBUG_SFX$bit64_sfx
33758 +- elif test -d "$GLEW_PATH/$compiler_pfx$DEBUG_SFX$bit64_sfx"; then
33759 +- GLEW_PATH=$GLEW_PATH/$compiler_pfx$DEBUG_SFX$bit64_sfx
33760 +- elif test -d "$GLEW_PATH/$DEBUG_SFX$bit64_sfx"; then
33761 +- GLEW_PATH=$GLEW_PATH/$DEBUG_SFX$bit64_sfx
33762 + fi
33763 +- ncbi_fix_dir_tmp=`if cd $GLEW_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
33764 +- case "$ncbi_fix_dir_tmp" in
33765 +- /.*) ncbi_fix_dir_tmp2=`cd $GLEW_PATH && $smart_pwd 2>/dev/null`
33766 +- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
33767 +- GLEW_PATH=$ncbi_fix_dir_tmp2
33768 ++
33769 ++if test "$with_wxwidgets" = "no" ; then
33770 ++ WXWIDGETS_LIBPATH="No_wxWidgets"
33771 ++ WXWIDGETS_INCLUDE=
33772 ++ WXWIDGETS_LIBS=
33773 ++ WXWIDGETS_STATIC_LIBS=
33774 ++ WXWIDGETS_GL_LIBS=
33775 ++ WXWIDGETS_GL_STATIC_LIBS=
33776 ++ WXWIDGETS_POST_LINK=:
33777 + else
33778 +- case "$GLEW_PATH" in
33779 +- /*) ;;
33780 +- * ) GLEW_PATH=$ncbi_fix_dir_tmp ;;
33781 ++ WithPackages="$WithPackages${WithPackagesSep}wxWidgets"; WithPackagesSep=" "
33782 ++ case "`"$wxconf" $wxcfflags --version`" in
33783 ++ 1.* | 2.[0-7].*)
33784 ++ wxlibs=std
33785 ++ ;;
33786 ++ *)
33787 ++ WithPackages="$WithPackages${WithPackagesSep}wx2.8"; WithPackagesSep=" "
33788 ++ wxlibs=std,richtext,aui,propgrid
33789 ++ ;;
33790 + esac
33791 ++ # The "yes" may have been cached; get the actual settings again if needed
33792 ++ if test -z "$WXWIDGETS_INCLUDE"; then
33793 ++ WXWIDGETS_INCLUDE="$baseflags `"$wxconf" $wxcfflags --cflags`"
33794 + fi
33795 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
33796 ++ WXWIDGETS_LIBS=`$wxconf $wxcfflags --libs $wxlibs | sed -e "$libsed; s/ -lm / /g;"`
33797 ++ else
33798 ++ WXWIDGETS_LIBS=
33799 ++ ncbi_rp_L_sep=
33800 ++ ncbi_rp_R_flags=
33801 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
33802 ++ for x in `$wxconf $wxcfflags --libs $wxlibs | sed -e "$libsed; s/ -lm / /g;"`; do
33803 ++ case "$x" in
33804 ++ -L*)
33805 ++ WXWIDGETS_LIBS="$WXWIDGETS_LIBS${ncbi_rp_L_sep}$x"
33806 ++ x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
33807 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
33808 ++ ncbi_rp_R_sep=:
33809 ++ ;;
33810 ++ *)
33811 ++ WXWIDGETS_LIBS="$WXWIDGETS_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
33812 ++ ncbi_rp_R_flags=
33813 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
33814 + ;;
33815 +- /*) GLEW_PATH=$ncbi_fix_dir_tmp ;;
33816 + esac
33817 +- GLEW_LIBDIR=$GLEW_PATH/lib
33818 +- if test -n "$bit64_sfx" -a -d $GLEW_LIBDIR$bit64_sfx; then
33819 +- if test -d $GLEW_LIBDIR; then
33820 +- for x in $GLEW_LIBDIR/libGLEW*; do
33821 +- if cmp -s "$x" "$GLEW_LIBDIR$bit64_sfx/`basename \"$x\"`"; then
33822 +- :
33823 +- else
33824 +- GLEW_LIBDIR=$GLEW_LIBDIR$bit64_sfx
33825 +- break
33826 +- fi
33827 ++ ncbi_rp_L_sep=" "
33828 + done
33829 +- else
33830 +- GLEW_LIBDIR=$GLEW_LIBDIR$bit64_sfx
33831 +- fi
33832 +- fi
33833 +- glew_config="eval PKG_CONFIG_PATH=\"$GLEW_LIBDIR/pkgconfig\" pkg-config"
33834 +- else
33835 +- glew_config=pkg-config
33836 ++ WXWIDGETS_LIBS="$WXWIDGETS_LIBS${ncbi_rp_R_flags}"
33837 + fi
33838 +- if pkg-config --version >/dev/null 2>&1; then
33839 +- if $glew_config glewmx --exists >/dev/null 2>&1 \
33840 +- && test -n "`$glew_config glewmx --libs 2>/dev/null`"; then
33841 +- glew_config="$glew_config glewmx"
33842 +- elif $glew_config glew --exists >/dev/null 2>&1 \
33843 +- && test -n "`$glew_config glew --libs 2>/dev/null`"; then
33844 +- glew_config="$glew_config glew"
33845 ++ WXWIDGETS_STATIC_LIBS=`"$wxconf" $wxcfflags --libs --static $wxlibs \
33846 ++ 2>/dev/null | sed -e "$basesed; s/ -lm / /g;"`
33847 ++ if test -n "$WXWIDGETS_STATIC_LIBS"; then
33848 ++ # Allow direct use of underlying libraries with strict linkers
33849 ++ WXWIDGETS_LIBS="$WXWIDGETS_LIBS `echo $WXWIDGETS_STATIC_LIBS | sed -e 's/.*\.a *//'`"
33850 + else
33851 +- glew_config=
33852 ++ WXWIDGETS_STATIC_LIBS=$WXWIDGETS_LIBS
33853 + fi
33854 +- if test -n "$glew_config"; then
33855 +- GLEW_INCLUDE=`$glew_config --cflags | sed 's:/GL *$::'`
33856 +- GLEW_LDFLAGS=`$glew_config --libs-only-L`
33857 +- glew_libname=`$glew_config --libs-only-l | sed -e 's/-l//'`
33858 ++ WXWIDGETS_GL_LIBS=`"$wxconf" $wxcfflags --libs gl | sed -e "$basesed"`
33859 ++ WXWIDGETS_GL_STATIC_LIBS=`"$wxconf" $wxcfflags --libs gl --static \
33860 ++ 2>/dev/null | sed -e "$basesed; s|-lGLU* -lGLU*|$OPENGL_STATIC_LIBS|"`
33861 ++ : ${WXWIDGETS_GL_STATIC_LIBS:=$WXWIDGETS_GL_LIBS}
33862 ++ WXWIDGETS_POST_LINK=`"$wxconf" $wxcfflags --rezflags 2>/dev/null`
33863 ++ test -n "$WXWIDGETS_POST_LINK" || WXWIDGETS_POST_LINK=:
33864 ++
33865 ++cat >>confdefs.h <<\_ACEOF
33866 ++#define HAVE_WXWIDGETS 1
33867 ++_ACEOF
33868 ++
33869 + fi
33870 ++
33871 ++
33872 ++## In-house Fast-CGI library
33873 ++if test "$with_fastcgi" != "no" ; then
33874 ++ case "$with_fastcgi" in
33875 ++ yes | "" ) ;;
33876 ++ */* ) FASTCGI_PATH=$with_fastcgi ;;
33877 ++ * ) FASTCGI_PATH=$NCBI/fcgi-${with_fastcgi} ;;
33878 ++ esac
33879 ++ if test -d "$FASTCGI_PATH"; then
33880 ++ ncbi_fix_dir_tmp=`if cd $FASTCGI_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
33881 ++ case "$ncbi_fix_dir_tmp" in
33882 ++ /.*) ncbi_fix_dir_tmp2=`cd $FASTCGI_PATH && $smart_pwd 2>/dev/null`
33883 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
33884 ++ FASTCGI_PATH=$ncbi_fix_dir_tmp2
33885 ++ else
33886 ++ case "$FASTCGI_PATH" in
33887 ++ /*) ;;
33888 ++ * ) FASTCGI_PATH=$ncbi_fix_dir_tmp ;;
33889 ++ esac
33890 + fi
33891 +- if test -z "$glew_libname" -a -d "$GLEW_PATH"; then
33892 +- GLEW_INCLUDE=-I$GLEW_PATH/include
33893 +- GLEW_LDFLAGS=-L$GLEW_LIBDIR
33894 ++ ;;
33895 ++ /*) FASTCGI_PATH=$ncbi_fix_dir_tmp ;;
33896 ++ esac
33897 + fi
33898 +- LDFLAGS="$orig_LDFLAGS $GLEW_LDFLAGS"
33899 +- LIBS="$OPENGL_LIBS $DL_LIBS $orig_LIBS"
33900 +- saved_LIBS=$LIBS
33901 +- echo "$as_me:$LINENO: checking for library containing glewGetExtension" >&5
33902 +-echo $ECHO_N "checking for library containing glewGetExtension... $ECHO_C" >&6
33903 +-if test "${ac_cv_search_glewGetExtension+set}" = set; then
33904 +- echo $ECHO_N "(cached) $ECHO_C" >&6
33905 ++ FASTCGI_INCLUDE="-I$FASTCGI_PATH/include${bit64_sfx}"
33906 ++ if test "$with_debug" = "no" ; then
33907 ++ FASTCGI_LIBDIR="$FASTCGI_PATH/lib${bit64_sfx}"
33908 + else
33909 +- ac_func_search_save_LIBS=$LIBS
33910 +-ac_cv_search_glewGetExtension=no
33911 +-cat >conftest.$ac_ext <<_ACEOF
33912 +-/* confdefs.h. */
33913 +-_ACEOF
33914 +-cat confdefs.h >>conftest.$ac_ext
33915 +-cat >>conftest.$ac_ext <<_ACEOF
33916 +-/* end confdefs.h. */
33917 +-
33918 +-/* Override any gcc2 internal prototype to avoid an error. */
33919 +-#ifdef __cplusplus
33920 +-extern "C"
33921 +-#endif
33922 +-/* We use char because int might match the return type of a gcc2
33923 +- builtin and then its argument prototype would still apply. */
33924 +-char glewGetExtension ();
33925 +-int
33926 +-main ()
33927 +-{
33928 +-glewGetExtension ();
33929 +- ;
33930 +- return 0;
33931 +-}
33932 +-_ACEOF
33933 +-rm -f conftest.$ac_objext conftest$ac_exeext
33934 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33935 +- (eval $ac_link) 2>conftest.er1
33936 +- ac_status=$?
33937 +- grep -v '^ *+' conftest.er1 >conftest.err
33938 +- rm -f conftest.er1
33939 +- cat conftest.err >&5
33940 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
33941 +- (exit $ac_status); } &&
33942 +- { ac_try='test -z "$ac_cxx_werror_flag"
33943 +- || test ! -s conftest.err'
33944 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33945 +- (eval $ac_try) 2>&5
33946 +- ac_status=$?
33947 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
33948 +- (exit $ac_status); }; } &&
33949 +- { ac_try='test -s conftest$ac_exeext'
33950 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33951 +- (eval $ac_try) 2>&5
33952 +- ac_status=$?
33953 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
33954 +- (exit $ac_status); }; }; then
33955 +- ac_cv_search_glewGetExtension="none required"
33956 ++ FASTCGI_LIBDIR="$FASTCGI_PATH/altlib${bit64_sfx}"
33957 ++ fi
33958 ++ ncbi_rp_L_flags=
33959 ++ ncbi_rp_L_sep=$CONF_f_libpath
33960 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
33961 ++ for x in $FASTCGI_LIBDIR; do
33962 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
33963 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
33964 ++ done
33965 ++ FASTCGI_LIBS="${ncbi_rp_L_flags} -lfcgi $NETWORK_LIBS"
33966 + else
33967 +- echo "$as_me: failed program was:" >&5
33968 +-sed 's/^/| /' conftest.$ac_ext >&5
33969 +-
33970 ++ ncbi_rp_R_flags=
33971 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
33972 ++ for x in $FASTCGI_LIBDIR; do
33973 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
33974 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
33975 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
33976 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
33977 ++ ncbi_rp_R_sep=:
33978 ++ done
33979 ++ FASTCGI_LIBS="${ncbi_rp_L_flags}${ncbi_rp_R_flags} -lfcgi $NETWORK_LIBS"
33980 + fi
33981 +-rm -f conftest.err conftest.$ac_objext \
33982 +- conftest$ac_exeext conftest.$ac_ext
33983 +-if test "$ac_cv_search_glewGetExtension" = no; then
33984 +- for ac_lib in "$GLEW_LIBS" $glew_libname GLEWmx GLEW; do
33985 +- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
33986 ++ FASTCGI_OBJS="fcgibuf"
33987 ++ LIBS="$FASTCGI_LIBS $orig_LIBS"
33988 ++ { echo "$as_me:$LINENO: checking for FastCGI libraries${FASTCGI_PATH:+ in $FASTCGI_PATH}" >&5
33989 ++echo $ECHO_N "checking for FastCGI libraries${FASTCGI_PATH:+ in $FASTCGI_PATH}... $ECHO_C" >&6; }
33990 ++if test "${ncbi_cv_lib_fcgi+set}" = set; then
33991 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
33992 ++else
33993 ++ CPPFLAGS="$FASTCGI_INCLUDE $orig_CPPFLAGS"
33994 + cat >conftest.$ac_ext <<_ACEOF
33995 + /* confdefs.h. */
33996 + _ACEOF
33997 + cat confdefs.h >>conftest.$ac_ext
33998 + cat >>conftest.$ac_ext <<_ACEOF
33999 + /* end confdefs.h. */
34000 +-
34001 +-/* Override any gcc2 internal prototype to avoid an error. */
34002 +-#ifdef __cplusplus
34003 +-extern "C"
34004 +-#endif
34005 +-/* We use char because int might match the return type of a gcc2
34006 +- builtin and then its argument prototype would still apply. */
34007 +-char glewGetExtension ();
34008 ++#include <fcgiapp.h>
34009 + int
34010 + main ()
34011 + {
34012 +-glewGetExtension ();
34013 ++ (void) FCGX_IsCGI();
34014 + ;
34015 + return 0;
34016 + }
34017 + _ACEOF
34018 + rm -f conftest.$ac_objext conftest$ac_exeext
34019 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34020 +- (eval $ac_link) 2>conftest.er1
34021 ++if { (ac_try="$ac_link"
34022 ++case "(($ac_try" in
34023 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34024 ++ *) ac_try_echo=$ac_try;;
34025 ++esac
34026 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34027 ++ (eval "$ac_link") 2>conftest.er1
34028 + ac_status=$?
34029 + grep -v '^ *+' conftest.er1 >conftest.err
34030 + rm -f conftest.er1
34031 + cat conftest.err >&5
34032 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34033 + (exit $ac_status); } &&
34034 +- { ac_try='test -z "$ac_cxx_werror_flag"
34035 +- || test ! -s conftest.err'
34036 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34037 +- (eval $ac_try) 2>&5
34038 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34039 ++ { (case "(($ac_try" in
34040 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34041 ++ *) ac_try_echo=$ac_try;;
34042 ++esac
34043 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34044 ++ (eval "$ac_try") 2>&5
34045 + ac_status=$?
34046 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34047 + (exit $ac_status); }; } &&
34048 + { ac_try='test -s conftest$ac_exeext'
34049 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34050 +- (eval $ac_try) 2>&5
34051 ++ { (case "(($ac_try" in
34052 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34053 ++ *) ac_try_echo=$ac_try;;
34054 ++esac
34055 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34056 ++ (eval "$ac_try") 2>&5
34057 + ac_status=$?
34058 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34059 + (exit $ac_status); }; }; then
34060 +- ac_cv_search_glewGetExtension="-l$ac_lib"
34061 +-break
34062 ++ ncbi_cv_lib_fcgi=yes
34063 + else
34064 + echo "$as_me: failed program was:" >&5
34065 + sed 's/^/| /' conftest.$ac_ext >&5
34066 +
34067 ++ ncbi_cv_lib_fcgi=no
34068 + fi
34069 +-rm -f conftest.err conftest.$ac_objext \
34070 +- conftest$ac_exeext conftest.$ac_ext
34071 +- done
34072 +-fi
34073 +-LIBS=$ac_func_search_save_LIBS
34074 +-fi
34075 +-echo "$as_me:$LINENO: result: $ac_cv_search_glewGetExtension" >&5
34076 +-echo "${ECHO_T}$ac_cv_search_glewGetExtension" >&6
34077 +-if test "$ac_cv_search_glewGetExtension" != no; then
34078 +- test "$ac_cv_search_glewGetExtension" = "none required" || LIBS="$ac_cv_search_glewGetExtension $LIBS"
34079 +-
34080 +-cat >>confdefs.h <<\_ACEOF
34081 +-#define HAVE_LIBGLEW 1
34082 +-_ACEOF
34083 +-
34084 +- test "x$ac_cv_search_glewGetExtension" = "xnone required" || GLEW_LIBS=$ac_cv_search_glewGetExtension
34085 +-fi
34086 +-
34087 +- LIBS=$saved_LIBS
34088 +
34089 +- if test "$ac_cv_search_glewGetExtension" = no; then
34090 +- GLEW_INCLUDE=
34091 +- GLEW_LIBS=
34092 +- if test "${with_glew:=no}" != no; then
34093 +- { { echo "$as_me:$LINENO: error: --with-glew explicitly specified, but no usable version found." >&5
34094 +-echo "$as_me: error: --with-glew explicitly specified, but no usable version found." >&2;}
34095 +- { (exit 1); exit 1; }; }
34096 ++rm -f core conftest.err conftest.$ac_objext \
34097 ++ conftest$ac_exeext conftest.$ac_ext
34098 + fi
34099 +- if test "${with_glew_mx:=no}" != no; then
34100 +- { { echo "$as_me:$LINENO: error: --with-glew-mx explicitly specified, but no usable version found." >&5
34101 +-echo "$as_me: error: --with-glew-mx explicitly specified, but no usable version found." >&2;}
34102 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_fcgi" >&5
34103 ++echo "${ECHO_T}$ncbi_cv_lib_fcgi" >&6; }
34104 ++ if test "$ncbi_cv_lib_fcgi" = "no"; then
34105 ++ if test "${with_fastcgi:=no}" != no; then
34106 ++ { { echo "$as_me:$LINENO: error: --with-fastcgi explicitly specified, but no usable version found." >&5
34107 ++echo "$as_me: error: --with-fastcgi explicitly specified, but no usable version found." >&2;}
34108 + { (exit 1); exit 1; }; }
34109 + fi
34110 +- else
34111 +- if test -z "${tmp_LIBS+set}"; then
34112 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
34113 +- tmp_LIBS=`echo $GLEW_LDFLAGS $GLEW_LIBS | sed -e ""`
34114 +- else
34115 +- tmp_LIBS=
34116 +- ncbi_rp_L_sep=
34117 +- ncbi_rp_R_flags=
34118 +- ncbi_rp_R_sep=" $CONF_f_runpath"
34119 +- for x in `echo $GLEW_LDFLAGS $GLEW_LIBS | sed -e ""`; do
34120 +- case "$x" in
34121 +- -L*)
34122 +- tmp_LIBS="$tmp_LIBS${ncbi_rp_L_sep}$x"
34123 +- x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
34124 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
34125 +- ncbi_rp_R_sep=:
34126 +- ;;
34127 +- *)
34128 +- tmp_LIBS="$tmp_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
34129 +- ncbi_rp_R_flags=
34130 +- ncbi_rp_R_sep=" $CONF_f_runpath"
34131 +- ;;
34132 +- esac
34133 +- ncbi_rp_L_sep=" "
34134 +- done
34135 +- tmp_LIBS="$tmp_LIBS${ncbi_rp_R_flags}"
34136 +- fi
34137 + fi
34138 +- GLEW_LIBS=$tmp_LIBS
34139 +- WithPackages="$WithPackages${WithPackagesSep}GLEW"; WithPackagesSep=" "
34140 +- CPPFLAGS="$orig_CPPFLAGS $GLEW_INCLUDE $OPENGL_INCLUDE"
34141 +- LIBS="$GLEW_LIBS $OPENGL_LIBS $DL_LIBS $orig_LIBS"
34142 +- echo "$as_me:$LINENO: checking for GLEW multi-context (MX) support (recommended)" >&5
34143 +-echo $ECHO_N "checking for GLEW multi-context (MX) support (recommended)... $ECHO_C" >&6
34144 +-if test "${ncbi_cv_lib_glew_mx+set}" = set; then
34145 ++
34146 ++for ac_func in FCGX_Accept_r
34147 ++do
34148 ++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34149 ++{ echo "$as_me:$LINENO: checking for $ac_func" >&5
34150 ++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34151 ++if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34152 + echo $ECHO_N "(cached) $ECHO_C" >&6
34153 + else
34154 + cat >conftest.$ac_ext <<_ACEOF
34155 +@@ -28517,3446 +33192,3722 @@
34156 + cat confdefs.h >>conftest.$ac_ext
34157 + cat >>conftest.$ac_ext <<_ACEOF
34158 + /* end confdefs.h. */
34159 +-#define GLEW_MX 1
34160 +- #include <GL/glew.h>
34161 ++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34162 ++ For example, HP-UX 11i <limits.h> declares gettimeofday. */
34163 ++#define $ac_func innocuous_$ac_func
34164 ++
34165 ++/* System header to define __stub macros and hopefully few prototypes,
34166 ++ which can conflict with char $ac_func (); below.
34167 ++ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34168 ++ <limits.h> exists even on freestanding compilers. */
34169 ++
34170 ++#ifdef __STDC__
34171 ++# include <limits.h>
34172 ++#else
34173 ++# include <assert.h>
34174 ++#endif
34175 ++
34176 ++#undef $ac_func
34177 ++
34178 ++/* Override any GCC internal prototype to avoid an error.
34179 ++ Use char because int might match the return type of a GCC
34180 ++ builtin and then its argument prototype would still apply. */
34181 ++#ifdef __cplusplus
34182 ++extern "C"
34183 ++#endif
34184 ++char $ac_func ();
34185 ++/* The GNU C library defines this for functions which it implements
34186 ++ to always fail with ENOSYS. Some functions are actually named
34187 ++ something starting with __ and the normal name is an alias. */
34188 ++#if defined __stub_$ac_func || defined __stub___$ac_func
34189 ++choke me
34190 ++#endif
34191 ++
34192 + int
34193 + main ()
34194 + {
34195 +-glewContextInit(NULL);
34196 ++return $ac_func ();
34197 + ;
34198 + return 0;
34199 + }
34200 + _ACEOF
34201 + rm -f conftest.$ac_objext conftest$ac_exeext
34202 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34203 +- (eval $ac_link) 2>conftest.er1
34204 ++if { (ac_try="$ac_link"
34205 ++case "(($ac_try" in
34206 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34207 ++ *) ac_try_echo=$ac_try;;
34208 ++esac
34209 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34210 ++ (eval "$ac_link") 2>conftest.er1
34211 + ac_status=$?
34212 + grep -v '^ *+' conftest.er1 >conftest.err
34213 + rm -f conftest.er1
34214 + cat conftest.err >&5
34215 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34216 + (exit $ac_status); } &&
34217 +- { ac_try='test -z "$ac_cxx_werror_flag"
34218 +- || test ! -s conftest.err'
34219 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34220 +- (eval $ac_try) 2>&5
34221 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34222 ++ { (case "(($ac_try" in
34223 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34224 ++ *) ac_try_echo=$ac_try;;
34225 ++esac
34226 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34227 ++ (eval "$ac_try") 2>&5
34228 + ac_status=$?
34229 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34230 + (exit $ac_status); }; } &&
34231 + { ac_try='test -s conftest$ac_exeext'
34232 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34233 +- (eval $ac_try) 2>&5
34234 ++ { (case "(($ac_try" in
34235 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34236 ++ *) ac_try_echo=$ac_try;;
34237 ++esac
34238 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34239 ++ (eval "$ac_try") 2>&5
34240 + ac_status=$?
34241 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34242 + (exit $ac_status); }; }; then
34243 +- ncbi_cv_lib_glew_mx=yes
34244 ++ eval "$as_ac_var=yes"
34245 + else
34246 + echo "$as_me: failed program was:" >&5
34247 + sed 's/^/| /' conftest.$ac_ext >&5
34248 +
34249 +-ncbi_cv_lib_glew_mx=no
34250 ++ eval "$as_ac_var=no"
34251 + fi
34252 +-rm -f conftest.err conftest.$ac_objext \
34253 ++
34254 ++rm -f core conftest.err conftest.$ac_objext \
34255 + conftest$ac_exeext conftest.$ac_ext
34256 + fi
34257 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_glew_mx" >&5
34258 +-echo "${ECHO_T}$ncbi_cv_lib_glew_mx" >&6
34259 +- if test $ncbi_cv_lib_glew_mx = yes; then
34260 +- GLEW_INCLUDE="$GLEW_INCLUDE -DGLEW_MX"
34261 +- else
34262 +- if test "${with_glew_mx:=no}" != no; then
34263 +- { { echo "$as_me:$LINENO: error: --with-glew-mx explicitly specified, but no usable version found." >&5
34264 +-echo "$as_me: error: --with-glew-mx explicitly specified, but no usable version found." >&2;}
34265 +- { (exit 1); exit 1; }; }
34266 +- fi
34267 +- fi
34268 +- : ${GLEW_STATIC_LIBS=$GLEW_LIBDIR/libGLEW-static.a}
34269 +- test -f "$GLEW_STATIC_LIBS" || GLEW_STATIC_LIBS=$GLEW_LIBS
34270 +- fi
34271 ++ac_res=`eval echo '${'$as_ac_var'}'`
34272 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
34273 ++echo "${ECHO_T}$ac_res" >&6; }
34274 ++if test `eval echo '${'$as_ac_var'}'` = yes; then
34275 ++ cat >>confdefs.h <<_ACEOF
34276 ++#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34277 ++_ACEOF
34278 ++
34279 + fi
34280 ++done
34281 ++
34282 + fi
34283 ++if test "$with_fastcgi" = "no" ; then
34284 ++ FASTCGI_PATH="No_FastCgi"
34285 ++ FASTCGI_INCLUDE=
34286 ++ FASTCGI_LIBS=
34287 ++ FASTCGI_OBJS=
34288 ++else
34289 ++ WithPackages="$WithPackages${WithPackagesSep}Fast-CGI"; WithPackagesSep=" "
34290 +
34291 +-LDFLAGS=$orig_LDFLAGS
34292 ++cat >>confdefs.h <<\_ACEOF
34293 ++#define HAVE_LIBFASTCGI 1
34294 ++_ACEOF
34295 +
34296 ++fi
34297 +
34298 +-## wxWidgets
34299 +-# Insist on single-byte builds by default, per various projects' expectations.
34300 +-: ${with_wxwidgets_ucs=no}
34301 +-if test "$with_wxwidgets" != "no" ; then
34302 +- case "$with_wxwidgets" in
34303 +- yes | "" ) : ${WXWIDGETS_PATH=$NCBI/wxwidgets} ;;
34304 +- * ) WXWIDGETS_PATH=$with_wxwidgets ;;
34305 +- esac
34306 +- if test -d "$WXWIDGETS_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/lib" \
34307 +- -a -z "$WXWIDGETS_ARCH_PATH"; then
34308 +- WXWIDGETS_ARCH_PATH="$WXWIDGETS_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}"
34309 +- elif test -d "$WXWIDGETS_PATH/${compiler_pfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/lib" \
34310 +- -a -z "$WXWIDGETS_ARCH_PATH"; then
34311 +- WXWIDGETS_ARCH_PATH="$WXWIDGETS_PATH/${compiler_pfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}"
34312 +- else
34313 +- WXWIDGETS_ARCH_PATH="$WXWIDGETS_PATH"
34314 ++
34315 ++## NCBI SSS libraries
34316 ++if test "$with_sybase" = "no" ; then
34317 ++ if test "${with_sssdb:=no}" != no; then
34318 ++ { { echo "$as_me:$LINENO: error: --with-sssdb explicitly specified, but no usable version found." >&5
34319 ++echo "$as_me: error: --with-sssdb explicitly specified, but no usable version found." >&2;}
34320 ++ { (exit 1); exit 1; }; }
34321 + fi
34322 +- WXWIDGETS_BINPATH=${WXWIDGETS_BINPATH:="$WXWIDGETS_ARCH_PATH/bin"}
34323 +- WXWIDGETS_LIBPATH=${WXWIDGETS_LIBPATH:="$WXWIDGETS_ARCH_PATH/lib"}
34324 +- WXWIDGETS_INCLUDE=
34325 +- $as_unset wxconf || test "${wxconf+set}" != set || { wxconf=; export wxconf; }
34326 +- # Extract the first word of "wx-config", so it can be a program name with args.
34327 +-set dummy wx-config; ac_word=$2
34328 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
34329 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34330 +-if test "${ac_cv_path_wxconf+set}" = set; then
34331 +- echo $ECHO_N "(cached) $ECHO_C" >&6
34332 +-else
34333 +- case $wxconf in
34334 +- [\\/]* | ?:[\\/]*)
34335 +- ac_cv_path_wxconf="$wxconf" # Let the user override the test with a path.
34336 +- ;;
34337 +- *)
34338 +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34339 +-as_dummy="$WXWIDGETS_BINPATH:$PATH"
34340 +-for as_dir in $as_dummy
34341 +-do
34342 +- IFS=$as_save_IFS
34343 +- test -z "$as_dir" && as_dir=.
34344 +- for ac_exec_ext in '' $ac_executable_extensions; do
34345 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34346 +- ac_cv_path_wxconf="$as_dir/$ac_word$ac_exec_ext"
34347 +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34348 +- break 2
34349 + fi
34350 +-done
34351 +-done
34352 +
34353 ++case "$host_os:$compiler:$compiler_version" in
34354 ++ linux*:GCC:*)
34355 ++ : ${with_included_sss=yes}
34356 + ;;
34357 + esac
34358 +-fi
34359 +-wxconf=$ac_cv_path_wxconf
34360 +
34361 +-if test -n "$wxconf"; then
34362 +- echo "$as_me:$LINENO: result: $wxconf" >&5
34363 +-echo "${ECHO_T}$wxconf" >&6
34364 ++if test "$with_sss" != "no" ; then
34365 ++ local_sss=${real_srcdir}/src/internal/sss
34366 ++ if test "${with_included_sss-no}" = "yes" \
34367 ++ -a -f "$local_sss/utils/sssdebug.hpp" \
34368 ++ -a -f "${local_sss}srv/cli/sssconnection.cpp"; then
34369 ++ with_included_sss=yes
34370 ++ NCBI_SSS_PATH=$local_sss
34371 ++ NCBI_SSS_INCLUDE="\$(incdir)/sss"
34372 ++ NCBI_SSS_LIBPATH="\$(libdir)"
34373 ++ WithPackages="$WithPackages${WithPackagesSep}LocalSSS"; WithPackagesSep=" "
34374 ++ if test -f "$local_sss/../msgmail2/asn/msgmail.asn"; then
34375 ++ WithPackages="$WithPackages${WithPackagesSep}LocalMSGMAIL2"; WithPackagesSep=" "
34376 ++ fi
34377 + else
34378 +- echo "$as_me:$LINENO: result: no" >&5
34379 +-echo "${ECHO_T}no" >&6
34380 ++ with_included_sss=no
34381 + fi
34382 +-
34383 +- if test -x "$wxconf"; then
34384 +- WXWIDGETS_ARCH_PATH=`$wxconf --exec-prefix`
34385 +- if test -n "$with_wxwidgets_ucs"; then
34386 +- wxcfflags=--unicode=$with_wxwidgets_ucs
34387 ++ if test "${with_sss-yes}" = yes; then
34388 ++ NCBI_SSS_PATH=${NCBI_SSS_PATH:="$NCBI/sss/BUILD"}
34389 + else
34390 +- wxcfflags=
34391 ++ NCBI_SSS_PATH=$with_sss
34392 + fi
34393 +- for x in `"$wxconf" $wxcfflags --libs --static 2>&5`; do
34394 +- case "$x" in
34395 +- -L*)
34396 +- d=`echo $x | sed -e 's/^-L//'`
34397 +- pcd=$d/pkgconfig
34398 +- if test -d "$pcd"; then
34399 +- PKG_CONFIG_PATH="${PKG_CONFIG_PATH+$PKG_CONFIG_PATH:}$pcd"
34400 ++ NCBI_SSS_INCLUDE=${NCBI_SSS_INCLUDE:="$NCBI_SSS_PATH/include"}
34401 ++ if test -z "$NCBI_SSS_LIBPATH" ; then
34402 ++ NCBI_SSS_LIBPATH="${NCBI_SSS_PATH}/lib/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}"
34403 ++ if test "$with_mt" = "yes" ; then
34404 ++ NCBI_SSS_LIBPATH="${NCBI_SSS_LIBPATH}mt"
34405 ++ fi
34406 ++ fi
34407 ++ { echo "$as_me:$LINENO: checking for NCBI SSS directories${NCBI_SSS_PATH:+ in $NCBI_SSS_PATH}" >&5
34408 ++echo $ECHO_N "checking for NCBI SSS directories${NCBI_SSS_PATH:+ in $NCBI_SSS_PATH}... $ECHO_C" >&6; }
34409 ++ if test "$with_included_sss" = "yes"; then
34410 ++ { echo "$as_me:$LINENO: result: yes" >&5
34411 ++echo "${ECHO_T}yes" >&6; } # duh
34412 ++ elif test ! -d "${NCBI_SSS_LIBPATH}" -o ! -d "${NCBI_SSS_INCLUDE}" ; then
34413 ++ { echo "$as_me:$LINENO: result: no" >&5
34414 ++echo "${ECHO_T}no" >&6; }
34415 ++ if test "${with_sss:=no}" != no; then
34416 ++ { { echo "$as_me:$LINENO: error: --with-sss explicitly specified, but no usable version found." >&5
34417 ++echo "$as_me: error: --with-sss explicitly specified, but no usable version found." >&2;}
34418 ++ { (exit 1); exit 1; }; }
34419 + fi
34420 +- ;;
34421 +- esac
34422 +- done
34423 +- export PKG_CONFIG_PATH
34424 + else
34425 +- $as_unset wxconf || test "${wxconf+set}" != set || { wxconf=; export wxconf; }
34426 ++ { echo "$as_me:$LINENO: result: yes" >&5
34427 ++echo "${ECHO_T}yes" >&6; }
34428 + fi
34429 +- if test -x "$wxconf" \
34430 +- && "$wxconf" $wxcfflags --list 2>/dev/null \
34431 +- | grep 'Default config is gtk2' >/dev/null; then
34432 +- gtkconf="pkg-config gtk+-2.0"
34433 +- elif test -x "$WXWIDGETS_BINPATH/gtk-config"; then
34434 +- gtkconf=$WXWIDGETS_BINPATH/gtk-config
34435 +- elif gtk-config --version >/dev/null 2>&1; then
34436 +- gtkconf=gtk-config
34437 +- else
34438 +- # May work without gtk-config (e.g., on Mac OS X)
34439 +- gtkconf=:
34440 + fi
34441 +- case "$host_os" in
34442 +- darwin* )
34443 +- baseflags=""
34444 +- basesed='s/-isysroot [^ ]*//g; s/-arch [^ ]*//g'
34445 +- if test -n "$SYSROOT"; then
34446 +- deps=`"$wxconf" $wxcfflags --libs --static 2>/dev/null \
34447 +- | sed -e 's/.*\.a//'`
34448 +- libsed="$basesed; s/\$/ $deps/"
34449 +- else
34450 +- libsed=$basesed
34451 ++
34452 ++if test "$with_sss" = "no" ; then
34453 ++ if test "${with_sssutils:=no}" != no; then
34454 ++ { { echo "$as_me:$LINENO: error: --with-sssutils explicitly specified, but no usable version found." >&5
34455 ++echo "$as_me: error: --with-sssutils explicitly specified, but no usable version found." >&2;}
34456 ++ { (exit 1); exit 1; }; }
34457 + fi
34458 +- ;;
34459 +- * )
34460 +- baseflags=`$gtkconf --cflags 2>/dev/null`
34461 +- basesed=$no_usr_lib
34462 +- libsed=$basesed
34463 +- ;;
34464 +- esac
34465 +- echo "$as_me:$LINENO: checking for wxWidgets in $WXWIDGETS_ARCH_PATH" >&5
34466 +-echo $ECHO_N "checking for wxWidgets in $WXWIDGETS_ARCH_PATH... $ECHO_C" >&6
34467 +-if test "${ncbi_cv_lib_wxwidgets+set}" = set; then
34468 +- echo $ECHO_N "(cached) $ECHO_C" >&6
34469 ++ if test "${with_sssdb:=no}" != no; then
34470 ++ { { echo "$as_me:$LINENO: error: --with-sssdb explicitly specified, but no usable version found." >&5
34471 ++echo "$as_me: error: --with-sssdb explicitly specified, but no usable version found." >&2;}
34472 ++ { (exit 1); exit 1; }; }
34473 ++ fi
34474 ++ NCBI_SSS_INCLUDE=
34475 ++ NCBI_SSS_LIBPATH=
34476 ++ LIBSSSUTILS=
34477 ++ LIBSSSDB=
34478 + else
34479 +- if test -x "$wxconf" ; then
34480 +- WXWIDGETS_INCLUDE="$baseflags `"$wxconf" $wxcfflags --cflags`"
34481 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
34482 +- WXWIDGETS_LIBS=`"$wxconf" $wxcfflags --libs | sed -e "$libsed; "`
34483 ++ if test "$with_included_sss" = "yes"; then
34484 ++ NCBI_SSS_LIBPATH= # Not needed
34485 ++ ncbi_cv_lib_sssutils=yes
34486 ++ ncbi_cv_lib_sssdb=yes
34487 ++ sssutils=sssutils
34488 + else
34489 +- WXWIDGETS_LIBS=
34490 +- ncbi_rp_L_sep=
34491 +- ncbi_rp_R_flags=
34492 +- ncbi_rp_R_sep=" $CONF_f_runpath"
34493 +- for x in `"$wxconf" $wxcfflags --libs | sed -e "$libsed; "`; do
34494 +- case "$x" in
34495 +- -L*)
34496 +- WXWIDGETS_LIBS="$WXWIDGETS_LIBS${ncbi_rp_L_sep}$x"
34497 +- x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
34498 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
34499 +- ncbi_rp_R_sep=:
34500 +- ;;
34501 +- *)
34502 +- WXWIDGETS_LIBS="$WXWIDGETS_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
34503 +- ncbi_rp_R_flags=
34504 +- ncbi_rp_R_sep=" $CONF_f_runpath"
34505 +- ;;
34506 +- esac
34507 +- ncbi_rp_L_sep=" "
34508 +- done
34509 +- WXWIDGETS_LIBS="$WXWIDGETS_LIBS${ncbi_rp_R_flags}"
34510 ++ NCBI_SSS_LIBPATH="-L${NCBI_SSS_LIBPATH}"
34511 + fi
34512 ++ NCBI_SSS_INCLUDE="-I${NCBI_SSS_INCLUDE}"
34513 +
34514 +- CPPFLAGS="$WXWIDGETS_INCLUDE $orig_CPPFLAGS"
34515 +- LIBS="$WXWIDGETS_LIBS $orig_LIBS"
34516 ++ # SSS UTILS
34517 ++ if test "$with_sssutils" != "no" ; then
34518 ++ LIBSSSUTILS="-lsssutils"
34519 ++ { echo "$as_me:$LINENO: checking for the NCBI SSS UTILS library" >&5
34520 ++echo $ECHO_N "checking for the NCBI SSS UTILS library... $ECHO_C" >&6; }
34521 ++if test "${ncbi_cv_lib_sssutils+set}" = set; then
34522 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
34523 ++else
34524 ++ CPPFLAGS="$NCBI_SSS_INCLUDE $SYBASE_INCLUDE $orig_CPPFLAGS"
34525 ++ LIBS="$NCBI_SSS_LIBPATH $LIBSSSUTILS $SYBASE_LIBS $NETWORK_LIBS $DL_LIBS $orig_LIBS"
34526 + cat >conftest.$ac_ext <<_ACEOF
34527 + /* confdefs.h. */
34528 + _ACEOF
34529 + cat confdefs.h >>conftest.$ac_ext
34530 + cat >>conftest.$ac_ext <<_ACEOF
34531 + /* end confdefs.h. */
34532 +-#include <wx/wx.h>
34533 ++#include <hashtab.hpp>
34534 + int
34535 + main ()
34536 + {
34537 +- wxExit();
34538 ++ (new C_HashTab(123))->Clear();
34539 + ;
34540 + return 0;
34541 + }
34542 + _ACEOF
34543 + rm -f conftest.$ac_objext conftest$ac_exeext
34544 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34545 +- (eval $ac_link) 2>conftest.er1
34546 ++if { (ac_try="$ac_link"
34547 ++case "(($ac_try" in
34548 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34549 ++ *) ac_try_echo=$ac_try;;
34550 ++esac
34551 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34552 ++ (eval "$ac_link") 2>conftest.er1
34553 + ac_status=$?
34554 + grep -v '^ *+' conftest.er1 >conftest.err
34555 + rm -f conftest.er1
34556 + cat conftest.err >&5
34557 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34558 + (exit $ac_status); } &&
34559 +- { ac_try='test -z "$ac_cxx_werror_flag"
34560 +- || test ! -s conftest.err'
34561 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34562 +- (eval $ac_try) 2>&5
34563 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34564 ++ { (case "(($ac_try" in
34565 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34566 ++ *) ac_try_echo=$ac_try;;
34567 ++esac
34568 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34569 ++ (eval "$ac_try") 2>&5
34570 + ac_status=$?
34571 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34572 + (exit $ac_status); }; } &&
34573 + { ac_try='test -s conftest$ac_exeext'
34574 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34575 +- (eval $ac_try) 2>&5
34576 ++ { (case "(($ac_try" in
34577 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34578 ++ *) ac_try_echo=$ac_try;;
34579 ++esac
34580 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34581 ++ (eval "$ac_try") 2>&5
34582 + ac_status=$?
34583 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34584 + (exit $ac_status); }; }; then
34585 +- ncbi_cv_lib_wxwidgets=yes
34586 ++ ncbi_cv_lib_sssutils=yes
34587 + else
34588 + echo "$as_me: failed program was:" >&5
34589 + sed 's/^/| /' conftest.$ac_ext >&5
34590 +
34591 +-ncbi_cv_lib_wxwidgets=no
34592 ++ ncbi_cv_lib_sssutils=no
34593 + fi
34594 +-rm -f conftest.err conftest.$ac_objext \
34595 ++
34596 ++rm -f core conftest.err conftest.$ac_objext \
34597 + conftest$ac_exeext conftest.$ac_ext
34598 +- else
34599 +- ncbi_cv_lib_wxwidgets=no
34600 ++fi
34601 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_sssutils" >&5
34602 ++echo "${ECHO_T}$ncbi_cv_lib_sssutils" >&6; }
34603 ++ if test "$ncbi_cv_lib_sssutils" = yes; then
34604 ++
34605 ++cat >>confdefs.h <<\_ACEOF
34606 ++#define HAVE_LIBSSSUTILS 1
34607 ++_ACEOF
34608 ++
34609 ++ WithPackages="$WithPackages${WithPackagesSep}SSSUTILS"; WithPackagesSep=" "
34610 ++ if test -f "$local_sss/../ncbils2/asn/login.asn"; then
34611 ++ if test "$with_included_sss" = yes || \
34612 ++ grep vformat $NCBI_SSS_INCLUDE/String.hpp >/dev/null 2>&1; then
34613 ++ WithPackages="$WithPackages${WithPackagesSep}LocalNCBILS"; WithPackagesSep=" " # temporary compatibility measure
34614 ++ WithPackages="$WithPackages${WithPackagesSep}NCBILS2"; WithPackagesSep=" "
34615 + fi
34616 + fi
34617 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_wxwidgets" >&5
34618 +-echo "${ECHO_T}$ncbi_cv_lib_wxwidgets" >&6
34619 +- if test "$ncbi_cv_lib_wxwidgets" = "no"; then
34620 +- if test "${with_wxwidgets:=no}" != no; then
34621 +- { { echo "$as_me:$LINENO: error: --with-wxwidgets explicitly specified, but no usable version found." >&5
34622 +-echo "$as_me: error: --with-wxwidgets explicitly specified, but no usable version found." >&2;}
34623 ++ else
34624 ++ if test "${with_sssutils:=no}" != no; then
34625 ++ { { echo "$as_me:$LINENO: error: --with-sssutils explicitly specified, but no usable version found." >&5
34626 ++echo "$as_me: error: --with-sssutils explicitly specified, but no usable version found." >&2;}
34627 ++ { (exit 1); exit 1; }; }
34628 ++ fi
34629 ++ if test "${with_sss:=no}" != no; then
34630 ++ { { echo "$as_me:$LINENO: error: --with-sss explicitly specified, but no usable version found." >&5
34631 ++echo "$as_me: error: --with-sss explicitly specified, but no usable version found." >&2;}
34632 + { (exit 1); exit 1; }; }
34633 + fi
34634 ++ LIBSSSUTILS=""
34635 + fi
34636 + fi
34637 +
34638 +-if test "$with_wxwidgets" = "no" ; then
34639 +- WXWIDGETS_LIBPATH="No_wxWidgets"
34640 +- WXWIDGETS_INCLUDE=
34641 +- WXWIDGETS_LIBS=
34642 +- WXWIDGETS_STATIC_LIBS=
34643 +- WXWIDGETS_GL_LIBS=
34644 +- WXWIDGETS_GL_STATIC_LIBS=
34645 +- WXWIDGETS_POST_LINK=:
34646 ++ # SSS DB
34647 ++ if test "$with_sssdb" != "no" ; then
34648 ++ if test "$with_mt" = "yes" ; then
34649 ++ LIBSSSDB="-lsssdb -lssssys"
34650 + else
34651 +- WithPackages="$WithPackages${WithPackagesSep}wxWidgets"; WithPackagesSep=" "
34652 +- case "`"$wxconf" $wxcfflags --version`" in
34653 +- 2.[89].* | 2.[0-9][0-9]* )
34654 +- WithPackages="$WithPackages${WithPackagesSep}wx2.8"; WithPackagesSep=" "
34655 +- wxlibs=std,richtext,aui
34656 +- ;;
34657 +- *)
34658 +- wxlibs=std
34659 +- ;;
34660 +- esac
34661 +- # The "yes" may have been cached; get the actual settings again if needed
34662 +- if test -z "$WXWIDGETS_INCLUDE"; then
34663 +- WXWIDGETS_INCLUDE="$baseflags `"$wxconf" $wxcfflags --cflags`"
34664 ++ LIBSSSDB="-lsssdb"
34665 + fi
34666 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
34667 +- WXWIDGETS_LIBS=`$wxconf $wxcfflags --libs $wxlibs | sed -e "$libsed; "`
34668 ++ { echo "$as_me:$LINENO: checking for the NCBI SSS DB library" >&5
34669 ++echo $ECHO_N "checking for the NCBI SSS DB library... $ECHO_C" >&6; }
34670 ++if test "${ncbi_cv_lib_sssdb+set}" = set; then
34671 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
34672 + else
34673 +- WXWIDGETS_LIBS=
34674 +- ncbi_rp_L_sep=
34675 +- ncbi_rp_R_flags=
34676 +- ncbi_rp_R_sep=" $CONF_f_runpath"
34677 +- for x in `$wxconf $wxcfflags --libs $wxlibs | sed -e "$libsed; "`; do
34678 +- case "$x" in
34679 +- -L*)
34680 +- WXWIDGETS_LIBS="$WXWIDGETS_LIBS${ncbi_rp_L_sep}$x"
34681 +- x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
34682 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
34683 +- ncbi_rp_R_sep=:
34684 +- ;;
34685 +- *)
34686 +- WXWIDGETS_LIBS="$WXWIDGETS_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
34687 +- ncbi_rp_R_flags=
34688 +- ncbi_rp_R_sep=" $CONF_f_runpath"
34689 +- ;;
34690 ++ CPPFLAGS="$NCBI_SSS_INCLUDE $SYBASE_INCLUDE $orig_CPPFLAGS"
34691 ++ LIBS="$NCBI_SSS_LIBPATH $LIBSSSDB $SYBASE_LIBS $NETWORK_LIBS $DL_LIBS $orig_LIBS"
34692 ++ cat >conftest.$ac_ext <<_ACEOF
34693 ++/* confdefs.h. */
34694 ++_ACEOF
34695 ++cat confdefs.h >>conftest.$ac_ext
34696 ++cat >>conftest.$ac_ext <<_ACEOF
34697 ++/* end confdefs.h. */
34698 ++#include <cslink.hpp>
34699 ++int
34700 ++main ()
34701 ++{
34702 ++ (new CSLink)->connect2server("srv", "user", "pwd", "db");
34703 ++ ;
34704 ++ return 0;
34705 ++}
34706 ++_ACEOF
34707 ++rm -f conftest.$ac_objext conftest$ac_exeext
34708 ++if { (ac_try="$ac_link"
34709 ++case "(($ac_try" in
34710 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34711 ++ *) ac_try_echo=$ac_try;;
34712 + esac
34713 +- ncbi_rp_L_sep=" "
34714 +- done
34715 +- WXWIDGETS_LIBS="$WXWIDGETS_LIBS${ncbi_rp_R_flags}"
34716 +- fi
34717 +- WXWIDGETS_STATIC_LIBS=`"$wxconf" $wxcfflags --libs --static $wxlibs \
34718 +- 2>/dev/null | sed -e "$basesed"`
34719 +- if test -n "$WXWIDGETS_STATIC_LIBS"; then
34720 +- # Allow direct use of underlying libraries with strict linkers
34721 +- WXWIDGETS_LIBS="$WXWIDGETS_LIBS `echo $WXWIDGETS_STATIC_LIBS | sed -e 's/.*\.a *//'`"
34722 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34723 ++ (eval "$ac_link") 2>conftest.er1
34724 ++ ac_status=$?
34725 ++ grep -v '^ *+' conftest.er1 >conftest.err
34726 ++ rm -f conftest.er1
34727 ++ cat conftest.err >&5
34728 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
34729 ++ (exit $ac_status); } &&
34730 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34731 ++ { (case "(($ac_try" in
34732 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34733 ++ *) ac_try_echo=$ac_try;;
34734 ++esac
34735 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34736 ++ (eval "$ac_try") 2>&5
34737 ++ ac_status=$?
34738 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
34739 ++ (exit $ac_status); }; } &&
34740 ++ { ac_try='test -s conftest$ac_exeext'
34741 ++ { (case "(($ac_try" in
34742 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34743 ++ *) ac_try_echo=$ac_try;;
34744 ++esac
34745 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34746 ++ (eval "$ac_try") 2>&5
34747 ++ ac_status=$?
34748 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
34749 ++ (exit $ac_status); }; }; then
34750 ++ ncbi_cv_lib_sssdb=yes
34751 + else
34752 +- WXWIDGETS_STATIC_LIBS=$WXWIDGETS_LIBS
34753 ++ echo "$as_me: failed program was:" >&5
34754 ++sed 's/^/| /' conftest.$ac_ext >&5
34755 ++
34756 ++ ncbi_cv_lib_sssdb=no
34757 + fi
34758 +- WXWIDGETS_GL_LIBS=`"$wxconf" $wxcfflags --libs gl | sed -e "$basesed"`
34759 +- WXWIDGETS_GL_STATIC_LIBS=`"$wxconf" $wxcfflags --libs gl --static \
34760 +- 2>/dev/null | sed -e "$basesed; s|-lGLU* -lGLU*|$OPENGL_STATIC_LIBS|"`
34761 +- : ${WXWIDGETS_GL_STATIC_LIBS:=$WXWIDGETS_GL_LIBS}
34762 +- WXWIDGETS_POST_LINK=`"$wxconf" $wxcfflags --rezflags 2>/dev/null`
34763 +- test -n "$WXWIDGETS_POST_LINK" || WXWIDGETS_POST_LINK=:
34764 ++
34765 ++rm -f core conftest.err conftest.$ac_objext \
34766 ++ conftest$ac_exeext conftest.$ac_ext
34767 ++fi
34768 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_sssdb" >&5
34769 ++echo "${ECHO_T}$ncbi_cv_lib_sssdb" >&6; }
34770 ++ if test "$ncbi_cv_lib_sssdb" = "yes"; then
34771 +
34772 + cat >>confdefs.h <<\_ACEOF
34773 +-#define HAVE_WXWIDGETS 1
34774 ++#define HAVE_LIBSSSDB 1
34775 + _ACEOF
34776 +
34777 ++ WithPackages="$WithPackages${WithPackagesSep}SSSDB"; WithPackagesSep=" "
34778 ++ else
34779 ++ if test "${with_sssdb:=no}" != no; then
34780 ++ { { echo "$as_me:$LINENO: error: --with-sssdb explicitly specified, but no usable version found." >&5
34781 ++echo "$as_me: error: --with-sssdb explicitly specified, but no usable version found." >&2;}
34782 ++ { (exit 1); exit 1; }; }
34783 + fi
34784 +-
34785 +-
34786 +-## In-house Fast-CGI library
34787 +-if test "$with_fastcgi" != "no" ; then
34788 +- case "$with_fastcgi" in
34789 +- yes | "" ) : ${FASTCGI_PATH:="$NCBI/fcgi-current"} ;;
34790 +- */* ) FASTCGI_PATH=$with_fastcgi ;;
34791 +- * ) FASTCGI_PATH=$NCBI/fcgi-${with_fastcgi} ;;
34792 +- esac
34793 +- if test -d "$FASTCGI_PATH"; then
34794 +- ncbi_fix_dir_tmp=`if cd $FASTCGI_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
34795 +- case "$ncbi_fix_dir_tmp" in
34796 +- /.*) ncbi_fix_dir_tmp2=`cd $FASTCGI_PATH && $smart_pwd 2>/dev/null`
34797 +- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
34798 +- FASTCGI_PATH=$ncbi_fix_dir_tmp2
34799 ++ if test "${with_sss:=no}" != no; then
34800 ++ { { echo "$as_me:$LINENO: error: --with-sss explicitly specified, but no usable version found." >&5
34801 ++echo "$as_me: error: --with-sss explicitly specified, but no usable version found." >&2;}
34802 ++ { (exit 1); exit 1; }; }
34803 ++ fi
34804 ++ LIBSSSDB=""
34805 ++ fi
34806 ++ fi
34807 ++fi
34808 ++
34809 ++
34810 ++# SP
34811 ++if test "$with_sp" != "no" ; then
34812 ++ if test -n "$SP_INCLUDE"; then
34813 ++ SP_GENERIC="$SP_INCLUDE/../generic"
34814 + else
34815 +- case "$FASTCGI_PATH" in
34816 +- /*) ;;
34817 +- * ) FASTCGI_PATH=$ncbi_fix_dir_tmp ;;
34818 +- esac
34819 ++ SP_INCLUDE="$SP_PATH/include"
34820 ++ SP_GENERIC="$SP_PATH/generic"
34821 + fi
34822 +- ;;
34823 +- /*) FASTCGI_PATH=$ncbi_fix_dir_tmp ;;
34824 +- esac
34825 ++ if test -z "$SP_LIBPATH" ; then
34826 ++ SP_LIBPATH="${SP_PATH}/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}"
34827 ++ fi
34828 ++ { echo "$as_me:$LINENO: checking for SP directories${SP_PATH:+ in $SP_PATH}" >&5
34829 ++echo $ECHO_N "checking for SP directories${SP_PATH:+ in $SP_PATH}... $ECHO_C" >&6; }
34830 ++ if test ! -d "${SP_LIBPATH}" -o ! -d "${SP_INCLUDE}" ; then
34831 ++ { echo "$as_me:$LINENO: result: no" >&5
34832 ++echo "${ECHO_T}no" >&6; }
34833 ++ if test "${with_sp:=no}" != no; then
34834 ++ { { echo "$as_me:$LINENO: error: --with-sp explicitly specified, but no usable version found." >&5
34835 ++echo "$as_me: error: --with-sp explicitly specified, but no usable version found." >&2;}
34836 ++ { (exit 1); exit 1; }; }
34837 + fi
34838 +- FASTCGI_INCLUDE="-I$FASTCGI_PATH/include${bit64_sfx}"
34839 +- if test "$with_debug" = "no" ; then
34840 +- FASTCGI_LIBDIR="$FASTCGI_PATH/lib${bit64_sfx}"
34841 + else
34842 +- FASTCGI_LIBDIR="$FASTCGI_PATH/altlib${bit64_sfx}"
34843 ++ { echo "$as_me:$LINENO: result: yes" >&5
34844 ++echo "${ECHO_T}yes" >&6; }
34845 + fi
34846 +- ncbi_rp_L_flags=
34847 +- ncbi_rp_L_sep=$CONF_f_libpath
34848 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
34849 +- for x in $FASTCGI_LIBDIR; do
34850 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
34851 +- ncbi_rp_L_sep=" $CONF_f_libpath"
34852 +- done
34853 +- FASTCGI_LIBS="${ncbi_rp_L_flags} -lfcgi $NETWORK_LIBS"
34854 ++fi
34855 ++
34856 ++if test "$with_sp" != "no" ; then
34857 ++ if test -d "$SP_GENERIC"; then
34858 ++ SP_INCLUDE="-I${SP_INCLUDE} -I${SP_GENERIC}"
34859 + else
34860 +- ncbi_rp_R_flags=
34861 +- ncbi_rp_R_sep=" $CONF_f_runpath"
34862 +- for x in $FASTCGI_LIBDIR; do
34863 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
34864 +- ncbi_rp_L_sep=" $CONF_f_libpath"
34865 +- x=`echo $x | sed -e "$ncbi_rpath_sed"`
34866 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
34867 +- ncbi_rp_R_sep=:
34868 +- done
34869 +- FASTCGI_LIBS="${ncbi_rp_L_flags}${ncbi_rp_R_flags} -lfcgi $NETWORK_LIBS"
34870 ++ SP_INCLUDE="-I${SP_INCLUDE}"
34871 + fi
34872 +- FASTCGI_OBJS="fcgibuf"
34873 +- LIBS="$FASTCGI_LIBS $orig_LIBS"
34874 +- echo "$as_me:$LINENO: checking for FastCGI libraries in $FASTCGI_PATH" >&5
34875 +-echo $ECHO_N "checking for FastCGI libraries in $FASTCGI_PATH... $ECHO_C" >&6
34876 +-if test "${ncbi_cv_lib_fcgi+set}" = set; then
34877 ++ SP_LIBS="-L$SP_LIBPATH -lsp"
34878 ++ { echo "$as_me:$LINENO: checking for the SP SGML library" >&5
34879 ++echo $ECHO_N "checking for the SP SGML library... $ECHO_C" >&6; }
34880 ++if test "${ncbi_cv_lib_sp+set}" = set; then
34881 + echo $ECHO_N "(cached) $ECHO_C" >&6
34882 + else
34883 +- CPPFLAGS="$FASTCGI_INCLUDE $orig_CPPFLAGS"
34884 ++ CPPFLAGS="$SP_INCLUDE $orig_CPPFLAGS"
34885 ++ LIBS="$SP_LIBS $orig_LIBS"
34886 + cat >conftest.$ac_ext <<_ACEOF
34887 + /* confdefs.h. */
34888 + _ACEOF
34889 + cat confdefs.h >>conftest.$ac_ext
34890 + cat >>conftest.$ac_ext <<_ACEOF
34891 + /* end confdefs.h. */
34892 +-#include <fcgiapp.h>
34893 ++#include <SGMLApplication.h>
34894 + int
34895 + main ()
34896 + {
34897 +- (void) FCGX_IsCGI();
34898 ++ SP_API::SGMLApplication app;
34899 + ;
34900 + return 0;
34901 + }
34902 + _ACEOF
34903 + rm -f conftest.$ac_objext conftest$ac_exeext
34904 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34905 +- (eval $ac_link) 2>conftest.er1
34906 ++if { (ac_try="$ac_link"
34907 ++case "(($ac_try" in
34908 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34909 ++ *) ac_try_echo=$ac_try;;
34910 ++esac
34911 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34912 ++ (eval "$ac_link") 2>conftest.er1
34913 + ac_status=$?
34914 + grep -v '^ *+' conftest.er1 >conftest.err
34915 + rm -f conftest.er1
34916 + cat conftest.err >&5
34917 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34918 + (exit $ac_status); } &&
34919 +- { ac_try='test -z "$ac_cxx_werror_flag"
34920 +- || test ! -s conftest.err'
34921 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34922 +- (eval $ac_try) 2>&5
34923 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34924 ++ { (case "(($ac_try" in
34925 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34926 ++ *) ac_try_echo=$ac_try;;
34927 ++esac
34928 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34929 ++ (eval "$ac_try") 2>&5
34930 + ac_status=$?
34931 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 + (exit $ac_status); }; } &&
34933 + { ac_try='test -s conftest$ac_exeext'
34934 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34935 +- (eval $ac_try) 2>&5
34936 ++ { (case "(($ac_try" in
34937 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34938 ++ *) ac_try_echo=$ac_try;;
34939 ++esac
34940 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34941 ++ (eval "$ac_try") 2>&5
34942 + ac_status=$?
34943 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34944 + (exit $ac_status); }; }; then
34945 +- ncbi_cv_lib_fcgi=yes
34946 ++ ncbi_cv_lib_sp=yes
34947 + else
34948 + echo "$as_me: failed program was:" >&5
34949 + sed 's/^/| /' conftest.$ac_ext >&5
34950 +
34951 +-ncbi_cv_lib_fcgi=no
34952 ++ ncbi_cv_lib_sp=no
34953 + fi
34954 +-rm -f conftest.err conftest.$ac_objext \
34955 ++
34956 ++rm -f core conftest.err conftest.$ac_objext \
34957 + conftest$ac_exeext conftest.$ac_ext
34958 + fi
34959 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_fcgi" >&5
34960 +-echo "${ECHO_T}$ncbi_cv_lib_fcgi" >&6
34961 +- if test "$ncbi_cv_lib_fcgi" = "no"; then
34962 +- if test "${with_fastcgi:=no}" != no; then
34963 +- { { echo "$as_me:$LINENO: error: --with-fastcgi explicitly specified, but no usable version found." >&5
34964 +-echo "$as_me: error: --with-fastcgi explicitly specified, but no usable version found." >&2;}
34965 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_sp" >&5
34966 ++echo "${ECHO_T}$ncbi_cv_lib_sp" >&6; }
34967 ++ if test "$ncbi_cv_lib_sp" = "no"; then
34968 ++ if test "${with_sp:=no}" != no; then
34969 ++ { { echo "$as_me:$LINENO: error: --with-sp explicitly specified, but no usable version found." >&5
34970 ++echo "$as_me: error: --with-sp explicitly specified, but no usable version found." >&2;}
34971 + { (exit 1); exit 1; }; }
34972 + fi
34973 + fi
34974 ++fi
34975 +
34976 +-for ac_func in FCGX_Accept_r
34977 +-do
34978 +-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34979 +-echo "$as_me:$LINENO: checking for $ac_func" >&5
34980 +-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34981 +-if eval "test \"\${$as_ac_var+set}\" = set"; then
34982 ++if test "$with_sp" = "no" ; then
34983 ++ SP_INCLUDE=
34984 ++ SP_LIBS=
34985 ++else
34986 ++ WithPackages="$WithPackages${WithPackagesSep}SP"; WithPackagesSep=" "
34987 ++
34988 ++cat >>confdefs.h <<\_ACEOF
34989 ++#define HAVE_LIBSP 1
34990 ++_ACEOF
34991 ++
34992 ++fi
34993 ++
34994 ++
34995 ++## ORBacus CORBA
34996 ++if test "$with_orbacus" != no; then
34997 ++ if test "$with_orbacus" != yes; then
34998 ++ ORBACUS_PATH=$with_orbacus
34999 ++fi
35000 ++if test -d "$ORBACUS_PATH"; then
35001 ++ ncbi_fix_dir_tmp=`if cd $ORBACUS_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
35002 ++ case "$ncbi_fix_dir_tmp" in
35003 ++ /.*) ncbi_fix_dir_tmp2=`cd $ORBACUS_PATH && $smart_pwd 2>/dev/null`
35004 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
35005 ++ ORBACUS_PATH=$ncbi_fix_dir_tmp2
35006 ++ else
35007 ++ case "$ORBACUS_PATH" in
35008 ++ /*) ;;
35009 ++ * ) ORBACUS_PATH=$ncbi_fix_dir_tmp ;;
35010 ++ esac
35011 ++ fi
35012 ++ ;;
35013 ++ /*) ORBACUS_PATH=$ncbi_fix_dir_tmp ;;
35014 ++ esac
35015 ++fi
35016 ++ fullpath=${ORBACUS_PATH}/${DEBUG_SFX}${mt_sfx}${bit64_sfx}
35017 ++ if test -f ${fullpath}/inc/OB/Config.h ; then
35018 ++ : ${ORBACUS_INCLUDE="-I$ORBACUS_PATH/include -I$fullpath/inc"}
35019 ++ if test -z "${ORBACUS_LIBPATH+set}"; then
35020 ++ ncbi_rp_L_flags=
35021 ++ ncbi_rp_L_sep=$CONF_f_libpath
35022 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
35023 ++ for x in $fullpath/lib; do
35024 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
35025 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
35026 ++ done
35027 ++ ORBACUS_LIBPATH="${ncbi_rp_L_flags}"
35028 ++ else
35029 ++ ncbi_rp_R_flags=
35030 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
35031 ++ for x in $fullpath/lib; do
35032 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
35033 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
35034 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
35035 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
35036 ++ ncbi_rp_R_sep=:
35037 ++ done
35038 ++ ORBACUS_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
35039 ++ fi
35040 ++ fi
35041 ++ elif test -f ${ORBACUS_PATH}/include/OB/Config.h ; then
35042 ++ : ${ORBACUS_INCLUDE="-I$ORBACUS_PATH/include"}
35043 ++ if test -z "${ORBACUS_LIBPATH+set}"; then
35044 ++ ncbi_rp_L_flags=
35045 ++ ncbi_rp_L_sep=$CONF_f_libpath
35046 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
35047 ++ for x in $ORBACUS_PATH/lib; do
35048 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
35049 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
35050 ++ done
35051 ++ ORBACUS_LIBPATH="${ncbi_rp_L_flags}"
35052 ++ else
35053 ++ ncbi_rp_R_flags=
35054 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
35055 ++ for x in $ORBACUS_PATH/lib; do
35056 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
35057 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
35058 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
35059 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
35060 ++ ncbi_rp_R_sep=:
35061 ++ done
35062 ++ ORBACUS_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
35063 ++ fi
35064 ++ fi
35065 ++ fi
35066 ++ case "$host_os:$with_mt" in
35067 ++ linux*:no) LIBJTC="-lJTC -pthread" ;;
35068 ++ *) LIBJTC="-lJTC" ;;
35069 ++ esac
35070 ++
35071 ++ case "$with_mt:$ORBACUS_LIBPATH" in
35072 ++ yes:* | *:-L*MT/lib* )
35073 ++ LIBOB="-lOB $LIBJTC"
35074 ++ LIBIMR="-lIMR"
35075 ++ ;;
35076 ++ * )
35077 ++ LIBOB="-lOB"
35078 ++ LIBIMR=
35079 ++ ;;
35080 ++ esac
35081 ++ { echo "$as_me:$LINENO: checking for ORBacus${ORBACUS_PATH:+ in $ORBACUS_PATH}" >&5
35082 ++echo $ECHO_N "checking for ORBacus${ORBACUS_PATH:+ in $ORBACUS_PATH}... $ECHO_C" >&6; }
35083 ++if test "${ncbi_cv_lib_orbacus+set}" = set; then
35084 + echo $ECHO_N "(cached) $ECHO_C" >&6
35085 + else
35086 ++ CPPFLAGS="$ORBACUS_INCLUDE $orig_CPPFLAGS"
35087 ++ LIBS="$ORBACUS_LIBPATH $LIBOB $NETWORK_LIBS $DL_LIBS $orig_LIBS"
35088 + cat >conftest.$ac_ext <<_ACEOF
35089 + /* confdefs.h. */
35090 + _ACEOF
35091 + cat confdefs.h >>conftest.$ac_ext
35092 + cat >>conftest.$ac_ext <<_ACEOF
35093 + /* end confdefs.h. */
35094 +-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35095 +- For example, HP-UX 11i <limits.h> declares gettimeofday. */
35096 +-#define $ac_func innocuous_$ac_func
35097 +-
35098 +-/* System header to define __stub macros and hopefully few prototypes,
35099 +- which can conflict with char $ac_func (); below.
35100 +- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35101 +- <limits.h> exists even on freestanding compilers. */
35102 +-
35103 +-#ifdef __STDC__
35104 +-# include <limits.h>
35105 +-#else
35106 +-# include <assert.h>
35107 +-#endif
35108 +-
35109 +-#undef $ac_func
35110 +-
35111 +-/* Override any gcc2 internal prototype to avoid an error. */
35112 +-#ifdef __cplusplus
35113 +-extern "C"
35114 +-{
35115 +-#endif
35116 +-/* We use char because int might match the return type of a gcc2
35117 +- builtin and then its argument prototype would still apply. */
35118 +-char $ac_func ();
35119 +-/* The GNU C library defines this for functions which it implements
35120 +- to always fail with ENOSYS. Some functions are actually named
35121 +- something starting with __ and the normal name is an alias. */
35122 +-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35123 +-choke me
35124 +-#else
35125 +-char (*f) () = $ac_func;
35126 +-#endif
35127 +-#ifdef __cplusplus
35128 +-}
35129 +-#endif
35130 +-
35131 ++#include <OB/CORBA.h>
35132 + int
35133 + main ()
35134 + {
35135 +-return f != $ac_func;
35136 ++
35137 ++ int c = 0;
35138 ++ char* v[] = { NULL };
35139 ++ CORBA::ORB_var orb = CORBA::ORB_init(c, v);
35140 ++ if (!CORBA::is_nil(orb)) orb->destroy();
35141 ++
35142 + ;
35143 + return 0;
35144 + }
35145 + _ACEOF
35146 + rm -f conftest.$ac_objext conftest$ac_exeext
35147 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35148 +- (eval $ac_link) 2>conftest.er1
35149 ++if { (ac_try="$ac_link"
35150 ++case "(($ac_try" in
35151 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35152 ++ *) ac_try_echo=$ac_try;;
35153 ++esac
35154 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35155 ++ (eval "$ac_link") 2>conftest.er1
35156 + ac_status=$?
35157 + grep -v '^ *+' conftest.er1 >conftest.err
35158 + rm -f conftest.er1
35159 + cat conftest.err >&5
35160 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35161 + (exit $ac_status); } &&
35162 +- { ac_try='test -z "$ac_cxx_werror_flag"
35163 +- || test ! -s conftest.err'
35164 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35165 +- (eval $ac_try) 2>&5
35166 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35167 ++ { (case "(($ac_try" in
35168 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35169 ++ *) ac_try_echo=$ac_try;;
35170 ++esac
35171 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35172 ++ (eval "$ac_try") 2>&5
35173 + ac_status=$?
35174 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35175 + (exit $ac_status); }; } &&
35176 + { ac_try='test -s conftest$ac_exeext'
35177 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35178 +- (eval $ac_try) 2>&5
35179 ++ { (case "(($ac_try" in
35180 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35181 ++ *) ac_try_echo=$ac_try;;
35182 ++esac
35183 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35184 ++ (eval "$ac_try") 2>&5
35185 + ac_status=$?
35186 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35187 + (exit $ac_status); }; }; then
35188 +- eval "$as_ac_var=yes"
35189 ++ ncbi_cv_lib_orbacus=yes
35190 + else
35191 + echo "$as_me: failed program was:" >&5
35192 + sed 's/^/| /' conftest.$ac_ext >&5
35193 +
35194 +-eval "$as_ac_var=no"
35195 ++ ncbi_cv_lib_orbacus=no
35196 + fi
35197 +-rm -f conftest.err conftest.$ac_objext \
35198 ++
35199 ++rm -f core conftest.err conftest.$ac_objext \
35200 + conftest$ac_exeext conftest.$ac_ext
35201 + fi
35202 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35203 +-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35204 +-if test `eval echo '${'$as_ac_var'}'` = yes; then
35205 +- cat >>confdefs.h <<_ACEOF
35206 +-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35207 +-_ACEOF
35208 +-
35209 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_orbacus" >&5
35210 ++echo "${ECHO_T}$ncbi_cv_lib_orbacus" >&6; }
35211 ++ if test "$ncbi_cv_lib_orbacus" = "no"; then
35212 ++ if test "${with_orbacus:=no}" != no; then
35213 ++ { { echo "$as_me:$LINENO: error: --with-orbacus explicitly specified, but no usable version found." >&5
35214 ++echo "$as_me: error: --with-orbacus explicitly specified, but no usable version found." >&2;}
35215 ++ { (exit 1); exit 1; }; }
35216 + fi
35217 +-done
35218 +-
35219 + fi
35220 +-if test "$with_fastcgi" = "no" ; then
35221 +- FASTCGI_PATH="No_FastCgi"
35222 +- FASTCGI_INCLUDE=
35223 +- FASTCGI_LIBS=
35224 +- FASTCGI_OBJS=
35225 ++fi
35226 ++if test "$with_orbacus" = no; then
35227 ++ ORBACUS_PATH=No_ORBacus
35228 ++ ORBACUS_INCLUDE=
35229 ++ ORBACUS_LIBPATH=
35230 ++ LIBOB=
35231 ++ LIBIMR=
35232 + else
35233 +- WithPackages="$WithPackages${WithPackagesSep}Fast-CGI"; WithPackagesSep=" "
35234 ++ WithPackages="$WithPackages${WithPackagesSep}ORBacus"; WithPackagesSep=" "
35235 +
35236 + cat >>confdefs.h <<\_ACEOF
35237 +-#define HAVE_LIBFASTCGI 1
35238 ++#define HAVE_ORBACUS 1
35239 + _ACEOF
35240 +
35241 + fi
35242 ++# Sigh... without this, the linker pulls in the contents of the cache
35243 ++# and then gripes about missing JTC stuff.
35244 ++test -d SunWS_cache && rm -r SunWS_cache
35245 +
35246 +
35247 +-## NCBI SSS libraries
35248 +-if test "$with_sybase" = "no" ; then
35249 +- if test "${with_sssdb:=no}" != no; then
35250 +- { { echo "$as_me:$LINENO: error: --with-sssdb explicitly specified, but no usable version found." >&5
35251 +-echo "$as_me: error: --with-sssdb explicitly specified, but no usable version found." >&2;}
35252 +- { (exit 1); exit 1; }; }
35253 +- fi
35254 ++## International Components for Unicode (ICU)
35255 ++if test -z "$ICU_PATH" && icu-config --version >/dev/null 2>&1; then
35256 ++ ICU_PATH=`icu-config --prefix`
35257 + fi
35258 +
35259 +-case "$host_os:$compiler:$compiler_version" in
35260 +- linux*:GCC:*)
35261 +- : ${with_included_sss=yes}
35262 +- ;;
35263 ++if test "$with_icu" != "no" ; then
35264 ++ case "$with_icu" in
35265 ++ yes | "" ) ;;
35266 ++ * ) ICU_PATH=$with_icu ;;
35267 + esac
35268 +-
35269 +-if test "$with_sss" != "no" ; then
35270 +- local_sss=${real_srcdir}/src/internal/sss
35271 +- if test "${with_included_sss-no}" = "yes" \
35272 +- -a -f "$local_sss/utils/sssdebug.hpp" \
35273 +- -a -f "${local_sss}srv/cli/sssconnection.cpp"; then
35274 +- with_included_sss=yes
35275 +- NCBI_SSS_PATH=$local_sss
35276 +- NCBI_SSS_INCLUDE="\$(incdir)/sss"
35277 +- NCBI_SSS_LIBPATH="\$(libdir)"
35278 +- WithPackages="$WithPackages${WithPackagesSep}LocalSSS"; WithPackagesSep=" "
35279 +- if test -f "$local_sss/../msgmail2/asn/msgmail.asn"; then
35280 +- WithPackages="$WithPackages${WithPackagesSep}LocalMSGMAIL2"; WithPackagesSep=" "
35281 +- fi
35282 +- else
35283 +- with_included_sss=no
35284 +- fi
35285 +- NCBI_SSS_PATH=${NCBI_SSS_PATH:="$NCBI/sss/BUILD"}
35286 +- NCBI_SSS_INCLUDE=${NCBI_SSS_INCLUDE:="$NCBI_SSS_PATH/include"}
35287 +- if test -z "$NCBI_SSS_LIBPATH" ; then
35288 +- NCBI_SSS_LIBPATH="${NCBI_SSS_PATH}/lib/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}"
35289 +- if test "$with_mt" = "yes" ; then
35290 +- NCBI_SSS_LIBPATH="${NCBI_SSS_LIBPATH}mt"
35291 +- fi
35292 +- fi
35293 +- echo "$as_me:$LINENO: checking for NCBI SSS directories in $NCBI_SSS_PATH" >&5
35294 +-echo $ECHO_N "checking for NCBI SSS directories in $NCBI_SSS_PATH... $ECHO_C" >&6
35295 +- if test "$with_included_sss" = "yes"; then
35296 +- echo "$as_me:$LINENO: result: yes" >&5
35297 +-echo "${ECHO_T}yes" >&6 # duh
35298 +- elif test ! -d "${NCBI_SSS_LIBPATH}" -o ! -d "${NCBI_SSS_INCLUDE}" ; then
35299 +- echo "$as_me:$LINENO: result: no" >&5
35300 +-echo "${ECHO_T}no" >&6
35301 +- if test "${with_sss:=no}" != no; then
35302 +- { { echo "$as_me:$LINENO: error: --with-sss explicitly specified, but no usable version found." >&5
35303 +-echo "$as_me: error: --with-sss explicitly specified, but no usable version found." >&2;}
35304 +- { (exit 1); exit 1; }; }
35305 +- fi
35306 ++ if test -d "$ICU_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}/lib" \
35307 ++ -a -z "$ICU_ARCH_PATH"; then
35308 ++ ICU_ARCH_PATH="$ICU_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}"
35309 ++ elif test -d "$ICU_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}/lib" \
35310 ++ -a -z "$ICU_ARCH_PATH"; then
35311 ++ ICU_ARCH_PATH="$ICU_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}"
35312 + else
35313 +- echo "$as_me:$LINENO: result: yes" >&5
35314 +-echo "${ECHO_T}yes" >&6
35315 +- fi
35316 +-fi
35317 +-
35318 +-if test "$with_sss" = "no" ; then
35319 +- if test "${with_sssutils:=no}" != no; then
35320 +- { { echo "$as_me:$LINENO: error: --with-sssutils explicitly specified, but no usable version found." >&5
35321 +-echo "$as_me: error: --with-sssutils explicitly specified, but no usable version found." >&2;}
35322 +- { (exit 1); exit 1; }; }
35323 +- fi
35324 +- if test "${with_sssdb:=no}" != no; then
35325 +- { { echo "$as_me:$LINENO: error: --with-sssdb explicitly specified, but no usable version found." >&5
35326 +-echo "$as_me: error: --with-sssdb explicitly specified, but no usable version found." >&2;}
35327 +- { (exit 1); exit 1; }; }
35328 ++ ICU_ARCH_PATH="$ICU_PATH"
35329 + fi
35330 +- NCBI_SSS_INCLUDE=
35331 +- NCBI_SSS_LIBPATH=
35332 +- LIBSSSUTILS=
35333 +- LIBSSSDB=
35334 ++ ICU_BINPATH=${ICU_BINPATH:="$ICU_ARCH_PATH/bin"}
35335 ++ ICU_LIBPATH=${ICU_LIBPATH:="$ICU_ARCH_PATH/lib"}
35336 ++ ICU_INCLUDE=
35337 ++ { echo "$as_me:$LINENO: checking for ICU${ICU_ARCH_PATH:+ in $ICU_ARCH_PATH}" >&5
35338 ++echo $ECHO_N "checking for ICU${ICU_ARCH_PATH:+ in $ICU_ARCH_PATH}... $ECHO_C" >&6; }
35339 ++if test "${ncbi_cv_lib_icu+set}" = set; then
35340 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
35341 + else
35342 +- if test "$with_included_sss" = "yes"; then
35343 +- NCBI_SSS_LIBPATH= # Not needed
35344 +- ncbi_cv_lib_sssutils=yes
35345 +- ncbi_cv_lib_sssdb=yes
35346 +- sssutils=sssutils
35347 ++ ICU_CONFIG=`$ICU_BINPATH/icu-config --bindir 2>/dev/null`/icu-config
35348 ++ if test -x "$ICU_CONFIG" ; then
35349 ++ ICU_INCLUDE=`$ICU_CONFIG --cppflags-searchpath`
35350 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
35351 ++ ICU_LIBS=`$ICU_CONFIG --ldflags-searchpath | sed -e ""`
35352 + else
35353 +- NCBI_SSS_LIBPATH="-L${NCBI_SSS_LIBPATH}"
35354 ++ ICU_LIBS=
35355 ++ ncbi_rp_L_sep=
35356 ++ ncbi_rp_R_flags=
35357 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
35358 ++ for x in `$ICU_CONFIG --ldflags-searchpath | sed -e ""`; do
35359 ++ case "$x" in
35360 ++ -L*)
35361 ++ ICU_LIBS="$ICU_LIBS${ncbi_rp_L_sep}$x"
35362 ++ x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
35363 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
35364 ++ ncbi_rp_R_sep=:
35365 ++ ;;
35366 ++ *)
35367 ++ ICU_LIBS="$ICU_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
35368 ++ ncbi_rp_R_flags=
35369 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
35370 ++ ;;
35371 ++ esac
35372 ++ ncbi_rp_L_sep=" "
35373 ++ done
35374 ++ ICU_LIBS="$ICU_LIBS${ncbi_rp_R_flags}"
35375 + fi
35376 +- NCBI_SSS_INCLUDE="-I${NCBI_SSS_INCLUDE}"
35377 ++ ICU_LIBS="$ICU_LIBS `$ICU_CONFIG --ldflags-libsonly`"
35378 +
35379 +- # SSS UTILS
35380 +- if test "$with_sssutils" != "no" ; then
35381 +- LIBSSSUTILS="-lsssutils"
35382 +- echo "$as_me:$LINENO: checking for the NCBI SSS UTILS library" >&5
35383 +-echo $ECHO_N "checking for the NCBI SSS UTILS library... $ECHO_C" >&6
35384 +-if test "${ncbi_cv_lib_sssutils+set}" = set; then
35385 +- echo $ECHO_N "(cached) $ECHO_C" >&6
35386 +-else
35387 +- CPPFLAGS="$NCBI_SSS_INCLUDE $SYBASE_INCLUDE $orig_CPPFLAGS"
35388 +- LIBS="$NCBI_SSS_LIBPATH $LIBSSSUTILS $SYBASE_LIBS $NETWORK_LIBS $DL_LIBS $orig_LIBS"
35389 ++ CPPFLAGS="$ICU_INCLUDE $orig_CPPFLAGS"
35390 ++ LIBS="$ICU_LIBS $orig_LIBS"
35391 + cat >conftest.$ac_ext <<_ACEOF
35392 + /* confdefs.h. */
35393 + _ACEOF
35394 + cat confdefs.h >>conftest.$ac_ext
35395 + cat >>conftest.$ac_ext <<_ACEOF
35396 + /* end confdefs.h. */
35397 +-#include <hashtab.hpp>
35398 ++#include <unicode/unistr.h>
35399 + int
35400 + main ()
35401 + {
35402 +- (new C_HashTab(123))->Clear();
35403 ++int32_t i = UNICODE_STRING_SIMPLE("foo").indexOf('f');
35404 + ;
35405 + return 0;
35406 + }
35407 + _ACEOF
35408 + rm -f conftest.$ac_objext conftest$ac_exeext
35409 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35410 +- (eval $ac_link) 2>conftest.er1
35411 ++if { (ac_try="$ac_link"
35412 ++case "(($ac_try" in
35413 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35414 ++ *) ac_try_echo=$ac_try;;
35415 ++esac
35416 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35417 ++ (eval "$ac_link") 2>conftest.er1
35418 + ac_status=$?
35419 + grep -v '^ *+' conftest.er1 >conftest.err
35420 + rm -f conftest.er1
35421 + cat conftest.err >&5
35422 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35423 + (exit $ac_status); } &&
35424 +- { ac_try='test -z "$ac_cxx_werror_flag"
35425 +- || test ! -s conftest.err'
35426 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35427 +- (eval $ac_try) 2>&5
35428 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35429 ++ { (case "(($ac_try" in
35430 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35431 ++ *) ac_try_echo=$ac_try;;
35432 ++esac
35433 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35434 ++ (eval "$ac_try") 2>&5
35435 + ac_status=$?
35436 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35437 + (exit $ac_status); }; } &&
35438 + { ac_try='test -s conftest$ac_exeext'
35439 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35440 +- (eval $ac_try) 2>&5
35441 ++ { (case "(($ac_try" in
35442 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35443 ++ *) ac_try_echo=$ac_try;;
35444 ++esac
35445 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35446 ++ (eval "$ac_try") 2>&5
35447 + ac_status=$?
35448 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35449 + (exit $ac_status); }; }; then
35450 +- ncbi_cv_lib_sssutils=yes
35451 ++ ncbi_cv_lib_icu=yes
35452 + else
35453 + echo "$as_me: failed program was:" >&5
35454 + sed 's/^/| /' conftest.$ac_ext >&5
35455 +
35456 +-ncbi_cv_lib_sssutils=no
35457 ++ ncbi_cv_lib_icu=no
35458 + fi
35459 +-rm -f conftest.err conftest.$ac_objext \
35460 ++
35461 ++rm -f core conftest.err conftest.$ac_objext \
35462 + conftest$ac_exeext conftest.$ac_ext
35463 ++ else
35464 ++ ncbi_cv_lib_icu=no
35465 + fi
35466 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_sssutils" >&5
35467 +-echo "${ECHO_T}$ncbi_cv_lib_sssutils" >&6
35468 +- if test "$ncbi_cv_lib_sssutils" = yes; then
35469 ++fi
35470 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_icu" >&5
35471 ++echo "${ECHO_T}$ncbi_cv_lib_icu" >&6; }
35472 ++ if test "$ncbi_cv_lib_icu" = "no"; then
35473 ++ if test "${with_icu:=no}" != no; then
35474 ++ { { echo "$as_me:$LINENO: error: --with-icu explicitly specified, but no usable version found." >&5
35475 ++echo "$as_me: error: --with-icu explicitly specified, but no usable version found." >&2;}
35476 ++ { (exit 1); exit 1; }; }
35477 ++ fi
35478 ++ fi
35479 ++fi
35480 ++
35481 ++if test "$with_icu" = "no" ; then
35482 ++ ICU_PATH="No_ICU"
35483 ++ ICU_INCLUDE=
35484 ++ ICU_LIBS=
35485 ++ ICU_STATIC_LIBS=
35486 ++else
35487 ++ WithPackages="$WithPackages${WithPackagesSep}ICU"; WithPackagesSep=" "
35488 ++ ICU_CONFIG="`$ICU_BINPATH/icu-config --bindir`/icu-config"
35489 ++ # The "yes" may have been cached; get the actual settings again if needed
35490 ++ if test -z "$ICU_INCLUDE"; then
35491 ++ ICU_INCLUDE=`$ICU_CONFIG --cppflags-searchpath`
35492 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
35493 ++ ICU_LIBS=`$ICU_CONFIG --ldflags-searchpath | sed -e ""`
35494 ++ else
35495 ++ ICU_LIBS=
35496 ++ ncbi_rp_L_sep=
35497 ++ ncbi_rp_R_flags=
35498 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
35499 ++ for x in `$ICU_CONFIG --ldflags-searchpath | sed -e ""`; do
35500 ++ case "$x" in
35501 ++ -L*)
35502 ++ ICU_LIBS="$ICU_LIBS${ncbi_rp_L_sep}$x"
35503 ++ x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
35504 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
35505 ++ ncbi_rp_R_sep=:
35506 ++ ;;
35507 ++ *)
35508 ++ ICU_LIBS="$ICU_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
35509 ++ ncbi_rp_R_flags=
35510 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
35511 ++ ;;
35512 ++ esac
35513 ++ ncbi_rp_L_sep=" "
35514 ++ done
35515 ++ ICU_LIBS="$ICU_LIBS${ncbi_rp_R_flags}"
35516 ++ fi
35517 ++ ICU_LIBS="$ICU_LIBS `$ICU_CONFIG --ldflags-libsonly`"
35518 ++ fi
35519 ++ ICU_STATIC_LIBS=`$ICU_CONFIG --ldflags-libsonly | sed -e 's/-licu/-lsicu/g'`
35520 ++ ICU_STATIC_LIBS="`$ICU_CONFIG --ldflags-searchpath` $ICU_STATIC_LIBS"
35521 +
35522 + cat >>confdefs.h <<\_ACEOF
35523 +-#define HAVE_LIBSSSUTILS 1
35524 ++#define HAVE_ICU 1
35525 + _ACEOF
35526 +
35527 +- WithPackages="$WithPackages${WithPackagesSep}SSSUTILS"; WithPackagesSep=" "
35528 +- if test -f "$local_sss/../ncbils2/asn/login.asn"; then
35529 +- if test "$with_included_sss" = yes || \
35530 +- grep vformat $NCBI_SSS_INCLUDE/String.hpp >/dev/null 2>&1; then
35531 +- WithPackages="$WithPackages${WithPackagesSep}LocalNCBILS"; WithPackagesSep=" " # temporary compatibility measure
35532 +- WithPackages="$WithPackages${WithPackagesSep}NCBILS2"; WithPackagesSep=" "
35533 + fi
35534 ++
35535 ++
35536 ++### XML/XSL libraries
35537 ++if test "$with_expat" != "no"; then
35538 ++ case "$with_expat" in
35539 ++ yes | "" ) ;;
35540 ++ * ) EXPAT_PATH=$with_expat ;;
35541 ++ esac
35542 ++ if test -d "$EXPAT_PATH"; then
35543 ++ in_path=" in $EXPAT_PATH"
35544 ++ if test -z "$EXPAT_INCLUDE" -a -d "$EXPAT_PATH/include"; then
35545 ++ EXPAT_INCLUDE="-I$EXPAT_PATH/include"
35546 + fi
35547 ++ if test -n "$EXPAT_LIBPATH"; then
35548 ++ :
35549 ++ elif test -d "$EXPAT_PATH/lib${bit64_sfx}"; then
35550 ++ ncbi_rp_L_flags=
35551 ++ ncbi_rp_L_sep=$CONF_f_libpath
35552 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
35553 ++ for x in $EXPAT_PATH/lib${bit64_sfx}; do
35554 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
35555 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
35556 ++ done
35557 ++ EXPAT_LIBPATH="${ncbi_rp_L_flags}"
35558 + else
35559 +- if test "${with_sssutils:=no}" != no; then
35560 +- { { echo "$as_me:$LINENO: error: --with-sssutils explicitly specified, but no usable version found." >&5
35561 +-echo "$as_me: error: --with-sssutils explicitly specified, but no usable version found." >&2;}
35562 +- { (exit 1); exit 1; }; }
35563 +- fi
35564 +- if test "${with_sss:=no}" != no; then
35565 +- { { echo "$as_me:$LINENO: error: --with-sss explicitly specified, but no usable version found." >&5
35566 +-echo "$as_me: error: --with-sss explicitly specified, but no usable version found." >&2;}
35567 +- { (exit 1); exit 1; }; }
35568 ++ ncbi_rp_R_flags=
35569 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
35570 ++ for x in $EXPAT_PATH/lib${bit64_sfx}; do
35571 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
35572 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
35573 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
35574 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
35575 ++ ncbi_rp_R_sep=:
35576 ++ done
35577 ++ EXPAT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
35578 + fi
35579 +- LIBSSSUTILS=""
35580 ++ elif test -d "$EXPAT_PATH/lib"; then
35581 ++ ncbi_rp_L_flags=
35582 ++ ncbi_rp_L_sep=$CONF_f_libpath
35583 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
35584 ++ for x in $EXPAT_PATH/lib; do
35585 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
35586 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
35587 ++ done
35588 ++ EXPAT_LIBPATH="${ncbi_rp_L_flags}"
35589 ++ else
35590 ++ ncbi_rp_R_flags=
35591 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
35592 ++ for x in $EXPAT_PATH/lib; do
35593 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
35594 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
35595 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
35596 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
35597 ++ ncbi_rp_R_sep=:
35598 ++ done
35599 ++ EXPAT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
35600 + fi
35601 + fi
35602 +-
35603 +- # SSS DB
35604 +- if test "$with_sssdb" != "no" ; then
35605 +- if test "$with_mt" = "yes" ; then
35606 +- LIBSSSDB="-lsssdb -lssssys"
35607 ++ EXPAT_LIBS="$EXPAT_LIBPATH -lexpat "
35608 + else
35609 +- LIBSSSDB="-lsssdb"
35610 ++ EXPAT_INCLUDE=""
35611 ++ EXPAT_LIBS="-lexpat "
35612 ++ in_path=
35613 + fi
35614 +- echo "$as_me:$LINENO: checking for the NCBI SSS DB library" >&5
35615 +-echo $ECHO_N "checking for the NCBI SSS DB library... $ECHO_C" >&6
35616 +-if test "${ncbi_cv_lib_sssdb+set}" = set; then
35617 ++ { echo "$as_me:$LINENO: checking for libexpat$in_path" >&5
35618 ++echo $ECHO_N "checking for libexpat$in_path... $ECHO_C" >&6; }
35619 ++if test "${ncbi_cv_lib_expat+set}" = set; then
35620 + echo $ECHO_N "(cached) $ECHO_C" >&6
35621 + else
35622 +- CPPFLAGS="$NCBI_SSS_INCLUDE $SYBASE_INCLUDE $orig_CPPFLAGS"
35623 +- LIBS="$NCBI_SSS_LIBPATH $LIBSSSDB $SYBASE_LIBS $NETWORK_LIBS $DL_LIBS $orig_LIBS"
35624 ++ CPPFLAGS=" $EXPAT_INCLUDE $orig_CPPFLAGS"
35625 ++ LIBS="$EXPAT_LIBS $orig_LIBS"
35626 + cat >conftest.$ac_ext <<_ACEOF
35627 + /* confdefs.h. */
35628 + _ACEOF
35629 + cat confdefs.h >>conftest.$ac_ext
35630 + cat >>conftest.$ac_ext <<_ACEOF
35631 + /* end confdefs.h. */
35632 +-#include <cslink.hpp>
35633 ++#include <expat.h>
35634 + int
35635 + main ()
35636 + {
35637 +- (new CSLink)->connect2server("srv", "user", "pwd", "db");
35638 ++XML_Parser parser = XML_ParserCreate("utf-8");
35639 + ;
35640 + return 0;
35641 + }
35642 + _ACEOF
35643 + rm -f conftest.$ac_objext conftest$ac_exeext
35644 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35645 +- (eval $ac_link) 2>conftest.er1
35646 ++if { (ac_try="$ac_link"
35647 ++case "(($ac_try" in
35648 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35649 ++ *) ac_try_echo=$ac_try;;
35650 ++esac
35651 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35652 ++ (eval "$ac_link") 2>conftest.er1
35653 + ac_status=$?
35654 + grep -v '^ *+' conftest.er1 >conftest.err
35655 + rm -f conftest.er1
35656 + cat conftest.err >&5
35657 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35658 + (exit $ac_status); } &&
35659 +- { ac_try='test -z "$ac_cxx_werror_flag"
35660 +- || test ! -s conftest.err'
35661 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35662 +- (eval $ac_try) 2>&5
35663 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35664 ++ { (case "(($ac_try" in
35665 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35666 ++ *) ac_try_echo=$ac_try;;
35667 ++esac
35668 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35669 ++ (eval "$ac_try") 2>&5
35670 + ac_status=$?
35671 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35672 + (exit $ac_status); }; } &&
35673 + { ac_try='test -s conftest$ac_exeext'
35674 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35675 +- (eval $ac_try) 2>&5
35676 ++ { (case "(($ac_try" in
35677 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35678 ++ *) ac_try_echo=$ac_try;;
35679 ++esac
35680 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35681 ++ (eval "$ac_try") 2>&5
35682 + ac_status=$?
35683 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35684 + (exit $ac_status); }; }; then
35685 +- ncbi_cv_lib_sssdb=yes
35686 ++ ncbi_cv_lib_expat=yes
35687 + else
35688 + echo "$as_me: failed program was:" >&5
35689 + sed 's/^/| /' conftest.$ac_ext >&5
35690 +
35691 +-ncbi_cv_lib_sssdb=no
35692 +-fi
35693 +-rm -f conftest.err conftest.$ac_objext \
35694 +- conftest$ac_exeext conftest.$ac_ext
35695 ++ ncbi_cv_lib_expat=no
35696 + fi
35697 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_sssdb" >&5
35698 +-echo "${ECHO_T}$ncbi_cv_lib_sssdb" >&6
35699 +- if test "$ncbi_cv_lib_sssdb" = "yes"; then
35700 +-
35701 +-cat >>confdefs.h <<\_ACEOF
35702 +-#define HAVE_LIBSSSDB 1
35703 +-_ACEOF
35704 +
35705 +- WithPackages="$WithPackages${WithPackagesSep}SSSDB"; WithPackagesSep=" "
35706 +- else
35707 +- if test "${with_sssdb:=no}" != no; then
35708 +- { { echo "$as_me:$LINENO: error: --with-sssdb explicitly specified, but no usable version found." >&5
35709 +-echo "$as_me: error: --with-sssdb explicitly specified, but no usable version found." >&2;}
35710 +- { (exit 1); exit 1; }; }
35711 ++rm -f core conftest.err conftest.$ac_objext \
35712 ++ conftest$ac_exeext conftest.$ac_ext
35713 + fi
35714 +- if test "${with_sss:=no}" != no; then
35715 +- { { echo "$as_me:$LINENO: error: --with-sss explicitly specified, but no usable version found." >&5
35716 +-echo "$as_me: error: --with-sss explicitly specified, but no usable version found." >&2;}
35717 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_expat" >&5
35718 ++echo "${ECHO_T}$ncbi_cv_lib_expat" >&6; }
35719 ++ if test "$ncbi_cv_lib_expat" = "no"; then
35720 ++ if test "${with_expat:=no}" != no; then
35721 ++ { { echo "$as_me:$LINENO: error: --with-expat explicitly specified, but no usable version found." >&5
35722 ++echo "$as_me: error: --with-expat explicitly specified, but no usable version found." >&2;}
35723 + { (exit 1); exit 1; }; }
35724 + fi
35725 +- LIBSSSDB=""
35726 + fi
35727 + fi
35728 ++ if test "$with_expat" = "no"; then
35729 ++ EXPAT_PATH="No_EXPAT"
35730 ++ EXPAT_INCLUDE=
35731 ++ EXPAT_LIBS=
35732 ++ else
35733 ++ WithPackages="$WithPackages${WithPackagesSep}EXPAT"; WithPackagesSep=" "
35734 ++ EXPAT_INCLUDE=" $EXPAT_INCLUDE"
35735 ++
35736 ++cat >>confdefs.h <<\_ACEOF
35737 ++#define HAVE_LIBEXPAT 1
35738 ++_ACEOF
35739 ++
35740 + fi
35741 +
35742 +
35743 +-# SP
35744 +-if test "$with_sp" != "no" ; then
35745 +- SP_PATH=${SP_PATH:="$NCBI/SP"}
35746 +- if test -n "$SP_INCLUDE"; then
35747 +- SP_GENERIC="$SP_INCLUDE/../generic"
35748 ++
35749 ++if test -f "${EXPAT_PATH}/lib${bit64_sfx}/libexpat-static.a"; then
35750 ++ EXPAT_STATIC_LIBS="-L${EXPAT_PATH}/lib${bit64_sfx} -lexpat-static"
35751 + else
35752 +- SP_INCLUDE="$SP_PATH/include"
35753 +- SP_GENERIC="$SP_PATH/generic"
35754 ++ EXPAT_STATIC_LIBS=${EXPAT_LIBS}
35755 + fi
35756 +- if test -z "$SP_LIBPATH" ; then
35757 +- SP_LIBPATH="${SP_PATH}/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}"
35758 ++vpath="$SABLOT_PATH/${compiler_vpfx}build"
35759 ++test -d "$vpath" && SABLOT_PATH=$vpath
35760 ++if test -d "$SABLOT_PATH"; then
35761 ++ ncbi_fix_dir_tmp=`if cd $SABLOT_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
35762 ++ case "$ncbi_fix_dir_tmp" in
35763 ++ /.*) ncbi_fix_dir_tmp2=`cd $SABLOT_PATH && $smart_pwd 2>/dev/null`
35764 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
35765 ++ SABLOT_PATH=$ncbi_fix_dir_tmp2
35766 ++ else
35767 ++ case "$SABLOT_PATH" in
35768 ++ /*) ;;
35769 ++ * ) SABLOT_PATH=$ncbi_fix_dir_tmp ;;
35770 ++ esac
35771 + fi
35772 +- echo "$as_me:$LINENO: checking for SP directories in $SP_PATH" >&5
35773 +-echo $ECHO_N "checking for SP directories in $SP_PATH... $ECHO_C" >&6
35774 +- if test ! -d "${SP_LIBPATH}" -o ! -d "${SP_INCLUDE}" ; then
35775 +- echo "$as_me:$LINENO: result: no" >&5
35776 +-echo "${ECHO_T}no" >&6
35777 +- if test "${with_sp:=no}" != no; then
35778 +- { { echo "$as_me:$LINENO: error: --with-sp explicitly specified, but no usable version found." >&5
35779 +-echo "$as_me: error: --with-sp explicitly specified, but no usable version found." >&2;}
35780 +- { (exit 1); exit 1; }; }
35781 ++ ;;
35782 ++ /*) SABLOT_PATH=$ncbi_fix_dir_tmp ;;
35783 ++ esac
35784 ++fi
35785 ++if test "$with_sablot" != "no"; then
35786 ++ case "$with_sablot" in
35787 ++ yes | "" ) ;;
35788 ++ * ) SABLOT_PATH=$with_sablot ;;
35789 ++ esac
35790 ++ if test -d "$SABLOT_PATH"; then
35791 ++ in_path=" in $SABLOT_PATH"
35792 ++ if test -z "$SABLOT_INCLUDE" -a -d "$SABLOT_PATH/include"; then
35793 ++ SABLOT_INCLUDE="-I$SABLOT_PATH/include"
35794 ++ fi
35795 ++ if test -n "$SABLOT_LIBPATH"; then
35796 ++ :
35797 ++ elif test -d "$SABLOT_PATH/lib${bit64_sfx}"; then
35798 ++ ncbi_rp_L_flags=
35799 ++ ncbi_rp_L_sep=$CONF_f_libpath
35800 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
35801 ++ for x in $SABLOT_PATH/lib${bit64_sfx}; do
35802 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
35803 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
35804 ++ done
35805 ++ SABLOT_LIBPATH="${ncbi_rp_L_flags}"
35806 ++ else
35807 ++ ncbi_rp_R_flags=
35808 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
35809 ++ for x in $SABLOT_PATH/lib${bit64_sfx}; do
35810 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
35811 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
35812 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
35813 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
35814 ++ ncbi_rp_R_sep=:
35815 ++ done
35816 ++ SABLOT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
35817 + fi
35818 ++ elif test -d "$SABLOT_PATH/lib"; then
35819 ++ ncbi_rp_L_flags=
35820 ++ ncbi_rp_L_sep=$CONF_f_libpath
35821 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
35822 ++ for x in $SABLOT_PATH/lib; do
35823 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
35824 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
35825 ++ done
35826 ++ SABLOT_LIBPATH="${ncbi_rp_L_flags}"
35827 + else
35828 +- echo "$as_me:$LINENO: result: yes" >&5
35829 +-echo "${ECHO_T}yes" >&6
35830 ++ ncbi_rp_R_flags=
35831 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
35832 ++ for x in $SABLOT_PATH/lib; do
35833 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
35834 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
35835 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
35836 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
35837 ++ ncbi_rp_R_sep=:
35838 ++ done
35839 ++ SABLOT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
35840 + fi
35841 + fi
35842 +-
35843 +-if test "$with_sp" != "no" ; then
35844 +- if test -d "$SP_GENERIC"; then
35845 +- SP_INCLUDE="-I${SP_INCLUDE} -I${SP_GENERIC}"
35846 ++ SABLOT_LIBS="$SABLOT_LIBPATH -lsablot $EXPAT_LIBS"
35847 + else
35848 +- SP_INCLUDE="-I${SP_INCLUDE}"
35849 ++ SABLOT_INCLUDE=""
35850 ++ SABLOT_LIBS="-lsablot $EXPAT_LIBS"
35851 ++ in_path=
35852 + fi
35853 +- SP_LIBS="-L$SP_LIBPATH -lsp"
35854 +- echo "$as_me:$LINENO: checking for the SP SGML library" >&5
35855 +-echo $ECHO_N "checking for the SP SGML library... $ECHO_C" >&6
35856 +-if test "${ncbi_cv_lib_sp+set}" = set; then
35857 ++ { echo "$as_me:$LINENO: checking for libsablot$in_path" >&5
35858 ++echo $ECHO_N "checking for libsablot$in_path... $ECHO_C" >&6; }
35859 ++if test "${ncbi_cv_lib_sablot+set}" = set; then
35860 + echo $ECHO_N "(cached) $ECHO_C" >&6
35861 + else
35862 +- CPPFLAGS="$SP_INCLUDE $orig_CPPFLAGS"
35863 +- LIBS="$SP_LIBS $orig_LIBS"
35864 ++ CPPFLAGS=" $SABLOT_INCLUDE $orig_CPPFLAGS"
35865 ++ LIBS="$SABLOT_LIBS $orig_LIBS"
35866 + cat >conftest.$ac_ext <<_ACEOF
35867 + /* confdefs.h. */
35868 + _ACEOF
35869 + cat confdefs.h >>conftest.$ac_ext
35870 + cat >>conftest.$ac_ext <<_ACEOF
35871 + /* end confdefs.h. */
35872 +-#include <SGMLApplication.h>
35873 ++#include <sablot.h>
35874 + int
35875 + main ()
35876 + {
35877 +- SP_API::SGMLApplication app;
35878 ++SDOM_Document* D; int x = SablotParse(NULL, "file:/dev/null", D);
35879 + ;
35880 + return 0;
35881 + }
35882 + _ACEOF
35883 + rm -f conftest.$ac_objext conftest$ac_exeext
35884 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35885 +- (eval $ac_link) 2>conftest.er1
35886 ++if { (ac_try="$ac_link"
35887 ++case "(($ac_try" in
35888 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35889 ++ *) ac_try_echo=$ac_try;;
35890 ++esac
35891 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35892 ++ (eval "$ac_link") 2>conftest.er1
35893 + ac_status=$?
35894 + grep -v '^ *+' conftest.er1 >conftest.err
35895 + rm -f conftest.er1
35896 + cat conftest.err >&5
35897 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35898 + (exit $ac_status); } &&
35899 +- { ac_try='test -z "$ac_cxx_werror_flag"
35900 +- || test ! -s conftest.err'
35901 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35902 +- (eval $ac_try) 2>&5
35903 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35904 ++ { (case "(($ac_try" in
35905 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35906 ++ *) ac_try_echo=$ac_try;;
35907 ++esac
35908 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35909 ++ (eval "$ac_try") 2>&5
35910 + ac_status=$?
35911 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35912 + (exit $ac_status); }; } &&
35913 + { ac_try='test -s conftest$ac_exeext'
35914 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35915 +- (eval $ac_try) 2>&5
35916 ++ { (case "(($ac_try" in
35917 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35918 ++ *) ac_try_echo=$ac_try;;
35919 ++esac
35920 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35921 ++ (eval "$ac_try") 2>&5
35922 + ac_status=$?
35923 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35924 + (exit $ac_status); }; }; then
35925 +- ncbi_cv_lib_sp=yes
35926 ++ ncbi_cv_lib_sablot=yes
35927 + else
35928 + echo "$as_me: failed program was:" >&5
35929 + sed 's/^/| /' conftest.$ac_ext >&5
35930 +
35931 +-ncbi_cv_lib_sp=no
35932 ++ ncbi_cv_lib_sablot=no
35933 + fi
35934 +-rm -f conftest.err conftest.$ac_objext \
35935 ++
35936 ++rm -f core conftest.err conftest.$ac_objext \
35937 + conftest$ac_exeext conftest.$ac_ext
35938 + fi
35939 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_sp" >&5
35940 +-echo "${ECHO_T}$ncbi_cv_lib_sp" >&6
35941 +- if test "$ncbi_cv_lib_sp" = "no"; then
35942 +- if test "${with_sp:=no}" != no; then
35943 +- { { echo "$as_me:$LINENO: error: --with-sp explicitly specified, but no usable version found." >&5
35944 +-echo "$as_me: error: --with-sp explicitly specified, but no usable version found." >&2;}
35945 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_sablot" >&5
35946 ++echo "${ECHO_T}$ncbi_cv_lib_sablot" >&6; }
35947 ++ if test "$ncbi_cv_lib_sablot" = "no"; then
35948 ++ if test "${with_sablot:=no}" != no; then
35949 ++ { { echo "$as_me:$LINENO: error: --with-sablot explicitly specified, but no usable version found." >&5
35950 ++echo "$as_me: error: --with-sablot explicitly specified, but no usable version found." >&2;}
35951 + { (exit 1); exit 1; }; }
35952 + fi
35953 + fi
35954 + fi
35955 +-
35956 +-if test "$with_sp" = "no" ; then
35957 +- SP_INCLUDE=
35958 +- SP_LIBS=
35959 ++ if test "$with_sablot" = "no"; then
35960 ++ SABLOT_PATH="No_SABLOT"
35961 ++ SABLOT_INCLUDE=
35962 ++ SABLOT_LIBS=
35963 + else
35964 +- WithPackages="$WithPackages${WithPackagesSep}SP"; WithPackagesSep=" "
35965 ++ WithPackages="$WithPackages${WithPackagesSep}SABLOT"; WithPackagesSep=" "
35966 ++ SABLOT_INCLUDE=" $SABLOT_INCLUDE"
35967 +
35968 + cat >>confdefs.h <<\_ACEOF
35969 +-#define HAVE_LIBSP 1
35970 ++#define HAVE_LIBSABLOT 1
35971 + _ACEOF
35972 +
35973 + fi
35974 +
35975 +
35976 +-## ORBacus CORBA
35977 +-if test "${with_orbacus:-yes}" = yes; then
35978 +- if test -d $NCBI/corba/${compiler_vpfx}Release${bit64_sfx}MT; then
35979 +- : ${ORBACUS_PATH=$NCBI/corba/${compiler_vpfx}Release${bit64_sfx}MT}
35980 +- else
35981 +- : ${ORBACUS_PATH=$NCBI/corba/OB-4.0.1}
35982 +- fi
35983 +-elif test "$with_orbacus" != no; then
35984 +- ORBACUS_PATH=$with_orbacus
35985 +-fi
35986 +-if test -d "$ORBACUS_PATH"; then
35987 +- ncbi_fix_dir_tmp=`if cd $ORBACUS_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
35988 +- case "$ncbi_fix_dir_tmp" in
35989 +- /.*) ncbi_fix_dir_tmp2=`cd $ORBACUS_PATH && $smart_pwd 2>/dev/null`
35990 +- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
35991 +- ORBACUS_PATH=$ncbi_fix_dir_tmp2
35992 ++
35993 ++test -d SunWS_cache && rm -r SunWS_cache
35994 ++if test -f "${SABLOT_PATH}/lib${bit64_sfx}/libsablot-static.a"; then
35995 ++ SABLOT_STATIC_LIBS="-L${SABLOT_PATH}/lib${bit64_sfx} -lsablot-static $EXPAT_STATIC_LIBS"
35996 + else
35997 +- case "$ORBACUS_PATH" in
35998 +- /*) ;;
35999 +- * ) ORBACUS_PATH=$ncbi_fix_dir_tmp ;;
36000 +- esac
36001 ++ SABLOT_STATIC_LIBS=${SABLOT_LIBS}
36002 + fi
36003 +- ;;
36004 +- /*) ORBACUS_PATH=$ncbi_fix_dir_tmp ;;
36005 ++
36006 ++# test -d "$LIBXML_PATH" || LIBXML_PATH=`xml2-config --prefix 2>/dev/null`
36007 ++if test "$with_libxml" != "no"; then
36008 ++ case "$with_libxml" in
36009 ++ yes | "" ) ;;
36010 ++ * ) LIBXML_PATH=$with_libxml ;;
36011 + esac
36012 +-fi
36013 +-if test "$with_orbacus" != no; then
36014 +- fullpath=${ORBACUS_PATH}/${DEBUG_SFX}${mt_sfx}${bit64_sfx}
36015 +- if test -f ${fullpath}/inc/OB/Config.h ; then
36016 +- : ${ORBACUS_INCLUDE="-I$ORBACUS_PATH/include -I$fullpath/inc"}
36017 +- if test -z "${ORBACUS_LIBPATH+set}"; then
36018 +- ncbi_rp_L_flags=
36019 +- ncbi_rp_L_sep=$CONF_f_libpath
36020 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
36021 +- for x in $fullpath/lib; do
36022 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36023 +- ncbi_rp_L_sep=" $CONF_f_libpath"
36024 ++ for pfx in "$compiler_vpfx" "$compiler_pfx" "" ; do
36025 ++ vpath=$LIBXML_PATH/$pfx${DEBUG_SFX}${mt_sfx}${bit64_sfx}
36026 ++ if test -d "$vpath" ; then
36027 ++ LIBXML_PATH=$vpath
36028 ++ break
36029 ++ fi
36030 + done
36031 +- ORBACUS_LIBPATH="${ncbi_rp_L_flags}"
36032 ++ if test -d "$LIBXML_PATH"; then
36033 ++ ncbi_fix_dir_tmp=`if cd $LIBXML_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
36034 ++ case "$ncbi_fix_dir_tmp" in
36035 ++ /.*) ncbi_fix_dir_tmp2=`cd $LIBXML_PATH && $smart_pwd 2>/dev/null`
36036 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
36037 ++ LIBXML_PATH=$ncbi_fix_dir_tmp2
36038 + else
36039 +- ncbi_rp_R_flags=
36040 +- ncbi_rp_R_sep=" $CONF_f_runpath"
36041 +- for x in $fullpath/lib; do
36042 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36043 +- ncbi_rp_L_sep=" $CONF_f_libpath"
36044 +- x=`echo $x | sed -e "$ncbi_rpath_sed"`
36045 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
36046 +- ncbi_rp_R_sep=:
36047 +- done
36048 +- ORBACUS_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
36049 ++ case "$LIBXML_PATH" in
36050 ++ /*) ;;
36051 ++ * ) LIBXML_PATH=$ncbi_fix_dir_tmp ;;
36052 ++ esac
36053 ++ fi
36054 ++ ;;
36055 ++ /*) LIBXML_PATH=$ncbi_fix_dir_tmp ;;
36056 ++ esac
36057 ++ in_path=" in $LIBXML_PATH"
36058 ++ if test -n "$LIBXML_INCLUDE"; then
36059 ++ :
36060 ++ elif test -d "$LIBXML_PATH/include/libxml2/libxml"; then
36061 ++ LIBXML_INCLUDE="-I$LIBXML_PATH/include/libxml2 -I$LIBXML_PATH/include"
36062 ++ elif test -d "$LIBXML_PATH/include/libxml"; then
36063 ++ LIBXML_INCLUDE="-I$LIBXML_PATH/include";
36064 + fi
36065 ++ if test -d "$LIBXML_PATH/lib${bit64_sfx}"; then
36066 ++ LIBXML_LIBPATH_="$LIBXML_PATH/lib${bit64_sfx}"
36067 ++ elif test -d "$LIBXML_PATH/lib"; then
36068 ++ LIBXML_LIBPATH_="$LIBXML_PATH/lib"
36069 + fi
36070 +- elif test -f ${ORBACUS_PATH}/include/OB/Config.h ; then
36071 +- : ${ORBACUS_INCLUDE="-I$ORBACUS_PATH/include"}
36072 +- if test -z "${ORBACUS_LIBPATH+set}"; then
36073 ++ if test -z "${LIBXML_LIBPATH+set}"; then
36074 + ncbi_rp_L_flags=
36075 + ncbi_rp_L_sep=$CONF_f_libpath
36076 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
36077 +- for x in $ORBACUS_PATH/lib; do
36078 ++ for x in $LIBXML_LIBPATH_; do
36079 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36080 + ncbi_rp_L_sep=" $CONF_f_libpath"
36081 + done
36082 +- ORBACUS_LIBPATH="${ncbi_rp_L_flags}"
36083 ++ LIBXML_LIBPATH="${ncbi_rp_L_flags}"
36084 + else
36085 + ncbi_rp_R_flags=
36086 + ncbi_rp_R_sep=" $CONF_f_runpath"
36087 +- for x in $ORBACUS_PATH/lib; do
36088 ++ for x in $LIBXML_LIBPATH_; do
36089 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36090 + ncbi_rp_L_sep=" $CONF_f_libpath"
36091 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
36092 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
36093 + ncbi_rp_R_sep=:
36094 + done
36095 +- ORBACUS_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
36096 ++ LIBXML_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
36097 + fi
36098 + fi
36099 ++ LIBXML_LIBS="$LIBXML_LIBPATH -lxml2"
36100 ++ else
36101 ++ LIBXML_INCLUDE="-I/usr/include/libxml2"
36102 ++ LIBXML_LIBS="-lxml2"
36103 ++ in_path=
36104 + fi
36105 +- case "$host_os:$with_mt" in
36106 +- linux*:no) LIBJTC="-lJTC -pthread" ;;
36107 +- *) LIBJTC="-lJTC" ;;
36108 +- esac
36109 +-
36110 +- case "$with_mt:$ORBACUS_LIBPATH" in
36111 +- yes:* | *:-L*MT/lib* )
36112 +- LIBOB="-lOB $LIBJTC"
36113 +- LIBIMR="-lIMR"
36114 +- ;;
36115 +- * )
36116 +- LIBOB="-lOB"
36117 +- LIBIMR=
36118 +- ;;
36119 +- esac
36120 +- echo "$as_me:$LINENO: checking for ORBacus in $ORBACUS_PATH" >&5
36121 +-echo $ECHO_N "checking for ORBacus in $ORBACUS_PATH... $ECHO_C" >&6
36122 +-if test "${ncbi_cv_lib_orbacus+set}" = set; then
36123 ++ LIBXML_LIBS="$LIBXML_LIBS $ICONV_LIBS"
36124 ++ { echo "$as_me:$LINENO: checking for libxml2$in_path" >&5
36125 ++echo $ECHO_N "checking for libxml2$in_path... $ECHO_C" >&6; }
36126 ++if test "${ncbi_cv_lib_libxml+set}" = set; then
36127 + echo $ECHO_N "(cached) $ECHO_C" >&6
36128 + else
36129 +- CPPFLAGS="$ORBACUS_INCLUDE $orig_CPPFLAGS"
36130 +- LIBS="$ORBACUS_LIBPATH $LIBOB $NETWORK_LIBS $DL_LIBS $orig_LIBS"
36131 ++ CPPFLAGS="$LIBXML_INCLUDE $orig_CPPFLAGS"
36132 ++ LIBS="$LIBXML_LIBS $orig_LIBS"
36133 + cat >conftest.$ac_ext <<_ACEOF
36134 + /* confdefs.h. */
36135 + _ACEOF
36136 + cat confdefs.h >>conftest.$ac_ext
36137 + cat >>conftest.$ac_ext <<_ACEOF
36138 + /* end confdefs.h. */
36139 +-#include <OB/CORBA.h>
36140 ++#include <libxml/parser.h>
36141 + int
36142 + main ()
36143 + {
36144 +-
36145 +- int c = 0;
36146 +- char* v[] = { NULL };
36147 +- CORBA::ORB_var orb = CORBA::ORB_init(c, v);
36148 +- if (!CORBA::is_nil(orb)) orb->destroy();
36149 +-
36150 ++xmlDocPtr doc = xmlParseFile("foo.xml");
36151 + ;
36152 + return 0;
36153 + }
36154 + _ACEOF
36155 + rm -f conftest.$ac_objext conftest$ac_exeext
36156 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36157 +- (eval $ac_link) 2>conftest.er1
36158 ++if { (ac_try="$ac_link"
36159 ++case "(($ac_try" in
36160 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36161 ++ *) ac_try_echo=$ac_try;;
36162 ++esac
36163 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36164 ++ (eval "$ac_link") 2>conftest.er1
36165 + ac_status=$?
36166 + grep -v '^ *+' conftest.er1 >conftest.err
36167 + rm -f conftest.er1
36168 + cat conftest.err >&5
36169 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36170 + (exit $ac_status); } &&
36171 +- { ac_try='test -z "$ac_cxx_werror_flag"
36172 +- || test ! -s conftest.err'
36173 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36174 +- (eval $ac_try) 2>&5
36175 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36176 ++ { (case "(($ac_try" in
36177 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36178 ++ *) ac_try_echo=$ac_try;;
36179 ++esac
36180 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36181 ++ (eval "$ac_try") 2>&5
36182 + ac_status=$?
36183 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36184 + (exit $ac_status); }; } &&
36185 + { ac_try='test -s conftest$ac_exeext'
36186 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36187 +- (eval $ac_try) 2>&5
36188 ++ { (case "(($ac_try" in
36189 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36190 ++ *) ac_try_echo=$ac_try;;
36191 ++esac
36192 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36193 ++ (eval "$ac_try") 2>&5
36194 + ac_status=$?
36195 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36196 + (exit $ac_status); }; }; then
36197 +- ncbi_cv_lib_orbacus=yes
36198 ++ ncbi_cv_lib_libxml=yes
36199 + else
36200 + echo "$as_me: failed program was:" >&5
36201 + sed 's/^/| /' conftest.$ac_ext >&5
36202 +
36203 +-ncbi_cv_lib_orbacus=no
36204 ++ ncbi_cv_lib_libxml=no
36205 + fi
36206 +-rm -f conftest.err conftest.$ac_objext \
36207 ++
36208 ++rm -f core conftest.err conftest.$ac_objext \
36209 + conftest$ac_exeext conftest.$ac_ext
36210 + fi
36211 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_orbacus" >&5
36212 +-echo "${ECHO_T}$ncbi_cv_lib_orbacus" >&6
36213 +- if test "$ncbi_cv_lib_orbacus" = "no"; then
36214 +- if test "${with_orbacus:=no}" != no; then
36215 +- { { echo "$as_me:$LINENO: error: --with-orbacus explicitly specified, but no usable version found." >&5
36216 +-echo "$as_me: error: --with-orbacus explicitly specified, but no usable version found." >&2;}
36217 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_libxml" >&5
36218 ++echo "${ECHO_T}$ncbi_cv_lib_libxml" >&6; }
36219 ++ if test "$ncbi_cv_lib_libxml" = "no"; then
36220 ++ if test "${with_libxml:=no}" != no; then
36221 ++ { { echo "$as_me:$LINENO: error: --with-libxml explicitly specified, but no usable version found." >&5
36222 ++echo "$as_me: error: --with-libxml explicitly specified, but no usable version found." >&2;}
36223 + { (exit 1); exit 1; }; }
36224 + fi
36225 + fi
36226 + fi
36227 +-if test "$with_orbacus" = no; then
36228 +- ORBACUS_PATH=No_ORBacus
36229 +- ORBACUS_INCLUDE=
36230 +- ORBACUS_LIBPATH=
36231 +- LIBOB=
36232 +- LIBIMR=
36233 ++if test "$with_libxml" = "no"; then
36234 ++ LIBXML_PATH="No_LIBXML"
36235 ++ LIBXML_INCLUDE=
36236 ++ LIBXML_LIBPATH_=
36237 ++ LIBXML_LIBS=
36238 + else
36239 +- WithPackages="$WithPackages${WithPackagesSep}ORBacus"; WithPackagesSep=" "
36240 ++ WithPackages="$WithPackages${WithPackagesSep}LIBXML"; WithPackagesSep=" "
36241 ++ LIBXML_INCLUDE="$LIBXML_INCLUDE"
36242 +
36243 + cat >>confdefs.h <<\_ACEOF
36244 +-#define HAVE_ORBACUS 1
36245 ++#define HAVE_LIBXML 1
36246 + _ACEOF
36247 +
36248 + fi
36249 +-# Sigh... without this, the linker pulls in the contents of the cache
36250 +-# and then gripes about missing JTC stuff.
36251 +-test -d SunWS_cache && rm -r SunWS_cache
36252 +
36253 +
36254 +-## International Components for Unicode (ICU)
36255 +-if test -z "$ICU_PATH" && icu-config --version >/dev/null 2>&1; then
36256 +- ICU_PATH=`icu-config --prefix`
36257 ++
36258 ++if test -f "${LIBXML_LIBPATH_}/libxml2-static.a"; then
36259 ++ LIBXML_STATIC_LIBS="-L${LIBXML_LIBPATH_} -lxml2-static"
36260 ++else
36261 ++ LIBXML_STATIC_LIBS=${LIBXML_LIBS}
36262 + fi
36263 +
36264 +-if test "$with_icu" != "no" ; then
36265 +- case "$with_icu" in
36266 +- yes | "" ) : ${ICU_PATH=$NCBI/icu} ;;
36267 +- * ) ICU_PATH=$with_icu ;;
36268 ++: ${LIBXSLT_PATH=$LIBXML_PATH}
36269 ++if test "$with_libxslt" != "no"; then
36270 ++ case "$with_libxslt" in
36271 ++ yes | "" ) ;;
36272 ++ * ) LIBXSLT_PATH=$with_libxslt ;;
36273 + esac
36274 +- if test -d "$ICU_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}/lib" \
36275 +- -a -z "$ICU_ARCH_PATH"; then
36276 +- ICU_ARCH_PATH="$ICU_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}"
36277 +- elif test -d "$ICU_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}/lib" \
36278 +- -a -z "$ICU_ARCH_PATH"; then
36279 +- ICU_ARCH_PATH="$ICU_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}"
36280 +- else
36281 +- ICU_ARCH_PATH="$ICU_PATH"
36282 ++ if test -d "$LIBXSLT_PATH"; then
36283 ++ in_path=" in $LIBXSLT_PATH"
36284 ++ if test -z "$LIBXSLT_INCLUDE" -a -d "$LIBXSLT_PATH/include"; then
36285 ++ LIBXSLT_INCLUDE="-I$LIBXSLT_PATH/include"
36286 + fi
36287 +- ICU_BINPATH=${ICU_BINPATH:="$ICU_ARCH_PATH/bin"}
36288 +- ICU_LIBPATH=${ICU_LIBPATH:="$ICU_ARCH_PATH/lib"}
36289 +- ICU_INCLUDE=
36290 +- echo "$as_me:$LINENO: checking for ICU in $ICU_ARCH_PATH" >&5
36291 +-echo $ECHO_N "checking for ICU in $ICU_ARCH_PATH... $ECHO_C" >&6
36292 +-if test "${ncbi_cv_lib_icu+set}" = set; then
36293 +- echo $ECHO_N "(cached) $ECHO_C" >&6
36294 +-else
36295 +- ICU_CONFIG=`$ICU_BINPATH/icu-config --bindir 2>/dev/null`/icu-config
36296 +- if test -x "$ICU_CONFIG" ; then
36297 +- ICU_INCLUDE=`$ICU_CONFIG --cppflags-searchpath`
36298 ++ if test -n "$LIBXSLT_LIBPATH"; then
36299 ++ :
36300 ++ elif test -d "$LIBXSLT_PATH/lib${bit64_sfx}"; then
36301 ++ ncbi_rp_L_flags=
36302 ++ ncbi_rp_L_sep=$CONF_f_libpath
36303 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
36304 +- ICU_LIBS=`$ICU_CONFIG --ldflags-searchpath | sed -e ""`
36305 ++ for x in $LIBXSLT_PATH/lib${bit64_sfx}; do
36306 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36307 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
36308 ++ done
36309 ++ LIBXSLT_LIBPATH="${ncbi_rp_L_flags}"
36310 + else
36311 +- ICU_LIBS=
36312 +- ncbi_rp_L_sep=
36313 + ncbi_rp_R_flags=
36314 + ncbi_rp_R_sep=" $CONF_f_runpath"
36315 +- for x in `$ICU_CONFIG --ldflags-searchpath | sed -e ""`; do
36316 +- case "$x" in
36317 +- -L*)
36318 +- ICU_LIBS="$ICU_LIBS${ncbi_rp_L_sep}$x"
36319 +- x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
36320 ++ for x in $LIBXSLT_PATH/lib${bit64_sfx}; do
36321 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36322 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
36323 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
36324 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
36325 + ncbi_rp_R_sep=:
36326 +- ;;
36327 +- *)
36328 +- ICU_LIBS="$ICU_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
36329 ++ done
36330 ++ LIBXSLT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
36331 ++ fi
36332 ++ elif test -d "$LIBXSLT_PATH/lib"; then
36333 ++ ncbi_rp_L_flags=
36334 ++ ncbi_rp_L_sep=$CONF_f_libpath
36335 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
36336 ++ for x in $LIBXSLT_PATH/lib; do
36337 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36338 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
36339 ++ done
36340 ++ LIBXSLT_LIBPATH="${ncbi_rp_L_flags}"
36341 ++ else
36342 + ncbi_rp_R_flags=
36343 + ncbi_rp_R_sep=" $CONF_f_runpath"
36344 +- ;;
36345 +- esac
36346 +- ncbi_rp_L_sep=" "
36347 ++ for x in $LIBXSLT_PATH/lib; do
36348 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36349 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
36350 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
36351 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
36352 ++ ncbi_rp_R_sep=:
36353 + done
36354 +- ICU_LIBS="$ICU_LIBS${ncbi_rp_R_flags}"
36355 ++ LIBXSLT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
36356 + fi
36357 +- ICU_LIBS="$ICU_LIBS `$ICU_CONFIG --ldflags-libsonly`"
36358 +-
36359 +- CPPFLAGS="$ICU_INCLUDE $orig_CPPFLAGS"
36360 +- LIBS="$ICU_LIBS $orig_LIBS"
36361 ++ fi
36362 ++ LIBXSLT_LIBS="$LIBXSLT_LIBPATH -lxslt "
36363 ++ else
36364 ++ LIBXSLT_INCLUDE=""
36365 ++ LIBXSLT_LIBS="-lxslt "
36366 ++ in_path=
36367 ++ fi
36368 ++ { echo "$as_me:$LINENO: checking for libxslt$in_path" >&5
36369 ++echo $ECHO_N "checking for libxslt$in_path... $ECHO_C" >&6; }
36370 ++if test "${ncbi_cv_lib_libxslt+set}" = set; then
36371 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
36372 ++else
36373 ++ CPPFLAGS="$LIBXML_INCLUDE $LIBXSLT_INCLUDE $orig_CPPFLAGS"
36374 ++ LIBS="$LIBXSLT_LIBS $LIBXML_LIBS $Z_LIBS $orig_LIBS"
36375 + cat >conftest.$ac_ext <<_ACEOF
36376 + /* confdefs.h. */
36377 + _ACEOF
36378 + cat confdefs.h >>conftest.$ac_ext
36379 + cat >>conftest.$ac_ext <<_ACEOF
36380 + /* end confdefs.h. */
36381 +-#include <unicode/unistr.h>
36382 ++#include <libxslt/xslt.h>
36383 + int
36384 + main ()
36385 + {
36386 +-int32_t i = UNICODE_STRING_SIMPLE("foo").indexOf('f');
36387 ++xsltInit()
36388 + ;
36389 + return 0;
36390 + }
36391 + _ACEOF
36392 + rm -f conftest.$ac_objext conftest$ac_exeext
36393 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36394 +- (eval $ac_link) 2>conftest.er1
36395 ++if { (ac_try="$ac_link"
36396 ++case "(($ac_try" in
36397 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36398 ++ *) ac_try_echo=$ac_try;;
36399 ++esac
36400 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36401 ++ (eval "$ac_link") 2>conftest.er1
36402 + ac_status=$?
36403 + grep -v '^ *+' conftest.er1 >conftest.err
36404 + rm -f conftest.er1
36405 + cat conftest.err >&5
36406 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36407 + (exit $ac_status); } &&
36408 +- { ac_try='test -z "$ac_cxx_werror_flag"
36409 +- || test ! -s conftest.err'
36410 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36411 +- (eval $ac_try) 2>&5
36412 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36413 ++ { (case "(($ac_try" in
36414 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36415 ++ *) ac_try_echo=$ac_try;;
36416 ++esac
36417 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36418 ++ (eval "$ac_try") 2>&5
36419 + ac_status=$?
36420 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36421 + (exit $ac_status); }; } &&
36422 + { ac_try='test -s conftest$ac_exeext'
36423 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36424 +- (eval $ac_try) 2>&5
36425 ++ { (case "(($ac_try" in
36426 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36427 ++ *) ac_try_echo=$ac_try;;
36428 ++esac
36429 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36430 ++ (eval "$ac_try") 2>&5
36431 + ac_status=$?
36432 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36433 + (exit $ac_status); }; }; then
36434 +- ncbi_cv_lib_icu=yes
36435 ++ ncbi_cv_lib_libxslt=yes
36436 + else
36437 + echo "$as_me: failed program was:" >&5
36438 + sed 's/^/| /' conftest.$ac_ext >&5
36439 +
36440 +-ncbi_cv_lib_icu=no
36441 ++ ncbi_cv_lib_libxslt=no
36442 + fi
36443 +-rm -f conftest.err conftest.$ac_objext \
36444 ++
36445 ++rm -f core conftest.err conftest.$ac_objext \
36446 + conftest$ac_exeext conftest.$ac_ext
36447 +- else
36448 +- ncbi_cv_lib_icu=no
36449 + fi
36450 +-fi
36451 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_icu" >&5
36452 +-echo "${ECHO_T}$ncbi_cv_lib_icu" >&6
36453 +- if test "$ncbi_cv_lib_icu" = "no"; then
36454 +- if test "${with_icu:=no}" != no; then
36455 +- { { echo "$as_me:$LINENO: error: --with-icu explicitly specified, but no usable version found." >&5
36456 +-echo "$as_me: error: --with-icu explicitly specified, but no usable version found." >&2;}
36457 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_libxslt" >&5
36458 ++echo "${ECHO_T}$ncbi_cv_lib_libxslt" >&6; }
36459 ++ if test "$ncbi_cv_lib_libxslt" = "no"; then
36460 ++ if test "${with_libxslt:=no}" != no; then
36461 ++ { { echo "$as_me:$LINENO: error: --with-libxslt explicitly specified, but no usable version found." >&5
36462 ++echo "$as_me: error: --with-libxslt explicitly specified, but no usable version found." >&2;}
36463 + { (exit 1); exit 1; }; }
36464 + fi
36465 + fi
36466 + fi
36467 ++ if test "$with_libxslt" = "no"; then
36468 ++ LIBXSLT_PATH="No_LIBXSLT"
36469 ++ LIBXSLT_INCLUDE=
36470 ++ LIBXSLT_LIBS=
36471 ++ else
36472 ++ WithPackages="$WithPackages${WithPackagesSep}LIBXSLT"; WithPackagesSep=" "
36473 ++ LIBXSLT_INCLUDE="$LIBXML_INCLUDE $LIBXSLT_INCLUDE"
36474 ++
36475 ++cat >>confdefs.h <<\_ACEOF
36476 ++#define HAVE_LIBXSLT 1
36477 ++_ACEOF
36478 ++
36479 ++ fi
36480 +
36481 +-if test "$with_icu" = "no" ; then
36482 +- ICU_PATH="No_ICU"
36483 +- ICU_INCLUDE=
36484 +- ICU_LIBS=
36485 +- ICU_STATIC_LIBS=
36486 ++
36487 ++
36488 ++
36489 ++# XXX - they might be in different directories in some setups
36490 ++if test -f "${LIBXML_LIBPATH_}/libxslt-static.a"; then
36491 ++ LIBXSLT_STATIC_LIBS="-L${LIBXML_LIBPATH_} -lxslt-static"
36492 + else
36493 +- WithPackages="$WithPackages${WithPackagesSep}ICU"; WithPackagesSep=" "
36494 +- ICU_CONFIG="`$ICU_BINPATH/icu-config --bindir`/icu-config"
36495 +- # The "yes" may have been cached; get the actual settings again if needed
36496 +- if test -z "$ICU_INCLUDE"; then
36497 +- ICU_INCLUDE=`$ICU_CONFIG --cppflags-searchpath`
36498 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
36499 +- ICU_LIBS=`$ICU_CONFIG --ldflags-searchpath | sed -e ""`
36500 ++ LIBXSLT_STATIC_LIBS=${LIBXSLT_LIBS}
36501 ++fi
36502 ++
36503 ++# Extract the first word of "xsltproc", so it can be a program name with args.
36504 ++set dummy xsltproc; ac_word=$2
36505 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
36506 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36507 ++if test "${ac_cv_path_XSLTPROC+set}" = set; then
36508 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
36509 + else
36510 +- ICU_LIBS=
36511 +- ncbi_rp_L_sep=
36512 +- ncbi_rp_R_flags=
36513 +- ncbi_rp_R_sep=" $CONF_f_runpath"
36514 +- for x in `$ICU_CONFIG --ldflags-searchpath | sed -e ""`; do
36515 +- case "$x" in
36516 +- -L*)
36517 +- ICU_LIBS="$ICU_LIBS${ncbi_rp_L_sep}$x"
36518 +- x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
36519 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
36520 +- ncbi_rp_R_sep=:
36521 ++ case $XSLTPROC in
36522 ++ [\\/]* | ?:[\\/]*)
36523 ++ ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
36524 + ;;
36525 + *)
36526 +- ICU_LIBS="$ICU_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
36527 +- ncbi_rp_R_flags=
36528 +- ncbi_rp_R_sep=" $CONF_f_runpath"
36529 ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36530 ++as_dummy="$LIBXSLT_PATH/bin:`dirname $LIBXML_LIBPATH_ 2>/dev/null`/bin:$PATH"
36531 ++for as_dir in $as_dummy
36532 ++do
36533 ++ IFS=$as_save_IFS
36534 ++ test -z "$as_dir" && as_dir=.
36535 ++ for ac_exec_ext in '' $ac_executable_extensions; do
36536 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
36537 ++ ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
36538 ++ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36539 ++ break 2
36540 ++ fi
36541 ++done
36542 ++done
36543 ++IFS=$as_save_IFS
36544 ++
36545 ++ test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC=":"
36546 + ;;
36547 + esac
36548 +- ncbi_rp_L_sep=" "
36549 +- done
36550 +- ICU_LIBS="$ICU_LIBS${ncbi_rp_R_flags}"
36551 + fi
36552 +- ICU_LIBS="$ICU_LIBS `$ICU_CONFIG --ldflags-libsonly`"
36553 ++XSLTPROC=$ac_cv_path_XSLTPROC
36554 ++if test -n "$XSLTPROC"; then
36555 ++ { echo "$as_me:$LINENO: result: $XSLTPROC" >&5
36556 ++echo "${ECHO_T}$XSLTPROC" >&6; }
36557 ++else
36558 ++ { echo "$as_me:$LINENO: result: no" >&5
36559 ++echo "${ECHO_T}no" >&6; }
36560 + fi
36561 +- ICU_STATIC_LIBS=`$ICU_CONFIG --ldflags-libsonly | sed -e 's/-licu/-lsicu/g'`
36562 +- ICU_STATIC_LIBS="`$ICU_CONFIG --ldflags-searchpath` $ICU_STATIC_LIBS"
36563 +-
36564 +-cat >>confdefs.h <<\_ACEOF
36565 +-#define HAVE_ICU 1
36566 +-_ACEOF
36567 +
36568 +-fi
36569 +
36570 +
36571 +-### XML/XSL libraries
36572 +-if test -d "$NCBI/expat/include"; then
36573 +- : ${EXPAT_PATH=$NCBI/expat}
36574 +-fi
36575 +-if test "$with_expat" != "no"; then
36576 +- case "$with_expat" in
36577 ++: ${LIBEXSLT_PATH=$LIBXSLT_PATH}
36578 ++if test "$with_libexslt" != "no"; then
36579 ++ case "$with_libexslt" in
36580 + yes | "" ) ;;
36581 +- * ) EXPAT_PATH=$with_expat ;;
36582 ++ * ) LIBEXSLT_PATH=$with_libexslt ;;
36583 + esac
36584 +- if test -d "$EXPAT_PATH"; then
36585 +- in_path=" in $EXPAT_PATH"
36586 +- if test -z "$EXPAT_INCLUDE" -a -d "$EXPAT_PATH/include"; then
36587 +- EXPAT_INCLUDE="-I$EXPAT_PATH/include"
36588 ++ if test -d "$LIBEXSLT_PATH"; then
36589 ++ in_path=" in $LIBEXSLT_PATH"
36590 ++ if test -z "$LIBEXSLT_INCLUDE" -a -d "$LIBEXSLT_PATH/include"; then
36591 ++ LIBEXSLT_INCLUDE="-I$LIBEXSLT_PATH/include"
36592 + fi
36593 +- if test -n "$EXPAT_LIBPATH"; then
36594 ++ if test -n "$LIBEXSLT_LIBPATH"; then
36595 + :
36596 +- elif test -d "$EXPAT_PATH/lib${bit64_sfx}"; then
36597 ++ elif test -d "$LIBEXSLT_PATH/lib${bit64_sfx}"; then
36598 + ncbi_rp_L_flags=
36599 + ncbi_rp_L_sep=$CONF_f_libpath
36600 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
36601 +- for x in $EXPAT_PATH/lib${bit64_sfx}; do
36602 ++ for x in $LIBEXSLT_PATH/lib${bit64_sfx}; do
36603 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36604 + ncbi_rp_L_sep=" $CONF_f_libpath"
36605 + done
36606 +- EXPAT_LIBPATH="${ncbi_rp_L_flags}"
36607 ++ LIBEXSLT_LIBPATH="${ncbi_rp_L_flags}"
36608 + else
36609 + ncbi_rp_R_flags=
36610 + ncbi_rp_R_sep=" $CONF_f_runpath"
36611 +- for x in $EXPAT_PATH/lib${bit64_sfx}; do
36612 ++ for x in $LIBEXSLT_PATH/lib${bit64_sfx}; do
36613 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36614 + ncbi_rp_L_sep=" $CONF_f_libpath"
36615 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
36616 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
36617 + ncbi_rp_R_sep=:
36618 + done
36619 +- EXPAT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
36620 ++ LIBEXSLT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
36621 + fi
36622 +- elif test -d "$EXPAT_PATH/lib"; then
36623 ++ elif test -d "$LIBEXSLT_PATH/lib"; then
36624 + ncbi_rp_L_flags=
36625 + ncbi_rp_L_sep=$CONF_f_libpath
36626 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
36627 +- for x in $EXPAT_PATH/lib; do
36628 ++ for x in $LIBEXSLT_PATH/lib; do
36629 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36630 + ncbi_rp_L_sep=" $CONF_f_libpath"
36631 + done
36632 +- EXPAT_LIBPATH="${ncbi_rp_L_flags}"
36633 ++ LIBEXSLT_LIBPATH="${ncbi_rp_L_flags}"
36634 + else
36635 + ncbi_rp_R_flags=
36636 + ncbi_rp_R_sep=" $CONF_f_runpath"
36637 +- for x in $EXPAT_PATH/lib; do
36638 ++ for x in $LIBEXSLT_PATH/lib; do
36639 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36640 + ncbi_rp_L_sep=" $CONF_f_libpath"
36641 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
36642 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
36643 + ncbi_rp_R_sep=:
36644 + done
36645 +- EXPAT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
36646 ++ LIBEXSLT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
36647 + fi
36648 + fi
36649 +- EXPAT_LIBS="$EXPAT_LIBPATH -lexpat "
36650 ++ LIBEXSLT_LIBS="$LIBEXSLT_LIBPATH -lexslt "
36651 + else
36652 +- EXPAT_INCLUDE=""
36653 +- EXPAT_LIBS="-lexpat "
36654 ++ LIBEXSLT_INCLUDE=""
36655 ++ LIBEXSLT_LIBS="-lexslt "
36656 + in_path=
36657 + fi
36658 +- echo "$as_me:$LINENO: checking for libexpat$in_path" >&5
36659 +-echo $ECHO_N "checking for libexpat$in_path... $ECHO_C" >&6
36660 +-if test "${ncbi_cv_lib_expat+set}" = set; then
36661 ++ { echo "$as_me:$LINENO: checking for libexslt$in_path" >&5
36662 ++echo $ECHO_N "checking for libexslt$in_path... $ECHO_C" >&6; }
36663 ++if test "${ncbi_cv_lib_libexslt+set}" = set; then
36664 + echo $ECHO_N "(cached) $ECHO_C" >&6
36665 + else
36666 +- CPPFLAGS=" $EXPAT_INCLUDE $orig_CPPFLAGS"
36667 +- LIBS="$EXPAT_LIBS $orig_LIBS"
36668 ++ CPPFLAGS="$LIBXSLT_INCLUDE $LIBEXSLT_INCLUDE $orig_CPPFLAGS"
36669 ++ LIBS="$LIBEXSLT_LIBS $LIBXSLT_LIBS $LIBXML_LIBS $Z_LIBS $orig_LIBS"
36670 + cat >conftest.$ac_ext <<_ACEOF
36671 + /* confdefs.h. */
36672 + _ACEOF
36673 + cat confdefs.h >>conftest.$ac_ext
36674 + cat >>conftest.$ac_ext <<_ACEOF
36675 + /* end confdefs.h. */
36676 +-#include <expat.h>
36677 ++#include <libexslt/exslt.h>
36678 + int
36679 + main ()
36680 + {
36681 +-XML_Parser parser = XML_ParserCreate("utf-8");
36682 ++exsltRegisterAll()
36683 + ;
36684 + return 0;
36685 + }
36686 + _ACEOF
36687 + rm -f conftest.$ac_objext conftest$ac_exeext
36688 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36689 +- (eval $ac_link) 2>conftest.er1
36690 ++if { (ac_try="$ac_link"
36691 ++case "(($ac_try" in
36692 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36693 ++ *) ac_try_echo=$ac_try;;
36694 ++esac
36695 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36696 ++ (eval "$ac_link") 2>conftest.er1
36697 + ac_status=$?
36698 + grep -v '^ *+' conftest.er1 >conftest.err
36699 + rm -f conftest.er1
36700 + cat conftest.err >&5
36701 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36702 + (exit $ac_status); } &&
36703 +- { ac_try='test -z "$ac_cxx_werror_flag"
36704 +- || test ! -s conftest.err'
36705 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36706 +- (eval $ac_try) 2>&5
36707 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36708 ++ { (case "(($ac_try" in
36709 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36710 ++ *) ac_try_echo=$ac_try;;
36711 ++esac
36712 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36713 ++ (eval "$ac_try") 2>&5
36714 + ac_status=$?
36715 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36716 + (exit $ac_status); }; } &&
36717 + { ac_try='test -s conftest$ac_exeext'
36718 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36719 +- (eval $ac_try) 2>&5
36720 ++ { (case "(($ac_try" in
36721 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36722 ++ *) ac_try_echo=$ac_try;;
36723 ++esac
36724 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36725 ++ (eval "$ac_try") 2>&5
36726 + ac_status=$?
36727 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36728 + (exit $ac_status); }; }; then
36729 +- ncbi_cv_lib_expat=yes
36730 ++ ncbi_cv_lib_libexslt=yes
36731 + else
36732 + echo "$as_me: failed program was:" >&5
36733 + sed 's/^/| /' conftest.$ac_ext >&5
36734 +
36735 +-ncbi_cv_lib_expat=no
36736 ++ ncbi_cv_lib_libexslt=no
36737 + fi
36738 +-rm -f conftest.err conftest.$ac_objext \
36739 ++
36740 ++rm -f core conftest.err conftest.$ac_objext \
36741 + conftest$ac_exeext conftest.$ac_ext
36742 + fi
36743 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_expat" >&5
36744 +-echo "${ECHO_T}$ncbi_cv_lib_expat" >&6
36745 +- if test "$ncbi_cv_lib_expat" = "no"; then
36746 +- if test "${with_expat:=no}" != no; then
36747 +- { { echo "$as_me:$LINENO: error: --with-expat explicitly specified, but no usable version found." >&5
36748 +-echo "$as_me: error: --with-expat explicitly specified, but no usable version found." >&2;}
36749 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_libexslt" >&5
36750 ++echo "${ECHO_T}$ncbi_cv_lib_libexslt" >&6; }
36751 ++ if test "$ncbi_cv_lib_libexslt" = "no"; then
36752 ++ if test "${with_libexslt:=no}" != no; then
36753 ++ { { echo "$as_me:$LINENO: error: --with-libexslt explicitly specified, but no usable version found." >&5
36754 ++echo "$as_me: error: --with-libexslt explicitly specified, but no usable version found." >&2;}
36755 + { (exit 1); exit 1; }; }
36756 + fi
36757 + fi
36758 + fi
36759 +- if test "$with_expat" = "no"; then
36760 +- EXPAT_PATH="No_EXPAT"
36761 +- EXPAT_INCLUDE=
36762 +- EXPAT_LIBS=
36763 ++ if test "$with_libexslt" = "no"; then
36764 ++ LIBEXSLT_PATH="No_LIBEXSLT"
36765 ++ LIBEXSLT_INCLUDE=
36766 ++ LIBEXSLT_LIBS=
36767 + else
36768 +- WithPackages="$WithPackages${WithPackagesSep}EXPAT"; WithPackagesSep=" "
36769 +- EXPAT_INCLUDE=" $EXPAT_INCLUDE"
36770 ++ WithPackages="$WithPackages${WithPackagesSep}LIBEXSLT"; WithPackagesSep=" "
36771 ++ LIBEXSLT_INCLUDE="$LIBXSLT_INCLUDE $LIBEXSLT_INCLUDE"
36772 +
36773 + cat >>confdefs.h <<\_ACEOF
36774 +-#define HAVE_LIBEXPAT 1
36775 ++#define HAVE_LIBEXSLT 1
36776 + _ACEOF
36777 +
36778 + fi
36779 +
36780 +
36781 +
36782 +-if test -f "${EXPAT_PATH}/lib${bit64_sfx}/libexpat-static.a"; then
36783 +- EXPAT_STATIC_LIBS="-L${EXPAT_PATH}/lib${bit64_sfx} -lexpat-static"
36784 ++
36785 ++# XXX - they might be in different directories in some setups
36786 ++if test -f "${LIBXML_LIBPATH_}/libexslt-static.a"; then
36787 ++ LIBEXSLT_STATIC_LIBS="-L${LIBXML_LIBPATH_} -lexslt-static"
36788 + else
36789 +- EXPAT_STATIC_LIBS=${EXPAT_LIBS}
36790 ++ LIBEXSLT_STATIC_LIBS=${LIBEXSLT_LIBS}
36791 + fi
36792 +-: ${SABLOT_PATH=$NCBI/Sablot}
36793 +-vpath="$SABLOT_PATH/${compiler_vpfx}build"
36794 +-test -d "$vpath" && SABLOT_PATH=$vpath
36795 +-if test -d "$SABLOT_PATH"; then
36796 +- ncbi_fix_dir_tmp=`if cd $SABLOT_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
36797 ++
36798 ++if test "$with_xerces" != no; then
36799 ++ if test "${with_xerces-yes}" != yes; then
36800 ++ XERCES_PATH=$with_xerces
36801 ++ fi
36802 ++ if test -d "$XERCES_PATH"; then
36803 ++ ncbi_fix_dir_tmp=`if cd $XERCES_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
36804 + case "$ncbi_fix_dir_tmp" in
36805 +- /.*) ncbi_fix_dir_tmp2=`cd $SABLOT_PATH && $smart_pwd 2>/dev/null`
36806 ++ /.*) ncbi_fix_dir_tmp2=`cd $XERCES_PATH && $smart_pwd 2>/dev/null`
36807 + if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
36808 +- SABLOT_PATH=$ncbi_fix_dir_tmp2
36809 ++ XERCES_PATH=$ncbi_fix_dir_tmp2
36810 + else
36811 +- case "$SABLOT_PATH" in
36812 ++ case "$XERCES_PATH" in
36813 + /*) ;;
36814 +- * ) SABLOT_PATH=$ncbi_fix_dir_tmp ;;
36815 ++ * ) XERCES_PATH=$ncbi_fix_dir_tmp ;;
36816 + esac
36817 + fi
36818 + ;;
36819 +- /*) SABLOT_PATH=$ncbi_fix_dir_tmp ;;
36820 ++ /*) XERCES_PATH=$ncbi_fix_dir_tmp ;;
36821 + esac
36822 + fi
36823 +-if test "$with_sablot" != "no"; then
36824 +- case "$with_sablot" in
36825 +- yes | "" ) ;;
36826 +- * ) SABLOT_PATH=$with_sablot ;;
36827 ++ vpath="$XERCES_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}"
36828 ++ if test -d "$vpath/lib"; then
36829 ++ XERCES_PATH=$vpath
36830 ++ ncbi_fix_dir_tmp=`if cd $XERCES_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
36831 ++ case "$ncbi_fix_dir_tmp" in
36832 ++ /.*) ncbi_fix_dir_tmp2=`cd $XERCES_PATH && $smart_pwd 2>/dev/null`
36833 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
36834 ++ XERCES_PATH=$ncbi_fix_dir_tmp2
36835 ++ else
36836 ++ case "$XERCES_PATH" in
36837 ++ /*) ;;
36838 ++ * ) XERCES_PATH=$ncbi_fix_dir_tmp ;;
36839 ++ esac
36840 ++ fi
36841 ++ ;;
36842 ++ /*) XERCES_PATH=$ncbi_fix_dir_tmp ;;
36843 ++ esac
36844 ++ elif test -d "$vpath"; then
36845 ++ : ${XERCES_LIBPATH=$vpath}
36846 ++ ncbi_fix_dir_tmp=`if cd $XERCES_LIBPATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
36847 ++ case "$ncbi_fix_dir_tmp" in
36848 ++ /.*) ncbi_fix_dir_tmp2=`cd $XERCES_LIBPATH && $smart_pwd 2>/dev/null`
36849 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
36850 ++ XERCES_LIBPATH=$ncbi_fix_dir_tmp2
36851 ++ else
36852 ++ case "$XERCES_LIBPATH" in
36853 ++ /*) ;;
36854 ++ * ) XERCES_LIBPATH=$ncbi_fix_dir_tmp ;;
36855 ++ esac
36856 ++ fi
36857 ++ ;;
36858 ++ /*) XERCES_LIBPATH=$ncbi_fix_dir_tmp ;;
36859 ++ esac
36860 ++ else
36861 ++ vpath="$XERCES_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}"
36862 ++ if test -d "$vpath/lib"; then
36863 ++ XERCES_PATH=$vpath
36864 ++ ncbi_fix_dir_tmp=`if cd $XERCES_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
36865 ++ case "$ncbi_fix_dir_tmp" in
36866 ++ /.*) ncbi_fix_dir_tmp2=`cd $XERCES_PATH && $smart_pwd 2>/dev/null`
36867 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
36868 ++ XERCES_PATH=$ncbi_fix_dir_tmp2
36869 ++ else
36870 ++ case "$XERCES_PATH" in
36871 ++ /*) ;;
36872 ++ * ) XERCES_PATH=$ncbi_fix_dir_tmp ;;
36873 ++ esac
36874 ++ fi
36875 ++ ;;
36876 ++ /*) XERCES_PATH=$ncbi_fix_dir_tmp ;;
36877 ++ esac
36878 ++ elif test -d "$vpath"; then
36879 ++ XERCES_LIBPATH=$vpath
36880 ++ ncbi_fix_dir_tmp=`if cd $XERCES_LIBPATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
36881 ++ case "$ncbi_fix_dir_tmp" in
36882 ++ /.*) ncbi_fix_dir_tmp2=`cd $XERCES_LIBPATH && $smart_pwd 2>/dev/null`
36883 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
36884 ++ XERCES_LIBPATH=$ncbi_fix_dir_tmp2
36885 ++ else
36886 ++ case "$XERCES_LIBPATH" in
36887 ++ /*) ;;
36888 ++ * ) XERCES_LIBPATH=$ncbi_fix_dir_tmp ;;
36889 ++ esac
36890 ++ fi
36891 ++ ;;
36892 ++ /*) XERCES_LIBPATH=$ncbi_fix_dir_tmp ;;
36893 + esac
36894 +- if test -d "$SABLOT_PATH"; then
36895 +- in_path=" in $SABLOT_PATH"
36896 +- if test -z "$SABLOT_INCLUDE" -a -d "$SABLOT_PATH/include"; then
36897 +- SABLOT_INCLUDE="-I$SABLOT_PATH/include"
36898 + fi
36899 +- if test -n "$SABLOT_LIBPATH"; then
36900 +- :
36901 +- elif test -d "$SABLOT_PATH/lib${bit64_sfx}"; then
36902 +- ncbi_rp_L_flags=
36903 +- ncbi_rp_L_sep=$CONF_f_libpath
36904 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
36905 +- for x in $SABLOT_PATH/lib${bit64_sfx}; do
36906 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36907 +- ncbi_rp_L_sep=" $CONF_f_libpath"
36908 +- done
36909 +- SABLOT_LIBPATH="${ncbi_rp_L_flags}"
36910 ++ fi
36911 ++ if test -d "$XERCES_PATH"; then
36912 ++ in_path=" in $XERCES_PATH"
36913 ++ : ${XERCES_INCLUDE=-I$XERCES_PATH/include}
36914 ++ : ${XERCES_LIBPATH=$XERCES_PATH/lib}
36915 + else
36916 +- ncbi_rp_R_flags=
36917 +- ncbi_rp_R_sep=" $CONF_f_runpath"
36918 +- for x in $SABLOT_PATH/lib${bit64_sfx}; do
36919 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36920 +- ncbi_rp_L_sep=" $CONF_f_libpath"
36921 +- x=`echo $x | sed -e "$ncbi_rpath_sed"`
36922 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
36923 +- ncbi_rp_R_sep=:
36924 +- done
36925 +- SABLOT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
36926 ++ in_path=''
36927 + fi
36928 +- elif test -d "$SABLOT_PATH/lib"; then
36929 + ncbi_rp_L_flags=
36930 + ncbi_rp_L_sep=$CONF_f_libpath
36931 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
36932 +- for x in $SABLOT_PATH/lib; do
36933 ++ for x in $XERCES_LIBPATH; do
36934 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36935 + ncbi_rp_L_sep=" $CONF_f_libpath"
36936 + done
36937 +- SABLOT_LIBPATH="${ncbi_rp_L_flags}"
36938 ++ XERCES_LIBPATH_="${ncbi_rp_L_flags}"
36939 + else
36940 + ncbi_rp_R_flags=
36941 + ncbi_rp_R_sep=" $CONF_f_runpath"
36942 +- for x in $SABLOT_PATH/lib; do
36943 ++ for x in $XERCES_LIBPATH; do
36944 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36945 + ncbi_rp_L_sep=" $CONF_f_libpath"
36946 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
36947 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
36948 + ncbi_rp_R_sep=:
36949 + done
36950 +- SABLOT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
36951 +- fi
36952 +- fi
36953 +- SABLOT_LIBS="$SABLOT_LIBPATH -lsablot $EXPAT_LIBS"
36954 +- else
36955 +- SABLOT_INCLUDE=""
36956 +- SABLOT_LIBS="-lsablot $EXPAT_LIBS"
36957 +- in_path=
36958 ++ XERCES_LIBPATH_="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
36959 + fi
36960 +- echo "$as_me:$LINENO: checking for libsablot$in_path" >&5
36961 +-echo $ECHO_N "checking for libsablot$in_path... $ECHO_C" >&6
36962 +-if test "${ncbi_cv_lib_sablot+set}" = set; then
36963 ++ XERCES_LIBS="$XERCES_LIBPATH_ -lxerces-c"
36964 ++ { echo "$as_me:$LINENO: checking for Xerces-C++$in_path" >&5
36965 ++echo $ECHO_N "checking for Xerces-C++$in_path... $ECHO_C" >&6; }
36966 ++if test "${ncbi_cv_lib_xerces_c+set}" = set; then
36967 + echo $ECHO_N "(cached) $ECHO_C" >&6
36968 + else
36969 +- CPPFLAGS=" $SABLOT_INCLUDE $orig_CPPFLAGS"
36970 +- LIBS="$SABLOT_LIBS $orig_LIBS"
36971 ++ CPPFLAGS="$XERCES_INCLUDE $orig_CPPFLAGS"
36972 ++ LIBS="$XERCES_LIBS $ICU_LIBS $orig_LIBS"
36973 + cat >conftest.$ac_ext <<_ACEOF
36974 + /* confdefs.h. */
36975 + _ACEOF
36976 + cat confdefs.h >>conftest.$ac_ext
36977 + cat >>conftest.$ac_ext <<_ACEOF
36978 + /* end confdefs.h. */
36979 +-#include <sablot.h>
36980 ++#include <xercesc/dom/DOM.hpp>
36981 + int
36982 + main ()
36983 + {
36984 +-SDOM_Document* D; int x = SablotParse(NULL, "file:/dev/null", D);
36985 ++xercesc::DOMImplementation* impl
36986 ++ = xercesc::DOMImplementationRegistry::getDOMImplementation
36987 ++ (xercesc::XMLString::transcode("XML 1.0"));
36988 + ;
36989 + return 0;
36990 + }
36991 + _ACEOF
36992 + rm -f conftest.$ac_objext conftest$ac_exeext
36993 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36994 +- (eval $ac_link) 2>conftest.er1
36995 ++if { (ac_try="$ac_link"
36996 ++case "(($ac_try" in
36997 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36998 ++ *) ac_try_echo=$ac_try;;
36999 ++esac
37000 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37001 ++ (eval "$ac_link") 2>conftest.er1
37002 + ac_status=$?
37003 + grep -v '^ *+' conftest.er1 >conftest.err
37004 + rm -f conftest.er1
37005 + cat conftest.err >&5
37006 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37007 + (exit $ac_status); } &&
37008 +- { ac_try='test -z "$ac_cxx_werror_flag"
37009 +- || test ! -s conftest.err'
37010 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37011 +- (eval $ac_try) 2>&5
37012 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37013 ++ { (case "(($ac_try" in
37014 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37015 ++ *) ac_try_echo=$ac_try;;
37016 ++esac
37017 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37018 ++ (eval "$ac_try") 2>&5
37019 + ac_status=$?
37020 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37021 + (exit $ac_status); }; } &&
37022 + { ac_try='test -s conftest$ac_exeext'
37023 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37024 +- (eval $ac_try) 2>&5
37025 ++ { (case "(($ac_try" in
37026 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37027 ++ *) ac_try_echo=$ac_try;;
37028 ++esac
37029 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37030 ++ (eval "$ac_try") 2>&5
37031 + ac_status=$?
37032 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37033 + (exit $ac_status); }; }; then
37034 +- ncbi_cv_lib_sablot=yes
37035 ++ ncbi_cv_lib_xerces_c=yes
37036 + else
37037 + echo "$as_me: failed program was:" >&5
37038 + sed 's/^/| /' conftest.$ac_ext >&5
37039 +
37040 +-ncbi_cv_lib_sablot=no
37041 ++ ncbi_cv_lib_xerces_c=no
37042 + fi
37043 +-rm -f conftest.err conftest.$ac_objext \
37044 ++
37045 ++rm -f core conftest.err conftest.$ac_objext \
37046 + conftest$ac_exeext conftest.$ac_ext
37047 + fi
37048 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_sablot" >&5
37049 +-echo "${ECHO_T}$ncbi_cv_lib_sablot" >&6
37050 +- if test "$ncbi_cv_lib_sablot" = "no"; then
37051 +- if test "${with_sablot:=no}" != no; then
37052 +- { { echo "$as_me:$LINENO: error: --with-sablot explicitly specified, but no usable version found." >&5
37053 +-echo "$as_me: error: --with-sablot explicitly specified, but no usable version found." >&2;}
37054 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_xerces_c" >&5
37055 ++echo "${ECHO_T}$ncbi_cv_lib_xerces_c" >&6; }
37056 ++ if test $ncbi_cv_lib_xerces_c = yes; then
37057 ++ if test -f "$XERCES_LIBPATH/libxerces-c-static.a"; then
37058 ++ XERCES_STATIC_LIBS="-L$XERCES_LIBPATH -lxerces-c-static $CURL_LIBS"
37059 ++ else
37060 ++ XERCES_STATIC_LIBS=$XERCES_LIBS
37061 ++ fi
37062 ++ else
37063 ++ if test "${with_xerces:=no}" != no; then
37064 ++ { { echo "$as_me:$LINENO: error: --with-xerces explicitly specified, but no usable version found." >&5
37065 ++echo "$as_me: error: --with-xerces explicitly specified, but no usable version found." >&2;}
37066 + { (exit 1); exit 1; }; }
37067 + fi
37068 + fi
37069 + fi
37070 +- if test "$with_sablot" = "no"; then
37071 +- SABLOT_PATH="No_SABLOT"
37072 +- SABLOT_INCLUDE=
37073 +- SABLOT_LIBS=
37074 +- else
37075 +- WithPackages="$WithPackages${WithPackagesSep}SABLOT"; WithPackagesSep=" "
37076 +- SABLOT_INCLUDE=" $SABLOT_INCLUDE"
37077 ++if test "$with_xerces" != no; then
37078 ++ WithPackages="$WithPackages${WithPackagesSep}Xerces"; WithPackagesSep=" "
37079 +
37080 + cat >>confdefs.h <<\_ACEOF
37081 +-#define HAVE_LIBSABLOT 1
37082 ++#define HAVE_XERCES 1
37083 + _ACEOF
37084 +
37085 +- fi
37086 +-
37087 +-
37088 +-
37089 +-test -d SunWS_cache && rm -r SunWS_cache
37090 +-if test -f "${SABLOT_PATH}/lib${bit64_sfx}/libsablot-static.a"; then
37091 +- SABLOT_STATIC_LIBS="-L${SABLOT_PATH}/lib${bit64_sfx} -lsablot-static $EXPAT_STATIC_LIBS"
37092 + else
37093 +- SABLOT_STATIC_LIBS=${SABLOT_LIBS}
37094 ++ XERCES_INCLUDE=
37095 ++ XERCES_LIBS=
37096 ++ XERCES_STATIC_LIBS=
37097 + fi
37098 +
37099 +-: ${LIBXML_PATH=$NCBI/libxml}
37100 +-# test -d "$LIBXML_PATH" || LIBXML_PATH=`xml2-config --prefix 2>/dev/null`
37101 +-if test "$with_libxml" != "no"; then
37102 +- case "$with_libxml" in
37103 +- yes | "" ) ;;
37104 +- * ) LIBXML_PATH=$with_libxml ;;
37105 +- esac
37106 +- for pfx in "$compiler_vpfx" "$compiler_pfx" "" ; do
37107 +- vpath=$LIBXML_PATH/$pfx${DEBUG_SFX}${mt_sfx}${bit64_sfx}
37108 +- if test -d "$vpath" ; then
37109 +- LIBXML_PATH=$vpath
37110 +- break
37111 ++if test "$with_xalan" != no; then
37112 ++ if test "${with_xalan-yes}" != yes; then
37113 ++ XALAN_PATH=$with_xalan
37114 + fi
37115 +- done
37116 +- if test -d "$LIBXML_PATH"; then
37117 +- ncbi_fix_dir_tmp=`if cd $LIBXML_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
37118 ++ if test -d "$XALAN_PATH"; then
37119 ++ ncbi_fix_dir_tmp=`if cd $XALAN_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
37120 + case "$ncbi_fix_dir_tmp" in
37121 +- /.*) ncbi_fix_dir_tmp2=`cd $LIBXML_PATH && $smart_pwd 2>/dev/null`
37122 ++ /.*) ncbi_fix_dir_tmp2=`cd $XALAN_PATH && $smart_pwd 2>/dev/null`
37123 + if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
37124 +- LIBXML_PATH=$ncbi_fix_dir_tmp2
37125 ++ XALAN_PATH=$ncbi_fix_dir_tmp2
37126 + else
37127 +- case "$LIBXML_PATH" in
37128 ++ case "$XALAN_PATH" in
37129 + /*) ;;
37130 +- * ) LIBXML_PATH=$ncbi_fix_dir_tmp ;;
37131 ++ * ) XALAN_PATH=$ncbi_fix_dir_tmp ;;
37132 + esac
37133 + fi
37134 + ;;
37135 +- /*) LIBXML_PATH=$ncbi_fix_dir_tmp ;;
37136 ++ /*) XALAN_PATH=$ncbi_fix_dir_tmp ;;
37137 + esac
37138 +- in_path=" in $LIBXML_PATH"
37139 +- if test -n "$LIBXML_INCLUDE"; then
37140 +- :
37141 +- elif test -d "$LIBXML_PATH/include/libxml2/libxml"; then
37142 +- LIBXML_INCLUDE="-I$LIBXML_PATH/include/libxml2 -I$LIBXML_PATH/include"
37143 +- elif test -d "$LIBXML_PATH/include/libxml"; then
37144 +- LIBXML_INCLUDE="-I$LIBXML_PATH/include";
37145 +- fi
37146 +- if test -d "$LIBXML_PATH/lib${bit64_sfx}"; then
37147 +- LIBXML_LIBPATH_="$LIBXML_PATH/lib${bit64_sfx}"
37148 +- elif test -d "$LIBXML_PATH/lib"; then
37149 +- LIBXML_LIBPATH_="$LIBXML_PATH/lib"
37150 + fi
37151 +- if test -z "${LIBXML_LIBPATH+set}"; then
37152 +- ncbi_rp_L_flags=
37153 +- ncbi_rp_L_sep=$CONF_f_libpath
37154 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
37155 +- for x in $LIBXML_LIBPATH_; do
37156 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37157 +- ncbi_rp_L_sep=" $CONF_f_libpath"
37158 +- done
37159 +- LIBXML_LIBPATH="${ncbi_rp_L_flags}"
37160 ++ vpath="$XALAN_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}"
37161 ++ if test -d "$vpath/lib"; then
37162 ++ XALAN_PATH=$vpath
37163 ++ ncbi_fix_dir_tmp=`if cd $XALAN_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
37164 ++ case "$ncbi_fix_dir_tmp" in
37165 ++ /.*) ncbi_fix_dir_tmp2=`cd $XALAN_PATH && $smart_pwd 2>/dev/null`
37166 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
37167 ++ XALAN_PATH=$ncbi_fix_dir_tmp2
37168 + else
37169 +- ncbi_rp_R_flags=
37170 +- ncbi_rp_R_sep=" $CONF_f_runpath"
37171 +- for x in $LIBXML_LIBPATH_; do
37172 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37173 +- ncbi_rp_L_sep=" $CONF_f_libpath"
37174 +- x=`echo $x | sed -e "$ncbi_rpath_sed"`
37175 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
37176 +- ncbi_rp_R_sep=:
37177 +- done
37178 +- LIBXML_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
37179 +- fi
37180 ++ case "$XALAN_PATH" in
37181 ++ /*) ;;
37182 ++ * ) XALAN_PATH=$ncbi_fix_dir_tmp ;;
37183 ++ esac
37184 + fi
37185 +- LIBXML_LIBS="$LIBXML_LIBPATH -lxml2"
37186 ++ ;;
37187 ++ /*) XALAN_PATH=$ncbi_fix_dir_tmp ;;
37188 ++ esac
37189 ++ elif test -d "$vpath"; then
37190 ++ : ${XALAN_LIBPATH=$vpath}
37191 ++ ncbi_fix_dir_tmp=`if cd $XALAN_LIBPATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
37192 ++ case "$ncbi_fix_dir_tmp" in
37193 ++ /.*) ncbi_fix_dir_tmp2=`cd $XALAN_LIBPATH && $smart_pwd 2>/dev/null`
37194 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
37195 ++ XALAN_LIBPATH=$ncbi_fix_dir_tmp2
37196 + else
37197 +- LIBXML_INCLUDE="-I/usr/include/libxml2"
37198 +- LIBXML_LIBS="-lxml2"
37199 +- in_path=
37200 ++ case "$XALAN_LIBPATH" in
37201 ++ /*) ;;
37202 ++ * ) XALAN_LIBPATH=$ncbi_fix_dir_tmp ;;
37203 ++ esac
37204 + fi
37205 +- LIBXML_LIBS="$LIBXML_LIBS $ICONV_LIBS"
37206 +- echo "$as_me:$LINENO: checking for libxml2$in_path" >&5
37207 +-echo $ECHO_N "checking for libxml2$in_path... $ECHO_C" >&6
37208 +-if test "${ncbi_cv_lib_libxml+set}" = set; then
37209 +- echo $ECHO_N "(cached) $ECHO_C" >&6
37210 +-else
37211 +- CPPFLAGS="$LIBXML_INCLUDE $orig_CPPFLAGS"
37212 +- LIBS="$LIBXML_LIBS $orig_LIBS"
37213 +- cat >conftest.$ac_ext <<_ACEOF
37214 +-/* confdefs.h. */
37215 +-_ACEOF
37216 +-cat confdefs.h >>conftest.$ac_ext
37217 +-cat >>conftest.$ac_ext <<_ACEOF
37218 +-/* end confdefs.h. */
37219 +-#include <libxml/parser.h>
37220 +-int
37221 +-main ()
37222 +-{
37223 +-xmlDocPtr doc = xmlParseFile("foo.xml");
37224 +- ;
37225 +- return 0;
37226 +-}
37227 +-_ACEOF
37228 +-rm -f conftest.$ac_objext conftest$ac_exeext
37229 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37230 +- (eval $ac_link) 2>conftest.er1
37231 +- ac_status=$?
37232 +- grep -v '^ *+' conftest.er1 >conftest.err
37233 +- rm -f conftest.er1
37234 +- cat conftest.err >&5
37235 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
37236 +- (exit $ac_status); } &&
37237 +- { ac_try='test -z "$ac_cxx_werror_flag"
37238 +- || test ! -s conftest.err'
37239 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37240 +- (eval $ac_try) 2>&5
37241 +- ac_status=$?
37242 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
37243 +- (exit $ac_status); }; } &&
37244 +- { ac_try='test -s conftest$ac_exeext'
37245 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37246 +- (eval $ac_try) 2>&5
37247 +- ac_status=$?
37248 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
37249 +- (exit $ac_status); }; }; then
37250 +- ncbi_cv_lib_libxml=yes
37251 ++ ;;
37252 ++ /*) XALAN_LIBPATH=$ncbi_fix_dir_tmp ;;
37253 ++ esac
37254 + else
37255 +- echo "$as_me: failed program was:" >&5
37256 +-sed 's/^/| /' conftest.$ac_ext >&5
37257 +-
37258 +-ncbi_cv_lib_libxml=no
37259 +-fi
37260 +-rm -f conftest.err conftest.$ac_objext \
37261 +- conftest$ac_exeext conftest.$ac_ext
37262 +-fi
37263 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_libxml" >&5
37264 +-echo "${ECHO_T}$ncbi_cv_lib_libxml" >&6
37265 +- if test "$ncbi_cv_lib_libxml" = "no"; then
37266 +- if test "${with_libxml:=no}" != no; then
37267 +- { { echo "$as_me:$LINENO: error: --with-libxml explicitly specified, but no usable version found." >&5
37268 +-echo "$as_me: error: --with-libxml explicitly specified, but no usable version found." >&2;}
37269 +- { (exit 1); exit 1; }; }
37270 +- fi
37271 +- fi
37272 +-fi
37273 +-if test "$with_libxml" = "no"; then
37274 +- LIBXML_PATH="No_LIBXML"
37275 +- LIBXML_INCLUDE=
37276 +- LIBXML_LIBPATH_=
37277 +- LIBXML_LIBS=
37278 ++ vpath="$XALAN_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}"
37279 ++ if test -d "$vpath/lib"; then
37280 ++ XALAN_PATH=$vpath
37281 ++ ncbi_fix_dir_tmp=`if cd $XALAN_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
37282 ++ case "$ncbi_fix_dir_tmp" in
37283 ++ /.*) ncbi_fix_dir_tmp2=`cd $XALAN_PATH && $smart_pwd 2>/dev/null`
37284 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
37285 ++ XALAN_PATH=$ncbi_fix_dir_tmp2
37286 + else
37287 +- WithPackages="$WithPackages${WithPackagesSep}LIBXML"; WithPackagesSep=" "
37288 +- LIBXML_INCLUDE="$LIBXML_INCLUDE"
37289 +-
37290 +-cat >>confdefs.h <<\_ACEOF
37291 +-#define HAVE_LIBXML 1
37292 +-_ACEOF
37293 +-
37294 ++ case "$XALAN_PATH" in
37295 ++ /*) ;;
37296 ++ * ) XALAN_PATH=$ncbi_fix_dir_tmp ;;
37297 ++ esac
37298 + fi
37299 +-
37300 +-
37301 +-
37302 +-if test -f "${LIBXML_LIBPATH_}/libxml2-static.a"; then
37303 +- LIBXML_STATIC_LIBS="-L${LIBXML_LIBPATH_} -lxml2-static"
37304 ++ ;;
37305 ++ /*) XALAN_PATH=$ncbi_fix_dir_tmp ;;
37306 ++ esac
37307 ++ elif test -d "$vpath"; then
37308 ++ XALAN_LIBPATH=$vpath
37309 ++ ncbi_fix_dir_tmp=`if cd $XALAN_LIBPATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
37310 ++ case "$ncbi_fix_dir_tmp" in
37311 ++ /.*) ncbi_fix_dir_tmp2=`cd $XALAN_LIBPATH && $smart_pwd 2>/dev/null`
37312 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
37313 ++ XALAN_LIBPATH=$ncbi_fix_dir_tmp2
37314 + else
37315 +- LIBXML_STATIC_LIBS=${LIBXML_LIBS}
37316 ++ case "$XALAN_LIBPATH" in
37317 ++ /*) ;;
37318 ++ * ) XALAN_LIBPATH=$ncbi_fix_dir_tmp ;;
37319 ++ esac
37320 + fi
37321 +-
37322 +-: ${LIBXSLT_PATH=$LIBXML_PATH}
37323 +-if test "$with_libxslt" != "no"; then
37324 +- case "$with_libxslt" in
37325 +- yes | "" ) ;;
37326 +- * ) LIBXSLT_PATH=$with_libxslt ;;
37327 ++ ;;
37328 ++ /*) XALAN_LIBPATH=$ncbi_fix_dir_tmp ;;
37329 + esac
37330 +- if test -d "$LIBXSLT_PATH"; then
37331 +- in_path=" in $LIBXSLT_PATH"
37332 +- if test -z "$LIBXSLT_INCLUDE" -a -d "$LIBXSLT_PATH/include"; then
37333 +- LIBXSLT_INCLUDE="-I$LIBXSLT_PATH/include"
37334 + fi
37335 +- if test -n "$LIBXSLT_LIBPATH"; then
37336 +- :
37337 +- elif test -d "$LIBXSLT_PATH/lib${bit64_sfx}"; then
37338 +- ncbi_rp_L_flags=
37339 +- ncbi_rp_L_sep=$CONF_f_libpath
37340 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
37341 +- for x in $LIBXSLT_PATH/lib${bit64_sfx}; do
37342 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37343 +- ncbi_rp_L_sep=" $CONF_f_libpath"
37344 +- done
37345 +- LIBXSLT_LIBPATH="${ncbi_rp_L_flags}"
37346 ++ fi
37347 ++ if test -d "$XALAN_PATH"; then
37348 ++ in_path=" in $XALAN_PATH"
37349 ++ : ${XALAN_INCLUDE=-I$XALAN_PATH/include}
37350 ++ : ${XALAN_LIBPATH=$XALAN_PATH/lib}
37351 + else
37352 +- ncbi_rp_R_flags=
37353 +- ncbi_rp_R_sep=" $CONF_f_runpath"
37354 +- for x in $LIBXSLT_PATH/lib${bit64_sfx}; do
37355 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37356 +- ncbi_rp_L_sep=" $CONF_f_libpath"
37357 +- x=`echo $x | sed -e "$ncbi_rpath_sed"`
37358 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
37359 +- ncbi_rp_R_sep=:
37360 +- done
37361 +- LIBXSLT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
37362 ++ in_path=''
37363 + fi
37364 +- elif test -d "$LIBXSLT_PATH/lib"; then
37365 + ncbi_rp_L_flags=
37366 + ncbi_rp_L_sep=$CONF_f_libpath
37367 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
37368 +- for x in $LIBXSLT_PATH/lib; do
37369 ++ for x in $XALAN_LIBPATH; do
37370 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37371 + ncbi_rp_L_sep=" $CONF_f_libpath"
37372 + done
37373 +- LIBXSLT_LIBPATH="${ncbi_rp_L_flags}"
37374 ++ XALAN_LIBPATH_="${ncbi_rp_L_flags}"
37375 + else
37376 + ncbi_rp_R_flags=
37377 + ncbi_rp_R_sep=" $CONF_f_runpath"
37378 +- for x in $LIBXSLT_PATH/lib; do
37379 ++ for x in $XALAN_LIBPATH; do
37380 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37381 + ncbi_rp_L_sep=" $CONF_f_libpath"
37382 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
37383 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
37384 + ncbi_rp_R_sep=:
37385 + done
37386 +- LIBXSLT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
37387 +- fi
37388 +- fi
37389 +- LIBXSLT_LIBS="$LIBXSLT_LIBPATH -lxslt "
37390 +- else
37391 +- LIBXSLT_INCLUDE=""
37392 +- LIBXSLT_LIBS="-lxslt "
37393 +- in_path=
37394 ++ XALAN_LIBPATH_="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
37395 + fi
37396 +- echo "$as_me:$LINENO: checking for libxslt$in_path" >&5
37397 +-echo $ECHO_N "checking for libxslt$in_path... $ECHO_C" >&6
37398 +-if test "${ncbi_cv_lib_libxslt+set}" = set; then
37399 ++ XALAN_LIBS="$XALAN_LIBPATH_ -lxalan-c -lxalanMsg"
37400 ++ { echo "$as_me:$LINENO: checking for Xalan-C++$in_path" >&5
37401 ++echo $ECHO_N "checking for Xalan-C++$in_path... $ECHO_C" >&6; }
37402 ++if test "${ncbi_cv_lib_xalan_c+set}" = set; then
37403 + echo $ECHO_N "(cached) $ECHO_C" >&6
37404 + else
37405 +- CPPFLAGS="$LIBXML_INCLUDE $LIBXSLT_INCLUDE $orig_CPPFLAGS"
37406 +- LIBS="$LIBXSLT_LIBS $LIBXML_LIBS $Z_LIBS $orig_LIBS"
37407 ++ CPPFLAGS="$XALAN_INCLUDE $XERCES_INCLUDE $orig_CPPFLAGS"
37408 ++ LIBS="$XALAN_LIBS $XERCES_LIBS $ICU_LIBS $orig_LIBS"
37409 + cat >conftest.$ac_ext <<_ACEOF
37410 + /* confdefs.h. */
37411 + _ACEOF
37412 + cat confdefs.h >>conftest.$ac_ext
37413 + cat >>conftest.$ac_ext <<_ACEOF
37414 + /* end confdefs.h. */
37415 +-#include <libxslt/xslt.h>
37416 ++#include <xalanc/XalanTransformer/XalanTransformer.hpp>
37417 + int
37418 + main ()
37419 + {
37420 +-xsltInit()
37421 ++xalanc::XalanTransformer::initialize();
37422 + ;
37423 + return 0;
37424 + }
37425 + _ACEOF
37426 + rm -f conftest.$ac_objext conftest$ac_exeext
37427 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37428 +- (eval $ac_link) 2>conftest.er1
37429 ++if { (ac_try="$ac_link"
37430 ++case "(($ac_try" in
37431 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37432 ++ *) ac_try_echo=$ac_try;;
37433 ++esac
37434 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37435 ++ (eval "$ac_link") 2>conftest.er1
37436 + ac_status=$?
37437 + grep -v '^ *+' conftest.er1 >conftest.err
37438 + rm -f conftest.er1
37439 + cat conftest.err >&5
37440 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37441 + (exit $ac_status); } &&
37442 +- { ac_try='test -z "$ac_cxx_werror_flag"
37443 +- || test ! -s conftest.err'
37444 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37445 +- (eval $ac_try) 2>&5
37446 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37447 ++ { (case "(($ac_try" in
37448 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37449 ++ *) ac_try_echo=$ac_try;;
37450 ++esac
37451 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37452 ++ (eval "$ac_try") 2>&5
37453 + ac_status=$?
37454 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37455 + (exit $ac_status); }; } &&
37456 + { ac_try='test -s conftest$ac_exeext'
37457 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37458 +- (eval $ac_try) 2>&5
37459 ++ { (case "(($ac_try" in
37460 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37461 ++ *) ac_try_echo=$ac_try;;
37462 ++esac
37463 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37464 ++ (eval "$ac_try") 2>&5
37465 + ac_status=$?
37466 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37467 + (exit $ac_status); }; }; then
37468 +- ncbi_cv_lib_libxslt=yes
37469 ++ ncbi_cv_lib_xalan_c=yes
37470 + else
37471 + echo "$as_me: failed program was:" >&5
37472 + sed 's/^/| /' conftest.$ac_ext >&5
37473 +
37474 +-ncbi_cv_lib_libxslt=no
37475 ++ ncbi_cv_lib_xalan_c=no
37476 + fi
37477 +-rm -f conftest.err conftest.$ac_objext \
37478 ++
37479 ++rm -f core conftest.err conftest.$ac_objext \
37480 + conftest$ac_exeext conftest.$ac_ext
37481 + fi
37482 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_libxslt" >&5
37483 +-echo "${ECHO_T}$ncbi_cv_lib_libxslt" >&6
37484 +- if test "$ncbi_cv_lib_libxslt" = "no"; then
37485 +- if test "${with_libxslt:=no}" != no; then
37486 +- { { echo "$as_me:$LINENO: error: --with-libxslt explicitly specified, but no usable version found." >&5
37487 +-echo "$as_me: error: --with-libxslt explicitly specified, but no usable version found." >&2;}
37488 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_xalan_c" >&5
37489 ++echo "${ECHO_T}$ncbi_cv_lib_xalan_c" >&6; }
37490 ++ if test $ncbi_cv_lib_xalan_c = yes; then
37491 ++ if test -f "$XALAN_LIBPATH/libxalan-c-static.a"; then
37492 ++ XALAN_STATIC_LIBS="-L$XALAN_LIBPATH -lxalan-c-static -lxalanMsg-static"
37493 ++ else
37494 ++ XALAN_STATIC_LIBS=$XALAN_LIBS
37495 ++ fi
37496 ++ else
37497 ++ if test "${with_xalan:=no}" != no; then
37498 ++ { { echo "$as_me:$LINENO: error: --with-xalan explicitly specified, but no usable version found." >&5
37499 ++echo "$as_me: error: --with-xalan explicitly specified, but no usable version found." >&2;}
37500 + { (exit 1); exit 1; }; }
37501 + fi
37502 + fi
37503 + fi
37504 +- if test "$with_libxslt" = "no"; then
37505 +- LIBXSLT_PATH="No_LIBXSLT"
37506 +- LIBXSLT_INCLUDE=
37507 +- LIBXSLT_LIBS=
37508 +- else
37509 +- WithPackages="$WithPackages${WithPackagesSep}LIBXSLT"; WithPackagesSep=" "
37510 +- LIBXSLT_INCLUDE="$LIBXML_INCLUDE $LIBXSLT_INCLUDE"
37511 ++if test "$with_xalan" != no; then
37512 ++ WithPackages="$WithPackages${WithPackagesSep}Xalan"; WithPackagesSep=" "
37513 +
37514 + cat >>confdefs.h <<\_ACEOF
37515 +-#define HAVE_LIBXSLT 1
37516 ++#define HAVE_XALAN 1
37517 + _ACEOF
37518 +
37519 ++else
37520 ++ XALAN_INCLUDE=
37521 ++ XALAN_LIBS=
37522 ++ XALAN_STATIC_LIBS=
37523 + fi
37524 +
37525 ++test -d SunWS_cache && rm -r SunWS_cache
37526 +
37527 +-
37528 +-
37529 +-# XXX - they might be in different directories in some setups
37530 +-if test -f "${LIBXML_LIBPATH_}/libxslt-static.a"; then
37531 +- LIBXSLT_STATIC_LIBS="-L${LIBXML_LIBPATH_} -lxslt-static"
37532 ++if test "$with_zorba" != no; then
37533 ++ if test "${with_zorba-yes}" != yes; then
37534 ++ ZORBA_PATH=$with_zorba
37535 ++ fi
37536 ++ if test -d "$ZORBA_PATH"; then
37537 ++ ncbi_fix_dir_tmp=`if cd $ZORBA_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
37538 ++ case "$ncbi_fix_dir_tmp" in
37539 ++ /.*) ncbi_fix_dir_tmp2=`cd $ZORBA_PATH && $smart_pwd 2>/dev/null`
37540 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
37541 ++ ZORBA_PATH=$ncbi_fix_dir_tmp2
37542 + else
37543 +- LIBXSLT_STATIC_LIBS=${LIBXSLT_LIBS}
37544 ++ case "$ZORBA_PATH" in
37545 ++ /*) ;;
37546 ++ * ) ZORBA_PATH=$ncbi_fix_dir_tmp ;;
37547 ++ esac
37548 + fi
37549 +-
37550 +-# Extract the first word of "xsltproc", so it can be a program name with args.
37551 +-set dummy xsltproc; ac_word=$2
37552 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
37553 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37554 +-if test "${ac_cv_path_XSLTPROC+set}" = set; then
37555 +- echo $ECHO_N "(cached) $ECHO_C" >&6
37556 ++ ;;
37557 ++ /*) ZORBA_PATH=$ncbi_fix_dir_tmp ;;
37558 ++ esac
37559 ++ fi
37560 ++ vpath="$ZORBA_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}"
37561 ++ if test -d "$vpath/lib"; then
37562 ++ ZORBA_PATH=$vpath
37563 ++ ncbi_fix_dir_tmp=`if cd $ZORBA_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
37564 ++ case "$ncbi_fix_dir_tmp" in
37565 ++ /.*) ncbi_fix_dir_tmp2=`cd $ZORBA_PATH && $smart_pwd 2>/dev/null`
37566 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
37567 ++ ZORBA_PATH=$ncbi_fix_dir_tmp2
37568 + else
37569 +- case $XSLTPROC in
37570 +- [\\/]* | ?:[\\/]*)
37571 +- ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
37572 ++ case "$ZORBA_PATH" in
37573 ++ /*) ;;
37574 ++ * ) ZORBA_PATH=$ncbi_fix_dir_tmp ;;
37575 ++ esac
37576 ++ fi
37577 + ;;
37578 +- *)
37579 +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37580 +-as_dummy="$LIBXSLT_PATH/bin:`dirname $LIBXML_LIBPATH_ 2>/dev/null`/bin:$PATH"
37581 +-for as_dir in $as_dummy
37582 +-do
37583 +- IFS=$as_save_IFS
37584 +- test -z "$as_dir" && as_dir=.
37585 +- for ac_exec_ext in '' $ac_executable_extensions; do
37586 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37587 +- ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
37588 +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37589 +- break 2
37590 ++ /*) ZORBA_PATH=$ncbi_fix_dir_tmp ;;
37591 ++ esac
37592 ++ elif test -d "$vpath"; then
37593 ++ : ${ZORBA_LIBPATH=$vpath}
37594 ++ ncbi_fix_dir_tmp=`if cd $ZORBA_LIBPATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
37595 ++ case "$ncbi_fix_dir_tmp" in
37596 ++ /.*) ncbi_fix_dir_tmp2=`cd $ZORBA_LIBPATH && $smart_pwd 2>/dev/null`
37597 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
37598 ++ ZORBA_LIBPATH=$ncbi_fix_dir_tmp2
37599 ++ else
37600 ++ case "$ZORBA_LIBPATH" in
37601 ++ /*) ;;
37602 ++ * ) ZORBA_LIBPATH=$ncbi_fix_dir_tmp ;;
37603 ++ esac
37604 + fi
37605 +-done
37606 +-done
37607 +-
37608 +- test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC=":"
37609 + ;;
37610 ++ /*) ZORBA_LIBPATH=$ncbi_fix_dir_tmp ;;
37611 ++ esac
37612 ++ else
37613 ++ vpath="$ZORBA_PATH/${compiler_pfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}"
37614 ++ if test -d "$vpath/lib"; then
37615 ++ ZORBA_PATH=$vpath
37616 ++ ncbi_fix_dir_tmp=`if cd $ZORBA_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
37617 ++ case "$ncbi_fix_dir_tmp" in
37618 ++ /.*) ncbi_fix_dir_tmp2=`cd $ZORBA_PATH && $smart_pwd 2>/dev/null`
37619 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
37620 ++ ZORBA_PATH=$ncbi_fix_dir_tmp2
37621 ++ else
37622 ++ case "$ZORBA_PATH" in
37623 ++ /*) ;;
37624 ++ * ) ZORBA_PATH=$ncbi_fix_dir_tmp ;;
37625 + esac
37626 + fi
37627 +-XSLTPROC=$ac_cv_path_XSLTPROC
37628 +-
37629 +-if test -n "$XSLTPROC"; then
37630 +- echo "$as_me:$LINENO: result: $XSLTPROC" >&5
37631 +-echo "${ECHO_T}$XSLTPROC" >&6
37632 ++ ;;
37633 ++ /*) ZORBA_PATH=$ncbi_fix_dir_tmp ;;
37634 ++ esac
37635 ++ elif test -d "$vpath"; then
37636 ++ ZORBA_LIBPATH=$vpath
37637 ++ ncbi_fix_dir_tmp=`if cd $ZORBA_LIBPATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
37638 ++ case "$ncbi_fix_dir_tmp" in
37639 ++ /.*) ncbi_fix_dir_tmp2=`cd $ZORBA_LIBPATH && $smart_pwd 2>/dev/null`
37640 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
37641 ++ ZORBA_LIBPATH=$ncbi_fix_dir_tmp2
37642 + else
37643 +- echo "$as_me:$LINENO: result: no" >&5
37644 +-echo "${ECHO_T}no" >&6
37645 ++ case "$ZORBA_LIBPATH" in
37646 ++ /*) ;;
37647 ++ * ) ZORBA_LIBPATH=$ncbi_fix_dir_tmp ;;
37648 ++ esac
37649 + fi
37650 +-
37651 +-
37652 +-: ${LIBEXSLT_PATH=$LIBXSLT_PATH}
37653 +-if test "$with_libexslt" != "no"; then
37654 +- case "$with_libexslt" in
37655 +- yes | "" ) ;;
37656 +- * ) LIBEXSLT_PATH=$with_libexslt ;;
37657 ++ ;;
37658 ++ /*) ZORBA_LIBPATH=$ncbi_fix_dir_tmp ;;
37659 + esac
37660 +- if test -d "$LIBEXSLT_PATH"; then
37661 +- in_path=" in $LIBEXSLT_PATH"
37662 +- if test -z "$LIBEXSLT_INCLUDE" -a -d "$LIBEXSLT_PATH/include"; then
37663 +- LIBEXSLT_INCLUDE="-I$LIBEXSLT_PATH/include"
37664 + fi
37665 +- if test -n "$LIBEXSLT_LIBPATH"; then
37666 +- :
37667 +- elif test -d "$LIBEXSLT_PATH/lib${bit64_sfx}"; then
37668 +- ncbi_rp_L_flags=
37669 +- ncbi_rp_L_sep=$CONF_f_libpath
37670 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
37671 +- for x in $LIBEXSLT_PATH/lib${bit64_sfx}; do
37672 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37673 +- ncbi_rp_L_sep=" $CONF_f_libpath"
37674 +- done
37675 +- LIBEXSLT_LIBPATH="${ncbi_rp_L_flags}"
37676 ++ fi
37677 ++ ZORBA_CONFIG="$ZORBA_PATH/bin/zorba-config"
37678 ++ if test -x "$ZORBA_CONFIG"; then
37679 ++ ZORBA_PATH=`$ZORBA_CONFIG --prefix`
37680 ++ : ${ZORBA_INCLUDE=`$ZORBA_CONFIG --cppflags`}
37681 ++ fi
37682 ++ if test -d "$ZORBA_PATH"; then
37683 ++ in_path=" in $ZORBA_PATH"
37684 ++ : ${ZORBA_INCLUDE=-I$ZORBA_PATH/include}
37685 ++ : ${ZORBA_LIBPATH=$ZORBA_PATH/lib}
37686 + else
37687 +- ncbi_rp_R_flags=
37688 +- ncbi_rp_R_sep=" $CONF_f_runpath"
37689 +- for x in $LIBEXSLT_PATH/lib${bit64_sfx}; do
37690 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37691 +- ncbi_rp_L_sep=" $CONF_f_libpath"
37692 +- x=`echo $x | sed -e "$ncbi_rpath_sed"`
37693 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
37694 +- ncbi_rp_R_sep=:
37695 +- done
37696 +- LIBEXSLT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
37697 ++ in_path=''
37698 + fi
37699 +- elif test -d "$LIBEXSLT_PATH/lib"; then
37700 ++ if test -x "$ZORBA_CONFIG"; then
37701 ++ ZORBA_LIBS=`$ZORBA_CONFIG --libs`
37702 ++ else
37703 + ncbi_rp_L_flags=
37704 + ncbi_rp_L_sep=$CONF_f_libpath
37705 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
37706 +- for x in $LIBEXSLT_PATH/lib; do
37707 ++ for x in $ZORBA_LIBPATH; do
37708 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37709 + ncbi_rp_L_sep=" $CONF_f_libpath"
37710 + done
37711 +- LIBEXSLT_LIBPATH="${ncbi_rp_L_flags}"
37712 ++ ZORBA_LIBPATH_="${ncbi_rp_L_flags}"
37713 + else
37714 + ncbi_rp_R_flags=
37715 + ncbi_rp_R_sep=" $CONF_f_runpath"
37716 +- for x in $LIBEXSLT_PATH/lib; do
37717 ++ for x in $ZORBA_LIBPATH; do
37718 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37719 + ncbi_rp_L_sep=" $CONF_f_libpath"
37720 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
37721 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
37722 + ncbi_rp_R_sep=:
37723 + done
37724 +- LIBEXSLT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
37725 +- fi
37726 ++ ZORBA_LIBPATH_="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
37727 + fi
37728 +- LIBEXSLT_LIBS="$LIBEXSLT_LIBPATH -lexslt "
37729 +- else
37730 +- LIBEXSLT_INCLUDE=""
37731 +- LIBEXSLT_LIBS="-lexslt "
37732 +- in_path=
37733 ++ ZORBA_LIBS="$ZORBA_LIBPATH_ -lzorba_simplestore"
37734 + fi
37735 +- echo "$as_me:$LINENO: checking for libexslt$in_path" >&5
37736 +-echo $ECHO_N "checking for libexslt$in_path... $ECHO_C" >&6
37737 +-if test "${ncbi_cv_lib_libexslt+set}" = set; then
37738 ++ { echo "$as_me:$LINENO: checking for Zorba$in_path" >&5
37739 ++echo $ECHO_N "checking for Zorba$in_path... $ECHO_C" >&6; }
37740 ++if test "${ncbi_cv_lib_zorba+set}" = set; then
37741 + echo $ECHO_N "(cached) $ECHO_C" >&6
37742 + else
37743 +- CPPFLAGS="$LIBXSLT_INCLUDE $LIBEXSLT_INCLUDE $orig_CPPFLAGS"
37744 +- LIBS="$LIBEXSLT_LIBS $LIBXSLT_LIBS $LIBXML_LIBS $Z_LIBS $orig_LIBS"
37745 ++ CPPFLAGS="$ZORBA_INCLUDE $orig_CPPFLAGS"
37746 ++ LIBS="$ZORBA_LIBS $orig_LIBS"
37747 + cat >conftest.$ac_ext <<_ACEOF
37748 + /* confdefs.h. */
37749 + _ACEOF
37750 + cat confdefs.h >>conftest.$ac_ext
37751 + cat >>conftest.$ac_ext <<_ACEOF
37752 + /* end confdefs.h. */
37753 +-#include <libexslt/exslt.h>
37754 ++#include <zorba/zorba.h>
37755 + int
37756 + main ()
37757 + {
37758 +-exsltRegisterAll()
37759 ++zorba::Version v = zorba::Zorba::version();
37760 + ;
37761 + return 0;
37762 + }
37763 + _ACEOF
37764 + rm -f conftest.$ac_objext conftest$ac_exeext
37765 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37766 +- (eval $ac_link) 2>conftest.er1
37767 ++if { (ac_try="$ac_link"
37768 ++case "(($ac_try" in
37769 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37770 ++ *) ac_try_echo=$ac_try;;
37771 ++esac
37772 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37773 ++ (eval "$ac_link") 2>conftest.er1
37774 + ac_status=$?
37775 + grep -v '^ *+' conftest.er1 >conftest.err
37776 + rm -f conftest.er1
37777 + cat conftest.err >&5
37778 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37779 + (exit $ac_status); } &&
37780 +- { ac_try='test -z "$ac_cxx_werror_flag"
37781 +- || test ! -s conftest.err'
37782 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37783 +- (eval $ac_try) 2>&5
37784 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37785 ++ { (case "(($ac_try" in
37786 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37787 ++ *) ac_try_echo=$ac_try;;
37788 ++esac
37789 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37790 ++ (eval "$ac_try") 2>&5
37791 + ac_status=$?
37792 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37793 + (exit $ac_status); }; } &&
37794 + { ac_try='test -s conftest$ac_exeext'
37795 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37796 +- (eval $ac_try) 2>&5
37797 ++ { (case "(($ac_try" in
37798 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37799 ++ *) ac_try_echo=$ac_try;;
37800 ++esac
37801 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37802 ++ (eval "$ac_try") 2>&5
37803 + ac_status=$?
37804 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37805 + (exit $ac_status); }; }; then
37806 +- ncbi_cv_lib_libexslt=yes
37807 ++ ncbi_cv_lib_zorba=yes
37808 + else
37809 + echo "$as_me: failed program was:" >&5
37810 + sed 's/^/| /' conftest.$ac_ext >&5
37811 +
37812 +-ncbi_cv_lib_libexslt=no
37813 ++ ncbi_cv_lib_zorba=no
37814 + fi
37815 +-rm -f conftest.err conftest.$ac_objext \
37816 ++
37817 ++rm -f core conftest.err conftest.$ac_objext \
37818 + conftest$ac_exeext conftest.$ac_ext
37819 + fi
37820 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_libexslt" >&5
37821 +-echo "${ECHO_T}$ncbi_cv_lib_libexslt" >&6
37822 +- if test "$ncbi_cv_lib_libexslt" = "no"; then
37823 +- if test "${with_libexslt:=no}" != no; then
37824 +- { { echo "$as_me:$LINENO: error: --with-libexslt explicitly specified, but no usable version found." >&5
37825 +-echo "$as_me: error: --with-libexslt explicitly specified, but no usable version found." >&2;}
37826 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_zorba" >&5
37827 ++echo "${ECHO_T}$ncbi_cv_lib_zorba" >&6; }
37828 ++ if test $ncbi_cv_lib_zorba = yes; then
37829 ++ if test -x "$ZORBA_CONFIG"; then
37830 ++ ZORBA_STATIC_LIBS=`$ZORBA_CONFIG --static-libs`
37831 ++ elif test -f "$ZORBA_LIBPATH/libzorba_simplestore-static.a"; then
37832 ++ ZORBA_STATIC_LIBS="-L$ZORBA_LIBPATH -lzorba_simplestore-static $XERCES_STATIC_LIBS $ICU_STATIC_LIBS $LIBXSLT_STATIC_LIBS $LIBXML_STATIC_LIBS"
37833 ++ else
37834 ++ ZORBA_STATIC_LIBS=$ZORBA_LIBS
37835 ++ fi
37836 ++ else
37837 ++ if test "${with_zorba:=no}" != no; then
37838 ++ { { echo "$as_me:$LINENO: error: --with-zorba explicitly specified, but no usable version found." >&5
37839 ++echo "$as_me: error: --with-zorba explicitly specified, but no usable version found." >&2;}
37840 + { (exit 1); exit 1; }; }
37841 + fi
37842 + fi
37843 + fi
37844 +- if test "$with_libexslt" = "no"; then
37845 +- LIBEXSLT_PATH="No_LIBEXSLT"
37846 +- LIBEXSLT_INCLUDE=
37847 +- LIBEXSLT_LIBS=
37848 +- else
37849 +- WithPackages="$WithPackages${WithPackagesSep}LIBEXSLT"; WithPackagesSep=" "
37850 +- LIBEXSLT_INCLUDE="$LIBXSLT_INCLUDE $LIBEXSLT_INCLUDE"
37851 ++if test "$with_zorba" != no; then
37852 ++ WithPackages="$WithPackages${WithPackagesSep}Zorba"; WithPackagesSep=" "
37853 +
37854 + cat >>confdefs.h <<\_ACEOF
37855 +-#define HAVE_LIBEXSLT 1
37856 ++#define HAVE_ZORBA 1
37857 + _ACEOF
37858 +
37859 +- fi
37860 +-
37861 +-
37862 +-
37863 +-
37864 +-# XXX - they might be in different directories in some setups
37865 +-if test -f "${LIBXML_LIBPATH_}/libexslt-static.a"; then
37866 +- LIBEXSLT_STATIC_LIBS="-L${LIBXML_LIBPATH_} -lexslt-static"
37867 + else
37868 +- LIBEXSLT_STATIC_LIBS=${LIBEXSLT_LIBS}
37869 ++ ZORBA_INCLUDE=
37870 ++ ZORBA_LIBS=
37871 ++ ZORBA_STATIC_LIBS=
37872 + fi
37873 +
37874 +-: ${XERCES_PATH=$NCBI/xerces}
37875 +-if test "$with_xerces" != no; then
37876 +- if test "${with_xerces-yes}" != yes; then
37877 +- XERCES_PATH=$with_xerces
37878 +- fi
37879 +- if test -d "$XERCES_PATH"; then
37880 +- ncbi_fix_dir_tmp=`if cd $XERCES_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
37881 +- case "$ncbi_fix_dir_tmp" in
37882 +- /.*) ncbi_fix_dir_tmp2=`cd $XERCES_PATH && $smart_pwd 2>/dev/null`
37883 +- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
37884 +- XERCES_PATH=$ncbi_fix_dir_tmp2
37885 +- else
37886 +- case "$XERCES_PATH" in
37887 +- /*) ;;
37888 +- * ) XERCES_PATH=$ncbi_fix_dir_tmp ;;
37889 +- esac
37890 +- fi
37891 +- ;;
37892 +- /*) XERCES_PATH=$ncbi_fix_dir_tmp ;;
37893 ++### SQLite
37894 ++case "$with_sqlite3" in
37895 ++ yes | '' ) ;;
37896 ++ * ) SQLITE3_PATH=$with_sqlite3 ;;
37897 + esac
37898 +- fi
37899 +- vpath="$XERCES_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}"
37900 +- if test -d "$vpath/lib"; then
37901 +- XERCES_PATH=$vpath
37902 +- ncbi_fix_dir_tmp=`if cd $XERCES_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
37903 ++
37904 ++if test -d "$SQLITE3_PATH"; then
37905 ++ ncbi_fix_dir_tmp=`if cd $SQLITE3_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
37906 + case "$ncbi_fix_dir_tmp" in
37907 +- /.*) ncbi_fix_dir_tmp2=`cd $XERCES_PATH && $smart_pwd 2>/dev/null`
37908 ++ /.*) ncbi_fix_dir_tmp2=`cd $SQLITE3_PATH && $smart_pwd 2>/dev/null`
37909 + if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
37910 +- XERCES_PATH=$ncbi_fix_dir_tmp2
37911 ++ SQLITE3_PATH=$ncbi_fix_dir_tmp2
37912 + else
37913 +- case "$XERCES_PATH" in
37914 ++ case "$SQLITE3_PATH" in
37915 + /*) ;;
37916 +- * ) XERCES_PATH=$ncbi_fix_dir_tmp ;;
37917 ++ * ) SQLITE3_PATH=$ncbi_fix_dir_tmp ;;
37918 + esac
37919 + fi
37920 + ;;
37921 +- /*) XERCES_PATH=$ncbi_fix_dir_tmp ;;
37922 +- esac
37923 +- elif test -d "$vpath"; then
37924 +- : ${XERCES_LIBPATH=$vpath}
37925 +- ncbi_fix_dir_tmp=`if cd $XERCES_LIBPATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
37926 +- case "$ncbi_fix_dir_tmp" in
37927 +- /.*) ncbi_fix_dir_tmp2=`cd $XERCES_LIBPATH && $smart_pwd 2>/dev/null`
37928 +- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
37929 +- XERCES_LIBPATH=$ncbi_fix_dir_tmp2
37930 +- else
37931 +- case "$XERCES_LIBPATH" in
37932 +- /*) ;;
37933 +- * ) XERCES_LIBPATH=$ncbi_fix_dir_tmp ;;
37934 ++ /*) SQLITE3_PATH=$ncbi_fix_dir_tmp ;;
37935 + esac
37936 + fi
37937 +- ;;
37938 +- /*) XERCES_LIBPATH=$ncbi_fix_dir_tmp ;;
37939 +- esac
37940 +- else
37941 +- vpath="$XERCES_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}"
37942 +- if test -d "$vpath/lib"; then
37943 +- XERCES_PATH=$vpath
37944 +- ncbi_fix_dir_tmp=`if cd $XERCES_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
37945 +- case "$ncbi_fix_dir_tmp" in
37946 +- /.*) ncbi_fix_dir_tmp2=`cd $XERCES_PATH && $smart_pwd 2>/dev/null`
37947 +- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
37948 +- XERCES_PATH=$ncbi_fix_dir_tmp2
37949 ++if test -d "$SQLITE3_PATH/${compiler_pfx}${DEBUG_SFX}${MT_SFX}${bit64_sfx}/lib"; then
37950 ++ SQLITE3_LIBDIR=$SQLITE3_PATH/${compiler_pfx}${DEBUG_SFX}${MT_SFX}${bit64_sfx}/lib
37951 ++elif test -d $SQLITE3_PATH/lib${bit64_sfx}; then
37952 ++ SQLITE3_LIBDIR=$SQLITE3_PATH/lib${bit64_sfx}
37953 + else
37954 +- case "$XERCES_PATH" in
37955 +- /*) ;;
37956 +- * ) XERCES_PATH=$ncbi_fix_dir_tmp ;;
37957 +- esac
37958 ++ SQLITE3_LIBDIR=$SQLITE3_PATH/lib
37959 + fi
37960 +- ;;
37961 +- /*) XERCES_PATH=$ncbi_fix_dir_tmp ;;
37962 +- esac
37963 +- elif test -d "$vpath"; then
37964 +- XERCES_LIBPATH=$vpath
37965 +- ncbi_fix_dir_tmp=`if cd $XERCES_LIBPATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
37966 +- case "$ncbi_fix_dir_tmp" in
37967 +- /.*) ncbi_fix_dir_tmp2=`cd $XERCES_LIBPATH && $smart_pwd 2>/dev/null`
37968 +- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
37969 +- XERCES_LIBPATH=$ncbi_fix_dir_tmp2
37970 ++ncbi_rp_L_flags=
37971 ++ ncbi_rp_L_sep=$CONF_f_libpath
37972 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
37973 ++ for x in $SQLITE3_LIBDIR; do
37974 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37975 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
37976 ++ done
37977 ++ SQLITE3_LIBPATH="${ncbi_rp_L_flags}"
37978 + else
37979 +- case "$XERCES_LIBPATH" in
37980 +- /*) ;;
37981 +- * ) XERCES_LIBPATH=$ncbi_fix_dir_tmp ;;
37982 +- esac
37983 ++ ncbi_rp_R_flags=
37984 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
37985 ++ for x in $SQLITE3_LIBDIR; do
37986 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37987 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
37988 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
37989 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
37990 ++ ncbi_rp_R_sep=:
37991 ++ done
37992 ++ SQLITE3_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
37993 + fi
37994 +- ;;
37995 +- /*) XERCES_LIBPATH=$ncbi_fix_dir_tmp ;;
37996 ++if test "$with_sqlite3" != "no"; then
37997 ++ case "$with_sqlite3" in
37998 ++ yes | "" ) ;;
37999 ++ * ) SQLITE3_PATH=$with_sqlite3 ;;
38000 + esac
38001 ++ if test -d "$SQLITE3_PATH"; then
38002 ++ in_path=" in $SQLITE3_PATH"
38003 ++ if test -z "$SQLITE3_INCLUDE" -a -d "$SQLITE3_PATH/include"; then
38004 ++ SQLITE3_INCLUDE="-I$SQLITE3_PATH/include"
38005 + fi
38006 +- fi
38007 +- if test -d $XERCES_PATH; then
38008 +- in_path=" in $XERCES_PATH"
38009 +- : ${XERCES_INCLUDE=-I$XERCES_PATH/include}
38010 +- : ${XERCES_LIBPATH=$XERCES_PATH/lib}
38011 ++ if test -n "$SQLITE3_LIBPATH"; then
38012 ++ :
38013 ++ elif test -d "$SQLITE3_PATH/lib${bit64_sfx}"; then
38014 ++ ncbi_rp_L_flags=
38015 ++ ncbi_rp_L_sep=$CONF_f_libpath
38016 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
38017 ++ for x in $SQLITE3_PATH/lib${bit64_sfx}; do
38018 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38019 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
38020 ++ done
38021 ++ SQLITE3_LIBPATH="${ncbi_rp_L_flags}"
38022 + else
38023 +- in_path=''
38024 ++ ncbi_rp_R_flags=
38025 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
38026 ++ for x in $SQLITE3_PATH/lib${bit64_sfx}; do
38027 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38028 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
38029 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
38030 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
38031 ++ ncbi_rp_R_sep=:
38032 ++ done
38033 ++ SQLITE3_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
38034 + fi
38035 ++ elif test -d "$SQLITE3_PATH/lib"; then
38036 + ncbi_rp_L_flags=
38037 + ncbi_rp_L_sep=$CONF_f_libpath
38038 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
38039 +- for x in $XERCES_LIBPATH; do
38040 ++ for x in $SQLITE3_PATH/lib; do
38041 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38042 + ncbi_rp_L_sep=" $CONF_f_libpath"
38043 + done
38044 +- XERCES_LIBPATH_="${ncbi_rp_L_flags}"
38045 ++ SQLITE3_LIBPATH="${ncbi_rp_L_flags}"
38046 + else
38047 + ncbi_rp_R_flags=
38048 + ncbi_rp_R_sep=" $CONF_f_runpath"
38049 +- for x in $XERCES_LIBPATH; do
38050 ++ for x in $SQLITE3_PATH/lib; do
38051 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38052 + ncbi_rp_L_sep=" $CONF_f_libpath"
38053 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
38054 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
38055 + ncbi_rp_R_sep=:
38056 + done
38057 +- XERCES_LIBPATH_="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
38058 ++ SQLITE3_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
38059 + fi
38060 +- XERCES_LIBS="$XERCES_LIBPATH_ -lxerces-c"
38061 +- echo "$as_me:$LINENO: checking for Xerces-C++$in_path" >&5
38062 +-echo $ECHO_N "checking for Xerces-C++$in_path... $ECHO_C" >&6
38063 +-if test "${ncbi_cv_lib_xerces_c+set}" = set; then
38064 ++ fi
38065 ++ SQLITE3_LIBS="$SQLITE3_LIBPATH -lsqlite3 "
38066 ++ else
38067 ++ SQLITE3_INCLUDE=""
38068 ++ SQLITE3_LIBS="-lsqlite3 "
38069 ++ in_path=
38070 ++ fi
38071 ++ { echo "$as_me:$LINENO: checking for libsqlite3$in_path" >&5
38072 ++echo $ECHO_N "checking for libsqlite3$in_path... $ECHO_C" >&6; }
38073 ++if test "${ncbi_cv_lib_sqlite3+set}" = set; then
38074 + echo $ECHO_N "(cached) $ECHO_C" >&6
38075 + else
38076 +- CPPFLAGS="$XERCES_INCLUDE $orig_CPPFLAGS"
38077 +- LIBS="$XERCES_LIBS $ICU_LIBS $orig_LIBS"
38078 ++ CPPFLAGS=" $SQLITE3_INCLUDE $orig_CPPFLAGS"
38079 ++ LIBS="$SQLITE3_LIBS $orig_LIBS"
38080 + cat >conftest.$ac_ext <<_ACEOF
38081 + /* confdefs.h. */
38082 + _ACEOF
38083 + cat confdefs.h >>conftest.$ac_ext
38084 + cat >>conftest.$ac_ext <<_ACEOF
38085 + /* end confdefs.h. */
38086 +-#include <xercesc/dom/DOM.hpp>
38087 ++#include <sqlite3.h>
38088 + int
38089 + main ()
38090 + {
38091 +-xercesc::DOMImplementation* impl
38092 +- = xercesc::DOMImplementationRegistry::getDOMImplementation
38093 +- (xercesc::XMLString::transcode("XML 1.0"));
38094 ++sqlite3_pcache_methods m;
38095 ++ int status = sqlite3_config(SQLITE_CONFIG_GETPCACHE, &m);
38096 + ;
38097 + return 0;
38098 + }
38099 + _ACEOF
38100 + rm -f conftest.$ac_objext conftest$ac_exeext
38101 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38102 +- (eval $ac_link) 2>conftest.er1
38103 ++if { (ac_try="$ac_link"
38104 ++case "(($ac_try" in
38105 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38106 ++ *) ac_try_echo=$ac_try;;
38107 ++esac
38108 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38109 ++ (eval "$ac_link") 2>conftest.er1
38110 + ac_status=$?
38111 + grep -v '^ *+' conftest.er1 >conftest.err
38112 + rm -f conftest.er1
38113 + cat conftest.err >&5
38114 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
38115 + (exit $ac_status); } &&
38116 +- { ac_try='test -z "$ac_cxx_werror_flag"
38117 +- || test ! -s conftest.err'
38118 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38119 +- (eval $ac_try) 2>&5
38120 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38121 ++ { (case "(($ac_try" in
38122 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38123 ++ *) ac_try_echo=$ac_try;;
38124 ++esac
38125 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38126 ++ (eval "$ac_try") 2>&5
38127 + ac_status=$?
38128 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
38129 + (exit $ac_status); }; } &&
38130 + { ac_try='test -s conftest$ac_exeext'
38131 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38132 +- (eval $ac_try) 2>&5
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); }; }; then
38142 +- ncbi_cv_lib_xerces_c=yes
38143 ++ ncbi_cv_lib_sqlite3=yes
38144 + else
38145 + echo "$as_me: failed program was:" >&5
38146 + sed 's/^/| /' conftest.$ac_ext >&5
38147 +
38148 +-ncbi_cv_lib_xerces_c=no
38149 ++ ncbi_cv_lib_sqlite3=no
38150 + fi
38151 +-rm -f conftest.err conftest.$ac_objext \
38152 ++
38153 ++rm -f core conftest.err conftest.$ac_objext \
38154 + conftest$ac_exeext conftest.$ac_ext
38155 + fi
38156 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_xerces_c" >&5
38157 +-echo "${ECHO_T}$ncbi_cv_lib_xerces_c" >&6
38158 +- if test $ncbi_cv_lib_xerces_c = yes; then
38159 +- if test -f "$XERCES_LIBPATH/libxerces-c-static.a"; then
38160 +- XERCES_STATIC_LIBS="-L$XERCES_LIBPATH -lxerces-c-static $CURL_LIBS"
38161 +- else
38162 +- XERCES_STATIC_LIBS=$XERCES_LIBS
38163 +- fi
38164 +- else
38165 +- if test "${with_xerces:=no}" != no; then
38166 +- { { echo "$as_me:$LINENO: error: --with-xerces explicitly specified, but no usable version found." >&5
38167 +-echo "$as_me: error: --with-xerces explicitly specified, but no usable version found." >&2;}
38168 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_sqlite3" >&5
38169 ++echo "${ECHO_T}$ncbi_cv_lib_sqlite3" >&6; }
38170 ++ if test "$ncbi_cv_lib_sqlite3" = "no"; then
38171 ++ if test "${with_sqlite3:=no}" != no; then
38172 ++ { { echo "$as_me:$LINENO: error: --with-sqlite3 explicitly specified, but no usable version found." >&5
38173 ++echo "$as_me: error: --with-sqlite3 explicitly specified, but no usable version found." >&2;}
38174 + { (exit 1); exit 1; }; }
38175 + fi
38176 + fi
38177 + fi
38178 +-if test "$with_xerces" != no; then
38179 +- WithPackages="$WithPackages${WithPackagesSep}Xerces"; WithPackagesSep=" "
38180 ++ if test "$with_sqlite3" = "no"; then
38181 ++ SQLITE3_PATH="No_SQLITE3"
38182 ++ SQLITE3_INCLUDE=
38183 ++ SQLITE3_LIBS=
38184 ++ else
38185 ++ WithPackages="$WithPackages${WithPackagesSep}SQLITE3"; WithPackagesSep=" "
38186 ++ SQLITE3_INCLUDE=" $SQLITE3_INCLUDE"
38187 +
38188 + cat >>confdefs.h <<\_ACEOF
38189 +-#define HAVE_XERCES 1
38190 ++#define HAVE_LIBSQLITE3 1
38191 + _ACEOF
38192 +
38193 +-else
38194 +- XERCES_INCLUDE=
38195 +- XERCES_LIBS=
38196 +- XERCES_STATIC_LIBS=
38197 + fi
38198 +
38199 +-: ${XALAN_PATH=$NCBI/xalan}
38200 +-if test "$with_xalan" != no; then
38201 +- if test "${with_xalan-yes}" != yes; then
38202 +- XALAN_PATH=$with_xalan
38203 ++
38204 ++
38205 ++if test -n "$SQLITE3_LIBS"; then
38206 ++ CPPFLAGS="$SQLITE3_INCLUDE $orig_CPPFLAGS"
38207 ++ if test "${ac_cv_header_sqlite3async_h+set}" = set; then
38208 ++ { echo "$as_me:$LINENO: checking for sqlite3async.h" >&5
38209 ++echo $ECHO_N "checking for sqlite3async.h... $ECHO_C" >&6; }
38210 ++if test "${ac_cv_header_sqlite3async_h+set}" = set; then
38211 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
38212 + fi
38213 +- if test -d "$XALAN_PATH"; then
38214 +- ncbi_fix_dir_tmp=`if cd $XALAN_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
38215 +- case "$ncbi_fix_dir_tmp" in
38216 +- /.*) ncbi_fix_dir_tmp2=`cd $XALAN_PATH && $smart_pwd 2>/dev/null`
38217 +- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
38218 +- XALAN_PATH=$ncbi_fix_dir_tmp2
38219 ++{ echo "$as_me:$LINENO: result: $ac_cv_header_sqlite3async_h" >&5
38220 ++echo "${ECHO_T}$ac_cv_header_sqlite3async_h" >&6; }
38221 + else
38222 +- case "$XALAN_PATH" in
38223 +- /*) ;;
38224 +- * ) XALAN_PATH=$ncbi_fix_dir_tmp ;;
38225 +- esac
38226 +- fi
38227 +- ;;
38228 +- /*) XALAN_PATH=$ncbi_fix_dir_tmp ;;
38229 ++ # Is the header compilable?
38230 ++{ echo "$as_me:$LINENO: checking sqlite3async.h usability" >&5
38231 ++echo $ECHO_N "checking sqlite3async.h usability... $ECHO_C" >&6; }
38232 ++cat >conftest.$ac_ext <<_ACEOF
38233 ++/* confdefs.h. */
38234 ++_ACEOF
38235 ++cat confdefs.h >>conftest.$ac_ext
38236 ++cat >>conftest.$ac_ext <<_ACEOF
38237 ++/* end confdefs.h. */
38238 ++$ac_includes_default
38239 ++#include <sqlite3async.h>
38240 ++_ACEOF
38241 ++rm -f conftest.$ac_objext
38242 ++if { (ac_try="$ac_compile"
38243 ++case "(($ac_try" in
38244 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38245 ++ *) ac_try_echo=$ac_try;;
38246 + esac
38247 +- fi
38248 +- vpath="$XALAN_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}"
38249 +- if test -d "$vpath/lib"; then
38250 +- XALAN_PATH=$vpath
38251 +- ncbi_fix_dir_tmp=`if cd $XALAN_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
38252 +- case "$ncbi_fix_dir_tmp" in
38253 +- /.*) ncbi_fix_dir_tmp2=`cd $XALAN_PATH && $smart_pwd 2>/dev/null`
38254 +- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
38255 +- XALAN_PATH=$ncbi_fix_dir_tmp2
38256 +- else
38257 +- case "$XALAN_PATH" in
38258 +- /*) ;;
38259 +- * ) XALAN_PATH=$ncbi_fix_dir_tmp ;;
38260 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38261 ++ (eval "$ac_compile") 2>conftest.er1
38262 ++ ac_status=$?
38263 ++ grep -v '^ *+' conftest.er1 >conftest.err
38264 ++ rm -f conftest.er1
38265 ++ cat conftest.err >&5
38266 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
38267 ++ (exit $ac_status); } &&
38268 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38269 ++ { (case "(($ac_try" in
38270 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38271 ++ *) ac_try_echo=$ac_try;;
38272 + esac
38273 +- fi
38274 +- ;;
38275 +- /*) XALAN_PATH=$ncbi_fix_dir_tmp ;;
38276 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38277 ++ (eval "$ac_try") 2>&5
38278 ++ ac_status=$?
38279 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
38280 ++ (exit $ac_status); }; } &&
38281 ++ { ac_try='test -s conftest.$ac_objext'
38282 ++ { (case "(($ac_try" in
38283 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38284 ++ *) ac_try_echo=$ac_try;;
38285 + esac
38286 +- elif test -d "$vpath"; then
38287 +- : ${XALAN_LIBPATH=$vpath}
38288 +- ncbi_fix_dir_tmp=`if cd $XALAN_LIBPATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
38289 +- case "$ncbi_fix_dir_tmp" in
38290 +- /.*) ncbi_fix_dir_tmp2=`cd $XALAN_LIBPATH && $smart_pwd 2>/dev/null`
38291 +- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
38292 +- XALAN_LIBPATH=$ncbi_fix_dir_tmp2
38293 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38294 ++ (eval "$ac_try") 2>&5
38295 ++ ac_status=$?
38296 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
38297 ++ (exit $ac_status); }; }; then
38298 ++ ac_header_compiler=yes
38299 + else
38300 +- case "$XALAN_LIBPATH" in
38301 +- /*) ;;
38302 +- * ) XALAN_LIBPATH=$ncbi_fix_dir_tmp ;;
38303 +- esac
38304 ++ echo "$as_me: failed program was:" >&5
38305 ++sed 's/^/| /' conftest.$ac_ext >&5
38306 ++
38307 ++ ac_header_compiler=no
38308 + fi
38309 +- ;;
38310 +- /*) XALAN_LIBPATH=$ncbi_fix_dir_tmp ;;
38311 ++
38312 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38313 ++{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38314 ++echo "${ECHO_T}$ac_header_compiler" >&6; }
38315 ++
38316 ++# Is the header present?
38317 ++{ echo "$as_me:$LINENO: checking sqlite3async.h presence" >&5
38318 ++echo $ECHO_N "checking sqlite3async.h presence... $ECHO_C" >&6; }
38319 ++cat >conftest.$ac_ext <<_ACEOF
38320 ++/* confdefs.h. */
38321 ++_ACEOF
38322 ++cat confdefs.h >>conftest.$ac_ext
38323 ++cat >>conftest.$ac_ext <<_ACEOF
38324 ++/* end confdefs.h. */
38325 ++#include <sqlite3async.h>
38326 ++_ACEOF
38327 ++if { (ac_try="$ac_cpp conftest.$ac_ext"
38328 ++case "(($ac_try" in
38329 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38330 ++ *) ac_try_echo=$ac_try;;
38331 + esac
38332 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38333 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
38334 ++ ac_status=$?
38335 ++ grep -v '^ *+' conftest.er1 >conftest.err
38336 ++ rm -f conftest.er1
38337 ++ cat conftest.err >&5
38338 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
38339 ++ (exit $ac_status); } >/dev/null; then
38340 ++ if test -s conftest.err; then
38341 ++ ac_cpp_err=$ac_cxx_preproc_warn_flag
38342 ++ ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38343 + else
38344 +- vpath="$XALAN_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}"
38345 +- if test -d "$vpath/lib"; then
38346 +- XALAN_PATH=$vpath
38347 +- ncbi_fix_dir_tmp=`if cd $XALAN_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
38348 +- case "$ncbi_fix_dir_tmp" in
38349 +- /.*) ncbi_fix_dir_tmp2=`cd $XALAN_PATH && $smart_pwd 2>/dev/null`
38350 +- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
38351 +- XALAN_PATH=$ncbi_fix_dir_tmp2
38352 +- else
38353 +- case "$XALAN_PATH" in
38354 +- /*) ;;
38355 +- * ) XALAN_PATH=$ncbi_fix_dir_tmp ;;
38356 +- esac
38357 ++ ac_cpp_err=
38358 + fi
38359 +- ;;
38360 +- /*) XALAN_PATH=$ncbi_fix_dir_tmp ;;
38361 +- esac
38362 +- elif test -d "$vpath"; then
38363 +- XALAN_LIBPATH=$vpath
38364 +- ncbi_fix_dir_tmp=`if cd $XALAN_LIBPATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
38365 +- case "$ncbi_fix_dir_tmp" in
38366 +- /.*) ncbi_fix_dir_tmp2=`cd $XALAN_LIBPATH && $smart_pwd 2>/dev/null`
38367 +- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
38368 +- XALAN_LIBPATH=$ncbi_fix_dir_tmp2
38369 + else
38370 +- case "$XALAN_LIBPATH" in
38371 +- /*) ;;
38372 +- * ) XALAN_LIBPATH=$ncbi_fix_dir_tmp ;;
38373 +- esac
38374 +- fi
38375 +- ;;
38376 +- /*) XALAN_LIBPATH=$ncbi_fix_dir_tmp ;;
38377 +- esac
38378 +- fi
38379 ++ ac_cpp_err=yes
38380 + fi
38381 +- if test -d $XALAN_PATH; then
38382 +- in_path=" in $XALAN_PATH"
38383 +- : ${XALAN_INCLUDE=-I$XALAN_PATH/include}
38384 +- : ${XALAN_LIBPATH=$XALAN_PATH/lib}
38385 ++if test -z "$ac_cpp_err"; then
38386 ++ ac_header_preproc=yes
38387 + else
38388 +- in_path=''
38389 ++ echo "$as_me: failed program was:" >&5
38390 ++sed 's/^/| /' conftest.$ac_ext >&5
38391 ++
38392 ++ ac_header_preproc=no
38393 + fi
38394 +- ncbi_rp_L_flags=
38395 +- ncbi_rp_L_sep=$CONF_f_libpath
38396 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
38397 +- for x in $XALAN_LIBPATH; do
38398 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38399 +- ncbi_rp_L_sep=" $CONF_f_libpath"
38400 +- done
38401 +- XALAN_LIBPATH_="${ncbi_rp_L_flags}"
38402 +- else
38403 +- ncbi_rp_R_flags=
38404 +- ncbi_rp_R_sep=" $CONF_f_runpath"
38405 +- for x in $XALAN_LIBPATH; do
38406 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38407 +- ncbi_rp_L_sep=" $CONF_f_libpath"
38408 +- x=`echo $x | sed -e "$ncbi_rpath_sed"`
38409 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
38410 +- ncbi_rp_R_sep=:
38411 +- done
38412 +- XALAN_LIBPATH_="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
38413 ++
38414 ++rm -f conftest.err conftest.$ac_ext
38415 ++{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38416 ++echo "${ECHO_T}$ac_header_preproc" >&6; }
38417 ++
38418 ++# So? What about this header?
38419 ++case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38420 ++ yes:no: )
38421 ++ { echo "$as_me:$LINENO: WARNING: sqlite3async.h: accepted by the compiler, rejected by the preprocessor!" >&5
38422 ++echo "$as_me: WARNING: sqlite3async.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
38423 ++ { echo "$as_me:$LINENO: WARNING: sqlite3async.h: proceeding with the compiler's result" >&5
38424 ++echo "$as_me: WARNING: sqlite3async.h: proceeding with the compiler's result" >&2;}
38425 ++ ac_header_preproc=yes
38426 ++ ;;
38427 ++ no:yes:* )
38428 ++ { echo "$as_me:$LINENO: WARNING: sqlite3async.h: present but cannot be compiled" >&5
38429 ++echo "$as_me: WARNING: sqlite3async.h: present but cannot be compiled" >&2;}
38430 ++ { echo "$as_me:$LINENO: WARNING: sqlite3async.h: check for missing prerequisite headers?" >&5
38431 ++echo "$as_me: WARNING: sqlite3async.h: check for missing prerequisite headers?" >&2;}
38432 ++ { echo "$as_me:$LINENO: WARNING: sqlite3async.h: see the Autoconf documentation" >&5
38433 ++echo "$as_me: WARNING: sqlite3async.h: see the Autoconf documentation" >&2;}
38434 ++ { echo "$as_me:$LINENO: WARNING: sqlite3async.h: section \"Present But Cannot Be Compiled\"" >&5
38435 ++echo "$as_me: WARNING: sqlite3async.h: section \"Present But Cannot Be Compiled\"" >&2;}
38436 ++ { echo "$as_me:$LINENO: WARNING: sqlite3async.h: proceeding with the preprocessor's result" >&5
38437 ++echo "$as_me: WARNING: sqlite3async.h: proceeding with the preprocessor's result" >&2;}
38438 ++ { echo "$as_me:$LINENO: WARNING: sqlite3async.h: in the future, the compiler will take precedence" >&5
38439 ++echo "$as_me: WARNING: sqlite3async.h: in the future, the compiler will take precedence" >&2;}
38440 ++ ( cat <<\_ASBOX
38441 ++## ---------------------------------------- ##
38442 ++## Report this to cpp-core@××××××××××××.gov ##
38443 ++## ---------------------------------------- ##
38444 ++_ASBOX
38445 ++ ) | sed "s/^/$as_me: WARNING: /" >&2
38446 ++ ;;
38447 ++esac
38448 ++{ echo "$as_me:$LINENO: checking for sqlite3async.h" >&5
38449 ++echo $ECHO_N "checking for sqlite3async.h... $ECHO_C" >&6; }
38450 ++if test "${ac_cv_header_sqlite3async_h+set}" = set; then
38451 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
38452 ++else
38453 ++ ac_cv_header_sqlite3async_h=$ac_header_preproc
38454 + fi
38455 +- XALAN_LIBS="$XALAN_LIBPATH_ -lxalan-c -lxalanMsg"
38456 +- echo "$as_me:$LINENO: checking for Xalan-C++$in_path" >&5
38457 +-echo $ECHO_N "checking for Xalan-C++$in_path... $ECHO_C" >&6
38458 +-if test "${ncbi_cv_lib_xalan_c+set}" = set; then
38459 ++{ echo "$as_me:$LINENO: result: $ac_cv_header_sqlite3async_h" >&5
38460 ++echo "${ECHO_T}$ac_cv_header_sqlite3async_h" >&6; }
38461 ++
38462 ++fi
38463 ++if test $ac_cv_header_sqlite3async_h = yes; then
38464 ++
38465 ++cat >>confdefs.h <<\_ACEOF
38466 ++#define HAVE_SQLITE3ASYNC_H 1
38467 ++_ACEOF
38468 ++
38469 ++ WithPackages="$WithPackages${WithPackagesSep}SQLITE3ASYNC"; WithPackagesSep=" "
38470 ++fi
38471 ++
38472 ++
38473 ++ LIBS="$SQLITE3_LIBS $orig_LIBS"
38474 ++
38475 ++for ac_func in sqlite3_unlock_notify
38476 ++do
38477 ++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38478 ++{ echo "$as_me:$LINENO: checking for $ac_func" >&5
38479 ++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38480 ++if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38481 + echo $ECHO_N "(cached) $ECHO_C" >&6
38482 + else
38483 +- CPPFLAGS="$XALAN_INCLUDE $XERCES_INCLUDE $orig_CPPFLAGS"
38484 +- LIBS="$XALAN_LIBS $XERCES_LIBS $ICU_LIBS $orig_LIBS"
38485 + cat >conftest.$ac_ext <<_ACEOF
38486 + /* confdefs.h. */
38487 + _ACEOF
38488 + cat confdefs.h >>conftest.$ac_ext
38489 + cat >>conftest.$ac_ext <<_ACEOF
38490 + /* end confdefs.h. */
38491 +-#include <xalanc/XalanTransformer/XalanTransformer.hpp>
38492 ++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38493 ++ For example, HP-UX 11i <limits.h> declares gettimeofday. */
38494 ++#define $ac_func innocuous_$ac_func
38495 ++
38496 ++/* System header to define __stub macros and hopefully few prototypes,
38497 ++ which can conflict with char $ac_func (); below.
38498 ++ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38499 ++ <limits.h> exists even on freestanding compilers. */
38500 ++
38501 ++#ifdef __STDC__
38502 ++# include <limits.h>
38503 ++#else
38504 ++# include <assert.h>
38505 ++#endif
38506 ++
38507 ++#undef $ac_func
38508 ++
38509 ++/* Override any GCC internal prototype to avoid an error.
38510 ++ Use char because int might match the return type of a GCC
38511 ++ builtin and then its argument prototype would still apply. */
38512 ++#ifdef __cplusplus
38513 ++extern "C"
38514 ++#endif
38515 ++char $ac_func ();
38516 ++/* The GNU C library defines this for functions which it implements
38517 ++ to always fail with ENOSYS. Some functions are actually named
38518 ++ something starting with __ and the normal name is an alias. */
38519 ++#if defined __stub_$ac_func || defined __stub___$ac_func
38520 ++choke me
38521 ++#endif
38522 ++
38523 + int
38524 + main ()
38525 + {
38526 +-xalanc::XalanTransformer::initialize();
38527 ++return $ac_func ();
38528 + ;
38529 + return 0;
38530 + }
38531 + _ACEOF
38532 + rm -f conftest.$ac_objext conftest$ac_exeext
38533 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38534 +- (eval $ac_link) 2>conftest.er1
38535 ++if { (ac_try="$ac_link"
38536 ++case "(($ac_try" in
38537 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38538 ++ *) ac_try_echo=$ac_try;;
38539 ++esac
38540 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38541 ++ (eval "$ac_link") 2>conftest.er1
38542 + ac_status=$?
38543 + grep -v '^ *+' conftest.er1 >conftest.err
38544 + rm -f conftest.er1
38545 + cat conftest.err >&5
38546 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
38547 + (exit $ac_status); } &&
38548 +- { ac_try='test -z "$ac_cxx_werror_flag"
38549 +- || test ! -s conftest.err'
38550 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38551 +- (eval $ac_try) 2>&5
38552 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38553 ++ { (case "(($ac_try" in
38554 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38555 ++ *) ac_try_echo=$ac_try;;
38556 ++esac
38557 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38558 ++ (eval "$ac_try") 2>&5
38559 + ac_status=$?
38560 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
38561 + (exit $ac_status); }; } &&
38562 + { ac_try='test -s conftest$ac_exeext'
38563 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38564 +- (eval $ac_try) 2>&5
38565 ++ { (case "(($ac_try" in
38566 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38567 ++ *) ac_try_echo=$ac_try;;
38568 ++esac
38569 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38570 ++ (eval "$ac_try") 2>&5
38571 + ac_status=$?
38572 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
38573 + (exit $ac_status); }; }; then
38574 +- ncbi_cv_lib_xalan_c=yes
38575 ++ eval "$as_ac_var=yes"
38576 + else
38577 + echo "$as_me: failed program was:" >&5
38578 + sed 's/^/| /' conftest.$ac_ext >&5
38579 +
38580 +-ncbi_cv_lib_xalan_c=no
38581 ++ eval "$as_ac_var=no"
38582 + fi
38583 +-rm -f conftest.err conftest.$ac_objext \
38584 ++
38585 ++rm -f core conftest.err conftest.$ac_objext \
38586 + conftest$ac_exeext conftest.$ac_ext
38587 + fi
38588 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_xalan_c" >&5
38589 +-echo "${ECHO_T}$ncbi_cv_lib_xalan_c" >&6
38590 +- if test $ncbi_cv_lib_xalan_c = yes; then
38591 +- if test -f "$XALAN_LIBPATH/libxalan-c-static.a"; then
38592 +- XALAN_STATIC_LIBS="-L$XALAN_LIBPATH -lxalan-c-static -lxalanMsg-static"
38593 +- else
38594 +- XALAN_STATIC_LIBS=$XALAN_LIBS
38595 +- fi
38596 +- else
38597 +- if test "${with_xalan:=no}" != no; then
38598 +- { { echo "$as_me:$LINENO: error: --with-xalan explicitly specified, but no usable version found." >&5
38599 +-echo "$as_me: error: --with-xalan explicitly specified, but no usable version found." >&2;}
38600 +- { (exit 1); exit 1; }; }
38601 +- fi
38602 +- fi
38603 +-fi
38604 +-if test "$with_xalan" != no; then
38605 +- WithPackages="$WithPackages${WithPackagesSep}Xalan"; WithPackagesSep=" "
38606 +-
38607 +-cat >>confdefs.h <<\_ACEOF
38608 +-#define HAVE_XALAN 1
38609 ++ac_res=`eval echo '${'$as_ac_var'}'`
38610 ++ { echo "$as_me:$LINENO: result: $ac_res" >&5
38611 ++echo "${ECHO_T}$ac_res" >&6; }
38612 ++if test `eval echo '${'$as_ac_var'}'` = yes; then
38613 ++ cat >>confdefs.h <<_ACEOF
38614 ++#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38615 + _ACEOF
38616 +
38617 +-else
38618 +- XALAN_INCLUDE=
38619 +- XALAN_LIBS=
38620 +- XALAN_STATIC_LIBS=
38621 + fi
38622 ++done
38623 +
38624 +-test -d SunWS_cache && rm -r SunWS_cache
38625 +-
38626 +-: ${ZORBA_PATH=$NCBI/zorba}
38627 +-if test "$with_zorba" != no; then
38628 +- if test "${with_zorba-yes}" != yes; then
38629 +- ZORBA_PATH=$with_zorba
38630 +- fi
38631 +- if test -d "$ZORBA_PATH"; then
38632 +- ncbi_fix_dir_tmp=`if cd $ZORBA_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
38633 +- case "$ncbi_fix_dir_tmp" in
38634 +- /.*) ncbi_fix_dir_tmp2=`cd $ZORBA_PATH && $smart_pwd 2>/dev/null`
38635 +- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
38636 +- ZORBA_PATH=$ncbi_fix_dir_tmp2
38637 +- else
38638 +- case "$ZORBA_PATH" in
38639 +- /*) ;;
38640 +- * ) ZORBA_PATH=$ncbi_fix_dir_tmp ;;
38641 +- esac
38642 +- fi
38643 +- ;;
38644 +- /*) ZORBA_PATH=$ncbi_fix_dir_tmp ;;
38645 +- esac
38646 +- fi
38647 +- vpath="$ZORBA_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}"
38648 +- if test -d "$vpath/lib"; then
38649 +- ZORBA_PATH=$vpath
38650 +- ncbi_fix_dir_tmp=`if cd $ZORBA_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
38651 +- case "$ncbi_fix_dir_tmp" in
38652 +- /.*) ncbi_fix_dir_tmp2=`cd $ZORBA_PATH && $smart_pwd 2>/dev/null`
38653 +- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
38654 +- ZORBA_PATH=$ncbi_fix_dir_tmp2
38655 +- else
38656 +- case "$ZORBA_PATH" in
38657 +- /*) ;;
38658 +- * ) ZORBA_PATH=$ncbi_fix_dir_tmp ;;
38659 +- esac
38660 +- fi
38661 +- ;;
38662 +- /*) ZORBA_PATH=$ncbi_fix_dir_tmp ;;
38663 +- esac
38664 +- elif test -d "$vpath"; then
38665 +- : ${ZORBA_LIBPATH=$vpath}
38666 +- ncbi_fix_dir_tmp=`if cd $ZORBA_LIBPATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
38667 +- case "$ncbi_fix_dir_tmp" in
38668 +- /.*) ncbi_fix_dir_tmp2=`cd $ZORBA_LIBPATH && $smart_pwd 2>/dev/null`
38669 +- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
38670 +- ZORBA_LIBPATH=$ncbi_fix_dir_tmp2
38671 +- else
38672 +- case "$ZORBA_LIBPATH" in
38673 +- /*) ;;
38674 +- * ) ZORBA_LIBPATH=$ncbi_fix_dir_tmp ;;
38675 +- esac
38676 +- fi
38677 +- ;;
38678 +- /*) ZORBA_LIBPATH=$ncbi_fix_dir_tmp ;;
38679 +- esac
38680 +- else
38681 +- vpath="$ZORBA_PATH/${compiler_pfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}"
38682 +- if test -d "$vpath/lib"; then
38683 +- ZORBA_PATH=$vpath
38684 +- ncbi_fix_dir_tmp=`if cd $ZORBA_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
38685 +- case "$ncbi_fix_dir_tmp" in
38686 +- /.*) ncbi_fix_dir_tmp2=`cd $ZORBA_PATH && $smart_pwd 2>/dev/null`
38687 +- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
38688 +- ZORBA_PATH=$ncbi_fix_dir_tmp2
38689 +- else
38690 +- case "$ZORBA_PATH" in
38691 +- /*) ;;
38692 +- * ) ZORBA_PATH=$ncbi_fix_dir_tmp ;;
38693 +- esac
38694 + fi
38695 +- ;;
38696 +- /*) ZORBA_PATH=$ncbi_fix_dir_tmp ;;
38697 +- esac
38698 +- elif test -d "$vpath"; then
38699 +- ZORBA_LIBPATH=$vpath
38700 +- ncbi_fix_dir_tmp=`if cd $ZORBA_LIBPATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
38701 +- case "$ncbi_fix_dir_tmp" in
38702 +- /.*) ncbi_fix_dir_tmp2=`cd $ZORBA_LIBPATH && $smart_pwd 2>/dev/null`
38703 +- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
38704 +- ZORBA_LIBPATH=$ncbi_fix_dir_tmp2
38705 ++if test -n "$SQLITE3_LIBS" -a -f "$SQLITE3_LIBDIR/libsqlite3-static.a"; then
38706 ++ SQLITE3_STATIC_LIBS="-L$SQLITE3_LIBDIR -lsqlite3-static"
38707 + else
38708 +- case "$ZORBA_LIBPATH" in
38709 +- /*) ;;
38710 +- * ) ZORBA_LIBPATH=$ncbi_fix_dir_tmp ;;
38711 +- esac
38712 ++ SQLITE3_STATIC_LIBS=$SQLITE3_LIBS
38713 + fi
38714 +- ;;
38715 +- /*) ZORBA_LIBPATH=$ncbi_fix_dir_tmp ;;
38716 ++
38717 ++
38718 ++### OEChem
38719 ++# somewhat kludgish, as we now wanto to add in oeiupac and oedepict,
38720 ++# which depend on oechem....
38721 ++if test "$with_oechem" != "no"; then
38722 ++ case "$with_oechem" in
38723 ++ yes | "" ) ;;
38724 ++ * ) OECHEM_PATH=$with_oechem ;;
38725 + esac
38726 ++ if test -d "$OECHEM_PATH"; then
38727 ++ in_path=" in $OECHEM_PATH"
38728 ++ if test -z "$OECHEM_INCLUDE" -a -d "$OECHEM_PATH/include"; then
38729 ++ OECHEM_INCLUDE="-I$OECHEM_PATH/include"
38730 + fi
38731 +- fi
38732 +- ZORBA_CONFIG="$ZORBA_PATH/bin/zorba-config"
38733 +- if test -x "$ZORBA_CONFIG"; then
38734 +- ZORBA_PATH=`$ZORBA_CONFIG --prefix`
38735 +- : ${ZORBA_INCLUDE=`$ZORBA_CONFIG --cppflags`}
38736 +- fi
38737 +- if test -d $ZORBA_PATH; then
38738 +- in_path=" in $ZORBA_PATH"
38739 +- : ${ZORBA_INCLUDE=-I$ZORBA_PATH/include}
38740 +- : ${ZORBA_LIBPATH=$ZORBA_PATH/lib}
38741 ++ if test -n "$OECHEM_LIBPATH"; then
38742 ++ :
38743 ++ elif test -d "$OECHEM_PATH/lib${bit64_sfx}"; then
38744 ++ ncbi_rp_L_flags=
38745 ++ ncbi_rp_L_sep=$CONF_f_libpath
38746 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
38747 ++ for x in $OECHEM_PATH/lib${bit64_sfx}; do
38748 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38749 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
38750 ++ done
38751 ++ OECHEM_LIBPATH="${ncbi_rp_L_flags}"
38752 + else
38753 +- in_path=''
38754 ++ ncbi_rp_R_flags=
38755 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
38756 ++ for x in $OECHEM_PATH/lib${bit64_sfx}; do
38757 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38758 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
38759 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
38760 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
38761 ++ ncbi_rp_R_sep=:
38762 ++ done
38763 ++ OECHEM_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
38764 + fi
38765 +- if test -x "$ZORBA_CONFIG"; then
38766 +- ZORBA_LIBS=`$ZORBA_CONFIG --libs`
38767 +- else
38768 ++ elif test -d "$OECHEM_PATH/lib"; then
38769 + ncbi_rp_L_flags=
38770 + ncbi_rp_L_sep=$CONF_f_libpath
38771 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
38772 +- for x in $ZORBA_LIBPATH; do
38773 ++ for x in $OECHEM_PATH/lib; do
38774 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38775 + ncbi_rp_L_sep=" $CONF_f_libpath"
38776 + done
38777 +- ZORBA_LIBPATH_="${ncbi_rp_L_flags}"
38778 ++ OECHEM_LIBPATH="${ncbi_rp_L_flags}"
38779 + else
38780 + ncbi_rp_R_flags=
38781 + ncbi_rp_R_sep=" $CONF_f_runpath"
38782 +- for x in $ZORBA_LIBPATH; do
38783 ++ for x in $OECHEM_PATH/lib; do
38784 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38785 + ncbi_rp_L_sep=" $CONF_f_libpath"
38786 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
38787 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
38788 + ncbi_rp_R_sep=:
38789 + done
38790 +- ZORBA_LIBPATH_="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
38791 ++ OECHEM_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
38792 + fi
38793 +- ZORBA_LIBS="$ZORBA_LIBPATH_ -lzorba_simplestore"
38794 + fi
38795 +- echo "$as_me:$LINENO: checking for Zorba$in_path" >&5
38796 +-echo $ECHO_N "checking for Zorba$in_path... $ECHO_C" >&6
38797 +-if test "${ncbi_cv_lib_zorba+set}" = set; then
38798 ++ OECHEM_LIBS="$OECHEM_LIBPATH -loechem -loeiupac -loedepict -loechem -loesystem -loeplatform -lz"
38799 ++ else
38800 ++ OECHEM_INCLUDE=""
38801 ++ OECHEM_LIBS="-loechem -loeiupac -loedepict -loechem -loesystem -loeplatform -lz"
38802 ++ in_path=
38803 ++ fi
38804 ++ { echo "$as_me:$LINENO: checking for liboechem$in_path" >&5
38805 ++echo $ECHO_N "checking for liboechem$in_path... $ECHO_C" >&6; }
38806 ++if test "${ncbi_cv_lib_oechem+set}" = set; then
38807 + echo $ECHO_N "(cached) $ECHO_C" >&6
38808 + else
38809 +- CPPFLAGS="$ZORBA_INCLUDE $orig_CPPFLAGS"
38810 +- LIBS="$ZORBA_LIBS $orig_LIBS"
38811 ++ CPPFLAGS=" $OECHEM_INCLUDE $orig_CPPFLAGS"
38812 ++ LIBS="$OECHEM_LIBS $NETWORK_LIBS $orig_LIBS"
38813 + cat >conftest.$ac_ext <<_ACEOF
38814 + /* confdefs.h. */
38815 + _ACEOF
38816 + cat confdefs.h >>conftest.$ac_ext
38817 + cat >>conftest.$ac_ext <<_ACEOF
38818 + /* end confdefs.h. */
38819 +-#include <zorba/zorba.h>
38820 ++#include <oechem.h>
38821 + int
38822 + main ()
38823 + {
38824 +-zorba::Version v = zorba::Zorba::version();
38825 ++OEChem::OEMol mol; OEChem::OEConfBase* c = mol.GetActive();
38826 + ;
38827 + return 0;
38828 + }
38829 + _ACEOF
38830 + rm -f conftest.$ac_objext conftest$ac_exeext
38831 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38832 +- (eval $ac_link) 2>conftest.er1
38833 ++if { (ac_try="$ac_link"
38834 ++case "(($ac_try" in
38835 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38836 ++ *) ac_try_echo=$ac_try;;
38837 ++esac
38838 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38839 ++ (eval "$ac_link") 2>conftest.er1
38840 + ac_status=$?
38841 + grep -v '^ *+' conftest.er1 >conftest.err
38842 + rm -f conftest.er1
38843 + cat conftest.err >&5
38844 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
38845 + (exit $ac_status); } &&
38846 +- { ac_try='test -z "$ac_cxx_werror_flag"
38847 +- || test ! -s conftest.err'
38848 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38849 +- (eval $ac_try) 2>&5
38850 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38851 ++ { (case "(($ac_try" in
38852 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38853 ++ *) ac_try_echo=$ac_try;;
38854 ++esac
38855 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38856 ++ (eval "$ac_try") 2>&5
38857 + ac_status=$?
38858 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
38859 + (exit $ac_status); }; } &&
38860 + { ac_try='test -s conftest$ac_exeext'
38861 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38862 +- (eval $ac_try) 2>&5
38863 ++ { (case "(($ac_try" in
38864 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38865 ++ *) ac_try_echo=$ac_try;;
38866 ++esac
38867 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38868 ++ (eval "$ac_try") 2>&5
38869 + ac_status=$?
38870 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
38871 + (exit $ac_status); }; }; then
38872 +- ncbi_cv_lib_zorba=yes
38873 ++ ncbi_cv_lib_oechem=yes
38874 + else
38875 + echo "$as_me: failed program was:" >&5
38876 + sed 's/^/| /' conftest.$ac_ext >&5
38877 +
38878 +-ncbi_cv_lib_zorba=no
38879 ++ ncbi_cv_lib_oechem=no
38880 + fi
38881 +-rm -f conftest.err conftest.$ac_objext \
38882 ++
38883 ++rm -f core conftest.err conftest.$ac_objext \
38884 + conftest$ac_exeext conftest.$ac_ext
38885 + fi
38886 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_zorba" >&5
38887 +-echo "${ECHO_T}$ncbi_cv_lib_zorba" >&6
38888 +- if test $ncbi_cv_lib_zorba = yes; then
38889 +- if test -x "$ZORBA_CONFIG"; then
38890 +- ZORBA_STATIC_LIBS=`$ZORBA_CONFIG --static-libs`
38891 +- elif test -f "$ZORBA_LIBPATH/libzorba_simplestore-static.a"; then
38892 +- ZORBA_STATIC_LIBS="-L$ZORBA_LIBPATH -lzorba_simplestore-static $XERCES_STATIC_LIBS $ICU_STATIC_LIBS $LIBXSLT_STATIC_LIBS $LIBXML_STATIC_LIBS"
38893 +- else
38894 +- ZORBA_STATIC_LIBS=$ZORBA_LIBS
38895 +- fi
38896 +- else
38897 +- if test "${with_zorba:=no}" != no; then
38898 +- { { echo "$as_me:$LINENO: error: --with-zorba explicitly specified, but no usable version found." >&5
38899 +-echo "$as_me: error: --with-zorba explicitly specified, but no usable version found." >&2;}
38900 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_oechem" >&5
38901 ++echo "${ECHO_T}$ncbi_cv_lib_oechem" >&6; }
38902 ++ if test "$ncbi_cv_lib_oechem" = "no"; then
38903 ++ if test "${with_oechem:=no}" != no; then
38904 ++ { { echo "$as_me:$LINENO: error: --with-oechem explicitly specified, but no usable version found." >&5
38905 ++echo "$as_me: error: --with-oechem explicitly specified, but no usable version found." >&2;}
38906 + { (exit 1); exit 1; }; }
38907 + fi
38908 + fi
38909 + fi
38910 +-if test "$with_zorba" != no; then
38911 +- WithPackages="$WithPackages${WithPackagesSep}Zorba"; WithPackagesSep=" "
38912 ++ if test "$with_oechem" = "no"; then
38913 ++ OECHEM_PATH="No_OECHEM"
38914 ++ OECHEM_INCLUDE=
38915 ++ OECHEM_LIBS=
38916 ++ else
38917 ++ WithPackages="$WithPackages${WithPackagesSep}OECHEM"; WithPackagesSep=" "
38918 ++ OECHEM_INCLUDE=" $OECHEM_INCLUDE"
38919 +
38920 + cat >>confdefs.h <<\_ACEOF
38921 +-#define HAVE_ZORBA 1
38922 ++#define HAVE_LIBOECHEM 1
38923 + _ACEOF
38924 +
38925 +-else
38926 +- ZORBA_INCLUDE=
38927 +- ZORBA_LIBS=
38928 +- ZORBA_STATIC_LIBS=
38929 + fi
38930 +
38931 +-### SQLite
38932 +-case "$with_sqlite3" in
38933 +- yes | '' ) : ${SQLITE3_PATH=$NCBI/sqlite3} ;;
38934 +- * ) SQLITE3_PATH=$with_sqlite3 ;;
38935 +-esac
38936 +
38937 +-if test -d "$SQLITE3_PATH"; then
38938 +- ncbi_fix_dir_tmp=`if cd $SQLITE3_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
38939 +- case "$ncbi_fix_dir_tmp" in
38940 +- /.*) ncbi_fix_dir_tmp2=`cd $SQLITE3_PATH && $smart_pwd 2>/dev/null`
38941 +- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
38942 +- SQLITE3_PATH=$ncbi_fix_dir_tmp2
38943 +- else
38944 +- case "$SQLITE3_PATH" in
38945 +- /*) ;;
38946 +- * ) SQLITE3_PATH=$ncbi_fix_dir_tmp ;;
38947 +- esac
38948 ++
38949 ++if test -n "$OECHEM_LIBS"; then
38950 ++ OECHEM_LIBS=`echo $OECHEM_LIBS | sed -e 's/-loechem \(.*-loechem .*\)/\1/'`
38951 + fi
38952 +- ;;
38953 +- /*) SQLITE3_PATH=$ncbi_fix_dir_tmp ;;
38954 ++test -d SunWS_cache && rm -r SunWS_cache
38955 ++
38956 ++
38957 ++### Sun/Univa Grid Engine
38958 ++case "$with_sge" in
38959 ++ yes | "" ) ;;
38960 ++ * ) SGE_PATH=$with_sge ;;
38961 + esac
38962 ++if test -d "$SGE_PATH" -a -z "$SGE_LIBPATH"; then
38963 ++ case "$host:$NCBI_PLATFORM_BITS" in
38964 ++ i?86-*-darwin* ) SGE_PLATFORMS='darwin-x86' ;;
38965 ++ i?86-*-linux* ) SGE_PLATFORMS='lx24-x86 lx-x86' ;;
38966 ++ i?86-*-solaris*:32 ) SGE_PLATFORMS='sol-x86' ;;
38967 ++ i?86-*-solaris*:64 ) SGE_PLATFORMS='sol-amd64' ;;
38968 ++ powerpc-*-darwin* ) SGE_PLATFORMS='darwin-ppc' ;;
38969 ++ sparc-*-solaris*:32 ) SGE_PLATFORMS='sol-sparc' ;;
38970 ++ sparc-*-solaris*:64 ) SGE_PLATFORMS='sol-sparc64' ;;
38971 ++ x86_64-*-linux* ) SGE_PLATFORMS='lx24-amd64 lx-amd64' ;;
38972 ++ esac
38973 ++ for x in $SGE_PLATFORMS; do
38974 ++ if test -d "$SGE_PATH/lib/$x"; then
38975 ++ SGE_LIBPATH="$SGE_PATH/lib/$x"
38976 ++ break
38977 + fi
38978 +-if test -d "$SQLITE3_PATH/${compiler_pfx}${DEBUG_SFX}${MT_SFX}${bit64_sfx}/lib"; then
38979 +- SQLITE3_LIBDIR=$SQLITE3_PATH/${compiler_pfx}${DEBUG_SFX}${MT_SFX}${bit64_sfx}/lib
38980 +-elif test -d $SQLITE3_PATH/lib${bit64_sfx}; then
38981 +- SQLITE3_LIBDIR=$SQLITE3_PATH/lib${bit64_sfx}
38982 +-else
38983 +- SQLITE3_LIBDIR=$SQLITE3_PATH/lib
38984 +-fi
38985 ++ done
38986 + ncbi_rp_L_flags=
38987 + ncbi_rp_L_sep=$CONF_f_libpath
38988 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
38989 +- for x in $SQLITE3_LIBDIR; do
38990 ++ for x in $SGE_LIBPATH; do
38991 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38992 + ncbi_rp_L_sep=" $CONF_f_libpath"
38993 + done
38994 +- SQLITE3_LIBPATH="${ncbi_rp_L_flags}"
38995 ++ SGE_LIBPATH="${ncbi_rp_L_flags}"
38996 + else
38997 + ncbi_rp_R_flags=
38998 + ncbi_rp_R_sep=" $CONF_f_runpath"
38999 +- for x in $SQLITE3_LIBDIR; do
39000 ++ for x in $SGE_LIBPATH; do
39001 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39002 + ncbi_rp_L_sep=" $CONF_f_libpath"
39003 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
39004 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
39005 + ncbi_rp_R_sep=:
39006 + done
39007 +- SQLITE3_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39008 ++ SGE_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39009 + fi
39010 +-if test "$with_sqlite3" != "no"; then
39011 +- case "$with_sqlite3" in
39012 ++fi
39013 ++if test "$with_sge" != "no"; then
39014 ++ case "$with_sge" in
39015 + yes | "" ) ;;
39016 +- * ) SQLITE3_PATH=$with_sqlite3 ;;
39017 ++ * ) SGE_PATH=$with_sge ;;
39018 + esac
39019 +- if test -d "$SQLITE3_PATH"; then
39020 +- in_path=" in $SQLITE3_PATH"
39021 +- if test -z "$SQLITE3_INCLUDE" -a -d "$SQLITE3_PATH/include"; then
39022 +- SQLITE3_INCLUDE="-I$SQLITE3_PATH/include"
39023 ++ if test -d "$SGE_PATH"; then
39024 ++ in_path=" in $SGE_PATH"
39025 ++ if test -z "$SGE_INCLUDE" -a -d "$SGE_PATH/include"; then
39026 ++ SGE_INCLUDE="-I$SGE_PATH/include"
39027 + fi
39028 +- if test -n "$SQLITE3_LIBPATH"; then
39029 ++ if test -n "$SGE_LIBPATH"; then
39030 + :
39031 +- elif test -d "$SQLITE3_PATH/lib${bit64_sfx}"; then
39032 ++ elif test -d "$SGE_PATH/lib${bit64_sfx}"; then
39033 + ncbi_rp_L_flags=
39034 + ncbi_rp_L_sep=$CONF_f_libpath
39035 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
39036 +- for x in $SQLITE3_PATH/lib${bit64_sfx}; do
39037 ++ for x in $SGE_PATH/lib${bit64_sfx}; do
39038 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39039 + ncbi_rp_L_sep=" $CONF_f_libpath"
39040 + done
39041 +- SQLITE3_LIBPATH="${ncbi_rp_L_flags}"
39042 ++ SGE_LIBPATH="${ncbi_rp_L_flags}"
39043 + else
39044 + ncbi_rp_R_flags=
39045 + ncbi_rp_R_sep=" $CONF_f_runpath"
39046 +- for x in $SQLITE3_PATH/lib${bit64_sfx}; do
39047 ++ for x in $SGE_PATH/lib${bit64_sfx}; do
39048 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39049 + ncbi_rp_L_sep=" $CONF_f_libpath"
39050 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
39051 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
39052 + ncbi_rp_R_sep=:
39053 + done
39054 +- SQLITE3_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39055 ++ SGE_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39056 + fi
39057 +- elif test -d "$SQLITE3_PATH/lib"; then
39058 ++ elif test -d "$SGE_PATH/lib"; then
39059 + ncbi_rp_L_flags=
39060 + ncbi_rp_L_sep=$CONF_f_libpath
39061 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
39062 +- for x in $SQLITE3_PATH/lib; do
39063 ++ for x in $SGE_PATH/lib; do
39064 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39065 + ncbi_rp_L_sep=" $CONF_f_libpath"
39066 + done
39067 +- SQLITE3_LIBPATH="${ncbi_rp_L_flags}"
39068 ++ SGE_LIBPATH="${ncbi_rp_L_flags}"
39069 + else
39070 + ncbi_rp_R_flags=
39071 + ncbi_rp_R_sep=" $CONF_f_runpath"
39072 +- for x in $SQLITE3_PATH/lib; do
39073 ++ for x in $SGE_PATH/lib; do
39074 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39075 + ncbi_rp_L_sep=" $CONF_f_libpath"
39076 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
39077 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
39078 + ncbi_rp_R_sep=:
39079 + done
39080 +- SQLITE3_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39081 ++ SGE_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39082 + fi
39083 + fi
39084 +- SQLITE3_LIBS="$SQLITE3_LIBPATH -lsqlite3 "
39085 ++ SGE_LIBS="$SGE_LIBPATH -ldrmaa "
39086 + else
39087 +- SQLITE3_INCLUDE=""
39088 +- SQLITE3_LIBS="-lsqlite3 "
39089 ++ SGE_INCLUDE=""
39090 ++ SGE_LIBS="-ldrmaa "
39091 + in_path=
39092 + fi
39093 +- echo "$as_me:$LINENO: checking for libsqlite3$in_path" >&5
39094 +-echo $ECHO_N "checking for libsqlite3$in_path... $ECHO_C" >&6
39095 +-if test "${ncbi_cv_lib_sqlite3+set}" = set; then
39096 ++ { echo "$as_me:$LINENO: checking for libdrmaa$in_path" >&5
39097 ++echo $ECHO_N "checking for libdrmaa$in_path... $ECHO_C" >&6; }
39098 ++if test "${ncbi_cv_lib_sge+set}" = set; then
39099 + echo $ECHO_N "(cached) $ECHO_C" >&6
39100 + else
39101 +- CPPFLAGS=" $SQLITE3_INCLUDE $orig_CPPFLAGS"
39102 +- LIBS="$SQLITE3_LIBS $orig_LIBS"
39103 ++ CPPFLAGS=" $SGE_INCLUDE $orig_CPPFLAGS"
39104 ++ LIBS="$SGE_LIBS $orig_LIBS"
39105 + cat >conftest.$ac_ext <<_ACEOF
39106 + /* confdefs.h. */
39107 + _ACEOF
39108 + cat confdefs.h >>conftest.$ac_ext
39109 + cat >>conftest.$ac_ext <<_ACEOF
39110 + /* end confdefs.h. */
39111 +-#include <sqlite3.h>
39112 ++#include <sys/types.h>
39113 ++ #include <drmaa.h>
39114 + int
39115 + main ()
39116 + {
39117 +-sqlite3_pcache_methods m;
39118 +- int status = sqlite3_config(SQLITE_CONFIG_GETPCACHE, &m);
39119 ++char buf[1024]; drmaa_init("SGE", buf, sizeof(buf));
39120 + ;
39121 + return 0;
39122 + }
39123 + _ACEOF
39124 + rm -f conftest.$ac_objext conftest$ac_exeext
39125 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39126 +- (eval $ac_link) 2>conftest.er1
39127 +- ac_status=$?
39128 +- grep -v '^ *+' conftest.er1 >conftest.err
39129 +- rm -f conftest.er1
39130 +- cat conftest.err >&5
39131 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
39132 +- (exit $ac_status); } &&
39133 +- { ac_try='test -z "$ac_cxx_werror_flag"
39134 +- || test ! -s conftest.err'
39135 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39136 +- (eval $ac_try) 2>&5
39137 +- ac_status=$?
39138 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
39139 +- (exit $ac_status); }; } &&
39140 +- { ac_try='test -s conftest$ac_exeext'
39141 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39142 +- (eval $ac_try) 2>&5
39143 +- ac_status=$?
39144 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
39145 +- (exit $ac_status); }; }; then
39146 +- ncbi_cv_lib_sqlite3=yes
39147 +-else
39148 +- echo "$as_me: failed program was:" >&5
39149 +-sed 's/^/| /' conftest.$ac_ext >&5
39150 +-
39151 +-ncbi_cv_lib_sqlite3=no
39152 +-fi
39153 +-rm -f conftest.err conftest.$ac_objext \
39154 +- conftest$ac_exeext conftest.$ac_ext
39155 +-fi
39156 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_sqlite3" >&5
39157 +-echo "${ECHO_T}$ncbi_cv_lib_sqlite3" >&6
39158 +- if test "$ncbi_cv_lib_sqlite3" = "no"; then
39159 +- if test "${with_sqlite3:=no}" != no; then
39160 +- { { echo "$as_me:$LINENO: error: --with-sqlite3 explicitly specified, but no usable version found." >&5
39161 +-echo "$as_me: error: --with-sqlite3 explicitly specified, but no usable version found." >&2;}
39162 +- { (exit 1); exit 1; }; }
39163 +- fi
39164 +- fi
39165 +- fi
39166 +- if test "$with_sqlite3" = "no"; then
39167 +- SQLITE3_PATH="No_SQLITE3"
39168 +- SQLITE3_INCLUDE=
39169 +- SQLITE3_LIBS=
39170 +- else
39171 +- WithPackages="$WithPackages${WithPackagesSep}SQLITE3"; WithPackagesSep=" "
39172 +- SQLITE3_INCLUDE=" $SQLITE3_INCLUDE"
39173 +-
39174 +-cat >>confdefs.h <<\_ACEOF
39175 +-#define HAVE_LIBSQLITE3 1
39176 +-_ACEOF
39177 +-
39178 +- fi
39179 +-
39180 +-
39181 +-
39182 +-if test -n "$SQLITE3_LIBS"; then
39183 +- CPPFLAGS="$SQLITE3_INCLUDE $orig_CPPFLAGS"
39184 +- if test "${ac_cv_header_sqlite3async_h+set}" = set; then
39185 +- echo "$as_me:$LINENO: checking for sqlite3async.h" >&5
39186 +-echo $ECHO_N "checking for sqlite3async.h... $ECHO_C" >&6
39187 +-if test "${ac_cv_header_sqlite3async_h+set}" = set; then
39188 +- echo $ECHO_N "(cached) $ECHO_C" >&6
39189 +-fi
39190 +-echo "$as_me:$LINENO: result: $ac_cv_header_sqlite3async_h" >&5
39191 +-echo "${ECHO_T}$ac_cv_header_sqlite3async_h" >&6
39192 +-else
39193 +- # Is the header compilable?
39194 +-echo "$as_me:$LINENO: checking sqlite3async.h usability" >&5
39195 +-echo $ECHO_N "checking sqlite3async.h usability... $ECHO_C" >&6
39196 +-cat >conftest.$ac_ext <<_ACEOF
39197 +-/* confdefs.h. */
39198 +-_ACEOF
39199 +-cat confdefs.h >>conftest.$ac_ext
39200 +-cat >>conftest.$ac_ext <<_ACEOF
39201 +-/* end confdefs.h. */
39202 +-$ac_includes_default
39203 +-#include <sqlite3async.h>
39204 +-_ACEOF
39205 +-rm -f conftest.$ac_objext
39206 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39207 +- (eval $ac_compile) 2>conftest.er1
39208 ++if { (ac_try="$ac_link"
39209 ++case "(($ac_try" in
39210 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39211 ++ *) ac_try_echo=$ac_try;;
39212 ++esac
39213 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39214 ++ (eval "$ac_link") 2>conftest.er1
39215 + ac_status=$?
39216 + grep -v '^ *+' conftest.er1 >conftest.err
39217 + rm -f conftest.er1
39218 + cat conftest.err >&5
39219 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
39220 + (exit $ac_status); } &&
39221 +- { ac_try='test -z "$ac_cxx_werror_flag"
39222 +- || test ! -s conftest.err'
39223 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39224 +- (eval $ac_try) 2>&5
39225 +- ac_status=$?
39226 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
39227 +- (exit $ac_status); }; } &&
39228 +- { ac_try='test -s conftest.$ac_objext'
39229 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39230 +- (eval $ac_try) 2>&5
39231 +- ac_status=$?
39232 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
39233 +- (exit $ac_status); }; }; then
39234 +- ac_header_compiler=yes
39235 +-else
39236 +- echo "$as_me: failed program was:" >&5
39237 +-sed 's/^/| /' conftest.$ac_ext >&5
39238 +-
39239 +-ac_header_compiler=no
39240 +-fi
39241 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39242 +-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39243 +-echo "${ECHO_T}$ac_header_compiler" >&6
39244 +-
39245 +-# Is the header present?
39246 +-echo "$as_me:$LINENO: checking sqlite3async.h presence" >&5
39247 +-echo $ECHO_N "checking sqlite3async.h presence... $ECHO_C" >&6
39248 +-cat >conftest.$ac_ext <<_ACEOF
39249 +-/* confdefs.h. */
39250 +-_ACEOF
39251 +-cat confdefs.h >>conftest.$ac_ext
39252 +-cat >>conftest.$ac_ext <<_ACEOF
39253 +-/* end confdefs.h. */
39254 +-#include <sqlite3async.h>
39255 +-_ACEOF
39256 +-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39257 +- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39258 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39259 ++ { (case "(($ac_try" in
39260 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39261 ++ *) ac_try_echo=$ac_try;;
39262 ++esac
39263 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39264 ++ (eval "$ac_try") 2>&5
39265 + ac_status=$?
39266 +- grep -v '^ *+' conftest.er1 >conftest.err
39267 +- rm -f conftest.er1
39268 +- cat conftest.err >&5
39269 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
39270 +- (exit $ac_status); } >/dev/null; then
39271 +- if test -s conftest.err; then
39272 +- ac_cpp_err=$ac_cxx_preproc_warn_flag
39273 +- ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39274 +- else
39275 +- ac_cpp_err=
39276 +- fi
39277 +-else
39278 +- ac_cpp_err=yes
39279 +-fi
39280 +-if test -z "$ac_cpp_err"; then
39281 +- ac_header_preproc=yes
39282 ++ (exit $ac_status); }; } &&
39283 ++ { ac_try='test -s conftest$ac_exeext'
39284 ++ { (case "(($ac_try" in
39285 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39286 ++ *) ac_try_echo=$ac_try;;
39287 ++esac
39288 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39289 ++ (eval "$ac_try") 2>&5
39290 ++ ac_status=$?
39291 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
39292 ++ (exit $ac_status); }; }; then
39293 ++ ncbi_cv_lib_sge=yes
39294 + else
39295 + echo "$as_me: failed program was:" >&5
39296 + sed 's/^/| /' conftest.$ac_ext >&5
39297 +
39298 +- ac_header_preproc=no
39299 ++ ncbi_cv_lib_sge=no
39300 + fi
39301 +-rm -f conftest.err conftest.$ac_ext
39302 +-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39303 +-echo "${ECHO_T}$ac_header_preproc" >&6
39304 +
39305 +-# So? What about this header?
39306 +-case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39307 +- yes:no: )
39308 +- { echo "$as_me:$LINENO: WARNING: sqlite3async.h: accepted by the compiler, rejected by the preprocessor!" >&5
39309 +-echo "$as_me: WARNING: sqlite3async.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
39310 +- { echo "$as_me:$LINENO: WARNING: sqlite3async.h: proceeding with the compiler's result" >&5
39311 +-echo "$as_me: WARNING: sqlite3async.h: proceeding with the compiler's result" >&2;}
39312 +- ac_header_preproc=yes
39313 +- ;;
39314 +- no:yes:* )
39315 +- { echo "$as_me:$LINENO: WARNING: sqlite3async.h: present but cannot be compiled" >&5
39316 +-echo "$as_me: WARNING: sqlite3async.h: present but cannot be compiled" >&2;}
39317 +- { echo "$as_me:$LINENO: WARNING: sqlite3async.h: check for missing prerequisite headers?" >&5
39318 +-echo "$as_me: WARNING: sqlite3async.h: check for missing prerequisite headers?" >&2;}
39319 +- { echo "$as_me:$LINENO: WARNING: sqlite3async.h: see the Autoconf documentation" >&5
39320 +-echo "$as_me: WARNING: sqlite3async.h: see the Autoconf documentation" >&2;}
39321 +- { echo "$as_me:$LINENO: WARNING: sqlite3async.h: section \"Present But Cannot Be Compiled\"" >&5
39322 +-echo "$as_me: WARNING: sqlite3async.h: section \"Present But Cannot Be Compiled\"" >&2;}
39323 +- { echo "$as_me:$LINENO: WARNING: sqlite3async.h: proceeding with the preprocessor's result" >&5
39324 +-echo "$as_me: WARNING: sqlite3async.h: proceeding with the preprocessor's result" >&2;}
39325 +- { echo "$as_me:$LINENO: WARNING: sqlite3async.h: in the future, the compiler will take precedence" >&5
39326 +-echo "$as_me: WARNING: sqlite3async.h: in the future, the compiler will take precedence" >&2;}
39327 +- (
39328 +- cat <<\_ASBOX
39329 +-## ---------------------------------------- ##
39330 +-## Report this to cpp-core@××××××××××××.gov ##
39331 +-## ---------------------------------------- ##
39332 +-_ASBOX
39333 +- ) |
39334 +- sed "s/^/$as_me: WARNING: /" >&2
39335 +- ;;
39336 +-esac
39337 +-echo "$as_me:$LINENO: checking for sqlite3async.h" >&5
39338 +-echo $ECHO_N "checking for sqlite3async.h... $ECHO_C" >&6
39339 +-if test "${ac_cv_header_sqlite3async_h+set}" = set; then
39340 +- echo $ECHO_N "(cached) $ECHO_C" >&6
39341 +-else
39342 +- ac_cv_header_sqlite3async_h=$ac_header_preproc
39343 ++rm -f core conftest.err conftest.$ac_objext \
39344 ++ conftest$ac_exeext conftest.$ac_ext
39345 + fi
39346 +-echo "$as_me:$LINENO: result: $ac_cv_header_sqlite3async_h" >&5
39347 +-echo "${ECHO_T}$ac_cv_header_sqlite3async_h" >&6
39348 +-
39349 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_sge" >&5
39350 ++echo "${ECHO_T}$ncbi_cv_lib_sge" >&6; }
39351 ++ if test "$ncbi_cv_lib_sge" = "no"; then
39352 ++ if test "${with_sge:=no}" != no; then
39353 ++ { { echo "$as_me:$LINENO: error: --with-sge explicitly specified, but no usable version found." >&5
39354 ++echo "$as_me: error: --with-sge explicitly specified, but no usable version found." >&2;}
39355 ++ { (exit 1); exit 1; }; }
39356 + fi
39357 +-if test $ac_cv_header_sqlite3async_h = yes; then
39358 ++ fi
39359 ++ fi
39360 ++ if test "$with_sge" = "no"; then
39361 ++ SGE_PATH="No_SGE"
39362 ++ SGE_INCLUDE=
39363 ++ SGE_LIBS=
39364 ++ else
39365 ++ WithPackages="$WithPackages${WithPackagesSep}SGE"; WithPackagesSep=" "
39366 ++ SGE_INCLUDE=" $SGE_INCLUDE"
39367 +
39368 + cat >>confdefs.h <<\_ACEOF
39369 +-#define HAVE_SQLITE3ASYNC_H 1
39370 ++#define HAVE_LIBSGE 1
39371 + _ACEOF
39372 +
39373 +- WithPackages="$WithPackages${WithPackagesSep}SQLITE3ASYNC"; WithPackagesSep=" "
39374 + fi
39375 +
39376 +
39377 +- LIBS="$SQLITE3_LIBS $orig_LIBS"
39378 +
39379 +-for ac_func in sqlite3_unlock_notify
39380 +-do
39381 +-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39382 +-echo "$as_me:$LINENO: checking for $ac_func" >&5
39383 +-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39384 +-if eval "test \"\${$as_ac_var+set}\" = set"; then
39385 ++
39386 ++
39387 ++### muParser
39388 ++case "$with_muparser" in
39389 ++ yes | '' ) ;;
39390 ++ * ) MUPARSER_PATH=$with_muparser ;;
39391 ++esac
39392 ++
39393 ++if test -d "$MUPARSER_PATH"; then
39394 ++ ncbi_fix_dir_tmp=`if cd $MUPARSER_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
39395 ++ case "$ncbi_fix_dir_tmp" in
39396 ++ /.*) ncbi_fix_dir_tmp2=`cd $MUPARSER_PATH && $smart_pwd 2>/dev/null`
39397 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
39398 ++ MUPARSER_PATH=$ncbi_fix_dir_tmp2
39399 ++ else
39400 ++ case "$MUPARSER_PATH" in
39401 ++ /*) ;;
39402 ++ * ) MUPARSER_PATH=$ncbi_fix_dir_tmp ;;
39403 ++ esac
39404 ++ fi
39405 ++ ;;
39406 ++ /*) MUPARSER_PATH=$ncbi_fix_dir_tmp ;;
39407 ++ esac
39408 ++fi
39409 ++if test -d "$MUPARSER_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}/lib"; then
39410 ++ MUPARSER_LIBPATH=-L$MUPARSER_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}/lib
39411 ++elif test -d "$MUPARSER_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}/lib"; then
39412 ++ MUPARSER_LIBPATH=-L$MUPARSER_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}/lib
39413 ++fi
39414 ++
39415 ++if test "$with_muparser" != "no"; then
39416 ++ case "$with_muparser" in
39417 ++ yes | "" ) ;;
39418 ++ * ) MUPARSER_PATH=$with_muparser ;;
39419 ++ esac
39420 ++ if test -d "$MUPARSER_PATH"; then
39421 ++ in_path=" in $MUPARSER_PATH"
39422 ++ if test -z "$MUPARSER_INCLUDE" -a -d "$MUPARSER_PATH/include"; then
39423 ++ MUPARSER_INCLUDE="-I$MUPARSER_PATH/include"
39424 ++ fi
39425 ++ if test -n "$MUPARSER_LIBPATH"; then
39426 ++ :
39427 ++ elif test -d "$MUPARSER_PATH/lib${bit64_sfx}"; then
39428 ++ ncbi_rp_L_flags=
39429 ++ ncbi_rp_L_sep=$CONF_f_libpath
39430 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
39431 ++ for x in $MUPARSER_PATH/lib${bit64_sfx}; do
39432 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39433 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
39434 ++ done
39435 ++ MUPARSER_LIBPATH="${ncbi_rp_L_flags}"
39436 ++ else
39437 ++ ncbi_rp_R_flags=
39438 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
39439 ++ for x in $MUPARSER_PATH/lib${bit64_sfx}; do
39440 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39441 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
39442 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
39443 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
39444 ++ ncbi_rp_R_sep=:
39445 ++ done
39446 ++ MUPARSER_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39447 ++ fi
39448 ++ elif test -d "$MUPARSER_PATH/lib"; then
39449 ++ ncbi_rp_L_flags=
39450 ++ ncbi_rp_L_sep=$CONF_f_libpath
39451 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
39452 ++ for x in $MUPARSER_PATH/lib; do
39453 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39454 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
39455 ++ done
39456 ++ MUPARSER_LIBPATH="${ncbi_rp_L_flags}"
39457 ++ else
39458 ++ ncbi_rp_R_flags=
39459 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
39460 ++ for x in $MUPARSER_PATH/lib; do
39461 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39462 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
39463 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
39464 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
39465 ++ ncbi_rp_R_sep=:
39466 ++ done
39467 ++ MUPARSER_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39468 ++ fi
39469 ++ fi
39470 ++ MUPARSER_LIBS="$MUPARSER_LIBPATH -lmuparser "
39471 ++ else
39472 ++ MUPARSER_INCLUDE=""
39473 ++ MUPARSER_LIBS="-lmuparser "
39474 ++ in_path=
39475 ++ fi
39476 ++ { echo "$as_me:$LINENO: checking for libmuparser$in_path" >&5
39477 ++echo $ECHO_N "checking for libmuparser$in_path... $ECHO_C" >&6; }
39478 ++if test "${ncbi_cv_lib_muparser+set}" = set; then
39479 + echo $ECHO_N "(cached) $ECHO_C" >&6
39480 + else
39481 ++ CPPFLAGS=" $MUPARSER_INCLUDE $orig_CPPFLAGS"
39482 ++ LIBS="$MUPARSER_LIBS $orig_LIBS"
39483 + cat >conftest.$ac_ext <<_ACEOF
39484 + /* confdefs.h. */
39485 + _ACEOF
39486 + cat confdefs.h >>conftest.$ac_ext
39487 + cat >>conftest.$ac_ext <<_ACEOF
39488 + /* end confdefs.h. */
39489 +-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39490 +- For example, HP-UX 11i <limits.h> declares gettimeofday. */
39491 +-#define $ac_func innocuous_$ac_func
39492 +-
39493 +-/* System header to define __stub macros and hopefully few prototypes,
39494 +- which can conflict with char $ac_func (); below.
39495 +- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39496 +- <limits.h> exists even on freestanding compilers. */
39497 +-
39498 +-#ifdef __STDC__
39499 +-# include <limits.h>
39500 +-#else
39501 +-# include <assert.h>
39502 +-#endif
39503 +-
39504 +-#undef $ac_func
39505 +-
39506 +-/* Override any gcc2 internal prototype to avoid an error. */
39507 +-#ifdef __cplusplus
39508 +-extern "C"
39509 +-{
39510 +-#endif
39511 +-/* We use char because int might match the return type of a gcc2
39512 +- builtin and then its argument prototype would still apply. */
39513 +-char $ac_func ();
39514 +-/* The GNU C library defines this for functions which it implements
39515 +- to always fail with ENOSYS. Some functions are actually named
39516 +- something starting with __ and the normal name is an alias. */
39517 +-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39518 +-choke me
39519 +-#else
39520 +-char (*f) () = $ac_func;
39521 +-#endif
39522 +-#ifdef __cplusplus
39523 +-}
39524 +-#endif
39525 +-
39526 ++#include <muParser.h>
39527 + int
39528 + main ()
39529 + {
39530 +-return f != $ac_func;
39531 ++mu::Parser parser;
39532 + ;
39533 + return 0;
39534 + }
39535 + _ACEOF
39536 + rm -f conftest.$ac_objext conftest$ac_exeext
39537 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39538 +- (eval $ac_link) 2>conftest.er1
39539 ++if { (ac_try="$ac_link"
39540 ++case "(($ac_try" in
39541 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39542 ++ *) ac_try_echo=$ac_try;;
39543 ++esac
39544 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39545 ++ (eval "$ac_link") 2>conftest.er1
39546 + ac_status=$?
39547 + grep -v '^ *+' conftest.er1 >conftest.err
39548 + rm -f conftest.er1
39549 + cat conftest.err >&5
39550 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
39551 + (exit $ac_status); } &&
39552 +- { ac_try='test -z "$ac_cxx_werror_flag"
39553 +- || test ! -s conftest.err'
39554 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39555 +- (eval $ac_try) 2>&5
39556 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39557 ++ { (case "(($ac_try" in
39558 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39559 ++ *) ac_try_echo=$ac_try;;
39560 ++esac
39561 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39562 ++ (eval "$ac_try") 2>&5
39563 + ac_status=$?
39564 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
39565 + (exit $ac_status); }; } &&
39566 + { ac_try='test -s conftest$ac_exeext'
39567 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39568 +- (eval $ac_try) 2>&5
39569 ++ { (case "(($ac_try" in
39570 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39571 ++ *) ac_try_echo=$ac_try;;
39572 ++esac
39573 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39574 ++ (eval "$ac_try") 2>&5
39575 + ac_status=$?
39576 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
39577 + (exit $ac_status); }; }; then
39578 +- eval "$as_ac_var=yes"
39579 ++ ncbi_cv_lib_muparser=yes
39580 + else
39581 + echo "$as_me: failed program was:" >&5
39582 + sed 's/^/| /' conftest.$ac_ext >&5
39583 +
39584 +-eval "$as_ac_var=no"
39585 ++ ncbi_cv_lib_muparser=no
39586 + fi
39587 +-rm -f conftest.err conftest.$ac_objext \
39588 ++
39589 ++rm -f core conftest.err conftest.$ac_objext \
39590 + conftest$ac_exeext conftest.$ac_ext
39591 + fi
39592 +-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39593 +-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39594 +-if test `eval echo '${'$as_ac_var'}'` = yes; then
39595 +- cat >>confdefs.h <<_ACEOF
39596 +-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39597 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_muparser" >&5
39598 ++echo "${ECHO_T}$ncbi_cv_lib_muparser" >&6; }
39599 ++ if test "$ncbi_cv_lib_muparser" = "no"; then
39600 ++ if test "${with_muparser:=no}" != no; then
39601 ++ { { echo "$as_me:$LINENO: error: --with-muparser explicitly specified, but no usable version found." >&5
39602 ++echo "$as_me: error: --with-muparser explicitly specified, but no usable version found." >&2;}
39603 ++ { (exit 1); exit 1; }; }
39604 ++ fi
39605 ++ fi
39606 ++ fi
39607 ++ if test "$with_muparser" = "no"; then
39608 ++ MUPARSER_PATH="No_MUPARSER"
39609 ++ MUPARSER_INCLUDE=
39610 ++ MUPARSER_LIBS=
39611 ++ else
39612 ++ WithPackages="$WithPackages${WithPackagesSep}MUPARSER"; WithPackagesSep=" "
39613 ++ MUPARSER_INCLUDE=" $MUPARSER_INCLUDE"
39614 ++
39615 ++cat >>confdefs.h <<\_ACEOF
39616 ++#define HAVE_LIBMUPARSER 1
39617 + _ACEOF
39618 +
39619 + fi
39620 +-done
39621 +
39622 ++
39623 ++
39624 ++
39625 ++
39626 ++### hdf5
39627 ++case "$with_hdf5" in
39628 ++ yes | '' ) ;;
39629 ++ * ) HDF5_PATH=$with_hdf5 ;;
39630 ++esac
39631 ++
39632 ++if test -d "$HDF5_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}"; then
39633 ++ HDF5_PATH=$HDF5_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}
39634 ++elif test -d "$HDF5_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}"; then
39635 ++ HDF5_PATH=$HDF5_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}
39636 + fi
39637 +-if test -n "$SQLITE3_LIBS" -a -f "$SQLITE3_LIBDIR/libsqlite3-static.a"; then
39638 +- SQLITE3_STATIC_LIBS="-L$SQLITE3_LIBDIR -lsqlite3-static"
39639 ++if test -d "$HDF5_PATH"; then
39640 ++ ncbi_fix_dir_tmp=`if cd $HDF5_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
39641 ++ case "$ncbi_fix_dir_tmp" in
39642 ++ /.*) ncbi_fix_dir_tmp2=`cd $HDF5_PATH && $smart_pwd 2>/dev/null`
39643 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
39644 ++ HDF5_PATH=$ncbi_fix_dir_tmp2
39645 + else
39646 +- SQLITE3_STATIC_LIBS=$SQLITE3_LIBS
39647 ++ case "$HDF5_PATH" in
39648 ++ /*) ;;
39649 ++ * ) HDF5_PATH=$ncbi_fix_dir_tmp ;;
39650 ++ esac
39651 ++ fi
39652 ++ ;;
39653 ++ /*) HDF5_PATH=$ncbi_fix_dir_tmp ;;
39654 ++ esac
39655 + fi
39656 +
39657 +-
39658 +-### OEChem
39659 +-# somewhat kludgish, as we now wanto to add in oeiupac and oedepict,
39660 +-# which depend on oechem....
39661 +-: ${OECHEM_PATH=$NCBI/oechem}
39662 +-if test "$with_oechem" != "no"; then
39663 +- case "$with_oechem" in
39664 ++if test "$with_hdf5" != "no"; then
39665 ++ case "$with_hdf5" in
39666 + yes | "" ) ;;
39667 +- * ) OECHEM_PATH=$with_oechem ;;
39668 ++ * ) HDF5_PATH=$with_hdf5 ;;
39669 + esac
39670 +- if test -d "$OECHEM_PATH"; then
39671 +- in_path=" in $OECHEM_PATH"
39672 +- if test -z "$OECHEM_INCLUDE" -a -d "$OECHEM_PATH/include"; then
39673 +- OECHEM_INCLUDE="-I$OECHEM_PATH/include"
39674 ++ if test -d "$HDF5_PATH"; then
39675 ++ in_path=" in $HDF5_PATH"
39676 ++ if test -z "$HDF5_INCLUDE" -a -d "$HDF5_PATH/include"; then
39677 ++ HDF5_INCLUDE="-I$HDF5_PATH/include"
39678 + fi
39679 +- if test -n "$OECHEM_LIBPATH"; then
39680 ++ if test -n "$HDF5_LIBPATH"; then
39681 + :
39682 +- elif test -d "$OECHEM_PATH/lib${bit64_sfx}"; then
39683 ++ elif test -d "$HDF5_PATH/lib${bit64_sfx}"; then
39684 + ncbi_rp_L_flags=
39685 + ncbi_rp_L_sep=$CONF_f_libpath
39686 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
39687 +- for x in $OECHEM_PATH/lib${bit64_sfx}; do
39688 ++ for x in $HDF5_PATH/lib${bit64_sfx}; 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 +- OECHEM_LIBPATH="${ncbi_rp_L_flags}"
39693 ++ HDF5_LIBPATH="${ncbi_rp_L_flags}"
39694 + else
39695 + ncbi_rp_R_flags=
39696 + ncbi_rp_R_sep=" $CONF_f_runpath"
39697 +- for x in $OECHEM_PATH/lib${bit64_sfx}; do
39698 ++ for x in $HDF5_PATH/lib${bit64_sfx}; do
39699 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39700 + ncbi_rp_L_sep=" $CONF_f_libpath"
39701 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
39702 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
39703 + ncbi_rp_R_sep=:
39704 + done
39705 +- OECHEM_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39706 ++ HDF5_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39707 + fi
39708 +- elif test -d "$OECHEM_PATH/lib"; then
39709 ++ elif test -d "$HDF5_PATH/lib"; then
39710 + ncbi_rp_L_flags=
39711 + ncbi_rp_L_sep=$CONF_f_libpath
39712 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
39713 +- for x in $OECHEM_PATH/lib; do
39714 ++ for x in $HDF5_PATH/lib; do
39715 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39716 + ncbi_rp_L_sep=" $CONF_f_libpath"
39717 + done
39718 +- OECHEM_LIBPATH="${ncbi_rp_L_flags}"
39719 ++ HDF5_LIBPATH="${ncbi_rp_L_flags}"
39720 + else
39721 + ncbi_rp_R_flags=
39722 + ncbi_rp_R_sep=" $CONF_f_runpath"
39723 +- for x in $OECHEM_PATH/lib; do
39724 ++ for x in $HDF5_PATH/lib; do
39725 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39726 + ncbi_rp_L_sep=" $CONF_f_libpath"
39727 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
39728 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
39729 + ncbi_rp_R_sep=:
39730 + done
39731 +- OECHEM_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39732 ++ HDF5_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39733 + fi
39734 + fi
39735 +- OECHEM_LIBS="$OECHEM_LIBPATH -loechem -loeiupac -loedepict -loechem -loesystem -loeplatform -lz"
39736 ++ HDF5_LIBS="$HDF5_LIBPATH -lhdf5_cpp -lhdf5"
39737 + else
39738 +- OECHEM_INCLUDE=""
39739 +- OECHEM_LIBS="-loechem -loeiupac -loedepict -loechem -loesystem -loeplatform -lz"
39740 ++ HDF5_INCLUDE=""
39741 ++ HDF5_LIBS="-lhdf5_cpp -lhdf5"
39742 + in_path=
39743 + fi
39744 +- echo "$as_me:$LINENO: checking for liboechem$in_path" >&5
39745 +-echo $ECHO_N "checking for liboechem$in_path... $ECHO_C" >&6
39746 +-if test "${ncbi_cv_lib_oechem+set}" = set; then
39747 ++ { echo "$as_me:$LINENO: checking for libhdf5_cpp$in_path" >&5
39748 ++echo $ECHO_N "checking for libhdf5_cpp$in_path... $ECHO_C" >&6; }
39749 ++if test "${ncbi_cv_lib_hdf5+set}" = set; then
39750 + echo $ECHO_N "(cached) $ECHO_C" >&6
39751 + else
39752 +- CPPFLAGS=" $OECHEM_INCLUDE $orig_CPPFLAGS"
39753 +- LIBS="$OECHEM_LIBS $NETWORK_LIBS $orig_LIBS"
39754 ++ CPPFLAGS=" $HDF5_INCLUDE $orig_CPPFLAGS"
39755 ++ LIBS="$HDF5_LIBS $orig_LIBS"
39756 + cat >conftest.$ac_ext <<_ACEOF
39757 + /* confdefs.h. */
39758 + _ACEOF
39759 + cat confdefs.h >>conftest.$ac_ext
39760 + cat >>conftest.$ac_ext <<_ACEOF
39761 + /* end confdefs.h. */
39762 +-#include <oechem.h>
39763 ++#include <H5Cpp.h>
39764 + int
39765 + main ()
39766 + {
39767 +-OEChem::OEMol mol; OEChem::OEConfBase* c = mol.GetActive();
39768 ++H5::H5Library::open();
39769 + ;
39770 + return 0;
39771 + }
39772 + _ACEOF
39773 + rm -f conftest.$ac_objext conftest$ac_exeext
39774 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39775 +- (eval $ac_link) 2>conftest.er1
39776 ++if { (ac_try="$ac_link"
39777 ++case "(($ac_try" in
39778 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39779 ++ *) ac_try_echo=$ac_try;;
39780 ++esac
39781 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39782 ++ (eval "$ac_link") 2>conftest.er1
39783 + ac_status=$?
39784 + grep -v '^ *+' conftest.er1 >conftest.err
39785 + rm -f conftest.er1
39786 + cat conftest.err >&5
39787 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
39788 + (exit $ac_status); } &&
39789 +- { ac_try='test -z "$ac_cxx_werror_flag"
39790 +- || test ! -s conftest.err'
39791 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39792 +- (eval $ac_try) 2>&5
39793 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39794 ++ { (case "(($ac_try" in
39795 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39796 ++ *) ac_try_echo=$ac_try;;
39797 ++esac
39798 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39799 ++ (eval "$ac_try") 2>&5
39800 + ac_status=$?
39801 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
39802 + (exit $ac_status); }; } &&
39803 + { ac_try='test -s conftest$ac_exeext'
39804 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39805 +- (eval $ac_try) 2>&5
39806 ++ { (case "(($ac_try" in
39807 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39808 ++ *) ac_try_echo=$ac_try;;
39809 ++esac
39810 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39811 ++ (eval "$ac_try") 2>&5
39812 + ac_status=$?
39813 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
39814 + (exit $ac_status); }; }; then
39815 +- ncbi_cv_lib_oechem=yes
39816 ++ ncbi_cv_lib_hdf5=yes
39817 + else
39818 + echo "$as_me: failed program was:" >&5
39819 + sed 's/^/| /' conftest.$ac_ext >&5
39820 +
39821 +-ncbi_cv_lib_oechem=no
39822 ++ ncbi_cv_lib_hdf5=no
39823 + fi
39824 +-rm -f conftest.err conftest.$ac_objext \
39825 ++
39826 ++rm -f core conftest.err conftest.$ac_objext \
39827 + conftest$ac_exeext conftest.$ac_ext
39828 + fi
39829 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_oechem" >&5
39830 +-echo "${ECHO_T}$ncbi_cv_lib_oechem" >&6
39831 +- if test "$ncbi_cv_lib_oechem" = "no"; then
39832 +- if test "${with_oechem:=no}" != no; then
39833 +- { { echo "$as_me:$LINENO: error: --with-oechem explicitly specified, but no usable version found." >&5
39834 +-echo "$as_me: error: --with-oechem explicitly specified, but no usable version found." >&2;}
39835 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_hdf5" >&5
39836 ++echo "${ECHO_T}$ncbi_cv_lib_hdf5" >&6; }
39837 ++ if test "$ncbi_cv_lib_hdf5" = "no"; then
39838 ++ if test "${with_hdf5:=no}" != no; then
39839 ++ { { echo "$as_me:$LINENO: error: --with-hdf5 explicitly specified, but no usable version found." >&5
39840 ++echo "$as_me: error: --with-hdf5 explicitly specified, but no usable version found." >&2;}
39841 + { (exit 1); exit 1; }; }
39842 + fi
39843 + fi
39844 + fi
39845 +- if test "$with_oechem" = "no"; then
39846 +- OECHEM_PATH="No_OECHEM"
39847 +- OECHEM_INCLUDE=
39848 +- OECHEM_LIBS=
39849 ++ if test "$with_hdf5" = "no"; then
39850 ++ HDF5_PATH="No_HDF5"
39851 ++ HDF5_INCLUDE=
39852 ++ HDF5_LIBS=
39853 + else
39854 +- WithPackages="$WithPackages${WithPackagesSep}OECHEM"; WithPackagesSep=" "
39855 +- OECHEM_INCLUDE=" $OECHEM_INCLUDE"
39856 ++ WithPackages="$WithPackages${WithPackagesSep}HDF5"; WithPackagesSep=" "
39857 ++ HDF5_INCLUDE=" $HDF5_INCLUDE"
39858 +
39859 + cat >>confdefs.h <<\_ACEOF
39860 +-#define HAVE_LIBOECHEM 1
39861 ++#define HAVE_LIBHDF5 1
39862 + _ACEOF
39863 +
39864 + fi
39865 +
39866 +
39867 +
39868 +-if test -n "$OECHEM_LIBS"; then
39869 +- OECHEM_LIBS=`echo $OECHEM_LIBS | sed -e 's/-loechem \(.*-loechem .*\)/\1/'`
39870 +-fi
39871 +-test -d SunWS_cache && rm -r SunWS_cache
39872 +
39873 +
39874 +-### Sun/Univa Grid Engine
39875 +-case "$with_sge" in
39876 +- yes | "" ) ;;
39877 +- * ) SGE_PATH=$with_sge ;;
39878 +-esac
39879 +-if test -d "$SGE_PATH" -a -z "$SGE_LIBPATH"; then
39880 +- case "$host:$NCBI_PLATFORM_BITS" in
39881 +- i?86-*-darwin* ) SGE_PLATFORMS='darwin-x86' ;;
39882 +- i?86-*-linux* ) SGE_PLATFORMS='lx24-x86 lx-x86' ;;
39883 +- i?86-*-solaris*:32 ) SGE_PLATFORMS='sol-x86' ;;
39884 +- i?86-*-solaris*:64 ) SGE_PLATFORMS='sol-amd64' ;;
39885 +- powerpc-*-darwin* ) SGE_PLATFORMS='darwin-ppc' ;;
39886 +- sparc-*-solaris*:32 ) SGE_PLATFORMS='sol-sparc' ;;
39887 +- sparc-*-solaris*:64 ) SGE_PLATFORMS='sol-sparc64' ;;
39888 +- x86_64-*-linux* ) SGE_PLATFORMS='lx24-amd64 lx-amd64' ;;
39889 +- esac
39890 +- for x in $SGE_PLATFORMS; do
39891 +- if test -d "$SGE_PATH/lib/$x"; then
39892 +- SGE_LIBPATH="$SGE_PATH/lib/$x"
39893 +- break
39894 +- fi
39895 +- done
39896 +- ncbi_rp_L_flags=
39897 +- ncbi_rp_L_sep=$CONF_f_libpath
39898 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
39899 +- for x in $SGE_LIBPATH; do
39900 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39901 +- ncbi_rp_L_sep=" $CONF_f_libpath"
39902 +- done
39903 +- SGE_LIBPATH="${ncbi_rp_L_flags}"
39904 +- else
39905 +- ncbi_rp_R_flags=
39906 +- ncbi_rp_R_sep=" $CONF_f_runpath"
39907 +- for x in $SGE_LIBPATH; do
39908 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39909 +- ncbi_rp_L_sep=" $CONF_f_libpath"
39910 +- x=`echo $x | sed -e "$ncbi_rpath_sed"`
39911 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
39912 +- ncbi_rp_R_sep=:
39913 +- done
39914 +- SGE_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39915 +- fi
39916 +-fi
39917 +-if test "$with_sge" != "no"; then
39918 +- case "$with_sge" in
39919 ++### Image libraries
39920 ++# : ${JPEG_PATH=/usr/sfw}
39921 ++# Grr... jpeglib.h isn't especially well-behaved.
39922 ++if test "$with_jpeg" != "no"; then
39923 ++ case "$with_jpeg" in
39924 + yes | "" ) ;;
39925 +- * ) SGE_PATH=$with_sge ;;
39926 ++ * ) JPEG_PATH=$with_jpeg ;;
39927 + esac
39928 +- if test -d "$SGE_PATH"; then
39929 +- in_path=" in $SGE_PATH"
39930 +- if test -z "$SGE_INCLUDE" -a -d "$SGE_PATH/include"; then
39931 +- SGE_INCLUDE="-I$SGE_PATH/include"
39932 ++ if test -d "$JPEG_PATH"; then
39933 ++ in_path=" in $JPEG_PATH"
39934 ++ if test -z "$JPEG_INCLUDE" -a -d "$JPEG_PATH/include"; then
39935 ++ JPEG_INCLUDE="-I$JPEG_PATH/include"
39936 + fi
39937 +- if test -n "$SGE_LIBPATH"; then
39938 ++ if test -n "$JPEG_LIBPATH"; then
39939 + :
39940 +- elif test -d "$SGE_PATH/lib${bit64_sfx}"; then
39941 ++ elif test -d "$JPEG_PATH/lib${bit64_sfx}"; then
39942 + ncbi_rp_L_flags=
39943 + ncbi_rp_L_sep=$CONF_f_libpath
39944 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
39945 +- for x in $SGE_PATH/lib${bit64_sfx}; do
39946 ++ for x in $JPEG_PATH/lib${bit64_sfx}; do
39947 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39948 + ncbi_rp_L_sep=" $CONF_f_libpath"
39949 + done
39950 +- SGE_LIBPATH="${ncbi_rp_L_flags}"
39951 ++ JPEG_LIBPATH="${ncbi_rp_L_flags}"
39952 + else
39953 + ncbi_rp_R_flags=
39954 + ncbi_rp_R_sep=" $CONF_f_runpath"
39955 +- for x in $SGE_PATH/lib${bit64_sfx}; do
39956 ++ for x in $JPEG_PATH/lib${bit64_sfx}; do
39957 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39958 + ncbi_rp_L_sep=" $CONF_f_libpath"
39959 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
39960 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
39961 + ncbi_rp_R_sep=:
39962 + done
39963 +- SGE_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39964 ++ JPEG_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39965 + fi
39966 +- elif test -d "$SGE_PATH/lib"; then
39967 ++ elif test -d "$JPEG_PATH/lib"; then
39968 + ncbi_rp_L_flags=
39969 + ncbi_rp_L_sep=$CONF_f_libpath
39970 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
39971 +- for x in $SGE_PATH/lib; do
39972 ++ for x in $JPEG_PATH/lib; do
39973 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39974 + ncbi_rp_L_sep=" $CONF_f_libpath"
39975 + done
39976 +- SGE_LIBPATH="${ncbi_rp_L_flags}"
39977 ++ JPEG_LIBPATH="${ncbi_rp_L_flags}"
39978 + else
39979 + ncbi_rp_R_flags=
39980 + ncbi_rp_R_sep=" $CONF_f_runpath"
39981 +- for x in $SGE_PATH/lib; do
39982 ++ for x in $JPEG_PATH/lib; do
39983 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39984 + ncbi_rp_L_sep=" $CONF_f_libpath"
39985 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
39986 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
39987 + ncbi_rp_R_sep=:
39988 + done
39989 +- SGE_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39990 ++ JPEG_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39991 + fi
39992 + fi
39993 +- SGE_LIBS="$SGE_LIBPATH -ldrmaa "
39994 ++ JPEG_LIBS="$JPEG_LIBPATH -ljpeg "
39995 + else
39996 +- SGE_INCLUDE=""
39997 +- SGE_LIBS="-ldrmaa "
39998 ++ JPEG_INCLUDE=""
39999 ++ JPEG_LIBS="-ljpeg "
40000 + in_path=
40001 + fi
40002 +- echo "$as_me:$LINENO: checking for libdrmaa$in_path" >&5
40003 +-echo $ECHO_N "checking for libdrmaa$in_path... $ECHO_C" >&6
40004 +-if test "${ncbi_cv_lib_sge+set}" = set; then
40005 ++ { echo "$as_me:$LINENO: checking for libjpeg$in_path" >&5
40006 ++echo $ECHO_N "checking for libjpeg$in_path... $ECHO_C" >&6; }
40007 ++if test "${ncbi_cv_lib_jpeg+set}" = set; then
40008 + echo $ECHO_N "(cached) $ECHO_C" >&6
40009 + else
40010 +- CPPFLAGS=" $SGE_INCLUDE $orig_CPPFLAGS"
40011 +- LIBS="$SGE_LIBS $orig_LIBS"
40012 ++ CPPFLAGS=" $JPEG_INCLUDE $orig_CPPFLAGS"
40013 ++ LIBS="$JPEG_LIBS $orig_LIBS"
40014 + cat >conftest.$ac_ext <<_ACEOF
40015 + /* confdefs.h. */
40016 + _ACEOF
40017 +@@ -31964,67 +36915,86 @@
40018 + cat >>conftest.$ac_ext <<_ACEOF
40019 + /* end confdefs.h. */
40020 + #include <sys/types.h>
40021 +- #include <drmaa.h>
40022 ++ #include <stdio.h>
40023 ++ extern "C" {
40024 ++ #include <jpeglib.h>
40025 ++ }
40026 + int
40027 + main ()
40028 + {
40029 +-char buf[1024]; drmaa_init("SGE", buf, sizeof(buf));
40030 ++struct jpeg_decompress_struct cinfo;
40031 ++ struct jpeg_error_mgr jerr;
40032 ++ cinfo.err = jpeg_std_error(&jerr);
40033 ++
40034 + ;
40035 + return 0;
40036 + }
40037 + _ACEOF
40038 + rm -f conftest.$ac_objext conftest$ac_exeext
40039 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40040 +- (eval $ac_link) 2>conftest.er1
40041 ++if { (ac_try="$ac_link"
40042 ++case "(($ac_try" in
40043 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40044 ++ *) ac_try_echo=$ac_try;;
40045 ++esac
40046 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40047 ++ (eval "$ac_link") 2>conftest.er1
40048 + ac_status=$?
40049 + grep -v '^ *+' conftest.er1 >conftest.err
40050 + rm -f conftest.er1
40051 + cat conftest.err >&5
40052 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
40053 + (exit $ac_status); } &&
40054 +- { ac_try='test -z "$ac_cxx_werror_flag"
40055 +- || test ! -s conftest.err'
40056 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40057 +- (eval $ac_try) 2>&5
40058 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40059 ++ { (case "(($ac_try" in
40060 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40061 ++ *) ac_try_echo=$ac_try;;
40062 ++esac
40063 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40064 ++ (eval "$ac_try") 2>&5
40065 + ac_status=$?
40066 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
40067 + (exit $ac_status); }; } &&
40068 + { ac_try='test -s conftest$ac_exeext'
40069 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40070 +- (eval $ac_try) 2>&5
40071 ++ { (case "(($ac_try" in
40072 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40073 ++ *) ac_try_echo=$ac_try;;
40074 ++esac
40075 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40076 ++ (eval "$ac_try") 2>&5
40077 + ac_status=$?
40078 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
40079 + (exit $ac_status); }; }; then
40080 +- ncbi_cv_lib_sge=yes
40081 ++ ncbi_cv_lib_jpeg=yes
40082 + else
40083 + echo "$as_me: failed program was:" >&5
40084 + sed 's/^/| /' conftest.$ac_ext >&5
40085 +
40086 +-ncbi_cv_lib_sge=no
40087 ++ ncbi_cv_lib_jpeg=no
40088 + fi
40089 +-rm -f conftest.err conftest.$ac_objext \
40090 ++
40091 ++rm -f core conftest.err conftest.$ac_objext \
40092 + conftest$ac_exeext conftest.$ac_ext
40093 + fi
40094 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_sge" >&5
40095 +-echo "${ECHO_T}$ncbi_cv_lib_sge" >&6
40096 +- if test "$ncbi_cv_lib_sge" = "no"; then
40097 +- if test "${with_sge:=no}" != no; then
40098 +- { { echo "$as_me:$LINENO: error: --with-sge explicitly specified, but no usable version found." >&5
40099 +-echo "$as_me: error: --with-sge explicitly specified, but no usable version found." >&2;}
40100 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_jpeg" >&5
40101 ++echo "${ECHO_T}$ncbi_cv_lib_jpeg" >&6; }
40102 ++ if test "$ncbi_cv_lib_jpeg" = "no"; then
40103 ++ if test "${with_jpeg:=no}" != no; then
40104 ++ { { echo "$as_me:$LINENO: error: --with-jpeg explicitly specified, but no usable version found." >&5
40105 ++echo "$as_me: error: --with-jpeg explicitly specified, but no usable version found." >&2;}
40106 + { (exit 1); exit 1; }; }
40107 + fi
40108 + fi
40109 + fi
40110 +- if test "$with_sge" = "no"; then
40111 +- SGE_PATH="No_SGE"
40112 +- SGE_INCLUDE=
40113 +- SGE_LIBS=
40114 ++ if test "$with_jpeg" = "no"; then
40115 ++ JPEG_PATH="No_JPEG"
40116 ++ JPEG_INCLUDE=
40117 ++ JPEG_LIBS=
40118 + else
40119 +- WithPackages="$WithPackages${WithPackagesSep}SGE"; WithPackagesSep=" "
40120 +- SGE_INCLUDE=" $SGE_INCLUDE"
40121 ++ WithPackages="$WithPackages${WithPackagesSep}JPEG"; WithPackagesSep=" "
40122 ++ JPEG_INCLUDE=" $JPEG_INCLUDE"
40123 +
40124 + cat >>confdefs.h <<\_ACEOF
40125 +-#define HAVE_LIBSGE 1
40126 ++#define HAVE_LIBJPEG 1
40127 + _ACEOF
40128 +
40129 + fi
40130 +@@ -32032,170 +37002,157 @@
40131 +
40132 +
40133 +
40134 +-
40135 +-### muParser
40136 +-case "$with_muparser" in
40137 +- yes | '' ) : ${MUPARSER_PATH=$NCBI/muParser} ;;
40138 +- * ) MUPARSER_PATH=$with_muparser ;;
40139 +-esac
40140 +-
40141 +-if test -d "$MUPARSER_PATH"; then
40142 +- ncbi_fix_dir_tmp=`if cd $MUPARSER_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
40143 +- case "$ncbi_fix_dir_tmp" in
40144 +- /.*) ncbi_fix_dir_tmp2=`cd $MUPARSER_PATH && $smart_pwd 2>/dev/null`
40145 +- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
40146 +- MUPARSER_PATH=$ncbi_fix_dir_tmp2
40147 +- else
40148 +- case "$MUPARSER_PATH" in
40149 +- /*) ;;
40150 +- * ) MUPARSER_PATH=$ncbi_fix_dir_tmp ;;
40151 +- esac
40152 +- fi
40153 +- ;;
40154 +- /*) MUPARSER_PATH=$ncbi_fix_dir_tmp ;;
40155 +- esac
40156 +-fi
40157 +-if test -d "$MUPARSER_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}/lib"; then
40158 +- MUPARSER_LIBPATH=-L$MUPARSER_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}/lib
40159 +-elif test -d "$MUPARSER_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}/lib"; then
40160 +- MUPARSER_LIBPATH=-L$MUPARSER_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}/lib
40161 +-fi
40162 +-
40163 +-if test "$with_muparser" != "no"; then
40164 +- case "$with_muparser" in
40165 ++# : ${PNG_PATH=/usr/sfw}
40166 ++if test "$with_png" != "no"; then
40167 ++ case "$with_png" in
40168 + yes | "" ) ;;
40169 +- * ) MUPARSER_PATH=$with_muparser ;;
40170 ++ * ) PNG_PATH=$with_png ;;
40171 + esac
40172 +- if test -d "$MUPARSER_PATH"; then
40173 +- in_path=" in $MUPARSER_PATH"
40174 +- if test -z "$MUPARSER_INCLUDE" -a -d "$MUPARSER_PATH/include"; then
40175 +- MUPARSER_INCLUDE="-I$MUPARSER_PATH/include"
40176 ++ if test -d "$PNG_PATH"; then
40177 ++ in_path=" in $PNG_PATH"
40178 ++ if test -z "$PNG_INCLUDE" -a -d "$PNG_PATH/include"; then
40179 ++ PNG_INCLUDE="-I$PNG_PATH/include"
40180 + fi
40181 +- if test -n "$MUPARSER_LIBPATH"; then
40182 ++ if test -n "$PNG_LIBPATH"; then
40183 + :
40184 +- elif test -d "$MUPARSER_PATH/lib${bit64_sfx}"; then
40185 ++ elif test -d "$PNG_PATH/lib${bit64_sfx}"; then
40186 + ncbi_rp_L_flags=
40187 + ncbi_rp_L_sep=$CONF_f_libpath
40188 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
40189 +- for x in $MUPARSER_PATH/lib${bit64_sfx}; do
40190 ++ for x in $PNG_PATH/lib${bit64_sfx}; do
40191 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40192 + ncbi_rp_L_sep=" $CONF_f_libpath"
40193 + done
40194 +- MUPARSER_LIBPATH="${ncbi_rp_L_flags}"
40195 ++ PNG_LIBPATH="${ncbi_rp_L_flags}"
40196 + else
40197 + ncbi_rp_R_flags=
40198 + ncbi_rp_R_sep=" $CONF_f_runpath"
40199 +- for x in $MUPARSER_PATH/lib${bit64_sfx}; do
40200 ++ for x in $PNG_PATH/lib${bit64_sfx}; do
40201 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40202 + ncbi_rp_L_sep=" $CONF_f_libpath"
40203 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
40204 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
40205 + ncbi_rp_R_sep=:
40206 + done
40207 +- MUPARSER_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40208 ++ PNG_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40209 + fi
40210 +- elif test -d "$MUPARSER_PATH/lib"; then
40211 ++ elif test -d "$PNG_PATH/lib"; then
40212 + ncbi_rp_L_flags=
40213 + ncbi_rp_L_sep=$CONF_f_libpath
40214 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
40215 +- for x in $MUPARSER_PATH/lib; do
40216 ++ for x in $PNG_PATH/lib; do
40217 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40218 + ncbi_rp_L_sep=" $CONF_f_libpath"
40219 + done
40220 +- MUPARSER_LIBPATH="${ncbi_rp_L_flags}"
40221 ++ PNG_LIBPATH="${ncbi_rp_L_flags}"
40222 + else
40223 + ncbi_rp_R_flags=
40224 + ncbi_rp_R_sep=" $CONF_f_runpath"
40225 +- for x in $MUPARSER_PATH/lib; do
40226 ++ for x in $PNG_PATH/lib; do
40227 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40228 + ncbi_rp_L_sep=" $CONF_f_libpath"
40229 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
40230 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
40231 + ncbi_rp_R_sep=:
40232 + done
40233 +- MUPARSER_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40234 ++ PNG_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40235 + fi
40236 + fi
40237 +- MUPARSER_LIBS="$MUPARSER_LIBPATH -lmuparser "
40238 ++ PNG_LIBS="$PNG_LIBPATH -lpng $Z_LIBS"
40239 + else
40240 +- MUPARSER_INCLUDE=""
40241 +- MUPARSER_LIBS="-lmuparser "
40242 ++ PNG_INCLUDE=""
40243 ++ PNG_LIBS="-lpng $Z_LIBS"
40244 + in_path=
40245 + fi
40246 +- echo "$as_me:$LINENO: checking for libmuparser$in_path" >&5
40247 +-echo $ECHO_N "checking for libmuparser$in_path... $ECHO_C" >&6
40248 +-if test "${ncbi_cv_lib_muparser+set}" = set; then
40249 ++ { echo "$as_me:$LINENO: checking for libpng$in_path" >&5
40250 ++echo $ECHO_N "checking for libpng$in_path... $ECHO_C" >&6; }
40251 ++if test "${ncbi_cv_lib_png+set}" = set; then
40252 + echo $ECHO_N "(cached) $ECHO_C" >&6
40253 + else
40254 +- CPPFLAGS=" $MUPARSER_INCLUDE $orig_CPPFLAGS"
40255 +- LIBS="$MUPARSER_LIBS $orig_LIBS"
40256 ++ CPPFLAGS="$Z_INCLUDE $PNG_INCLUDE $orig_CPPFLAGS"
40257 ++ LIBS="$PNG_LIBS $orig_LIBS"
40258 + cat >conftest.$ac_ext <<_ACEOF
40259 + /* confdefs.h. */
40260 + _ACEOF
40261 + cat confdefs.h >>conftest.$ac_ext
40262 + cat >>conftest.$ac_ext <<_ACEOF
40263 + /* end confdefs.h. */
40264 +-#include <muParser.h>
40265 ++#include <png.h>
40266 + int
40267 + main ()
40268 + {
40269 +-mu::Parser parser;
40270 ++png_structp png_ptr
40271 ++ = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
40272 ++
40273 + ;
40274 + return 0;
40275 + }
40276 + _ACEOF
40277 + rm -f conftest.$ac_objext conftest$ac_exeext
40278 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40279 +- (eval $ac_link) 2>conftest.er1
40280 ++if { (ac_try="$ac_link"
40281 ++case "(($ac_try" in
40282 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40283 ++ *) ac_try_echo=$ac_try;;
40284 ++esac
40285 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40286 ++ (eval "$ac_link") 2>conftest.er1
40287 + ac_status=$?
40288 + grep -v '^ *+' conftest.er1 >conftest.err
40289 + rm -f conftest.er1
40290 + cat conftest.err >&5
40291 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
40292 + (exit $ac_status); } &&
40293 +- { ac_try='test -z "$ac_cxx_werror_flag"
40294 +- || test ! -s conftest.err'
40295 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40296 +- (eval $ac_try) 2>&5
40297 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40298 ++ { (case "(($ac_try" in
40299 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40300 ++ *) ac_try_echo=$ac_try;;
40301 ++esac
40302 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40303 ++ (eval "$ac_try") 2>&5
40304 + ac_status=$?
40305 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
40306 + (exit $ac_status); }; } &&
40307 + { ac_try='test -s conftest$ac_exeext'
40308 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40309 +- (eval $ac_try) 2>&5
40310 ++ { (case "(($ac_try" in
40311 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40312 ++ *) ac_try_echo=$ac_try;;
40313 ++esac
40314 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40315 ++ (eval "$ac_try") 2>&5
40316 + ac_status=$?
40317 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
40318 + (exit $ac_status); }; }; then
40319 +- ncbi_cv_lib_muparser=yes
40320 ++ ncbi_cv_lib_png=yes
40321 + else
40322 + echo "$as_me: failed program was:" >&5
40323 + sed 's/^/| /' conftest.$ac_ext >&5
40324 +
40325 +-ncbi_cv_lib_muparser=no
40326 ++ ncbi_cv_lib_png=no
40327 + fi
40328 +-rm -f conftest.err conftest.$ac_objext \
40329 ++
40330 ++rm -f core conftest.err conftest.$ac_objext \
40331 + conftest$ac_exeext conftest.$ac_ext
40332 + fi
40333 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_muparser" >&5
40334 +-echo "${ECHO_T}$ncbi_cv_lib_muparser" >&6
40335 +- if test "$ncbi_cv_lib_muparser" = "no"; then
40336 +- if test "${with_muparser:=no}" != no; then
40337 +- { { echo "$as_me:$LINENO: error: --with-muparser explicitly specified, but no usable version found." >&5
40338 +-echo "$as_me: error: --with-muparser explicitly specified, but no usable version found." >&2;}
40339 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_png" >&5
40340 ++echo "${ECHO_T}$ncbi_cv_lib_png" >&6; }
40341 ++ if test "$ncbi_cv_lib_png" = "no"; then
40342 ++ if test "${with_png:=no}" != no; then
40343 ++ { { echo "$as_me:$LINENO: error: --with-png explicitly specified, but no usable version found." >&5
40344 ++echo "$as_me: error: --with-png explicitly specified, but no usable version found." >&2;}
40345 + { (exit 1); exit 1; }; }
40346 + fi
40347 + fi
40348 + fi
40349 +- if test "$with_muparser" = "no"; then
40350 +- MUPARSER_PATH="No_MUPARSER"
40351 +- MUPARSER_INCLUDE=
40352 +- MUPARSER_LIBS=
40353 ++ if test "$with_png" = "no"; then
40354 ++ PNG_PATH="No_PNG"
40355 ++ PNG_INCLUDE=
40356 ++ PNG_LIBS=
40357 + else
40358 +- WithPackages="$WithPackages${WithPackagesSep}MUPARSER"; WithPackagesSep=" "
40359 +- MUPARSER_INCLUDE=" $MUPARSER_INCLUDE"
40360 ++ WithPackages="$WithPackages${WithPackagesSep}PNG"; WithPackagesSep=" "
40361 ++ PNG_INCLUDE="$Z_INCLUDE $PNG_INCLUDE"
40362 +
40363 + cat >>confdefs.h <<\_ACEOF
40364 +-#define HAVE_LIBMUPARSER 1
40365 ++#define HAVE_LIBPNG 1
40366 + _ACEOF
40367 +
40368 + fi
40369 +@@ -32203,1627 +37160,1799 @@
40370 +
40371 +
40372 +
40373 +-
40374 +-### hdf5
40375 +-case "$with_hdf5" in
40376 +- yes | '' ) : ${HDF5_PATH=$NCBI/hdf5} ;;
40377 +- * ) HDF5_PATH=$with_hdf5 ;;
40378 +-esac
40379 +-
40380 +-if test -d "$HDF5_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}"; then
40381 +- HDF5_PATH=$HDF5_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}
40382 +-elif test -d "$HDF5_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}"; then
40383 +- HDF5_PATH=$HDF5_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}
40384 +-fi
40385 +-if test -d "$HDF5_PATH"; then
40386 +- ncbi_fix_dir_tmp=`if cd $HDF5_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
40387 +- case "$ncbi_fix_dir_tmp" in
40388 +- /.*) ncbi_fix_dir_tmp2=`cd $HDF5_PATH && $smart_pwd 2>/dev/null`
40389 +- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
40390 +- HDF5_PATH=$ncbi_fix_dir_tmp2
40391 +- else
40392 +- case "$HDF5_PATH" in
40393 +- /*) ;;
40394 +- * ) HDF5_PATH=$ncbi_fix_dir_tmp ;;
40395 +- esac
40396 +- fi
40397 +- ;;
40398 +- /*) HDF5_PATH=$ncbi_fix_dir_tmp ;;
40399 +- esac
40400 +-fi
40401 +-
40402 +-if test "$with_hdf5" != "no"; then
40403 +- case "$with_hdf5" in
40404 ++# : ${TIFF_PATH=/usr/sfw}
40405 ++if test "$with_tiff" != "no"; then
40406 ++ case "$with_tiff" in
40407 + yes | "" ) ;;
40408 +- * ) HDF5_PATH=$with_hdf5 ;;
40409 ++ * ) TIFF_PATH=$with_tiff ;;
40410 + esac
40411 +- if test -d "$HDF5_PATH"; then
40412 +- in_path=" in $HDF5_PATH"
40413 +- if test -z "$HDF5_INCLUDE" -a -d "$HDF5_PATH/include"; then
40414 +- HDF5_INCLUDE="-I$HDF5_PATH/include"
40415 ++ if test -d "$TIFF_PATH"; then
40416 ++ in_path=" in $TIFF_PATH"
40417 ++ if test -z "$TIFF_INCLUDE" -a -d "$TIFF_PATH/include"; then
40418 ++ TIFF_INCLUDE="-I$TIFF_PATH/include"
40419 + fi
40420 +- if test -n "$HDF5_LIBPATH"; then
40421 ++ if test -n "$TIFF_LIBPATH"; then
40422 + :
40423 +- elif test -d "$HDF5_PATH/lib${bit64_sfx}"; then
40424 ++ elif test -d "$TIFF_PATH/lib${bit64_sfx}"; then
40425 + ncbi_rp_L_flags=
40426 + ncbi_rp_L_sep=$CONF_f_libpath
40427 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
40428 +- for x in $HDF5_PATH/lib${bit64_sfx}; do
40429 ++ for x in $TIFF_PATH/lib${bit64_sfx}; do
40430 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40431 + ncbi_rp_L_sep=" $CONF_f_libpath"
40432 + done
40433 +- HDF5_LIBPATH="${ncbi_rp_L_flags}"
40434 ++ TIFF_LIBPATH="${ncbi_rp_L_flags}"
40435 + else
40436 + ncbi_rp_R_flags=
40437 + ncbi_rp_R_sep=" $CONF_f_runpath"
40438 +- for x in $HDF5_PATH/lib${bit64_sfx}; do
40439 ++ for x in $TIFF_PATH/lib${bit64_sfx}; do
40440 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40441 + ncbi_rp_L_sep=" $CONF_f_libpath"
40442 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
40443 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
40444 + ncbi_rp_R_sep=:
40445 + done
40446 +- HDF5_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40447 ++ TIFF_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40448 + fi
40449 +- elif test -d "$HDF5_PATH/lib"; then
40450 ++ elif test -d "$TIFF_PATH/lib"; then
40451 + ncbi_rp_L_flags=
40452 + ncbi_rp_L_sep=$CONF_f_libpath
40453 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
40454 +- for x in $HDF5_PATH/lib; do
40455 ++ for x in $TIFF_PATH/lib; do
40456 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40457 + ncbi_rp_L_sep=" $CONF_f_libpath"
40458 + done
40459 +- HDF5_LIBPATH="${ncbi_rp_L_flags}"
40460 ++ TIFF_LIBPATH="${ncbi_rp_L_flags}"
40461 + else
40462 + ncbi_rp_R_flags=
40463 + ncbi_rp_R_sep=" $CONF_f_runpath"
40464 +- for x in $HDF5_PATH/lib; do
40465 ++ for x in $TIFF_PATH/lib; do
40466 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40467 + ncbi_rp_L_sep=" $CONF_f_libpath"
40468 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
40469 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
40470 + ncbi_rp_R_sep=:
40471 + done
40472 +- HDF5_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40473 ++ TIFF_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40474 + fi
40475 + fi
40476 +- HDF5_LIBS="$HDF5_LIBPATH -lhdf5_cpp -lhdf5"
40477 ++ TIFF_LIBS="$TIFF_LIBPATH -ltiff $Z_LIBS"
40478 + else
40479 +- HDF5_INCLUDE=""
40480 +- HDF5_LIBS="-lhdf5_cpp -lhdf5"
40481 ++ TIFF_INCLUDE=""
40482 ++ TIFF_LIBS="-ltiff $Z_LIBS"
40483 + in_path=
40484 + fi
40485 +- echo "$as_me:$LINENO: checking for libhdf5_cpp$in_path" >&5
40486 +-echo $ECHO_N "checking for libhdf5_cpp$in_path... $ECHO_C" >&6
40487 +-if test "${ncbi_cv_lib_hdf5+set}" = set; then
40488 ++ { echo "$as_me:$LINENO: checking for libtiff$in_path" >&5
40489 ++echo $ECHO_N "checking for libtiff$in_path... $ECHO_C" >&6; }
40490 ++if test "${ncbi_cv_lib_tiff+set}" = set; then
40491 + echo $ECHO_N "(cached) $ECHO_C" >&6
40492 + else
40493 +- CPPFLAGS=" $HDF5_INCLUDE $orig_CPPFLAGS"
40494 +- LIBS="$HDF5_LIBS $orig_LIBS"
40495 ++ CPPFLAGS=" $TIFF_INCLUDE $orig_CPPFLAGS"
40496 ++ LIBS="$TIFF_LIBS $JPEG_LIBS $orig_LIBS"
40497 + cat >conftest.$ac_ext <<_ACEOF
40498 + /* confdefs.h. */
40499 + _ACEOF
40500 + cat confdefs.h >>conftest.$ac_ext
40501 + cat >>conftest.$ac_ext <<_ACEOF
40502 + /* end confdefs.h. */
40503 +-#include <H5Cpp.h>
40504 ++#include <tiffio.h>
40505 + int
40506 + main ()
40507 + {
40508 +-H5::H5Library::open();
40509 ++TIFF* tiff = TIFFOpen("foo", "r");
40510 + ;
40511 + return 0;
40512 + }
40513 + _ACEOF
40514 + rm -f conftest.$ac_objext conftest$ac_exeext
40515 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40516 +- (eval $ac_link) 2>conftest.er1
40517 ++if { (ac_try="$ac_link"
40518 ++case "(($ac_try" in
40519 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40520 ++ *) ac_try_echo=$ac_try;;
40521 ++esac
40522 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40523 ++ (eval "$ac_link") 2>conftest.er1
40524 + ac_status=$?
40525 + grep -v '^ *+' conftest.er1 >conftest.err
40526 + rm -f conftest.er1
40527 + cat conftest.err >&5
40528 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
40529 + (exit $ac_status); } &&
40530 +- { ac_try='test -z "$ac_cxx_werror_flag"
40531 +- || test ! -s conftest.err'
40532 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40533 +- (eval $ac_try) 2>&5
40534 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40535 ++ { (case "(($ac_try" in
40536 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40537 ++ *) ac_try_echo=$ac_try;;
40538 ++esac
40539 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40540 ++ (eval "$ac_try") 2>&5
40541 + ac_status=$?
40542 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
40543 + (exit $ac_status); }; } &&
40544 + { ac_try='test -s conftest$ac_exeext'
40545 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40546 +- (eval $ac_try) 2>&5
40547 ++ { (case "(($ac_try" in
40548 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40549 ++ *) ac_try_echo=$ac_try;;
40550 ++esac
40551 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40552 ++ (eval "$ac_try") 2>&5
40553 + ac_status=$?
40554 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
40555 + (exit $ac_status); }; }; then
40556 +- ncbi_cv_lib_hdf5=yes
40557 ++ ncbi_cv_lib_tiff=yes
40558 + else
40559 + echo "$as_me: failed program was:" >&5
40560 + sed 's/^/| /' conftest.$ac_ext >&5
40561 +
40562 +-ncbi_cv_lib_hdf5=no
40563 ++ ncbi_cv_lib_tiff=no
40564 + fi
40565 +-rm -f conftest.err conftest.$ac_objext \
40566 ++
40567 ++rm -f core conftest.err conftest.$ac_objext \
40568 + conftest$ac_exeext conftest.$ac_ext
40569 + fi
40570 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_hdf5" >&5
40571 +-echo "${ECHO_T}$ncbi_cv_lib_hdf5" >&6
40572 +- if test "$ncbi_cv_lib_hdf5" = "no"; then
40573 +- if test "${with_hdf5:=no}" != no; then
40574 +- { { echo "$as_me:$LINENO: error: --with-hdf5 explicitly specified, but no usable version found." >&5
40575 +-echo "$as_me: error: --with-hdf5 explicitly specified, but no usable version found." >&2;}
40576 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_tiff" >&5
40577 ++echo "${ECHO_T}$ncbi_cv_lib_tiff" >&6; }
40578 ++ if test "$ncbi_cv_lib_tiff" = "no"; then
40579 ++ if test "${with_tiff:=no}" != no; then
40580 ++ { { echo "$as_me:$LINENO: error: --with-tiff explicitly specified, but no usable version found." >&5
40581 ++echo "$as_me: error: --with-tiff explicitly specified, but no usable version found." >&2;}
40582 + { (exit 1); exit 1; }; }
40583 + fi
40584 + fi
40585 + fi
40586 +- if test "$with_hdf5" = "no"; then
40587 +- HDF5_PATH="No_HDF5"
40588 +- HDF5_INCLUDE=
40589 +- HDF5_LIBS=
40590 ++ if test "$with_tiff" = "no"; then
40591 ++ TIFF_PATH="No_TIFF"
40592 ++ TIFF_INCLUDE=
40593 ++ TIFF_LIBS=
40594 + else
40595 +- WithPackages="$WithPackages${WithPackagesSep}HDF5"; WithPackagesSep=" "
40596 +- HDF5_INCLUDE=" $HDF5_INCLUDE"
40597 ++ WithPackages="$WithPackages${WithPackagesSep}TIFF"; WithPackagesSep=" "
40598 ++ TIFF_INCLUDE=" $TIFF_INCLUDE"
40599 +
40600 + cat >>confdefs.h <<\_ACEOF
40601 +-#define HAVE_LIBHDF5 1
40602 ++#define HAVE_LIBTIFF 1
40603 + _ACEOF
40604 +
40605 + fi
40606 +
40607 +
40608 +
40609 ++## etc.
40610 +
40611 +-
40612 +-### Image libraries
40613 +-# : ${JPEG_PATH=/usr/sfw}
40614 +-# Grr... jpeglib.h isn't especially well-behaved.
40615 +-if test "$with_jpeg" != "no"; then
40616 +- case "$with_jpeg" in
40617 ++# Paths?
40618 ++with_ungif=$with_gif
40619 ++if test "$with_ungif" != "no"; then
40620 ++ case "$with_ungif" in
40621 + yes | "" ) ;;
40622 +- * ) JPEG_PATH=$with_jpeg ;;
40623 ++ * ) UNGIF_PATH=$with_ungif ;;
40624 + esac
40625 +- if test -d "$JPEG_PATH"; then
40626 +- in_path=" in $JPEG_PATH"
40627 +- if test -z "$JPEG_INCLUDE" -a -d "$JPEG_PATH/include"; then
40628 +- JPEG_INCLUDE="-I$JPEG_PATH/include"
40629 ++ if test -d "$UNGIF_PATH"; then
40630 ++ in_path=" in $UNGIF_PATH"
40631 ++ if test -z "$UNGIF_INCLUDE" -a -d "$UNGIF_PATH/include"; then
40632 ++ UNGIF_INCLUDE="-I$UNGIF_PATH/include"
40633 + fi
40634 +- if test -n "$JPEG_LIBPATH"; then
40635 ++ if test -n "$UNGIF_LIBPATH"; then
40636 + :
40637 +- elif test -d "$JPEG_PATH/lib${bit64_sfx}"; then
40638 ++ elif test -d "$UNGIF_PATH/lib${bit64_sfx}"; then
40639 + ncbi_rp_L_flags=
40640 + ncbi_rp_L_sep=$CONF_f_libpath
40641 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
40642 +- for x in $JPEG_PATH/lib${bit64_sfx}; do
40643 ++ for x in $UNGIF_PATH/lib${bit64_sfx}; do
40644 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40645 + ncbi_rp_L_sep=" $CONF_f_libpath"
40646 + done
40647 +- JPEG_LIBPATH="${ncbi_rp_L_flags}"
40648 ++ UNGIF_LIBPATH="${ncbi_rp_L_flags}"
40649 + else
40650 + ncbi_rp_R_flags=
40651 + ncbi_rp_R_sep=" $CONF_f_runpath"
40652 +- for x in $JPEG_PATH/lib${bit64_sfx}; do
40653 ++ for x in $UNGIF_PATH/lib${bit64_sfx}; do
40654 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40655 + ncbi_rp_L_sep=" $CONF_f_libpath"
40656 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
40657 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
40658 + ncbi_rp_R_sep=:
40659 + done
40660 +- JPEG_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40661 ++ UNGIF_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40662 + fi
40663 +- elif test -d "$JPEG_PATH/lib"; then
40664 ++ elif test -d "$UNGIF_PATH/lib"; then
40665 + ncbi_rp_L_flags=
40666 + ncbi_rp_L_sep=$CONF_f_libpath
40667 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
40668 +- for x in $JPEG_PATH/lib; do
40669 ++ for x in $UNGIF_PATH/lib; do
40670 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40671 + ncbi_rp_L_sep=" $CONF_f_libpath"
40672 + done
40673 +- JPEG_LIBPATH="${ncbi_rp_L_flags}"
40674 ++ UNGIF_LIBPATH="${ncbi_rp_L_flags}"
40675 + else
40676 + ncbi_rp_R_flags=
40677 + ncbi_rp_R_sep=" $CONF_f_runpath"
40678 +- for x in $JPEG_PATH/lib; do
40679 ++ for x in $UNGIF_PATH/lib; do
40680 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40681 + ncbi_rp_L_sep=" $CONF_f_libpath"
40682 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
40683 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
40684 + ncbi_rp_R_sep=:
40685 + done
40686 +- JPEG_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40687 ++ UNGIF_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40688 + fi
40689 + fi
40690 +- JPEG_LIBS="$JPEG_LIBPATH -ljpeg "
40691 ++ UNGIF_LIBS="$UNGIF_LIBPATH -lungif $X_LIBS -lX11"
40692 + else
40693 +- JPEG_INCLUDE=""
40694 +- JPEG_LIBS="-ljpeg "
40695 ++ UNGIF_INCLUDE=""
40696 ++ UNGIF_LIBS="-lungif $X_LIBS -lX11"
40697 + in_path=
40698 + fi
40699 +- echo "$as_me:$LINENO: checking for libjpeg$in_path" >&5
40700 +-echo $ECHO_N "checking for libjpeg$in_path... $ECHO_C" >&6
40701 +-if test "${ncbi_cv_lib_jpeg+set}" = set; then
40702 ++ { echo "$as_me:$LINENO: checking for libungif$in_path" >&5
40703 ++echo $ECHO_N "checking for libungif$in_path... $ECHO_C" >&6; }
40704 ++if test "${ncbi_cv_lib_ungif+set}" = set; then
40705 + echo $ECHO_N "(cached) $ECHO_C" >&6
40706 + else
40707 +- CPPFLAGS=" $JPEG_INCLUDE $orig_CPPFLAGS"
40708 +- LIBS="$JPEG_LIBS $orig_LIBS"
40709 ++ CPPFLAGS=" $UNGIF_INCLUDE $orig_CPPFLAGS"
40710 ++ LIBS="$UNGIF_LIBS $orig_LIBS"
40711 + cat >conftest.$ac_ext <<_ACEOF
40712 + /* confdefs.h. */
40713 + _ACEOF
40714 + cat confdefs.h >>conftest.$ac_ext
40715 + cat >>conftest.$ac_ext <<_ACEOF
40716 + /* end confdefs.h. */
40717 +-#include <sys/types.h>
40718 +- #include <stdio.h>
40719 + extern "C" {
40720 +- #include <jpeglib.h>
40721 ++ #include <gif_lib.h>
40722 + }
40723 + int
40724 + main ()
40725 + {
40726 +-struct jpeg_decompress_struct cinfo;
40727 +- struct jpeg_error_mgr jerr;
40728 +- cinfo.err = jpeg_std_error(&jerr);
40729 +-
40730 ++GifFileType* fp = DGifOpenFileName("foo");
40731 + ;
40732 + return 0;
40733 + }
40734 + _ACEOF
40735 + rm -f conftest.$ac_objext conftest$ac_exeext
40736 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40737 +- (eval $ac_link) 2>conftest.er1
40738 ++if { (ac_try="$ac_link"
40739 ++case "(($ac_try" in
40740 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40741 ++ *) ac_try_echo=$ac_try;;
40742 ++esac
40743 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40744 ++ (eval "$ac_link") 2>conftest.er1
40745 + ac_status=$?
40746 + grep -v '^ *+' conftest.er1 >conftest.err
40747 + rm -f conftest.er1
40748 + cat conftest.err >&5
40749 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
40750 + (exit $ac_status); } &&
40751 +- { ac_try='test -z "$ac_cxx_werror_flag"
40752 +- || test ! -s conftest.err'
40753 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40754 +- (eval $ac_try) 2>&5
40755 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40756 ++ { (case "(($ac_try" in
40757 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40758 ++ *) ac_try_echo=$ac_try;;
40759 ++esac
40760 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40761 ++ (eval "$ac_try") 2>&5
40762 + ac_status=$?
40763 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
40764 + (exit $ac_status); }; } &&
40765 + { ac_try='test -s conftest$ac_exeext'
40766 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40767 +- (eval $ac_try) 2>&5
40768 ++ { (case "(($ac_try" in
40769 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40770 ++ *) ac_try_echo=$ac_try;;
40771 ++esac
40772 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40773 ++ (eval "$ac_try") 2>&5
40774 + ac_status=$?
40775 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
40776 + (exit $ac_status); }; }; then
40777 +- ncbi_cv_lib_jpeg=yes
40778 ++ ncbi_cv_lib_ungif=yes
40779 + else
40780 + echo "$as_me: failed program was:" >&5
40781 + sed 's/^/| /' conftest.$ac_ext >&5
40782 +
40783 +-ncbi_cv_lib_jpeg=no
40784 ++ ncbi_cv_lib_ungif=no
40785 + fi
40786 +-rm -f conftest.err conftest.$ac_objext \
40787 ++
40788 ++rm -f core conftest.err conftest.$ac_objext \
40789 + conftest$ac_exeext conftest.$ac_ext
40790 + fi
40791 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_jpeg" >&5
40792 +-echo "${ECHO_T}$ncbi_cv_lib_jpeg" >&6
40793 +- if test "$ncbi_cv_lib_jpeg" = "no"; then
40794 +- if test "${with_jpeg:=no}" != no; then
40795 +- { { echo "$as_me:$LINENO: error: --with-jpeg explicitly specified, but no usable version found." >&5
40796 +-echo "$as_me: error: --with-jpeg explicitly specified, but no usable version found." >&2;}
40797 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_ungif" >&5
40798 ++echo "${ECHO_T}$ncbi_cv_lib_ungif" >&6; }
40799 ++ if test "$ncbi_cv_lib_ungif" = "no"; then
40800 ++ if test "${with_ungif:=no}" != no; then
40801 ++ { { echo "$as_me:$LINENO: error: --with-ungif explicitly specified, but no usable version found." >&5
40802 ++echo "$as_me: error: --with-ungif explicitly specified, but no usable version found." >&2;}
40803 + { (exit 1); exit 1; }; }
40804 + fi
40805 + fi
40806 + fi
40807 +- if test "$with_jpeg" = "no"; then
40808 +- JPEG_PATH="No_JPEG"
40809 +- JPEG_INCLUDE=
40810 +- JPEG_LIBS=
40811 ++ if test "$with_ungif" = "no"; then
40812 ++ UNGIF_PATH="No_UNGIF"
40813 ++ UNGIF_INCLUDE=
40814 ++ UNGIF_LIBS=
40815 + else
40816 +- WithPackages="$WithPackages${WithPackagesSep}JPEG"; WithPackagesSep=" "
40817 +- JPEG_INCLUDE=" $JPEG_INCLUDE"
40818 ++ WithPackages="$WithPackages${WithPackagesSep}UNGIF"; WithPackagesSep=" "
40819 ++ UNGIF_INCLUDE=" $UNGIF_INCLUDE"
40820 +
40821 + cat >>confdefs.h <<\_ACEOF
40822 +-#define HAVE_LIBJPEG 1
40823 ++#define HAVE_LIBUNGIF 1
40824 + _ACEOF
40825 +
40826 + fi
40827 +
40828 +
40829 +
40830 +-
40831 +-# : ${PNG_PATH=/usr/sfw}
40832 +-if test "$with_png" != "no"; then
40833 +- case "$with_png" in
40834 ++if test "$with_ungif" = "no"; then
40835 ++ if test "$with_gif" != "no"; then
40836 ++ case "$with_gif" in
40837 + yes | "" ) ;;
40838 +- * ) PNG_PATH=$with_png ;;
40839 ++ * ) GIF_PATH=$with_gif ;;
40840 + esac
40841 +- if test -d "$PNG_PATH"; then
40842 +- in_path=" in $PNG_PATH"
40843 +- if test -z "$PNG_INCLUDE" -a -d "$PNG_PATH/include"; then
40844 +- PNG_INCLUDE="-I$PNG_PATH/include"
40845 ++ if test -d "$GIF_PATH"; then
40846 ++ in_path=" in $GIF_PATH"
40847 ++ if test -z "$GIF_INCLUDE" -a -d "$GIF_PATH/include"; then
40848 ++ GIF_INCLUDE="-I$GIF_PATH/include"
40849 + fi
40850 +- if test -n "$PNG_LIBPATH"; then
40851 ++ if test -n "$GIF_LIBPATH"; then
40852 + :
40853 +- elif test -d "$PNG_PATH/lib${bit64_sfx}"; then
40854 ++ elif test -d "$GIF_PATH/lib${bit64_sfx}"; then
40855 + ncbi_rp_L_flags=
40856 + ncbi_rp_L_sep=$CONF_f_libpath
40857 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
40858 +- for x in $PNG_PATH/lib${bit64_sfx}; do
40859 ++ for x in $GIF_PATH/lib${bit64_sfx}; do
40860 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40861 + ncbi_rp_L_sep=" $CONF_f_libpath"
40862 + done
40863 +- PNG_LIBPATH="${ncbi_rp_L_flags}"
40864 ++ GIF_LIBPATH="${ncbi_rp_L_flags}"
40865 + else
40866 + ncbi_rp_R_flags=
40867 + ncbi_rp_R_sep=" $CONF_f_runpath"
40868 +- for x in $PNG_PATH/lib${bit64_sfx}; do
40869 ++ for x in $GIF_PATH/lib${bit64_sfx}; do
40870 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40871 + ncbi_rp_L_sep=" $CONF_f_libpath"
40872 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
40873 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
40874 + ncbi_rp_R_sep=:
40875 + done
40876 +- PNG_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40877 ++ GIF_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40878 + fi
40879 +- elif test -d "$PNG_PATH/lib"; then
40880 ++ elif test -d "$GIF_PATH/lib"; then
40881 + ncbi_rp_L_flags=
40882 + ncbi_rp_L_sep=$CONF_f_libpath
40883 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
40884 +- for x in $PNG_PATH/lib; do
40885 ++ for x in $GIF_PATH/lib; do
40886 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40887 + ncbi_rp_L_sep=" $CONF_f_libpath"
40888 + done
40889 +- PNG_LIBPATH="${ncbi_rp_L_flags}"
40890 ++ GIF_LIBPATH="${ncbi_rp_L_flags}"
40891 + else
40892 + ncbi_rp_R_flags=
40893 + ncbi_rp_R_sep=" $CONF_f_runpath"
40894 +- for x in $PNG_PATH/lib; do
40895 ++ for x in $GIF_PATH/lib; do
40896 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40897 + ncbi_rp_L_sep=" $CONF_f_libpath"
40898 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
40899 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
40900 + ncbi_rp_R_sep=:
40901 + done
40902 +- PNG_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40903 ++ GIF_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40904 + fi
40905 + fi
40906 +- PNG_LIBS="$PNG_LIBPATH -lpng $Z_LIBS"
40907 ++ GIF_LIBS="$GIF_LIBPATH -lgif $X_LIBS -lX11"
40908 + else
40909 +- PNG_INCLUDE=""
40910 +- PNG_LIBS="-lpng $Z_LIBS"
40911 ++ GIF_INCLUDE=""
40912 ++ GIF_LIBS="-lgif $X_LIBS -lX11"
40913 + in_path=
40914 + fi
40915 +- echo "$as_me:$LINENO: checking for libpng$in_path" >&5
40916 +-echo $ECHO_N "checking for libpng$in_path... $ECHO_C" >&6
40917 +-if test "${ncbi_cv_lib_png+set}" = set; then
40918 ++ { echo "$as_me:$LINENO: checking for libgif$in_path" >&5
40919 ++echo $ECHO_N "checking for libgif$in_path... $ECHO_C" >&6; }
40920 ++if test "${ncbi_cv_lib_gif+set}" = set; then
40921 + echo $ECHO_N "(cached) $ECHO_C" >&6
40922 + else
40923 +- CPPFLAGS="$Z_INCLUDE $PNG_INCLUDE $orig_CPPFLAGS"
40924 +- LIBS="$PNG_LIBS $orig_LIBS"
40925 ++ CPPFLAGS=" $GIF_INCLUDE $orig_CPPFLAGS"
40926 ++ LIBS="$GIF_LIBS $orig_LIBS"
40927 + cat >conftest.$ac_ext <<_ACEOF
40928 + /* confdefs.h. */
40929 + _ACEOF
40930 + cat confdefs.h >>conftest.$ac_ext
40931 + cat >>conftest.$ac_ext <<_ACEOF
40932 + /* end confdefs.h. */
40933 +-#include <png.h>
40934 ++extern "C" {
40935 ++ #include <gif_lib.h>
40936 ++ }
40937 + int
40938 + main ()
40939 + {
40940 +-png_structp png_ptr
40941 +- = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
40942 +-
40943 ++GifFileType* fp = DGifOpenFileName("foo");
40944 + ;
40945 + return 0;
40946 + }
40947 + _ACEOF
40948 + rm -f conftest.$ac_objext conftest$ac_exeext
40949 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40950 +- (eval $ac_link) 2>conftest.er1
40951 ++if { (ac_try="$ac_link"
40952 ++case "(($ac_try" in
40953 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40954 ++ *) ac_try_echo=$ac_try;;
40955 ++esac
40956 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40957 ++ (eval "$ac_link") 2>conftest.er1
40958 + ac_status=$?
40959 + grep -v '^ *+' conftest.er1 >conftest.err
40960 + rm -f conftest.er1
40961 + cat conftest.err >&5
40962 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
40963 + (exit $ac_status); } &&
40964 +- { ac_try='test -z "$ac_cxx_werror_flag"
40965 +- || test ! -s conftest.err'
40966 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40967 +- (eval $ac_try) 2>&5
40968 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40969 ++ { (case "(($ac_try" in
40970 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40971 ++ *) ac_try_echo=$ac_try;;
40972 ++esac
40973 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40974 ++ (eval "$ac_try") 2>&5
40975 + ac_status=$?
40976 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
40977 + (exit $ac_status); }; } &&
40978 + { ac_try='test -s conftest$ac_exeext'
40979 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40980 +- (eval $ac_try) 2>&5
40981 ++ { (case "(($ac_try" in
40982 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40983 ++ *) ac_try_echo=$ac_try;;
40984 ++esac
40985 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40986 ++ (eval "$ac_try") 2>&5
40987 + ac_status=$?
40988 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
40989 + (exit $ac_status); }; }; then
40990 +- ncbi_cv_lib_png=yes
40991 ++ ncbi_cv_lib_gif=yes
40992 + else
40993 + echo "$as_me: failed program was:" >&5
40994 + sed 's/^/| /' conftest.$ac_ext >&5
40995 +
40996 +-ncbi_cv_lib_png=no
40997 ++ ncbi_cv_lib_gif=no
40998 + fi
40999 +-rm -f conftest.err conftest.$ac_objext \
41000 ++
41001 ++rm -f core conftest.err conftest.$ac_objext \
41002 + conftest$ac_exeext conftest.$ac_ext
41003 + fi
41004 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_png" >&5
41005 +-echo "${ECHO_T}$ncbi_cv_lib_png" >&6
41006 +- if test "$ncbi_cv_lib_png" = "no"; then
41007 +- if test "${with_png:=no}" != no; then
41008 +- { { echo "$as_me:$LINENO: error: --with-png explicitly specified, but no usable version found." >&5
41009 +-echo "$as_me: error: --with-png explicitly specified, but no usable version found." >&2;}
41010 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_gif" >&5
41011 ++echo "${ECHO_T}$ncbi_cv_lib_gif" >&6; }
41012 ++ if test "$ncbi_cv_lib_gif" = "no"; then
41013 ++ if test "${with_gif:=no}" != no; then
41014 ++ { { echo "$as_me:$LINENO: error: --with-gif explicitly specified, but no usable version found." >&5
41015 ++echo "$as_me: error: --with-gif explicitly specified, but no usable version found." >&2;}
41016 + { (exit 1); exit 1; }; }
41017 + fi
41018 + fi
41019 + fi
41020 +- if test "$with_png" = "no"; then
41021 +- PNG_PATH="No_PNG"
41022 +- PNG_INCLUDE=
41023 +- PNG_LIBS=
41024 ++ if test "$with_gif" = "no"; then
41025 ++ GIF_PATH="No_GIF"
41026 ++ GIF_INCLUDE=
41027 ++ GIF_LIBS=
41028 + else
41029 +- WithPackages="$WithPackages${WithPackagesSep}PNG"; WithPackagesSep=" "
41030 +- PNG_INCLUDE="$Z_INCLUDE $PNG_INCLUDE"
41031 ++ WithPackages="$WithPackages${WithPackagesSep}GIF"; WithPackagesSep=" "
41032 ++ GIF_INCLUDE=" $GIF_INCLUDE"
41033 +
41034 + cat >>confdefs.h <<\_ACEOF
41035 +-#define HAVE_LIBPNG 1
41036 ++#define HAVE_LIBGIF 1
41037 + _ACEOF
41038 +
41039 + fi
41040 +
41041 +
41042 +
41043 ++else
41044 +
41045 +-# : ${TIFF_PATH=/usr/sfw}
41046 +-if test "$with_tiff" != "no"; then
41047 +- case "$with_tiff" in
41048 ++cat >>confdefs.h <<\_ACEOF
41049 ++#define HAVE_LIBGIF 1
41050 ++_ACEOF
41051 ++
41052 ++ GIF_INCLUDE=$UNGIF_INCLUDE
41053 ++ GIF_LIBS=$UNGIF_LIBS
41054 ++fi
41055 ++
41056 ++case "$x_libraries" in */*) : ${XPM_PATH=`dirname "$x_libraries"`} ;; esac
41057 ++if test "$with_xpm" != "no"; then
41058 ++ case "$with_xpm" in
41059 + yes | "" ) ;;
41060 +- * ) TIFF_PATH=$with_tiff ;;
41061 ++ * ) XPM_PATH=$with_xpm ;;
41062 + esac
41063 +- if test -d "$TIFF_PATH"; then
41064 +- in_path=" in $TIFF_PATH"
41065 +- if test -z "$TIFF_INCLUDE" -a -d "$TIFF_PATH/include"; then
41066 +- TIFF_INCLUDE="-I$TIFF_PATH/include"
41067 ++ if test -d "$XPM_PATH"; then
41068 ++ in_path=" in $XPM_PATH"
41069 ++ if test -z "$XPM_INCLUDE" -a -d "$XPM_PATH/include"; then
41070 ++ XPM_INCLUDE="-I$XPM_PATH/include"
41071 + fi
41072 +- if test -n "$TIFF_LIBPATH"; then
41073 ++ if test -n "$XPM_LIBPATH"; then
41074 + :
41075 +- elif test -d "$TIFF_PATH/lib${bit64_sfx}"; then
41076 ++ elif test -d "$XPM_PATH/lib${bit64_sfx}"; then
41077 + ncbi_rp_L_flags=
41078 + ncbi_rp_L_sep=$CONF_f_libpath
41079 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
41080 +- for x in $TIFF_PATH/lib${bit64_sfx}; do
41081 ++ for x in $XPM_PATH/lib${bit64_sfx}; do
41082 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41083 + ncbi_rp_L_sep=" $CONF_f_libpath"
41084 + done
41085 +- TIFF_LIBPATH="${ncbi_rp_L_flags}"
41086 ++ XPM_LIBPATH="${ncbi_rp_L_flags}"
41087 + else
41088 + ncbi_rp_R_flags=
41089 + ncbi_rp_R_sep=" $CONF_f_runpath"
41090 +- for x in $TIFF_PATH/lib${bit64_sfx}; do
41091 ++ for x in $XPM_PATH/lib${bit64_sfx}; do
41092 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41093 + ncbi_rp_L_sep=" $CONF_f_libpath"
41094 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
41095 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
41096 + ncbi_rp_R_sep=:
41097 + done
41098 +- TIFF_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
41099 ++ XPM_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
41100 + fi
41101 +- elif test -d "$TIFF_PATH/lib"; then
41102 ++ elif test -d "$XPM_PATH/lib"; then
41103 + ncbi_rp_L_flags=
41104 + ncbi_rp_L_sep=$CONF_f_libpath
41105 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
41106 +- for x in $TIFF_PATH/lib; do
41107 ++ for x in $XPM_PATH/lib; do
41108 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41109 + ncbi_rp_L_sep=" $CONF_f_libpath"
41110 + done
41111 +- TIFF_LIBPATH="${ncbi_rp_L_flags}"
41112 ++ XPM_LIBPATH="${ncbi_rp_L_flags}"
41113 + else
41114 + ncbi_rp_R_flags=
41115 + ncbi_rp_R_sep=" $CONF_f_runpath"
41116 +- for x in $TIFF_PATH/lib; do
41117 ++ for x in $XPM_PATH/lib; do
41118 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41119 + ncbi_rp_L_sep=" $CONF_f_libpath"
41120 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
41121 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
41122 + ncbi_rp_R_sep=:
41123 + done
41124 +- TIFF_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
41125 ++ XPM_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
41126 + fi
41127 + fi
41128 +- TIFF_LIBS="$TIFF_LIBPATH -ltiff $Z_LIBS"
41129 ++ XPM_LIBS="$XPM_LIBPATH -lXpm $X_LIBS -lX11"
41130 + else
41131 +- TIFF_INCLUDE=""
41132 +- TIFF_LIBS="-ltiff $Z_LIBS"
41133 ++ XPM_INCLUDE=""
41134 ++ XPM_LIBS="-lXpm $X_LIBS -lX11"
41135 + in_path=
41136 + fi
41137 +- echo "$as_me:$LINENO: checking for libtiff$in_path" >&5
41138 +-echo $ECHO_N "checking for libtiff$in_path... $ECHO_C" >&6
41139 +-if test "${ncbi_cv_lib_tiff+set}" = set; then
41140 ++ { echo "$as_me:$LINENO: checking for libXpm$in_path" >&5
41141 ++echo $ECHO_N "checking for libXpm$in_path... $ECHO_C" >&6; }
41142 ++if test "${ncbi_cv_lib_xpm+set}" = set; then
41143 + echo $ECHO_N "(cached) $ECHO_C" >&6
41144 + else
41145 +- CPPFLAGS=" $TIFF_INCLUDE $orig_CPPFLAGS"
41146 +- LIBS="$TIFF_LIBS $JPEG_LIBS $orig_LIBS"
41147 ++ CPPFLAGS="$X_CFLAGS $XPM_INCLUDE $orig_CPPFLAGS"
41148 ++ LIBS="$XPM_LIBS $orig_LIBS"
41149 + cat >conftest.$ac_ext <<_ACEOF
41150 + /* confdefs.h. */
41151 + _ACEOF
41152 + cat confdefs.h >>conftest.$ac_ext
41153 + cat >>conftest.$ac_ext <<_ACEOF
41154 + /* end confdefs.h. */
41155 +-#include <tiffio.h>
41156 ++#include <X11/xpm.h>
41157 + int
41158 + main ()
41159 + {
41160 +-TIFF* tiff = TIFFOpen("foo", "r");
41161 ++XpmImage image; XpmInfo info;
41162 ++ XpmReadFileToXpmImage("foo", &image, &info);
41163 + ;
41164 + return 0;
41165 + }
41166 + _ACEOF
41167 + rm -f conftest.$ac_objext conftest$ac_exeext
41168 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41169 +- (eval $ac_link) 2>conftest.er1
41170 ++if { (ac_try="$ac_link"
41171 ++case "(($ac_try" in
41172 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41173 ++ *) ac_try_echo=$ac_try;;
41174 ++esac
41175 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41176 ++ (eval "$ac_link") 2>conftest.er1
41177 + ac_status=$?
41178 + grep -v '^ *+' conftest.er1 >conftest.err
41179 + rm -f conftest.er1
41180 + cat conftest.err >&5
41181 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
41182 + (exit $ac_status); } &&
41183 +- { ac_try='test -z "$ac_cxx_werror_flag"
41184 +- || test ! -s conftest.err'
41185 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41186 +- (eval $ac_try) 2>&5
41187 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41188 ++ { (case "(($ac_try" in
41189 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41190 ++ *) ac_try_echo=$ac_try;;
41191 ++esac
41192 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41193 ++ (eval "$ac_try") 2>&5
41194 + ac_status=$?
41195 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
41196 + (exit $ac_status); }; } &&
41197 + { ac_try='test -s conftest$ac_exeext'
41198 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41199 +- (eval $ac_try) 2>&5
41200 ++ { (case "(($ac_try" in
41201 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41202 ++ *) ac_try_echo=$ac_try;;
41203 ++esac
41204 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41205 ++ (eval "$ac_try") 2>&5
41206 + ac_status=$?
41207 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
41208 + (exit $ac_status); }; }; then
41209 +- ncbi_cv_lib_tiff=yes
41210 ++ ncbi_cv_lib_xpm=yes
41211 + else
41212 + echo "$as_me: failed program was:" >&5
41213 + sed 's/^/| /' conftest.$ac_ext >&5
41214 +
41215 +-ncbi_cv_lib_tiff=no
41216 ++ ncbi_cv_lib_xpm=no
41217 + fi
41218 +-rm -f conftest.err conftest.$ac_objext \
41219 ++
41220 ++rm -f core conftest.err conftest.$ac_objext \
41221 + conftest$ac_exeext conftest.$ac_ext
41222 + fi
41223 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_tiff" >&5
41224 +-echo "${ECHO_T}$ncbi_cv_lib_tiff" >&6
41225 +- if test "$ncbi_cv_lib_tiff" = "no"; then
41226 +- if test "${with_tiff:=no}" != no; then
41227 +- { { echo "$as_me:$LINENO: error: --with-tiff explicitly specified, but no usable version found." >&5
41228 +-echo "$as_me: error: --with-tiff explicitly specified, but no usable version found." >&2;}
41229 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_xpm" >&5
41230 ++echo "${ECHO_T}$ncbi_cv_lib_xpm" >&6; }
41231 ++ if test "$ncbi_cv_lib_xpm" = "no"; then
41232 ++ if test "${with_xpm:=no}" != no; then
41233 ++ { { echo "$as_me:$LINENO: error: --with-xpm explicitly specified, but no usable version found." >&5
41234 ++echo "$as_me: error: --with-xpm explicitly specified, but no usable version found." >&2;}
41235 + { (exit 1); exit 1; }; }
41236 + fi
41237 + fi
41238 + fi
41239 +- if test "$with_tiff" = "no"; then
41240 +- TIFF_PATH="No_TIFF"
41241 +- TIFF_INCLUDE=
41242 +- TIFF_LIBS=
41243 ++ if test "$with_xpm" = "no"; then
41244 ++ XPM_PATH="No_XPM"
41245 ++ XPM_INCLUDE=
41246 ++ XPM_LIBS=
41247 + else
41248 +- WithPackages="$WithPackages${WithPackagesSep}TIFF"; WithPackagesSep=" "
41249 +- TIFF_INCLUDE=" $TIFF_INCLUDE"
41250 ++ WithPackages="$WithPackages${WithPackagesSep}XPM"; WithPackagesSep=" "
41251 ++ XPM_INCLUDE="$X_CFLAGS $XPM_INCLUDE"
41252 +
41253 + cat >>confdefs.h <<\_ACEOF
41254 +-#define HAVE_LIBTIFF 1
41255 ++#define HAVE_LIBXPM 1
41256 + _ACEOF
41257 +
41258 + fi
41259 +
41260 +
41261 +
41262 +-## etc.
41263 ++# The use of X_CFLAGS is probably redundant, but shouldn't hurt.
41264 +
41265 +-# Paths?
41266 +-with_ungif=$with_gif
41267 +-if test "$with_ungif" != "no"; then
41268 +- case "$with_ungif" in
41269 +- yes | "" ) ;;
41270 +- * ) UNGIF_PATH=$with_ungif ;;
41271 +- esac
41272 +- if test -d "$UNGIF_PATH"; then
41273 +- in_path=" in $UNGIF_PATH"
41274 +- if test -z "$UNGIF_INCLUDE" -a -d "$UNGIF_PATH/include"; then
41275 +- UNGIF_INCLUDE="-I$UNGIF_PATH/include"
41276 +- fi
41277 +- if test -n "$UNGIF_LIBPATH"; then
41278 +- :
41279 +- elif test -d "$UNGIF_PATH/lib${bit64_sfx}"; then
41280 +- ncbi_rp_L_flags=
41281 +- ncbi_rp_L_sep=$CONF_f_libpath
41282 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
41283 +- for x in $UNGIF_PATH/lib${bit64_sfx}; do
41284 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41285 +- ncbi_rp_L_sep=" $CONF_f_libpath"
41286 ++## FreeType and FTGL
41287 ++if test "$with_freetype" != "no" ; then
41288 ++ : ${FREETYPE_BINPATH=$FREETYPE_PATH/bin}
41289 ++ # Extract the first word of "freetype-config", so it can be a program name with args.
41290 ++set dummy freetype-config; ac_word=$2
41291 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
41292 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41293 ++if test "${ac_cv_path_freetype_config+set}" = set; then
41294 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
41295 ++else
41296 ++ case $freetype_config in
41297 ++ [\\/]* | ?:[\\/]*)
41298 ++ ac_cv_path_freetype_config="$freetype_config" # Let the user override the test with a path.
41299 ++ ;;
41300 ++ *)
41301 ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41302 ++as_dummy="$FREETYPE_BINPATH:$PATH"
41303 ++for as_dir in $as_dummy
41304 ++do
41305 ++ IFS=$as_save_IFS
41306 ++ test -z "$as_dir" && as_dir=.
41307 ++ for ac_exec_ext in '' $ac_executable_extensions; do
41308 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
41309 ++ ac_cv_path_freetype_config="$as_dir/$ac_word$ac_exec_ext"
41310 ++ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41311 ++ break 2
41312 ++ fi
41313 + done
41314 +- UNGIF_LIBPATH="${ncbi_rp_L_flags}"
41315 +- else
41316 +- ncbi_rp_R_flags=
41317 +- ncbi_rp_R_sep=" $CONF_f_runpath"
41318 +- for x in $UNGIF_PATH/lib${bit64_sfx}; do
41319 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41320 +- ncbi_rp_L_sep=" $CONF_f_libpath"
41321 +- x=`echo $x | sed -e "$ncbi_rpath_sed"`
41322 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
41323 +- ncbi_rp_R_sep=:
41324 + done
41325 +- UNGIF_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
41326 ++IFS=$as_save_IFS
41327 ++
41328 ++ ;;
41329 ++esac
41330 + fi
41331 +- elif test -d "$UNGIF_PATH/lib"; then
41332 +- ncbi_rp_L_flags=
41333 +- ncbi_rp_L_sep=$CONF_f_libpath
41334 ++freetype_config=$ac_cv_path_freetype_config
41335 ++if test -n "$freetype_config"; then
41336 ++ { echo "$as_me:$LINENO: result: $freetype_config" >&5
41337 ++echo "${ECHO_T}$freetype_config" >&6; }
41338 ++else
41339 ++ { echo "$as_me:$LINENO: result: no" >&5
41340 ++echo "${ECHO_T}no" >&6; }
41341 ++fi
41342 ++
41343 ++
41344 ++ if test -n "$freetype_config" ; then
41345 ++ : ${FREETYPE_BINPATH=`dirname $freetype_config`}
41346 ++ : ${FREETYPE_INCLUDE=`$freetype_config --cflags`}
41347 ++ if test -z "${FREETYPE_LIBS+set}"; then
41348 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
41349 +- for x in $UNGIF_PATH/lib; do
41350 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41351 +- ncbi_rp_L_sep=" $CONF_f_libpath"
41352 +- done
41353 +- UNGIF_LIBPATH="${ncbi_rp_L_flags}"
41354 ++ FREETYPE_LIBS=`$freetype_config --libs | sed -e "$no_usr_lib"`
41355 + else
41356 ++ FREETYPE_LIBS=
41357 ++ ncbi_rp_L_sep=
41358 + ncbi_rp_R_flags=
41359 + ncbi_rp_R_sep=" $CONF_f_runpath"
41360 +- for x in $UNGIF_PATH/lib; do
41361 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41362 +- ncbi_rp_L_sep=" $CONF_f_libpath"
41363 +- x=`echo $x | sed -e "$ncbi_rpath_sed"`
41364 ++ for x in `$freetype_config --libs | sed -e "$no_usr_lib"`; do
41365 ++ case "$x" in
41366 ++ -L*)
41367 ++ FREETYPE_LIBS="$FREETYPE_LIBS${ncbi_rp_L_sep}$x"
41368 ++ x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
41369 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
41370 + ncbi_rp_R_sep=:
41371 ++ ;;
41372 ++ *)
41373 ++ FREETYPE_LIBS="$FREETYPE_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
41374 ++ ncbi_rp_R_flags=
41375 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
41376 ++ ;;
41377 ++ esac
41378 ++ ncbi_rp_L_sep=" "
41379 + done
41380 +- UNGIF_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
41381 ++ FREETYPE_LIBS="$FREETYPE_LIBS${ncbi_rp_R_flags}"
41382 + fi
41383 + fi
41384 +- UNGIF_LIBS="$UNGIF_LIBPATH -lungif $X_LIBS -lX11"
41385 +- else
41386 +- UNGIF_INCLUDE=""
41387 +- UNGIF_LIBS="-lungif $X_LIBS -lX11"
41388 +- in_path=
41389 ++ case "$host_os:$bit64_sfx" in
41390 ++ solaris*:64 )
41391 ++ ftprefix=`$freetype_config --exec-prefix`
41392 ++ if test -d "$ftprefix/lib/64"; then
41393 ++ FREETYPE_LIBS=`echo $FREETYPE_LIBS \
41394 ++ | sed -e "s,$ftprefix/lib ,$ftprefix/lib/64 ,g"`
41395 + fi
41396 +- echo "$as_me:$LINENO: checking for libungif$in_path" >&5
41397 +-echo $ECHO_N "checking for libungif$in_path... $ECHO_C" >&6
41398 +-if test "${ncbi_cv_lib_ungif+set}" = set; then
41399 ++ ;;
41400 ++ esac
41401 ++ { echo "$as_me:$LINENO: checking whether FREETYPE_INCLUDE needs doctoring" >&5
41402 ++echo $ECHO_N "checking whether FREETYPE_INCLUDE needs doctoring... $ECHO_C" >&6; }
41403 ++if test "${ncbi_cv_lib_freetype_fix_include+set}" = set; then
41404 + echo $ECHO_N "(cached) $ECHO_C" >&6
41405 + else
41406 +- CPPFLAGS=" $UNGIF_INCLUDE $orig_CPPFLAGS"
41407 +- LIBS="$UNGIF_LIBS $orig_LIBS"
41408 ++ CPPFLAGS="$FREETYPE_INCLUDE $orig_CPPFLAGS"
41409 + cat >conftest.$ac_ext <<_ACEOF
41410 + /* confdefs.h. */
41411 + _ACEOF
41412 + cat confdefs.h >>conftest.$ac_ext
41413 + cat >>conftest.$ac_ext <<_ACEOF
41414 + /* end confdefs.h. */
41415 +-extern "C" {
41416 +- #include <gif_lib.h>
41417 +- }
41418 ++#include <ft2build.h>
41419 + int
41420 + main ()
41421 + {
41422 +-GifFileType* fp = DGifOpenFileName("foo");
41423 ++
41424 + ;
41425 + return 0;
41426 + }
41427 + _ACEOF
41428 +-rm -f conftest.$ac_objext conftest$ac_exeext
41429 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41430 +- (eval $ac_link) 2>conftest.er1
41431 ++rm -f conftest.$ac_objext
41432 ++if { (ac_try="$ac_compile"
41433 ++case "(($ac_try" in
41434 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41435 ++ *) ac_try_echo=$ac_try;;
41436 ++esac
41437 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41438 ++ (eval "$ac_compile") 2>conftest.er1
41439 + ac_status=$?
41440 + grep -v '^ *+' conftest.er1 >conftest.err
41441 + rm -f conftest.er1
41442 + cat conftest.err >&5
41443 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
41444 + (exit $ac_status); } &&
41445 +- { ac_try='test -z "$ac_cxx_werror_flag"
41446 +- || test ! -s conftest.err'
41447 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41448 +- (eval $ac_try) 2>&5
41449 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41450 ++ { (case "(($ac_try" in
41451 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41452 ++ *) ac_try_echo=$ac_try;;
41453 ++esac
41454 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41455 ++ (eval "$ac_try") 2>&5
41456 + ac_status=$?
41457 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
41458 + (exit $ac_status); }; } &&
41459 +- { ac_try='test -s conftest$ac_exeext'
41460 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41461 +- (eval $ac_try) 2>&5
41462 ++ { ac_try='test -s conftest.$ac_objext'
41463 ++ { (case "(($ac_try" in
41464 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41465 ++ *) ac_try_echo=$ac_try;;
41466 ++esac
41467 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41468 ++ (eval "$ac_try") 2>&5
41469 + ac_status=$?
41470 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
41471 + (exit $ac_status); }; }; then
41472 +- ncbi_cv_lib_ungif=yes
41473 ++ ncbi_cv_lib_freetype_fix_include=no
41474 + else
41475 + echo "$as_me: failed program was:" >&5
41476 + sed 's/^/| /' conftest.$ac_ext >&5
41477 +
41478 +-ncbi_cv_lib_ungif=no
41479 +-fi
41480 +-rm -f conftest.err conftest.$ac_objext \
41481 +- conftest$ac_exeext conftest.$ac_ext
41482 +-fi
41483 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_ungif" >&5
41484 +-echo "${ECHO_T}$ncbi_cv_lib_ungif" >&6
41485 +- if test "$ncbi_cv_lib_ungif" = "no"; then
41486 +- if test "${with_ungif:=no}" != no; then
41487 +- { { echo "$as_me:$LINENO: error: --with-ungif explicitly specified, but no usable version found." >&5
41488 +-echo "$as_me: error: --with-ungif explicitly specified, but no usable version found." >&2;}
41489 +- { (exit 1); exit 1; }; }
41490 +- fi
41491 +- fi
41492 +- fi
41493 +- if test "$with_ungif" = "no"; then
41494 +- UNGIF_PATH="No_UNGIF"
41495 +- UNGIF_INCLUDE=
41496 +- UNGIF_LIBS=
41497 +- else
41498 +- WithPackages="$WithPackages${WithPackagesSep}UNGIF"; WithPackagesSep=" "
41499 +- UNGIF_INCLUDE=" $UNGIF_INCLUDE"
41500 +-
41501 +-cat >>confdefs.h <<\_ACEOF
41502 +-#define HAVE_LIBUNGIF 1
41503 +-_ACEOF
41504 +-
41505 ++ ncbi_cv_lib_freetype_fix_include=yes
41506 + fi
41507 +
41508 +-
41509 +-
41510 +-if test "$with_ungif" = "no"; then
41511 +- if test "$with_gif" != "no"; then
41512 +- case "$with_gif" in
41513 +- yes | "" ) ;;
41514 +- * ) GIF_PATH=$with_gif ;;
41515 +- esac
41516 +- if test -d "$GIF_PATH"; then
41517 +- in_path=" in $GIF_PATH"
41518 +- if test -z "$GIF_INCLUDE" -a -d "$GIF_PATH/include"; then
41519 +- GIF_INCLUDE="-I$GIF_PATH/include"
41520 +- fi
41521 +- if test -n "$GIF_LIBPATH"; then
41522 +- :
41523 +- elif test -d "$GIF_PATH/lib${bit64_sfx}"; then
41524 +- ncbi_rp_L_flags=
41525 +- ncbi_rp_L_sep=$CONF_f_libpath
41526 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
41527 +- for x in $GIF_PATH/lib${bit64_sfx}; do
41528 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41529 +- ncbi_rp_L_sep=" $CONF_f_libpath"
41530 +- done
41531 +- GIF_LIBPATH="${ncbi_rp_L_flags}"
41532 +- else
41533 +- ncbi_rp_R_flags=
41534 +- ncbi_rp_R_sep=" $CONF_f_runpath"
41535 +- for x in $GIF_PATH/lib${bit64_sfx}; do
41536 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41537 +- ncbi_rp_L_sep=" $CONF_f_libpath"
41538 +- x=`echo $x | sed -e "$ncbi_rpath_sed"`
41539 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
41540 +- ncbi_rp_R_sep=:
41541 +- done
41542 +- GIF_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
41543 +- fi
41544 +- elif test -d "$GIF_PATH/lib"; then
41545 +- ncbi_rp_L_flags=
41546 +- ncbi_rp_L_sep=$CONF_f_libpath
41547 +- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
41548 +- for x in $GIF_PATH/lib; do
41549 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41550 +- ncbi_rp_L_sep=" $CONF_f_libpath"
41551 +- done
41552 +- GIF_LIBPATH="${ncbi_rp_L_flags}"
41553 +- else
41554 +- ncbi_rp_R_flags=
41555 +- ncbi_rp_R_sep=" $CONF_f_runpath"
41556 +- for x in $GIF_PATH/lib; do
41557 +- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41558 +- ncbi_rp_L_sep=" $CONF_f_libpath"
41559 +- x=`echo $x | sed -e "$ncbi_rpath_sed"`
41560 +- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
41561 +- ncbi_rp_R_sep=:
41562 +- done
41563 +- GIF_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
41564 +- fi
41565 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41566 + fi
41567 +- GIF_LIBS="$GIF_LIBPATH -lgif $X_LIBS -lX11"
41568 +- else
41569 +- GIF_INCLUDE=""
41570 +- GIF_LIBS="-lgif $X_LIBS -lX11"
41571 +- in_path=
41572 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_freetype_fix_include" >&5
41573 ++echo "${ECHO_T}$ncbi_cv_lib_freetype_fix_include" >&6; }
41574 ++ if test "$ncbi_cv_lib_freetype_fix_include" = yes; then
41575 ++ FREETYPE_INCLUDE=`echo "$FREETYPE_INCLUDE" |\
41576 ++ sed -e 's:\(-I[^ ]*\)\(/freetype2\):\1 \1\2:g'`
41577 + fi
41578 +- echo "$as_me:$LINENO: checking for libgif$in_path" >&5
41579 +-echo $ECHO_N "checking for libgif$in_path... $ECHO_C" >&6
41580 +-if test "${ncbi_cv_lib_gif+set}" = set; then
41581 ++ { echo "$as_me:$LINENO: checking whether FreeType works" >&5
41582 ++echo $ECHO_N "checking whether FreeType works... $ECHO_C" >&6; }
41583 ++if test "${ncbi_cv_lib_freetype+set}" = set; then
41584 + echo $ECHO_N "(cached) $ECHO_C" >&6
41585 + else
41586 +- CPPFLAGS=" $GIF_INCLUDE $orig_CPPFLAGS"
41587 +- LIBS="$GIF_LIBS $orig_LIBS"
41588 ++ CPPFLAGS="$FREETYPE_INCLUDE $orig_CPPFLAGS"
41589 ++ LIBS="$FREETYPE_LIBS $orig_LIBS"
41590 + cat >conftest.$ac_ext <<_ACEOF
41591 + /* confdefs.h. */
41592 + _ACEOF
41593 + cat confdefs.h >>conftest.$ac_ext
41594 + cat >>conftest.$ac_ext <<_ACEOF
41595 + /* end confdefs.h. */
41596 +-extern "C" {
41597 +- #include <gif_lib.h>
41598 +- }
41599 ++#include <ft2build.h>
41600 ++ #include FT_FREETYPE_H
41601 + int
41602 + main ()
41603 + {
41604 +-GifFileType* fp = DGifOpenFileName("foo");
41605 ++FT_Select_Charmap(NULL, ft_encoding_unicode);
41606 + ;
41607 + return 0;
41608 + }
41609 + _ACEOF
41610 + rm -f conftest.$ac_objext conftest$ac_exeext
41611 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41612 +- (eval $ac_link) 2>conftest.er1
41613 ++if { (ac_try="$ac_link"
41614 ++case "(($ac_try" in
41615 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41616 ++ *) ac_try_echo=$ac_try;;
41617 ++esac
41618 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41619 ++ (eval "$ac_link") 2>conftest.er1
41620 + ac_status=$?
41621 + grep -v '^ *+' conftest.er1 >conftest.err
41622 + rm -f conftest.er1
41623 + cat conftest.err >&5
41624 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
41625 + (exit $ac_status); } &&
41626 +- { ac_try='test -z "$ac_cxx_werror_flag"
41627 +- || test ! -s conftest.err'
41628 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41629 +- (eval $ac_try) 2>&5
41630 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41631 ++ { (case "(($ac_try" in
41632 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41633 ++ *) ac_try_echo=$ac_try;;
41634 ++esac
41635 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41636 ++ (eval "$ac_try") 2>&5
41637 + ac_status=$?
41638 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
41639 + (exit $ac_status); }; } &&
41640 + { ac_try='test -s conftest$ac_exeext'
41641 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41642 +- (eval $ac_try) 2>&5
41643 ++ { (case "(($ac_try" in
41644 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41645 ++ *) ac_try_echo=$ac_try;;
41646 ++esac
41647 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41648 ++ (eval "$ac_try") 2>&5
41649 + ac_status=$?
41650 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
41651 + (exit $ac_status); }; }; then
41652 +- ncbi_cv_lib_gif=yes
41653 ++ ncbi_cv_lib_freetype=yes
41654 + else
41655 + echo "$as_me: failed program was:" >&5
41656 + sed 's/^/| /' conftest.$ac_ext >&5
41657 +
41658 +-ncbi_cv_lib_gif=no
41659 ++ ncbi_cv_lib_freetype=no
41660 + fi
41661 +-rm -f conftest.err conftest.$ac_objext \
41662 ++
41663 ++rm -f core conftest.err conftest.$ac_objext \
41664 + conftest$ac_exeext conftest.$ac_ext
41665 + fi
41666 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_gif" >&5
41667 +-echo "${ECHO_T}$ncbi_cv_lib_gif" >&6
41668 +- if test "$ncbi_cv_lib_gif" = "no"; then
41669 +- if test "${with_gif:=no}" != no; then
41670 +- { { echo "$as_me:$LINENO: error: --with-gif explicitly specified, but no usable version found." >&5
41671 +-echo "$as_me: error: --with-gif explicitly specified, but no usable version found." >&2;}
41672 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_freetype" >&5
41673 ++echo "${ECHO_T}$ncbi_cv_lib_freetype" >&6; }
41674 ++ if test "$ncbi_cv_lib_freetype" = no; then
41675 ++ if test "${with_freetype:=no}" != no; then
41676 ++ { { echo "$as_me:$LINENO: error: --with-freetype explicitly specified, but no usable version found." >&5
41677 ++echo "$as_me: error: --with-freetype explicitly specified, but no usable version found." >&2;}
41678 ++ { (exit 1); exit 1; }; }
41679 ++ fi
41680 ++ fi
41681 ++ else
41682 ++ if test "${with_freetype:=no}" != no; then
41683 ++ { { echo "$as_me:$LINENO: error: --with-freetype explicitly specified, but no usable version found." >&5
41684 ++echo "$as_me: error: --with-freetype explicitly specified, but no usable version found." >&2;}
41685 + { (exit 1); exit 1; }; }
41686 + fi
41687 + fi
41688 + fi
41689 +- if test "$with_gif" = "no"; then
41690 +- GIF_PATH="No_GIF"
41691 +- GIF_INCLUDE=
41692 +- GIF_LIBS=
41693 ++if test "$with_freetype" = "no" ; then
41694 ++ FREETYPE_PATH="No_FREETYPE"
41695 ++ FREETYPE_INCLUDE=
41696 ++ FREETYPE_LIBS=
41697 ++else
41698 ++ WithPackages="$WithPackages${WithPackagesSep}FreeType"; WithPackagesSep=" "
41699 ++
41700 ++cat >>confdefs.h <<\_ACEOF
41701 ++#define HAVE_FREETYPE 1
41702 ++_ACEOF
41703 ++
41704 ++fi
41705 ++
41706 ++case "$with_ftgl" in
41707 ++ yes | '' ) ;;
41708 ++ * ) FTGL_PATH=$with_ftgl ;;
41709 ++esac
41710 ++
41711 ++if test -d "$FTGL_PATH"; then
41712 ++ ncbi_fix_dir_tmp=`if cd $FTGL_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
41713 ++ case "$ncbi_fix_dir_tmp" in
41714 ++ /.*) ncbi_fix_dir_tmp2=`cd $FTGL_PATH && $smart_pwd 2>/dev/null`
41715 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
41716 ++ FTGL_PATH=$ncbi_fix_dir_tmp2
41717 ++ else
41718 ++ case "$FTGL_PATH" in
41719 ++ /*) ;;
41720 ++ * ) FTGL_PATH=$ncbi_fix_dir_tmp ;;
41721 ++ esac
41722 ++ fi
41723 ++ ;;
41724 ++ /*) FTGL_PATH=$ncbi_fix_dir_tmp ;;
41725 ++ esac
41726 ++fi
41727 ++if test -d "$FTGL_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}/lib"; then
41728 ++ FTGL_LIBDIR=$FTGL_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}/lib
41729 ++elif test -d "$FTGL_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}/lib"; then
41730 ++ FTGL_LIBDIR=$FTGL_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}/lib
41731 ++fi
41732 ++ncbi_fix_dir_tmp=`if cd $FTGL_LIBDIR; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
41733 ++ case "$ncbi_fix_dir_tmp" in
41734 ++ /.*) ncbi_fix_dir_tmp2=`cd $FTGL_LIBDIR && $smart_pwd 2>/dev/null`
41735 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
41736 ++ FTGL_LIBDIR=$ncbi_fix_dir_tmp2
41737 + else
41738 +- WithPackages="$WithPackages${WithPackagesSep}GIF"; WithPackagesSep=" "
41739 +- GIF_INCLUDE=" $GIF_INCLUDE"
41740 +-
41741 +-cat >>confdefs.h <<\_ACEOF
41742 +-#define HAVE_LIBGIF 1
41743 +-_ACEOF
41744 +-
41745 ++ case "$FTGL_LIBDIR" in
41746 ++ /*) ;;
41747 ++ * ) FTGL_LIBDIR=$ncbi_fix_dir_tmp ;;
41748 ++ esac
41749 + fi
41750 +-
41751 +-
41752 +-
41753 ++ ;;
41754 ++ /*) FTGL_LIBDIR=$ncbi_fix_dir_tmp ;;
41755 ++ esac
41756 ++ncbi_rp_L_flags=
41757 ++ ncbi_rp_L_sep=$CONF_f_libpath
41758 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
41759 ++ for x in $FTGL_LIBDIR; do
41760 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41761 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
41762 ++ done
41763 ++ FTGL_LIBPATH="${ncbi_rp_L_flags}"
41764 + else
41765 +-
41766 +-cat >>confdefs.h <<\_ACEOF
41767 +-#define HAVE_LIBGIF 1
41768 +-_ACEOF
41769 +-
41770 +- GIF_INCLUDE=$UNGIF_INCLUDE
41771 +- GIF_LIBS=$UNGIF_LIBS
41772 ++ ncbi_rp_R_flags=
41773 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
41774 ++ for x in $FTGL_LIBDIR; do
41775 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41776 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
41777 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
41778 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
41779 ++ ncbi_rp_R_sep=:
41780 ++ done
41781 ++ FTGL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
41782 + fi
41783 +
41784 +-test -n "$x_libraries" && : ${XPM_PATH=`dirname "$x_libraries"`}
41785 +-if test "$with_xpm" != "no"; then
41786 +- case "$with_xpm" in
41787 ++if test "$with_ftgl" != "no"; then
41788 ++ case "$with_ftgl" in
41789 + yes | "" ) ;;
41790 +- * ) XPM_PATH=$with_xpm ;;
41791 ++ * ) FTGL_PATH=$with_ftgl ;;
41792 + esac
41793 +- if test -d "$XPM_PATH"; then
41794 +- in_path=" in $XPM_PATH"
41795 +- if test -z "$XPM_INCLUDE" -a -d "$XPM_PATH/include"; then
41796 +- XPM_INCLUDE="-I$XPM_PATH/include"
41797 ++ if test -d "$FTGL_PATH"; then
41798 ++ in_path=" in $FTGL_PATH"
41799 ++ if test -z "$FTGL_INCLUDE" -a -d "$FTGL_PATH/include"; then
41800 ++ FTGL_INCLUDE="-I$FTGL_PATH/include"
41801 + fi
41802 +- if test -n "$XPM_LIBPATH"; then
41803 ++ if test -n "$FTGL_LIBPATH"; then
41804 + :
41805 +- elif test -d "$XPM_PATH/lib${bit64_sfx}"; then
41806 ++ elif test -d "$FTGL_PATH/lib${bit64_sfx}"; then
41807 + ncbi_rp_L_flags=
41808 + ncbi_rp_L_sep=$CONF_f_libpath
41809 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
41810 +- for x in $XPM_PATH/lib${bit64_sfx}; do
41811 ++ for x in $FTGL_PATH/lib${bit64_sfx}; do
41812 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41813 + ncbi_rp_L_sep=" $CONF_f_libpath"
41814 + done
41815 +- XPM_LIBPATH="${ncbi_rp_L_flags}"
41816 ++ FTGL_LIBPATH="${ncbi_rp_L_flags}"
41817 + else
41818 + ncbi_rp_R_flags=
41819 + ncbi_rp_R_sep=" $CONF_f_runpath"
41820 +- for x in $XPM_PATH/lib${bit64_sfx}; do
41821 ++ for x in $FTGL_PATH/lib${bit64_sfx}; do
41822 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41823 + ncbi_rp_L_sep=" $CONF_f_libpath"
41824 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
41825 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
41826 + ncbi_rp_R_sep=:
41827 + done
41828 +- XPM_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
41829 ++ FTGL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
41830 + fi
41831 +- elif test -d "$XPM_PATH/lib"; then
41832 ++ elif test -d "$FTGL_PATH/lib"; then
41833 + ncbi_rp_L_flags=
41834 + ncbi_rp_L_sep=$CONF_f_libpath
41835 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
41836 +- for x in $XPM_PATH/lib; do
41837 ++ for x in $FTGL_PATH/lib; do
41838 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41839 + ncbi_rp_L_sep=" $CONF_f_libpath"
41840 + done
41841 +- XPM_LIBPATH="${ncbi_rp_L_flags}"
41842 ++ FTGL_LIBPATH="${ncbi_rp_L_flags}"
41843 + else
41844 + ncbi_rp_R_flags=
41845 + ncbi_rp_R_sep=" $CONF_f_runpath"
41846 +- for x in $XPM_PATH/lib; do
41847 ++ for x in $FTGL_PATH/lib; do
41848 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41849 + ncbi_rp_L_sep=" $CONF_f_libpath"
41850 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
41851 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
41852 + ncbi_rp_R_sep=:
41853 + done
41854 +- XPM_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
41855 ++ FTGL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
41856 + fi
41857 + fi
41858 +- XPM_LIBS="$XPM_LIBPATH -lXpm $X_LIBS -lX11"
41859 ++ FTGL_LIBS="$FTGL_LIBPATH -lftgl $FREETYPE_LIBS"
41860 + else
41861 +- XPM_INCLUDE=""
41862 +- XPM_LIBS="-lXpm $X_LIBS -lX11"
41863 ++ FTGL_INCLUDE=""
41864 ++ FTGL_LIBS="-lftgl $FREETYPE_LIBS"
41865 + in_path=
41866 + fi
41867 +- echo "$as_me:$LINENO: checking for libXpm$in_path" >&5
41868 +-echo $ECHO_N "checking for libXpm$in_path... $ECHO_C" >&6
41869 +-if test "${ncbi_cv_lib_xpm+set}" = set; then
41870 ++ { echo "$as_me:$LINENO: checking for libftgl$in_path" >&5
41871 ++echo $ECHO_N "checking for libftgl$in_path... $ECHO_C" >&6; }
41872 ++if test "${ncbi_cv_lib_ftgl+set}" = set; then
41873 + echo $ECHO_N "(cached) $ECHO_C" >&6
41874 + else
41875 +- CPPFLAGS="$X_CFLAGS $XPM_INCLUDE $orig_CPPFLAGS"
41876 +- LIBS="$XPM_LIBS $orig_LIBS"
41877 ++ CPPFLAGS="$FREETYPE_INCLUDE $FTGL_INCLUDE $orig_CPPFLAGS"
41878 ++ LIBS="$FTGL_LIBS $orig_LIBS"
41879 + cat >conftest.$ac_ext <<_ACEOF
41880 + /* confdefs.h. */
41881 + _ACEOF
41882 + cat confdefs.h >>conftest.$ac_ext
41883 + cat >>conftest.$ac_ext <<_ACEOF
41884 + /* end confdefs.h. */
41885 +-#include <X11/xpm.h>
41886 ++#include <FTGL/ftgl.h>
41887 + int
41888 + main ()
41889 + {
41890 +-XpmImage image; XpmInfo info;
41891 +- XpmReadFileToXpmImage("foo", &image, &info);
41892 ++FTSimpleLayout layout;
41893 + ;
41894 + return 0;
41895 + }
41896 + _ACEOF
41897 + rm -f conftest.$ac_objext conftest$ac_exeext
41898 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41899 +- (eval $ac_link) 2>conftest.er1
41900 ++if { (ac_try="$ac_link"
41901 ++case "(($ac_try" in
41902 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41903 ++ *) ac_try_echo=$ac_try;;
41904 ++esac
41905 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41906 ++ (eval "$ac_link") 2>conftest.er1
41907 + ac_status=$?
41908 + grep -v '^ *+' conftest.er1 >conftest.err
41909 + rm -f conftest.er1
41910 + cat conftest.err >&5
41911 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
41912 + (exit $ac_status); } &&
41913 +- { ac_try='test -z "$ac_cxx_werror_flag"
41914 +- || test ! -s conftest.err'
41915 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41916 +- (eval $ac_try) 2>&5
41917 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41918 ++ { (case "(($ac_try" in
41919 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41920 ++ *) ac_try_echo=$ac_try;;
41921 ++esac
41922 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41923 ++ (eval "$ac_try") 2>&5
41924 + ac_status=$?
41925 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
41926 + (exit $ac_status); }; } &&
41927 + { ac_try='test -s conftest$ac_exeext'
41928 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41929 +- (eval $ac_try) 2>&5
41930 ++ { (case "(($ac_try" in
41931 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41932 ++ *) ac_try_echo=$ac_try;;
41933 ++esac
41934 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41935 ++ (eval "$ac_try") 2>&5
41936 + ac_status=$?
41937 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
41938 + (exit $ac_status); }; }; then
41939 +- ncbi_cv_lib_xpm=yes
41940 ++ ncbi_cv_lib_ftgl=yes
41941 + else
41942 + echo "$as_me: failed program was:" >&5
41943 + sed 's/^/| /' conftest.$ac_ext >&5
41944 +
41945 +-ncbi_cv_lib_xpm=no
41946 ++ ncbi_cv_lib_ftgl=no
41947 + fi
41948 +-rm -f conftest.err conftest.$ac_objext \
41949 ++
41950 ++rm -f core conftest.err conftest.$ac_objext \
41951 + conftest$ac_exeext conftest.$ac_ext
41952 + fi
41953 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_xpm" >&5
41954 +-echo "${ECHO_T}$ncbi_cv_lib_xpm" >&6
41955 +- if test "$ncbi_cv_lib_xpm" = "no"; then
41956 +- if test "${with_xpm:=no}" != no; then
41957 +- { { echo "$as_me:$LINENO: error: --with-xpm explicitly specified, but no usable version found." >&5
41958 +-echo "$as_me: error: --with-xpm explicitly specified, but no usable version found." >&2;}
41959 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_ftgl" >&5
41960 ++echo "${ECHO_T}$ncbi_cv_lib_ftgl" >&6; }
41961 ++ if test "$ncbi_cv_lib_ftgl" = "no"; then
41962 ++ if test "${with_ftgl:=no}" != no; then
41963 ++ { { echo "$as_me:$LINENO: error: --with-ftgl explicitly specified, but no usable version found." >&5
41964 ++echo "$as_me: error: --with-ftgl explicitly specified, but no usable version found." >&2;}
41965 + { (exit 1); exit 1; }; }
41966 + fi
41967 + fi
41968 + fi
41969 +- if test "$with_xpm" = "no"; then
41970 +- XPM_PATH="No_XPM"
41971 +- XPM_INCLUDE=
41972 +- XPM_LIBS=
41973 ++ if test "$with_ftgl" = "no"; then
41974 ++ FTGL_PATH="No_FTGL"
41975 ++ FTGL_INCLUDE=
41976 ++ FTGL_LIBS=
41977 + else
41978 +- WithPackages="$WithPackages${WithPackagesSep}XPM"; WithPackagesSep=" "
41979 +- XPM_INCLUDE="$X_CFLAGS $XPM_INCLUDE"
41980 ++ WithPackages="$WithPackages${WithPackagesSep}FTGL"; WithPackagesSep=" "
41981 ++ FTGL_INCLUDE="$FREETYPE_INCLUDE $FTGL_INCLUDE"
41982 +
41983 + cat >>confdefs.h <<\_ACEOF
41984 +-#define HAVE_LIBXPM 1
41985 ++#define HAVE_LIBFTGL 1
41986 + _ACEOF
41987 +
41988 + fi
41989 +
41990 +
41991 +
41992 +-# The use of X_CFLAGS is probably redundant, but shouldn't hurt.
41993 +
41994 +-## FreeType and FTGL
41995 +-if test "$with_freetype" != "no" ; then
41996 +- : ${FREETYPE_BINPATH=$FREETYPE_PATH/bin}
41997 +- # Extract the first word of "freetype-config", so it can be a program name with args.
41998 +-set dummy freetype-config; ac_word=$2
41999 +-echo "$as_me:$LINENO: checking for $ac_word" >&5
42000 +-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42001 +-if test "${ac_cv_path_freetype_config+set}" = set; then
42002 +- echo $ECHO_N "(cached) $ECHO_C" >&6
42003 +-else
42004 +- case $freetype_config in
42005 +- [\\/]* | ?:[\\/]*)
42006 +- ac_cv_path_freetype_config="$freetype_config" # Let the user override the test with a path.
42007 +- ;;
42008 +- *)
42009 +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42010 +-as_dummy="$FREETYPE_BINPATH:$PATH"
42011 +-for as_dir in $as_dummy
42012 +-do
42013 +- IFS=$as_save_IFS
42014 +- test -z "$as_dir" && as_dir=.
42015 +- for ac_exec_ext in '' $ac_executable_extensions; do
42016 +- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42017 +- ac_cv_path_freetype_config="$as_dir/$ac_word$ac_exec_ext"
42018 +- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42019 +- break 2
42020 +- fi
42021 +-done
42022 +-done
42023 +
42024 +- ;;
42025 ++if test "$with_magic" != "no"; then
42026 ++ case "$with_magic" in
42027 ++ yes | "" ) ;;
42028 ++ * ) MAGIC_PATH=$with_magic ;;
42029 + esac
42030 ++ if test -d "$MAGIC_PATH"; then
42031 ++ in_path=" in $MAGIC_PATH"
42032 ++ if test -z "$MAGIC_INCLUDE" -a -d "$MAGIC_PATH/include"; then
42033 ++ MAGIC_INCLUDE="-I$MAGIC_PATH/include"
42034 + fi
42035 +-freetype_config=$ac_cv_path_freetype_config
42036 +-
42037 +-if test -n "$freetype_config"; then
42038 +- echo "$as_me:$LINENO: result: $freetype_config" >&5
42039 +-echo "${ECHO_T}$freetype_config" >&6
42040 +-else
42041 +- echo "$as_me:$LINENO: result: no" >&5
42042 +-echo "${ECHO_T}no" >&6
42043 +-fi
42044 +-
42045 +- if test -n "$freetype_config" ; then
42046 +- : ${FREETYPE_BINPATH=`dirname $freetype_config`}
42047 +- : ${FREETYPE_INCLUDE=`$freetype_config --cflags`}
42048 +- if test -z "${FREETYPE_LIBS+set}"; then
42049 ++ if test -n "$MAGIC_LIBPATH"; then
42050 ++ :
42051 ++ elif test -d "$MAGIC_PATH/lib${bit64_sfx}"; then
42052 ++ ncbi_rp_L_flags=
42053 ++ ncbi_rp_L_sep=$CONF_f_libpath
42054 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
42055 +- FREETYPE_LIBS=`$freetype_config --libs | sed -e "$no_usr_lib"`
42056 ++ for x in $MAGIC_PATH/lib${bit64_sfx}; do
42057 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
42058 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
42059 ++ done
42060 ++ MAGIC_LIBPATH="${ncbi_rp_L_flags}"
42061 + else
42062 +- FREETYPE_LIBS=
42063 +- ncbi_rp_L_sep=
42064 + ncbi_rp_R_flags=
42065 + ncbi_rp_R_sep=" $CONF_f_runpath"
42066 +- for x in `$freetype_config --libs | sed -e "$no_usr_lib"`; do
42067 +- case "$x" in
42068 +- -L*)
42069 +- FREETYPE_LIBS="$FREETYPE_LIBS${ncbi_rp_L_sep}$x"
42070 +- x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
42071 ++ for x in $MAGIC_PATH/lib${bit64_sfx}; do
42072 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
42073 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
42074 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
42075 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
42076 + ncbi_rp_R_sep=:
42077 +- ;;
42078 +- *)
42079 +- FREETYPE_LIBS="$FREETYPE_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
42080 +- ncbi_rp_R_flags=
42081 +- ncbi_rp_R_sep=" $CONF_f_runpath"
42082 +- ;;
42083 +- esac
42084 +- ncbi_rp_L_sep=" "
42085 + done
42086 +- FREETYPE_LIBS="$FREETYPE_LIBS${ncbi_rp_R_flags}"
42087 +- fi
42088 +- fi
42089 +- case "$host_os:$bit64_sfx" in
42090 +- solaris*:64 )
42091 +- ftprefix=`$freetype_config --exec-prefix`
42092 +- if test -d "$ftprefix/lib/64"; then
42093 +- FREETYPE_LIBS=`echo $FREETYPE_LIBS \
42094 +- | sed -e "s,$ftprefix/lib ,$ftprefix/lib/64 ,g"`
42095 +- fi
42096 +- ;;
42097 +- esac
42098 +- echo "$as_me:$LINENO: checking whether FREETYPE_INCLUDE needs doctoring" >&5
42099 +-echo $ECHO_N "checking whether FREETYPE_INCLUDE needs doctoring... $ECHO_C" >&6
42100 +-if test "${ncbi_cv_lib_freetype_fix_include+set}" = set; then
42101 +- echo $ECHO_N "(cached) $ECHO_C" >&6
42102 +-else
42103 +- CPPFLAGS="$FREETYPE_INCLUDE $orig_CPPFLAGS"
42104 +- cat >conftest.$ac_ext <<_ACEOF
42105 +-/* confdefs.h. */
42106 +-_ACEOF
42107 +-cat confdefs.h >>conftest.$ac_ext
42108 +-cat >>conftest.$ac_ext <<_ACEOF
42109 +-/* end confdefs.h. */
42110 +-#include <ft2build.h>
42111 +-int
42112 +-main ()
42113 +-{
42114 +-
42115 +- ;
42116 +- return 0;
42117 +-}
42118 +-_ACEOF
42119 +-rm -f conftest.$ac_objext
42120 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42121 +- (eval $ac_compile) 2>conftest.er1
42122 +- ac_status=$?
42123 +- grep -v '^ *+' conftest.er1 >conftest.err
42124 +- rm -f conftest.er1
42125 +- cat conftest.err >&5
42126 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
42127 +- (exit $ac_status); } &&
42128 +- { ac_try='test -z "$ac_cxx_werror_flag"
42129 +- || test ! -s conftest.err'
42130 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42131 +- (eval $ac_try) 2>&5
42132 +- ac_status=$?
42133 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
42134 +- (exit $ac_status); }; } &&
42135 +- { ac_try='test -s conftest.$ac_objext'
42136 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42137 +- (eval $ac_try) 2>&5
42138 +- ac_status=$?
42139 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
42140 +- (exit $ac_status); }; }; then
42141 +- ncbi_cv_lib_freetype_fix_include=no
42142 ++ MAGIC_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
42143 ++ fi
42144 ++ elif test -d "$MAGIC_PATH/lib"; then
42145 ++ ncbi_rp_L_flags=
42146 ++ ncbi_rp_L_sep=$CONF_f_libpath
42147 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
42148 ++ for x in $MAGIC_PATH/lib; do
42149 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
42150 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
42151 ++ done
42152 ++ MAGIC_LIBPATH="${ncbi_rp_L_flags}"
42153 + else
42154 +- echo "$as_me: failed program was:" >&5
42155 +-sed 's/^/| /' conftest.$ac_ext >&5
42156 +-
42157 +-ncbi_cv_lib_freetype_fix_include=yes
42158 ++ ncbi_rp_R_flags=
42159 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
42160 ++ for x in $MAGIC_PATH/lib; do
42161 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
42162 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
42163 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
42164 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
42165 ++ ncbi_rp_R_sep=:
42166 ++ done
42167 ++ MAGIC_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
42168 + fi
42169 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42170 + fi
42171 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_freetype_fix_include" >&5
42172 +-echo "${ECHO_T}$ncbi_cv_lib_freetype_fix_include" >&6
42173 +- if test "$ncbi_cv_lib_freetype_fix_include" = yes; then
42174 +- FREETYPE_INCLUDE=`echo "$FREETYPE_INCLUDE" |\
42175 +- sed -e 's:\(-I[^ ]*\)\(/freetype2\):\1 \1\2:g'`
42176 ++ MAGIC_LIBS="$MAGIC_LIBPATH -lmagic "
42177 ++ else
42178 ++ MAGIC_INCLUDE=""
42179 ++ MAGIC_LIBS="-lmagic "
42180 ++ in_path=
42181 + fi
42182 +- echo "$as_me:$LINENO: checking whether FreeType works" >&5
42183 +-echo $ECHO_N "checking whether FreeType works... $ECHO_C" >&6
42184 +-if test "${ncbi_cv_lib_freetype+set}" = set; then
42185 ++ { echo "$as_me:$LINENO: checking for libmagic$in_path" >&5
42186 ++echo $ECHO_N "checking for libmagic$in_path... $ECHO_C" >&6; }
42187 ++if test "${ncbi_cv_lib_magic+set}" = set; then
42188 + echo $ECHO_N "(cached) $ECHO_C" >&6
42189 + else
42190 +- CPPFLAGS="$FREETYPE_INCLUDE $orig_CPPFLAGS"
42191 +- LIBS="$FREETYPE_LIBS $orig_LIBS"
42192 ++ CPPFLAGS=" $MAGIC_INCLUDE $orig_CPPFLAGS"
42193 ++ LIBS="$MAGIC_LIBS $orig_LIBS"
42194 + cat >conftest.$ac_ext <<_ACEOF
42195 + /* confdefs.h. */
42196 + _ACEOF
42197 + cat confdefs.h >>conftest.$ac_ext
42198 + cat >>conftest.$ac_ext <<_ACEOF
42199 + /* end confdefs.h. */
42200 +-#include <ft2build.h>
42201 +- #include FT_FREETYPE_H
42202 ++#include <magic.h>
42203 + int
42204 + main ()
42205 + {
42206 +-FT_Select_Charmap(NULL, ft_encoding_unicode);
42207 ++magic_t m = magic_open(17);
42208 + ;
42209 + return 0;
42210 + }
42211 + _ACEOF
42212 + rm -f conftest.$ac_objext conftest$ac_exeext
42213 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42214 +- (eval $ac_link) 2>conftest.er1
42215 ++if { (ac_try="$ac_link"
42216 ++case "(($ac_try" in
42217 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42218 ++ *) ac_try_echo=$ac_try;;
42219 ++esac
42220 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42221 ++ (eval "$ac_link") 2>conftest.er1
42222 + ac_status=$?
42223 + grep -v '^ *+' conftest.er1 >conftest.err
42224 + rm -f conftest.er1
42225 + cat conftest.err >&5
42226 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
42227 + (exit $ac_status); } &&
42228 +- { ac_try='test -z "$ac_cxx_werror_flag"
42229 +- || test ! -s conftest.err'
42230 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42231 +- (eval $ac_try) 2>&5
42232 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42233 ++ { (case "(($ac_try" in
42234 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42235 ++ *) ac_try_echo=$ac_try;;
42236 ++esac
42237 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42238 ++ (eval "$ac_try") 2>&5
42239 + ac_status=$?
42240 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
42241 + (exit $ac_status); }; } &&
42242 + { ac_try='test -s conftest$ac_exeext'
42243 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42244 +- (eval $ac_try) 2>&5
42245 ++ { (case "(($ac_try" in
42246 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42247 ++ *) ac_try_echo=$ac_try;;
42248 ++esac
42249 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42250 ++ (eval "$ac_try") 2>&5
42251 + ac_status=$?
42252 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
42253 + (exit $ac_status); }; }; then
42254 +- ncbi_cv_lib_freetype=yes
42255 ++ ncbi_cv_lib_magic=yes
42256 + else
42257 + echo "$as_me: failed program was:" >&5
42258 + sed 's/^/| /' conftest.$ac_ext >&5
42259 +
42260 +-ncbi_cv_lib_freetype=no
42261 ++ ncbi_cv_lib_magic=no
42262 + fi
42263 +-rm -f conftest.err conftest.$ac_objext \
42264 ++
42265 ++rm -f core conftest.err conftest.$ac_objext \
42266 + conftest$ac_exeext conftest.$ac_ext
42267 + fi
42268 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_freetype" >&5
42269 +-echo "${ECHO_T}$ncbi_cv_lib_freetype" >&6
42270 +- if test "$ncbi_cv_lib_freetype" = no; then
42271 +- if test "${with_freetype:=no}" != no; then
42272 +- { { echo "$as_me:$LINENO: error: --with-freetype explicitly specified, but no usable version found." >&5
42273 +-echo "$as_me: error: --with-freetype explicitly specified, but no usable version found." >&2;}
42274 +- { (exit 1); exit 1; }; }
42275 +- fi
42276 +- fi
42277 +- else
42278 +- if test "${with_freetype:=no}" != no; then
42279 +- { { echo "$as_me:$LINENO: error: --with-freetype explicitly specified, but no usable version found." >&5
42280 +-echo "$as_me: error: --with-freetype explicitly specified, but no usable version found." >&2;}
42281 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_magic" >&5
42282 ++echo "${ECHO_T}$ncbi_cv_lib_magic" >&6; }
42283 ++ if test "$ncbi_cv_lib_magic" = "no"; then
42284 ++ if test "${with_magic:=no}" != no; then
42285 ++ { { echo "$as_me:$LINENO: error: --with-magic explicitly specified, but no usable version found." >&5
42286 ++echo "$as_me: error: --with-magic explicitly specified, but no usable version found." >&2;}
42287 + { (exit 1); exit 1; }; }
42288 + fi
42289 + fi
42290 + fi
42291 +-if test "$with_freetype" = "no" ; then
42292 +- FREETYPE_PATH="No_FREETYPE"
42293 +- FREETYPE_INCLUDE=
42294 +- FREETYPE_LIBS=
42295 ++ if test "$with_magic" = "no"; then
42296 ++ MAGIC_PATH="No_MAGIC"
42297 ++ MAGIC_INCLUDE=
42298 ++ MAGIC_LIBS=
42299 + else
42300 +- WithPackages="$WithPackages${WithPackagesSep}FreeType"; WithPackagesSep=" "
42301 ++ WithPackages="$WithPackages${WithPackagesSep}MAGIC"; WithPackagesSep=" "
42302 ++ MAGIC_INCLUDE=" $MAGIC_INCLUDE"
42303 +
42304 + cat >>confdefs.h <<\_ACEOF
42305 +-#define HAVE_FREETYPE 1
42306 ++#define HAVE_LIBMAGIC 1
42307 + _ACEOF
42308 +
42309 + fi
42310 +
42311 +-case "$with_ftgl" in
42312 +- yes | '' ) : ${FTGL_PATH=$NCBI/ftgl} ;;
42313 +- * ) FTGL_PATH=$with_ftgl ;;
42314 +-esac
42315 +
42316 +-if test -d "$FTGL_PATH"; then
42317 +- ncbi_fix_dir_tmp=`if cd $FTGL_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
42318 ++
42319 ++
42320 ++
42321 ++# Mimetic
42322 ++case "$with_mimetic" in
42323 ++ yes | '' ) ;;
42324 ++ * ) MIMETIC_PATH=$with_mimetic ;;
42325 ++esac
42326 ++if test -d "$MIMETIC_PATH"; then
42327 ++ ncbi_fix_dir_tmp=`if cd $MIMETIC_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
42328 + case "$ncbi_fix_dir_tmp" in
42329 +- /.*) ncbi_fix_dir_tmp2=`cd $FTGL_PATH && $smart_pwd 2>/dev/null`
42330 ++ /.*) ncbi_fix_dir_tmp2=`cd $MIMETIC_PATH && $smart_pwd 2>/dev/null`
42331 + if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
42332 +- FTGL_PATH=$ncbi_fix_dir_tmp2
42333 ++ MIMETIC_PATH=$ncbi_fix_dir_tmp2
42334 + else
42335 +- case "$FTGL_PATH" in
42336 ++ case "$MIMETIC_PATH" in
42337 + /*) ;;
42338 +- * ) FTGL_PATH=$ncbi_fix_dir_tmp ;;
42339 ++ * ) MIMETIC_PATH=$ncbi_fix_dir_tmp ;;
42340 + esac
42341 + fi
42342 + ;;
42343 +- /*) FTGL_PATH=$ncbi_fix_dir_tmp ;;
42344 ++ /*) MIMETIC_PATH=$ncbi_fix_dir_tmp ;;
42345 + esac
42346 + fi
42347 +-if test -d "$FTGL_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}/lib"; then
42348 +- FTGL_LIBDIR=$FTGL_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}/lib
42349 +-elif test -d "$FTGL_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}/lib"; then
42350 +- FTGL_LIBDIR=$FTGL_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}/lib
42351 +-fi
42352 +-ncbi_fix_dir_tmp=`if cd $FTGL_LIBDIR; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
42353 +- case "$ncbi_fix_dir_tmp" in
42354 +- /.*) ncbi_fix_dir_tmp2=`cd $FTGL_LIBDIR && $smart_pwd 2>/dev/null`
42355 +- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
42356 +- FTGL_LIBDIR=$ncbi_fix_dir_tmp2
42357 +- else
42358 +- case "$FTGL_LIBDIR" in
42359 +- /*) ;;
42360 +- * ) FTGL_LIBDIR=$ncbi_fix_dir_tmp ;;
42361 +- esac
42362 ++for d in "$MIMETIC_LIBDIR" \
42363 ++ "$MIMETIC_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}/lib" \
42364 ++ "$MIMETIC_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}/lib" \
42365 ++ "$MIMETIC_PATH/lib${bit64_sfx}" \
42366 ++ "$MIMETIC_PATH/${compiler_vpfx}${DEBUG_SFX}/lib" \
42367 ++ "$MIMETIC_PATH/${compiler_pfx}${DEBUG_SFX}/lib" \
42368 ++ "$MIMETIC_PATH/lib"; do
42369 ++ if test -d "$d"; then
42370 ++ MIMETIC_LIBDIR=$d
42371 ++ break
42372 + fi
42373 +- ;;
42374 +- /*) FTGL_LIBDIR=$ncbi_fix_dir_tmp ;;
42375 +- esac
42376 ++done
42377 + ncbi_rp_L_flags=
42378 + ncbi_rp_L_sep=$CONF_f_libpath
42379 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
42380 +- for x in $FTGL_LIBDIR; do
42381 ++ for x in $MIMETIC_LIBDIR; do
42382 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
42383 + ncbi_rp_L_sep=" $CONF_f_libpath"
42384 + done
42385 +- FTGL_LIBPATH="${ncbi_rp_L_flags}"
42386 ++ MIMETIC_LIBPATH="${ncbi_rp_L_flags}"
42387 + else
42388 + ncbi_rp_R_flags=
42389 + ncbi_rp_R_sep=" $CONF_f_runpath"
42390 +- for x in $FTGL_LIBDIR; do
42391 ++ for x in $MIMETIC_LIBDIR; do
42392 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
42393 + ncbi_rp_L_sep=" $CONF_f_libpath"
42394 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
42395 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
42396 + ncbi_rp_R_sep=:
42397 + done
42398 +- FTGL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
42399 ++ MIMETIC_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
42400 + fi
42401 +
42402 +-if test "$with_ftgl" != "no"; then
42403 +- case "$with_ftgl" in
42404 ++if test "$with_mimetic" != "no"; then
42405 ++ case "$with_mimetic" in
42406 + yes | "" ) ;;
42407 +- * ) FTGL_PATH=$with_ftgl ;;
42408 ++ * ) MIMETIC_PATH=$with_mimetic ;;
42409 + esac
42410 +- if test -d "$FTGL_PATH"; then
42411 +- in_path=" in $FTGL_PATH"
42412 +- if test -z "$FTGL_INCLUDE" -a -d "$FTGL_PATH/include"; then
42413 +- FTGL_INCLUDE="-I$FTGL_PATH/include"
42414 ++ if test -d "$MIMETIC_PATH"; then
42415 ++ in_path=" in $MIMETIC_PATH"
42416 ++ if test -z "$MIMETIC_INCLUDE" -a -d "$MIMETIC_PATH/include"; then
42417 ++ MIMETIC_INCLUDE="-I$MIMETIC_PATH/include"
42418 + fi
42419 +- if test -n "$FTGL_LIBPATH"; then
42420 ++ if test -n "$MIMETIC_LIBPATH"; then
42421 + :
42422 +- elif test -d "$FTGL_PATH/lib${bit64_sfx}"; then
42423 ++ elif test -d "$MIMETIC_PATH/lib${bit64_sfx}"; then
42424 + ncbi_rp_L_flags=
42425 + ncbi_rp_L_sep=$CONF_f_libpath
42426 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
42427 +- for x in $FTGL_PATH/lib${bit64_sfx}; do
42428 ++ for x in $MIMETIC_PATH/lib${bit64_sfx}; do
42429 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
42430 + ncbi_rp_L_sep=" $CONF_f_libpath"
42431 + done
42432 +- FTGL_LIBPATH="${ncbi_rp_L_flags}"
42433 ++ MIMETIC_LIBPATH="${ncbi_rp_L_flags}"
42434 + else
42435 + ncbi_rp_R_flags=
42436 + ncbi_rp_R_sep=" $CONF_f_runpath"
42437 +- for x in $FTGL_PATH/lib${bit64_sfx}; do
42438 ++ for x in $MIMETIC_PATH/lib${bit64_sfx}; do
42439 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
42440 + ncbi_rp_L_sep=" $CONF_f_libpath"
42441 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
42442 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
42443 + ncbi_rp_R_sep=:
42444 + done
42445 +- FTGL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
42446 ++ MIMETIC_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
42447 + fi
42448 +- elif test -d "$FTGL_PATH/lib"; then
42449 ++ elif test -d "$MIMETIC_PATH/lib"; then
42450 + ncbi_rp_L_flags=
42451 + ncbi_rp_L_sep=$CONF_f_libpath
42452 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
42453 +- for x in $FTGL_PATH/lib; do
42454 ++ for x in $MIMETIC_PATH/lib; do
42455 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
42456 + ncbi_rp_L_sep=" $CONF_f_libpath"
42457 + done
42458 +- FTGL_LIBPATH="${ncbi_rp_L_flags}"
42459 ++ MIMETIC_LIBPATH="${ncbi_rp_L_flags}"
42460 + else
42461 + ncbi_rp_R_flags=
42462 + ncbi_rp_R_sep=" $CONF_f_runpath"
42463 +- for x in $FTGL_PATH/lib; do
42464 ++ for x in $MIMETIC_PATH/lib; do
42465 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
42466 + ncbi_rp_L_sep=" $CONF_f_libpath"
42467 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
42468 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
42469 + ncbi_rp_R_sep=:
42470 + done
42471 +- FTGL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
42472 ++ MIMETIC_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
42473 + fi
42474 + fi
42475 +- FTGL_LIBS="$FTGL_LIBPATH -lftgl $FREETYPE_LIBS"
42476 ++ MIMETIC_LIBS="$MIMETIC_LIBPATH -lmimetic "
42477 + else
42478 +- FTGL_INCLUDE=""
42479 +- FTGL_LIBS="-lftgl $FREETYPE_LIBS"
42480 ++ MIMETIC_INCLUDE=""
42481 ++ MIMETIC_LIBS="-lmimetic "
42482 + in_path=
42483 + fi
42484 +- echo "$as_me:$LINENO: checking for libftgl$in_path" >&5
42485 +-echo $ECHO_N "checking for libftgl$in_path... $ECHO_C" >&6
42486 +-if test "${ncbi_cv_lib_ftgl+set}" = set; then
42487 ++ { echo "$as_me:$LINENO: checking for libmimetic$in_path" >&5
42488 ++echo $ECHO_N "checking for libmimetic$in_path... $ECHO_C" >&6; }
42489 ++if test "${ncbi_cv_lib_mimetic+set}" = set; then
42490 + echo $ECHO_N "(cached) $ECHO_C" >&6
42491 + else
42492 +- CPPFLAGS="$FREETYPE_INCLUDE $FTGL_INCLUDE $orig_CPPFLAGS"
42493 +- LIBS="$FTGL_LIBS $orig_LIBS"
42494 ++ CPPFLAGS=" $MIMETIC_INCLUDE $orig_CPPFLAGS"
42495 ++ LIBS="$MIMETIC_LIBS $orig_LIBS"
42496 + cat >conftest.$ac_ext <<_ACEOF
42497 + /* confdefs.h. */
42498 + _ACEOF
42499 + cat confdefs.h >>conftest.$ac_ext
42500 + cat >>conftest.$ac_ext <<_ACEOF
42501 + /* end confdefs.h. */
42502 +-#include <FTGL/ftgl.h>
42503 ++#include <mimetic/mimetic.h>
42504 + int
42505 + main ()
42506 + {
42507 +-FTSimpleLayout layout;
42508 ++mimetic::MimeEntity me;
42509 + ;
42510 + return 0;
42511 + }
42512 + _ACEOF
42513 + rm -f conftest.$ac_objext conftest$ac_exeext
42514 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42515 +- (eval $ac_link) 2>conftest.er1
42516 ++if { (ac_try="$ac_link"
42517 ++case "(($ac_try" in
42518 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42519 ++ *) ac_try_echo=$ac_try;;
42520 ++esac
42521 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42522 ++ (eval "$ac_link") 2>conftest.er1
42523 + ac_status=$?
42524 + grep -v '^ *+' conftest.er1 >conftest.err
42525 + rm -f conftest.er1
42526 + cat conftest.err >&5
42527 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
42528 + (exit $ac_status); } &&
42529 +- { ac_try='test -z "$ac_cxx_werror_flag"
42530 +- || test ! -s conftest.err'
42531 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42532 +- (eval $ac_try) 2>&5
42533 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42534 ++ { (case "(($ac_try" in
42535 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42536 ++ *) ac_try_echo=$ac_try;;
42537 ++esac
42538 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42539 ++ (eval "$ac_try") 2>&5
42540 + ac_status=$?
42541 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
42542 + (exit $ac_status); }; } &&
42543 + { ac_try='test -s conftest$ac_exeext'
42544 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42545 +- (eval $ac_try) 2>&5
42546 ++ { (case "(($ac_try" in
42547 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42548 ++ *) ac_try_echo=$ac_try;;
42549 ++esac
42550 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42551 ++ (eval "$ac_try") 2>&5
42552 + ac_status=$?
42553 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
42554 + (exit $ac_status); }; }; then
42555 +- ncbi_cv_lib_ftgl=yes
42556 ++ ncbi_cv_lib_mimetic=yes
42557 + else
42558 + echo "$as_me: failed program was:" >&5
42559 + sed 's/^/| /' conftest.$ac_ext >&5
42560 +
42561 +-ncbi_cv_lib_ftgl=no
42562 ++ ncbi_cv_lib_mimetic=no
42563 + fi
42564 +-rm -f conftest.err conftest.$ac_objext \
42565 ++
42566 ++rm -f core conftest.err conftest.$ac_objext \
42567 + conftest$ac_exeext conftest.$ac_ext
42568 + fi
42569 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_ftgl" >&5
42570 +-echo "${ECHO_T}$ncbi_cv_lib_ftgl" >&6
42571 +- if test "$ncbi_cv_lib_ftgl" = "no"; then
42572 +- if test "${with_ftgl:=no}" != no; then
42573 +- { { echo "$as_me:$LINENO: error: --with-ftgl explicitly specified, but no usable version found." >&5
42574 +-echo "$as_me: error: --with-ftgl explicitly specified, but no usable version found." >&2;}
42575 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_mimetic" >&5
42576 ++echo "${ECHO_T}$ncbi_cv_lib_mimetic" >&6; }
42577 ++ if test "$ncbi_cv_lib_mimetic" = "no"; then
42578 ++ if test "${with_mimetic:=no}" != no; then
42579 ++ { { echo "$as_me:$LINENO: error: --with-mimetic explicitly specified, but no usable version found." >&5
42580 ++echo "$as_me: error: --with-mimetic explicitly specified, but no usable version found." >&2;}
42581 + { (exit 1); exit 1; }; }
42582 + fi
42583 + fi
42584 + fi
42585 +- if test "$with_ftgl" = "no"; then
42586 +- FTGL_PATH="No_FTGL"
42587 +- FTGL_INCLUDE=
42588 +- FTGL_LIBS=
42589 ++ if test "$with_mimetic" = "no"; then
42590 ++ MIMETIC_PATH="No_MIMETIC"
42591 ++ MIMETIC_INCLUDE=
42592 ++ MIMETIC_LIBS=
42593 ++ else
42594 ++ WithPackages="$WithPackages${WithPackagesSep}MIMETIC"; WithPackagesSep=" "
42595 ++ MIMETIC_INCLUDE=" $MIMETIC_INCLUDE"
42596 ++
42597 ++cat >>confdefs.h <<\_ACEOF
42598 ++#define HAVE_LIBMIMETIC 1
42599 ++_ACEOF
42600 ++
42601 ++ fi
42602 ++
42603 ++
42604 ++
42605 ++
42606 ++
42607 ++# gSOAP++
42608 ++case "$with_gsoap" in
42609 ++ yes | '' ) ;;
42610 ++ * ) GSOAP_PATH=$with_gsoap ;;
42611 ++esac
42612 ++if test -d "$GSOAP_PATH"; then
42613 ++ ncbi_fix_dir_tmp=`if cd $GSOAP_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
42614 ++ case "$ncbi_fix_dir_tmp" in
42615 ++ /.*) ncbi_fix_dir_tmp2=`cd $GSOAP_PATH && $smart_pwd 2>/dev/null`
42616 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
42617 ++ GSOAP_PATH=$ncbi_fix_dir_tmp2
42618 ++ else
42619 ++ case "$GSOAP_PATH" in
42620 ++ /*) ;;
42621 ++ * ) GSOAP_PATH=$ncbi_fix_dir_tmp ;;
42622 ++ esac
42623 ++ fi
42624 ++ ;;
42625 ++ /*) GSOAP_PATH=$ncbi_fix_dir_tmp ;;
42626 ++ esac
42627 ++fi
42628 ++for d in "$GSOAP_LIBDIR" \
42629 ++ "$GSOAP_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/lib" \
42630 ++ "$GSOAP_PATH/${compiler_pfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/lib" \
42631 ++ "$GSOAP_PATH/lib${bit64_sfx}" \
42632 ++ "$GSOAP_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}/lib" \
42633 ++ "$GSOAP_PATH/${compiler_pfx}${DEBUG_SFX}${mt_sfx}/lib" \
42634 ++ "$GSOAP_PATH/lib"; do
42635 ++ if test -d "$d"; then
42636 ++ GSOAP_LIBDIR=$d
42637 ++ ncbi_fix_dir_tmp=`if cd $GSOAP_LIBDIR; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
42638 ++ case "$ncbi_fix_dir_tmp" in
42639 ++ /.*) ncbi_fix_dir_tmp2=`cd $GSOAP_LIBDIR && $smart_pwd 2>/dev/null`
42640 ++ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
42641 ++ GSOAP_LIBDIR=$ncbi_fix_dir_tmp2
42642 ++ else
42643 ++ case "$GSOAP_LIBDIR" in
42644 ++ /*) ;;
42645 ++ * ) GSOAP_LIBDIR=$ncbi_fix_dir_tmp ;;
42646 ++ esac
42647 ++ fi
42648 ++ ;;
42649 ++ /*) GSOAP_LIBDIR=$ncbi_fix_dir_tmp ;;
42650 ++ esac
42651 ++ break
42652 ++ fi
42653 ++done
42654 ++ncbi_rp_L_flags=
42655 ++ ncbi_rp_L_sep=$CONF_f_libpath
42656 ++ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
42657 ++ for x in $GSOAP_LIBDIR; do
42658 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
42659 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
42660 ++ done
42661 ++ GSOAP_LIBPATH="${ncbi_rp_L_flags}"
42662 ++ else
42663 ++ ncbi_rp_R_flags=
42664 ++ ncbi_rp_R_sep=" $CONF_f_runpath"
42665 ++ for x in $GSOAP_LIBDIR; do
42666 ++ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
42667 ++ ncbi_rp_L_sep=" $CONF_f_libpath"
42668 ++ x=`echo $x | sed -e "$ncbi_rpath_sed"`
42669 ++ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
42670 ++ ncbi_rp_R_sep=:
42671 ++ done
42672 ++ GSOAP_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
42673 ++ fi
42674 ++
42675 ++: ${GSOAP_BINDIR=`dirname "$GSOAP_LIBDIR"`/bin}
42676 ++# Extract the first word of "soapcpp2", so it can be a program name with args.
42677 ++set dummy soapcpp2; ac_word=$2
42678 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
42679 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42680 ++if test "${ac_cv_path_GSOAP_SOAPCPP2+set}" = set; then
42681 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
42682 ++else
42683 ++ case $GSOAP_SOAPCPP2 in
42684 ++ [\\/]* | ?:[\\/]*)
42685 ++ ac_cv_path_GSOAP_SOAPCPP2="$GSOAP_SOAPCPP2" # Let the user override the test with a path.
42686 ++ ;;
42687 ++ *)
42688 ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42689 ++as_dummy="$GSOAP_BINDIR:$PATH"
42690 ++for as_dir in $as_dummy
42691 ++do
42692 ++ IFS=$as_save_IFS
42693 ++ test -z "$as_dir" && as_dir=.
42694 ++ for ac_exec_ext in '' $ac_executable_extensions; do
42695 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
42696 ++ ac_cv_path_GSOAP_SOAPCPP2="$as_dir/$ac_word$ac_exec_ext"
42697 ++ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42698 ++ break 2
42699 ++ fi
42700 ++done
42701 ++done
42702 ++IFS=$as_save_IFS
42703 ++
42704 ++ ;;
42705 ++esac
42706 ++fi
42707 ++GSOAP_SOAPCPP2=$ac_cv_path_GSOAP_SOAPCPP2
42708 ++if test -n "$GSOAP_SOAPCPP2"; then
42709 ++ { echo "$as_me:$LINENO: result: $GSOAP_SOAPCPP2" >&5
42710 ++echo "${ECHO_T}$GSOAP_SOAPCPP2" >&6; }
42711 + else
42712 +- WithPackages="$WithPackages${WithPackagesSep}FTGL"; WithPackagesSep=" "
42713 +- FTGL_INCLUDE="$FREETYPE_INCLUDE $FTGL_INCLUDE"
42714 ++ { echo "$as_me:$LINENO: result: no" >&5
42715 ++echo "${ECHO_T}no" >&6; }
42716 ++fi
42717 +
42718 +-cat >>confdefs.h <<\_ACEOF
42719 +-#define HAVE_LIBFTGL 1
42720 +-_ACEOF
42721 +
42722 ++# Extract the first word of "wsdl2h", so it can be a program name with args.
42723 ++set dummy wsdl2h; ac_word=$2
42724 ++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
42725 ++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42726 ++if test "${ac_cv_path_GSOAP_WSDL2H+set}" = set; then
42727 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
42728 ++else
42729 ++ case $GSOAP_WSDL2H in
42730 ++ [\\/]* | ?:[\\/]*)
42731 ++ ac_cv_path_GSOAP_WSDL2H="$GSOAP_WSDL2H" # Let the user override the test with a path.
42732 ++ ;;
42733 ++ *)
42734 ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42735 ++as_dummy="$GSOAP_BINDIR:$PATH"
42736 ++for as_dir in $as_dummy
42737 ++do
42738 ++ IFS=$as_save_IFS
42739 ++ test -z "$as_dir" && as_dir=.
42740 ++ for ac_exec_ext in '' $ac_executable_extensions; do
42741 ++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
42742 ++ ac_cv_path_GSOAP_WSDL2H="$as_dir/$ac_word$ac_exec_ext"
42743 ++ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42744 ++ break 2
42745 + fi
42746 ++done
42747 ++done
42748 ++IFS=$as_save_IFS
42749 +
42750 ++ ;;
42751 ++esac
42752 ++fi
42753 ++GSOAP_WSDL2H=$ac_cv_path_GSOAP_WSDL2H
42754 ++if test -n "$GSOAP_WSDL2H"; then
42755 ++ { echo "$as_me:$LINENO: result: $GSOAP_WSDL2H" >&5
42756 ++echo "${ECHO_T}$GSOAP_WSDL2H" >&6; }
42757 ++else
42758 ++ { echo "$as_me:$LINENO: result: no" >&5
42759 ++echo "${ECHO_T}no" >&6; }
42760 ++fi
42761 +
42762 +
42763 +
42764 +-
42765 +-if test "$with_magic" != "no"; then
42766 +- case "$with_magic" in
42767 ++if test "$with_gsoap" != "no"; then
42768 ++ case "$with_gsoap" in
42769 + yes | "" ) ;;
42770 +- * ) MAGIC_PATH=$with_magic ;;
42771 ++ * ) GSOAP_PATH=$with_gsoap ;;
42772 + esac
42773 +- if test -d "$MAGIC_PATH"; then
42774 +- in_path=" in $MAGIC_PATH"
42775 +- if test -z "$MAGIC_INCLUDE" -a -d "$MAGIC_PATH/include"; then
42776 +- MAGIC_INCLUDE="-I$MAGIC_PATH/include"
42777 ++ if test -d "$GSOAP_PATH"; then
42778 ++ in_path=" in $GSOAP_PATH"
42779 ++ if test -z "$GSOAP_INCLUDE" -a -d "$GSOAP_PATH/include"; then
42780 ++ GSOAP_INCLUDE="-I$GSOAP_PATH/include"
42781 + fi
42782 +- if test -n "$MAGIC_LIBPATH"; then
42783 ++ if test -n "$GSOAP_LIBPATH"; then
42784 + :
42785 +- elif test -d "$MAGIC_PATH/lib${bit64_sfx}"; then
42786 ++ elif test -d "$GSOAP_PATH/lib${bit64_sfx}"; then
42787 + ncbi_rp_L_flags=
42788 + ncbi_rp_L_sep=$CONF_f_libpath
42789 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
42790 +- for x in $MAGIC_PATH/lib${bit64_sfx}; do
42791 ++ for x in $GSOAP_PATH/lib${bit64_sfx}; do
42792 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
42793 + ncbi_rp_L_sep=" $CONF_f_libpath"
42794 + done
42795 +- MAGIC_LIBPATH="${ncbi_rp_L_flags}"
42796 ++ GSOAP_LIBPATH="${ncbi_rp_L_flags}"
42797 + else
42798 + ncbi_rp_R_flags=
42799 + ncbi_rp_R_sep=" $CONF_f_runpath"
42800 +- for x in $MAGIC_PATH/lib${bit64_sfx}; do
42801 ++ for x in $GSOAP_PATH/lib${bit64_sfx}; do
42802 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
42803 + ncbi_rp_L_sep=" $CONF_f_libpath"
42804 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
42805 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
42806 + ncbi_rp_R_sep=:
42807 + done
42808 +- MAGIC_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
42809 ++ GSOAP_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
42810 + fi
42811 +- elif test -d "$MAGIC_PATH/lib"; then
42812 ++ elif test -d "$GSOAP_PATH/lib"; then
42813 + ncbi_rp_L_flags=
42814 + ncbi_rp_L_sep=$CONF_f_libpath
42815 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
42816 +- for x in $MAGIC_PATH/lib; do
42817 ++ for x in $GSOAP_PATH/lib; do
42818 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
42819 + ncbi_rp_L_sep=" $CONF_f_libpath"
42820 + done
42821 +- MAGIC_LIBPATH="${ncbi_rp_L_flags}"
42822 ++ GSOAP_LIBPATH="${ncbi_rp_L_flags}"
42823 + else
42824 + ncbi_rp_R_flags=
42825 + ncbi_rp_R_sep=" $CONF_f_runpath"
42826 +- for x in $MAGIC_PATH/lib; do
42827 ++ for x in $GSOAP_PATH/lib; do
42828 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
42829 + ncbi_rp_L_sep=" $CONF_f_libpath"
42830 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
42831 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
42832 + ncbi_rp_R_sep=:
42833 + done
42834 +- MAGIC_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
42835 ++ GSOAP_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
42836 + fi
42837 + fi
42838 +- MAGIC_LIBS="$MAGIC_LIBPATH -lmagic "
42839 ++ GSOAP_LIBS="$GSOAP_LIBPATH -lgsoapssl++ $OPENSSL_LIBS $Z_LIBS"
42840 + else
42841 +- MAGIC_INCLUDE=""
42842 +- MAGIC_LIBS="-lmagic "
42843 ++ GSOAP_INCLUDE=""
42844 ++ GSOAP_LIBS="-lgsoapssl++ $OPENSSL_LIBS $Z_LIBS"
42845 + in_path=
42846 + fi
42847 +- echo "$as_me:$LINENO: checking for libmagic$in_path" >&5
42848 +-echo $ECHO_N "checking for libmagic$in_path... $ECHO_C" >&6
42849 +-if test "${ncbi_cv_lib_magic+set}" = set; then
42850 ++ { echo "$as_me:$LINENO: checking for libgsoapssl++$in_path" >&5
42851 ++echo $ECHO_N "checking for libgsoapssl++$in_path... $ECHO_C" >&6; }
42852 ++if test "${ncbi_cv_lib_gsoap+set}" = set; then
42853 + echo $ECHO_N "(cached) $ECHO_C" >&6
42854 + else
42855 +- CPPFLAGS=" $MAGIC_INCLUDE $orig_CPPFLAGS"
42856 +- LIBS="$MAGIC_LIBS $orig_LIBS"
42857 ++ CPPFLAGS=" $GSOAP_INCLUDE $orig_CPPFLAGS"
42858 ++ LIBS="$GSOAP_LIBS $orig_LIBS"
42859 + cat >conftest.$ac_ext <<_ACEOF
42860 + /* confdefs.h. */
42861 + _ACEOF
42862 + cat confdefs.h >>conftest.$ac_ext
42863 + cat >>conftest.$ac_ext <<_ACEOF
42864 + /* end confdefs.h. */
42865 +-#include <magic.h>
42866 ++#include <stdsoap2.h>
42867 ++ SOAP_FMAC3 const char** SOAP_FMAC4 soap_faultcode(struct soap*)
42868 ++ { return NULL; }
42869 ++ SOAP_FMAC3 const char** SOAP_FMAC4 soap_faultsubcode(struct soap*)
42870 ++ { return NULL; }
42871 ++ SOAP_FMAC3 const char** SOAP_FMAC4 soap_faultstring(struct soap*)
42872 ++ { return NULL; }
42873 ++ SOAP_FMAC3 const char** SOAP_FMAC4 soap_faultdetail(struct soap*)
42874 ++ { return NULL; }
42875 ++ SOAP_FMAC3 const char* SOAP_FMAC4 soap_check_faultsubcode(struct soap*)
42876 ++ { return NULL; }
42877 ++ SOAP_FMAC3 const char* SOAP_FMAC4 soap_check_faultdetail(struct soap*)
42878 ++ { return NULL; }
42879 ++ SOAP_FMAC3 void SOAP_FMAC4 soap_serializeheader(struct soap*) { }
42880 ++ SOAP_FMAC3 int SOAP_FMAC4 soap_putheader(struct soap*) { return 0; }
42881 ++ SOAP_FMAC3 int SOAP_FMAC4 soap_getheader(struct soap*) { return 0; }
42882 ++ SOAP_FMAC3 void SOAP_FMAC4 soap_serializefault(struct soap*) { }
42883 ++ SOAP_FMAC3 int SOAP_FMAC4 soap_putfault(struct soap*) { return 0; }
42884 ++ SOAP_FMAC3 int SOAP_FMAC4 soap_getfault(struct soap*) { return 0; }
42885 + int
42886 + main ()
42887 + {
42888 +-magic_t m = magic_open(17);
42889 ++soap s;
42890 + ;
42891 + return 0;
42892 + }
42893 + _ACEOF
42894 + rm -f conftest.$ac_objext conftest$ac_exeext
42895 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42896 +- (eval $ac_link) 2>conftest.er1
42897 ++if { (ac_try="$ac_link"
42898 ++case "(($ac_try" in
42899 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42900 ++ *) ac_try_echo=$ac_try;;
42901 ++esac
42902 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42903 ++ (eval "$ac_link") 2>conftest.er1
42904 + ac_status=$?
42905 + grep -v '^ *+' conftest.er1 >conftest.err
42906 + rm -f conftest.er1
42907 + cat conftest.err >&5
42908 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
42909 + (exit $ac_status); } &&
42910 +- { ac_try='test -z "$ac_cxx_werror_flag"
42911 +- || test ! -s conftest.err'
42912 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42913 +- (eval $ac_try) 2>&5
42914 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42915 ++ { (case "(($ac_try" in
42916 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42917 ++ *) ac_try_echo=$ac_try;;
42918 ++esac
42919 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42920 ++ (eval "$ac_try") 2>&5
42921 + ac_status=$?
42922 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
42923 + (exit $ac_status); }; } &&
42924 + { ac_try='test -s conftest$ac_exeext'
42925 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42926 +- (eval $ac_try) 2>&5
42927 ++ { (case "(($ac_try" in
42928 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42929 ++ *) ac_try_echo=$ac_try;;
42930 ++esac
42931 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42932 ++ (eval "$ac_try") 2>&5
42933 + ac_status=$?
42934 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
42935 + (exit $ac_status); }; }; then
42936 +- ncbi_cv_lib_magic=yes
42937 ++ ncbi_cv_lib_gsoap=yes
42938 + else
42939 + echo "$as_me: failed program was:" >&5
42940 + sed 's/^/| /' conftest.$ac_ext >&5
42941 +
42942 +-ncbi_cv_lib_magic=no
42943 ++ ncbi_cv_lib_gsoap=no
42944 + fi
42945 +-rm -f conftest.err conftest.$ac_objext \
42946 ++
42947 ++rm -f core conftest.err conftest.$ac_objext \
42948 + conftest$ac_exeext conftest.$ac_ext
42949 + fi
42950 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_magic" >&5
42951 +-echo "${ECHO_T}$ncbi_cv_lib_magic" >&6
42952 +- if test "$ncbi_cv_lib_magic" = "no"; then
42953 +- if test "${with_magic:=no}" != no; then
42954 +- { { echo "$as_me:$LINENO: error: --with-magic explicitly specified, but no usable version found." >&5
42955 +-echo "$as_me: error: --with-magic explicitly specified, but no usable version found." >&2;}
42956 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_gsoap" >&5
42957 ++echo "${ECHO_T}$ncbi_cv_lib_gsoap" >&6; }
42958 ++ if test "$ncbi_cv_lib_gsoap" = "no"; then
42959 ++ if test "${with_gsoap:=no}" != no; then
42960 ++ { { echo "$as_me:$LINENO: error: --with-gsoap explicitly specified, but no usable version found." >&5
42961 ++echo "$as_me: error: --with-gsoap explicitly specified, but no usable version found." >&2;}
42962 + { (exit 1); exit 1; }; }
42963 + fi
42964 + fi
42965 + fi
42966 +- if test "$with_magic" = "no"; then
42967 +- MAGIC_PATH="No_MAGIC"
42968 +- MAGIC_INCLUDE=
42969 +- MAGIC_LIBS=
42970 ++ if test "$with_gsoap" = "no"; then
42971 ++ GSOAP_PATH="No_GSOAP"
42972 ++ GSOAP_INCLUDE=
42973 ++ GSOAP_LIBS=
42974 + else
42975 +- WithPackages="$WithPackages${WithPackagesSep}MAGIC"; WithPackagesSep=" "
42976 +- MAGIC_INCLUDE=" $MAGIC_INCLUDE"
42977 ++ WithPackages="$WithPackages${WithPackagesSep}GSOAP"; WithPackagesSep=" "
42978 ++ GSOAP_INCLUDE=" $GSOAP_INCLUDE"
42979 +
42980 + cat >>confdefs.h <<\_ACEOF
42981 +-#define HAVE_LIBMAGIC 1
42982 ++#define HAVE_LIBGSOAP 1
42983 + _ACEOF
42984 +
42985 + fi
42986 +@@ -33831,203 +38960,218 @@
42987 +
42988 +
42989 +
42990 +-
42991 +-# Mimetic
42992 +-case "$with_mimetic" in
42993 +- yes | '' ) : ${MIMETIC_PATH=$NCBI/mimetic} ;;
42994 +- * ) MIMETIC_PATH=$with_mimetic ;;
42995 ++case "$with_sqlite3" in
42996 ++ yes | '' ) ;;
42997 ++ * ) SQLITE3_PATH=$with_sqlite3 ;;
42998 + esac
42999 +-if test -d "$MIMETIC_PATH"; then
43000 +- ncbi_fix_dir_tmp=`if cd $MIMETIC_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
43001 ++
43002 ++
43003 ++# MongoDB
43004 ++if test -d "$MONGODB_PATH"; then
43005 ++ ncbi_fix_dir_tmp=`if cd $MONGODB_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
43006 + case "$ncbi_fix_dir_tmp" in
43007 +- /.*) ncbi_fix_dir_tmp2=`cd $MIMETIC_PATH && $smart_pwd 2>/dev/null`
43008 ++ /.*) ncbi_fix_dir_tmp2=`cd $MONGODB_PATH && $smart_pwd 2>/dev/null`
43009 + if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
43010 +- MIMETIC_PATH=$ncbi_fix_dir_tmp2
43011 ++ MONGODB_PATH=$ncbi_fix_dir_tmp2
43012 + else
43013 +- case "$MIMETIC_PATH" in
43014 ++ case "$MONGODB_PATH" in
43015 + /*) ;;
43016 +- * ) MIMETIC_PATH=$ncbi_fix_dir_tmp ;;
43017 ++ * ) MONGODB_PATH=$ncbi_fix_dir_tmp ;;
43018 + esac
43019 + fi
43020 + ;;
43021 +- /*) MIMETIC_PATH=$ncbi_fix_dir_tmp ;;
43022 ++ /*) MONGODB_PATH=$ncbi_fix_dir_tmp ;;
43023 + esac
43024 + fi
43025 +-for d in "$MIMETIC_LIBDIR" \
43026 +- "$MIMETIC_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}/lib" \
43027 +- "$MIMETIC_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}/lib" \
43028 +- "$MIMETIC_PATH/lib${bit64_sfx}" \
43029 +- "$MIMETIC_PATH/${compiler_vpfx}${DEBUG_SFX}/lib" \
43030 +- "$MIMETIC_PATH/${compiler_pfx}${DEBUG_SFX}/lib" \
43031 +- "$MIMETIC_PATH/lib"; do
43032 +- if test -d "$d"; then
43033 +- MIMETIC_LIBDIR=$d
43034 +- break
43035 ++if test -d $MONGODB_PATH/lib${bit64_sfx}; then
43036 ++ MONGODB_LIBDIR=$MONGODB_PATH/lib${bit64_sfx}
43037 ++else
43038 ++ MONGODB_LIBDIR=$MONGODB_PATH/lib
43039 + fi
43040 +-done
43041 ++# need Boost rpath
43042 + ncbi_rp_L_flags=
43043 + ncbi_rp_L_sep=$CONF_f_libpath
43044 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
43045 +- for x in $MIMETIC_LIBDIR; do
43046 ++ for x in $MONGODB_LIBDIR; do
43047 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
43048 + ncbi_rp_L_sep=" $CONF_f_libpath"
43049 + done
43050 +- MIMETIC_LIBPATH="${ncbi_rp_L_flags}"
43051 ++ MONGODB_LIBPATH="${ncbi_rp_L_flags}"
43052 + else
43053 + ncbi_rp_R_flags=
43054 + ncbi_rp_R_sep=" $CONF_f_runpath"
43055 +- for x in $MIMETIC_LIBDIR; do
43056 ++ for x in $MONGODB_LIBDIR; do
43057 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
43058 + ncbi_rp_L_sep=" $CONF_f_libpath"
43059 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
43060 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
43061 + ncbi_rp_R_sep=:
43062 + done
43063 +- MIMETIC_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
43064 ++ MONGODB_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
43065 + fi
43066 +-
43067 +-if test "$with_mimetic" != "no"; then
43068 +- case "$with_mimetic" in
43069 ++if test "$with_mongodb" != "no"; then
43070 ++ case "$with_mongodb" in
43071 + yes | "" ) ;;
43072 +- * ) MIMETIC_PATH=$with_mimetic ;;
43073 ++ * ) MONGODB_PATH=$with_mongodb ;;
43074 + esac
43075 +- if test -d "$MIMETIC_PATH"; then
43076 +- in_path=" in $MIMETIC_PATH"
43077 +- if test -z "$MIMETIC_INCLUDE" -a -d "$MIMETIC_PATH/include"; then
43078 +- MIMETIC_INCLUDE="-I$MIMETIC_PATH/include"
43079 ++ if test -d "$MONGODB_PATH"; then
43080 ++ in_path=" in $MONGODB_PATH"
43081 ++ if test -z "$MONGODB_INCLUDE" -a -d "$MONGODB_PATH/include"; then
43082 ++ MONGODB_INCLUDE="-I$MONGODB_PATH/include"
43083 + fi
43084 +- if test -n "$MIMETIC_LIBPATH"; then
43085 ++ if test -n "$MONGODB_LIBPATH"; then
43086 + :
43087 +- elif test -d "$MIMETIC_PATH/lib${bit64_sfx}"; then
43088 ++ elif test -d "$MONGODB_PATH/lib${bit64_sfx}"; then
43089 + ncbi_rp_L_flags=
43090 + ncbi_rp_L_sep=$CONF_f_libpath
43091 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
43092 +- for x in $MIMETIC_PATH/lib${bit64_sfx}; do
43093 ++ for x in $MONGODB_PATH/lib${bit64_sfx}; do
43094 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
43095 + ncbi_rp_L_sep=" $CONF_f_libpath"
43096 + done
43097 +- MIMETIC_LIBPATH="${ncbi_rp_L_flags}"
43098 ++ MONGODB_LIBPATH="${ncbi_rp_L_flags}"
43099 + else
43100 + ncbi_rp_R_flags=
43101 + ncbi_rp_R_sep=" $CONF_f_runpath"
43102 +- for x in $MIMETIC_PATH/lib${bit64_sfx}; do
43103 ++ for x in $MONGODB_PATH/lib${bit64_sfx}; do
43104 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
43105 + ncbi_rp_L_sep=" $CONF_f_libpath"
43106 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
43107 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
43108 + ncbi_rp_R_sep=:
43109 + done
43110 +- MIMETIC_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
43111 ++ MONGODB_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
43112 + fi
43113 +- elif test -d "$MIMETIC_PATH/lib"; then
43114 ++ elif test -d "$MONGODB_PATH/lib"; then
43115 + ncbi_rp_L_flags=
43116 + ncbi_rp_L_sep=$CONF_f_libpath
43117 + if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
43118 +- for x in $MIMETIC_PATH/lib; do
43119 ++ for x in $MONGODB_PATH/lib; do
43120 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
43121 + ncbi_rp_L_sep=" $CONF_f_libpath"
43122 + done
43123 +- MIMETIC_LIBPATH="${ncbi_rp_L_flags}"
43124 ++ MONGODB_LIBPATH="${ncbi_rp_L_flags}"
43125 + else
43126 + ncbi_rp_R_flags=
43127 + ncbi_rp_R_sep=" $CONF_f_runpath"
43128 +- for x in $MIMETIC_PATH/lib; do
43129 ++ for x in $MONGODB_PATH/lib; do
43130 + ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
43131 + ncbi_rp_L_sep=" $CONF_f_libpath"
43132 + x=`echo $x | sed -e "$ncbi_rpath_sed"`
43133 + ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
43134 + ncbi_rp_R_sep=:
43135 + done
43136 +- MIMETIC_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
43137 ++ MONGODB_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
43138 + fi
43139 + fi
43140 +- MIMETIC_LIBS="$MIMETIC_LIBPATH -lmimetic "
43141 ++ MONGODB_LIBS="$MONGODB_LIBPATH -lmongoclient $BOOST_LIBPATH $boost_fs_lib $BOOST_THREAD_LIBS"
43142 + else
43143 +- MIMETIC_INCLUDE=""
43144 +- MIMETIC_LIBS="-lmimetic "
43145 ++ MONGODB_INCLUDE=""
43146 ++ MONGODB_LIBS="-lmongoclient $BOOST_LIBPATH $boost_fs_lib $BOOST_THREAD_LIBS"
43147 + in_path=
43148 + fi
43149 +- echo "$as_me:$LINENO: checking for libmimetic$in_path" >&5
43150 +-echo $ECHO_N "checking for libmimetic$in_path... $ECHO_C" >&6
43151 +-if test "${ncbi_cv_lib_mimetic+set}" = set; then
43152 ++ { echo "$as_me:$LINENO: checking for libmongoclient$in_path" >&5
43153 ++echo $ECHO_N "checking for libmongoclient$in_path... $ECHO_C" >&6; }
43154 ++if test "${ncbi_cv_lib_mongodb+set}" = set; then
43155 + echo $ECHO_N "(cached) $ECHO_C" >&6
43156 + else
43157 +- CPPFLAGS=" $MIMETIC_INCLUDE $orig_CPPFLAGS"
43158 +- LIBS="$MIMETIC_LIBS $orig_LIBS"
43159 ++ CPPFLAGS="$BOOST_INCLUDE $MONGODB_INCLUDE $orig_CPPFLAGS"
43160 ++ LIBS="$MONGODB_LIBS $orig_LIBS"
43161 + cat >conftest.$ac_ext <<_ACEOF
43162 + /* confdefs.h. */
43163 + _ACEOF
43164 + cat confdefs.h >>conftest.$ac_ext
43165 + cat >>conftest.$ac_ext <<_ACEOF
43166 + /* end confdefs.h. */
43167 +-#include <mimetic/mimetic.h>
43168 ++#include <mongo/client/dbclient.h>
43169 + int
43170 + main ()
43171 + {
43172 +-mimetic::MimeEntity me;
43173 ++std::vector<mongo::HostAndPort> v;
43174 ++ mongo::DBClientReplicaSet client("foo", v);
43175 ++ client.connect();
43176 + ;
43177 + return 0;
43178 + }
43179 + _ACEOF
43180 + rm -f conftest.$ac_objext conftest$ac_exeext
43181 +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43182 +- (eval $ac_link) 2>conftest.er1
43183 ++if { (ac_try="$ac_link"
43184 ++case "(($ac_try" in
43185 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43186 ++ *) ac_try_echo=$ac_try;;
43187 ++esac
43188 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43189 ++ (eval "$ac_link") 2>conftest.er1
43190 + ac_status=$?
43191 + grep -v '^ *+' conftest.er1 >conftest.err
43192 + rm -f conftest.er1
43193 + cat conftest.err >&5
43194 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
43195 + (exit $ac_status); } &&
43196 +- { ac_try='test -z "$ac_cxx_werror_flag"
43197 +- || test ! -s conftest.err'
43198 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43199 +- (eval $ac_try) 2>&5
43200 ++ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43201 ++ { (case "(($ac_try" in
43202 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43203 ++ *) ac_try_echo=$ac_try;;
43204 ++esac
43205 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43206 ++ (eval "$ac_try") 2>&5
43207 + ac_status=$?
43208 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
43209 + (exit $ac_status); }; } &&
43210 + { ac_try='test -s conftest$ac_exeext'
43211 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43212 +- (eval $ac_try) 2>&5
43213 ++ { (case "(($ac_try" in
43214 ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43215 ++ *) ac_try_echo=$ac_try;;
43216 ++esac
43217 ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43218 ++ (eval "$ac_try") 2>&5
43219 + ac_status=$?
43220 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
43221 + (exit $ac_status); }; }; then
43222 +- ncbi_cv_lib_mimetic=yes
43223 ++ ncbi_cv_lib_mongodb=yes
43224 + else
43225 + echo "$as_me: failed program was:" >&5
43226 + sed 's/^/| /' conftest.$ac_ext >&5
43227 +
43228 +-ncbi_cv_lib_mimetic=no
43229 ++ ncbi_cv_lib_mongodb=no
43230 + fi
43231 +-rm -f conftest.err conftest.$ac_objext \
43232 ++
43233 ++rm -f core conftest.err conftest.$ac_objext \
43234 + conftest$ac_exeext conftest.$ac_ext
43235 + fi
43236 +-echo "$as_me:$LINENO: result: $ncbi_cv_lib_mimetic" >&5
43237 +-echo "${ECHO_T}$ncbi_cv_lib_mimetic" >&6
43238 +- if test "$ncbi_cv_lib_mimetic" = "no"; then
43239 +- if test "${with_mimetic:=no}" != no; then
43240 +- { { echo "$as_me:$LINENO: error: --with-mimetic explicitly specified, but no usable version found." >&5
43241 +-echo "$as_me: error: --with-mimetic explicitly specified, but no usable version found." >&2;}
43242 ++{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_mongodb" >&5
43243 ++echo "${ECHO_T}$ncbi_cv_lib_mongodb" >&6; }
43244 ++ if test "$ncbi_cv_lib_mongodb" = "no"; then
43245 ++ if test "${with_mongodb:=no}" != no; then
43246 ++ { { echo "$as_me:$LINENO: error: --with-mongodb explicitly specified, but no usable version found." >&5
43247 ++echo "$as_me: error: --with-mongodb explicitly specified, but no usable version found." >&2;}
43248 + { (exit 1); exit 1; }; }
43249 + fi
43250 + fi
43251 + fi
43252 +- if test "$with_mimetic" = "no"; then
43253 +- MIMETIC_PATH="No_MIMETIC"
43254 +- MIMETIC_INCLUDE=
43255 +- MIMETIC_LIBS=
43256 ++ if test "$with_mongodb" = "no"; then
43257 ++ MONGODB_PATH="No_MONGODB"
43258 ++ MONGODB_INCLUDE=
43259 ++ MONGODB_LIBS=
43260 + else
43261 +- WithPackages="$WithPackages${WithPackagesSep}MIMETIC"; WithPackagesSep=" "
43262 +- MIMETIC_INCLUDE=" $MIMETIC_INCLUDE"
43263 ++ WithPackages="$WithPackages${WithPackagesSep}MONGODB"; WithPackagesSep=" "
43264 ++ MONGODB_INCLUDE="$BOOST_INCLUDE $MONGODB_INCLUDE"
43265 +
43266 + cat >>confdefs.h <<\_ACEOF
43267 +-#define HAVE_LIBMIMETIC 1
43268 ++#define HAVE_LIBMONGODB 1
43269 + _ACEOF
43270 +
43271 + fi
43272 +
43273 +
43274 +
43275 +-
43276 ++# MongoDB's own library is normally static, but its supporting Boost
43277 ++# libraries might not be by default.
43278 ++if test -n "$MONGODB_LIBS"; then
43279 ++ MONGODB_STATIC_LIBS="$MONGODB_LIBPATH -lmongodb $BOOST_LIBPATH $boost_fs_static_lib $BOOST_THREAD_STATIC_LIBS"
43280 ++else
43281 ++ MONGODB_STATIC_LIBS=
43282 ++fi
43283 +
43284 + ### Restore original compiler/linker flags
43285 + LIBS="$orig_LIBS"
43286 +@@ -34263,16 +39407,6 @@
43287 + fi
43288 +
43289 +
43290 +-## Sequence Read Archive SDK, which may be attached on either the
43291 +-## public or the internal side
43292 +-
43293 +-if test -f "${real_srcdir}/src/sra/sdk/Makefile.sra_macros.mk"; then
43294 +- sra=sra
43295 +-else
43296 +- sra=
43297 +-fi
43298 +-
43299 +-
43300 + ## `internal' project cluster
43301 +
43302 + if test "$with_internal" = "no" \
43303 +@@ -34445,7 +39579,7 @@
43304 + ;;
43305 + esac
43306 + done
43307 +- 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
43308 ++ 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
43309 + case " $WithPackages " in
43310 + *" $x "*) ;;
43311 + *) WithoutPackages="$WithoutPackages$WithoutPackagesSep$x"
43312 +@@ -34802,6 +39936,11 @@
43313 +
43314 +
43315 +
43316 ++
43317 ++
43318 ++
43319 ++
43320 ++
43321 + #############################################################################
43322 + ### Create output files and do some post-configuration
43323 +
43324 +@@ -34852,39 +39991,58 @@
43325 +
43326 + # The following way of writing the cache mishandles newlines in values,
43327 + # but we know of no workaround that is simple, portable, and efficient.
43328 +-# So, don't put newlines in cache variables' values.
43329 ++# So, we kill variables containing newlines.
43330 + # Ultrix sh set writes to stderr and can't be redirected directly,
43331 + # and sets the high bit in the cache file unless we assign to the vars.
43332 +-{
43333 ++(
43334 ++ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
43335 ++ eval ac_val=\$$ac_var
43336 ++ case $ac_val in #(
43337 ++ *${as_nl}*)
43338 ++ case $ac_var in #(
43339 ++ *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
43340 ++echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
43341 ++ esac
43342 ++ case $ac_var in #(
43343 ++ _ | IFS | as_nl) ;; #(
43344 ++ *) $as_unset $ac_var ;;
43345 ++ esac ;;
43346 ++ esac
43347 ++ done
43348 ++
43349 + (set) 2>&1 |
43350 +- case `(ac_space=' '; set | grep ac_space) 2>&1` in
43351 +- *ac_space=\ *)
43352 ++ case $as_nl`(ac_space=' '; set) 2>&1` in #(
43353 ++ *${as_nl}ac_space=\ *)
43354 + # `set' does not quote correctly, so add quotes (double-quote
43355 + # substitution turns \\\\ into \\, and sed turns \\ into \).
43356 + sed -n \
43357 + "s/'/'\\\\''/g;
43358 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
43359 +- ;;
43360 ++ ;; #(
43361 + *)
43362 + # `set' quotes correctly as required by POSIX, so do not add quotes.
43363 +- sed -n \
43364 +- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
43365 ++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
43366 + ;;
43367 +- esac;
43368 +-} |
43369 ++ esac |
43370 ++ sort
43371 ++) |
43372 + sed '
43373 ++ /^ac_cv_env_/b end
43374 + t clear
43375 + : clear
43376 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
43377 + t end
43378 +- /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
43379 ++ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
43380 + : end' >>confcache
43381 +-if diff $cache_file confcache >/dev/null 2>&1; then :; else
43382 +- if test -w $cache_file; then
43383 +- test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
43384 ++if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
43385 ++ if test -w "$cache_file"; then
43386 ++ test "x$cache_file" != "x/dev/null" &&
43387 ++ { echo "$as_me:$LINENO: updating cache $cache_file" >&5
43388 ++echo "$as_me: updating cache $cache_file" >&6;}
43389 + cat confcache >$cache_file
43390 + else
43391 +- echo "not updating unwritable cache $cache_file"
43392 ++ { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
43393 ++echo "$as_me: not updating unwritable cache $cache_file" >&6;}
43394 + fi
43395 + fi
43396 + rm -f confcache
43397 +@@ -34893,32 +40051,18 @@
43398 + # Let make expand exec_prefix.
43399 + test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
43400 +
43401 +-# VPATH may cause trouble with some makes, so we remove $(srcdir),
43402 +-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
43403 +-# trailing colons and then remove the whole line if VPATH becomes empty
43404 +-# (actually we leave an empty line to preserve line numbers).
43405 +-if test "x$srcdir" = x.; then
43406 +- ac_vpsub='/^[ ]*VPATH[ ]*=/{
43407 +-s/:*\$(srcdir):*/:/;
43408 +-s/:*\${srcdir}:*/:/;
43409 +-s/:*@srcdir@:*/:/;
43410 +-s/^\([^=]*=[ ]*\):*/\1/;
43411 +-s/:*$//;
43412 +-s/^[^=]*=[ ]*$//;
43413 +-}'
43414 +-fi
43415 +-
43416 + DEFS=-DHAVE_CONFIG_H
43417 +
43418 + ac_libobjs=
43419 + ac_ltlibobjs=
43420 + for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
43421 + # 1. Remove the extension, and $U if already installed.
43422 +- ac_i=`echo "$ac_i" |
43423 +- sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
43424 +- # 2. Add them.
43425 +- ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
43426 +- ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
43427 ++ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
43428 ++ ac_i=`echo "$ac_i" | sed "$ac_script"`
43429 ++ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
43430 ++ # will be set to the directory where LIBOBJS objects are built.
43431 ++ ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
43432 ++ ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
43433 + done
43434 + LIBOBJS=$ac_libobjs
43435 +
43436 +@@ -34956,66 +40100,15 @@
43437 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
43438 + # is contrary to our usage. Disable this feature.
43439 + alias -g '${1+"$@"}'='"$@"'
43440 +-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
43441 +- set -o posix
43442 +-fi
43443 +-DUALCASE=1; export DUALCASE # for MKS sh
43444 +-
43445 +-# Support unset when possible.
43446 +-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
43447 +- as_unset=unset
43448 +-else
43449 +- as_unset=false
43450 +-fi
43451 +-
43452 +-
43453 +-# Work around bugs in pre-3.0 UWIN ksh.
43454 +-$as_unset ENV MAIL MAILPATH
43455 +-PS1='$ '
43456 +-PS2='> '
43457 +-PS4='+ '
43458 +-
43459 +-# NLS nuisances.
43460 +-for as_var in \
43461 +- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43462 +- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43463 +- LC_TELEPHONE LC_TIME
43464 +-do
43465 +- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
43466 +- eval $as_var=C; export $as_var
43467 +- else
43468 +- $as_unset $as_var
43469 +- fi
43470 +-done
43471 +-
43472 +-# Required to use basename.
43473 +-if expr a : '\(a\)' >/dev/null 2>&1; then
43474 +- as_expr=expr
43475 +-else
43476 +- as_expr=false
43477 +-fi
43478 +-
43479 +-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
43480 +- as_basename=basename
43481 ++ setopt NO_GLOB_SUBST
43482 + else
43483 +- as_basename=false
43484 ++ case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
43485 + fi
43486 ++BIN_SH=xpg4; export BIN_SH # for Tru64
43487 ++DUALCASE=1; export DUALCASE # for MKS sh
43488 +
43489 +
43490 +-# Name of the executable.
43491 +-as_me=`$as_basename "$0" ||
43492 +-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
43493 +- X"$0" : 'X\(//\)$' \| \
43494 +- X"$0" : 'X\(/\)$' \| \
43495 +- . : '\(.\)' 2>/dev/null ||
43496 +-echo X/"$0" |
43497 +- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
43498 +- /^X\/\(\/\/\)$/{ s//\1/; q; }
43499 +- /^X\/\(\/\).*/{ s//\1/; q; }
43500 +- s/.*/./; q'`
43501 +-
43502 +-
43503 +-# PATH needs CR, and LINENO needs CR and PATH.
43504 ++# PATH needs CR
43505 + # Avoid depending upon Character Ranges.
43506 + as_cr_letters='abcdefghijklmnopqrstuvwxyz'
43507 + as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
43508 +@@ -35036,14 +40129,24 @@
43509 + rm -f conf$$.sh
43510 + fi
43511 +
43512 ++# Support unset when possible.
43513 ++if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
43514 ++ as_unset=unset
43515 ++else
43516 ++ as_unset=false
43517 ++fi
43518 +
43519 +- as_lineno_1=$LINENO
43520 +- as_lineno_2=$LINENO
43521 +- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
43522 +- test "x$as_lineno_1" != "x$as_lineno_2" &&
43523 +- test "x$as_lineno_3" = "x$as_lineno_2" || {
43524 +- # Find who we are. Look in the path if we contain no path at all
43525 +- # relative or not.
43526 ++
43527 ++# IFS
43528 ++# We need space, tab and new line, in precisely that order. Quoting is
43529 ++# there to prevent editors from complaining about space-tab.
43530 ++# (If _AS_PATH_WALK were called with IFS unset, it would disable word
43531 ++# splitting by setting IFS to empty value.)
43532 ++as_nl='
43533 ++'
43534 ++IFS=" "" $as_nl"
43535 ++
43536 ++# Find who we are. Look in the path if we contain no directory separator.
43537 + case $0 in
43538 + *[\\/]* ) as_myself=$0 ;;
43539 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43540 +@@ -35053,6 +40156,7 @@
43541 + test -z "$as_dir" && as_dir=.
43542 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
43543 + done
43544 ++IFS=$as_save_IFS
43545 +
43546 + ;;
43547 + esac
43548 +@@ -35062,103 +40166,161 @@
43549 + as_myself=$0
43550 + fi
43551 + if test ! -f "$as_myself"; then
43552 +- { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
43553 +-echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
43554 +- { (exit 1); exit 1; }; }
43555 ++ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
43556 ++ { (exit 1); exit 1; }
43557 + fi
43558 +- case $CONFIG_SHELL in
43559 +- '')
43560 +- $as_unset ZSH_VERSION || test "${ZSH_VERSION+set}" != set || { ZSH_VERSION=; export ZSH_VERSION; }
43561 +- for as_base in sh ksh sh5 bash; do
43562 +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43563 +-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
43564 ++
43565 ++# Work around bugs in pre-3.0 UWIN ksh.
43566 ++for as_var in ENV MAIL MAILPATH
43567 ++do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
43568 ++done
43569 ++PS1='$ '
43570 ++PS2='> '
43571 ++PS4='+ '
43572 ++
43573 ++# NLS nuisances.
43574 ++for as_var in \
43575 ++ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43576 ++ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43577 ++ LC_TELEPHONE LC_TIME
43578 + do
43579 +- IFS=$as_save_IFS
43580 +- test -z "$as_dir" && as_dir=.
43581 +- case $as_dir in
43582 +- /*)
43583 +- if ("$as_dir/$as_base" -c \
43584 +- 'test -z "$ZSH_VERSION" && {
43585 ++ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
43586 ++ eval $as_var=C; export $as_var
43587 ++ else
43588 ++ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
43589 ++ fi
43590 ++done
43591 ++
43592 ++# Required to use basename.
43593 ++if expr a : '\(a\)' >/dev/null 2>&1 &&
43594 ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then
43595 ++ as_expr=expr
43596 ++else
43597 ++ as_expr=false
43598 ++fi
43599 ++
43600 ++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
43601 ++ as_basename=basename
43602 ++else
43603 ++ as_basename=false
43604 ++fi
43605 ++
43606 ++
43607 ++# Name of the executable.
43608 ++as_me=`$as_basename -- "$0" ||
43609 ++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
43610 ++ X"$0" : 'X\(//\)$' \| \
43611 ++ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
43612 ++echo X/"$0" |
43613 ++ sed '/^.*\/\([^/][^/]*\)\/*$/{
43614 ++ s//\1/
43615 ++ q
43616 ++ }
43617 ++ /^X\/\(\/\/\)$/{
43618 ++ s//\1/
43619 ++ q
43620 ++ }
43621 ++ /^X\/\(\/\).*/{
43622 ++ s//\1/
43623 ++ q
43624 ++ }
43625 ++ s/.*/./; q'`
43626 ++
43627 ++# CDPATH.
43628 ++$as_unset CDPATH
43629 ++
43630 ++
43631 ++
43632 + as_lineno_1=$LINENO
43633 + as_lineno_2=$LINENO
43634 +- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
43635 + test "x$as_lineno_1" != "x$as_lineno_2" &&
43636 +- test "x$as_lineno_3" = "x$as_lineno_2" ; }') 2>/dev/null
43637 +- then
43638 +- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
43639 +- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
43640 +- CONFIG_SHELL=$as_dir/$as_base
43641 +- export CONFIG_SHELL
43642 +- exec "$CONFIG_SHELL" "$0" ${1+"$@"}
43643 +- fi;;
43644 +- esac
43645 +- done
43646 +-done
43647 +-;;
43648 +- esac
43649 ++ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
43650 +
43651 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
43652 + # uniformly replaced by the line number. The first 'sed' inserts a
43653 +- # line-number line before each line; the second 'sed' does the real
43654 +- # work. The second script uses 'N' to pair each line-number line
43655 +- # with the numbered line, and appends trailing '-' during
43656 +- # substitution so that $LINENO is not a special case at line end.
43657 ++ # line-number line after each line using $LINENO; the second 'sed'
43658 ++ # does the real work. The second script uses 'N' to pair each
43659 ++ # line-number line with the line containing $LINENO, and appends
43660 ++ # trailing '-' during substitution so that $LINENO is not a special
43661 ++ # case at line end.
43662 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
43663 +- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
43664 +- sed '=' <$as_myself |
43665 ++ # scripts with optimization help from Paolo Bonzini. Blame Lee
43666 ++ # E. McMahon (1931-1989) for sed's syntax. :-)
43667 ++ sed -n '
43668 ++ p
43669 ++ /[$]LINENO/=
43670 ++ ' <$as_myself |
43671 + sed '
43672 ++ s/[$]LINENO.*/&-/
43673 ++ t lineno
43674 ++ b
43675 ++ :lineno
43676 + N
43677 +- s,$,-,
43678 + : loop
43679 +- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
43680 ++ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
43681 + t loop
43682 +- s,-$,,
43683 +- s,^['$as_cr_digits']*\n,,
43684 ++ s/-\n.*//
43685 + ' >$as_me.lineno &&
43686 +- chmod +x $as_me.lineno ||
43687 +- { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
43688 +-echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
43689 ++ chmod +x "$as_me.lineno" ||
43690 ++ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
43691 + { (exit 1); exit 1; }; }
43692 +
43693 + # Don't try to exec as it changes $[0], causing all sort of problems
43694 + # (the dirname of $[0] is not the place where we might find the
43695 +- # original and so on. Autoconf is especially sensible to this).
43696 +- . ./$as_me.lineno
43697 ++ # original and so on. Autoconf is especially sensitive to this).
43698 ++ . "./$as_me.lineno"
43699 + # Exit status is that of the last command.
43700 + exit
43701 + }
43702 +
43703 +
43704 +-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
43705 +- *c*,-n*) ECHO_N= ECHO_C='
43706 +-' ECHO_T=' ' ;;
43707 +- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
43708 +- *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
43709 ++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
43710 ++ as_dirname=dirname
43711 ++else
43712 ++ as_dirname=false
43713 ++fi
43714 ++
43715 ++ECHO_C= ECHO_N= ECHO_T=
43716 ++case `echo -n x` in
43717 ++-n*)
43718 ++ case `echo 'x\c'` in
43719 ++ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
43720 ++ *) ECHO_C='\c';;
43721 ++ esac;;
43722 ++*)
43723 ++ ECHO_N='-n';;
43724 + esac
43725 +
43726 +-if expr a : '\(a\)' >/dev/null 2>&1; then
43727 ++if expr a : '\(a\)' >/dev/null 2>&1 &&
43728 ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then
43729 + as_expr=expr
43730 + else
43731 + as_expr=false
43732 + fi
43733 +
43734 + rm -f conf$$ conf$$.exe conf$$.file
43735 ++if test -d conf$$.dir; then
43736 ++ rm -f conf$$.dir/conf$$.file
43737 ++else
43738 ++ rm -f conf$$.dir
43739 ++ mkdir conf$$.dir
43740 ++fi
43741 + echo >conf$$.file
43742 + if ln -s conf$$.file conf$$ 2>/dev/null; then
43743 +- # We could just check for DJGPP; but this test a) works b) is more generic
43744 +- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
43745 +- if test -f conf$$.exe; then
43746 +- # Don't use ln at all; we don't have any links
43747 +- as_ln_s='cp -p'
43748 +- else
43749 + as_ln_s='ln -s'
43750 +- fi
43751 ++ # ... but there are two gotchas:
43752 ++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
43753 ++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
43754 ++ # In both cases, we have to default to `cp -p'.
43755 ++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
43756 ++ as_ln_s='cp -p'
43757 + elif ln conf$$.file conf$$ 2>/dev/null; then
43758 + as_ln_s=ln
43759 + else
43760 + as_ln_s='cp -p'
43761 + fi
43762 +-rm -f conf$$ conf$$.exe conf$$.file
43763 ++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
43764 ++rmdir conf$$.dir 2>/dev/null
43765 +
43766 + if mkdir -p . 2>/dev/null; then
43767 + as_mkdir_p=:
43768 +@@ -35167,7 +40329,19 @@
43769 + as_mkdir_p=false
43770 + fi
43771 +
43772 +-as_executable_p="test -f"
43773 ++# Find out whether ``test -x'' works. Don't use a zero-byte file, as
43774 ++# systems may use methods other than mode bits to determine executability.
43775 ++cat >conf$$.file <<_ASEOF
43776 ++#! /bin/sh
43777 ++exit 0
43778 ++_ASEOF
43779 ++chmod +x conf$$.file
43780 ++if test -x conf$$.file >/dev/null 2>&1; then
43781 ++ as_executable_p="test -x"
43782 ++else
43783 ++ as_executable_p=:
43784 ++fi
43785 ++rm -f conf$$.file
43786 +
43787 + # Sed expression to map a string onto a valid CPP name.
43788 + as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
43789 +@@ -35176,31 +40350,14 @@
43790 + as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
43791 +
43792 +
43793 +-# IFS
43794 +-# We need space, tab and new line, in precisely that order.
43795 +-as_nl='
43796 +-'
43797 +-IFS=" $as_nl"
43798 +-
43799 +-# CDPATH.
43800 +-$as_unset CDPATH
43801 +-
43802 + exec 6>&1
43803 +
43804 +-# Open the log real soon, to keep \$[0] and so on meaningful, and to
43805 ++# Save the log message, to keep $[0] and so on meaningful, and to
43806 + # report actual input values of CONFIG_FILES etc. instead of their
43807 +-# values after options handling. Logging --version etc. is OK.
43808 +-exec 5>>config.log
43809 +-{
43810 +- echo
43811 +- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
43812 +-## Running $as_me. ##
43813 +-_ASBOX
43814 +-} >&5
43815 +-cat >&5 <<_CSEOF
43816 +-
43817 ++# values after options handling.
43818 ++ac_log="
43819 + This file was extended by ncbi-tools++ $as_me 0.0, which was
43820 +-generated by GNU Autoconf 2.59. Invocation command line was
43821 ++generated by GNU Autoconf 2.60. Invocation command line was
43822 +
43823 + CONFIG_FILES = $CONFIG_FILES
43824 + CONFIG_HEADERS = $CONFIG_HEADERS
43825 +@@ -35208,30 +40365,20 @@
43826 + CONFIG_COMMANDS = $CONFIG_COMMANDS
43827 + $ $0 $@
43828 +
43829 +-_CSEOF
43830 +-echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
43831 +-echo >&5
43832 ++on `(hostname || uname -n) 2>/dev/null | sed 1q`
43833 ++"
43834 ++
43835 + _ACEOF
43836 +
43837 ++cat >>$CONFIG_STATUS <<_ACEOF
43838 + # Files that config.status was made for.
43839 +-if test -n "$ac_config_files"; then
43840 +- echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
43841 +-fi
43842 +-
43843 +-if test -n "$ac_config_headers"; then
43844 +- echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
43845 +-fi
43846 +-
43847 +-if test -n "$ac_config_links"; then
43848 +- echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
43849 +-fi
43850 ++config_files="$ac_config_files"
43851 ++config_headers="$ac_config_headers"
43852 ++config_commands="$ac_config_commands"
43853 +
43854 +-if test -n "$ac_config_commands"; then
43855 +- echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
43856 +-fi
43857 ++_ACEOF
43858 +
43859 + cat >>$CONFIG_STATUS <<\_ACEOF
43860 +-
43861 + ac_cs_usage="\
43862 + \`$as_me' instantiates files from templates according to the
43863 + current configuration.
43864 +@@ -35258,19 +40405,21 @@
43865 + $config_commands
43866 +
43867 + Report bugs to <bug-autoconf@×××.org>."
43868 +-_ACEOF
43869 +
43870 ++_ACEOF
43871 + cat >>$CONFIG_STATUS <<_ACEOF
43872 + ac_cs_version="\\
43873 + ncbi-tools++ config.status 0.0
43874 +-configured by $0, generated by GNU Autoconf 2.59,
43875 +- with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
43876 ++configured by $0, generated by GNU Autoconf 2.60,
43877 ++ with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
43878 +
43879 +-Copyright (C) 2003 Free Software Foundation, Inc.
43880 ++Copyright (C) 2006 Free Software Foundation, Inc.
43881 + This config.status script is free software; the Free Software Foundation
43882 + gives unlimited permission to copy, distribute and modify it."
43883 +-srcdir=$srcdir
43884 +-INSTALL="$INSTALL"
43885 ++
43886 ++ac_pwd='$ac_pwd'
43887 ++srcdir='$srcdir'
43888 ++INSTALL='$INSTALL'
43889 + _ACEOF
43890 +
43891 + cat >>$CONFIG_STATUS <<\_ACEOF
43892 +@@ -35281,39 +40430,24 @@
43893 + do
43894 + case $1 in
43895 + --*=*)
43896 +- ac_option=`expr "x$1" : 'x\([^=]*\)='`
43897 +- ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
43898 ++ ac_option=`expr "X$1" : 'X\([^=]*\)='`
43899 ++ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
43900 + ac_shift=:
43901 + ;;
43902 +- -*)
43903 ++ *)
43904 + ac_option=$1
43905 + ac_optarg=$2
43906 + ac_shift=shift
43907 + ;;
43908 +- *) # This is not an option, so the user has probably given explicit
43909 +- # arguments.
43910 +- ac_option=$1
43911 +- ac_need_defaults=false;;
43912 + esac
43913 +
43914 + case $ac_option in
43915 + # Handling of the options.
43916 +-_ACEOF
43917 +-cat >>$CONFIG_STATUS <<\_ACEOF
43918 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
43919 + ac_cs_recheck=: ;;
43920 +- --version | --vers* | -V )
43921 +- echo "$ac_cs_version"; exit 0 ;;
43922 +- --he | --h)
43923 +- # Conflict between --help and --header
43924 +- { { echo "$as_me:$LINENO: error: ambiguous option: $1
43925 +-Try \`$0 --help' for more information." >&5
43926 +-echo "$as_me: error: ambiguous option: $1
43927 +-Try \`$0 --help' for more information." >&2;}
43928 +- { (exit 1); exit 1; }; };;
43929 +- --help | --hel | -h )
43930 +- echo "$ac_cs_usage"; exit 0 ;;
43931 +- --debug | --d* | -d )
43932 ++ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
43933 ++ echo "$ac_cs_version"; exit ;;
43934 ++ --debug | --debu | --deb | --de | --d | -d )
43935 + debug=: ;;
43936 + --file | --fil | --fi | --f )
43937 + $ac_shift
43938 +@@ -35323,18 +40457,24 @@
43939 + $ac_shift
43940 + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
43941 + ac_need_defaults=false;;
43942 ++ --he | --h)
43943 ++ # Conflict between --help and --header
43944 ++ { echo "$as_me: error: ambiguous option: $1
43945 ++Try \`$0 --help' for more information." >&2
43946 ++ { (exit 1); exit 1; }; };;
43947 ++ --help | --hel | -h )
43948 ++ echo "$ac_cs_usage"; exit ;;
43949 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
43950 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
43951 + ac_cs_silent=: ;;
43952 +
43953 + # This is an error.
43954 +- -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
43955 +-Try \`$0 --help' for more information." >&5
43956 +-echo "$as_me: error: unrecognized option: $1
43957 +-Try \`$0 --help' for more information." >&2;}
43958 ++ -*) { echo "$as_me: error: unrecognized option: $1
43959 ++Try \`$0 --help' for more information." >&2
43960 + { (exit 1); exit 1; }; } ;;
43961 +
43962 +- *) ac_config_targets="$ac_config_targets $1" ;;
43963 ++ *) ac_config_targets="$ac_config_targets $1"
43964 ++ ac_need_defaults=false ;;
43965 +
43966 + esac
43967 + shift
43968 +@@ -35350,18 +40490,29 @@
43969 + _ACEOF
43970 + cat >>$CONFIG_STATUS <<_ACEOF
43971 + if \$ac_cs_recheck; then
43972 +- echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
43973 +- exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
43974 ++ echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
43975 ++ CONFIG_SHELL=$SHELL
43976 ++ export CONFIG_SHELL
43977 ++ exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
43978 + fi
43979 +
43980 + _ACEOF
43981 ++cat >>$CONFIG_STATUS <<\_ACEOF
43982 ++exec 5>>config.log
43983 ++{
43984 ++ echo
43985 ++ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
43986 ++## Running $as_me. ##
43987 ++_ASBOX
43988 ++ echo "$ac_log"
43989 ++} >&5
43990 +
43991 ++_ACEOF
43992 + cat >>$CONFIG_STATUS <<_ACEOF
43993 + #
43994 +-# INIT-COMMANDS section.
43995 ++# INIT-COMMANDS
43996 + #
43997 +
43998 +-
43999 + status_dir='$status_dir'
44000 + builddir='$builddir'
44001 + build_root='$build_root'
44002 +@@ -35391,621 +40542,902 @@
44003 +
44004 + _ACEOF
44005 +
44006 ++cat >>$CONFIG_STATUS <<\_ACEOF
44007 ++
44008 ++# Handling of arguments.
44009 ++for ac_config_target in $ac_config_targets
44010 ++do
44011 ++ case $ac_config_target in
44012 ++ "${ncbiconf}") CONFIG_HEADERS="$CONFIG_HEADERS ${ncbiconf}:src/build-system/config.h.in" ;;
44013 ++ "$configurables") CONFIG_FILES="$CONFIG_FILES $configurables" ;;
44014 ++ "$srcdir/./Makefile") CONFIG_FILES="$CONFIG_FILES $srcdir/./Makefile:src/build-system/Makefile.in.top" ;;
44015 ++ "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
44016 ++
44017 ++ *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
44018 ++echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
44019 ++ { (exit 1); exit 1; }; };;
44020 ++ esac
44021 ++done
44022 ++
44023 ++
44024 ++# If the user did not use the arguments to specify the items to instantiate,
44025 ++# then the envvar interface is used. Set only those that are not.
44026 ++# We use the long form for the default assignment because of an extremely
44027 ++# bizarre bug on SunOS 4.1.3.
44028 ++if $ac_need_defaults; then
44029 ++ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
44030 ++ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
44031 ++ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
44032 ++fi
44033 ++
44034 ++# Have a temporary directory for convenience. Make it in the build tree
44035 ++# simply because there is no reason against having it here, and in addition,
44036 ++# creating and moving files from /tmp can sometimes cause problems.
44037 ++# Hook for its removal unless debugging.
44038 ++# Note that there is a small window in which the directory will not be cleaned:
44039 ++# after its creation but before its name has been assigned to `$tmp'.
44040 ++$debug ||
44041 ++{
44042 ++ tmp=
44043 ++ trap 'exit_status=$?
44044 ++ { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
44045 ++' 0
44046 ++ trap '{ (exit 1); exit 1; }' 1 2 13 15
44047 ++}
44048 ++# Create a (secure) tmp directory for tmp files.
44049 ++
44050 ++{
44051 ++ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
44052 ++ test -n "$tmp" && test -d "$tmp"
44053 ++} ||
44054 ++{
44055 ++ tmp=./conf$$-$RANDOM
44056 ++ (umask 077 && mkdir "$tmp")
44057 ++} ||
44058 ++{
44059 ++ echo "$me: cannot create a temporary directory in ." >&2
44060 ++ { (exit 1); exit 1; }
44061 ++}
44062 ++
44063 ++#
44064 ++# Set up the sed scripts for CONFIG_FILES section.
44065 ++#
44066 ++
44067 ++# No need to generate the scripts if there are no CONFIG_FILES.
44068 ++# This happens for instance when ./config.status config.h
44069 ++if test -n "$CONFIG_FILES"; then
44070 ++
44071 ++_ACEOF
44072 ++
44073 ++
44074 ++
44075 ++ac_delim='%!_!# '
44076 ++for ac_last_try in false false false false false :; do
44077 ++ cat >conf$$subs.sed <<_ACEOF
44078 ++SHELL!$SHELL$ac_delim
44079 ++PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
44080 ++PACKAGE_NAME!$PACKAGE_NAME$ac_delim
44081 ++PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
44082 ++PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
44083 ++PACKAGE_STRING!$PACKAGE_STRING$ac_delim
44084 ++PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
44085 ++exec_prefix!$exec_prefix$ac_delim
44086 ++prefix!$prefix$ac_delim
44087 ++program_transform_name!$program_transform_name$ac_delim
44088 ++bindir!$bindir$ac_delim
44089 ++sbindir!$sbindir$ac_delim
44090 ++libexecdir!$libexecdir$ac_delim
44091 ++datarootdir!$datarootdir$ac_delim
44092 ++datadir!$datadir$ac_delim
44093 ++sysconfdir!$sysconfdir$ac_delim
44094 ++sharedstatedir!$sharedstatedir$ac_delim
44095 ++localstatedir!$localstatedir$ac_delim
44096 ++includedir!$includedir$ac_delim
44097 ++oldincludedir!$oldincludedir$ac_delim
44098 ++docdir!$docdir$ac_delim
44099 ++infodir!$infodir$ac_delim
44100 ++htmldir!$htmldir$ac_delim
44101 ++dvidir!$dvidir$ac_delim
44102 ++pdfdir!$pdfdir$ac_delim
44103 ++psdir!$psdir$ac_delim
44104 ++libdir!$libdir$ac_delim
44105 ++localedir!$localedir$ac_delim
44106 ++mandir!$mandir$ac_delim
44107 ++DEFS!$DEFS$ac_delim
44108 ++ECHO_C!$ECHO_C$ac_delim
44109 ++ECHO_N!$ECHO_N$ac_delim
44110 ++ECHO_T!$ECHO_T$ac_delim
44111 ++LIBS!$LIBS$ac_delim
44112 ++build_alias!$build_alias$ac_delim
44113 ++host_alias!$host_alias$ac_delim
44114 ++target_alias!$target_alias$ac_delim
44115 ++PROJECTS!$PROJECTS$ac_delim
44116 ++build!$build$ac_delim
44117 ++build_cpu!$build_cpu$ac_delim
44118 ++build_vendor!$build_vendor$ac_delim
44119 ++build_os!$build_os$ac_delim
44120 ++host!$host$ac_delim
44121 ++host_cpu!$host_cpu$ac_delim
44122 ++host_vendor!$host_vendor$ac_delim
44123 ++host_os!$host_os$ac_delim
44124 ++INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
44125 ++INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
44126 ++INSTALL_DATA!$INSTALL_DATA$ac_delim
44127 ++CC!$CC$ac_delim
44128 ++CFLAGS!$CFLAGS$ac_delim
44129 ++LDFLAGS!$LDFLAGS$ac_delim
44130 ++CPPFLAGS!$CPPFLAGS$ac_delim
44131 ++ac_ct_CC!$ac_ct_CC$ac_delim
44132 ++EXEEXT!$EXEEXT$ac_delim
44133 ++OBJEXT!$OBJEXT$ac_delim
44134 ++CXX!$CXX$ac_delim
44135 ++CXXFLAGS!$CXXFLAGS$ac_delim
44136 ++ac_ct_CXX!$ac_ct_CXX$ac_delim
44137 ++MT_SFX!$MT_SFX$ac_delim
44138 ++DLL!$DLL$ac_delim
44139 ++DLL_LIB_SETTING!$DLL_LIB_SETTING$ac_delim
44140 ++IF_WITH_DLL!$IF_WITH_DLL$ac_delim
44141 ++UNLESS_WITH_DLL!$UNLESS_WITH_DLL$ac_delim
44142 ++STATIC!$STATIC$ac_delim
44143 ++USUAL_AND_DLL!$USUAL_AND_DLL$ac_delim
44144 ++USUAL_AND_LIB!$USUAL_AND_LIB$ac_delim
44145 ++LN_S!$LN_S$ac_delim
44146 ++RANLIB!$RANLIB$ac_delim
44147 ++AR!$AR$ac_delim
44148 ++STRIP!$STRIP$ac_delim
44149 ++DISTCC!$DISTCC$ac_delim
44150 ++CCACHE!$CCACHE$ac_delim
44151 ++TAIL!$TAIL$ac_delim
44152 ++TOUCH!$TOUCH$ac_delim
44153 ++GREP!$GREP$ac_delim
44154 ++EGREP!$EGREP$ac_delim
44155 ++VALGRIND_PATH!$VALGRIND_PATH$ac_delim
44156 ++LDD!$LDD$ac_delim
44157 ++CXXCPP!$CXXCPP$ac_delim
44158 ++TCHECK_CL!$TCHECK_CL$ac_delim
44159 ++AMQ!$AMQ$ac_delim
44160 ++CPP!$CPP$ac_delim
44161 ++Z_INCLUDE!$Z_INCLUDE$ac_delim
44162 ++Z_LIBS!$Z_LIBS$ac_delim
44163 ++BZ2_INCLUDE!$BZ2_INCLUDE$ac_delim
44164 ++BZ2_LIBS!$BZ2_LIBS$ac_delim
44165 ++LZO_INCLUDE!$LZO_INCLUDE$ac_delim
44166 ++LZO_LIBS!$LZO_LIBS$ac_delim
44167 ++PCRE_INCLUDE!$PCRE_INCLUDE$ac_delim
44168 ++PCRE_LIBS!$PCRE_LIBS$ac_delim
44169 ++LIBGCRYPT_CONFIG!$LIBGCRYPT_CONFIG$ac_delim
44170 ++GCRYPT_INCLUDE!$GCRYPT_INCLUDE$ac_delim
44171 ++GCRYPT_LIBS!$GCRYPT_LIBS$ac_delim
44172 ++LIBGNUTLS_CONFIG!$LIBGNUTLS_CONFIG$ac_delim
44173 ++GNUTLS_INCLUDE!$GNUTLS_INCLUDE$ac_delim
44174 ++GNUTLS_LIBS!$GNUTLS_LIBS$ac_delim
44175 ++_ACEOF
44176 ++
44177 ++ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
44178 ++ break
44179 ++ elif $ac_last_try; then
44180 ++ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
44181 ++echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
44182 ++ { (exit 1); exit 1; }; }
44183 ++ else
44184 ++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
44185 ++ fi
44186 ++done
44187 ++
44188 ++ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
44189 ++if test -n "$ac_eof"; then
44190 ++ ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
44191 ++ ac_eof=`expr $ac_eof + 1`
44192 ++fi
44193 ++
44194 ++cat >>$CONFIG_STATUS <<_ACEOF
44195 ++cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
44196 ++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
44197 ++_ACEOF
44198 ++sed '
44199 ++s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
44200 ++s/^/s,@/; s/!/@,|#_!!_#|/
44201 ++:n
44202 ++t n
44203 ++s/'"$ac_delim"'$/,g/; t
44204 ++s/$/\\/; p
44205 ++N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
44206 ++' >>$CONFIG_STATUS <conf$$subs.sed
44207 ++rm -f conf$$subs.sed
44208 ++cat >>$CONFIG_STATUS <<_ACEOF
44209 ++CEOF$ac_eof
44210 ++_ACEOF
44211 ++
44212 ++
44213 ++ac_delim='%!_!# '
44214 ++for ac_last_try in false false false false false :; do
44215 ++ cat >conf$$subs.sed <<_ACEOF
44216 ++OPENSSL_INCLUDE!$OPENSSL_INCLUDE$ac_delim
44217 ++OPENSSL_LIBS!$OPENSSL_LIBS$ac_delim
44218 ++KRB5_CONFIG!$KRB5_CONFIG$ac_delim
44219 ++KRB5_INCLUDE!$KRB5_INCLUDE$ac_delim
44220 ++KRB5_LIBS!$KRB5_LIBS$ac_delim
44221 ++CURL_INCLUDE!$CURL_INCLUDE$ac_delim
44222 ++CURL_LIBS!$CURL_LIBS$ac_delim
44223 ++FTDS64_INCLUDE!$FTDS64_INCLUDE$ac_delim
44224 ++FTDS64_LIBS!$FTDS64_LIBS$ac_delim
44225 ++FTDS64_LIB!$FTDS64_LIB$ac_delim
44226 ++FTDS64_CTLIB_INCLUDE!$FTDS64_CTLIB_INCLUDE$ac_delim
44227 ++FTDS64_CTLIB_LIBS!$FTDS64_CTLIB_LIBS$ac_delim
44228 ++FTDS64_CTLIB_LIB!$FTDS64_CTLIB_LIB$ac_delim
44229 ++FTDS_INCLUDE!$FTDS_INCLUDE$ac_delim
44230 ++FTDS_LIBS!$FTDS_LIBS$ac_delim
44231 ++FTDS_LIB!$FTDS_LIB$ac_delim
44232 ++freetds!$freetds$ac_delim
44233 ++ftds64!$ftds64$ac_delim
44234 ++mysql_config!$mysql_config$ac_delim
44235 ++PYTHON!$PYTHON$ac_delim
44236 ++PYTHON_INCLUDE!$PYTHON_INCLUDE$ac_delim
44237 ++PYTHON_LIBS!$PYTHON_LIBS$ac_delim
44238 ++PYTHON23!$PYTHON23$ac_delim
44239 ++PYTHON23_INCLUDE!$PYTHON23_INCLUDE$ac_delim
44240 ++PYTHON23_LIBS!$PYTHON23_LIBS$ac_delim
44241 ++PYTHON24!$PYTHON24$ac_delim
44242 ++PYTHON24_INCLUDE!$PYTHON24_INCLUDE$ac_delim
44243 ++PYTHON24_LIBS!$PYTHON24_LIBS$ac_delim
44244 ++PYTHON25!$PYTHON25$ac_delim
44245 ++PYTHON25_INCLUDE!$PYTHON25_INCLUDE$ac_delim
44246 ++PYTHON25_LIBS!$PYTHON25_LIBS$ac_delim
44247 ++PERL!$PERL$ac_delim
44248 ++_ACJNI_JAVAC!$_ACJNI_JAVAC$ac_delim
44249 ++XMKMF!$XMKMF$ac_delim
44250 ++X_CFLAGS!$X_CFLAGS$ac_delim
44251 ++X_PRE_LIBS!$X_PRE_LIBS$ac_delim
44252 ++X_LIBS!$X_LIBS$ac_delim
44253 ++X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
44254 ++wxconf!$wxconf$ac_delim
44255 ++EXPAT_INCLUDE!$EXPAT_INCLUDE$ac_delim
44256 ++EXPAT_LIBS!$EXPAT_LIBS$ac_delim
44257 ++SABLOT_INCLUDE!$SABLOT_INCLUDE$ac_delim
44258 ++SABLOT_LIBS!$SABLOT_LIBS$ac_delim
44259 ++LIBXML_INCLUDE!$LIBXML_INCLUDE$ac_delim
44260 ++LIBXML_LIBS!$LIBXML_LIBS$ac_delim
44261 ++LIBXSLT_INCLUDE!$LIBXSLT_INCLUDE$ac_delim
44262 ++LIBXSLT_LIBS!$LIBXSLT_LIBS$ac_delim
44263 ++XSLTPROC!$XSLTPROC$ac_delim
44264 ++LIBEXSLT_INCLUDE!$LIBEXSLT_INCLUDE$ac_delim
44265 ++LIBEXSLT_LIBS!$LIBEXSLT_LIBS$ac_delim
44266 ++SQLITE3_INCLUDE!$SQLITE3_INCLUDE$ac_delim
44267 ++SQLITE3_LIBS!$SQLITE3_LIBS$ac_delim
44268 ++OECHEM_INCLUDE!$OECHEM_INCLUDE$ac_delim
44269 ++OECHEM_LIBS!$OECHEM_LIBS$ac_delim
44270 ++SGE_INCLUDE!$SGE_INCLUDE$ac_delim
44271 ++SGE_LIBS!$SGE_LIBS$ac_delim
44272 ++MUPARSER_INCLUDE!$MUPARSER_INCLUDE$ac_delim
44273 ++MUPARSER_LIBS!$MUPARSER_LIBS$ac_delim
44274 ++HDF5_INCLUDE!$HDF5_INCLUDE$ac_delim
44275 ++HDF5_LIBS!$HDF5_LIBS$ac_delim
44276 ++JPEG_INCLUDE!$JPEG_INCLUDE$ac_delim
44277 ++JPEG_LIBS!$JPEG_LIBS$ac_delim
44278 ++PNG_INCLUDE!$PNG_INCLUDE$ac_delim
44279 ++PNG_LIBS!$PNG_LIBS$ac_delim
44280 ++TIFF_INCLUDE!$TIFF_INCLUDE$ac_delim
44281 ++TIFF_LIBS!$TIFF_LIBS$ac_delim
44282 ++UNGIF_INCLUDE!$UNGIF_INCLUDE$ac_delim
44283 ++UNGIF_LIBS!$UNGIF_LIBS$ac_delim
44284 ++GIF_INCLUDE!$GIF_INCLUDE$ac_delim
44285 ++GIF_LIBS!$GIF_LIBS$ac_delim
44286 ++XPM_INCLUDE!$XPM_INCLUDE$ac_delim
44287 ++XPM_LIBS!$XPM_LIBS$ac_delim
44288 ++freetype_config!$freetype_config$ac_delim
44289 ++FTGL_INCLUDE!$FTGL_INCLUDE$ac_delim
44290 ++FTGL_LIBS!$FTGL_LIBS$ac_delim
44291 ++MAGIC_INCLUDE!$MAGIC_INCLUDE$ac_delim
44292 ++MAGIC_LIBS!$MAGIC_LIBS$ac_delim
44293 ++MIMETIC_INCLUDE!$MIMETIC_INCLUDE$ac_delim
44294 ++MIMETIC_LIBS!$MIMETIC_LIBS$ac_delim
44295 ++GSOAP_SOAPCPP2!$GSOAP_SOAPCPP2$ac_delim
44296 ++GSOAP_WSDL2H!$GSOAP_WSDL2H$ac_delim
44297 ++GSOAP_INCLUDE!$GSOAP_INCLUDE$ac_delim
44298 ++GSOAP_LIBS!$GSOAP_LIBS$ac_delim
44299 ++MONGODB_INCLUDE!$MONGODB_INCLUDE$ac_delim
44300 ++MONGODB_LIBS!$MONGODB_LIBS$ac_delim
44301 ++signature!$signature$ac_delim
44302 ++build_root!$build_root$ac_delim
44303 ++top_srcdir!$top_srcdir$ac_delim
44304 ++srcdir!$srcdir$ac_delim
44305 ++status_dir!$status_dir$ac_delim
44306 ++builddir!$builddir$ac_delim
44307 ++runpath!$runpath$ac_delim
44308 ++ncbi_runpath!$ncbi_runpath$ac_delim
44309 ++c_ncbi_runpath!$c_ncbi_runpath$ac_delim
44310 ++LINK!$LINK$ac_delim
44311 ++C_LINK!$C_LINK$ac_delim
44312 ++TAIL_N!$TAIL_N$ac_delim
44313 ++_ACEOF
44314 ++
44315 ++ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
44316 ++ break
44317 ++ elif $ac_last_try; then
44318 ++ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
44319 ++echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
44320 ++ { (exit 1); exit 1; }; }
44321 ++ else
44322 ++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
44323 ++ fi
44324 ++done
44325 ++
44326 ++ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
44327 ++if test -n "$ac_eof"; then
44328 ++ ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
44329 ++ ac_eof=`expr $ac_eof + 1`
44330 ++fi
44331 ++
44332 ++cat >>$CONFIG_STATUS <<_ACEOF
44333 ++cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
44334 ++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
44335 ++_ACEOF
44336 ++sed '
44337 ++s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
44338 ++s/^/s,@/; s/!/@,|#_!!_#|/
44339 ++:n
44340 ++t n
44341 ++s/'"$ac_delim"'$/,g/; t
44342 ++s/$/\\/; p
44343 ++N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
44344 ++' >>$CONFIG_STATUS <conf$$subs.sed
44345 ++rm -f conf$$subs.sed
44346 ++cat >>$CONFIG_STATUS <<_ACEOF
44347 ++CEOF$ac_eof
44348 ++_ACEOF
44349 ++
44350 ++
44351 ++ac_delim='%!_!# '
44352 ++for ac_last_try in false false false false false :; do
44353 ++ cat >conf$$subs.sed <<_ACEOF
44354 ++EGREP_Q!$EGREP_Q$ac_delim
44355 ++LDD_R!$LDD_R$ac_delim
44356 ++FAST_CFLAGS!$FAST_CFLAGS$ac_delim
44357 ++FAST_CXXFLAGS!$FAST_CXXFLAGS$ac_delim
44358 ++OBJCXX_CXXFLAGS!$OBJCXX_CXXFLAGS$ac_delim
44359 ++DEPFLAGS!$DEPFLAGS$ac_delim
44360 ++DEPFLAGS_POST!$DEPFLAGS_POST$ac_delim
44361 ++FAST_LDFLAGS!$FAST_LDFLAGS$ac_delim
44362 ++APP_LDFLAGS!$APP_LDFLAGS$ac_delim
44363 ++DLL_LDFLAGS!$DLL_LDFLAGS$ac_delim
44364 ++C_LIBS!$C_LIBS$ac_delim
44365 ++OBJCXX_LIBS!$OBJCXX_LIBS$ac_delim
44366 ++GCCPCH!$GCCPCH$ac_delim
44367 ++RUNPATH_ORIGIN!$RUNPATH_ORIGIN$ac_delim
44368 ++NO_STRICT_ALIASING!$NO_STRICT_ALIASING$ac_delim
44369 ++D_SFX!$D_SFX$ac_delim
44370 ++DEBUG_SFX!$DEBUG_SFX$ac_delim
44371 ++LIB_OR_DLL!$LIB_OR_DLL$ac_delim
44372 ++FORCE_STATIC_LIB!$FORCE_STATIC_LIB$ac_delim
44373 ++APP_LIB_SETTING!$APP_LIB_SETTING$ac_delim
44374 ++APP_LIBS_SETTING!$APP_LIBS_SETTING$ac_delim
44375 ++LINK_DLL!$LINK_DLL$ac_delim
44376 ++has_dll_loadable!$has_dll_loadable$ac_delim
44377 ++LINK_LOADABLE!$LINK_LOADABLE$ac_delim
44378 ++CFLAGS_DLL!$CFLAGS_DLL$ac_delim
44379 ++CXXFLAGS_DLL!$CXXFLAGS_DLL$ac_delim
44380 ++ALLOW_UNDEF!$ALLOW_UNDEF$ac_delim
44381 ++FORBID_UNDEF!$FORBID_UNDEF$ac_delim
44382 ++OPT_GROUPS!$OPT_GROUPS$ac_delim
44383 ++local_lbsm!$local_lbsm$ac_delim
44384 ++ncbi_crypt!$ncbi_crypt$ac_delim
44385 ++CONNEXT!$CONNEXT$ac_delim
44386 ++XCONNEXT!$XCONNEXT$ac_delim
44387 ++serial!$serial$ac_delim
44388 ++bdb!$bdb$ac_delim
44389 ++dbapi!$dbapi$ac_delim
44390 ++objects!$objects$ac_delim
44391 ++gui!$gui$ac_delim
44392 ++algo!$algo$ac_delim
44393 ++app!$app$ac_delim
44394 ++internal!$internal$ac_delim
44395 ++check!$check$ac_delim
44396 ++CHECK_ARG!$CHECK_ARG$ac_delim
44397 ++CHECK_TOOLS!$CHECK_TOOLS$ac_delim
44398 ++CHECK_TIMEOUT_MULT!$CHECK_TIMEOUT_MULT$ac_delim
44399 ++CHECK_OS_NAME!$CHECK_OS_NAME$ac_delim
44400 ++FEATURES!$FEATURES$ac_delim
44401 ++script_shell!$script_shell$ac_delim
44402 ++make_shell!$make_shell$ac_delim
44403 ++obj_ext!$obj_ext$ac_delim
44404 ++lib_pre!$lib_pre$ac_delim
44405 ++lib_l_pre!$lib_l_pre$ac_delim
44406 ++lib_ext!$lib_ext$ac_delim
44407 ++dll_ext!$dll_ext$ac_delim
44408 ++loadable_ext!$loadable_ext$ac_delim
44409 ++lib_l_ext!$lib_l_ext$ac_delim
44410 ++exe_ext!$exe_ext$ac_delim
44411 ++f_compile!$f_compile$ac_delim
44412 ++f_outobj!$f_outobj$ac_delim
44413 ++f_outlib!$f_outlib$ac_delim
44414 ++f_libpath!$f_libpath$ac_delim
44415 ++f_runpath!$f_runpath$ac_delim
44416 ++f_outexe!$f_outexe$ac_delim
44417 ++BDB_LIB!$BDB_LIB$ac_delim
44418 ++BDB_CACHE_LIB!$BDB_CACHE_LIB$ac_delim
44419 ++DBAPI_DRIVER!$DBAPI_DRIVER$ac_delim
44420 ++DBAPI_CTLIB!$DBAPI_CTLIB$ac_delim
44421 ++DBAPI_DBLIB!$DBAPI_DBLIB$ac_delim
44422 ++DBAPI_MYSQL!$DBAPI_MYSQL$ac_delim
44423 ++DBAPI_ODBC!$DBAPI_ODBC$ac_delim
44424 ++THREAD_LIBS!$THREAD_LIBS$ac_delim
44425 ++NCBIATOMIC_LIB!$NCBIATOMIC_LIB$ac_delim
44426 ++OPENMP_FLAGS!$OPENMP_FLAGS$ac_delim
44427 ++NETWORK_LIBS!$NETWORK_LIBS$ac_delim
44428 ++NETWORK_PURE_LIBS!$NETWORK_PURE_LIBS$ac_delim
44429 ++RESOLVER_LIBS!$RESOLVER_LIBS$ac_delim
44430 ++MATH_LIBS!$MATH_LIBS$ac_delim
44431 ++KSTAT_LIBS!$KSTAT_LIBS$ac_delim
44432 ++RPCSVC_LIBS!$RPCSVC_LIBS$ac_delim
44433 ++CRYPT_LIBS!$CRYPT_LIBS$ac_delim
44434 ++DL_LIBS!$DL_LIBS$ac_delim
44435 ++RT_LIBS!$RT_LIBS$ac_delim
44436 ++UUID_LIBS!$UUID_LIBS$ac_delim
44437 ++DEMANGLE_LIBS!$DEMANGLE_LIBS$ac_delim
44438 ++ICONV_LIBS!$ICONV_LIBS$ac_delim
44439 ++Z_LIB!$Z_LIB$ac_delim
44440 ++BZ2_LIB!$BZ2_LIB$ac_delim
44441 ++PCREPOSIX_LIBS!$PCREPOSIX_LIBS$ac_delim
44442 ++PCRE_LIB!$PCRE_LIB$ac_delim
44443 ++OPENSSL_STATIC_LIBS!$OPENSSL_STATIC_LIBS$ac_delim
44444 ++TLS_INCLUDE!$TLS_INCLUDE$ac_delim
44445 ++TLS_LIBS!$TLS_LIBS$ac_delim
44446 ++SYBASE_PATH!$SYBASE_PATH$ac_delim
44447 ++SYBASE_LCL_PATH!$SYBASE_LCL_PATH$ac_delim
44448 ++SYBASE_INCLUDE!$SYBASE_INCLUDE$ac_delim
44449 ++SYBASE_LIBS!$SYBASE_LIBS$ac_delim
44450 ++SYBASE_DLLS!$SYBASE_DLLS$ac_delim
44451 ++_ACEOF
44452 ++
44453 ++ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
44454 ++ break
44455 ++ elif $ac_last_try; then
44456 ++ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
44457 ++echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
44458 ++ { (exit 1); exit 1; }; }
44459 ++ else
44460 ++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
44461 ++ fi
44462 ++done
44463 ++
44464 ++ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
44465 ++if test -n "$ac_eof"; then
44466 ++ ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
44467 ++ ac_eof=`expr $ac_eof + 1`
44468 ++fi
44469 ++
44470 ++cat >>$CONFIG_STATUS <<_ACEOF
44471 ++cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
44472 ++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
44473 ++_ACEOF
44474 ++sed '
44475 ++s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
44476 ++s/^/s,@/; s/!/@,|#_!!_#|/
44477 ++:n
44478 ++t n
44479 ++s/'"$ac_delim"'$/,g/; t
44480 ++s/$/\\/; p
44481 ++N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
44482 ++' >>$CONFIG_STATUS <conf$$subs.sed
44483 ++rm -f conf$$subs.sed
44484 ++cat >>$CONFIG_STATUS <<_ACEOF
44485 ++CEOF$ac_eof
44486 ++_ACEOF
44487 ++
44488 +
44489 ++ac_delim='%!_!# '
44490 ++for ac_last_try in false false false false false :; do
44491 ++ cat >conf$$subs.sed <<_ACEOF
44492 ++SYBASE_DBLIBS!$SYBASE_DBLIBS$ac_delim
44493 ++MYSQL_INCLUDE!$MYSQL_INCLUDE$ac_delim
44494 ++MYSQL_LIBS!$MYSQL_LIBS$ac_delim
44495 ++BERKELEYDB_INCLUDE!$BERKELEYDB_INCLUDE$ac_delim
44496 ++BERKELEYDB_LIBS!$BERKELEYDB_LIBS$ac_delim
44497 ++BERKELEYDB_STATIC_LIBS!$BERKELEYDB_STATIC_LIBS$ac_delim
44498 ++BERKELEYDB_CXX_LIBS!$BERKELEYDB_CXX_LIBS$ac_delim
44499 ++BERKELEYDB_CXX_STATIC_LIBS!$BERKELEYDB_CXX_STATIC_LIBS$ac_delim
44500 ++ODBC_INCLUDE!$ODBC_INCLUDE$ac_delim
44501 ++ODBC_LIBS!$ODBC_LIBS$ac_delim
44502 ++BOOST_INCLUDE!$BOOST_INCLUDE$ac_delim
44503 ++BOOST_LIBPATH!$BOOST_LIBPATH$ac_delim
44504 ++BOOST_TAG!$BOOST_TAG$ac_delim
44505 ++BOOST_FILESYSTEM_LIBS!$BOOST_FILESYSTEM_LIBS$ac_delim
44506 ++BOOST_FILESYSTEM_STATIC_LIBS!$BOOST_FILESYSTEM_STATIC_LIBS$ac_delim
44507 ++BOOST_REGEX_LIBS!$BOOST_REGEX_LIBS$ac_delim
44508 ++BOOST_REGEX_STATIC_LIBS!$BOOST_REGEX_STATIC_LIBS$ac_delim
44509 ++BOOST_SYSTEM_LIBS!$BOOST_SYSTEM_LIBS$ac_delim
44510 ++BOOST_SYSTEM_STATIC_LIBS!$BOOST_SYSTEM_STATIC_LIBS$ac_delim
44511 ++BOOST_TEST_PEM_LIBS!$BOOST_TEST_PEM_LIBS$ac_delim
44512 ++BOOST_TEST_PEM_STATIC_LIBS!$BOOST_TEST_PEM_STATIC_LIBS$ac_delim
44513 ++BOOST_TEST_TEM_LIBS!$BOOST_TEST_TEM_LIBS$ac_delim
44514 ++BOOST_TEST_TEM_STATIC_LIBS!$BOOST_TEST_TEM_STATIC_LIBS$ac_delim
44515 ++BOOST_TEST_UTF_LIBS!$BOOST_TEST_UTF_LIBS$ac_delim
44516 ++BOOST_TEST_UTF_STATIC_LIBS!$BOOST_TEST_UTF_STATIC_LIBS$ac_delim
44517 ++BOOST_THREAD_LIBS!$BOOST_THREAD_LIBS$ac_delim
44518 ++BOOST_THREAD_STATIC_LIBS!$BOOST_THREAD_STATIC_LIBS$ac_delim
44519 ++NCBI_C_INCLUDE!$NCBI_C_INCLUDE$ac_delim
44520 ++NCBI_C_LIBPATH!$NCBI_C_LIBPATH$ac_delim
44521 ++OPENGL_INCLUDE!$OPENGL_INCLUDE$ac_delim
44522 ++OPENGL_LIBS!$OPENGL_LIBS$ac_delim
44523 ++OPENGL_STATIC_LIBS!$OPENGL_STATIC_LIBS$ac_delim
44524 ++OSMESA_INCLUDE!$OSMESA_INCLUDE$ac_delim
44525 ++OSMESA_LIBS!$OSMESA_LIBS$ac_delim
44526 ++OSMESA_STATIC_LIBS!$OSMESA_STATIC_LIBS$ac_delim
44527 ++GLUT_INCLUDE!$GLUT_INCLUDE$ac_delim
44528 ++GLUT_LIBS!$GLUT_LIBS$ac_delim
44529 ++GLEW_INCLUDE!$GLEW_INCLUDE$ac_delim
44530 ++GLEW_LIBS!$GLEW_LIBS$ac_delim
44531 ++GLEW_STATIC_LIBS!$GLEW_STATIC_LIBS$ac_delim
44532 ++WXWIDGETS_INCLUDE!$WXWIDGETS_INCLUDE$ac_delim
44533 ++WXWIDGETS_LIBS!$WXWIDGETS_LIBS$ac_delim
44534 ++WXWIDGETS_STATIC_LIBS!$WXWIDGETS_STATIC_LIBS$ac_delim
44535 ++WXWIDGETS_GL_LIBS!$WXWIDGETS_GL_LIBS$ac_delim
44536 ++WXWIDGETS_GL_STATIC_LIBS!$WXWIDGETS_GL_STATIC_LIBS$ac_delim
44537 ++WXWIDGETS_POST_LINK!$WXWIDGETS_POST_LINK$ac_delim
44538 ++FASTCGI_INCLUDE!$FASTCGI_INCLUDE$ac_delim
44539 ++FASTCGI_LIBS!$FASTCGI_LIBS$ac_delim
44540 ++FASTCGI_OBJS!$FASTCGI_OBJS$ac_delim
44541 ++NCBI_SSS_INCLUDE!$NCBI_SSS_INCLUDE$ac_delim
44542 ++NCBI_SSS_LIBPATH!$NCBI_SSS_LIBPATH$ac_delim
44543 ++LIBSSSUTILS!$LIBSSSUTILS$ac_delim
44544 ++LIBSSSDB!$LIBSSSDB$ac_delim
44545 ++sssutils!$sssutils$ac_delim
44546 ++SP_INCLUDE!$SP_INCLUDE$ac_delim
44547 ++SP_LIBS!$SP_LIBS$ac_delim
44548 ++ORBACUS_INCLUDE!$ORBACUS_INCLUDE$ac_delim
44549 ++ORBACUS_LIBPATH!$ORBACUS_LIBPATH$ac_delim
44550 ++LIBOB!$LIBOB$ac_delim
44551 ++LIBIMR!$LIBIMR$ac_delim
44552 ++ICU_CONFIG!$ICU_CONFIG$ac_delim
44553 ++ICU_INCLUDE!$ICU_INCLUDE$ac_delim
44554 ++ICU_LIBS!$ICU_LIBS$ac_delim
44555 ++ICU_STATIC_LIBS!$ICU_STATIC_LIBS$ac_delim
44556 ++EXPAT_STATIC_LIBS!$EXPAT_STATIC_LIBS$ac_delim
44557 ++SABLOT_STATIC_LIBS!$SABLOT_STATIC_LIBS$ac_delim
44558 ++LIBXML_STATIC_LIBS!$LIBXML_STATIC_LIBS$ac_delim
44559 ++LIBXSLT_STATIC_LIBS!$LIBXSLT_STATIC_LIBS$ac_delim
44560 ++LIBEXSLT_STATIC_LIBS!$LIBEXSLT_STATIC_LIBS$ac_delim
44561 ++XERCES_INCLUDE!$XERCES_INCLUDE$ac_delim
44562 ++XERCES_LIBS!$XERCES_LIBS$ac_delim
44563 ++XERCES_STATIC_LIBS!$XERCES_STATIC_LIBS$ac_delim
44564 ++XALAN_INCLUDE!$XALAN_INCLUDE$ac_delim
44565 ++XALAN_LIBS!$XALAN_LIBS$ac_delim
44566 ++XALAN_STATIC_LIBS!$XALAN_STATIC_LIBS$ac_delim
44567 ++ZORBA_INCLUDE!$ZORBA_INCLUDE$ac_delim
44568 ++ZORBA_LIBS!$ZORBA_LIBS$ac_delim
44569 ++ZORBA_STATIC_LIBS!$ZORBA_STATIC_LIBS$ac_delim
44570 ++SQLITE3_STATIC_LIBS!$SQLITE3_STATIC_LIBS$ac_delim
44571 ++FREETYPE_INCLUDE!$FREETYPE_INCLUDE$ac_delim
44572 ++FREETYPE_LIBS!$FREETYPE_LIBS$ac_delim
44573 ++GSOAP_PATH!$GSOAP_PATH$ac_delim
44574 ++MONGODB_STATIC_LIBS!$MONGODB_STATIC_LIBS$ac_delim
44575 ++ncbi_xreader_pubseqos!$ncbi_xreader_pubseqos$ac_delim
44576 ++ncbi_xreader_pubseqos2!$ncbi_xreader_pubseqos2$ac_delim
44577 ++UNLESS_PUBSEQOS!$UNLESS_PUBSEQOS$ac_delim
44578 ++PERL_INCLUDE!$PERL_INCLUDE$ac_delim
44579 ++PERL_LIBS!$PERL_LIBS$ac_delim
44580 ++JDK_PATH!$JDK_PATH$ac_delim
44581 ++JDK_INCLUDE!$JDK_INCLUDE$ac_delim
44582 ++ncbi_java!$ncbi_java$ac_delim
44583 ++NCBI_C_ncbi!$NCBI_C_ncbi$ac_delim
44584 ++BINCOPY!$BINCOPY$ac_delim
44585 ++APP_NOCOPY!$APP_NOCOPY$ac_delim
44586 ++APP_OR_NULL!$APP_OR_NULL$ac_delim
44587 ++IF_REBUILDING_LIBS!$IF_REBUILDING_LIBS$ac_delim
44588 ++IF_REBUILDING_CONDITIONALLY!$IF_REBUILDING_CONDITIONALLY$ac_delim
44589 ++_ACEOF
44590 +
44591 +-cat >>$CONFIG_STATUS <<\_ACEOF
44592 +-for ac_config_target in $ac_config_targets
44593 +-do
44594 +- case "$ac_config_target" in
44595 +- # Handling of arguments.
44596 +- "$configurables" ) CONFIG_FILES="$CONFIG_FILES $configurables" ;;
44597 +- "$srcdir/./Makefile" ) CONFIG_FILES="$CONFIG_FILES $srcdir/./Makefile:src/build-system/Makefile.in.top" ;;
44598 +- "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
44599 +- "${ncbiconf}" ) CONFIG_HEADERS="$CONFIG_HEADERS ${ncbiconf}:src/build-system/config.h.in" ;;
44600 +- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
44601 +-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
44602 +- { (exit 1); exit 1; }; };;
44603 +- esac
44604 ++ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
44605 ++ break
44606 ++ elif $ac_last_try; then
44607 ++ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
44608 ++echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
44609 ++ { (exit 1); exit 1; }; }
44610 ++ else
44611 ++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
44612 ++ fi
44613 + done
44614 +
44615 +-# If the user did not use the arguments to specify the items to instantiate,
44616 +-# then the envvar interface is used. Set only those that are not.
44617 +-# We use the long form for the default assignment because of an extremely
44618 +-# bizarre bug on SunOS 4.1.3.
44619 +-if $ac_need_defaults; then
44620 +- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
44621 +- test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
44622 +- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
44623 ++ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
44624 ++if test -n "$ac_eof"; then
44625 ++ ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
44626 ++ ac_eof=`expr $ac_eof + 1`
44627 + fi
44628 +
44629 +-# Have a temporary directory for convenience. Make it in the build tree
44630 +-# simply because there is no reason to put it here, and in addition,
44631 +-# creating and moving files from /tmp can sometimes cause problems.
44632 +-# Create a temporary directory, and hook for its removal unless debugging.
44633 +-$debug ||
44634 +-{
44635 +- trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
44636 +- trap '{ (exit 1); exit 1; }' 1 2 13 15
44637 +-}
44638 +-
44639 +-# Create a (secure) tmp directory for tmp files.
44640 +-
44641 +-{
44642 +- tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
44643 +- test -n "$tmp" && test -d "$tmp"
44644 +-} ||
44645 +-{
44646 +- tmp=./confstat$$-$RANDOM
44647 +- (umask 077 && mkdir $tmp)
44648 +-} ||
44649 +-{
44650 +- echo "$me: cannot create a temporary directory in ." >&2
44651 +- { (exit 1); exit 1; }
44652 +-}
44653 +-
44654 ++cat >>$CONFIG_STATUS <<_ACEOF
44655 ++cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
44656 ++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
44657 + _ACEOF
44658 +-
44659 ++sed '
44660 ++s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
44661 ++s/^/s,@/; s/!/@,|#_!!_#|/
44662 ++:n
44663 ++t n
44664 ++s/'"$ac_delim"'$/,g/; t
44665 ++s/$/\\/; p
44666 ++N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
44667 ++' >>$CONFIG_STATUS <conf$$subs.sed
44668 ++rm -f conf$$subs.sed
44669 + cat >>$CONFIG_STATUS <<_ACEOF
44670 ++CEOF$ac_eof
44671 ++_ACEOF
44672 +
44673 +-#
44674 +-# CONFIG_FILES section.
44675 +-#
44676 +-
44677 +-# No need to generate the scripts if there are no CONFIG_FILES.
44678 +-# This happens for instance when ./config.status config.h
44679 +-if test -n "\$CONFIG_FILES"; then
44680 +- # Protect against being on the right side of a sed subst in config.status.
44681 +- sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
44682 +- s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
44683 +-s,@SHELL@,$SHELL,;t t
44684 +-s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
44685 +-s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
44686 +-s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
44687 +-s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
44688 +-s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
44689 +-s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
44690 +-s,@exec_prefix@,$exec_prefix,;t t
44691 +-s,@prefix@,$prefix,;t t
44692 +-s,@program_transform_name@,$program_transform_name,;t t
44693 +-s,@bindir@,$bindir,;t t
44694 +-s,@sbindir@,$sbindir,;t t
44695 +-s,@libexecdir@,$libexecdir,;t t
44696 +-s,@datadir@,$datadir,;t t
44697 +-s,@sysconfdir@,$sysconfdir,;t t
44698 +-s,@sharedstatedir@,$sharedstatedir,;t t
44699 +-s,@localstatedir@,$localstatedir,;t t
44700 +-s,@libdir@,$libdir,;t t
44701 +-s,@includedir@,$includedir,;t t
44702 +-s,@oldincludedir@,$oldincludedir,;t t
44703 +-s,@infodir@,$infodir,;t t
44704 +-s,@mandir@,$mandir,;t t
44705 +-s,@build_alias@,$build_alias,;t t
44706 +-s,@host_alias@,$host_alias,;t t
44707 +-s,@target_alias@,$target_alias,;t t
44708 +-s,@DEFS@,$DEFS,;t t
44709 +-s,@ECHO_C@,$ECHO_C,;t t
44710 +-s,@ECHO_N@,$ECHO_N,;t t
44711 +-s,@ECHO_T@,$ECHO_T,;t t
44712 +-s,@LIBS@,$LIBS,;t t
44713 +-s,@PROJECTS@,$PROJECTS,;t t
44714 +-s,@build@,$build,;t t
44715 +-s,@build_cpu@,$build_cpu,;t t
44716 +-s,@build_vendor@,$build_vendor,;t t
44717 +-s,@build_os@,$build_os,;t t
44718 +-s,@host@,$host,;t t
44719 +-s,@host_cpu@,$host_cpu,;t t
44720 +-s,@host_vendor@,$host_vendor,;t t
44721 +-s,@host_os@,$host_os,;t t
44722 +-s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
44723 +-s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
44724 +-s,@INSTALL_DATA@,$INSTALL_DATA,;t t
44725 +-s,@CC@,$CC,;t t
44726 +-s,@CFLAGS@,$CFLAGS,;t t
44727 +-s,@LDFLAGS@,$LDFLAGS,;t t
44728 +-s,@CPPFLAGS@,$CPPFLAGS,;t t
44729 +-s,@ac_ct_CC@,$ac_ct_CC,;t t
44730 +-s,@EXEEXT@,$EXEEXT,;t t
44731 +-s,@OBJEXT@,$OBJEXT,;t t
44732 +-s,@CXX@,$CXX,;t t
44733 +-s,@CXXFLAGS@,$CXXFLAGS,;t t
44734 +-s,@ac_ct_CXX@,$ac_ct_CXX,;t t
44735 +-s,@MT_SFX@,$MT_SFX,;t t
44736 +-s,@DLL@,$DLL,;t t
44737 +-s,@DLL_LIB_SETTING@,$DLL_LIB_SETTING,;t t
44738 +-s,@IF_WITH_DLL@,$IF_WITH_DLL,;t t
44739 +-s,@UNLESS_WITH_DLL@,$UNLESS_WITH_DLL,;t t
44740 +-s,@STATIC@,$STATIC,;t t
44741 +-s,@USUAL_AND_DLL@,$USUAL_AND_DLL,;t t
44742 +-s,@USUAL_AND_LIB@,$USUAL_AND_LIB,;t t
44743 +-s,@LN_S@,$LN_S,;t t
44744 +-s,@RANLIB@,$RANLIB,;t t
44745 +-s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
44746 +-s,@AR@,$AR,;t t
44747 +-s,@STRIP@,$STRIP,;t t
44748 +-s,@DISTCC@,$DISTCC,;t t
44749 +-s,@CCACHE@,$CCACHE,;t t
44750 +-s,@TAIL@,$TAIL,;t t
44751 +-s,@TOUCH@,$TOUCH,;t t
44752 +-s,@EGREP@,$EGREP,;t t
44753 +-s,@VALGRIND_PATH@,$VALGRIND_PATH,;t t
44754 +-s,@CXXCPP@,$CXXCPP,;t t
44755 +-s,@TCHECK_CL@,$TCHECK_CL,;t t
44756 +-s,@AMQ@,$AMQ,;t t
44757 +-s,@CPP@,$CPP,;t t
44758 +-s,@Z_INCLUDE@,$Z_INCLUDE,;t t
44759 +-s,@Z_LIBS@,$Z_LIBS,;t t
44760 +-s,@BZ2_INCLUDE@,$BZ2_INCLUDE,;t t
44761 +-s,@BZ2_LIBS@,$BZ2_LIBS,;t t
44762 +-s,@LZO_INCLUDE@,$LZO_INCLUDE,;t t
44763 +-s,@LZO_LIBS@,$LZO_LIBS,;t t
44764 +-s,@PCRE_INCLUDE@,$PCRE_INCLUDE,;t t
44765 +-s,@PCRE_LIBS@,$PCRE_LIBS,;t t
44766 +-s,@LIBGCRYPT_CONFIG@,$LIBGCRYPT_CONFIG,;t t
44767 +-s,@GCRYPT_INCLUDE@,$GCRYPT_INCLUDE,;t t
44768 +-s,@GCRYPT_LIBS@,$GCRYPT_LIBS,;t t
44769 +-s,@LIBGNUTLS_CONFIG@,$LIBGNUTLS_CONFIG,;t t
44770 +-s,@GNUTLS_INCLUDE@,$GNUTLS_INCLUDE,;t t
44771 +-s,@GNUTLS_LIBS@,$GNUTLS_LIBS,;t t
44772 +-s,@OPENSSL_INCLUDE@,$OPENSSL_INCLUDE,;t t
44773 +-s,@OPENSSL_LIBS@,$OPENSSL_LIBS,;t t
44774 +-s,@KRB5_CONFIG@,$KRB5_CONFIG,;t t
44775 +-s,@KRB5_INCLUDE@,$KRB5_INCLUDE,;t t
44776 +-s,@KRB5_LIBS@,$KRB5_LIBS,;t t
44777 +-s,@CURL_INCLUDE@,$CURL_INCLUDE,;t t
44778 +-s,@CURL_LIBS@,$CURL_LIBS,;t t
44779 +-s,@FTDS64_INCLUDE@,$FTDS64_INCLUDE,;t t
44780 +-s,@FTDS64_LIBS@,$FTDS64_LIBS,;t t
44781 +-s,@FTDS64_LIB@,$FTDS64_LIB,;t t
44782 +-s,@FTDS64_CTLIB_INCLUDE@,$FTDS64_CTLIB_INCLUDE,;t t
44783 +-s,@FTDS64_CTLIB_LIBS@,$FTDS64_CTLIB_LIBS,;t t
44784 +-s,@FTDS64_CTLIB_LIB@,$FTDS64_CTLIB_LIB,;t t
44785 +-s,@FTDS_INCLUDE@,$FTDS_INCLUDE,;t t
44786 +-s,@FTDS_LIBS@,$FTDS_LIBS,;t t
44787 +-s,@FTDS_LIB@,$FTDS_LIB,;t t
44788 +-s,@freetds@,$freetds,;t t
44789 +-s,@ftds64@,$ftds64,;t t
44790 +-s,@mysql_config@,$mysql_config,;t t
44791 +-s,@PYTHON@,$PYTHON,;t t
44792 +-s,@PYTHON_INCLUDE@,$PYTHON_INCLUDE,;t t
44793 +-s,@PYTHON_LIBS@,$PYTHON_LIBS,;t t
44794 +-s,@PYTHON23@,$PYTHON23,;t t
44795 +-s,@PYTHON23_INCLUDE@,$PYTHON23_INCLUDE,;t t
44796 +-s,@PYTHON23_LIBS@,$PYTHON23_LIBS,;t t
44797 +-s,@PYTHON24@,$PYTHON24,;t t
44798 +-s,@PYTHON24_INCLUDE@,$PYTHON24_INCLUDE,;t t
44799 +-s,@PYTHON24_LIBS@,$PYTHON24_LIBS,;t t
44800 +-s,@PYTHON25@,$PYTHON25,;t t
44801 +-s,@PYTHON25_INCLUDE@,$PYTHON25_INCLUDE,;t t
44802 +-s,@PYTHON25_LIBS@,$PYTHON25_LIBS,;t t
44803 +-s,@PERL@,$PERL,;t t
44804 +-s,@_ACJNI_JAVAC@,$_ACJNI_JAVAC,;t t
44805 +-s,@X_CFLAGS@,$X_CFLAGS,;t t
44806 +-s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
44807 +-s,@X_LIBS@,$X_LIBS,;t t
44808 +-s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
44809 +-s,@wxconf@,$wxconf,;t t
44810 +-s,@EXPAT_INCLUDE@,$EXPAT_INCLUDE,;t t
44811 +-s,@EXPAT_LIBS@,$EXPAT_LIBS,;t t
44812 +-s,@SABLOT_INCLUDE@,$SABLOT_INCLUDE,;t t
44813 +-s,@SABLOT_LIBS@,$SABLOT_LIBS,;t t
44814 +-s,@LIBXML_INCLUDE@,$LIBXML_INCLUDE,;t t
44815 +-s,@LIBXML_LIBS@,$LIBXML_LIBS,;t t
44816 +-s,@LIBXSLT_INCLUDE@,$LIBXSLT_INCLUDE,;t t
44817 +-s,@LIBXSLT_LIBS@,$LIBXSLT_LIBS,;t t
44818 +-s,@XSLTPROC@,$XSLTPROC,;t t
44819 +-s,@LIBEXSLT_INCLUDE@,$LIBEXSLT_INCLUDE,;t t
44820 +-s,@LIBEXSLT_LIBS@,$LIBEXSLT_LIBS,;t t
44821 +-s,@SQLITE3_INCLUDE@,$SQLITE3_INCLUDE,;t t
44822 +-s,@SQLITE3_LIBS@,$SQLITE3_LIBS,;t t
44823 +-s,@OECHEM_INCLUDE@,$OECHEM_INCLUDE,;t t
44824 +-s,@OECHEM_LIBS@,$OECHEM_LIBS,;t t
44825 +-s,@SGE_INCLUDE@,$SGE_INCLUDE,;t t
44826 +-s,@SGE_LIBS@,$SGE_LIBS,;t t
44827 +-s,@MUPARSER_INCLUDE@,$MUPARSER_INCLUDE,;t t
44828 +-s,@MUPARSER_LIBS@,$MUPARSER_LIBS,;t t
44829 +-s,@HDF5_INCLUDE@,$HDF5_INCLUDE,;t t
44830 +-s,@HDF5_LIBS@,$HDF5_LIBS,;t t
44831 +-s,@JPEG_INCLUDE@,$JPEG_INCLUDE,;t t
44832 +-s,@JPEG_LIBS@,$JPEG_LIBS,;t t
44833 +-s,@PNG_INCLUDE@,$PNG_INCLUDE,;t t
44834 +-s,@PNG_LIBS@,$PNG_LIBS,;t t
44835 +-s,@TIFF_INCLUDE@,$TIFF_INCLUDE,;t t
44836 +-s,@TIFF_LIBS@,$TIFF_LIBS,;t t
44837 +-s,@UNGIF_INCLUDE@,$UNGIF_INCLUDE,;t t
44838 +-s,@UNGIF_LIBS@,$UNGIF_LIBS,;t t
44839 +-s,@GIF_INCLUDE@,$GIF_INCLUDE,;t t
44840 +-s,@GIF_LIBS@,$GIF_LIBS,;t t
44841 +-s,@XPM_INCLUDE@,$XPM_INCLUDE,;t t
44842 +-s,@XPM_LIBS@,$XPM_LIBS,;t t
44843 +-s,@freetype_config@,$freetype_config,;t t
44844 +-s,@FTGL_INCLUDE@,$FTGL_INCLUDE,;t t
44845 +-s,@FTGL_LIBS@,$FTGL_LIBS,;t t
44846 +-s,@MAGIC_INCLUDE@,$MAGIC_INCLUDE,;t t
44847 +-s,@MAGIC_LIBS@,$MAGIC_LIBS,;t t
44848 +-s,@MIMETIC_INCLUDE@,$MIMETIC_INCLUDE,;t t
44849 +-s,@MIMETIC_LIBS@,$MIMETIC_LIBS,;t t
44850 +-s,@signature@,$signature,;t t
44851 +-s,@build_root@,$build_root,;t t
44852 +-s,@top_srcdir@,$top_srcdir,;t t
44853 +-s,@srcdir@,$srcdir,;t t
44854 +-s,@status_dir@,$status_dir,;t t
44855 +-s,@builddir@,$builddir,;t t
44856 +-s,@runpath@,$runpath,;t t
44857 +-s,@ncbi_runpath@,$ncbi_runpath,;t t
44858 +-s,@c_ncbi_runpath@,$c_ncbi_runpath,;t t
44859 +-s,@LINK@,$LINK,;t t
44860 +-s,@C_LINK@,$C_LINK,;t t
44861 +-s,@TAIL_N@,$TAIL_N,;t t
44862 +-s,@EGREP_Q@,$EGREP_Q,;t t
44863 +-s,@FAST_CFLAGS@,$FAST_CFLAGS,;t t
44864 +-s,@FAST_CXXFLAGS@,$FAST_CXXFLAGS,;t t
44865 +-s,@OBJCXX_CXXFLAGS@,$OBJCXX_CXXFLAGS,;t t
44866 +-s,@DEPFLAGS@,$DEPFLAGS,;t t
44867 +-s,@DEPFLAGS_POST@,$DEPFLAGS_POST,;t t
44868 +-s,@FAST_LDFLAGS@,$FAST_LDFLAGS,;t t
44869 +-s,@APP_LDFLAGS@,$APP_LDFLAGS,;t t
44870 +-s,@DLL_LDFLAGS@,$DLL_LDFLAGS,;t t
44871 +-s,@C_LIBS@,$C_LIBS,;t t
44872 +-s,@OBJCXX_LIBS@,$OBJCXX_LIBS,;t t
44873 +-s,@GCCPCH@,$GCCPCH,;t t
44874 +-s,@RUNPATH_ORIGIN@,$RUNPATH_ORIGIN,;t t
44875 +-s,@NO_STRICT_ALIASING@,$NO_STRICT_ALIASING,;t t
44876 +-s,@D_SFX@,$D_SFX,;t t
44877 +-s,@DEBUG_SFX@,$DEBUG_SFX,;t t
44878 +-s,@LIB_OR_DLL@,$LIB_OR_DLL,;t t
44879 +-s,@FORCE_STATIC_LIB@,$FORCE_STATIC_LIB,;t t
44880 +-s,@APP_LIB_SETTING@,$APP_LIB_SETTING,;t t
44881 +-s,@APP_LIBS_SETTING@,$APP_LIBS_SETTING,;t t
44882 +-s,@LINK_DLL@,$LINK_DLL,;t t
44883 +-s,@has_dll_loadable@,$has_dll_loadable,;t t
44884 +-s,@LINK_LOADABLE@,$LINK_LOADABLE,;t t
44885 +-s,@CFLAGS_DLL@,$CFLAGS_DLL,;t t
44886 +-s,@CXXFLAGS_DLL@,$CXXFLAGS_DLL,;t t
44887 +-s,@ALLOW_UNDEF@,$ALLOW_UNDEF,;t t
44888 +-s,@FORBID_UNDEF@,$FORBID_UNDEF,;t t
44889 +-s,@OPT_GROUPS@,$OPT_GROUPS,;t t
44890 +-s,@local_lbsm@,$local_lbsm,;t t
44891 +-s,@ncbi_crypt@,$ncbi_crypt,;t t
44892 +-s,@CONNEXT@,$CONNEXT,;t t
44893 +-s,@XCONNEXT@,$XCONNEXT,;t t
44894 +-s,@serial@,$serial,;t t
44895 +-s,@bdb@,$bdb,;t t
44896 +-s,@dbapi@,$dbapi,;t t
44897 +-s,@objects@,$objects,;t t
44898 +-s,@gui@,$gui,;t t
44899 +-s,@algo@,$algo,;t t
44900 +-s,@app@,$app,;t t
44901 +-s,@internal@,$internal,;t t
44902 +-s,@sra@,$sra,;t t
44903 +-s,@check@,$check,;t t
44904 +-s,@CHECK_ARG@,$CHECK_ARG,;t t
44905 +-s,@CHECK_TOOLS@,$CHECK_TOOLS,;t t
44906 +-s,@CHECK_TIMEOUT_MULT@,$CHECK_TIMEOUT_MULT,;t t
44907 +-s,@CHECK_OS_NAME@,$CHECK_OS_NAME,;t t
44908 +-s,@FEATURES@,$FEATURES,;t t
44909 +-s,@script_shell@,$script_shell,;t t
44910 +-s,@make_shell@,$make_shell,;t t
44911 +-s,@obj_ext@,$obj_ext,;t t
44912 +-s,@lib_pre@,$lib_pre,;t t
44913 +-s,@lib_l_pre@,$lib_l_pre,;t t
44914 +-s,@lib_ext@,$lib_ext,;t t
44915 +-s,@dll_ext@,$dll_ext,;t t
44916 +-s,@loadable_ext@,$loadable_ext,;t t
44917 +-s,@lib_l_ext@,$lib_l_ext,;t t
44918 +-s,@exe_ext@,$exe_ext,;t t
44919 +-s,@f_compile@,$f_compile,;t t
44920 +-s,@f_outobj@,$f_outobj,;t t
44921 +-s,@f_outlib@,$f_outlib,;t t
44922 +-s,@f_libpath@,$f_libpath,;t t
44923 +-s,@f_runpath@,$f_runpath,;t t
44924 +-s,@f_outexe@,$f_outexe,;t t
44925 +-s,@BDB_LIB@,$BDB_LIB,;t t
44926 +-s,@BDB_CACHE_LIB@,$BDB_CACHE_LIB,;t t
44927 +-s,@DBAPI_DRIVER@,$DBAPI_DRIVER,;t t
44928 +-s,@DBAPI_CTLIB@,$DBAPI_CTLIB,;t t
44929 +-s,@DBAPI_DBLIB@,$DBAPI_DBLIB,;t t
44930 +-s,@DBAPI_MYSQL@,$DBAPI_MYSQL,;t t
44931 +-s,@DBAPI_ODBC@,$DBAPI_ODBC,;t t
44932 +-s,@THREAD_LIBS@,$THREAD_LIBS,;t t
44933 +-s,@NCBIATOMIC_LIB@,$NCBIATOMIC_LIB,;t t
44934 +-s,@NETWORK_LIBS@,$NETWORK_LIBS,;t t
44935 +-s,@NETWORK_PURE_LIBS@,$NETWORK_PURE_LIBS,;t t
44936 +-s,@RESOLVER_LIBS@,$RESOLVER_LIBS,;t t
44937 +-s,@MATH_LIBS@,$MATH_LIBS,;t t
44938 +-s,@KSTAT_LIBS@,$KSTAT_LIBS,;t t
44939 +-s,@RPCSVC_LIBS@,$RPCSVC_LIBS,;t t
44940 +-s,@CRYPT_LIBS@,$CRYPT_LIBS,;t t
44941 +-s,@DL_LIBS@,$DL_LIBS,;t t
44942 +-s,@RT_LIBS@,$RT_LIBS,;t t
44943 +-s,@UUID_LIBS@,$UUID_LIBS,;t t
44944 +-s,@DEMANGLE_LIBS@,$DEMANGLE_LIBS,;t t
44945 +-s,@ICONV_LIBS@,$ICONV_LIBS,;t t
44946 +-s,@Z_LIB@,$Z_LIB,;t t
44947 +-s,@BZ2_LIB@,$BZ2_LIB,;t t
44948 +-s,@PCREPOSIX_LIBS@,$PCREPOSIX_LIBS,;t t
44949 +-s,@PCRE_LIB@,$PCRE_LIB,;t t
44950 +-s,@OPENSSL_STATIC_LIBS@,$OPENSSL_STATIC_LIBS,;t t
44951 +-s,@TLS_INCLUDE@,$TLS_INCLUDE,;t t
44952 +-s,@TLS_LIBS@,$TLS_LIBS,;t t
44953 +-s,@SYBASE_PATH@,$SYBASE_PATH,;t t
44954 +-s,@SYBASE_LCL_PATH@,$SYBASE_LCL_PATH,;t t
44955 +-s,@SYBASE_INCLUDE@,$SYBASE_INCLUDE,;t t
44956 +-s,@SYBASE_LIBS@,$SYBASE_LIBS,;t t
44957 +-s,@SYBASE_DLLS@,$SYBASE_DLLS,;t t
44958 +-s,@SYBASE_DBLIBS@,$SYBASE_DBLIBS,;t t
44959 +-s,@MYSQL_INCLUDE@,$MYSQL_INCLUDE,;t t
44960 +-s,@MYSQL_LIBS@,$MYSQL_LIBS,;t t
44961 +-s,@BERKELEYDB_INCLUDE@,$BERKELEYDB_INCLUDE,;t t
44962 +-s,@BERKELEYDB_LIBS@,$BERKELEYDB_LIBS,;t t
44963 +-s,@BERKELEYDB_STATIC_LIBS@,$BERKELEYDB_STATIC_LIBS,;t t
44964 +-s,@BERKELEYDB_CXX_LIBS@,$BERKELEYDB_CXX_LIBS,;t t
44965 +-s,@BERKELEYDB_CXX_STATIC_LIBS@,$BERKELEYDB_CXX_STATIC_LIBS,;t t
44966 +-s,@ODBC_INCLUDE@,$ODBC_INCLUDE,;t t
44967 +-s,@ODBC_LIBS@,$ODBC_LIBS,;t t
44968 +-s,@BOOST_INCLUDE@,$BOOST_INCLUDE,;t t
44969 +-s,@BOOST_LIBPATH@,$BOOST_LIBPATH,;t t
44970 +-s,@BOOST_TAG@,$BOOST_TAG,;t t
44971 +-s,@BOOST_REGEX_LIBS@,$BOOST_REGEX_LIBS,;t t
44972 +-s,@BOOST_REGEX_STATIC_LIBS@,$BOOST_REGEX_STATIC_LIBS,;t t
44973 +-s,@BOOST_SYSTEM_LIBS@,$BOOST_SYSTEM_LIBS,;t t
44974 +-s,@BOOST_SYSTEM_STATIC_LIBS@,$BOOST_SYSTEM_STATIC_LIBS,;t t
44975 +-s,@BOOST_TEST_PEM_LIBS@,$BOOST_TEST_PEM_LIBS,;t t
44976 +-s,@BOOST_TEST_PEM_STATIC_LIBS@,$BOOST_TEST_PEM_STATIC_LIBS,;t t
44977 +-s,@BOOST_TEST_TEM_LIBS@,$BOOST_TEST_TEM_LIBS,;t t
44978 +-s,@BOOST_TEST_TEM_STATIC_LIBS@,$BOOST_TEST_TEM_STATIC_LIBS,;t t
44979 +-s,@BOOST_TEST_UTF_LIBS@,$BOOST_TEST_UTF_LIBS,;t t
44980 +-s,@BOOST_TEST_UTF_STATIC_LIBS@,$BOOST_TEST_UTF_STATIC_LIBS,;t t
44981 +-s,@BOOST_THREAD_LIBS@,$BOOST_THREAD_LIBS,;t t
44982 +-s,@BOOST_THREAD_STATIC_LIBS@,$BOOST_THREAD_STATIC_LIBS,;t t
44983 +-s,@NCBI_C_INCLUDE@,$NCBI_C_INCLUDE,;t t
44984 +-s,@NCBI_C_LIBPATH@,$NCBI_C_LIBPATH,;t t
44985 +-s,@OPENGL_INCLUDE@,$OPENGL_INCLUDE,;t t
44986 +-s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
44987 +-s,@OPENGL_STATIC_LIBS@,$OPENGL_STATIC_LIBS,;t t
44988 +-s,@OSMESA_INCLUDE@,$OSMESA_INCLUDE,;t t
44989 +-s,@OSMESA_LIBS@,$OSMESA_LIBS,;t t
44990 +-s,@OSMESA_STATIC_LIBS@,$OSMESA_STATIC_LIBS,;t t
44991 +-s,@GLUT_INCLUDE@,$GLUT_INCLUDE,;t t
44992 +-s,@GLUT_LIBS@,$GLUT_LIBS,;t t
44993 +-s,@GLEW_INCLUDE@,$GLEW_INCLUDE,;t t
44994 +-s,@GLEW_LIBS@,$GLEW_LIBS,;t t
44995 +-s,@GLEW_STATIC_LIBS@,$GLEW_STATIC_LIBS,;t t
44996 +-s,@WXWIDGETS_INCLUDE@,$WXWIDGETS_INCLUDE,;t t
44997 +-s,@WXWIDGETS_LIBS@,$WXWIDGETS_LIBS,;t t
44998 +-s,@WXWIDGETS_STATIC_LIBS@,$WXWIDGETS_STATIC_LIBS,;t t
44999 +-s,@WXWIDGETS_GL_LIBS@,$WXWIDGETS_GL_LIBS,;t t
45000 +-s,@WXWIDGETS_GL_STATIC_LIBS@,$WXWIDGETS_GL_STATIC_LIBS,;t t
45001 +-s,@WXWIDGETS_POST_LINK@,$WXWIDGETS_POST_LINK,;t t
45002 +-s,@FASTCGI_INCLUDE@,$FASTCGI_INCLUDE,;t t
45003 +-s,@FASTCGI_LIBS@,$FASTCGI_LIBS,;t t
45004 +-s,@FASTCGI_OBJS@,$FASTCGI_OBJS,;t t
45005 +-s,@NCBI_SSS_INCLUDE@,$NCBI_SSS_INCLUDE,;t t
45006 +-s,@NCBI_SSS_LIBPATH@,$NCBI_SSS_LIBPATH,;t t
45007 +-s,@LIBSSSUTILS@,$LIBSSSUTILS,;t t
45008 +-s,@LIBSSSDB@,$LIBSSSDB,;t t
45009 +-s,@sssutils@,$sssutils,;t t
45010 +-s,@SP_INCLUDE@,$SP_INCLUDE,;t t
45011 +-s,@SP_LIBS@,$SP_LIBS,;t t
45012 +-s,@ORBACUS_INCLUDE@,$ORBACUS_INCLUDE,;t t
45013 +-s,@ORBACUS_LIBPATH@,$ORBACUS_LIBPATH,;t t
45014 +-s,@LIBOB@,$LIBOB,;t t
45015 +-s,@LIBIMR@,$LIBIMR,;t t
45016 +-s,@ICU_CONFIG@,$ICU_CONFIG,;t t
45017 +-s,@ICU_INCLUDE@,$ICU_INCLUDE,;t t
45018 +-s,@ICU_LIBS@,$ICU_LIBS,;t t
45019 +-s,@ICU_STATIC_LIBS@,$ICU_STATIC_LIBS,;t t
45020 +-s,@EXPAT_STATIC_LIBS@,$EXPAT_STATIC_LIBS,;t t
45021 +-s,@SABLOT_STATIC_LIBS@,$SABLOT_STATIC_LIBS,;t t
45022 +-s,@LIBXML_STATIC_LIBS@,$LIBXML_STATIC_LIBS,;t t
45023 +-s,@LIBXSLT_STATIC_LIBS@,$LIBXSLT_STATIC_LIBS,;t t
45024 +-s,@LIBEXSLT_STATIC_LIBS@,$LIBEXSLT_STATIC_LIBS,;t t
45025 +-s,@XERCES_INCLUDE@,$XERCES_INCLUDE,;t t
45026 +-s,@XERCES_LIBS@,$XERCES_LIBS,;t t
45027 +-s,@XERCES_STATIC_LIBS@,$XERCES_STATIC_LIBS,;t t
45028 +-s,@XALAN_INCLUDE@,$XALAN_INCLUDE,;t t
45029 +-s,@XALAN_LIBS@,$XALAN_LIBS,;t t
45030 +-s,@XALAN_STATIC_LIBS@,$XALAN_STATIC_LIBS,;t t
45031 +-s,@ZORBA_INCLUDE@,$ZORBA_INCLUDE,;t t
45032 +-s,@ZORBA_LIBS@,$ZORBA_LIBS,;t t
45033 +-s,@ZORBA_STATIC_LIBS@,$ZORBA_STATIC_LIBS,;t t
45034 +-s,@SQLITE3_STATIC_LIBS@,$SQLITE3_STATIC_LIBS,;t t
45035 +-s,@FREETYPE_INCLUDE@,$FREETYPE_INCLUDE,;t t
45036 +-s,@FREETYPE_LIBS@,$FREETYPE_LIBS,;t t
45037 +-s,@ncbi_xreader_pubseqos@,$ncbi_xreader_pubseqos,;t t
45038 +-s,@ncbi_xreader_pubseqos2@,$ncbi_xreader_pubseqos2,;t t
45039 +-s,@UNLESS_PUBSEQOS@,$UNLESS_PUBSEQOS,;t t
45040 +-s,@PERL_INCLUDE@,$PERL_INCLUDE,;t t
45041 +-s,@PERL_LIBS@,$PERL_LIBS,;t t
45042 +-s,@JDK_PATH@,$JDK_PATH,;t t
45043 +-s,@JDK_INCLUDE@,$JDK_INCLUDE,;t t
45044 +-s,@ncbi_java@,$ncbi_java,;t t
45045 +-s,@NCBI_C_ncbi@,$NCBI_C_ncbi,;t t
45046 +-s,@BINCOPY@,$BINCOPY,;t t
45047 +-s,@APP_NOCOPY@,$APP_NOCOPY,;t t
45048 +-s,@APP_OR_NULL@,$APP_OR_NULL,;t t
45049 +-s,@IF_REBUILDING_LIBS@,$IF_REBUILDING_LIBS,;t t
45050 +-s,@IF_REBUILDING_CONDITIONALLY@,$IF_REBUILDING_CONDITIONALLY,;t t
45051 +-s,@IF_DEACTIVATING@,$IF_DEACTIVATING,;t t
45052 +-s,@configurables_mfname@,$configurables_mfname,;t t
45053 +-s,@CC_FILTER@,$CC_FILTER,;t t
45054 +-s,@CXX_FILTER@,$CXX_FILTER,;t t
45055 +-s,@AR_FILTER@,$AR_FILTER,;t t
45056 +-s,@LINK_FILTER@,$LINK_FILTER,;t t
45057 +-s,@CC_WRAPPER@,$CC_WRAPPER,;t t
45058 +-s,@CXX_WRAPPER@,$CXX_WRAPPER,;t t
45059 +-s,@AR_WRAPPER@,$AR_WRAPPER,;t t
45060 +-s,@LINK_WRAPPER@,$LINK_WRAPPER,;t t
45061 +-s,@KeepStateTarget@,$KeepStateTarget,;t t
45062 +-s,@Rules@,$Rules,;t t
45063 +-s,@serial_ws50_rtti_kludge@,$serial_ws50_rtti_kludge,;t t
45064 +-s,@ncbicntr@,$ncbicntr,;t t
45065 +-s,@UNIX_SRC@,$UNIX_SRC,;t t
45066 +-s,@UNIX_USR_PROJ@,$UNIX_USR_PROJ,;t t
45067 +-s,@compiler@,$compiler,;t t
45068 +-s,@compiler_root@,$compiler_root,;t t
45069 +-s,@compiler_version@,$compiler_version,;t t
45070 +-s,@COMPILER@,$COMPILER,;t t
45071 +-s,@OSTYPE@,$OSTYPE,;t t
45072 +-s,@NCBI_PLATFORM_BITS@,$NCBI_PLATFORM_BITS,;t t
45073 +-s,@LIBOBJS@,$LIBOBJS,;t t
45074 +-s,@LTLIBOBJS@,$LTLIBOBJS,;t t
45075 +-CEOF
45076 +
45077 ++ac_delim='%!_!# '
45078 ++for ac_last_try in false false false false false :; do
45079 ++ cat >conf$$subs.sed <<_ACEOF
45080 ++IF_DEACTIVATING!$IF_DEACTIVATING$ac_delim
45081 ++configurables_mfname!$configurables_mfname$ac_delim
45082 ++CC_FILTER!$CC_FILTER$ac_delim
45083 ++CXX_FILTER!$CXX_FILTER$ac_delim
45084 ++AR_FILTER!$AR_FILTER$ac_delim
45085 ++LINK_FILTER!$LINK_FILTER$ac_delim
45086 ++CC_WRAPPER!$CC_WRAPPER$ac_delim
45087 ++CXX_WRAPPER!$CXX_WRAPPER$ac_delim
45088 ++AR_WRAPPER!$AR_WRAPPER$ac_delim
45089 ++LINK_WRAPPER!$LINK_WRAPPER$ac_delim
45090 ++KeepStateTarget!$KeepStateTarget$ac_delim
45091 ++Rules!$Rules$ac_delim
45092 ++serial_ws50_rtti_kludge!$serial_ws50_rtti_kludge$ac_delim
45093 ++ncbicntr!$ncbicntr$ac_delim
45094 ++UNIX_SRC!$UNIX_SRC$ac_delim
45095 ++UNIX_USR_PROJ!$UNIX_USR_PROJ$ac_delim
45096 ++compiler!$compiler$ac_delim
45097 ++compiler_root!$compiler_root$ac_delim
45098 ++compiler_version!$compiler_version$ac_delim
45099 ++COMPILER!$COMPILER$ac_delim
45100 ++OSTYPE!$OSTYPE$ac_delim
45101 ++NCBI_PLATFORM_BITS!$NCBI_PLATFORM_BITS$ac_delim
45102 ++LIBOBJS!$LIBOBJS$ac_delim
45103 ++LTLIBOBJS!$LTLIBOBJS$ac_delim
45104 + _ACEOF
45105 +
45106 +- cat >>$CONFIG_STATUS <<\_ACEOF
45107 +- # Split the substitutions into bite-sized pieces for seds with
45108 +- # small command number limits, like on Digital OSF/1 and HP-UX.
45109 +- ac_max_sed_lines=48
45110 +- ac_sed_frag=1 # Number of current file.
45111 +- ac_beg=1 # First line for current file.
45112 +- ac_end=$ac_max_sed_lines # Line after last line for current file.
45113 +- ac_more_lines=:
45114 +- ac_sed_cmds=
45115 +- while $ac_more_lines; do
45116 +- if test $ac_beg -gt 1; then
45117 +- sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
45118 +- else
45119 +- sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
45120 +- fi
45121 +- if test ! -s $tmp/subs.frag; then
45122 +- ac_more_lines=false
45123 +- else
45124 +- # The purpose of the label and of the branching condition is to
45125 +- # speed up the sed processing (if there are no `@' at all, there
45126 +- # is no need to browse any of the substitutions).
45127 +- # These are the two extra sed commands mentioned above.
45128 +- (echo ':t
45129 +- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
45130 +- if test -z "$ac_sed_cmds"; then
45131 +- ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
45132 +- else
45133 +- ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
45134 +- fi
45135 +- ac_sed_frag=`expr $ac_sed_frag + 1`
45136 +- ac_beg=$ac_end
45137 +- ac_end=`expr $ac_end + $ac_max_sed_lines`
45138 ++ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 24; then
45139 ++ break
45140 ++ elif $ac_last_try; then
45141 ++ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
45142 ++echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
45143 ++ { (exit 1); exit 1; }; }
45144 ++ else
45145 ++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
45146 + fi
45147 + done
45148 +- if test -z "$ac_sed_cmds"; then
45149 +- ac_sed_cmds=cat
45150 ++
45151 ++ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
45152 ++if test -n "$ac_eof"; then
45153 ++ ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
45154 ++ ac_eof=`expr $ac_eof + 1`
45155 + fi
45156 +-fi # test -n "$CONFIG_FILES"
45157 +
45158 ++cat >>$CONFIG_STATUS <<_ACEOF
45159 ++cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
45160 ++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
45161 ++_ACEOF
45162 ++sed '
45163 ++s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
45164 ++s/^/s,@/; s/!/@,|#_!!_#|/
45165 ++:n
45166 ++t n
45167 ++s/'"$ac_delim"'$/,g/; t
45168 ++s/$/\\/; p
45169 ++N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
45170 ++' >>$CONFIG_STATUS <conf$$subs.sed
45171 ++rm -f conf$$subs.sed
45172 ++cat >>$CONFIG_STATUS <<_ACEOF
45173 ++:end
45174 ++s/|#_!!_#|//g
45175 ++CEOF$ac_eof
45176 + _ACEOF
45177 ++
45178 ++
45179 ++# VPATH may cause trouble with some makes, so we remove $(srcdir),
45180 ++# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
45181 ++# trailing colons and then remove the whole line if VPATH becomes empty
45182 ++# (actually we leave an empty line to preserve line numbers).
45183 ++if test "x$srcdir" = x.; then
45184 ++ ac_vpsub='/^[ ]*VPATH[ ]*=/{
45185 ++s/:*\$(srcdir):*/:/
45186 ++s/:*\${srcdir}:*/:/
45187 ++s/:*@srcdir@:*/:/
45188 ++s/^\([^=]*=[ ]*\):*/\1/
45189 ++s/:*$//
45190 ++s/^[^=]*=[ ]*$//
45191 ++}'
45192 ++fi
45193 ++
45194 + cat >>$CONFIG_STATUS <<\_ACEOF
45195 +-for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
45196 +- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45197 +- case $ac_file in
45198 +- - | *:- | *:-:* ) # input from stdin
45199 +- cat >$tmp/stdin
45200 +- ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45201 +- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45202 +- *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45203 +- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45204 +- * ) ac_file_in=$ac_file.in ;;
45205 ++fi # test -n "$CONFIG_FILES"
45206 ++
45207 ++
45208 ++for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
45209 ++do
45210 ++ case $ac_tag in
45211 ++ :[FHLC]) ac_mode=$ac_tag; continue;;
45212 ++ esac
45213 ++ case $ac_mode$ac_tag in
45214 ++ :[FHL]*:*);;
45215 ++ :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
45216 ++echo "$as_me: error: Invalid tag $ac_tag." >&2;}
45217 ++ { (exit 1); exit 1; }; };;
45218 ++ :[FH]-) ac_tag=-:-;;
45219 ++ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
45220 ++ esac
45221 ++ ac_save_IFS=$IFS
45222 ++ IFS=:
45223 ++ set x $ac_tag
45224 ++ IFS=$ac_save_IFS
45225 ++ shift
45226 ++ ac_file=$1
45227 ++ shift
45228 ++
45229 ++ case $ac_mode in
45230 ++ :L) ac_source=$1;;
45231 ++ :[FH])
45232 ++ ac_file_inputs=
45233 ++ for ac_f
45234 ++ do
45235 ++ case $ac_f in
45236 ++ -) ac_f="$tmp/stdin";;
45237 ++ *) # Look for the file first in the build tree, then in the source tree
45238 ++ # (if the path is not absolute). The absolute path cannot be DOS-style,
45239 ++ # because $ac_f cannot contain `:'.
45240 ++ test -f "$ac_f" ||
45241 ++ case $ac_f in
45242 ++ [\\/$]*) false;;
45243 ++ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
45244 ++ esac ||
45245 ++ { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
45246 ++echo "$as_me: error: cannot find input file: $ac_f" >&2;}
45247 ++ { (exit 1); exit 1; }; };;
45248 ++ esac
45249 ++ ac_file_inputs="$ac_file_inputs $ac_f"
45250 ++ done
45251 ++
45252 ++ # Let's still pretend it is `configure' which instantiates (i.e., don't
45253 ++ # use $as_me), people would be surprised to read:
45254 ++ # /* config.h. Generated by config.status. */
45255 ++ configure_input="Generated from "`IFS=:
45256 ++ echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
45257 ++ if test x"$ac_file" != x-; then
45258 ++ configure_input="$ac_file. $configure_input"
45259 ++ { echo "$as_me:$LINENO: creating $ac_file" >&5
45260 ++echo "$as_me: creating $ac_file" >&6;}
45261 ++ fi
45262 ++
45263 ++ case $ac_tag in
45264 ++ *:-:* | *:-) cat >"$tmp/stdin";;
45265 ++ esac
45266 ++ ;;
45267 + esac
45268 +
45269 +- # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
45270 +- ac_dir=`(dirname "$ac_file") 2>/dev/null ||
45271 ++ ac_dir=`$as_dirname -- "$ac_file" ||
45272 + $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45273 + X"$ac_file" : 'X\(//\)[^/]' \| \
45274 + X"$ac_file" : 'X\(//\)$' \| \
45275 +- X"$ac_file" : 'X\(/\)' \| \
45276 +- . : '\(.\)' 2>/dev/null ||
45277 ++ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
45278 + echo X"$ac_file" |
45279 +- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45280 +- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45281 +- /^X\(\/\/\)$/{ s//\1/; q; }
45282 +- /^X\(\/\).*/{ s//\1/; q; }
45283 ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
45284 ++ s//\1/
45285 ++ q
45286 ++ }
45287 ++ /^X\(\/\/\)[^/].*/{
45288 ++ s//\1/
45289 ++ q
45290 ++ }
45291 ++ /^X\(\/\/\)$/{
45292 ++ s//\1/
45293 ++ q
45294 ++ }
45295 ++ /^X\(\/\).*/{
45296 ++ s//\1/
45297 ++ q
45298 ++ }
45299 + s/.*/./; q'`
45300 +- { if $as_mkdir_p; then
45301 +- mkdir -p "$ac_dir"
45302 +- else
45303 +- as_dir="$ac_dir"
45304 ++ { as_dir="$ac_dir"
45305 ++ case $as_dir in #(
45306 ++ -*) as_dir=./$as_dir;;
45307 ++ esac
45308 ++ test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
45309 + as_dirs=
45310 +- while test ! -d "$as_dir"; do
45311 +- as_dirs="$as_dir $as_dirs"
45312 +- as_dir=`(dirname "$as_dir") 2>/dev/null ||
45313 ++ while :; do
45314 ++ case $as_dir in #(
45315 ++ *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
45316 ++ *) as_qdir=$as_dir;;
45317 ++ esac
45318 ++ as_dirs="'$as_qdir' $as_dirs"
45319 ++ as_dir=`$as_dirname -- "$as_dir" ||
45320 + $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45321 + X"$as_dir" : 'X\(//\)[^/]' \| \
45322 + X"$as_dir" : 'X\(//\)$' \| \
45323 +- X"$as_dir" : 'X\(/\)' \| \
45324 +- . : '\(.\)' 2>/dev/null ||
45325 ++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
45326 + echo X"$as_dir" |
45327 +- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45328 +- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45329 +- /^X\(\/\/\)$/{ s//\1/; q; }
45330 +- /^X\(\/\).*/{ s//\1/; q; }
45331 ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
45332 ++ s//\1/
45333 ++ q
45334 ++ }
45335 ++ /^X\(\/\/\)[^/].*/{
45336 ++ s//\1/
45337 ++ q
45338 ++ }
45339 ++ /^X\(\/\/\)$/{
45340 ++ s//\1/
45341 ++ q
45342 ++ }
45343 ++ /^X\(\/\).*/{
45344 ++ s//\1/
45345 ++ q
45346 ++ }
45347 + s/.*/./; q'`
45348 ++ test -d "$as_dir" && break
45349 + done
45350 +- test ! -n "$as_dirs" || mkdir $as_dirs
45351 +- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45352 +-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45353 ++ test -z "$as_dirs" || eval "mkdir $as_dirs"
45354 ++ } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
45355 ++echo "$as_me: error: cannot create directory $as_dir" >&2;}
45356 + { (exit 1); exit 1; }; }; }
45357 +-
45358 +- #ac_builddir=. # Useless!
45359 +-ac_builddir=$builddir
45360 +-if test -n "$ac_file_in"; then
45361 +- ac_dir_in=`(dirname "$ac_file_in") 2>/dev/null ||
45362 +-$as_expr X"$ac_file_in" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45363 +- X"$ac_file_in" : 'X\(//\)[^/]' \| \
45364 +- X"$ac_file_in" : 'X\(//\)$' \| \
45365 +- X"$ac_file_in" : 'X\(/\)' \| \
45366 +- . : '\(.\)' 2>/dev/null ||
45367 +-echo X"$ac_file_in" |
45368 +- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45369 +- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45370 +- /^X\(\/\/\)$/{ s//\1/; q; }
45371 +- /^X\(\/\).*/{ s//\1/; q; }
45372 ++ # Base source directories on path to *input* file.
45373 ++if test -n "$ac_f"; then
45374 ++ ac_dir_in=`$as_dirname -- "$ac_f" ||
45375 ++$as_expr X"$ac_f" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45376 ++ X"$ac_f" : 'X\(//\)[^/]' \| \
45377 ++ X"$ac_f" : 'X\(//\)$' \| \
45378 ++ X"$ac_f" : 'X\(/\)' \| . 2>/dev/null ||
45379 ++echo X"$ac_f" |
45380 ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
45381 ++ s//\1/
45382 ++ q
45383 ++ }
45384 ++ /^X\(\/\/\)[^/].*/{
45385 ++ s//\1/
45386 ++ q
45387 ++ }
45388 ++ /^X\(\/\/\)$/{
45389 ++ s//\1/
45390 ++ q
45391 ++ }
45392 ++ /^X\(\/\).*/{
45393 ++ s//\1/
45394 ++ q
45395 ++ }
45396 + s/.*/./; q'`
45397 + else
45398 + ac_dir_in="$ac_dir"
45399 + fi
45400 +
45401 +-if test $ac_dir_in != .; then
45402 +- ac_dir_suffix=`echo $ac_dir_in | sed 's,^\.[\\/],,'`
45403 +- # A "../" for each directory in $ac_dir_suffix.
45404 +- ac_top_builddir=../`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45405 +-else
45406 +- ac_dir_suffix= ac_top_builddir=
45407 +-fi
45408 ++ac_builddir=.
45409 +
45410 +-case $srcdir in
45411 +- .) # No --srcdir option. We are building in place.
45412 +- ac_srcdir=.
45413 +- if test -z "$ac_top_builddir"; then
45414 +- ac_top_srcdir=.
45415 +- else
45416 +- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45417 +- fi ;;
45418 +- [\\/]* | ?:[\\/]* ) # Absolute path.
45419 +- ac_srcdir=$srcdir/$ac_dir_suffix;
45420 +- ac_top_srcdir=$srcdir ;;
45421 +- *) # Relative path.
45422 +- ac_srcdir=$ac_top_builddir$srcdir/$ac_dir_suffix
45423 +- ac_top_srcdir=$ac_top_builddir$srcdir ;;
45424 +-esac
45425 +-# Do not use `cd foo && pwd` to compute absolute paths, because
45426 +-# the directories may not exist.
45427 +-case $builddir in
45428 +-.) ac_abs_builddir="$ac_dir";;
45429 +-*)
45430 +- case "$ac_dir" in
45431 +- .) ac_abs_builddir=$builddir;;
45432 +- [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45433 +- *) ac_abs_builddir=$builddir/"$ac_dir";;
45434 +- esac;;
45435 +-esac
45436 +-case $ac_abs_builddir in
45437 +-.) ac_abs_top_builddir=${ac_top_builddir}.;;
45438 ++case "$ac_dir_in" in
45439 ++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
45440 + *)
45441 +- case ${ac_top_builddir}. in
45442 +- .) ac_abs_top_builddir=$ac_abs_builddir;;
45443 +- [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45444 +- *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45445 ++ ac_dir_suffix=/`echo "$ac_dir_in" | sed 's,^\.[\\/],,'`
45446 ++ # A ".." for each directory in $ac_dir_suffix.
45447 ++ ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
45448 ++ case $ac_top_builddir_sub in
45449 ++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
45450 ++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
45451 + esac;;
45452 + esac
45453 ++ac_abs_top_builddir=$ac_pwd
45454 ++ac_abs_builddir=$ac_pwd$ac_dir_suffix
45455 ++# for backward compatibility:
45456 ++ac_top_builddir=$ac_top_build_prefix
45457 ++
45458 ++case $srcdir in
45459 ++ .) # We are building in place.
45460 ++ ac_srcdir=.
45461 ++ ac_top_srcdir=$ac_top_builddir_sub
45462 ++ ac_abs_top_srcdir=$ac_pwd ;;
45463 ++ [\\/]* | ?:[\\/]* ) # Absolute name.
45464 ++ ac_srcdir=$srcdir$ac_dir_suffix;
45465 ++ ac_top_srcdir=$srcdir
45466 ++ ac_abs_top_srcdir=$srcdir ;;
45467 ++ *) # Relative name.
45468 ++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
45469 ++ ac_top_srcdir=$ac_top_build_prefix$srcdir
45470 ++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
45471 ++esac
45472 ++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
45473 ++
45474 ++
45475 + case $ac_dir_in in
45476 + .) ac_abs_top_srcdir=$real_srcdir;;
45477 + *)
45478 +@@ -36015,66 +41447,55 @@
45479 + *) ac_abs_top_srcdir=$ac_dir_in/$real_srcdir;;
45480 + esac;;
45481 + esac
45482 +-case $ac_abs_top_srcdir in
45483 +-.) ac_abs_srcdir=$ac_dir_suffix;;
45484 +-*)
45485 +- case $ac_dir_suffix in
45486 +- .) ac_abs_srcdir=$ac_abs_top_srcdir;;
45487 +- [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_dir_suffix;;
45488 +- *) ac_abs_srcdir=$ac_abs_top_srcdir/$ac_dir_suffix;;
45489 +- esac;;
45490 +-esac
45491 ++ac_builddir=$builddir
45492 +
45493 +
45494 ++ case $ac_mode in
45495 ++ :F)
45496 ++ #
45497 ++ # CONFIG_FILE
45498 ++ #
45499 ++
45500 + case $INSTALL in
45501 + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
45502 +- *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
45503 ++ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
45504 + esac
45505 ++_ACEOF
45506 +
45507 +- if test x"$ac_file" != x-; then
45508 +- { echo "$as_me:$LINENO: creating $ac_file" >&5
45509 +-echo "$as_me: creating $ac_file" >&6;}
45510 +- rm -f "$ac_file"
45511 +- fi
45512 +- # Let's still pretend it is `configure' which instantiates (i.e., don't
45513 +- # use $as_me), people would be surprised to read:
45514 +- # /* config.h. Generated by config.status. */
45515 +- if test x"$ac_file" = x-; then
45516 +- configure_input=
45517 +- else
45518 +- configure_input="$ac_file. "
45519 +- fi
45520 +- configure_input=$configure_input"Generated from `echo $ac_file_in |
45521 +- sed 's,.*/,,'` by configure."
45522 +-
45523 +- # First look for the input files in the build tree, otherwise in the
45524 +- # src tree.
45525 +- ac_file_inputs=`IFS=:
45526 +- for f in $ac_file_in; do
45527 +- case $f in
45528 +- -) echo $tmp/stdin ;;
45529 +- [\\/$]*)
45530 +- # Absolute (can't be DOS-style, as IFS=:)
45531 +- test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45532 +-echo "$as_me: error: cannot find input file: $f" >&2;}
45533 +- { (exit 1); exit 1; }; }
45534 +- echo "$f";;
45535 +- *) # Relative
45536 +- if test -f "$f"; then
45537 +- # Build tree
45538 +- echo "$f"
45539 +- elif test -f "$srcdir/$f"; then
45540 +- # Source tree
45541 +- echo "$srcdir/$f"
45542 +- else
45543 +- # /dev/null tree
45544 +- { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45545 +-echo "$as_me: error: cannot find input file: $f" >&2;}
45546 +- { (exit 1); exit 1; }; }
45547 +- fi;;
45548 ++cat >>$CONFIG_STATUS <<\_ACEOF
45549 ++# If the template does not know about datarootdir, expand it.
45550 ++# FIXME: This hack should be removed a few years after 2.60.
45551 ++ac_datarootdir_hack=; ac_datarootdir_seen=
45552 ++
45553 ++case `sed -n '/datarootdir/ {
45554 ++ p
45555 ++ q
45556 ++}
45557 ++/@datadir@/p
45558 ++/@docdir@/p
45559 ++/@infodir@/p
45560 ++/@localedir@/p
45561 ++/@mandir@/p
45562 ++' $ac_file_inputs` in
45563 ++*datarootdir*) ac_datarootdir_seen=yes;;
45564 ++*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
45565 ++ { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
45566 ++echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
45567 ++_ACEOF
45568 ++cat >>$CONFIG_STATUS <<_ACEOF
45569 ++ ac_datarootdir_hack='
45570 ++ s&@datadir@&$datadir&g
45571 ++ s&@docdir@&$docdir&g
45572 ++ s&@infodir@&$infodir&g
45573 ++ s&@localedir@&$localedir&g
45574 ++ s&@mandir@&$mandir&g
45575 ++ s&\\\${datarootdir}&$datarootdir&g' ;;
45576 + esac
45577 +- done` || { (exit 1); exit 1; }
45578 + _ACEOF
45579 ++
45580 ++# Neutralize VPATH when `$srcdir' = `.'.
45581 ++# Shell code in configure.ac might set extrasub.
45582 ++# FIXME: do we really want to maintain this feature?
45583 + cat >>$CONFIG_STATUS <<_ACEOF
45584 + sed "$ac_vpsub
45585 + $extrasub
45586 +@@ -36082,381 +41503,140 @@
45587 + cat >>$CONFIG_STATUS <<\_ACEOF
45588 + :t
45589 + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
45590 +-s,@configure_input@,$configure_input,;t t
45591 +-s,@srcdir@,$ac_srcdir,;t t
45592 +-s,@abs_srcdir@,$ac_abs_srcdir,;t t
45593 +-s,@top_srcdir@,$ac_top_srcdir,;t t
45594 +-s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
45595 +-s,@builddir@,$ac_builddir,;t t
45596 +-s,@abs_builddir@,$ac_abs_builddir,;t t
45597 +-s,@top_builddir@,$ac_top_builddir,;t t
45598 +-s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
45599 +-s,@INSTALL@,$ac_INSTALL,;t t
45600 +-" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
45601 +- rm -f $tmp/stdin
45602 +- if test x"$ac_file" != x-; then
45603 +- mv $tmp/out $ac_file
45604 +- else
45605 +- cat $tmp/out
45606 +- rm -f $tmp/out
45607 +- fi
45608 +-
45609 +-done
45610 +-_ACEOF
45611 +-cat >>$CONFIG_STATUS <<\_ACEOF
45612 ++s&@configure_input@&$configure_input&;t t
45613 ++s&@top_builddir@&$ac_top_builddir_sub&;t t
45614 ++s&@srcdir@&$ac_srcdir&;t t
45615 ++s&@abs_srcdir@&$ac_abs_srcdir&;t t
45616 ++s&@top_srcdir@&$ac_top_srcdir&;t t
45617 ++s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
45618 ++s&@builddir@&$ac_builddir&;t t
45619 ++s&@abs_builddir@&$ac_abs_builddir&;t t
45620 ++s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
45621 ++s&@INSTALL@&$ac_INSTALL&;t t
45622 ++$ac_datarootdir_hack
45623 ++" $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
45624 ++
45625 ++test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
45626 ++ { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
45627 ++ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
45628 ++ { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
45629 ++which seems to be undefined. Please make sure it is defined." >&5
45630 ++echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
45631 ++which seems to be undefined. Please make sure it is defined." >&2;}
45632 +
45633 ++ rm -f "$tmp/stdin"
45634 ++ case $ac_file in
45635 ++ -) cat "$tmp/out"; rm -f "$tmp/out";;
45636 ++ *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
45637 ++ esac
45638 ++ ;;
45639 ++ :H)
45640 + #
45641 +-# CONFIG_HEADER section.
45642 ++ # CONFIG_HEADER
45643 + #
45644 ++_ACEOF
45645 +
45646 +-# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
45647 +-# NAME is the cpp macro being defined and VALUE is the value it is being given.
45648 +-#
45649 +-# ac_d sets the value in "#define NAME VALUE" lines.
45650 +-ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
45651 +-ac_dB='[ ].*$,\1#\2'
45652 ++# Transform confdefs.h into a sed script `conftest.defines', that
45653 ++# substitutes the proper values into config.h.in to produce config.h.
45654 ++rm -f conftest.defines conftest.tail
45655 ++# First, append a space to every undef/define line, to ease matching.
45656 ++echo 's/$/ /' >conftest.defines
45657 ++# Then, protect against being on the right side of a sed subst, or in
45658 ++# an unquoted here document, in config.status. If some macros were
45659 ++# called several times there might be several #defines for the same
45660 ++# symbol, which is useless. But do not sort them, since the last
45661 ++# AC_DEFINE must be honored.
45662 ++ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
45663 ++# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
45664 ++# NAME is the cpp macro being defined, VALUE is the value it is being given.
45665 ++# PARAMS is the parameter list in the macro definition--in most cases, it's
45666 ++# just an empty string.
45667 ++ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
45668 ++ac_dB='\\)[ (].*,\\1define\\2'
45669 + ac_dC=' '
45670 +-ac_dD=',;t'
45671 +-# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
45672 +-ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
45673 +-ac_uB='$,\1#\2define\3'
45674 +-ac_uC=' '
45675 +-ac_uD=',;t'
45676 ++ac_dD=' ,'
45677 +
45678 +-for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
45679 +- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45680 +- case $ac_file in
45681 +- - | *:- | *:-:* ) # input from stdin
45682 +- cat >$tmp/stdin
45683 +- ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45684 +- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45685 +- *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45686 +- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45687 +- * ) ac_file_in=$ac_file.in ;;
45688 +- esac
45689 +-
45690 +- test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
45691 +-echo "$as_me: creating $ac_file" >&6;}
45692 +-
45693 +- # First look for the input files in the build tree, otherwise in the
45694 +- # src tree.
45695 +- ac_file_inputs=`IFS=:
45696 +- for f in $ac_file_in; do
45697 +- case $f in
45698 +- -) echo $tmp/stdin ;;
45699 +- [\\/$]*)
45700 +- # Absolute (can't be DOS-style, as IFS=:)
45701 +- test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45702 +-echo "$as_me: error: cannot find input file: $f" >&2;}
45703 +- { (exit 1); exit 1; }; }
45704 +- # Do quote $f, to prevent DOS paths from being IFS'd.
45705 +- echo "$f";;
45706 +- *) # Relative
45707 +- if test -f "$f"; then
45708 +- # Build tree
45709 +- echo "$f"
45710 +- elif test -f "$srcdir/$f"; then
45711 +- # Source tree
45712 +- echo "$srcdir/$f"
45713 +- else
45714 +- # /dev/null tree
45715 +- { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45716 +-echo "$as_me: error: cannot find input file: $f" >&2;}
45717 +- { (exit 1); exit 1; }; }
45718 +- fi;;
45719 +- esac
45720 +- done` || { (exit 1); exit 1; }
45721 +- # Remove the trailing spaces.
45722 +- sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
45723 +-
45724 +-_ACEOF
45725 +-
45726 +-# Transform confdefs.h into two sed scripts, `conftest.defines' and
45727 +-# `conftest.undefs', that substitutes the proper values into
45728 +-# config.h.in to produce config.h. The first handles `#define'
45729 +-# templates, and the second `#undef' templates.
45730 +-# And first: Protect against being on the right side of a sed subst in
45731 +-# config.status. Protect against being in an unquoted here document
45732 +-# in config.status.
45733 +-rm -f conftest.defines conftest.undefs
45734 +-# Using a here document instead of a string reduces the quoting nightmare.
45735 +-# Putting comments in sed scripts is not portable.
45736 +-#
45737 +-# `end' is used to avoid that the second main sed command (meant for
45738 +-# 0-ary CPP macros) applies to n-ary macro definitions.
45739 +-# See the Autoconf documentation for `clear'.
45740 +-cat >confdef2sed.sed <<\_ACEOF
45741 ++uniq confdefs.h |
45742 ++ sed -n '
45743 ++ t rset
45744 ++ :rset
45745 ++ s/^[ ]*#[ ]*define[ ][ ]*//
45746 ++ t ok
45747 ++ d
45748 ++ :ok
45749 + s/[\\&,]/\\&/g
45750 +-s,[\\$`],\\&,g
45751 +-t clear
45752 +-: clear
45753 +-s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
45754 +-t end
45755 +-s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
45756 +-: end
45757 +-_ACEOF
45758 +-# If some macros were called several times there might be several times
45759 +-# the same #defines, which is useless. Nevertheless, we may not want to
45760 +-# sort them, since we want the *last* AC-DEFINE to be honored.
45761 +-uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
45762 +-sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
45763 +-rm -f confdef2sed.sed
45764 ++ s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
45765 ++ s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
45766 ++ ' >>conftest.defines
45767 +
45768 +-# This sed command replaces #undef with comments. This is necessary, for
45769 ++# Remove the space that was appended to ease matching.
45770 ++# Then replace #undef with comments. This is necessary, for
45771 + # example, in the case of _POSIX_SOURCE, which is predefined and required
45772 + # on some systems where configure will not decide to define it.
45773 +-cat >>conftest.undefs <<\_ACEOF
45774 +-s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
45775 +-_ACEOF
45776 ++# (The regexp can be short, since the line contains either #define or #undef.)
45777 ++echo 's/ $//
45778 ++s,^[ #]*u.*,/* & */,' >>conftest.defines
45779 ++
45780 ++# Break up conftest.defines:
45781 ++ac_max_sed_lines=50
45782 ++
45783 ++# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
45784 ++# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
45785 ++# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
45786 ++# et cetera.
45787 ++ac_in='$ac_file_inputs'
45788 ++ac_out='"$tmp/out1"'
45789 ++ac_nxt='"$tmp/out2"'
45790 +
45791 +-# Break up conftest.defines because some shells have a limit on the size
45792 +-# of here documents, and old seds have small limits too (100 cmds).
45793 +-echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
45794 +-echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
45795 +-echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
45796 +-echo ' :' >>$CONFIG_STATUS
45797 +-rm -f conftest.tail
45798 +-while grep . conftest.defines >/dev/null
45799 +-do
45800 +- # Write a limited-size here document to $tmp/defines.sed.
45801 +- echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
45802 +- # Speed up: don't consider the non `#define' lines.
45803 +- echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
45804 +- # Work around the forget-to-reset-the-flag bug.
45805 +- echo 't clr' >>$CONFIG_STATUS
45806 +- echo ': clr' >>$CONFIG_STATUS
45807 +- sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
45808 ++while :
45809 ++do
45810 ++ # Write a here document:
45811 ++ cat >>$CONFIG_STATUS <<_ACEOF
45812 ++ # First, check the format of the line:
45813 ++ cat >"\$tmp/defines.sed" <<\\CEOF
45814 ++/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
45815 ++/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
45816 ++b
45817 ++:def
45818 ++_ACEOF
45819 ++ sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
45820 + echo 'CEOF
45821 +- sed -f $tmp/defines.sed $tmp/in >$tmp/out
45822 +- rm -f $tmp/in
45823 +- mv $tmp/out $tmp/in
45824 +-' >>$CONFIG_STATUS
45825 +- sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
45826 ++ sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
45827 ++ ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
45828 ++ sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
45829 ++ grep . conftest.tail >/dev/null || break
45830 + rm -f conftest.defines
45831 + mv conftest.tail conftest.defines
45832 + done
45833 +-rm -f conftest.defines
45834 +-echo ' fi # grep' >>$CONFIG_STATUS
45835 +-echo >>$CONFIG_STATUS
45836 +-
45837 +-# Break up conftest.undefs because some shells have a limit on the size
45838 +-# of here documents, and old seds have small limits too (100 cmds).
45839 +-echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
45840 +-rm -f conftest.tail
45841 +-while grep . conftest.undefs >/dev/null
45842 +-do
45843 +- # Write a limited-size here document to $tmp/undefs.sed.
45844 +- echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
45845 +- # Speed up: don't consider the non `#undef'
45846 +- echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
45847 +- # Work around the forget-to-reset-the-flag bug.
45848 +- echo 't clr' >>$CONFIG_STATUS
45849 +- echo ': clr' >>$CONFIG_STATUS
45850 +- sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
45851 +- echo 'CEOF
45852 +- sed -f $tmp/undefs.sed $tmp/in >$tmp/out
45853 +- rm -f $tmp/in
45854 +- mv $tmp/out $tmp/in
45855 +-' >>$CONFIG_STATUS
45856 +- sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
45857 +- rm -f conftest.undefs
45858 +- mv conftest.tail conftest.undefs
45859 +-done
45860 +-rm -f conftest.undefs
45861 ++rm -f conftest.defines conftest.tail
45862 +
45863 ++echo "ac_result=$ac_in" >>$CONFIG_STATUS
45864 + cat >>$CONFIG_STATUS <<\_ACEOF
45865 +- # Let's still pretend it is `configure' which instantiates (i.e., don't
45866 +- # use $as_me), people would be surprised to read:
45867 +- # /* config.h. Generated by config.status. */
45868 +- if test x"$ac_file" = x-; then
45869 +- echo "/* Generated by configure. */" >$tmp/config.h
45870 +- else
45871 +- echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
45872 +- fi
45873 +- cat $tmp/in >>$tmp/config.h
45874 +- rm -f $tmp/in
45875 + if test x"$ac_file" != x-; then
45876 +- if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
45877 ++ echo "/* $configure_input */" >"$tmp/config.h"
45878 ++ cat "$ac_result" >>"$tmp/config.h"
45879 ++ if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
45880 + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
45881 + echo "$as_me: $ac_file is unchanged" >&6;}
45882 + else
45883 +- ac_dir=`(dirname "$ac_file") 2>/dev/null ||
45884 +-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45885 +- X"$ac_file" : 'X\(//\)[^/]' \| \
45886 +- X"$ac_file" : 'X\(//\)$' \| \
45887 +- X"$ac_file" : 'X\(/\)' \| \
45888 +- . : '\(.\)' 2>/dev/null ||
45889 +-echo X"$ac_file" |
45890 +- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45891 +- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45892 +- /^X\(\/\/\)$/{ s//\1/; q; }
45893 +- /^X\(\/\).*/{ s//\1/; q; }
45894 +- s/.*/./; q'`
45895 +- { if $as_mkdir_p; then
45896 +- mkdir -p "$ac_dir"
45897 +- else
45898 +- as_dir="$ac_dir"
45899 +- as_dirs=
45900 +- while test ! -d "$as_dir"; do
45901 +- as_dirs="$as_dir $as_dirs"
45902 +- as_dir=`(dirname "$as_dir") 2>/dev/null ||
45903 +-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45904 +- X"$as_dir" : 'X\(//\)[^/]' \| \
45905 +- X"$as_dir" : 'X\(//\)$' \| \
45906 +- X"$as_dir" : 'X\(/\)' \| \
45907 +- . : '\(.\)' 2>/dev/null ||
45908 +-echo X"$as_dir" |
45909 +- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45910 +- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45911 +- /^X\(\/\/\)$/{ s//\1/; q; }
45912 +- /^X\(\/\).*/{ s//\1/; q; }
45913 +- s/.*/./; q'`
45914 +- done
45915 +- test ! -n "$as_dirs" || mkdir $as_dirs
45916 +- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45917 +-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45918 +- { (exit 1); exit 1; }; }; }
45919 +-
45920 + rm -f $ac_file
45921 +- mv $tmp/config.h $ac_file
45922 +- fi
45923 +- else
45924 +- cat $tmp/config.h
45925 +- rm -f $tmp/config.h
45926 +- fi
45927 +-done
45928 +-_ACEOF
45929 +-cat >>$CONFIG_STATUS <<\_ACEOF
45930 +-
45931 +-#
45932 +-# CONFIG_COMMANDS section.
45933 +-#
45934 +-for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
45935 +- ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
45936 +- ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
45937 +- ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
45938 +-$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45939 +- X"$ac_dest" : 'X\(//\)[^/]' \| \
45940 +- X"$ac_dest" : 'X\(//\)$' \| \
45941 +- X"$ac_dest" : 'X\(/\)' \| \
45942 +- . : '\(.\)' 2>/dev/null ||
45943 +-echo X"$ac_dest" |
45944 +- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45945 +- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45946 +- /^X\(\/\/\)$/{ s//\1/; q; }
45947 +- /^X\(\/\).*/{ s//\1/; q; }
45948 +- s/.*/./; q'`
45949 +- { if $as_mkdir_p; then
45950 +- mkdir -p "$ac_dir"
45951 +- else
45952 +- as_dir="$ac_dir"
45953 +- as_dirs=
45954 +- while test ! -d "$as_dir"; do
45955 +- as_dirs="$as_dir $as_dirs"
45956 +- as_dir=`(dirname "$as_dir") 2>/dev/null ||
45957 +-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45958 +- X"$as_dir" : 'X\(//\)[^/]' \| \
45959 +- X"$as_dir" : 'X\(//\)$' \| \
45960 +- X"$as_dir" : 'X\(/\)' \| \
45961 +- . : '\(.\)' 2>/dev/null ||
45962 +-echo X"$as_dir" |
45963 +- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45964 +- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45965 +- /^X\(\/\/\)$/{ s//\1/; q; }
45966 +- /^X\(\/\).*/{ s//\1/; q; }
45967 +- s/.*/./; q'`
45968 +- done
45969 +- test ! -n "$as_dirs" || mkdir $as_dirs
45970 +- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45971 +-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45972 +- { (exit 1); exit 1; }; }; }
45973 +-
45974 +- #ac_builddir=. # Useless!
45975 +-ac_builddir=$builddir
45976 +-if test -n "$ac_file_in"; then
45977 +- ac_dir_in=`(dirname "$ac_file_in") 2>/dev/null ||
45978 +-$as_expr X"$ac_file_in" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45979 +- X"$ac_file_in" : 'X\(//\)[^/]' \| \
45980 +- X"$ac_file_in" : 'X\(//\)$' \| \
45981 +- X"$ac_file_in" : 'X\(/\)' \| \
45982 +- . : '\(.\)' 2>/dev/null ||
45983 +-echo X"$ac_file_in" |
45984 +- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45985 +- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45986 +- /^X\(\/\/\)$/{ s//\1/; q; }
45987 +- /^X\(\/\).*/{ s//\1/; q; }
45988 +- s/.*/./; q'`
45989 +-else
45990 +- ac_dir_in="$ac_dir"
45991 ++ mv "$tmp/config.h" $ac_file
45992 + fi
45993 +-
45994 +-if test $ac_dir_in != .; then
45995 +- ac_dir_suffix=`echo $ac_dir_in | sed 's,^\.[\\/],,'`
45996 +- # A "../" for each directory in $ac_dir_suffix.
45997 +- ac_top_builddir=../`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45998 + else
45999 +- ac_dir_suffix= ac_top_builddir=
46000 ++ echo "/* $configure_input */"
46001 ++ cat "$ac_result"
46002 + fi
46003 ++ rm -f "$tmp/out12"
46004 ++ ;;
46005 +
46006 +-case $srcdir in
46007 +- .) # No --srcdir option. We are building in place.
46008 +- ac_srcdir=.
46009 +- if test -z "$ac_top_builddir"; then
46010 +- ac_top_srcdir=.
46011 +- else
46012 +- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
46013 +- fi ;;
46014 +- [\\/]* | ?:[\\/]* ) # Absolute path.
46015 +- ac_srcdir=$srcdir/$ac_dir_suffix;
46016 +- ac_top_srcdir=$srcdir ;;
46017 +- *) # Relative path.
46018 +- ac_srcdir=$ac_top_builddir$srcdir/$ac_dir_suffix
46019 +- ac_top_srcdir=$ac_top_builddir$srcdir ;;
46020 +-esac
46021 +-# Do not use `cd foo && pwd` to compute absolute paths, because
46022 +-# the directories may not exist.
46023 +-case $builddir in
46024 +-.) ac_abs_builddir="$ac_dir";;
46025 +-*)
46026 +- case "$ac_dir" in
46027 +- .) ac_abs_builddir=$builddir;;
46028 +- [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
46029 +- *) ac_abs_builddir=$builddir/"$ac_dir";;
46030 +- esac;;
46031 +-esac
46032 +-case $ac_abs_builddir in
46033 +-.) ac_abs_top_builddir=${ac_top_builddir}.;;
46034 +-*)
46035 +- case ${ac_top_builddir}. in
46036 +- .) ac_abs_top_builddir=$ac_abs_builddir;;
46037 +- [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
46038 +- *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
46039 +- esac;;
46040 +-esac
46041 +-case $ac_dir_in in
46042 +-.) ac_abs_top_srcdir=$real_srcdir;;
46043 +-*)
46044 +- case $real_srcdir in
46045 +- .) ac_abs_top_srcdir=$ac_dir_in;;
46046 +- [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$real_srcdir;;
46047 +- *) ac_abs_top_srcdir=$ac_dir_in/$real_srcdir;;
46048 +- esac;;
46049 +-esac
46050 +-case $ac_abs_top_srcdir in
46051 +-.) ac_abs_srcdir=$ac_dir_suffix;;
46052 +-*)
46053 +- case $ac_dir_suffix in
46054 +- .) ac_abs_srcdir=$ac_abs_top_srcdir;;
46055 +- [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_dir_suffix;;
46056 +- *) ac_abs_srcdir=$ac_abs_top_srcdir/$ac_dir_suffix;;
46057 +- esac;;
46058 ++ :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
46059 ++echo "$as_me: executing $ac_file commands" >&6;}
46060 ++ ;;
46061 + esac
46062 +
46063 +
46064 +- { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
46065 +-echo "$as_me: executing $ac_dest commands" >&6;}
46066 +- case $ac_dest in
46067 +- default )
46068 ++ case $ac_file$ac_mode in
46069 ++ "default":C)
46070 + find "$build_root/." -name '*.sh' -print | while read x_file ; do
46071 + chmod a+x "$x_file"
46072 + done
46073 +@@ -36601,7 +41781,9 @@
46074 +
46075 + cat << EOCONF
46076 + ===============================================================================
46077 +-NCBI C++ Toolkit documentation: doc/index.html, doc/config.html#ref_Running
46078 ++NCBI C++ Toolkit documentation:
46079 ++ Online: http://www.ncbi.nlm.nih.gov/toolkit/doc/book/
46080 ++ Local: ./doc/public/index.html
46081 + For the available configuration flags run: ./configure --help
46082 +
46083 + CFLAGS = $CFLAGS
46084 +@@ -36628,11 +41810,10 @@
46085 + ******* CONFIGURATION SUCCESSFUL *******
46086 + EOCONF
46087 + ;;
46088 ++
46089 + esac
46090 +-done
46091 +-_ACEOF
46092 ++done # for ac_tag
46093 +
46094 +-cat >>$CONFIG_STATUS <<\_ACEOF
46095 +
46096 + { (exit 0); exit 0; }
46097 + _ACEOF
46098
46099 diff --git a/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild b/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild
46100 index 64e8c23..2a77c11 100644
46101 --- a/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild
46102 +++ b/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild
46103 @@ -26,14 +26,12 @@ IUSE="
46104 debug static-libs static threads pch
46105 test wxwidgets odbc
46106 berkdb boost bzip2 cppunit curl expat fastcgi fltk freetype ftds gif
46107 - glut hdf5 icu jpeg lzo mesa mysql muparser opengl pcre png python
46108 + glut gnutls hdf5 icu jpeg lzo mesa mysql muparser opengl pcre png python
46109 sablotron sqlite sqlite3 ssl tiff xerces xalan xml xpm xslt X"
46110 -# removed IUSE=gnutls due to Gentoo bug #421777
46111 #KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
46112 KEYWORDS=""
46113
46114 # sys-libs/db should be compiled with USE=cxx
46115 -# dropped 'gnutls? ( net-libs/gnutls[lzo] )' from DEPEND due to Gentoo bug #421777
46116 DEPEND="
46117 berkdb? ( sys-libs/db:4.3[cxx] )
46118 ftds? ( dev-db/freetds )
46119 @@ -51,6 +49,7 @@ DEPEND="
46120 glut? ( media-libs/freeglut )
46121 freetype? ( media-libs/freetype )
46122 fastcgi? ( www-apache/mod_fastcgi )
46123 + gnutls? ( net-libs/gnutls[lzo] )
46124 python? ( dev-lang/python )
46125 cppunit? ( dev-util/cppunit )
46126 icu? ( dev-libs/icu )
46127 @@ -114,14 +113,19 @@ src_prepare() {
46128 "${FILESDIR}"/${P}-fix-svn-URL-upstream.patch
46129 "${FILESDIR}"/${P}-fix-FreeTDS-upstream.patch
46130 "${FILESDIR}"/${P}-support-autoconf-2.60.patch
46131 + "${FILESDIR}"/${P}-configure.patch
46132 )
46133 epatch ${PATCHES[@]}
46134 + # make sure this one is the last one and contains the actual patches applied unless we can have autoconf-2.59 or 2.60
46135 + # https://bugs.gentoo.org/show_bug.cgi?id=514706
46136
46137 tc-export CXX CC
46138
46139 cd src/build-system || die
46140 # eautoreconf
46141 - eautoconf
46142 +
46143 + # Temporarily disabling eautoconf because we patch configure via ${P}-support-autoconf-2.60.patch
46144 + #eautoconf
46145 # beware 12.0.0. and previous required autoconf-2.59, a patch for 12.0.0 brings autoconf-2.60 support
46146 }
46147
46148 @@ -218,7 +222,7 @@ src_configure() {
46149 $(use_with pch)
46150 $(use_with lzo lzo "${EPREFIX}/usr")
46151 $(use_with pcre pcre "${EPREFIX}/usr")
46152 -# $(use_with gnutls gnutls "${EPREFIX}/usr")
46153 + $(use_with gnutls gnutls "${EPREFIX}/usr")
46154 $(use_with ssl openssl "${EPREFIX}/usr")
46155 $(use_with ftds ftds "${EPREFIX}/usr")
46156 $(use_with mysql mysql "${EPREFIX}/usr")
46157 @@ -251,7 +255,7 @@ src_configure() {
46158 $(use_with xpm xpm "${EPREFIX}/usr")
46159 $(use_with curl curl "${EPREFIX}/usr")
46160 # $(use_with X x "${EPREFIX}/usr")
46161 - $(use_with X x)
46162 +# $(use_with X x) # there is no --with-x option
46163 )
46164
46165 # http://www.ncbi.nlm.nih.gov/books/NBK7167/