1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 01_libtool.dpatch by <elacour@home-dn.net>
4 ## All lines beginning with `## DP:' are a description of the patch.
11 -# generated automatically by aclocal 1.9.2 -*- Autoconf -*-
12 +# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
14 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
15 -# Free Software Foundation, Inc.
16 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
17 +# 2005 Free Software Foundation, Inc.
18 # This file is free software; the Free Software Foundation
19 # gives unlimited permission to copy and/or distribute it,
20 # with or without modifications, as long as this notice is preserved.
23 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
25 -# serial 47 AC_PROG_LIBTOOL
26 +# serial 52 Debian 1.5.26-4 AC_PROG_LIBTOOL
29 # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
30 @@ -101,7 +101,6 @@ AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
31 AC_REQUIRE([AC_OBJEXT])dnl
32 AC_REQUIRE([AC_EXEEXT])dnl
35 AC_LIBTOOL_SYS_MAX_CMD_LEN
36 AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
38 @@ -123,7 +122,7 @@ esac
40 # Sed substitution that helps us do robust quoting. It backslashifies
41 # metacharacters that are still active within double-quoted strings.
43 +Xsed='sed -e 1s/^X//'
44 [sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
46 # Same as above, but do not quote variable references.
47 @@ -143,7 +142,7 @@ rm="rm -f"
51 -# All known linkers require a `.a' archive for static linking (except M$VC,
52 +# All known linkers require a `.a' archive for static linking (except MSVC,
53 # which needs '.lib').
55 ltmain="$ac_aux_dir/ltmain.sh"
56 @@ -163,6 +162,7 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
57 test -z "$AS" && AS=as
58 test -z "$CC" && CC=cc
59 test -z "$LTCC" && LTCC=$CC
60 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
61 test -z "$DLLTOOL" && DLLTOOL=dlltool
62 test -z "$LD" && LD=ld
63 test -z "$LN_S" && LN_S="ln -s"
64 @@ -175,22 +175,24 @@ test -z "$STRIP" && STRIP=:
65 test -z "$ac_objext" && ac_objext=o
67 # Determine commands to create old-style static archives.
68 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
69 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
70 old_postinstall_cmds='chmod 644 $oldlib'
71 old_postuninstall_cmds=
73 if test -n "$RANLIB"; then
76 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
77 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
80 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
81 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
84 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
87 +_LT_CC_BASENAME([$compiler])
89 # Only perform the check for file, if the check method requires it
90 case $deplibs_check_method in
92 @@ -200,6 +202,8 @@ file_magic*)
96 +_LT_REQUIRED_DARWIN_CHECKS
98 AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
99 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
100 enable_win32_dll=yes, enable_win32_dll=no)
101 @@ -231,11 +235,129 @@ AC_DEFUN([_LT_AC_SYS_COMPILER],
102 # If no C compiler was specified, use CC.
105 +# If no C compiler flags were specified, use CFLAGS.
106 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
108 # Allow CC to be a program name with arguments.
110 ])# _LT_AC_SYS_COMPILER
113 +# _LT_CC_BASENAME(CC)
114 +# -------------------
115 +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
116 +AC_DEFUN([_LT_CC_BASENAME],
117 +[for cc_temp in $1""; do
119 + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
120 + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
125 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
129 +# _LT_COMPILER_BOILERPLATE
130 +# ------------------------
131 +# Check for compiler boilerplate output or warnings with
132 +# the simple compiler test code.
133 +AC_DEFUN([_LT_COMPILER_BOILERPLATE],
134 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
135 +ac_outfile=conftest.$ac_objext
136 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
137 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
138 +_lt_compiler_boilerplate=`cat conftest.err`
140 +])# _LT_COMPILER_BOILERPLATE
143 +# _LT_LINKER_BOILERPLATE
144 +# ----------------------
145 +# Check for linker boilerplate output or warnings with
146 +# the simple link test code.
147 +AC_DEFUN([_LT_LINKER_BOILERPLATE],
148 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
149 +ac_outfile=conftest.$ac_objext
150 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
151 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
152 +_lt_linker_boilerplate=`cat conftest.err`
154 +])# _LT_LINKER_BOILERPLATE
156 +# _LT_REQUIRED_DARWIN_CHECKS
157 +# --------------------------
158 +# Check for some things on darwin
159 +AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
161 + rhapsody* | darwin*)
162 + AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
163 + AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
165 + AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
166 + [lt_cv_apple_cc_single_mod=no
167 + if test -z "${LT_MULTI_MODULE}"; then
168 + # By default we will add the -single_module flag. You can override
169 + # by either setting the environment variable LT_MULTI_MODULE
170 + # non-empty at configure time, or by adding -multi_module to the
172 + echo "int foo(void){return 1;}" > conftest.c
173 + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
174 + -dynamiclib ${wl}-single_module conftest.c
175 + if test -f libconftest.dylib; then
176 + lt_cv_apple_cc_single_mod=yes
177 + rm -rf libconftest.dylib*
181 + AC_CACHE_CHECK([for -exported_symbols_list linker flag],
182 + [lt_cv_ld_exported_symbols_list],
183 + [lt_cv_ld_exported_symbols_list=no
184 + save_LDFLAGS=$LDFLAGS
185 + echo "_main" > conftest.sym
186 + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
187 + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
188 + [lt_cv_ld_exported_symbols_list=yes],
189 + [lt_cv_ld_exported_symbols_list=no])
190 + LDFLAGS="$save_LDFLAGS"
193 + rhapsody* | darwin1.[[0123]])
194 + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
196 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
198 + # if running on 10.5 or later, the deployment target defaults
199 + # to the OS version, if on x86, and 10.4, the deployment
200 + # target defaults to 10.4. Don't you love it?
201 + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
202 + 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
203 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
205 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
207 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
211 + if test "$lt_cv_apple_cc_single_mod" = "yes"; then
212 + _lt_dar_single_mod='$single_module'
214 + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
215 + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
217 + _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
219 + if test "$DSYMUTIL" != ":"; then
220 + _lt_dsymutil="~$DSYMUTIL \$lib || :"
228 # _LT_AC_SYS_LIBPATH_AIX
229 # ----------------------
230 # Links a minimal program and checks the executable
231 @@ -245,12 +367,20 @@ compiler=$CC
232 # If we don't find anything, use the default library path according
233 # to the aix ld manual.
234 AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
235 -[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
236 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
238 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
239 +AC_LINK_IFELSE(AC_LANG_PROGRAM,[
240 +lt_aix_libpath_sed='
241 + /Import File Strings/,/^$/ {
247 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
248 # Check for a 64-bit object if we didn't find anything.
249 -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
251 +if test -z "$aix_libpath"; then
252 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
254 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
255 ])# _LT_AC_SYS_LIBPATH_AIX
257 @@ -308,15 +438,15 @@ fi
259 # The HP-UX ksh and POSIX shell print the target directory to stdout
261 -if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
262 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
264 if test -z "$ECHO"; then
265 if test "X${echo_test_string+set}" != Xset; then
266 # find a string as large as possible, as long as the shell can cope with it
267 for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
268 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
269 - if (echo_test_string="`eval $cmd`") 2>/dev/null &&
270 - echo_test_string="`eval $cmd`" &&
271 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
272 + echo_test_string=`eval $cmd` &&
273 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
276 @@ -481,13 +611,17 @@ ia64-*-hpux*)
280 -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
281 +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
282 +s390*-*linux*|sparc*-*linux*)
283 # Find out which ABI we are using.
284 echo 'int i;' > conftest.$ac_ext
285 if AC_TRY_EVAL(ac_compile); then
286 - case "`/usr/bin/file conftest.o`" in
287 + case `/usr/bin/file conftest.o` in
290 + x86_64-*kfreebsd*-gnu)
291 + LD="${LD-ld} -m elf_i386_fbsd"
294 LD="${LD-ld} -m elf_i386"
296 @@ -504,6 +638,9 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
300 + x86_64-*kfreebsd*-gnu)
301 + LD="${LD-ld} -m elf_x86_64_fbsd"
304 LD="${LD-ld} -m elf_x86_64"
306 @@ -536,6 +673,26 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
307 CFLAGS="$SAVE_CFLAGS"
311 + # Find out which ABI we are using.
312 + echo 'int i;' > conftest.$ac_ext
313 + if AC_TRY_EVAL(ac_compile); then
314 + case `/usr/bin/file conftest.o` in
316 + case $lt_cv_prog_gnu_ld in
317 + yes*) LD="${LD-ld} -m elf64_sparc" ;;
319 + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
330 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
331 [*-*-cygwin* | *-*-mingw* | *-*-pw32*)
332 AC_CHECK_TOOL(DLLTOOL, dlltool, false)
333 @@ -559,7 +716,7 @@ AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
334 AC_CACHE_CHECK([$1], [$2],
336 ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
337 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
338 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
339 lt_compiler_flag="$3"
340 # Insert the option either (1) after the last *FLAGS variable, or
341 # (2) before a word containing "conftest.", or (3) at the end.
342 @@ -567,7 +724,7 @@ AC_CACHE_CHECK([$1], [$2],
343 # with a dollar sign (not a hyphen), so the echo should work correctly.
344 # The option is referenced via a variable to avoid confusing sed.
345 lt_compile=`echo "$ac_compile" | $SED \
346 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
347 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
348 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
349 -e 's:$: $lt_compiler_flag:'`
350 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
351 @@ -577,8 +734,10 @@ AC_CACHE_CHECK([$1], [$2],
352 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
353 if (exit $ac_status) && test -s "$ac_outfile"; then
354 # The compiler can only warn and ignore the option if not recognized
355 - # So say no if there are warnings
356 - if test ! -s conftest.err; then
357 + # So say no if there are warnings other than the usual output.
358 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
359 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
360 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
364 @@ -598,22 +757,28 @@ fi
365 # ------------------------------------------------------------
366 # Check whether the given compiler option works
367 AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
368 -[AC_CACHE_CHECK([$1], [$2],
369 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
370 +AC_CACHE_CHECK([$1], [$2],
372 save_LDFLAGS="$LDFLAGS"
373 LDFLAGS="$LDFLAGS $3"
374 - printf "$lt_simple_link_test_code" > conftest.$ac_ext
375 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
376 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
377 - # The compiler can only warn and ignore the option if not recognized
378 + # The linker can only warn and ignore the option if not recognized
379 # So say no if there are warnings
380 if test -s conftest.err; then
381 # Append any errors to the config.log.
382 cat conftest.err 1>&AS_MESSAGE_LOG_FD
383 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
384 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
385 + if diff conftest.exp conftest.er2 >/dev/null; then
394 LDFLAGS="$save_LDFLAGS"
397 @@ -667,24 +832,71 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
398 lt_cv_sys_max_cmd_len=8192;
402 - # If test is not a shell built-in, we'll probably end up computing a
403 - # maximum length that is only half of the actual maximum length, but
405 - while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
406 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
407 + # This has been around since 386BSD, at least. Likely further.
408 + if test -x /sbin/sysctl; then
409 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
410 + elif test -x /usr/sbin/sysctl; then
411 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
413 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
415 + # And add a safety zone
416 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
417 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
421 + # We know the value 262144 and hardcode it with a safety zone (like BSD)
422 + lt_cv_sys_max_cmd_len=196608
426 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
427 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
428 + # nice to cause kernel panics so lets avoid the loop below.
429 + # First set a reasonable default.
430 + lt_cv_sys_max_cmd_len=16384
432 + if test -x /sbin/sysconfig; then
433 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
434 + *1*) lt_cv_sys_max_cmd_len=-1 ;;
439 + lt_cv_sys_max_cmd_len=102400
441 + sysv5* | sco5v6* | sysv4.2uw2*)
442 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
443 + if test -n "$kargmax"; then
444 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
446 + lt_cv_sys_max_cmd_len=32768
450 + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
451 + if test -n "$lt_cv_sys_max_cmd_len"; then
452 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
453 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
455 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
456 + while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
457 = "XX$teststring") >/dev/null 2>&1 &&
458 - new_result=`expr "X$teststring" : ".*" 2>&1` &&
459 - lt_cv_sys_max_cmd_len=$new_result &&
460 - test $i != 17 # 1/2 MB should be enough
463 - teststring=$teststring$teststring
466 - # Add a significant safety factor because C++ compilers can tack on massive
467 - # amounts of additional arguments before passing them to the linker.
468 - # It appears as though 1/2 is a usable value.
469 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
470 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
471 + lt_cv_sys_max_cmd_len=$new_result &&
472 + test $i != 17 # 1/2 MB should be enough
475 + teststring=$teststring$teststring
478 + # Add a significant safety factor because C++ compilers can tack on massive
479 + # amounts of additional arguments before passing them to the linker.
480 + # It appears as though 1/2 is a usable value.
481 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
486 @@ -697,7 +909,7 @@ fi
490 -# --------------------
491 +# ------------------
492 AC_DEFUN([_LT_AC_CHECK_DLFCN],
493 [AC_CHECK_HEADERS(dlfcn.h)dnl
494 ])# _LT_AC_CHECK_DLFCN
495 @@ -705,7 +917,7 @@ AC_DEFUN([_LT_AC_CHECK_DLFCN],
497 # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
498 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
499 -# ------------------------------------------------------------------
500 +# ---------------------------------------------------------------------
501 AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
502 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
503 if test "$cross_compiling" = yes; then :
504 @@ -771,17 +983,19 @@ int main ()
505 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
506 /* dlclose (self); */
514 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
515 - (./conftest; exit; ) 2>/dev/null
516 + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
519 x$lt_dlno_uscore) $1 ;;
520 x$lt_dlneed_uscore) $2 ;;
521 - x$lt_unknown|x*) $3 ;;
522 + x$lt_dlunknown|x*) $3 ;;
526 @@ -793,7 +1007,7 @@ rm -fr conftest*
529 # AC_LIBTOOL_DLOPEN_SELF
530 -# -------------------
531 +# ----------------------
532 AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
533 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
534 if test "x$enable_dlopen" != xyes; then
535 @@ -835,7 +1049,7 @@ else
536 AC_CHECK_FUNC([shl_load],
537 [lt_cv_dlopen="shl_load"],
538 [AC_CHECK_LIB([dld], [shl_load],
539 - [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
540 + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
541 [AC_CHECK_FUNC([dlopen],
542 [lt_cv_dlopen="dlopen"],
543 [AC_CHECK_LIB([dl], [dlopen],
544 @@ -843,7 +1057,7 @@ else
545 [AC_CHECK_LIB([svld], [dlopen],
546 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
547 [AC_CHECK_LIB([dld], [dld_link],
548 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
549 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
553 @@ -864,7 +1078,7 @@ else
554 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
556 save_LDFLAGS="$LDFLAGS"
557 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
558 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
561 LIBS="$lt_cv_dlopen_libs $LIBS"
562 @@ -877,7 +1091,7 @@ else
565 if test "x$lt_cv_dlopen_self" = xyes; then
566 - LDFLAGS="$LDFLAGS $link_static_flag"
567 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
568 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
569 lt_cv_dlopen_self_static, [dnl
570 _LT_AC_TRY_DLOPEN_SELF(
571 @@ -909,7 +1123,8 @@ fi
572 # ---------------------------------
573 # Check to see if options -c and -o are simultaneously supported by compiler
574 AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
575 -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
576 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
577 +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
578 AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
579 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
580 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
581 @@ -917,7 +1132,7 @@ AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
585 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
586 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
588 lt_compiler_flag="-o out/conftest2.$ac_objext"
589 # Insert the option either (1) after the last *FLAGS variable, or
590 @@ -925,7 +1140,7 @@ AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
591 # Note that $ac_compile itself does not contain backslashes and begins
592 # with a dollar sign (not a hyphen), so the echo should work correctly.
593 lt_compile=`echo "$ac_compile" | $SED \
594 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
595 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
596 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
597 -e 's:$: $lt_compiler_flag:'`
598 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
599 @@ -937,11 +1152,13 @@ AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
601 # The compiler can only warn and ignore the option if not recognized
602 # So say no if there are warnings
603 - if test ! -s out/conftest.err; then
604 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
605 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
606 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
607 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
611 + chmod u+w . 2>&AS_MESSAGE_LOG_FD
613 # SGI C++ compiler will create directory out/ii_files/ for
614 # template instantiation
615 @@ -1005,8 +1222,8 @@ AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
616 [AC_MSG_CHECKING([how to hardcode library paths into programs])
617 _LT_AC_TAGVAR(hardcode_action, $1)=
618 if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
619 - test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \
620 - test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then
621 + test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
622 + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
624 # We can hardcode non-existant directories.
625 if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
626 @@ -1055,6 +1272,7 @@ else
628 if test -n "$STRIP" ; then
630 + old_striplib="$STRIP -S"
634 @@ -1072,7 +1290,8 @@ fi
635 # -----------------------------
636 # PORTME Fill in your ld.so characteristics
637 AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
638 -[AC_MSG_CHECKING([dynamic linker characteristics])
639 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
640 +AC_MSG_CHECKING([dynamic linker characteristics])
642 libname_spec='lib$name'
644 @@ -1086,20 +1305,58 @@ shlibpath_overrides_runpath=unknown
646 dynamic_linker="$host_os ld.so"
647 sys_lib_dlsearch_path_spec="/lib /usr/lib"
649 if test "$GCC" = yes; then
650 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
651 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
653 + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
654 + *) lt_awk_arg="/^libraries:/" ;;
656 + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
657 + if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
658 # if the path contains ";" then we assume it to be the separator
659 # otherwise default to the standard path separator (i.e. ":") - it is
660 # assumed that no part of a normal pathname contains ";" but that should
661 # okay in the real world where ";" in dirpaths is itself problematic.
662 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
663 + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
665 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
666 + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
668 + # Ok, now we have the path, separated by spaces, we can step through it
669 + # and add multilib dir if necessary.
670 + lt_tmp_lt_search_path_spec=
671 + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
672 + for lt_sys_path in $lt_search_path_spec; do
673 + if test -d "$lt_sys_path/$lt_multi_os_dir"; then
674 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
676 + test -d "$lt_sys_path" && \
677 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
680 + lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
681 +BEGIN {RS=" "; FS="/|\n";} {
684 + for (lt_i = NF; lt_i > 0; lt_i--) {
685 + if ($lt_i != "" && $lt_i != ".") {
686 + if ($lt_i == "..") {
689 + if (lt_count == 0) {
690 + lt_foo="/" $lt_i lt_foo;
697 + if (lt_foo != "") { lt_freq[[lt_foo]]++; }
698 + if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
700 + sys_lib_search_path_spec=`echo $lt_search_path_spec`
702 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
705 need_lib_prefix=unknown
706 hardcode_into_libs=no
708 @@ -1117,7 +1374,7 @@ aix3*)
709 soname_spec='${libname}${release}${shared_ext}$major'
717 @@ -1173,7 +1430,7 @@ beos*)
718 shlibpath_var=LIBRARY_PATH
725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
726 @@ -1201,7 +1458,8 @@ cygwin* | mingw* | pw32*)
727 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
728 dldir=$destdir/`dirname \$dlpath`~
729 test -d \$dldir || mkdir -p \$dldir~
730 - $install_prog $dir/$dlname \$dldir/$dlname'
731 + $install_prog $dir/$dlname \$dldir/$dlname~
732 + chmod a+x \$dldir/$dlname'
733 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
736 @@ -1231,7 +1489,7 @@ cygwin* | mingw* | pw32*)
739 # pw32 DLLs use 'pw' prefix rather than 'lib'
740 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
741 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
745 @@ -1254,13 +1512,9 @@ darwin* | rhapsody*)
746 soname_spec='${libname}${release}${major}$shared_ext'
747 shlibpath_overrides_runpath=yes
748 shlibpath_var=DYLD_LIBRARY_PATH
749 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
750 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
751 - if test "$GCC" = yes; then
752 - sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
754 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
756 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
758 + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
759 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
762 @@ -1277,20 +1531,17 @@ freebsd1*)
770 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
771 - soname_spec='${libname}${release}${shared_ext}$major'
772 - shlibpath_var=LD_LIBRARY_PATH
773 - shlibpath_overrides_runpath=no
774 - hardcode_into_libs=yes
775 - dynamic_linker='GNU ld.so'
779 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
780 +freebsd* | dragonfly*)
781 + # DragonFly does not have aout. When/if they implement a new
782 + # versioning mechanism, adjust this.
783 + if test -x /usr/bin/objformat; then
784 + objformat=`/usr/bin/objformat`
787 + freebsd[[123]]*) objformat=aout ;;
788 + *) objformat=elf ;;
791 version_type=freebsd-$objformat
792 case $version_type in
794 @@ -1308,14 +1559,19 @@ freebsd*)
796 shlibpath_overrides_runpath=yes
798 - freebsd3.[01]* | freebsdelf3.[01]*)
799 + freebsd3.[[01]]* | freebsdelf3.[[01]]*)
800 shlibpath_overrides_runpath=yes
801 hardcode_into_libs=yes
804 + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
805 + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
806 shlibpath_overrides_runpath=no
807 hardcode_into_libs=yes
809 + *) # from 4.6 on, and DragonFly
810 + shlibpath_overrides_runpath=yes
811 + hardcode_into_libs=yes
816 @@ -1335,7 +1591,7 @@ hpux9* | hpux10* | hpux11*)
820 - case "$host_cpu" in
824 hardcode_into_libs=yes
825 @@ -1375,6 +1631,18 @@ hpux9* | hpux10* | hpux11*)
826 postinstall_cmds='chmod 555 $lib'
833 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
834 + soname_spec='${libname}${release}${shared_ext}$major'
835 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
836 + shlibpath_var=LD_LIBRARY_PATH
837 + shlibpath_overrides_runpath=no
838 + hardcode_into_libs=yes
841 irix5* | irix6* | nonstopux*)
843 nonstopux*) version_type=nonstopux ;;
844 @@ -1418,7 +1686,7 @@ linux*oldld* | linux*aout* | linux*coff*)
847 # This must be Linux ELF.
849 +linux* | k*bsd*-gnu)
853 @@ -1432,27 +1700,10 @@ linux*)
854 # before this can be enabled.
855 hardcode_into_libs=yes
857 - # find out which ABI we are using
859 - case "$host_cpu" in
860 - x86_64*|s390x*|powerpc64*)
861 - echo '[#]line __oline__ "configure"' > conftest.$ac_ext
862 - if AC_TRY_EVAL(ac_compile); then
863 - case `/usr/bin/file conftest.$ac_objext` in
866 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
874 # Append ld.so.conf contents to the search path
875 if test -f /etc/ld.so.conf; then
876 - lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '`
877 - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
878 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
879 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
882 # We used to test for /lib/ld.so.1 and disable shared libraries on
883 @@ -1464,7 +1715,7 @@ linux*)
884 dynamic_linker='GNU/Linux ld.so'
892 @@ -1473,7 +1724,7 @@ knetbsd*-gnu)
893 shlibpath_var=LD_LIBRARY_PATH
894 shlibpath_overrides_runpath=no
895 hardcode_into_libs=yes
896 - dynamic_linker='GNU ld.so'
897 + dynamic_linker='NetBSD ld.elf_so'
901 @@ -1513,8 +1764,13 @@ nto-qnx*)
905 + sys_lib_dlsearch_path_spec="/usr/lib"
908 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
910 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
911 + *) need_version=no ;;
913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
914 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
915 shlibpath_var=LD_LIBRARY_PATH
916 @@ -1552,11 +1808,8 @@ osf3* | osf4* | osf5*)
917 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
922 - soname_spec='${libname}${release}${shared_ext}$major'
923 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
924 - shlibpath_var=LD_LIBRARY_PATH
930 @@ -1584,7 +1837,7 @@ sunos4*)
934 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
938 soname_spec='${libname}${release}${shared_ext}$major'
939 @@ -1617,6 +1870,29 @@ sysv4*MP*)
943 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
944 + version_type=freebsd-elf
947 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
948 + soname_spec='${libname}${release}${shared_ext}$major'
949 + shlibpath_var=LD_LIBRARY_PATH
950 + hardcode_into_libs=yes
951 + if test "$with_gnu_ld" = yes; then
952 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
953 + shlibpath_overrides_runpath=no
955 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
956 + shlibpath_overrides_runpath=yes
959 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
963 + sys_lib_dlsearch_path_spec='/usr/lib'
968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
969 @@ -1630,13 +1906,26 @@ uts4*)
971 AC_MSG_RESULT([$dynamic_linker])
972 test "$dynamic_linker" = no && can_build_shared=no
974 +AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec],
975 +[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"])
976 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
977 +AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec],
978 +[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"])
979 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
981 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
982 +if test "$GCC" = yes; then
983 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
985 ])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
990 AC_DEFUN([_LT_AC_TAGCONFIG],
991 -[AC_ARG_WITH([tags],
992 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
994 [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
995 [include additional configurations @<:@automatic@:>@])],
996 [tagnames="$withval"])
997 @@ -1654,6 +1943,9 @@ if test -f "$ltmain" && test -n "$tagnames"; then
998 AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
1001 + if test -z "$LTCFLAGS"; then
1002 + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
1005 # Extract list of available tagged configurations in $ofile.
1006 # Note that this assumes the entire list is on one line.
1007 @@ -1680,7 +1972,9 @@ if test -f "$ltmain" && test -n "$tagnames"; then
1011 - if test -n "$CXX" && test "X$CXX" != "Xno"; then
1012 + if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
1013 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
1014 + (test "X$CXX" != "Xg++"))) ; then
1015 AC_LIBTOOL_LANG_CXX_CONFIG
1018 @@ -1742,7 +2036,7 @@ AC_DEFUN([AC_LIBTOOL_DLOPEN],
1020 # AC_LIBTOOL_WIN32_DLL
1021 # --------------------
1022 -# declare package support for building win32 dll's
1023 +# declare package support for building win32 DLLs
1024 AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
1025 [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
1026 ])# AC_LIBTOOL_WIN32_DLL
1027 @@ -1780,7 +2074,7 @@ AC_ARG_ENABLE([shared],
1031 -#- set the default shared flag to --disable-shared
1032 +# set the default shared flag to --disable-shared
1033 AC_DEFUN([AC_DISABLE_SHARED],
1034 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
1035 AC_ENABLE_SHARED(no)
1036 @@ -1892,7 +2186,7 @@ m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
1038 # AC_PATH_TOOL_PREFIX
1039 # -------------------
1040 -# find a file program which can recognise shared library
1041 +# find a file program which can recognize shared library
1042 AC_DEFUN([AC_PATH_TOOL_PREFIX],
1043 [AC_REQUIRE([AC_PROG_EGREP])dnl
1044 AC_MSG_CHECKING([for $1])
1045 @@ -1916,7 +2210,7 @@ dnl not every word. This closes a longstanding sh security hole.
1046 if test -n "$file_magic_test_file"; then
1047 case $deplibs_check_method in
1049 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1050 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
1051 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1052 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1053 $EGREP "$file_magic_regex" > /dev/null; then
1054 @@ -1955,7 +2249,7 @@ fi
1058 -# find a file program which can recognise a shared library
1059 +# find a file program which can recognize a shared library
1060 AC_DEFUN([AC_PATH_MAGIC],
1061 [AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
1062 if test -z "$lt_cv_path_MAGIC_CMD"; then
1063 @@ -2026,7 +2320,7 @@ AC_CACHE_VAL(lt_cv_path_LD,
1064 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1065 lt_cv_path_LD="$ac_dir/$ac_prog"
1066 # Check to see if the program is GNU ld. I'd rather use --version,
1067 - # but apparently some GNU ld's only accept -v.
1068 + # but apparently some variants of GNU ld only accept -v.
1069 # Break only if it was the GNU/non-GNU ld that we prefer.
1070 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
1071 *GNU* | *'with BFD'*)
1072 @@ -2058,7 +2352,7 @@ AC_PROG_LD_GNU
1073 AC_DEFUN([AC_PROG_LD_GNU],
1074 [AC_REQUIRE([AC_PROG_EGREP])dnl
1075 AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
1076 -[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
1077 +[# I'd rather use --version here, but apparently some GNU lds only accept -v.
1078 case `$LD -v 2>&1 </dev/null` in
1079 *GNU* | *'with BFD'*)
1080 lt_cv_prog_gnu_ld=yes
1081 @@ -2085,6 +2379,15 @@ case $reload_flag in
1082 *) reload_flag=" $reload_flag" ;;
1084 reload_cmds='$LD$reload_flag -o $output$reload_objs'
1087 + if test "$GCC" = yes; then
1088 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
1090 + reload_cmds='$LD$reload_flag -o $output$reload_objs'
1094 ])# AC_PROG_LD_RELOAD_FLAG
1097 @@ -2093,7 +2396,7 @@ reload_cmds='$LD$reload_flag -o $output$reload_objs'
1098 # how to check for library dependencies
1099 # -- PORTME fill in with the dynamic library characteristics
1100 AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
1101 -[AC_CACHE_CHECK([how to recognise dependent libraries],
1102 +[AC_CACHE_CHECK([how to recognize dependent libraries],
1103 lt_cv_deplibs_check_method,
1104 [lt_cv_file_magic_cmd='$MAGIC_CMD'
1105 lt_cv_file_magic_test_file=
1106 @@ -2110,7 +2413,7 @@ lt_cv_deplibs_check_method='unknown'
1107 # whether `pass_all' will *always* work, you probably want this one.
1112 lt_cv_deplibs_check_method=pass_all
1115 @@ -2118,7 +2421,7 @@ beos*)
1116 lt_cv_deplibs_check_method=pass_all
1121 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
1122 lt_cv_file_magic_cmd='/usr/bin/file -L'
1123 lt_cv_file_magic_test_file=/shlib/libc.so
1124 @@ -2132,22 +2435,28 @@ cygwin*)
1127 # Base MSYS/MinGW do not provide the 'file' command needed by
1128 - # func_win32_libid shell function, so use a weaker test based on 'objdump'.
1129 - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1130 - lt_cv_file_magic_cmd='$OBJDUMP -f'
1131 + # func_win32_libid shell function, so use a weaker test based on 'objdump',
1132 + # unless we find 'file', for example because we are cross-compiling.
1133 + if ( file / ) >/dev/null 2>&1; then
1134 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
1135 + lt_cv_file_magic_cmd='func_win32_libid'
1137 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1138 + lt_cv_file_magic_cmd='$OBJDUMP -f'
1142 darwin* | rhapsody*)
1143 lt_cv_deplibs_check_method=pass_all
1146 -freebsd* | kfreebsd*-gnu)
1147 +freebsd* | dragonfly*)
1148 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1151 # Not sure whether the presence of OpenBSD here was a mistake.
1152 # Let's accept both of them until this is cleared up.
1153 - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
1154 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
1155 lt_cv_file_magic_cmd=/usr/bin/file
1156 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1158 @@ -2163,7 +2472,7 @@ gnu*)
1160 hpux10.20* | hpux11*)
1161 lt_cv_file_magic_cmd=/usr/bin/file
1162 - case "$host_cpu" in
1165 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
1166 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
1167 @@ -2179,6 +2488,11 @@ hpux10.20* | hpux11*)
1172 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
1173 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
1176 irix5* | irix6* | nonstopux*)
1178 *-32|*"-32 ") libmagic=32-bit;;
1179 @@ -2190,20 +2504,11 @@ irix5* | irix6* | nonstopux*)
1182 # This must be Linux ELF.
1185 - alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*)
1186 - lt_cv_deplibs_check_method=pass_all ;;
1188 - # glibc up to 2.1.1 does not perform some relocations on ARM
1189 - # this will be overridden with pass_all, but let us keep it just in case
1190 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
1192 - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1193 +linux* | k*bsd*-gnu)
1194 lt_cv_deplibs_check_method=pass_all
1198 +netbsd* | netbsdelf*-gnu)
1199 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1200 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
1202 @@ -2222,12 +2527,10 @@ nto-qnx*)
1206 - lt_cv_file_magic_cmd=/usr/bin/file
1207 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1208 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1209 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
1210 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
1212 - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
1213 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
1217 @@ -2235,7 +2538,7 @@ osf3* | osf4* | osf5*)
1218 lt_cv_deplibs_check_method=pass_all
1223 lt_cv_deplibs_check_method=pass_all
1226 @@ -2243,7 +2546,7 @@ solaris*)
1227 lt_cv_deplibs_check_method=pass_all
1230 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1232 case $host_vendor in
1234 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
1235 @@ -2264,10 +2567,13 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1237 lt_cv_deplibs_check_method=pass_all
1240 + lt_cv_deplibs_check_method=pass_all
1245 -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
1246 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1247 lt_cv_deplibs_check_method=pass_all
1250 @@ -2287,36 +2593,43 @@ AC_DEFUN([AC_PROG_NM],
1251 # Let the user override the test.
1254 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1255 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1256 - IFS="$lt_save_ifs"
1257 - test -z "$ac_dir" && ac_dir=.
1258 - tmp_nm="$ac_dir/${ac_tool_prefix}nm"
1259 - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
1260 - # Check to see if the nm accepts a BSD-compat flag.
1261 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1262 - # nm: unknown option "B" ignored
1263 - # Tru64's nm complains that /dev/null is an invalid object file
1264 - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
1265 - */dev/null* | *'Invalid file or object type'*)
1266 - lt_cv_path_NM="$tmp_nm -B"
1270 - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
1272 - lt_cv_path_NM="$tmp_nm -p"
1273 + lt_nm_to_check="${ac_tool_prefix}nm"
1274 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
1275 + lt_nm_to_check="$lt_nm_to_check nm"
1277 + for lt_tmp_nm in $lt_nm_to_check; do
1278 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1279 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
1280 + IFS="$lt_save_ifs"
1281 + test -z "$ac_dir" && ac_dir=.
1282 + tmp_nm="$ac_dir/$lt_tmp_nm"
1283 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
1284 + # Check to see if the nm accepts a BSD-compat flag.
1285 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1286 + # nm: unknown option "B" ignored
1287 + # Tru64's nm complains that /dev/null is an invalid object file
1288 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
1289 + */dev/null* | *'Invalid file or object type'*)
1290 + lt_cv_path_NM="$tmp_nm -B"
1294 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1295 - continue # so that we can try to find one that supports BSD flags
1296 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
1298 + lt_cv_path_NM="$tmp_nm -p"
1302 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1303 + continue # so that we can try to find one that supports BSD flags
1312 + IFS="$lt_save_ifs"
1314 - IFS="$lt_save_ifs"
1315 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1318 @@ -2348,13 +2661,13 @@ esac
1319 # -----------------------------------
1320 # sets LIBLTDL to the link flags for the libltdl convenience library and
1321 # LTDLINCL to the include flags for the libltdl header and adds
1322 -# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL
1323 -# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
1324 -# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will
1325 -# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
1326 -# '${top_srcdir}/' (note the single quotes!). If your package is not
1327 -# flat and you're not using automake, define top_builddir and
1328 -# top_srcdir appropriately in the Makefiles.
1329 +# --enable-ltdl-convenience to the configure arguments. Note that
1330 +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
1331 +# it is assumed to be `libltdl'. LIBLTDL will be prefixed with
1332 +# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
1333 +# (note the single quotes!). If your package is not flat and you're not
1334 +# using automake, define top_builddir and top_srcdir appropriately in
1336 AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
1337 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
1338 case $enable_ltdl_convenience in
1339 @@ -2373,13 +2686,13 @@ AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
1340 # -----------------------------------
1341 # sets LIBLTDL to the link flags for the libltdl installable library and
1342 # LTDLINCL to the include flags for the libltdl header and adds
1343 -# --enable-ltdl-install to the configure arguments. Note that LIBLTDL
1344 -# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
1345 -# DIRECTORY is not provided and an installed libltdl is not found, it is
1346 -# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/'
1347 -# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
1348 -# quotes!). If your package is not flat and you're not using automake,
1349 -# define top_builddir and top_srcdir appropriately in the Makefiles.
1350 +# --enable-ltdl-install to the configure arguments. Note that
1351 +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
1352 +# and an installed libltdl is not found, it is assumed to be `libltdl'.
1353 +# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
1354 +# '${top_srcdir}/' (note the single quotes!). If your package is not
1355 +# flat and you're not using automake, define top_builddir and top_srcdir
1356 +# appropriately in the Makefiles.
1357 # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
1358 AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
1359 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
1360 @@ -2417,10 +2730,21 @@ AC_DEFUN([AC_LIBTOOL_CXX],
1362 AC_DEFUN([_LT_AC_LANG_CXX],
1363 [AC_REQUIRE([AC_PROG_CXX])
1364 -AC_REQUIRE([AC_PROG_CXXCPP])
1365 +AC_REQUIRE([_LT_AC_PROG_CXXCPP])
1366 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
1369 +# _LT_AC_PROG_CXXCPP
1370 +# ------------------
1371 +AC_DEFUN([_LT_AC_PROG_CXXCPP],
1373 +AC_REQUIRE([AC_PROG_CXX])
1374 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
1375 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
1376 + (test "X$CXX" != "Xg++"))) ; then
1379 +])# _LT_AC_PROG_CXXCPP
1383 @@ -2460,7 +2784,7 @@ _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
1389 # enable support for Windows resource files
1390 AC_DEFUN([AC_LIBTOOL_RC],
1391 [AC_REQUIRE([LT_AC_PROG_RC])
1392 @@ -2486,43 +2810,16 @@ objext=o
1393 _LT_AC_TAGVAR(objext, $1)=$objext
1395 # Code to be used in simple compile tests
1396 -lt_simple_compile_test_code="int some_variable = 0;\n"
1397 +lt_simple_compile_test_code="int some_variable = 0;"
1399 # Code to be used in simple link tests
1400 -lt_simple_link_test_code='int main(){return(0);}\n'
1401 +lt_simple_link_test_code='int main(){return(0);}'
1406 -# Check for any special shared library compilation flags.
1408 -_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
1409 -if test "$GCC" = no; then
1412 - _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
1416 -if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
1417 - AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
1418 - if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
1420 - AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
1421 - _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
1427 -# Check to make sure the static flag actually works.
1429 -AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
1430 - _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
1431 - $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
1433 - [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
1435 +# save warnings/boilerplate of simple test code
1436 +_LT_COMPILER_BOILERPLATE
1437 +_LT_LINKER_BOILERPLATE
1439 AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
1440 AC_LIBTOOL_PROG_COMPILER_PIC($1)
1441 @@ -2532,9 +2829,9 @@ AC_LIBTOOL_PROG_LD_SHLIBS($1)
1442 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
1443 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
1444 AC_LIBTOOL_SYS_LIB_STRIP
1445 -AC_LIBTOOL_DLOPEN_SELF($1)
1446 +AC_LIBTOOL_DLOPEN_SELF
1448 -# Report which librarie types wil actually be built
1449 +# Report which library types will actually be built
1450 AC_MSG_CHECKING([if libtool supports shared libraries])
1451 AC_MSG_RESULT([$can_build_shared])
1453 @@ -2543,7 +2840,7 @@ test "$can_build_shared" = "no" && enable_shared=no
1455 # On AIX, shared libraries and static libraries use the same namespace, and
1456 # are all built from PIC.
1460 test "$enable_shared" = yes && enable_static=no
1461 if test -n "$RANLIB"; then
1462 @@ -2552,47 +2849,10 @@ aix3*)
1468 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
1469 test "$enable_shared" = yes && enable_static=no
1472 - darwin* | rhapsody*)
1473 - if test "$GCC" = yes; then
1474 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1475 - case "$host_os" in
1476 - rhapsody* | darwin1.[[012]])
1477 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
1479 - *) # Darwin 1.3 on
1480 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
1481 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
1483 - case ${MACOSX_DEPLOYMENT_TARGET} in
1485 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
1488 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
1494 - output_verbose_link_cmd='echo'
1495 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
1496 - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1497 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
1498 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1499 - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1500 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
1501 - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
1502 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1503 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
1504 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
1506 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
1510 AC_MSG_RESULT([$enable_shared])
1511 @@ -2618,7 +2878,7 @@ AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
1512 AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
1514 AC_REQUIRE([AC_PROG_CXX])
1515 -AC_REQUIRE([AC_PROG_CXXCPP])
1516 +AC_REQUIRE([_LT_AC_PROG_CXXCPP])
1518 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1519 _LT_AC_TAGVAR(allow_undefined_flag, $1)=
1520 @@ -2630,6 +2890,7 @@ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
1521 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
1522 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
1523 _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
1524 +_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1525 _LT_AC_TAGVAR(hardcode_automatic, $1)=no
1526 _LT_AC_TAGVAR(module_cmds, $1)=
1527 _LT_AC_TAGVAR(module_expsym_cmds, $1)=
1528 @@ -2645,23 +2906,28 @@ _LT_AC_TAGVAR(postdep_objects, $1)=
1529 _LT_AC_TAGVAR(predeps, $1)=
1530 _LT_AC_TAGVAR(postdeps, $1)=
1531 _LT_AC_TAGVAR(compiler_lib_search_path, $1)=
1532 +_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
1534 # Source file extension for C++ test sources.
1538 # Object file extension for compiled C++ test sources.
1540 _LT_AC_TAGVAR(objext, $1)=$objext
1542 # Code to be used in simple compile tests
1543 -lt_simple_compile_test_code="int some_variable = 0;\n"
1544 +lt_simple_compile_test_code="int some_variable = 0;"
1546 # Code to be used in simple link tests
1547 -lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
1548 +lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
1550 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
1553 +# save warnings/boilerplate of simple test code
1554 +_LT_COMPILER_BOILERPLATE
1555 +_LT_LINKER_BOILERPLATE
1557 # Allow CC to be a program name with arguments.
1560 @@ -2672,18 +2938,18 @@ lt_save_path_LD=$lt_cv_path_LD
1561 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
1562 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
1564 - unset lt_cv_prog_gnu_ld
1565 + $as_unset lt_cv_prog_gnu_ld
1567 if test -n "${lt_cv_path_LDCXX+set}"; then
1568 lt_cv_path_LD=$lt_cv_path_LDCXX
1570 - unset lt_cv_path_LD
1571 + $as_unset lt_cv_path_LD
1573 test -z "${LDCXX+set}" || LD=$LDCXX
1576 _LT_AC_TAGVAR(compiler, $1)=$CC
1577 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
1578 +_LT_CC_BASENAME([$compiler])
1580 # We don't want -fno-exception wen compiling C++ code, so set the
1581 # no_builtin_flag separately
1582 @@ -2750,7 +3016,7 @@ case $host_os in
1583 # FIXME: insert proper C++ library support
1584 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1588 if test "$host_cpu" = ia64; then
1589 # On IA64, the linker does run time linking by default, so we don't
1590 # have to do anything special.
1591 @@ -2763,7 +3029,7 @@ case $host_os in
1592 # Test if we are trying to use run time linking or normal
1593 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1594 # need to do runtime linking.
1595 - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
1596 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
1597 for ld_flag in $LDFLAGS; do
1600 @@ -2772,6 +3038,7 @@ case $host_os in
1607 exp_sym_flag='-bexport'
1608 @@ -2790,7 +3057,7 @@ case $host_os in
1609 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
1611 if test "$GXX" = yes; then
1612 - case $host_os in aix4.[012]|aix4.[012].*)
1613 + case $host_os in aix4.[[012]]|aix4.[[012]].*)
1614 # We only want to do this on AIX 4.2 and lower, the check
1615 # below for broken collect2 doesn't work under 4.3+
1616 collect2name=`${CC} -print-prog-name=collect2`
1617 @@ -2798,7 +3065,7 @@ case $host_os in
1618 strings "$collect2name" | grep resolve_lib_name >/dev/null
1620 # We have reworked collect2
1621 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
1624 # We have old collect2
1625 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
1626 @@ -2809,8 +3076,12 @@ case $host_os in
1627 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
1628 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
1632 shared_flag='-shared'
1633 + if test "$aix_use_runtimelinking" = yes; then
1634 + shared_flag="$shared_flag "'${wl}-G'
1638 if test "$host_cpu" = ia64; then
1639 @@ -2837,12 +3108,12 @@ case $host_os in
1640 _LT_AC_SYS_LIBPATH_AIX
1641 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
1643 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
1644 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
1646 if test "$host_cpu" = ia64; then
1647 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
1648 _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
1649 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
1650 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
1652 # Determine the default libpath from the value encoded in an empty executable.
1653 _LT_AC_SYS_LIBPATH_AIX
1654 @@ -2851,16 +3122,26 @@ case $host_os in
1655 # -berok will link without error, but may produce a broken library.
1656 _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
1657 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
1658 - # -bexpall does not export symbols beginning with underscore (_)
1659 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
1660 # Exported symbols can be pulled into shared objects from archives
1661 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
1662 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
1663 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
1664 - # This is similar to how AIX traditionally builds it's shared libraries.
1665 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
1666 + # This is similar to how AIX traditionally builds its shared libraries.
1667 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
1673 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1674 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
1675 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
1676 + # support --undefined. This deserves some investigation. FIXME
1677 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1679 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
1684 case $cc_basename in
1686 @@ -2879,7 +3160,7 @@ case $host_os in
1687 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
1689 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
1690 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1691 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
1692 # If the export-symbols file already is a .def file (1st line
1693 # is EXPORTS), use it as is; otherwise, prepend...
1694 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1695 @@ -2888,70 +3169,53 @@ case $host_os in
1696 echo EXPORTS > $output_objdir/$soname.def;
1697 cat $export_symbols >> $output_objdir/$soname.def;
1699 - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1700 + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
1702 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1706 - darwin* | rhapsody*)
1707 - if test "$GXX" = yes; then
1708 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1709 - case "$host_os" in
1710 - rhapsody* | darwin1.[[012]])
1711 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
1713 - *) # Darwin 1.3 on
1714 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
1715 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
1716 + darwin* | rhapsody*)
1717 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1718 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
1719 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
1720 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1721 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
1722 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
1723 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
1724 + if test "$GXX" = yes ; then
1725 + output_verbose_link_cmd='echo'
1726 + _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
1727 + _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
1728 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
1729 + _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
1730 + if test "$lt_cv_apple_cc_single_mod" != "yes"; then
1731 + _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
1732 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
1735 - case ${MACOSX_DEPLOYMENT_TARGET} in
1737 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
1740 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
1743 + case $cc_basename in
1745 + output_verbose_link_cmd='echo'
1746 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
1747 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1748 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
1749 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1750 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1753 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
1759 - lt_int_apple_cc_single_mod=no
1760 - output_verbose_link_cmd='echo'
1761 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
1762 - lt_int_apple_cc_single_mod=yes
1764 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1765 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
1767 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
1769 - _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1771 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
1772 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1773 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1775 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1777 - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1778 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
1779 - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
1780 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1781 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
1782 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
1784 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
1790 case $cc_basename in
1793 # FIXME: insert proper C++ library support
1794 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1798 # Green Hills C++ Compiler
1799 # FIXME: insert proper C++ library support
1800 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1801 @@ -2962,14 +3226,14 @@ case $host_os in
1807 # C++ shared libraries reported to be fairly broken before switch to ELF
1808 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1811 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1813 - freebsd* | kfreebsd*-gnu)
1814 + freebsd* | dragonfly*)
1815 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
1817 _LT_AC_TAGVAR(ld_shlibs, $1)=yes
1818 @@ -2986,11 +3250,11 @@ case $host_os in
1819 # location of the library.
1821 case $cc_basename in
1824 # FIXME: insert proper C++ library support
1825 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1829 _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
1830 # Commands to make compiler produce verbose output that lists
1831 # what "hidden" libraries, object files and flags are used when
1832 @@ -3000,7 +3264,7 @@ case $host_os in
1833 # explicitly linking system object files so we need to strip them
1834 # from the output so that they don't get included in the library
1836 - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
1837 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
1840 if test "$GXX" = yes; then
1841 @@ -3014,33 +3278,20 @@ case $host_os in
1844 if test $with_gnu_ld = no; then
1845 - case "$host_cpu" in
1847 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
1848 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
1849 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1852 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
1854 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
1855 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1858 + hppa*64*|ia64*) ;;
1860 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
1861 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1862 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
1866 - case "$host_cpu" in
1868 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
1869 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1874 _LT_AC_TAGVAR(hardcode_direct, $1)=no
1875 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1876 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
1877 - # but as the default
1878 - # location of the library.
1881 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
1882 @@ -3051,14 +3302,17 @@ case $host_os in
1885 case $cc_basename in
1888 # FIXME: insert proper C++ library support
1889 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1892 - case "$host_cpu" in
1894 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
1898 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1901 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1904 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1905 @@ -3077,9 +3331,12 @@ case $host_os in
1907 if test "$GXX" = yes; then
1908 if test $with_gnu_ld = no; then
1909 - case "$host_cpu" in
1911 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
1914 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1917 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1920 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1921 @@ -3093,11 +3350,25 @@ case $host_os in
1926 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
1927 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1928 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
1929 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
1930 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
1931 + # Instead, shared libraries are loaded at an image base (0x10000000 by
1932 + # default) and relocated if they conflict, which is a slow very memory
1933 + # consuming and fragmenting process. To avoid this, we pick a random,
1934 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
1935 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
1936 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
1937 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
1940 case $cc_basename in
1944 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
1945 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
1947 # Archives containing C++ object files must be created using
1948 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
1949 @@ -3108,7 +3379,7 @@ case $host_os in
1951 if test "$GXX" = yes; then
1952 if test "$with_gnu_ld" = no; then
1953 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
1954 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1956 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
1958 @@ -3119,9 +3390,9 @@ case $host_os in
1959 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
1960 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1963 + linux* | k*bsd*-gnu)
1964 case $cc_basename in
1967 # Kuck and Associates, Inc. (KAI) C++ Compiler
1969 # KCC will only create a shared library if the output file
1970 @@ -3146,17 +3417,41 @@ case $host_os in
1971 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
1972 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
1978 + # version 8.0 and above of icpc choke on multiply defined symbols
1979 + # if we add $predep_objects and $postdep_objects, however 7.1 and
1980 + # earlier do not add the objects themselves.
1981 + case `$CC -V 2>&1` in
1983 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
1984 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1986 + *) # Version 8.0 or newer
1989 + ia64*) tmp_idyn=' -i_dynamic';;
1991 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1992 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1995 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1996 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
1997 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1998 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
1999 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
2000 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
2004 + # Portland Group C++ compiler
2005 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
2006 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
2008 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
2009 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
2010 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
2014 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
2015 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
2016 @@ -3175,6 +3470,29 @@ case $host_os in
2018 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
2021 + case `$CC -V 2>&1 | sed 5q` in
2024 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
2025 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2026 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
2027 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
2028 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
2030 + # Not sure whether something based on
2031 + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
2032 + # would be better.
2033 + output_verbose_link_cmd='echo'
2035 + # Archives containing C++ object files must be created using
2036 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
2037 + # necessary to make sure instantiated templates are included
2039 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
2046 @@ -3187,7 +3505,7 @@ case $host_os in
2049 case $cc_basename in
2052 # FIXME: insert proper C++ library support
2053 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2055 @@ -3197,7 +3515,7 @@ case $host_os in
2060 + netbsd* | netbsdelf*-gnu)
2061 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
2062 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
2064 @@ -3208,9 +3526,29 @@ case $host_os in
2065 # Workaround some broken pre-1.5 toolchains
2066 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
2069 + # C++ shared libraries are fairly broken
2070 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
2073 + if test -f /usr/libexec/ld.so; then
2074 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
2075 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2076 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
2077 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
2078 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
2079 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
2080 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
2081 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
2083 + output_verbose_link_cmd='echo'
2085 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
2089 case $cc_basename in
2092 # Kuck and Associates, Inc. (KAI) C++ Compiler
2094 # KCC will only create a shared library if the output file
2095 @@ -3226,14 +3564,14 @@ case $host_os in
2096 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
2101 # Rational C++ 2.4.1
2102 # FIXME: insert proper C++ library support
2103 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2107 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
2108 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
2109 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
2111 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
2112 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2113 @@ -3251,7 +3589,7 @@ case $host_os in
2115 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
2116 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
2117 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
2118 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
2120 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
2121 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2122 @@ -3270,7 +3608,7 @@ case $host_os in
2125 case $cc_basename in
2128 # Kuck and Associates, Inc. (KAI) C++ Compiler
2130 # KCC will only create a shared library if the output file
2131 @@ -3285,17 +3623,17 @@ case $host_os in
2132 # the KAI C++ compiler.
2133 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
2137 # Rational C++ 2.4.1
2138 # FIXME: insert proper C++ library support
2139 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2143 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
2144 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
2145 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
2146 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
2147 echo "-hidden">> $lib.exp~
2148 - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
2149 + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
2152 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
2153 @@ -3314,7 +3652,7 @@ case $host_os in
2155 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
2156 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
2157 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
2158 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
2160 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
2161 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2162 @@ -3335,27 +3673,14 @@ case $host_os in
2163 # FIXME: insert proper C++ library support
2164 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2167 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2168 - case $cc_basename in
2170 - # FIXME: insert proper C++ library support
2171 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
2174 - # FIXME: insert proper C++ library support
2175 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
2180 case $cc_basename in
2184 # FIXME: insert proper C++ library support
2185 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2190 # FIXME: insert proper C++ library support
2191 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2192 @@ -3368,36 +3693,28 @@ case $host_os in
2195 case $cc_basename in
2198 # Sun C++ 4.2, 5.x and Centerline C++
2199 + _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
2200 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
2201 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2202 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2203 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
2204 - $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
2205 + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
2207 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
2208 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2210 - solaris2.[0-5] | solaris2.[0-5].*) ;;
2211 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
2213 - # The C++ compiler is used as linker so we must use $wl
2214 - # flag to pass the commands to the underlying system
2216 + # The compiler driver will combine and reorder linker options,
2217 + # but understands `-z linker_flag'.
2218 # Supported since Solaris 2.6 (maybe 2.5.1?)
2219 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
2220 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
2223 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2225 - # Commands to make compiler produce verbose output that lists
2226 - # what "hidden" libraries, object files and flags are used when
2227 - # linking a shared library.
2229 - # There doesn't appear to be a way to prevent this compiler from
2230 - # explicitly linking system object files so we need to strip them
2231 - # from the output so that they don't get included in the library
2233 - output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
2234 + output_verbose_link_cmd='echo'
2236 # Archives containing C++ object files must be created using
2237 # "CC -xar", where "CC" is the Sun C++ compiler. This is
2238 @@ -3405,7 +3722,7 @@ case $host_os in
2240 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
2244 # Green Hills C++ Compiler
2245 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
2247 @@ -3439,16 +3756,73 @@ case $host_os in
2250 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
2252 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
2254 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
2261 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
2262 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
2263 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
2264 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2265 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2266 + runpath_var='LD_RUN_PATH'
2268 + case $cc_basename in
2270 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2271 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2274 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2275 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2279 + sysv5* | sco3.2v5* | sco5v6*)
2280 + # Note: We can NOT use -z defs as we might desire, because we do not
2281 + # link with -lc, and that would cause any symbols used from libc to
2282 + # always be unresolved, which means just about no library would
2283 + # ever link correctly. If we're not using GNU ld we use -z text
2284 + # though, which does catch some bad symbols but isn't as heavy-handed
2286 + # For security reasons, it is highly recommended that you always
2287 + # use absolute paths for naming shared libraries, and exclude the
2288 + # DT_RUNPATH tag from executables and libraries. But doing so
2289 + # requires that you compile everything twice, which is a pain.
2290 + # So that behaviour is only enabled if SCOABSPATH is set to a
2291 + # non-empty value in the environment. Most likely only useful for
2292 + # creating official distributions of packages.
2293 + # This is a hack until libtool officially supports absolute path
2294 + # names for shared libraries.
2295 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
2296 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
2297 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2298 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2299 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
2300 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
2301 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2302 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
2303 + runpath_var='LD_RUN_PATH'
2305 + case $cc_basename in
2307 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2308 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2311 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2312 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2317 case $cc_basename in
2320 # NonStop-UX NCC 3.20
2321 # FIXME: insert proper C++ library support
2322 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2323 @@ -3481,8 +3855,6 @@ AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
2324 AC_LIBTOOL_PROG_LD_SHLIBS($1)
2325 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
2326 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
2327 -AC_LIBTOOL_SYS_LIB_STRIP
2328 -AC_LIBTOOL_DLOPEN_SELF($1)
2330 AC_LIBTOOL_CONFIG($1)
2332 @@ -3500,12 +3872,13 @@ lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
2333 ])# AC_LIBTOOL_LANG_CXX_CONFIG
2335 # AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
2336 -# ------------------------
2337 +# ------------------------------------
2338 # Figure out "hidden" library dependencies from verbose
2339 # compiler output when linking a shared library.
2340 # Parse the compiler output and extract the necessary
2341 # objects, libraries and library flags.
2342 -AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
2343 +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],
2344 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
2345 dnl we can't use the lt_simple_compile_test_code here,
2346 dnl because it contains code intended for an executable,
2347 dnl not a library. It's possible we should let each
2348 @@ -3554,7 +3927,7 @@ if AC_TRY_EVAL(ac_compile); then
2349 # The `*' in the case matches for architectures that use `case' in
2350 # $output_verbose_cmd can trigger glob expansion during the loop
2351 # eval without this substitution.
2352 - output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
2353 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
2355 for p in `eval $output_verbose_link_cmd`; do
2357 @@ -3630,13 +4003,74 @@ fi
2359 $rm -f confest.$objext
2361 +_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
2362 +if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
2363 + _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
2366 +# PORTME: override above test on systems where it is broken
2370 + # Interix 3.5 installs completely hosed .la files for C++, so rather than
2371 + # hack all around it, let's just trust "g++" to DTRT.
2372 + _LT_AC_TAGVAR(predep_objects,$1)=
2373 + _LT_AC_TAGVAR(postdep_objects,$1)=
2374 + _LT_AC_TAGVAR(postdeps,$1)=
2378 + case `$CC -V 2>&1 | sed 5q` in
2382 + # The more standards-conforming stlport4 library is
2383 + # incompatible with the Cstd library. Avoid specifying
2384 + # it if it's in CXXFLAGS. Ignore libCrun as
2385 + # -library=stlport4 depends on it.
2386 + case " $CXX $CXXFLAGS " in
2387 + *" -library=stlport4 "*)
2388 + solaris_use_stlport4=yes
2391 + if test "$solaris_use_stlport4" != yes; then
2392 + _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
2399 + case $cc_basename in
2401 + # The more standards-conforming stlport4 library is
2402 + # incompatible with the Cstd library. Avoid specifying
2403 + # it if it's in CXXFLAGS. Ignore libCrun as
2404 + # -library=stlport4 depends on it.
2405 + case " $CXX $CXXFLAGS " in
2406 + *" -library=stlport4 "*)
2407 + solaris_use_stlport4=yes
2411 + # Adding this requires a known-good setup of shared libraries for
2412 + # Sun compiler versions before 5.6, else PIC objects from an old
2413 + # archive will be linked into the output, leading to subtle bugs.
2414 + if test "$solaris_use_stlport4" != yes; then
2415 + _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
2422 case " $_LT_AC_TAGVAR(postdeps, $1) " in
2423 *" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
2425 ])# AC_LIBTOOL_POSTDEP_PREDEP
2427 # AC_LIBTOOL_LANG_F77_CONFIG
2428 -# ------------------------
2429 +# --------------------------
2430 # Ensure that the configuration vars for the C compiler are
2431 # suitably defined. Those variables are subsequently used by
2432 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
2433 @@ -3672,20 +4106,31 @@ objext=o
2434 _LT_AC_TAGVAR(objext, $1)=$objext
2436 # Code to be used in simple compile tests
2437 -lt_simple_compile_test_code=" subroutine t\n return\n end\n"
2438 +lt_simple_compile_test_code="\
2444 # Code to be used in simple link tests
2445 -lt_simple_link_test_code=" program t\n end\n"
2446 +lt_simple_link_test_code="\
2451 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
2454 +# save warnings/boilerplate of simple test code
2455 +_LT_COMPILER_BOILERPLATE
2456 +_LT_LINKER_BOILERPLATE
2458 # Allow CC to be a program name with arguments.
2462 _LT_AC_TAGVAR(compiler, $1)=$CC
2463 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
2464 +_LT_CC_BASENAME([$compiler])
2466 AC_MSG_CHECKING([if libtool supports shared libraries])
2467 AC_MSG_RESULT([$can_build_shared])
2468 @@ -3695,7 +4140,7 @@ test "$can_build_shared" = "no" && enable_shared=no
2470 # On AIX, shared libraries and static libraries use the same namespace, and
2471 # are all built from PIC.
2475 test "$enable_shared" = yes && enable_static=no
2476 if test -n "$RANLIB"; then
2477 @@ -3703,8 +4148,10 @@ aix3*)
2478 postinstall_cmds='$RANLIB $lib'
2482 - test "$enable_shared" = yes && enable_static=no
2484 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
2485 + test "$enable_shared" = yes && enable_static=no
2489 AC_MSG_RESULT([$enable_shared])
2490 @@ -3714,8 +4161,6 @@ AC_MSG_CHECKING([whether to build static libraries])
2491 test "$enable_shared" = yes || enable_static=yes
2492 AC_MSG_RESULT([$enable_static])
2494 -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
2496 _LT_AC_TAGVAR(GCC, $1)="$G77"
2497 _LT_AC_TAGVAR(LD, $1)="$LD"
2499 @@ -3725,8 +4170,6 @@ AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
2500 AC_LIBTOOL_PROG_LD_SHLIBS($1)
2501 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
2502 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
2503 -AC_LIBTOOL_SYS_LIB_STRIP
2506 AC_LIBTOOL_CONFIG($1)
2508 @@ -3752,23 +4195,30 @@ objext=o
2509 _LT_AC_TAGVAR(objext, $1)=$objext
2511 # Code to be used in simple compile tests
2512 -lt_simple_compile_test_code="class foo {}\n"
2513 +lt_simple_compile_test_code="class foo {}"
2515 # Code to be used in simple link tests
2516 -lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
2517 +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
2519 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
2522 +# save warnings/boilerplate of simple test code
2523 +_LT_COMPILER_BOILERPLATE
2524 +_LT_LINKER_BOILERPLATE
2526 # Allow CC to be a program name with arguments.
2530 _LT_AC_TAGVAR(compiler, $1)=$CC
2531 +_LT_CC_BASENAME([$compiler])
2533 # GCJ did not exist at the time GCC didn't implicitly link libc in.
2534 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2536 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
2538 AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
2539 AC_LIBTOOL_PROG_COMPILER_PIC($1)
2540 AC_LIBTOOL_PROG_CC_C_O($1)
2541 @@ -3776,8 +4226,6 @@ AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
2542 AC_LIBTOOL_PROG_LD_SHLIBS($1)
2543 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
2544 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
2545 -AC_LIBTOOL_SYS_LIB_STRIP
2546 -AC_LIBTOOL_DLOPEN_SELF($1)
2548 AC_LIBTOOL_CONFIG($1)
2550 @@ -3787,7 +4235,7 @@ CC="$lt_save_CC"
2553 # AC_LIBTOOL_LANG_RC_CONFIG
2554 -# --------------------------
2555 +# -------------------------
2556 # Ensure that the configuration vars for the Windows resource compiler are
2557 # suitably defined. Those variables are subsequently used by
2558 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
2559 @@ -3803,7 +4251,7 @@ objext=o
2560 _LT_AC_TAGVAR(objext, $1)=$objext
2562 # Code to be used in simple compile tests
2563 -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
2564 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
2566 # Code to be used in simple link tests
2567 lt_simple_link_test_code="$lt_simple_compile_test_code"
2568 @@ -3811,11 +4259,16 @@ lt_simple_link_test_code="$lt_simple_compile_test_code"
2569 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
2572 +# save warnings/boilerplate of simple test code
2573 +_LT_COMPILER_BOILERPLATE
2574 +_LT_LINKER_BOILERPLATE
2576 # Allow CC to be a program name with arguments.
2580 _LT_AC_TAGVAR(compiler, $1)=$CC
2581 +_LT_CC_BASENAME([$compiler])
2582 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
2584 AC_LIBTOOL_CONFIG($1)
2585 @@ -3845,7 +4298,7 @@ if test -f "$ltmain"; then
2586 # Now quote all the things that may contain metacharacters while being
2587 # careful not to overquote the AC_SUBSTed values. We take copies of the
2588 # variables and quote the copies for generation of the libtool script.
2589 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
2590 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
2592 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
2593 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
2594 @@ -3872,6 +4325,7 @@ if test -f "$ltmain"; then
2595 _LT_AC_TAGVAR(predeps, $1) \
2596 _LT_AC_TAGVAR(postdeps, $1) \
2597 _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
2598 + _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \
2599 _LT_AC_TAGVAR(archive_cmds, $1) \
2600 _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
2601 _LT_AC_TAGVAR(postinstall_cmds, $1) \
2602 @@ -3887,6 +4341,7 @@ if test -f "$ltmain"; then
2603 _LT_AC_TAGVAR(module_cmds, $1) \
2604 _LT_AC_TAGVAR(module_expsym_cmds, $1) \
2605 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
2606 + _LT_AC_TAGVAR(fix_srcfile_path, $1) \
2607 _LT_AC_TAGVAR(exclude_expsyms, $1) \
2608 _LT_AC_TAGVAR(include_expsyms, $1); do
2610 @@ -3933,7 +4388,7 @@ ifelse([$1], [],
2611 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
2612 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
2614 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
2615 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
2616 # Free Software Foundation, Inc.
2618 # This file is part of GNU Libtool:
2619 @@ -3951,7 +4406,7 @@ ifelse([$1], [],
2621 # You should have received a copy of the GNU General Public License
2622 # along with this program; if not, write to the Free Software
2623 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
2624 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2626 # As a special exception to the GNU General Public License, if you
2627 # distribute this file as part of a program that contains a
2628 @@ -3962,11 +4417,11 @@ ifelse([$1], [],
2631 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
2632 -Xsed="$SED -e s/^X//"
2633 +Xsed="$SED -e 1s/^X//"
2635 # The HP-UX ksh and POSIX shell print the target directory to stdout
2637 -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
2638 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2640 # The names of the tagged configurations supported by this script.
2642 @@ -3997,6 +4452,12 @@ fast_install=$enable_fast_install
2644 host_alias=$host_alias
2648 +# The build system.
2649 +build_alias=$build_alias
2653 # An echo program that does not interpret backslashes.
2655 @@ -4008,6 +4469,9 @@ AR_FLAGS=$lt_AR_FLAGS
2659 +# LTCC compiler flags.
2660 +LTCFLAGS=$lt_LTCFLAGS
2662 # A language-specific compiler.
2663 CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
2665 @@ -4073,7 +4537,7 @@ max_cmd_len=$lt_cv_sys_max_cmd_len
2666 # Does compiler simultaneously support -c and -o options?
2667 compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
2669 -# Must we lock files when doing compilation ?
2670 +# Must we lock files when doing compilation?
2671 need_locks=$lt_need_locks
2673 # Do we need the lib prefix for modules?
2674 @@ -4161,6 +4625,10 @@ predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
2676 postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
2678 +# The directories searched by this compiler when creating a shared
2680 +compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)
2682 # The library search path used internally by the compiler when linking
2684 compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
2685 @@ -4249,7 +4717,7 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
2686 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
2688 # Fix the shell variable \$srcfile for the compiler.
2689 -fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
2690 +fix_srcfile_path=$lt_fix_srcfile_path
2692 # Set to yes if exported symbols are required.
2693 always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
2694 @@ -4332,6 +4800,7 @@ fi
2695 # ---------------------------------
2696 AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
2697 [AC_REQUIRE([AC_CANONICAL_HOST])
2698 +AC_REQUIRE([LT_AC_PROG_SED])
2699 AC_REQUIRE([AC_PROG_NM])
2700 AC_REQUIRE([AC_OBJEXT])
2701 # Check for command to grab the raw symbol name followed by C symbol from nm.
2702 @@ -4347,9 +4816,6 @@ symcode='[[BCDEGRST]]'
2703 # Regexp to match symbols that can be accessed directly from C.
2704 sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
2706 -# Transform the above into a raw symbol and a C symbol.
2707 -symxfrm='\1 \2\3 \3'
2709 # Transform an extracted symbol line into a proper C declaration
2710 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
2712 @@ -4371,15 +4837,31 @@ hpux*) # Its linker distinguishes data from code symbols
2713 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
2714 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
2716 +linux* | k*bsd*-gnu)
2717 + if test "$host_cpu" = ia64; then
2718 + symcode='[[ABCDGIRSTW]]'
2719 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
2720 + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
2724 symcode='[[BCDEGRST]]'
2727 symcode='[[BCDEGQRST]]'
2739 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
2740 + symcode='[[ABDT]]'
2743 symcode='[[DFNSTU]]'
2745 @@ -4402,8 +4884,11 @@ esac
2746 # Try without a prefix undercore, then with it.
2747 for ac_symprfx in "" "_"; do
2749 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
2750 + symxfrm="\\1 $ac_symprfx\\2 \\2"
2752 # Write the raw and C identifiers.
2753 - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
2754 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
2756 # Check to see that the pipe works correctly.
2758 @@ -4493,7 +4978,7 @@ EOF
2759 echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
2760 cat conftest.$ac_ext >&5
2762 - rm -f conftest* conftst*
2763 + rm -rf conftest* conftst*
2765 # Do not use the global_symbol_pipe unless it works.
2766 if test "$pipe_works" = yes; then
2767 @@ -4542,13 +5027,16 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2769 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
2771 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
2772 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
2773 # PIC is the default for these OSes.
2775 - mingw* | os2* | pw32*)
2776 + mingw* | cygwin* | os2* | pw32*)
2777 # This hack is so that the source file can tell whether it is being
2778 # built for inclusion in a dll (and should export symbols for example).
2779 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
2780 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
2781 + # (--disable-auto-import) libraries
2782 + m4_if([$1], [GCJ], [],
2783 + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
2785 darwin* | rhapsody*)
2786 # PIC is the default on this platform
2787 @@ -4559,6 +5047,10 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2788 # DJGPP does not support shared libraries at all
2789 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
2792 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
2793 + # Instead, we relocate shared libraries at runtime.
2796 if test -d /usr/nec; then
2797 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
2798 @@ -4567,7 +5059,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2800 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
2802 - case "$host_cpu" in
2807 @@ -4581,7 +5073,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2813 # All AIX code is PIC.
2814 if test "$host_cpu" = ia64; then
2815 # AIX 5 now supports IA64 processor
2816 @@ -4592,18 +5084,28 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2819 case $cc_basename in
2822 # Green Hills C++ Compiler
2823 # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
2828 + # PIC is the default on this platform
2829 + # Common symbols not allowed in MH_DYLIB files
2830 + case $cc_basename in
2832 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
2833 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
2838 case $cc_basename in
2841 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
2845 # Green Hills C++ Compiler
2846 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
2848 @@ -4611,22 +5113,22 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2852 - freebsd* | kfreebsd*-gnu)
2853 + freebsd* | dragonfly*)
2854 # FreeBSD uses GNU C++
2856 hpux9* | hpux10* | hpux11*)
2857 case $cc_basename in
2860 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
2861 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
2862 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
2863 if test "$host_cpu" != ia64; then
2864 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
2869 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
2870 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
2871 - case "$host_cpu" in
2872 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
2877 @@ -4639,9 +5141,13 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2882 + # This is c89, which is MS Visual C++ (no shared libs)
2883 + # Anyone wants to do a port?
2885 irix5* | irix6* | nonstopux*)
2886 case $cc_basename in
2889 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
2890 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
2891 # CC pic flag -KPIC is the default.
2892 @@ -4650,20 +5156,26 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2897 + linux* | k*bsd*-gnu)
2898 case $cc_basename in
2902 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
2903 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
2908 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
2909 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
2910 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
2914 + # Portland Group C++ compiler.
2915 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
2916 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
2917 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
2921 # Make sure the PIC flag is empty. It appears that all Alpha
2922 # Linux and Compaq Tru64 Unix objects are PIC.
2923 @@ -4671,6 +5183,14 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2924 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
2927 + case `$CC -V 2>&1 | sed 5q` in
2930 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
2931 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
2932 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
2938 @@ -4680,25 +5200,25 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2941 case $cc_basename in
2944 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
2951 + netbsd* | netbsdelf*-gnu)
2953 osf3* | osf4* | osf5*)
2954 case $cc_basename in
2957 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
2961 # Rational C++ 2.4.1
2962 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
2966 # Digital/Compaq C++
2967 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
2968 # Make sure the PIC flag is empty. It appears that all Alpha
2969 @@ -4712,24 +5232,15 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2974 - case $cc_basename in
2976 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
2983 case $cc_basename in
2986 # Sun C++ 4.2, 5.x and Centerline C++
2987 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
2988 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
2989 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
2993 # Green Hills C++ Compiler
2994 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
2996 @@ -4739,12 +5250,12 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2999 case $cc_basename in
3003 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3004 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3009 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3011 @@ -4754,7 +5265,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3014 case $cc_basename in
3017 # NonStop-UX NCC 3.20
3018 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3020 @@ -4762,7 +5273,14 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3025 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
3026 + case $cc_basename in
3028 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3029 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3030 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3036 @@ -4793,14 +5311,17 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3037 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
3040 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
3041 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
3042 # PIC is the default for these OSes.
3045 - mingw* | pw32* | os2*)
3046 + mingw* | cygwin* | pw32* | os2*)
3047 # This hack is so that the source file can tell whether it is being
3048 # built for inclusion in a dll (and should export symbols for example).
3049 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
3050 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
3051 + # (--disable-auto-import) libraries
3052 + m4_if([$1], [GCJ], [],
3053 + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
3056 darwin* | rhapsody*)
3057 @@ -4809,6 +5330,11 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3058 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
3062 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
3063 + # Instead, we relocate shared libraries at runtime.
3067 # Just because we use GCC doesn't mean we suddenly get shared libraries
3068 # on systems that don't support them.
3069 @@ -4825,7 +5351,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3071 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
3073 - case "$host_cpu" in
3078 @@ -4851,18 +5377,29 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3079 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
3083 + # PIC is the default on this platform
3084 + # Common symbols not allowed in MH_DYLIB files
3085 + case $cc_basename in
3087 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
3088 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3093 - mingw* | pw32* | os2*)
3094 + mingw* | cygwin* | pw32* | os2*)
3095 # This hack is so that the source file can tell whether it is being
3096 # built for inclusion in a dll (and should export symbols for example).
3097 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
3098 + m4_if([$1], [GCJ], [],
3099 + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
3102 hpux9* | hpux10* | hpux11*)
3103 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3104 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
3106 - case "$host_cpu" in
3111 @@ -4885,18 +5422,41 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3112 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3117 + linux* | k*bsd*-gnu)
3118 + case $cc_basename in
3120 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3121 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3122 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
3124 + pgcc* | pgf77* | pgf90* | pgf95*)
3125 + # Portland Group compilers (*not* the Pentium gcc compiler,
3126 + # which looks to be a dead project)
3127 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3128 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
3129 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3132 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3133 # All Alpha code is PIC.
3134 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3137 + case `$CC -V 2>&1 | sed 5q` in
3140 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3141 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3142 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3145 + # Sun Fortran 8.3 passes all unrecognized flags to the linker
3146 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3147 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3148 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
3155 @@ -4906,15 +5466,19 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3156 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3160 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
3161 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
3163 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3167 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3168 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3169 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3170 + case $cc_basename in
3171 + f77* | f90* | f95*)
3172 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
3174 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
3179 @@ -4923,7 +5487,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3180 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3183 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3184 + sysv4 | sysv4.2uw2* | sysv4.3*)
3185 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3186 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3187 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3188 @@ -4936,6 +5500,17 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3192 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
3193 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3194 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3195 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3199 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3200 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
3204 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3205 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3206 @@ -4954,7 +5529,7 @@ AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
3208 if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
3209 AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
3210 - _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
3211 + _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
3212 [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
3213 [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
3215 @@ -4963,7 +5538,7 @@ if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
3216 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
3217 _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
3221 # For platforms which do not support PIC, -DPIC is meaningless:
3223 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
3224 @@ -4972,6 +5547,16 @@ case "$host_os" in
3225 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
3230 +# Check to make sure the static flag actually works.
3232 +wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
3233 +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
3234 + _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1),
3235 + $lt_tmp_static_flag,
3237 + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
3241 @@ -4979,11 +5564,12 @@ esac
3242 # ------------------------------------
3243 # See if the linker supports building shared libraries.
3244 AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
3245 -[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
3246 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
3247 +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
3249 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
3253 # If we're using GNU nm, then we don't want the "-C" option.
3254 # -C means demangle to AIX nm, but means don't demangle with GNU nm
3255 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
3256 @@ -4996,12 +5582,16 @@ ifelse([$1],[CXX],[
3257 _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
3260 - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
3261 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
3263 + linux* | k*bsd*-gnu)
3264 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
3267 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
3270 + _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
3273 _LT_AC_TAGVAR(allow_undefined_flag, $1)=
3274 @@ -5032,14 +5622,17 @@ ifelse([$1],[CXX],[
3275 # it will be wrapped by ` (' and `)$', so one must not match beginning or
3276 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
3277 # as well as any symbol that contains `d'.
3278 - _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
3279 + _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
3280 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
3281 # platforms (ab)use it in PIC code, but their linkers get confused if
3282 # the symbol is explicitly referenced. Since portable code cannot
3283 # rely on this symbol name, it's probably fine to never include it in
3284 # preloaded symbol tables.
3285 + # Exclude shared library initialization/finalization symbols.
3286 +dnl Note also adjust exclude_expsyms for C++ above.
3287 extract_expsyms_cmds=
3289 + # Just being paranoid about ensuring that cc_basename is set.
3290 + _LT_CC_BASENAME([$compiler])
3292 cygwin* | mingw* | pw32*)
3293 # FIXME: the MSVC++ port hasn't been tested in a loooong time
3294 @@ -5049,6 +5642,10 @@ ifelse([$1],[CXX],[
3299 + # we just hope/assume this is gcc and not c89 (= MSVC++)
3305 @@ -5059,9 +5656,30 @@ ifelse([$1],[CXX],[
3306 # If archive_cmds runs LD, not CC, wlarc should be empty
3309 + # Set some defaults for GNU ld with shared library support. These
3310 + # are reset later if shared libraries are not supported. Putting them
3311 + # here allows them to be overridden if necessary.
3312 + runpath_var=LD_RUN_PATH
3313 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
3314 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3315 + # ancient GNU ld didn't support --whole-archive et. al.
3316 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
3317 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3319 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3321 + supports_anon_versioning=no
3322 + case `$LD -v 2>/dev/null` in
3323 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
3324 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
3325 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
3326 + *\ 2.11.*) ;; # other 2.11 versions
3327 + *) supports_anon_versioning=yes ;;
3330 # See if GNU ld supports shared libraries.
3332 - aix3* | aix4* | aix5*)
3334 # On AIX/PPC, the GNU linker is very broken
3335 if test "$host_cpu" != ia64; then
3336 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3337 @@ -5109,10 +5727,10 @@ EOF
3338 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
3339 _LT_AC_TAGVAR(always_export_symbols, $1)=no
3340 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
3341 - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
3342 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
3344 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
3345 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
3346 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
3347 # If the export-symbols file already is a .def file (1st line
3348 # is EXPORTS), use it as is; otherwise, prepend...
3349 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
3350 @@ -5121,13 +5739,69 @@ EOF
3351 echo EXPORTS > $output_objdir/$soname.def;
3352 cat $export_symbols >> $output_objdir/$soname.def;
3354 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
3355 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
3358 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3364 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
3365 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3366 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3367 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3368 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
3369 + # Instead, shared libraries are loaded at an image base (0x10000000 by
3370 + # default) and relocated if they conflict, which is a slow very memory
3371 + # consuming and fragmenting process. To avoid this, we pick a random,
3372 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
3373 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
3374 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
3375 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
3378 + gnu* | linux* | k*bsd*-gnu)
3379 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3381 + case $cc_basename,$host_cpu in
3382 + pgcc*) # Portland Group C compiler
3383 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
3384 + tmp_addflag=' $pic_flag'
3386 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
3387 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
3388 + tmp_addflag=' $pic_flag -Mnomain' ;;
3389 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
3390 + tmp_addflag=' -i_dynamic' ;;
3391 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
3392 + tmp_addflag=' -i_dynamic -nofor_main' ;;
3393 + ifc* | ifort*) # Intel Fortran compiler
3394 + tmp_addflag=' -nofor_main' ;;
3396 + case `$CC -V 2>&1 | sed 5q` in
3397 + *Sun\ C*) # Sun C 5.9
3398 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
3399 + tmp_sharedflag='-G' ;;
3400 + *Sun\ F*) # Sun Fortran 8.3
3401 + tmp_sharedflag='-G' ;;
3403 + tmp_sharedflag='-shared' ;;
3405 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3407 + if test $supports_anon_versioning = yes; then
3408 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
3409 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
3410 + $echo "local: *; };" >> $output_objdir/$libname.ver~
3411 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
3413 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
3415 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3419 + netbsd* | netbsdelf*-gnu)
3420 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3421 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
3423 @@ -5137,7 +5811,7 @@ EOF
3427 - solaris* | sysv5*)
3429 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
3430 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3432 @@ -5158,6 +5832,33 @@ EOF
3436 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
3437 + case `$LD -v 2>&1` in
3438 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
3439 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3440 + cat <<_LT_EOF 1>&2
3442 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
3443 +*** reliably create shared libraries on SCO systems. Therefore, libtool
3444 +*** is disabling shared libraries support. We urge you to upgrade GNU
3445 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
3446 +*** your PATH or compiler configuration so that the native linker is
3447 +*** used, and then restart.
3452 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3453 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
3454 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
3455 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
3457 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3464 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
3466 @@ -5165,31 +5866,6 @@ EOF
3467 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3471 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3472 - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3473 - _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
3474 - supports_anon_versioning=no
3475 - case `$LD -v 2>/dev/null` in
3476 - *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
3477 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
3478 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
3479 - *\ 2.11.*) ;; # other 2.11 versions
3480 - *) supports_anon_versioning=yes ;;
3482 - if test $supports_anon_versioning = yes; then
3483 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
3484 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
3485 -$echo "local: *; };" >> $output_objdir/$libname.ver~
3486 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
3488 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds"
3491 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3496 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3497 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3498 @@ -5200,16 +5876,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3502 - if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then
3503 - runpath_var=LD_RUN_PATH
3504 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
3505 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3506 - # ancient GNU ld didn't support --whole-archive et. al.
3507 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
3508 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3510 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3512 + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
3514 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
3515 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
3516 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3519 # PORTME fill in a description of your system's linker (not GNU ld)
3520 @@ -5221,14 +5892,14 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3521 # Note: this linker hardcodes the directories in LIBPATH if there
3522 # are no directories specified by -L.
3523 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3524 - if test "$GCC" = yes && test -z "$link_static_flag"; then
3525 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
3526 # Neither direct hardcoding nor static linking is supported with a
3528 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
3534 if test "$host_cpu" = ia64; then
3535 # On IA64, the linker does run time linking by default, so we don't
3536 # have to do anything special.
3537 @@ -5248,13 +5919,14 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3538 # Test if we are trying to use run time linking or normal
3539 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
3540 # need to do runtime linking.
3541 - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
3542 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
3543 for ld_flag in $LDFLAGS; do
3544 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
3545 aix_use_runtimelinking=yes
3552 exp_sym_flag='-bexport'
3553 @@ -5273,7 +5945,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3554 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3556 if test "$GCC" = yes; then
3557 - case $host_os in aix4.[012]|aix4.[012].*)
3558 + case $host_os in aix4.[[012]]|aix4.[[012]].*)
3559 # We only want to do this on AIX 4.2 and lower, the check
3560 # below for broken collect2 doesn't work under 4.3+
3561 collect2name=`${CC} -print-prog-name=collect2`
3562 @@ -5281,7 +5953,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3563 strings "$collect2name" | grep resolve_lib_name >/dev/null
3565 # We have reworked collect2
3566 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3569 # We have old collect2
3570 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
3571 @@ -5292,8 +5964,12 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3572 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3573 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
3577 shared_flag='-shared'
3578 + if test "$aix_use_runtimelinking" = yes; then
3579 + shared_flag="$shared_flag "'${wl}-G'
3583 if test "$host_cpu" = ia64; then
3584 @@ -5301,11 +5977,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3585 # chokes on -Wl,-G. The following line is correct:
3588 - if test "$aix_use_runtimelinking" = yes; then
3589 + if test "$aix_use_runtimelinking" = yes; then
3590 shared_flag='${wl}-G'
3592 shared_flag='${wl}-bM:SRE'
3598 @@ -5319,12 +5995,12 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3599 # Determine the default libpath from the value encoded in an empty executable.
3600 _LT_AC_SYS_LIBPATH_AIX
3601 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
3602 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
3603 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
3605 if test "$host_cpu" = ia64; then
3606 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
3607 _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
3608 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
3609 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
3611 # Determine the default libpath from the value encoded in an empty executable.
3612 _LT_AC_SYS_LIBPATH_AIX
3613 @@ -5333,13 +6009,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3614 # -berok will link without error, but may produce a broken library.
3615 _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
3616 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
3617 - # -bexpall does not export symbols beginning with underscore (_)
3618 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
3619 # Exported symbols can be pulled into shared objects from archives
3620 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
3621 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
3622 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
3623 - # This is similar to how AIX traditionally builds it's shared libraries.
3624 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
3625 + # This is similar to how AIX traditionally builds its shared libraries.
3626 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
3630 @@ -5352,7 +6026,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3631 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3636 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
3639 @@ -5372,58 +6046,57 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3640 # The linker will automatically build a .lib file if we build a DLL.
3641 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
3642 # FIXME: Should let the user specify the lib program.
3643 - _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
3644 - fix_srcfile_path='`cygpath -w "$srcfile"`'
3645 + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
3646 + _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
3647 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
3650 darwin* | rhapsody*)
3651 - if test "$GXX" = yes ; then
3652 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3653 - case "$host_os" in
3654 - rhapsody* | darwin1.[[012]])
3655 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
3657 - *) # Darwin 1.3 on
3658 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3659 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3661 - case ${MACOSX_DEPLOYMENT_TARGET} in
3663 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3666 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
3672 + rhapsody* | darwin1.[[012]])
3673 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
3675 + *) # Darwin 1.3 on
3676 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3677 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3679 + case ${MACOSX_DEPLOYMENT_TARGET} in
3681 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3684 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
3690 - lt_int_apple_cc_single_mod=no
3691 - output_verbose_link_cmd='echo'
3692 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
3693 - lt_int_apple_cc_single_mod=yes
3695 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3696 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3698 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3700 - _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3701 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
3702 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3703 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3705 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3707 - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3708 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3709 _LT_AC_TAGVAR(hardcode_direct, $1)=no
3710 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3711 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3712 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
3713 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
3714 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3715 + if test "$GCC" = yes ; then
3716 + output_verbose_link_cmd='echo'
3717 + _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
3718 + _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
3719 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
3720 + _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
3722 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3723 + case $cc_basename in
3725 + output_verbose_link_cmd='echo'
3726 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
3727 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3728 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3729 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3730 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3733 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3739 @@ -5457,7 +6130,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3742 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
3743 - freebsd* | kfreebsd*-gnu)
3744 + freebsd* | dragonfly*)
3745 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
3746 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3747 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3748 @@ -5480,47 +6153,62 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3749 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3752 - hpux10* | hpux11*)
3754 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
3755 - case "$host_cpu" in
3757 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
3759 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
3761 + if test "$with_gnu_ld" = no; then
3762 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3763 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3765 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3766 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3768 + # hardcode_minus_L: Not really in the search PATH,
3769 + # but as the default location of the library.
3770 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3775 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
3778 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3781 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
3784 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
3788 - case "$host_cpu" in
3790 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
3793 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3796 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
3799 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
3800 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
3804 if test "$with_gnu_ld" = no; then
3805 - case "$host_cpu" in
3807 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3808 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3809 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3813 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
3814 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3815 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
3816 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3819 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3820 _LT_AC_TAGVAR(hardcode_direct, $1)=no
3821 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3823 - # hardcode_minus_L: Not really in the search PATH,
3824 - # but as the default location of the library.
3825 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3828 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3829 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3830 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3831 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3833 @@ -5544,7 +6232,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3834 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3838 + netbsd* | netbsdelf*-gnu)
3839 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3840 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
3842 @@ -5564,23 +6252,28 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3846 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3847 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3848 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3849 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
3850 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3851 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3852 + if test -f /usr/libexec/ld.so; then
3853 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3854 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3855 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3856 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
3857 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
3858 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3859 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3862 + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
3863 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
3864 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3867 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
3868 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3874 - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
3875 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
3876 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3879 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
3880 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3883 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3887 @@ -5613,7 +6306,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3888 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
3889 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
3890 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
3891 - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
3892 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
3894 # Both c and cxx compiler support -rpath directly
3895 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
3896 @@ -5621,21 +6314,15 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3897 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3901 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
3902 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3903 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
3904 - runpath_var=LD_RUN_PATH
3905 - hardcode_runpath_var=yes
3909 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
3910 if test "$GCC" = yes; then
3912 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3913 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3914 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
3917 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
3918 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3919 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
3920 @@ -5644,8 +6331,17 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3921 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3923 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
3924 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
3925 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
3927 + # The compiler driver will combine and reorder linker options,
3928 + # but understands `-z linker_flag'. GCC discards it without `$wl',
3929 + # but is careful enough not to reorder.
3930 + # Supported since Solaris 2.6 (maybe 2.5.1?)
3931 + if test "$GCC" = yes; then
3932 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
3934 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
3938 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3940 @@ -5702,36 +6398,45 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3945 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
3946 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3947 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
3948 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
3949 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
3950 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3951 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3952 - hardcode_runpath_var=yes
3953 - runpath_var=LD_RUN_PATH
3955 + runpath_var='LD_RUN_PATH'
3957 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
3958 - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
3959 if test "$GCC" = yes; then
3960 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3961 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3962 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3964 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3965 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3966 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3968 - runpath_var='LD_RUN_PATH'
3969 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3973 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
3974 - # $CC -shared without GNU ld will not create a library from C++
3975 - # object files and a static libstdc++, better avoid it by now
3976 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
3977 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3978 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
3979 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
3980 + sysv5* | sco3.2v5* | sco5v6*)
3981 + # Note: We can NOT use -z defs as we might desire, because we do not
3982 + # link with -lc, and that would cause any symbols used from libc to
3983 + # always be unresolved, which means just about no library would
3984 + # ever link correctly. If we're not using GNU ld we use -z text
3985 + # though, which does catch some bad symbols but isn't as heavy-handed
3987 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
3988 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
3989 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3990 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3991 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
3992 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
3993 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3994 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
3995 runpath_var='LD_RUN_PATH'
3997 + if test "$GCC" = yes; then
3998 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3999 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
4001 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
4002 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
4007 @@ -5749,11 +6454,6 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
4008 AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
4009 test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
4011 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
4012 -if test "$GCC" = yes; then
4013 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
4017 # Do we need to explicitly link libc?
4019 @@ -5773,7 +6473,7 @@ x|xyes)
4020 # to ld, don't add -lc before -lgcc.
4021 AC_MSG_CHECKING([whether -lc should be explicitly linked in])
4023 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
4024 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
4026 if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
4028 @@ -5781,6 +6481,7 @@ x|xyes)
4029 libobjs=conftest.$ac_objext
4031 wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
4032 + pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
4036 @@ -5875,6 +6576,30 @@ AC_DEFUN([LT_AC_PROG_RC],
4037 [AC_CHECK_TOOL(RC, windres, no)
4041 +# Cheap backport of AS_EXECUTABLE_P and required macros
4042 +# from Autoconf 2.59; we should not use $as_executable_p directly.
4046 +m4_ifndef([_AS_TEST_PREPARE],
4047 +[m4_defun([_AS_TEST_PREPARE],
4048 +[if test -x / >/dev/null 2>&1; then
4049 + as_executable_p='test -x'
4051 + as_executable_p='test -f'
4053 +])])# _AS_TEST_PREPARE
4057 +# Check whether a file is executable.
4058 +m4_ifndef([AS_EXECUTABLE_P],
4059 +[m4_defun([AS_EXECUTABLE_P],
4060 +[AS_REQUIRE([_AS_TEST_PREPARE])dnl
4061 +$as_executable_p $1[]dnl
4062 +])])# AS_EXECUTABLE_P
4064 # NOTE: This macro has been submitted for inclusion into #
4065 # GNU Autoconf as AC_PROG_SED. When it is available in #
4066 # a released version of Autoconf we should remove this #
4067 @@ -5895,18 +6620,19 @@ do
4068 test -z "$as_dir" && as_dir=.
4069 for lt_ac_prog in sed gsed; do
4070 for ac_exec_ext in '' $ac_executable_extensions; do
4071 - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4072 + if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then
4073 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4081 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4082 # along with /bin/sed that truncates output.
4083 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4084 - test ! -f $lt_ac_sed && break
4085 + test ! -f $lt_ac_sed && continue
4086 cat /dev/null > conftest.in
4088 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4089 @@ -5931,28 +6657,17 @@ for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4093 -SED=$lt_cv_path_SED
4095 +SED=$lt_cv_path_SED
4097 AC_MSG_RESULT([$SED])
4101 -# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
4102 -# Generated from amversion.in; do not edit by hand.
4104 -# This program is free software; you can redistribute it and/or modify
4105 -# it under the terms of the GNU General Public License as published by
4106 -# the Free Software Foundation; either version 2, or (at your option)
4107 -# any later version.
4109 -# This program is distributed in the hope that it will be useful,
4110 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4111 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4112 -# GNU General Public License for more details.
4114 -# You should have received a copy of the GNU General Public License
4115 -# along with this program; if not, write to the Free Software
4116 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4117 +# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
4119 +# This file is free software; the Free Software Foundation
4120 +# gives unlimited permission to copy and/or distribute it,
4121 +# with or without modifications, as long as this notice is preserved.
4123 # AM_AUTOMAKE_VERSION(VERSION)
4124 # ----------------------------
4125 @@ -5965,26 +6680,15 @@ AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
4126 # Call AM_AUTOMAKE_VERSION so it can be traced.
4127 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
4128 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
4129 - [AM_AUTOMAKE_VERSION([1.9.2])])
4131 -# AM_AUX_DIR_EXPAND
4132 + [AM_AUTOMAKE_VERSION([1.9.6])])
4134 -# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
4135 +# AM_AUX_DIR_EXPAND -*- Autoconf -*-
4137 -# This program is free software; you can redistribute it and/or modify
4138 -# it under the terms of the GNU General Public License as published by
4139 -# the Free Software Foundation; either version 2, or (at your option)
4140 -# any later version.
4142 -# This program is distributed in the hope that it will be useful,
4143 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4144 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4145 -# GNU General Public License for more details.
4147 -# You should have received a copy of the GNU General Public License
4148 -# along with this program; if not, write to the Free Software
4149 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4151 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
4153 +# This file is free software; the Free Software Foundation
4154 +# gives unlimited permission to copy and/or distribute it,
4155 +# with or without modifications, as long as this notice is preserved.
4157 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
4158 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
4159 @@ -6031,26 +6735,16 @@ AC_PREREQ([2.50])dnl
4160 am_aux_dir=`cd $ac_aux_dir && pwd`
4163 -# AM_CONDITIONAL -*- Autoconf -*-
4165 -# Copyright (C) 1997, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
4167 -# This program is free software; you can redistribute it and/or modify
4168 -# it under the terms of the GNU General Public License as published by
4169 -# the Free Software Foundation; either version 2, or (at your option)
4170 -# any later version.
4171 +# AM_CONDITIONAL -*- Autoconf -*-
4173 -# This program is distributed in the hope that it will be useful,
4174 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4175 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4176 -# GNU General Public License for more details.
4178 -# You should have received a copy of the GNU General Public License
4179 -# along with this program; if not, write to the Free Software
4180 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4182 +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
4183 +# Free Software Foundation, Inc.
4185 +# This file is free software; the Free Software Foundation
4186 +# gives unlimited permission to copy and/or distribute it,
4187 +# with or without modifications, as long as this notice is preserved.
4192 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
4193 # -------------------------------------
4194 @@ -6074,26 +6768,15 @@ AC_CONFIG_COMMANDS_PRE(
4195 Usually this means the macro was only invoked conditionally.]])
4198 -# serial 7 -*- Autoconf -*-
4200 -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
4201 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
4202 # Free Software Foundation, Inc.
4204 +# This file is free software; the Free Software Foundation
4205 +# gives unlimited permission to copy and/or distribute it,
4206 +# with or without modifications, as long as this notice is preserved.
4208 -# This program is free software; you can redistribute it and/or modify
4209 -# it under the terms of the GNU General Public License as published by
4210 -# the Free Software Foundation; either version 2, or (at your option)
4211 -# any later version.
4213 -# This program is distributed in the hope that it will be useful,
4214 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4215 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4216 -# GNU General Public License for more details.
4218 -# You should have received a copy of the GNU General Public License
4219 -# along with this program; if not, write to the Free Software
4220 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4225 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
4226 # written in clear, in which case automake, when reading aclocal.m4,
4227 @@ -6102,7 +6785,6 @@ fi])])
4228 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
4232 # _AM_DEPENDENCIES(NAME)
4233 # ----------------------
4234 # See how the compiler implements dependency checking.
4235 @@ -6242,27 +6924,16 @@ AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
4236 AC_SUBST([AMDEPBACKSLASH])
4239 -# Generate code to set up dependency tracking. -*- Autoconf -*-
4241 -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
4242 -# Free Software Foundation, Inc.
4244 -# This program is free software; you can redistribute it and/or modify
4245 -# it under the terms of the GNU General Public License as published by
4246 -# the Free Software Foundation; either version 2, or (at your option)
4247 -# any later version.
4249 -# This program is distributed in the hope that it will be useful,
4250 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4251 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4252 -# GNU General Public License for more details.
4253 +# Generate code to set up dependency tracking. -*- Autoconf -*-
4255 -# You should have received a copy of the GNU General Public License
4256 -# along with this program; if not, write to the Free Software
4257 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4259 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
4260 +# Free Software Foundation, Inc.
4262 +# This file is free software; the Free Software Foundation
4263 +# gives unlimited permission to copy and/or distribute it,
4264 +# with or without modifications, as long as this notice is preserved.
4269 # _AM_OUTPUT_DEPENDENCY_COMMANDS
4270 # ------------------------------
4271 @@ -6321,54 +6992,31 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
4272 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
4275 -# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
4277 -# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
4279 -# This program is free software; you can redistribute it and/or modify
4280 -# it under the terms of the GNU General Public License as published by
4281 -# the Free Software Foundation; either version 2, or (at your option)
4282 -# any later version.
4284 -# This program is distributed in the hope that it will be useful,
4285 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4286 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4287 -# GNU General Public License for more details.
4289 -# You should have received a copy of the GNU General Public License
4290 -# along with this program; if not, write to the Free Software
4291 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4293 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
4294 +# Free Software Foundation, Inc.
4296 +# This file is free software; the Free Software Foundation
4297 +# gives unlimited permission to copy and/or distribute it,
4298 +# with or without modifications, as long as this notice is preserved.
4303 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
4304 AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
4306 -# Do all the work for Automake. -*- Autoconf -*-
4308 -# This macro actually does too much some checks are only needed if
4309 -# your package does certain things. But this isn't really a big deal.
4310 +# Do all the work for Automake. -*- Autoconf -*-
4312 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
4313 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
4314 # Free Software Foundation, Inc.
4316 +# This file is free software; the Free Software Foundation
4317 +# gives unlimited permission to copy and/or distribute it,
4318 +# with or without modifications, as long as this notice is preserved.
4320 -# This program is free software; you can redistribute it and/or modify
4321 -# it under the terms of the GNU General Public License as published by
4322 -# the Free Software Foundation; either version 2, or (at your option)
4323 -# any later version.
4325 -# This program is distributed in the hope that it will be useful,
4326 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4327 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4328 -# GNU General Public License for more details.
4330 -# You should have received a copy of the GNU General Public License
4331 -# along with this program; if not, write to the Free Software
4332 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4337 +# This macro actually does too much. Some checks are only needed if
4338 +# your package does certain things. But this isn't really a big deal.
4340 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
4341 # AM_INIT_AUTOMAKE([OPTIONS])
4342 @@ -6470,51 +7118,27 @@ for _am_header in $config_headers :; do
4344 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
4346 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
4348 +# This file is free software; the Free Software Foundation
4349 +# gives unlimited permission to copy and/or distribute it,
4350 +# with or without modifications, as long as this notice is preserved.
4352 # AM_PROG_INSTALL_SH
4353 # ------------------
4354 # Define $install_sh.
4356 -# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
4358 -# This program is free software; you can redistribute it and/or modify
4359 -# it under the terms of the GNU General Public License as published by
4360 -# the Free Software Foundation; either version 2, or (at your option)
4361 -# any later version.
4363 -# This program is distributed in the hope that it will be useful,
4364 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4365 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4366 -# GNU General Public License for more details.
4368 -# You should have received a copy of the GNU General Public License
4369 -# along with this program; if not, write to the Free Software
4370 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4373 AC_DEFUN([AM_PROG_INSTALL_SH],
4374 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
4375 install_sh=${install_sh-"$am_aux_dir/install-sh"}
4376 AC_SUBST(install_sh)])
4379 -# Copyright (C) 2003 Free Software Foundation, Inc.
4381 -# This program is free software; you can redistribute it and/or modify
4382 -# it under the terms of the GNU General Public License as published by
4383 -# the Free Software Foundation; either version 2, or (at your option)
4384 -# any later version.
4386 -# This program is distributed in the hope that it will be useful,
4387 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4388 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4389 -# GNU General Public License for more details.
4391 -# You should have received a copy of the GNU General Public License
4392 -# along with this program; if not, write to the Free Software
4393 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4395 +# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
4397 +# This file is free software; the Free Software Foundation
4398 +# gives unlimited permission to copy and/or distribute it,
4399 +# with or without modifications, as long as this notice is preserved.
4404 # Check whether the underlying file-system supports filenames
4405 # with a leading dot. For instance MS-DOS doesn't.
4406 @@ -6529,28 +7153,17 @@ fi
4407 rmdir .tst 2>/dev/null
4408 AC_SUBST([am__leading_dot])])
4410 -# Add --enable-maintainer-mode option to configure.
4411 +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
4414 -# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004
4415 +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
4416 # Free Software Foundation, Inc.
4418 +# This file is free software; the Free Software Foundation
4419 +# gives unlimited permission to copy and/or distribute it,
4420 +# with or without modifications, as long as this notice is preserved.
4422 -# This program is free software; you can redistribute it and/or modify
4423 -# it under the terms of the GNU General Public License as published by
4424 -# the Free Software Foundation; either version 2, or (at your option)
4425 -# any later version.
4427 -# This program is distributed in the hope that it will be useful,
4428 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4429 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4430 -# GNU General Public License for more details.
4432 -# You should have received a copy of the GNU General Public License
4433 -# along with this program; if not, write to the Free Software
4434 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4440 AC_DEFUN([AM_MAINTAINER_MODE],
4441 [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
4442 @@ -6569,26 +7182,15 @@ AC_DEFUN([AM_MAINTAINER_MODE],
4444 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
4446 -# Check to see how 'make' treats includes. -*- Autoconf -*-
4448 -# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
4450 -# This program is free software; you can redistribute it and/or modify
4451 -# it under the terms of the GNU General Public License as published by
4452 -# the Free Software Foundation; either version 2, or (at your option)
4453 -# any later version.
4455 -# This program is distributed in the hope that it will be useful,
4456 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4457 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4458 -# GNU General Public License for more details.
4459 +# Check to see how 'make' treats includes. -*- Autoconf -*-
4461 -# You should have received a copy of the GNU General Public License
4462 -# along with this program; if not, write to the Free Software
4463 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4465 +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
4467 +# This file is free software; the Free Software Foundation
4468 +# gives unlimited permission to copy and/or distribute it,
4469 +# with or without modifications, as long as this notice is preserved.
4476 @@ -6632,27 +7234,16 @@ AC_MSG_RESULT([$_am_result])
4477 rm -f confinc confmf
4483 -# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
4485 -# This program is free software; you can redistribute it and/or modify
4486 -# it under the terms of the GNU General Public License as published by
4487 -# the Free Software Foundation; either version 2, or (at your option)
4488 -# any later version.
4490 -# This program is distributed in the hope that it will be useful,
4491 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4492 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4493 -# GNU General Public License for more details.
4494 +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
4496 -# You should have received a copy of the GNU General Public License
4497 -# along with this program; if not, write to the Free Software
4498 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4500 +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
4501 +# Free Software Foundation, Inc.
4503 +# This file is free software; the Free Software Foundation
4504 +# gives unlimited permission to copy and/or distribute it,
4505 +# with or without modifications, as long as this notice is preserved.
4510 # AM_MISSING_PROG(NAME, PROGRAM)
4511 # ------------------------------
4512 @@ -6678,27 +7269,16 @@ else
4516 +# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
4518 +# This file is free software; the Free Software Foundation
4519 +# gives unlimited permission to copy and/or distribute it,
4520 +# with or without modifications, as long as this notice is preserved.
4524 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
4526 -# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
4528 -# This program is free software; you can redistribute it and/or modify
4529 -# it under the terms of the GNU General Public License as published by
4530 -# the Free Software Foundation; either version 2, or (at your option)
4531 -# any later version.
4533 -# This program is distributed in the hope that it will be useful,
4534 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4535 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4536 -# GNU General Public License for more details.
4538 -# You should have received a copy of the GNU General Public License
4539 -# along with this program; if not, write to the Free Software
4540 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4544 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
4545 # created by `make install' are always world readable, even if the
4546 # installer happens to have an overly restrictive umask (e.g. 077).
4547 @@ -6752,26 +7332,15 @@ else
4549 AC_SUBST([mkdir_p])])
4551 -# Helper functions for option handling. -*- Autoconf -*-
4553 -# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
4555 -# This program is free software; you can redistribute it and/or modify
4556 -# it under the terms of the GNU General Public License as published by
4557 -# the Free Software Foundation; either version 2, or (at your option)
4558 -# any later version.
4560 -# This program is distributed in the hope that it will be useful,
4561 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4562 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4563 -# GNU General Public License for more details.
4564 +# Helper functions for option handling. -*- Autoconf -*-
4566 -# You should have received a copy of the GNU General Public License
4567 -# along with this program; if not, write to the Free Software
4568 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4570 +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
4572 +# This file is free software; the Free Software Foundation
4573 +# gives unlimited permission to copy and/or distribute it,
4574 +# with or without modifications, as long as this notice is preserved.
4579 # _AM_MANGLE_OPTION(NAME)
4580 # -----------------------
4581 @@ -6796,28 +7365,16 @@ AC_DEFUN([_AM_SET_OPTIONS],
4582 AC_DEFUN([_AM_IF_OPTION],
4583 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
4586 -# Check to make sure that the build environment is sane.
4589 -# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
4590 +# Check to make sure that the build environment is sane. -*- Autoconf -*-
4592 -# This program is free software; you can redistribute it and/or modify
4593 -# it under the terms of the GNU General Public License as published by
4594 -# the Free Software Foundation; either version 2, or (at your option)
4595 -# any later version.
4597 -# This program is distributed in the hope that it will be useful,
4598 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4599 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4600 -# GNU General Public License for more details.
4602 -# You should have received a copy of the GNU General Public License
4603 -# along with this program; if not, write to the Free Software
4604 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4606 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
4607 +# Free Software Foundation, Inc.
4609 +# This file is free software; the Free Software Foundation
4610 +# gives unlimited permission to copy and/or distribute it,
4611 +# with or without modifications, as long as this notice is preserved.
4618 @@ -6860,25 +7417,14 @@ Check your system clock])
4620 AC_MSG_RESULT(yes)])
4622 -# AM_PROG_INSTALL_STRIP
4624 -# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
4626 -# This program is free software; you can redistribute it and/or modify
4627 -# it under the terms of the GNU General Public License as published by
4628 -# the Free Software Foundation; either version 2, or (at your option)
4629 -# any later version.
4631 -# This program is distributed in the hope that it will be useful,
4632 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4633 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4634 -# GNU General Public License for more details.
4636 -# You should have received a copy of the GNU General Public License
4637 -# along with this program; if not, write to the Free Software
4638 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4640 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
4642 +# This file is free software; the Free Software Foundation
4643 +# gives unlimited permission to copy and/or distribute it,
4644 +# with or without modifications, as long as this notice is preserved.
4646 +# AM_PROG_INSTALL_STRIP
4647 +# ---------------------
4648 # One issue with vendor `install' (even GNU) is that you can't
4649 # specify the program used to strip binaries. This is especially
4650 # annoying in cross-compiling environments, where the build's strip
4651 @@ -6901,25 +7447,13 @@ AC_SUBST([INSTALL_STRIP_PROGRAM])])
4653 # Check how to create a tarball. -*- Autoconf -*-
4655 -# Copyright (C) 2004 Free Software Foundation, Inc.
4657 -# This program is free software; you can redistribute it and/or modify
4658 -# it under the terms of the GNU General Public License as published by
4659 -# the Free Software Foundation; either version 2, or (at your option)
4660 -# any later version.
4662 -# This program is distributed in the hope that it will be useful,
4663 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4664 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4665 -# GNU General Public License for more details.
4667 -# You should have received a copy of the GNU General Public License
4668 -# along with this program; if not, write to the Free Software
4669 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4673 +# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
4675 +# This file is free software; the Free Software Foundation
4676 +# gives unlimited permission to copy and/or distribute it,
4677 +# with or without modifications, as long as this notice is preserved.
4681 # _AM_PROG_TAR(FORMAT)
4682 # --------------------
4683 --- ./aux/config.guess
4684 +++ ./aux/config.guess
4687 # Attempt to guess a canonical system name.
4688 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4689 -# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
4690 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
4691 +# Free Software Foundation, Inc.
4693 -timestamp='2003-06-17'
4694 +timestamp='2008-01-23'
4696 # This file is free software; you can redistribute it and/or modify it
4697 # under the terms of the GNU General Public License as published by
4698 @@ -17,13 +18,15 @@ timestamp='2003-06-17'
4700 # You should have received a copy of the GNU General Public License
4701 # along with this program; if not, write to the Free Software
4702 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
4703 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
4706 # As a special exception to the GNU General Public License, if you
4707 # distribute this file as part of a program that contains a
4708 # configuration script generated by Autoconf, you may include it under
4709 # the same distribution terms that you use for the rest of that program.
4712 # Originally written by Per Bothner <per@bothner.com>.
4713 # Please send patches to <config-patches@gnu.org>. Submit a context
4714 # diff and a properly formatted ChangeLog entry.
4715 @@ -53,8 +56,8 @@ version="\
4716 GNU config.guess ($timestamp)
4718 Originally written by Per Bothner.
4719 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
4720 -Free Software Foundation, Inc.
4721 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
4722 +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
4724 This is free software; see the source for copying conditions. There is NO
4725 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
4726 @@ -66,11 +69,11 @@ Try \`$me --help' for more information."
4727 while test $# -gt 0 ; do
4729 --time-stamp | --time* | -t )
4730 - echo "$timestamp" ; exit 0 ;;
4731 + echo "$timestamp" ; exit ;;
4733 - echo "$version" ; exit 0 ;;
4734 + echo "$version" ; exit ;;
4735 --help | --h* | -h )
4736 - echo "$usage"; exit 0 ;;
4737 + echo "$usage"; exit ;;
4738 -- ) # Stop option processing
4740 - ) # Use stdin as input.
4741 @@ -104,7 +107,7 @@ set_cc_for_build='
4742 trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
4743 trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
4745 - { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
4746 + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
4747 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
4748 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
4749 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
4750 @@ -123,7 +126,7 @@ case $CC_FOR_BUILD,$HOST_CC,$CC in
4752 ,,*) CC_FOR_BUILD=$CC ;;
4753 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
4755 +esac ; set_cc_for_build= ;'
4757 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
4758 # (ghazi@noc.rutgers.edu 1994-08-24)
4759 @@ -136,13 +139,6 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
4760 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
4761 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
4763 -## for Red Hat Linux
4764 -if test -f /etc/redhat-release ; then
4770 # Note: order is significant - the case branches are not exclusive.
4772 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
4773 @@ -165,6 +161,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
4774 arm*) machine=arm-unknown ;;
4775 sh3el) machine=shl-unknown ;;
4776 sh3eb) machine=sh-unknown ;;
4777 + sh5el) machine=sh5le-unknown ;;
4778 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
4780 # The Operating System including object format, if it has switched
4781 @@ -203,50 +200,32 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
4782 # contains redundant information, the shorter form:
4783 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
4784 echo "${machine}-${os}${release}"
4786 - amiga:OpenBSD:*:*)
4787 - echo m68k-unknown-openbsd${UNAME_RELEASE}
4790 - echo mipsel-unknown-openbsd${UNAME_RELEASE}
4792 - hp300:OpenBSD:*:*)
4793 - echo m68k-unknown-openbsd${UNAME_RELEASE}
4795 - mac68k:OpenBSD:*:*)
4796 - echo m68k-unknown-openbsd${UNAME_RELEASE}
4798 - macppc:OpenBSD:*:*)
4799 - echo powerpc-unknown-openbsd${UNAME_RELEASE}
4801 - mvme68k:OpenBSD:*:*)
4802 - echo m68k-unknown-openbsd${UNAME_RELEASE}
4804 - mvme88k:OpenBSD:*:*)
4805 - echo m88k-unknown-openbsd${UNAME_RELEASE}
4807 - mvmeppc:OpenBSD:*:*)
4808 - echo powerpc-unknown-openbsd${UNAME_RELEASE}
4811 - echo mipsel-unknown-openbsd${UNAME_RELEASE}
4814 - echo mipseb-unknown-openbsd${UNAME_RELEASE}
4817 - echo m68k-unknown-openbsd${UNAME_RELEASE}
4819 - wgrisc:OpenBSD:*:*)
4820 - echo mipsel-unknown-openbsd${UNAME_RELEASE}
4824 - echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
4826 + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
4827 + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
4830 + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
4833 + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
4835 + macppc:MirBSD:*:*)
4836 + echo powerpc-unknown-mirbsd${UNAME_RELEASE}
4839 + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
4842 - if test $UNAME_RELEASE = "V4.0"; then
4843 + case $UNAME_RELEASE in
4845 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
4849 + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
4852 # According to Compaq, /usr/sbin/psrinfo has been available on
4853 # OSF/1 and Tru64 systems produced since 1995. I hope that
4854 # covers most systems running today. This code pipes the CPU
4855 @@ -284,42 +263,49 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
4857 UNAME_MACHINE="alphaev79" ;;
4859 + # A Pn.n version is a patched version.
4860 # A Vn.n version is a released version.
4861 # A Tn.n version is a released field test version.
4862 # A Xn.n version is an unreleased experimental baselevel.
4863 # 1.2 uses "1.2" for uname -r.
4864 - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
4866 - Alpha*:OpenVMS:*:*)
4869 + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
4871 Alpha\ *:Windows_NT*:*)
4872 # How do we know it's Interix rather than the generic POSIX subsystem?
4873 # Should we change UNAME_MACHINE based on the output of uname instead
4874 # of the specific Alpha model?
4875 echo alpha-pc-interix
4878 21064:Windows_NT:50:3)
4879 echo alpha-dec-winnt3.5
4882 Amiga*:UNIX_System_V:4.0:*)
4883 echo m68k-unknown-sysv4
4886 *:[Aa]miga[Oo][Ss]:*:*)
4887 echo ${UNAME_MACHINE}-unknown-amigaos
4890 *:[Mm]orph[Oo][Ss]:*:*)
4891 echo ${UNAME_MACHINE}-unknown-morphos
4895 echo i370-ibm-openedition
4899 + echo s390-ibm-zvmoe
4902 + echo powerpc-ibm-os400
4904 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
4905 echo arm-acorn-riscix${UNAME_RELEASE}
4908 + arm:riscos:*:*|arm:RISCOS:*:*)
4909 + echo arm-unknown-riscos
4911 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
4912 echo hppa1.1-hitachi-hiuxmpp
4915 Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
4916 # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
4917 if test "`(/bin/universe) 2>/dev/null`" = att ; then
4918 @@ -327,32 +313,32 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
4920 echo pyramid-pyramid-bsd
4925 echo pyramid-pyramid-svr4
4928 DRS?6000:unix:4.0:6*)
4931 - DRS?6000:UNIX_SV:4.2*:7*)
4933 + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
4934 case `/usr/bin/uname -p` in
4935 - sparc) echo sparc-icl-nx7 && exit 0 ;;
4936 + sparc) echo sparc-icl-nx7; exit ;;
4939 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
4942 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
4943 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
4945 - i86pc:SunOS:5.*:*)
4947 + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
4948 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
4952 # According to config.sub, this is the proper way to canonicalize
4953 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
4954 # it's likely to be more like Solaris than SunOS4.
4955 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
4959 case "`/usr/bin/arch -k`" in
4961 @@ -361,10 +347,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
4963 # Japanese Language versions have a version number like `4.1.3-JL'.
4964 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
4968 echo m68k-sun-sunos${UNAME_RELEASE}
4972 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
4973 test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
4974 @@ -376,10 +362,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
4975 echo sparc-sun-sunos${UNAME_RELEASE}
4981 echo sparc-auspex-sunos${UNAME_RELEASE}
4984 # The situation for MiNT is a little confusing. The machine name
4985 # can be virtually everything (everything which is not
4986 # "atarist" or "atariste" at least should have a processor
4987 @@ -390,37 +376,40 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
4989 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
4990 echo m68k-atari-mint${UNAME_RELEASE}
4993 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
4994 echo m68k-atari-mint${UNAME_RELEASE}
4997 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
4998 echo m68k-atari-mint${UNAME_RELEASE}
5001 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
5002 echo m68k-milan-mint${UNAME_RELEASE}
5005 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
5006 echo m68k-hades-mint${UNAME_RELEASE}
5009 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
5010 echo m68k-unknown-mint${UNAME_RELEASE}
5014 + echo m68k-apple-machten${UNAME_RELEASE}
5016 powerpc:machten:*:*)
5017 echo powerpc-apple-machten${UNAME_RELEASE}
5021 echo mips-dec-mach_bsd4.3
5025 echo mips-dec-ultrix${UNAME_RELEASE}
5029 echo vax-dec-ultrix${UNAME_RELEASE}
5032 2020:CLIX:*:* | 2430:CLIX:*:*)
5033 echo clipper-intergraph-clix${UNAME_RELEASE}
5036 mips:*:*:UMIPS | mips:*:*:RISCos)
5037 eval $set_cc_for_build
5038 sed 's/^ //' << EOF >$dummy.c
5039 @@ -444,32 +433,33 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
5043 - $CC_FOR_BUILD -o $dummy $dummy.c \
5044 - && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
5046 + $CC_FOR_BUILD -o $dummy $dummy.c &&
5047 + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
5048 + SYSTEM_NAME=`$dummy $dummyarg` &&
5049 + { echo "$SYSTEM_NAME"; exit; }
5050 echo mips-mips-riscos${UNAME_RELEASE}
5053 Motorola:PowerMAX_OS:*:*)
5054 echo powerpc-motorola-powermax
5057 Motorola:*:4.3:PL8-*)
5058 echo powerpc-harris-powermax
5061 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
5062 echo powerpc-harris-powermax
5065 Night_Hawk:Power_UNIX:*:*)
5066 echo powerpc-harris-powerunix
5070 echo m88k-harris-cxux7
5074 echo m88k-motorola-sysv4
5078 echo m88k-motorola-sysv3
5082 # DG/UX returns AViiON for all architectures
5083 UNAME_PROCESSOR=`/usr/bin/uname -p`
5084 @@ -485,29 +475,29 @@ EOF
5086 echo i586-dg-dgux${UNAME_RELEASE}
5090 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
5091 echo m88k-dolphin-sysv3
5095 # Delta 88k system running SVR3
5096 echo m88k-motorola-sysv3
5099 XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
5100 echo m88k-tektronix-sysv3
5103 Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
5104 echo m68k-tektronix-bsd
5108 echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
5111 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
5112 - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
5113 - exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
5114 + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
5115 + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
5121 if [ -x /usr/bin/oslevel ] ; then
5122 IBM_REV=`/usr/bin/oslevel`
5123 @@ -515,7 +505,7 @@ EOF
5124 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
5126 echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
5130 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
5131 eval $set_cc_for_build
5132 @@ -530,15 +520,19 @@ EOF
5136 - $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
5137 - echo rs6000-ibm-aix3.2.5
5138 + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
5140 + echo "$SYSTEM_NAME"
5142 + echo rs6000-ibm-aix3.2.5
5144 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
5145 echo rs6000-ibm-aix3.2.4
5147 echo rs6000-ibm-aix3.2
5153 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
5154 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
5156 @@ -551,28 +545,28 @@ EOF
5157 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
5159 echo ${IBM_ARCH}-ibm-aix${IBM_REV}
5166 ibmrt:4.4BSD:*|romp-ibm:BSD:*)
5167 echo romp-ibm-bsd4.4
5170 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
5171 echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
5172 - exit 0 ;; # report: romp-ibm BSD 4.3
5173 + exit ;; # report: romp-ibm BSD 4.3
5175 echo rs6000-bull-bosx
5178 DPX/2?00:B.O.S.:*:*)
5179 echo m68k-bull-sysv3
5182 9000/[34]??:4.3bsd:1.*:*)
5186 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
5190 9000/[34678]??:HP-UX:*:*)
5191 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
5192 case "${UNAME_MACHINE}" in
5193 @@ -634,9 +628,19 @@ EOF
5195 if [ ${HP_ARCH} = "hppa2.0w" ]
5197 - # avoid double evaluation of $set_cc_for_build
5198 - test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
5199 - if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null
5200 + eval $set_cc_for_build
5202 + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
5203 + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
5204 + # generating 64-bit code. GNU and HP use different nomenclature:
5206 + # $ CC_FOR_BUILD=cc ./config.guess
5207 + # => hppa2.0w-hp-hpux11.23
5208 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
5209 + # => hppa64-hp-hpux11.23
5211 + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
5212 + grep __LP64__ >/dev/null
5216 @@ -644,11 +648,11 @@ EOF
5219 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
5223 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
5224 echo ia64-hp-hpux${HPUX_REV}
5228 eval $set_cc_for_build
5229 sed 's/^ //' << EOF >$dummy.c
5230 @@ -676,150 +680,192 @@ EOF
5234 - $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
5235 + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
5236 + { echo "$SYSTEM_NAME"; exit; }
5237 echo unknown-hitachi-hiuxwe2
5240 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
5244 9000/8??:4.3bsd:*:*)
5248 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
5249 echo hppa1.0-hp-mpeix
5252 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
5261 if [ -x /usr/sbin/sysversion ] ; then
5262 echo ${UNAME_MACHINE}-unknown-osf1mk
5264 echo ${UNAME_MACHINE}-unknown-osf1
5269 echo hppa1.1-hp-lites
5272 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
5276 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
5277 if getsysinfo -f scalar_acc
5278 then echo c32-convex-bsd
5279 else echo c2-convex-bsd
5283 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
5287 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
5291 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
5296 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
5300 echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
5301 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
5302 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
5307 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
5311 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
5315 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
5319 - echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
5321 + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
5323 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
5324 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
5325 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
5326 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
5327 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
5330 + 5000:UNIX_System_V:4.*:*)
5331 + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
5332 + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
5333 + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
5335 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
5336 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
5340 echo sparc-unknown-bsdi${UNAME_RELEASE}
5344 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
5346 - *:FreeBSD:*:*|*:GNU/FreeBSD:*:*)
5347 - # Determine whether the default compiler uses glibc.
5348 - eval $set_cc_for_build
5349 - sed 's/^ //' << EOF >$dummy.c
5350 - #include <features.h>
5351 - #if __GLIBC__ >= 2
5357 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
5358 - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
5362 + case ${UNAME_MACHINE} in
5364 + echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
5366 + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
5368 + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
5372 echo ${UNAME_MACHINE}-pc-cygwin
5377 echo ${UNAME_MACHINE}-pc-mingw32
5381 + # uname -m includes "-pc" on this system.
5382 + echo ${UNAME_MACHINE}-mingw32
5385 echo ${UNAME_MACHINE}-pc-pw32
5387 - x86:Interix*:[34]*)
5388 - echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
5391 + *:Interix*:[3456]*)
5392 + case ${UNAME_MACHINE} in
5394 + echo i586-pc-interix${UNAME_RELEASE}
5396 + EM64T | authenticamd)
5397 + echo x86_64-unknown-interix${UNAME_RELEASE}
5400 + echo ia64-unknown-interix${UNAME_RELEASE}
5403 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
5404 echo i${UNAME_MACHINE}-pc-mks
5407 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
5408 # How do we know it's Interix rather than the generic POSIX subsystem?
5409 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
5410 # UNAME_MACHINE based on the output of uname instead of i386?
5411 echo i586-pc-interix
5415 echo ${UNAME_MACHINE}-pc-uwin
5418 + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
5419 + echo x86_64-unknown-cygwin
5422 echo powerpcle-unknown-cygwin
5426 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
5431 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
5435 + # other systems with GNU libc and userland
5436 + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
5439 echo ${UNAME_MACHINE}-pc-minix
5443 + eval $set_cc_for_build
5444 + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
5445 + | grep -q __ARM_EABI__
5447 + echo ${UNAME_MACHINE}-unknown-linux-gnu
5449 + echo ${UNAME_MACHINE}-unknown-linux-gnueabi
5453 echo ${UNAME_MACHINE}-unknown-linux-gnu
5457 echo cris-axis-linux-gnu
5460 + crisv32:Linux:*:*)
5461 + echo crisv32-axis-linux-gnu
5464 + echo frv-unknown-linux-gnu
5467 - echo ${UNAME_MACHINE}-${VENDOR:-unknown}-linux-gnu
5469 + echo ${UNAME_MACHINE}-unknown-linux-gnu
5472 + echo ${UNAME_MACHINE}-unknown-linux-gnu
5475 echo ${UNAME_MACHINE}-unknown-linux-gnu
5479 eval $set_cc_for_build
5480 sed 's/^ //' << EOF >$dummy.c
5481 @@ -836,8 +882,12 @@ EOF
5485 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
5486 - test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
5487 + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
5492 + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
5495 eval $set_cc_for_build
5496 @@ -855,15 +905,22 @@ EOF
5500 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
5501 - test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
5502 + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
5507 + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
5510 + echo or32-unknown-linux-gnu
5513 - echo powerpc-${VENDOR:-unknown}-linux-gnu
5515 + echo powerpc-unknown-linux-gnu
5518 - echo powerpc64-${VENDOR:-unknown}-linux-gnu
5520 + echo powerpc64-unknown-linux-gnu
5523 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
5524 EV5) UNAME_MACHINE=alphaev5 ;;
5525 @@ -877,7 +934,7 @@ EOF
5526 objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
5527 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
5528 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
5531 parisc:Linux:*:* | hppa:Linux:*:*)
5532 # Look for CPU level
5533 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
5534 @@ -885,25 +942,31 @@ EOF
5535 PA8*) echo hppa2.0-unknown-linux-gnu ;;
5536 *) echo hppa-unknown-linux-gnu ;;
5540 parisc64:Linux:*:* | hppa64:Linux:*:*)
5541 echo hppa64-unknown-linux-gnu
5544 s390:Linux:*:* | s390x:Linux:*:*)
5545 - echo ${UNAME_MACHINE}-${VENDOR:-ibm}-linux-gnu
5547 + echo ${UNAME_MACHINE}-ibm-linux
5550 echo ${UNAME_MACHINE}-unknown-linux-gnu
5554 echo ${UNAME_MACHINE}-unknown-linux-gnu
5557 sparc:Linux:*:* | sparc64:Linux:*:*)
5558 echo ${UNAME_MACHINE}-unknown-linux-gnu
5562 + echo ${UNAME_MACHINE}-dec-linux-gnu
5565 - echo x86_64-${VENDOR:-unknown}-linux-gnu
5567 + echo x86_64-unknown-linux-gnu
5569 + xtensa*:Linux:*:*)
5570 + echo ${UNAME_MACHINE}-unknown-linux-gnu
5573 # The BFD linker knows what the default object file format is, so
5574 # first see if it will tell us. cd to the root directory to prevent
5575 @@ -921,15 +984,15 @@ EOF
5578 echo "${UNAME_MACHINE}-pc-linux-gnuaout"
5582 echo "${UNAME_MACHINE}-pc-linux-gnucoff"
5586 # Either a pre-BFD a.out linker (linux-gnuoldld) or
5587 # one that does not give us useful --help.
5588 echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
5592 # Determine whether the default compiler is a.out or elf
5593 eval $set_cc_for_build
5594 @@ -946,23 +1009,33 @@ EOF
5598 - #ifdef __INTEL_COMPILER
5599 + #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
5605 + #ifdef __dietlibc__
5609 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
5610 - test x"${LIBC}" != x && echo "${UNAME_MACHINE}-${VENDOR:-pc}-linux-${LIBC}" && exit 0
5611 - test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
5612 + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
5617 + test x"${LIBC}" != x && {
5618 + echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
5621 + test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
5623 i*86:DYNIX/ptx:4*:*)
5624 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
5625 # earlier versions are messed up and put the nodename in both
5626 # sysname and nodename.
5627 echo i386-sequent-sysv4
5630 i*86:UNIX_SV:4.2MP:2.*)
5631 # Unixware is an offshoot of SVR4, but it has its own version
5632 # number series starting with 2...
5633 @@ -970,24 +1043,27 @@ EOF
5634 # I just have to hope. -- rms.
5635 # Use sysv4.2uw... so that sysv4* matches it.
5636 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
5640 # If we were able to find `uname', then EMX Unix compatibility
5641 # is probably installed.
5642 echo ${UNAME_MACHINE}-pc-os2-emx
5645 i*86:XTS-300:*:STOP)
5646 echo ${UNAME_MACHINE}-unknown-stop
5650 echo ${UNAME_MACHINE}-unknown-atheos
5653 + i*86:syllable:*:*)
5654 + echo ${UNAME_MACHINE}-pc-syllable
5656 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
5657 echo i386-unknown-lynxos${UNAME_RELEASE}
5661 echo ${UNAME_MACHINE}-pc-msdosdjgpp
5664 i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
5665 UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
5666 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
5667 @@ -995,15 +1071,16 @@ EOF
5669 echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
5675 + # UnixWare 7.x, OpenUNIX and OpenServer 6.
5676 case `/bin/uname -X | grep "^Machine"` in
5677 *486*) UNAME_MACHINE=i486 ;;
5678 *Pentium) UNAME_MACHINE=i586 ;;
5679 *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
5681 echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
5685 if test -f /usr/options/cb.name; then
5686 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
5687 @@ -1021,73 +1098,73 @@ EOF
5689 echo ${UNAME_MACHINE}-pc-sysv32
5694 # Left here for compatibility:
5695 # uname -m prints for DJGPP always 'pc', but it prints nothing about
5696 # the processor, so we play safe by assuming i386.
5697 echo i386-pc-msdosdjgpp
5705 echo i860-intel-osf1
5708 i860:*:4.*:*) # i860-SVR4
5709 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
5710 echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
5711 else # Add other i860-SVR4 vendors below as they are discovered.
5712 echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
5718 echo m68010-convergent-sysv
5721 mc68k:UNIX:SYSTEM5:3.51m)
5722 echo m68k-convergent-sysv
5728 - M68*:*:R3V[567]*:*)
5729 - test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
5730 - 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0)
5732 + M68*:*:R3V[5678]*:*)
5733 + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
5734 + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
5736 test -r /etc/.relid \
5737 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
5738 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
5739 - && echo i486-ncr-sysv4.3${OS_REL} && exit 0
5740 + && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
5741 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
5742 - && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
5743 + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
5744 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
5745 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
5746 - && echo i486-ncr-sysv4 && exit 0 ;;
5747 + && { echo i486-ncr-sysv4; exit; } ;;
5748 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
5749 echo m68k-unknown-lynxos${UNAME_RELEASE}
5752 mc68030:UNIX_System_V:4.*:*)
5753 echo m68k-atari-sysv4
5756 TSUNAMI:LynxOS:2.*:*)
5757 echo sparc-unknown-lynxos${UNAME_RELEASE}
5760 rs6000:LynxOS:2.*:*)
5761 echo rs6000-unknown-lynxos${UNAME_RELEASE}
5764 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
5765 echo powerpc-unknown-lynxos${UNAME_RELEASE}
5768 SM[BE]S:UNIX_SV:*:*)
5769 echo mips-dde-sysv${UNAME_RELEASE}
5772 RM*:ReliantUNIX-*:*:*)
5781 if uname -p 2>/dev/null >/dev/null ; then
5782 UNAME_MACHINE=`(uname -p) 2>/dev/null`
5783 @@ -1095,68 +1172,81 @@ EOF
5789 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
5790 # says <Richard.M.Bartel@ccMail.Census.GOV>
5791 echo i586-unisys-sysv4
5794 *:UNIX_System_V:4*:FTX*)
5795 # From Gerald Hewes <hewes@openmarket.com>.
5796 # How about differentiating between stratus architectures? -djm
5797 echo hppa1.1-stratus-sysv4
5801 # From seanf@swdc.stratus.com.
5802 echo i860-stratus-sysv4
5806 + # From Paul.Green@stratus.com.
5807 + echo ${UNAME_MACHINE}-stratus-vos
5810 # From Paul.Green@stratus.com.
5811 echo hppa1.1-stratus-vos
5815 echo m68k-apple-aux${UNAME_RELEASE}
5819 echo mips-sony-newsos6
5822 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
5823 if [ -d /usr/nec ]; then
5824 echo mips-nec-sysv${UNAME_RELEASE}
5826 echo mips-unknown-sysv${UNAME_RELEASE}
5830 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
5831 echo powerpc-be-beos
5834 BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
5835 echo powerpc-apple-beos
5838 BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
5843 echo sx4-nec-superux${UNAME_RELEASE}
5847 echo sx5-nec-superux${UNAME_RELEASE}
5851 echo sx6-nec-superux${UNAME_RELEASE}
5854 + SX-7:SUPER-UX:*:*)
5855 + echo sx7-nec-superux${UNAME_RELEASE}
5857 + SX-8:SUPER-UX:*:*)
5858 + echo sx8-nec-superux${UNAME_RELEASE}
5860 + SX-8R:SUPER-UX:*:*)
5861 + echo sx8r-nec-superux${UNAME_RELEASE}
5863 Power*:Rhapsody:*:*)
5864 echo powerpc-apple-rhapsody${UNAME_RELEASE}
5868 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
5872 - case `uname -p` in
5873 - *86) UNAME_PROCESSOR=i686 ;;
5874 - powerpc) UNAME_PROCESSOR=powerpc ;;
5875 + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
5876 + case $UNAME_PROCESSOR in
5877 + unknown) UNAME_PROCESSOR=powerpc ;;
5879 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
5882 *:procnto*:*:* | *:QNX:[0123456789]*:*)
5883 UNAME_PROCESSOR=`uname -p`
5884 if test "$UNAME_PROCESSOR" = "x86"; then
5885 @@ -1164,22 +1254,25 @@ EOF
5888 echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
5894 - NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
5896 + NSE-?:NONSTOP_KERNEL:*:*)
5897 + echo nse-tandem-nsk${UNAME_RELEASE}
5899 + NSR-?:NONSTOP_KERNEL:*:*)
5900 echo nsr-tandem-nsk${UNAME_RELEASE}
5904 echo mips-compaq-nonstopux
5908 echo bs2000-siemens-sysv
5911 DS/*:UNIX_System_V:*:*)
5912 echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
5916 # "uname -m" is not consistent, so use $cputype instead. 386
5917 # is converted to i386 for consistency with other x86
5918 @@ -1190,28 +1283,47 @@ EOF
5919 UNAME_MACHINE="$cputype"
5921 echo ${UNAME_MACHINE}-unknown-plan9
5925 echo pdp10-unknown-tops10
5929 echo pdp10-unknown-tenex
5932 KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
5933 echo pdp10-dec-tops20
5936 XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
5937 echo pdp10-xkl-tops20
5941 echo pdp10-unknown-tops20
5945 echo pdp10-unknown-its
5949 echo mips-sei-seiux${UNAME_RELEASE}
5953 + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
5956 + UNAME_MACHINE=`(uname -p) 2>/dev/null`
5957 + case "${UNAME_MACHINE}" in
5958 + A*) echo alpha-dec-vms ; exit ;;
5959 + I*) echo ia64-dec-vms ; exit ;;
5960 + V*) echo vax-dec-vms ; exit ;;
5963 + echo i386-pc-xenix
5966 + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
5969 + echo ${UNAME_MACHINE}-pc-rdos
5973 #echo '(No uname command or uname output not recognized.)' 1>&2
5974 @@ -1243,7 +1355,7 @@ main ()
5977 #if defined (__arm) && defined (__acorn) && defined (__unix)
5978 - printf ("arm-acorn-riscix"); exit (0);
5979 + printf ("arm-acorn-riscix\n"); exit (0);
5982 #if defined (hp300) && !defined (hpux)
5983 @@ -1332,11 +1444,12 @@ main ()
5987 -$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0
5988 +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
5989 + { echo "$SYSTEM_NAME"; exit; }
5991 # Apollos put the system type in the environment.
5993 -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
5994 +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
5996 # Convex versions that predate uname can use getsysinfo(1)
5998 @@ -1345,22 +1458,22 @@ then
5999 case `getsysinfo -f cpu_type` in
6005 if getsysinfo -f scalar_acc
6006 then echo c32-convex-bsd
6007 else echo c2-convex-bsd
6026 @@ -1371,7 +1484,9 @@ This script, last modified $timestamp, has failed to recognize
6027 the operating system you are using. It is advised that you
6028 download the most up to date version of the config scripts from
6030 - ftp://ftp.gnu.org/pub/gnu/config/
6031 + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
6033 + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
6035 If the version you run ($0) is already up to date, please
6036 send the following data and any information you think might be
6037 --- ./aux/config.sub
6038 +++ ./aux/config.sub
6041 # Configuration validation subroutine script.
6042 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
6043 -# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
6044 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
6045 +# Free Software Foundation, Inc.
6047 -timestamp='2003-06-18'
6048 +timestamp='2008-01-16'
6050 # This file is (in principle) common to ALL GNU software.
6051 # The presence of a machine in this file suggests that SOME GNU software
6052 @@ -21,14 +22,15 @@ timestamp='2003-06-18'
6054 # You should have received a copy of the GNU General Public License
6055 # along with this program; if not, write to the Free Software
6056 -# Foundation, Inc., 59 Temple Place - Suite 330,
6057 -# Boston, MA 02111-1307, USA.
6059 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
6062 # As a special exception to the GNU General Public License, if you
6063 # distribute this file as part of a program that contains a
6064 # configuration script generated by Autoconf, you may include it under
6065 # the same distribution terms that you use for the rest of that program.
6068 # Please send patches to <config-patches@gnu.org>. Submit a context
6069 # diff and a properly formatted ChangeLog entry.
6071 @@ -70,8 +72,8 @@ Report bugs and patches to <config-patches@gnu.org>."
6073 GNU config.sub ($timestamp)
6075 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
6076 -Free Software Foundation, Inc.
6077 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
6078 +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6080 This is free software; see the source for copying conditions. There is NO
6081 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
6082 @@ -83,11 +85,11 @@ Try \`$me --help' for more information."
6083 while test $# -gt 0 ; do
6085 --time-stamp | --time* | -t )
6086 - echo "$timestamp" ; exit 0 ;;
6087 + echo "$timestamp" ; exit ;;
6089 - echo "$version" ; exit 0 ;;
6090 + echo "$version" ; exit ;;
6091 --help | --h* | -h )
6092 - echo "$usage"; exit 0 ;;
6093 + echo "$usage"; exit ;;
6094 -- ) # Stop option processing
6096 - ) # Use stdin as input.
6097 @@ -99,7 +101,7 @@ while test $# -gt 0 ; do
6099 # First pass through any local machine types.
6106 @@ -118,7 +120,9 @@ esac
6107 # Here we must recognize all the valid KERNEL-OS combinations.
6108 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
6110 - nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
6111 + nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
6112 + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
6113 + storm-chaos* | os2-emx* | rtmk-nova*)
6115 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
6117 @@ -144,7 +148,7 @@ case $os in
6118 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
6119 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
6120 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
6122 + -apple | -axis | -knuth | -cray)
6126 @@ -169,6 +173,10 @@ case $os in
6132 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
6136 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
6137 @@ -185,6 +193,10 @@ case $os in
6138 # Don't forget version if it is 3.2v4 or newer.
6139 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
6142 + # Don't forget version if it is 3.2v4 or newer.
6143 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
6147 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
6148 @@ -228,14 +240,17 @@ case $basic_machine in
6150 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
6151 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
6152 - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
6154 + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
6157 | d10v | d30v | dlx | dsp16xx \
6159 + | fido | fr30 | frv \
6160 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
6161 | i370 | i860 | i960 | ia64 \
6163 - | m32r | m68000 | m68k | m88k | mcore \
6165 + | m32c | m32r | m32rle | m68000 | m68k | m88k \
6166 + | maxq | mb | microblaze | mcore | mep \
6167 | mips | mipsbe | mipseb | mipsel | mipsle \
6169 | mips64 | mips64el \
6170 @@ -244,28 +259,33 @@ case $basic_machine in
6171 | mips64vr4100 | mips64vr4100el \
6172 | mips64vr4300 | mips64vr4300el \
6173 | mips64vr5000 | mips64vr5000el \
6174 + | mips64vr5900 | mips64vr5900el \
6175 | mipsisa32 | mipsisa32el \
6176 | mipsisa32r2 | mipsisa32r2el \
6177 | mipsisa64 | mipsisa64el \
6178 + | mipsisa64r2 | mipsisa64r2el \
6179 | mipsisa64sb1 | mipsisa64sb1el \
6180 | mipsisa64sr71k | mipsisa64sr71kel \
6181 | mipstx39 | mipstx39el \
6182 | mn10200 | mn10300 \
6187 - | openrisc | or32 \
6189 | pdp10 | pdp11 | pj | pjl \
6190 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
6193 - | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
6195 + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
6197 - | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
6199 + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
6200 + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
6201 + | spu | strongarm \
6202 | tahoe | thumb | tic4x | tic80 | tron \
6205 - | x86 | xscale | xstormy16 | xtensa \
6206 + | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
6208 basic_machine=$basic_machine-unknown
6210 @@ -276,6 +296,9 @@ case $basic_machine in
6212 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
6215 + basic_machine=mt-unknown
6218 # We use `pc' rather than `unknown'
6219 # because (1) that's what they normally are, and
6220 @@ -295,20 +318,20 @@ case $basic_machine in
6221 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
6222 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
6223 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
6226 + | avr-* | avr32-* \
6227 + | bfin-* | bs2000-* \
6228 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
6229 - | clipper-* | cydra-* \
6230 + | clipper-* | craynv-* | cydra-* \
6231 | d10v-* | d30v-* | dlx-* \
6233 - | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
6234 + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
6235 | h8300-* | h8500-* \
6236 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
6237 | i*86-* | i860-* | i960-* | ia64-* \
6240 + | ip2k-* | iq2000-* \
6241 + | m32c-* | m32r-* | m32rle-* \
6242 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
6243 - | m88110-* | m88k-* | mcore-* \
6244 + | m88110-* | m88k-* | maxq-* | mcore-* \
6245 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
6247 | mips64-* | mips64el-* \
6248 @@ -317,34 +340,43 @@ case $basic_machine in
6249 | mips64vr4100-* | mips64vr4100el-* \
6250 | mips64vr4300-* | mips64vr4300el-* \
6251 | mips64vr5000-* | mips64vr5000el-* \
6252 + | mips64vr5900-* | mips64vr5900el-* \
6253 | mipsisa32-* | mipsisa32el-* \
6254 | mipsisa32r2-* | mipsisa32r2el-* \
6255 | mipsisa64-* | mipsisa64el-* \
6256 + | mipsisa64r2-* | mipsisa64r2el-* \
6257 | mipsisa64sb1-* | mipsisa64sb1el-* \
6258 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
6259 | mipstx39-* | mipstx39el-* \
6263 - | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
6264 + | nios-* | nios2-* \
6265 + | none-* | np1-* | ns16k-* | ns32k-* \
6267 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
6268 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
6270 | romp-* | rs6000-* \
6271 - | s390-* | s390x-* \
6272 - | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
6273 + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
6274 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
6275 - | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
6276 - | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
6277 + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
6279 + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
6280 | tahoe-* | thumb-* \
6281 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
6283 | v850-* | v850e-* | vax-* \
6285 - | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
6287 + | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
6288 + | xstormy16-* | xtensa*-* \
6292 + # Recognize the basic CPU types without company name, with glob match.
6294 + basic_machine=$basic_machine-unknown
6296 # Recognize the various machine names and aliases which stand
6297 # for a CPU type and a company and sometimes even an OS.
6299 @@ -361,6 +393,9 @@ case $basic_machine in
6300 basic_machine=a29k-amd
6304 + basic_machine=abacus-unknown
6307 basic_machine=m68010-adobe
6309 @@ -378,6 +413,9 @@ case $basic_machine in
6311 basic_machine=x86_64-pc
6314 + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
6317 basic_machine=580-amdahl
6319 @@ -409,6 +447,14 @@ case $basic_machine in
6320 basic_machine=ns32k-sequent
6324 + basic_machine=bfin-unknown
6328 + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
6332 basic_machine=c90-cray
6334 @@ -437,12 +483,27 @@ case $basic_machine in
6335 basic_machine=j90-cray
6339 + basic_machine=craynv-cray
6343 + basic_machine=cr16-unknown
6347 basic_machine=m68k-crds
6349 + crisv32 | crisv32-* | etraxfs*)
6350 + basic_machine=crisv32-axis
6352 cris | cris-* | etrax*)
6353 basic_machine=cris-axis
6356 + basic_machine=crx-unknown
6360 basic_machine=m68k-da30
6362 @@ -465,6 +526,10 @@ case $basic_machine in
6363 basic_machine=m88k-motorola
6367 + basic_machine=i586-pc
6371 basic_machine=rs6000-bull
6373 @@ -615,6 +680,14 @@ case $basic_machine in
6374 basic_machine=m68k-isi
6378 + basic_machine=m68k-unknown
6382 + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
6386 basic_machine=m88k-omron
6388 @@ -630,6 +703,10 @@ case $basic_machine in
6389 basic_machine=i386-pc
6393 + basic_machine=arm-unknown
6397 basic_machine=m68000-convergent
6399 @@ -643,10 +720,6 @@ case $basic_machine in
6401 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
6404 - basic_machine=mmix-knuth
6408 basic_machine=m68k-rom68k
6410 @@ -659,6 +732,9 @@ case $basic_machine in
6411 basic_machine=i386-pc
6415 + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
6418 basic_machine=i370-ibm
6420 @@ -727,10 +803,6 @@ case $basic_machine in
6422 basic_machine=np1-gould
6425 - basic_machine=nv1-cray
6429 basic_machine=nsr-tandem
6431 @@ -738,9 +810,12 @@ case $basic_machine in
6432 basic_machine=hppa1.1-oki
6436 + openrisc | openrisc-*)
6437 basic_machine=or32-unknown
6441 + basic_machine=powerpc-ibm
6444 OSE68000 | ose68000)
6445 basic_machine=m68000-ericsson
6446 @@ -758,6 +833,14 @@ case $basic_machine in
6447 basic_machine=i860-intel
6451 + basic_machine=hppa-unknown
6455 + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
6459 basic_machine=sparc-tti
6461 @@ -767,6 +850,12 @@ case $basic_machine in
6463 basic_machine=ns32k-pc532
6466 + basic_machine=i386-pc
6469 + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
6471 pentium | p5 | k5 | k6 | nexgen | viac3)
6472 basic_machine=i586-pc
6474 @@ -823,6 +912,10 @@ case $basic_machine in
6475 basic_machine=i586-unknown
6479 + basic_machine=i386-pc
6483 basic_machine=m68k-rom68k
6485 @@ -833,6 +926,12 @@ case $basic_machine in
6487 basic_machine=romp-ibm
6490 + basic_machine=s390-ibm
6493 + basic_machine=s390x-ibm
6496 basic_machine=a29k-amd
6498 @@ -843,6 +942,10 @@ case $basic_machine in
6500 basic_machine=mipsisa64sb1el-unknown
6503 + basic_machine=mipsisa32-sde
6507 basic_machine=mips-sei
6509 @@ -854,6 +957,9 @@ case $basic_machine in
6510 basic_machine=sh-hitachi
6514 + basic_machine=sh5le-unknown
6517 basic_machine=sh64-unknown
6519 @@ -943,6 +1049,10 @@ case $basic_machine in
6520 basic_machine=tic6x-unknown
6524 + basic_machine=tile-unknown
6528 basic_machine=mipstx39-unknown
6530 @@ -956,6 +1066,10 @@ case $basic_machine in
6532 basic_machine=m68k-ncr
6535 + basic_machine=s390x-ibm
6539 basic_machine=a29k-amd
6541 @@ -999,6 +1113,10 @@ case $basic_machine in
6542 basic_machine=hppa1.1-winbond
6546 + basic_machine=i686-pc
6550 basic_machine=xps100-honeywell
6552 @@ -1029,6 +1147,9 @@ case $basic_machine in
6554 basic_machine=romp-ibm
6557 + basic_machine=mmix-knuth
6560 basic_machine=rs6000-ibm
6562 @@ -1045,13 +1166,10 @@ case $basic_machine in
6564 basic_machine=we32k-att
6566 - sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
6567 + sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
6568 basic_machine=sh-unknown
6571 - basic_machine=sh64-unknown
6573 - sparc | sparcv9 | sparcv9b)
6574 + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
6575 basic_machine=sparc-sun
6578 @@ -1124,19 +1242,23 @@ case $os in
6580 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
6581 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
6582 - | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
6583 - | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
6584 + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
6585 + | -openbsd* | -solidbsd* \
6586 + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
6587 + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
6588 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
6589 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
6590 | -chorusos* | -chorusrdb* \
6591 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
6592 - | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
6593 + | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
6594 + | -uxpv* | -beos* | -mpeix* | -udk* \
6595 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
6596 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
6597 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
6598 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
6599 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
6600 - | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
6601 + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
6602 + | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
6603 # Remember, each alternative MUST END IN *, to match a version number.
6606 @@ -1154,12 +1276,15 @@ case $os in
6607 os=`echo $os | sed -e 's|nto|nto-qnx|'`
6609 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
6610 - | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
6611 + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
6612 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
6615 os=`echo $os | sed -e 's|mac|macos|'`
6618 + os=-linux-dietlibc
6621 os=`echo $os | sed -e 's|linux|linux-gnu|'`
6623 @@ -1172,6 +1297,9 @@ case $os in
6633 @@ -1193,6 +1321,9 @@ case $os in
6643 @@ -1215,6 +1346,9 @@ case $os in
6653 @@ -1251,6 +1385,9 @@ case $os in
6663 @@ -1273,6 +1410,12 @@ else
6664 # system, and we'll never get to this point.
6666 case $basic_machine in
6676 @@ -1282,8 +1425,8 @@ case $basic_machine in
6685 # This must come before the *-dec entry.
6687 @@ -1310,6 +1453,9 @@ case $basic_machine in
6697 @@ -1328,9 +1474,15 @@ case $basic_machine in
6713 @@ -1463,9 +1615,15 @@ case $basic_machine in
6726 -vxsim* | -vxworks* | -windiss*)
6729 @@ -1490,7 +1648,7 @@ case $basic_machine in
6732 echo $basic_machine$os
6737 # eval: (add-hook 'write-file-hooks 'time-stamp)
6741 # ltmain.sh - Provide generalized library-building support services.
6742 # NOTE: Changing this file will not affect anything until you rerun configure.
6744 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004
6745 -# Free Software Foundation, Inc.
6746 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
6747 +# 2007, 2008 Free Software Foundation, Inc.
6748 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
6750 # This program is free software; you can redistribute it and/or modify
6753 # You should have received a copy of the GNU General Public License
6754 # along with this program; if not, write to the Free Software
6755 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
6756 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
6758 # As a special exception to the GNU General Public License, if you
6759 # distribute this file as part of a program that contains a
6760 @@ -33,9 +33,6 @@ basename="s,^.*/,,g"
6764 -# RH: define SED for historic ltconfig's generated by Libtool 1.3
6765 -[ -z "$SED" ] && SED=sed
6767 # The name of this program:
6768 progname=`echo "$progpath" | $SED $basename`
6769 modename="$progname"
6770 @@ -46,9 +43,22 @@ EXIT_FAILURE=1
6775 -TIMESTAMP=" (1.1220.2.95 2004/04/11 05:50:42)"
6777 +VERSION="1.5.26 Debian 1.5.26-4"
6778 +TIMESTAMP=" (1.1220.2.493 2008/02/01 16:58:18)"
6780 +# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
6781 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6784 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6785 + # is contrary to our usage. Disable this feature.
6786 + alias -g '${1+"$@"}'='"$@"'
6787 + setopt NO_GLOB_SUBST
6789 + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
6791 +BIN_SH=xpg4; export BIN_SH # for Tru64
6792 +DUALCASE=1; export DUALCASE # for MKS sh
6794 # Check that we have a working $echo.
6795 if test "X$1" = X--no-reexec; then
6796 @@ -86,14 +96,15 @@ rm="rm -f"
6797 Xsed="${SED}"' -e 1s/^X//'
6798 sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
6799 # test EBCDIC or ASCII
6800 -case `echo A|tr A '\301'` in
6801 - A) # EBCDIC based system
6802 - SP2NL="tr '\100' '\n'"
6803 - NL2SP="tr '\r\n' '\100\100'"
6804 +case `echo X|tr X '\101'` in
6805 + A) # ASCII based system
6806 + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6807 + SP2NL='tr \040 \012'
6808 + NL2SP='tr \015\012 \040\040'
6810 - *) # Assume ASCII based system
6811 - SP2NL="tr '\040' '\012'"
6812 - NL2SP="tr '\015\012' '\040\040'"
6813 + *) # EBCDIC based system
6814 + SP2NL='tr \100 \n'
6815 + NL2SP='tr \r\n \100\100'
6819 @@ -102,16 +113,25 @@ esac
6820 # These must not be set unconditionally because not all systems understand
6821 # e.g. LANG=C (notably SCO).
6822 # We save the old values to restore during execute mode.
6823 -if test "${LC_ALL+set}" = set; then
6824 - save_LC_ALL="$LC_ALL"; LC_ALL=C; export LC_ALL
6826 -if test "${LANG+set}" = set; then
6827 - save_LANG="$LANG"; LANG=C; export LANG
6829 +for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
6831 + eval "if test \"\${$lt_var+set}\" = set; then
6832 + save_$lt_var=\$$lt_var
6833 + lt_env=\"$lt_var=\$$lt_var \$lt_env\"
6839 +if test -n "$lt_env"; then
6840 + lt_env="env $lt_env"
6843 # Make sure IFS has a sensible default
6850 if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
6851 $echo "$modename: not configured to build any kind of library" 1>&2
6852 @@ -128,20 +148,62 @@ run=
6858 lo2o="s/\\.lo\$/.${objext}/"
6859 o2lo="s/\\.${objext}\$/.lo/"
6860 +extracted_archives=
6863 #####################################
6864 # Shell function definitions:
6865 # This seems to be the best place for them
6867 +# func_mktempdir [string]
6868 +# Make a temporary directory that won't clash with other running
6869 +# libtool processes, and avoids race conditions if possible. If
6870 +# given, STRING is the basename for that directory.
6873 + my_template="${TMPDIR-/tmp}/${1-$progname}"
6875 + if test "$run" = ":"; then
6876 + # Return a directory name, but don't create it in dry-run mode
6877 + my_tmpdir="${my_template}-$$"
6880 + # If mktemp works, use that first and foremost
6881 + my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
6883 + if test ! -d "$my_tmpdir"; then
6884 + # Failing that, at least try and use $RANDOM to avoid a race
6885 + my_tmpdir="${my_template}-${RANDOM-0}$$"
6887 + save_mktempdir_umask=`umask`
6889 + $mkdir "$my_tmpdir"
6890 + umask $save_mktempdir_umask
6893 + # If we're not in dry-run mode, bomb out on failure
6894 + test -d "$my_tmpdir" || {
6895 + $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2
6896 + exit $EXIT_FAILURE
6900 + $echo "X$my_tmpdir" | $Xsed
6904 # func_win32_libid arg
6905 # return the library type of file 'arg'
6907 # Need a lot of goo to handle *both* DLLs and import libs
6908 # Has to be a shell function in order to 'eat' the argument
6909 # that is supplied when $file_magic_command is called.
6910 -func_win32_libid () {
6911 +func_win32_libid ()
6913 win32_libid_type="unknown"
6914 win32_fileres=`file -L $1 2>/dev/null`
6915 case $win32_fileres in
6916 @@ -152,12 +214,17 @@ func_win32_libid () {
6917 if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
6918 $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
6919 win32_nmres=`eval $NM -f posix -A $1 | \
6920 - sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'`
6921 - if test "X$win32_nmres" = "Ximport" ; then
6922 - win32_libid_type="x86 archive import"
6924 - win32_libid_type="x86 archive static"
6926 + $SED -n -e '1,100{
6933 + case $win32_nmres in
6934 + import*) win32_libid_type="x86 archive import";;
6935 + *) win32_libid_type="x86 archive static";;
6940 @@ -181,7 +248,8 @@ func_win32_libid () {
6941 # Only attempt this if the compiler in the base compile
6942 # command doesn't match the default compiler.
6943 # arg is usually of the form 'gcc ...'
6944 -func_infer_tag () {
6947 if test -n "$available_tags" && test -z "$tagname"; then
6950 @@ -238,12 +306,126 @@ func_infer_tag () {
6956 +# func_extract_an_archive dir oldlib
6957 +func_extract_an_archive ()
6959 + f_ex_an_ar_dir="$1"; shift
6960 + f_ex_an_ar_oldlib="$1"
6962 + $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)"
6963 + $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $?
6964 + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
6967 + $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2
6968 + exit $EXIT_FAILURE
6972 +# func_extract_archives gentop oldlib ...
6973 +func_extract_archives ()
6975 + my_gentop="$1"; shift
6976 + my_oldlibs=${1+"$@"}
6983 + $show "${rm}r $my_gentop"
6984 + $run ${rm}r "$my_gentop"
6985 + $show "$mkdir $my_gentop"
6986 + $run $mkdir "$my_gentop"
6988 + if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then
6992 + for my_xlib in $my_oldlibs; do
6993 + # Extract the objects.
6995 + [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
6996 + *) my_xabs=`pwd`"/$my_xlib" ;;
6998 + my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'`
6999 + my_xlib_u=$my_xlib
7001 + case " $extracted_archives " in
7003 + extracted_serial=`expr $extracted_serial + 1`
7004 + my_xlib_u=lt$extracted_serial-$my_xlib ;;
7008 + extracted_archives="$extracted_archives $my_xlib_u"
7009 + my_xdir="$my_gentop/$my_xlib_u"
7011 + $show "${rm}r $my_xdir"
7012 + $run ${rm}r "$my_xdir"
7013 + $show "$mkdir $my_xdir"
7014 + $run $mkdir "$my_xdir"
7016 + if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then
7021 + $show "Extracting $my_xabs"
7022 + # Do not bother doing anything if just a dry run
7023 + if test -z "$run"; then
7024 + darwin_orig_dir=`pwd`
7025 + cd $my_xdir || exit $?
7026 + darwin_archive=$my_xabs
7027 + darwin_curdir=`pwd`
7028 + darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'`
7029 + darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null`
7030 + if test -n "$darwin_arches"; then
7031 + darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'`
7033 + $show "$darwin_base_archive has multiple architectures $darwin_arches"
7034 + for darwin_arch in $darwin_arches ; do
7035 + mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
7036 + lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
7037 + cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
7038 + func_extract_an_archive "`pwd`" "${darwin_base_archive}"
7039 + cd "$darwin_curdir"
7040 + $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
7041 + done # $darwin_arches
7042 + ## Okay now we have a bunch of thin objects, gotta fatten them up :)
7043 + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP`
7046 + for darwin_file in $darwin_filelist; do
7047 + darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
7048 + lipo -create -output "$darwin_file" $darwin_files
7049 + done # $darwin_filelist
7051 + cd "$darwin_orig_dir"
7053 + cd "$darwin_orig_dir"
7054 + func_extract_an_archive "$my_xdir" "$my_xabs"
7055 + fi # $darwin_arches
7059 + func_extract_an_archive "$my_xdir" "$my_xabs"
7062 + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
7064 + func_extract_archives_result="$my_oldobjs"
7066 # End of Shell function definitions
7067 #####################################
7070 eval std_shrext=\"$shrext_cmds\"
7074 # Parse our command line options once, thoroughly.
7075 while test "$#" -gt 0
7077 @@ -306,12 +488,13 @@ do
7081 - $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
7083 - $echo "Copyright (C) 2003 Free Software Foundation, Inc."
7084 - $echo "This is free software; see the source for copying conditions. There is NO"
7085 - $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
7086 - exit $EXIT_SUCCESS
7088 +$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP
7090 +Copyright (C) 2008 Free Software Foundation, Inc.
7091 +This is free software; see the source for copying conditions. There is NO
7092 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
7097 @@ -320,7 +503,7 @@ do
7098 for tagname in $taglist; do
7099 ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
7101 - exit $EXIT_SUCCESS
7106 @@ -345,7 +528,7 @@ do
7108 $echo "disable static libraries"
7110 - exit $EXIT_SUCCESS
7114 --finish) mode="finish" ;;
7115 @@ -360,7 +543,11 @@ do
7116 preserve_args="$preserve_args $arg"
7119 - --tag) prevopt="--tag" prev=tag ;;
7123 + preserve_args="$preserve_args --tag"
7126 set tag "$optarg" ${1+"$@"}
7128 @@ -392,6 +579,18 @@ if test -n "$prevopt"; then
7132 +case $disable_libs in
7136 + build_libtool_libs=no
7137 + build_old_libs=yes
7140 + build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
7144 # If this variable is set in any of the actions, the command in it
7145 # will be execed at the end. This prevents here-documents from being
7146 # left over by shells.
7147 @@ -402,7 +601,7 @@ if test -z "$show_help"; then
7148 # Infer the operation mode.
7149 if test -z "$mode"; then
7150 $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
7151 - $echo "*** Future versions of Libtool will require -mode=MODE be specified." 1>&2
7152 + $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2
7154 *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*)
7156 @@ -468,7 +667,7 @@ if test -z "$show_help"; then
7160 - case "$arg_mode" in
7163 # do not "continue". Instead, add this to base_compile
7165 @@ -550,7 +749,10 @@ if test -z "$show_help"; then
7167 # Double-quote args containing other shell metacharacters.
7168 # Many Bourne shells cannot handle close brackets correctly
7169 - # in scan sets, so we specify it separately.
7170 + # in scan sets, and some SunOS ksh mistreat backslash-escaping
7171 + # in scan sets (worked around with variable expansion),
7172 + # and furthermore cannot handle '|' '&' '(' ')' in scan sets
7173 + # at all, so we specify them separately.
7174 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
7175 lastarg="\"$lastarg\""
7177 @@ -588,9 +790,11 @@ if test -z "$show_help"; then
7178 *.class) xform=class ;;
7181 - *.f90) xform=f90 ;;
7182 + *.[fF][09]?) xform=[fF][09]. ;;
7184 *.java) xform=java ;;
7185 + *.obj) xform=obj ;;
7189 libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
7190 @@ -624,6 +828,14 @@ if test -z "$show_help"; then
7194 + qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"`
7196 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
7197 + qlibobj="\"$qlibobj\"" ;;
7199 + test "X$libobj" != "X$qlibobj" \
7200 + && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \
7201 + && $echo "$modename: libobj name \`$libobj' may not contain shell special characters."
7202 objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
7203 xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
7204 if test "X$xdir" = "X$obj"; then
7205 @@ -696,12 +908,17 @@ compiler."
7206 $run $rm $removelist
7209 - $echo $srcfile > "$lockfile"
7210 + $echo "$srcfile" > "$lockfile"
7213 if test -n "$fix_srcfile_path"; then
7214 eval srcfile=\"$fix_srcfile_path\"
7216 + qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"`
7218 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
7219 + qsrcfile="\"$qsrcfile\"" ;;
7222 $run $rm "$libobj" "${libobj}T"
7224 @@ -723,18 +940,18 @@ EOF
7225 fbsd_hideous_sh_bug=$base_compile
7227 if test "$pic_mode" != no; then
7228 - command="$base_compile $srcfile $pic_flag"
7229 + command="$base_compile $qsrcfile $pic_flag"
7231 # Don't build PIC code
7232 - command="$base_compile $srcfile"
7233 + command="$base_compile $qsrcfile"
7236 if test ! -d "${xdir}$objdir"; then
7237 $show "$mkdir ${xdir}$objdir"
7238 $run $mkdir ${xdir}$objdir
7240 - if test "$status" -ne 0 && test ! -d "${xdir}$objdir"; then
7243 + if test "$exit_status" -ne 0 && test ! -d "${xdir}$objdir"; then
7248 @@ -746,7 +963,7 @@ EOF
7249 $run $rm "$lobj" "$output_obj"
7252 - if $run eval "$command"; then :
7253 + if $run eval $lt_env "$command"; then :
7255 test -n "$output_obj" && $run $rm $removelist
7257 @@ -806,9 +1023,9 @@ EOF
7258 if test "$build_old_libs" = yes; then
7259 if test "$pic_mode" != yes; then
7260 # Don't build PIC code
7261 - command="$base_compile $srcfile"
7262 + command="$base_compile $qsrcfile"
7264 - command="$base_compile $srcfile $pic_flag"
7265 + command="$base_compile $qsrcfile $pic_flag"
7267 if test "$compiler_c_o" = yes; then
7268 command="$command -o $obj"
7269 @@ -818,7 +1035,7 @@ EOF
7270 command="$command$suppress_output"
7271 $run $rm "$obj" "$output_obj"
7273 - if $run eval "$command"; then :
7274 + if $run eval $lt_env "$command"; then :
7276 $run $rm $removelist
7278 @@ -937,6 +1154,7 @@ EOF
7282 + notinst_path= # paths that contain not-installed libtool libraries
7283 precious_files_regex=
7284 prefer_static_libs=no
7286 @@ -950,6 +1168,7 @@ EOF
7290 + single_module="${wl}-single_module"
7292 func_infer_tag $base_compile
7294 @@ -957,22 +1176,32 @@ EOF
7298 - -all-static | -static)
7299 - if test "X$arg" = "X-all-static"; then
7300 + -all-static | -static | -static-libtool-libs)
7303 if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
7304 $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
7306 if test -n "$link_static_flag"; then
7307 dlopen_self=$dlopen_self_static
7310 + prefer_static_libs=yes
7313 if test -z "$pic_flag" && test -n "$link_static_flag"; then
7314 dlopen_self=$dlopen_self_static
7317 + prefer_static_libs=built
7319 + -static-libtool-libs)
7320 + if test -z "$pic_flag" && test -n "$link_static_flag"; then
7321 + dlopen_self=$dlopen_self_static
7323 + prefer_static_libs=yes
7326 build_libtool_libs=no
7328 - prefer_static_libs=yes
7332 @@ -1147,6 +1376,11 @@ EOF
7333 if test -z "$pic_object" || test "$pic_object" = none ; then
7334 arg="$non_pic_object"
7337 + # If the PIC object exists, use it instead.
7338 + # $xdir was prepended to $pic_object above.
7339 + non_pic_object="$pic_object"
7340 + non_pic_objects="$non_pic_objects $non_pic_object"
7343 # Only an error if not doing a dry-run.
7344 @@ -1230,6 +1464,13 @@ EOF
7348 + darwin_framework|darwin_framework_skip)
7349 + test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg"
7350 + compile_command="$compile_command $arg"
7351 + finalize_command="$finalize_command $arg"
7356 eval "$prev=\"\$arg\""
7358 @@ -1288,6 +1529,18 @@ EOF
7362 + -framework|-arch|-isysroot)
7364 + *" ${arg} ${1} "* | *" ${arg} ${1} "*)
7365 + prev=darwin_framework_skip ;;
7366 + *) compiler_flags="$compiler_flags $arg"
7367 + prev=darwin_framework ;;
7369 + compile_command="$compile_command $arg"
7370 + finalize_command="$finalize_command $arg"
7377 @@ -1314,7 +1567,8 @@ EOF
7378 absdir=`cd "$dir" && pwd`
7379 if test -z "$absdir"; then
7380 $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
7381 - exit $EXIT_FAILURE
7383 + notinst_path="$notinst_path $dir"
7387 @@ -1328,10 +1582,15 @@ EOF
7390 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
7391 + testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'`
7392 case :$dllsearchpath: in
7394 *) dllsearchpath="$dllsearchpath:$dir";;
7396 + case :$dllsearchpath: in
7397 + *":$testbindir:"*) ;;
7398 + *) dllsearchpath="$dllsearchpath:$testbindir";;
7403 @@ -1340,15 +1599,15 @@ EOF
7405 if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
7407 - *-*-cygwin* | *-*-pw32* | *-*-beos*)
7408 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*)
7409 # These systems don't actually have a C or math library (as such)
7412 - *-*-mingw* | *-*-os2*)
7414 # These systems don't actually have a C library (as such)
7415 test "X$arg" = "X-lc" && continue
7417 - *-*-openbsd* | *-*-freebsd*)
7418 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
7419 # Do not include libc due to us having libc/libc_r.
7420 test "X$arg" = "X-lc" && continue
7422 @@ -1356,10 +1615,19 @@ EOF
7423 # Rhapsody C and math libraries are in the System framework
7424 deplibs="$deplibs -framework System"
7427 + *-*-sco3.2v5* | *-*-sco5v6*)
7428 + # Causes problems with __ctype
7429 + test "X$arg" = "X-lc" && continue
7431 + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
7432 + # Compiler inserts libc in the correct place for threads to work
7433 + test "X$arg" = "X-lc" && continue
7436 elif test "X$arg" = "X-lc_r"; then
7438 - *-*-openbsd* | *-*-freebsd*)
7439 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
7440 # Do not include libc_r directly, use -pthread flag.
7443 @@ -1369,8 +1637,25 @@ EOF
7447 - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
7448 - deplibs="$deplibs $arg"
7449 + # Tru64 UNIX uses -model [arg] to determine the layout of C++
7450 + # classes, name mangling, and exception handling.
7452 + compile_command="$compile_command $arg"
7453 + compiler_flags="$compiler_flags $arg"
7454 + finalize_command="$finalize_command $arg"
7459 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
7460 + compiler_flags="$compiler_flags $arg"
7461 + compile_command="$compile_command $arg"
7462 + finalize_command="$finalize_command $arg"
7467 + single_module="${wl}-multi_module"
7471 @@ -1379,13 +1664,20 @@ EOF
7475 - # gcc -m* arguments should be passed to the linker via $compiler_flags
7476 - # in order to pass architecture information to the linker
7477 - # (e.g. 32 vs 64-bit). This may also be accomplished via -Wl,-mfoo
7478 - # but this is not reliable with gcc because gcc may use -mfoo to
7479 - # select a different linker, different libraries, etc, while
7480 - # -Wl,-mfoo simply passes -mfoo to the linker.
7482 + # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
7483 + # -r[0-9][0-9]* specifies the processor on the SGI compiler
7484 + # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
7485 + # +DA*, +DD* enable 64-bit mode on the HP compiler
7486 + # -q* pass through compiler args for the IBM compiler
7487 + # -m* pass through architecture-specific compiler args for GCC
7488 + # -m*, -t[45]*, -txscale* pass through architecture-specific
7489 + # compiler args for GCC
7490 + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
7491 + # -F/path gives path to uninstalled frameworks, gcc on darwin
7492 + # @file GCC response files
7493 + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
7494 + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
7496 # Unknown arguments in both finalize_command and compile_command need
7497 # to be aesthetically quoted because they are evaled later.
7498 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
7499 @@ -1396,9 +1688,7 @@ EOF
7501 compile_command="$compile_command $arg"
7502 finalize_command="$finalize_command $arg"
7503 - if test "$with_gcc" = "yes" ; then
7504 - compiler_flags="$compiler_flags $arg"
7506 + compiler_flags="$compiler_flags $arg"
7510 @@ -1414,9 +1704,9 @@ EOF
7514 - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
7515 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin*)
7516 # The PATH hackery in wrapper scripts is required on Windows
7517 - # in order for the loader to find any dlls it needs.
7518 + # and Darwin in order for the loader to find any dlls it needs.
7519 $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
7520 $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
7522 @@ -1475,7 +1765,7 @@ EOF
7527 + -static | -static-libtool-libs)
7528 # The effects of -static are defined in a previous loop.
7529 # We used to do the same as -all-static on platforms that
7530 # didn't have a PIC flag, but the assumption that the effects
7531 @@ -1636,6 +1926,11 @@ EOF
7532 if test -z "$pic_object" || test "$pic_object" = none ; then
7533 arg="$non_pic_object"
7536 + # If the PIC object exists, use it instead.
7537 + # $xdir was prepended to $pic_object above.
7538 + non_pic_object="$pic_object"
7539 + non_pic_objects="$non_pic_objects $non_pic_object"
7542 # Only an error if not doing a dry-run.
7543 @@ -1741,9 +2036,9 @@ EOF
7544 if test ! -d "$output_objdir"; then
7545 $show "$mkdir $output_objdir"
7546 $run $mkdir $output_objdir
7548 - if test "$status" -ne 0 && test ! -d "$output_objdir"; then
7551 + if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then
7556 @@ -1806,7 +2101,6 @@ EOF
7558 need_relink=no # whether we're linking any uninstalled libtool libraries
7559 notinst_deplibs= # not-installed libtool libraries
7560 - notinst_path= # paths that contain not-installed libtool libraries
7564 @@ -1841,7 +2135,10 @@ EOF
7566 dlopen) libs="$dlfiles" ;;
7567 dlpreopen) libs="$dlprefiles" ;;
7568 - link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
7570 + libs="$deplibs %DEPLIBS%"
7571 + test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
7575 if test "$pass" = dlopen; then
7576 @@ -1853,12 +2150,12 @@ EOF
7580 - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
7581 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
7582 if test "$linkmode,$pass" = "prog,link"; then
7583 compile_deplibs="$deplib $compile_deplibs"
7584 finalize_deplibs="$deplib $finalize_deplibs"
7586 - deplibs="$deplib $deplibs"
7587 + compiler_flags="$compiler_flags $deplib"
7591 @@ -1867,12 +2164,13 @@ EOF
7592 $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
7595 - if test "$pass" = conv; then
7596 - deplibs="$deplib $deplibs"
7599 name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
7600 - for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
7601 + if test "$linkmode" = lib; then
7602 + searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
7604 + searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
7606 + for searchdir in $searchdirs; do
7607 for search_ext in .la $std_shrext .so .a; do
7608 # Search the libtool library
7609 lib="$searchdir/lib${name}${search_ext}"
7610 @@ -1981,7 +2279,22 @@ EOF
7614 - if test "$deplibs_check_method" != pass_all; then
7616 + case $deplibs_check_method in
7618 + set dummy $deplibs_check_method
7619 + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
7620 + if eval $echo \"$deplib\" 2>/dev/null \
7622 + | $EGREP "$match_pattern_regex" > /dev/null; then
7630 + if test "$valid_a_lib" != yes; then
7632 $echo "*** Warning: Trying to link with static lib archive $deplib."
7633 $echo "*** I have the capability to make that library automatically link in when"
7634 @@ -2031,7 +2344,7 @@ EOF
7636 if test "$found" = yes || test -f "$lib"; then :
7638 - $echo "$modename: cannot find the library \`$lib'" 1>&2
7639 + $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2
7643 @@ -2055,6 +2368,8 @@ EOF
7644 # it will not redefine variables installed, or shouldnotlink
7652 @@ -2153,11 +2468,19 @@ EOF
7656 + test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
7658 - dir="$ladir/$objdir"
7659 - absdir="$abs_ladir/$objdir"
7660 - # Remove this search path later
7661 - notinst_path="$notinst_path $abs_ladir"
7662 + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
7664 + absdir="$abs_ladir"
7665 + # Remove this search path later
7666 + notinst_path="$notinst_path $abs_ladir"
7668 + dir="$ladir/$objdir"
7669 + absdir="$abs_ladir/$objdir"
7670 + # Remove this search path later
7671 + notinst_path="$notinst_path $abs_ladir"
7673 fi # $installed = yes
7674 name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
7676 @@ -2228,14 +2551,16 @@ EOF
7678 if test "$linkmode,$pass" = "prog,link"; then
7679 if test -n "$library_names" &&
7680 - { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
7681 + { { test "$prefer_static_libs" = no ||
7682 + test "$prefer_static_libs,$installed" = "built,yes"; } ||
7683 + test -z "$old_library"; }; then
7684 # We need to hardcode the library path
7685 - if test -n "$shlibpath_var"; then
7686 + if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
7687 # Make sure the rpath contains only unique directories.
7688 case "$temp_rpath " in
7691 - *) temp_rpath="$temp_rpath $dir" ;;
7692 + *) temp_rpath="$temp_rpath $absdir" ;;
7696 @@ -2272,8 +2597,12 @@ EOF
7699 link_static=no # Whether the deplib will be linked statically
7700 + use_static_libs=$prefer_static_libs
7701 + if test "$use_static_libs" = built && test "$installed" = yes ; then
7702 + use_static_libs=no
7704 if test -n "$library_names" &&
7705 - { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
7706 + { test "$use_static_libs" = no || test -z "$old_library"; }; then
7707 if test "$installed" = no; then
7708 notinst_deplibs="$notinst_deplibs $lib"
7710 @@ -2386,11 +2715,15 @@ EOF
7711 if test "$hardcode_direct" = no; then
7714 - *-*-sco3.2v5* ) add_dir="-L$dir" ;;
7715 + *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
7716 + *-*-sysv4*uw2*) add_dir="-L$dir" ;;
7717 + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
7718 + *-*-unixware7*) add_dir="-L$dir" ;;
7720 # if the lib is a module then we can not link against
7721 # it, someone is ignoring the new warnings I added
7722 - if /usr/bin/file -L $add 2> /dev/null | $EGREP "bundle" >/dev/null ; then
7723 + if /usr/bin/file -L $add 2> /dev/null |
7724 + $EGREP ": [^:]* bundle" >/dev/null ; then
7725 $echo "** Warning, lib $linklib is a module, not a shared library"
7726 if test -z "$old_library" ; then
7728 @@ -2421,7 +2754,7 @@ EOF
7730 # Try looking first in the location we're being installed to.
7731 if test -n "$inst_prefix_dir"; then
7735 add_dir="$add_dir -L$inst_prefix_dir$libdir"
7737 @@ -2494,7 +2827,7 @@ EOF
7739 # Try looking first in the location we're being installed to.
7740 if test -n "$inst_prefix_dir"; then
7744 add_dir="$add_dir -L$inst_prefix_dir$libdir"
7746 @@ -2555,8 +2888,6 @@ EOF
7750 - convenience="$convenience $dir/$old_library"
7751 - old_convenience="$old_convenience $dir/$old_library"
7752 deplibs="$dir/$old_library $deplibs"
7755 @@ -2635,12 +2966,18 @@ EOF
7756 # we do not want to link against static libs,
7757 # but need to link against shared
7758 eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
7759 + eval deplibdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
7760 if test -n "$deplibrary_names" ; then
7761 for tmp in $deplibrary_names ; do
7764 - if test -f "$path/$depdepl" ; then
7765 + if test -f "$deplibdir/$depdepl" ; then
7766 + depdepl="$deplibdir/$depdepl"
7767 + elif test -f "$path/$depdepl" ; then
7768 depdepl="$path/$depdepl"
7770 + # Can't find it, oh well...
7773 # do not add paths which are already there
7774 case " $newlib_search_path " in
7775 @@ -2674,12 +3011,12 @@ EOF
7778 case " $deplibs " in
7779 - *" $depdepl "*) ;;
7780 - *) deplibs="$depdepl $deplibs" ;;
7782 + *) deplibs="$path $deplibs" ;;
7784 case " $deplibs " in
7786 - *) deplibs="$deplibs $path" ;;
7787 + *" $depdepl "*) ;;
7788 + *) deplibs="$depdepl $deplibs" ;;
7791 fi # link_all_deplibs != no
7792 @@ -2788,9 +3125,10 @@ EOF
7796 - if test -n "$deplibs"; then
7797 - $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
7799 + case " $deplibs" in
7801 + $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 ;;
7804 if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
7805 $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
7806 @@ -2918,7 +3256,7 @@ EOF
7807 # which has an extra 1 added just for fun
7809 case $version_type in
7810 - darwin|linux|osf|windows)
7811 + darwin|linux|osf|windows|none)
7812 current=`expr $number_major + $number_minor`
7814 revision="$number_revision"
7815 @@ -2929,9 +3267,15 @@ EOF
7819 - current=`expr $number_major + $number_minor - 1`
7820 + current=`expr $number_major + $number_minor`
7822 revision="$number_minor"
7823 + lt_irix_increment=no
7826 + $echo "$modename: unknown library version type \`$version_type'" 1>&2
7827 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
7828 + exit $EXIT_FAILURE
7832 @@ -2944,27 +3288,27 @@ EOF
7834 # Check that each of the things are valid numbers.
7837 + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
7839 - $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
7840 + $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2
7841 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
7848 + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
7850 - $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
7851 + $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2
7852 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
7859 + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
7861 - $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
7862 + $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2
7863 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
7866 @@ -2990,6 +3334,7 @@ EOF
7867 versuffix="$major.$age.$revision"
7868 # Darwin ld doesn't like 0 for these options...
7869 minor_current=`expr $current + 1`
7870 + xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
7871 verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
7874 @@ -3004,8 +3349,11 @@ EOF
7878 - major=`expr $current - $age + 1`
7880 + if test "X$lt_irix_increment" = "Xno"; then
7881 + major=`expr $current - $age`
7883 + major=`expr $current - $age + 1`
7885 case $version_type in
7886 nonstopux) verstring_prefix=nonstopux ;;
7887 *) verstring_prefix=sgi ;;
7888 @@ -3142,11 +3490,11 @@ EOF
7891 # Eliminate all temporary directories.
7892 - for path in $notinst_path; do
7893 - lib_search_path=`$echo "$lib_search_path " | ${SED} -e 's% $path % %g'`
7894 - deplibs=`$echo "$deplibs " | ${SED} -e 's% -L$path % %g'`
7895 - dependency_libs=`$echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'`
7897 + #for path in $notinst_path; do
7898 + # lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
7899 + # deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
7900 + # dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
7903 if test -n "$xrpath"; then
7904 # If the user specified any rpath flags, then add them.
7905 @@ -3196,9 +3544,14 @@ EOF
7907 # Don't link with libc until the a.out ld.so is fixed.
7909 - *-*-openbsd* | *-*-freebsd*)
7910 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
7911 # Do not include libc due to us having libc/libc_r.
7912 - test "X$arg" = "X-lc" && continue
7914 + *-*-sco3.2v5* | *-*-sco5v6*)
7915 + # Causes problems with __ctype
7917 + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
7918 + # Compiler inserts libc in the correct place for threads to work
7921 # Add libc to deplibs on all other systems if necessary.
7922 @@ -3242,13 +3595,12 @@ EOF
7923 int main() { return 0; }
7926 - $LTCC -o conftest conftest.c $deplibs
7927 - if test "$?" -eq 0 ; then
7928 + if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
7929 ldd_output=`ldd conftest`
7930 for i in $deplibs; do
7931 - name="`expr $i : '-l\(.*\)'`"
7932 + name=`expr $i : '-l\(.*\)'`
7933 # If $name is empty we are operating on a -L argument.
7934 - if test "$name" != "" && test "$name" -ne "0"; then
7935 + if test "$name" != "" && test "$name" != "0"; then
7936 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
7937 case " $predeps $postdeps " in
7939 @@ -3283,13 +3635,11 @@ EOF
7940 # Error occurred in the first compile. Let's try to salvage
7941 # the situation: Compile a separate program for each library.
7942 for i in $deplibs; do
7943 - name="`expr $i : '-l\(.*\)'`"
7944 + name=`expr $i : '-l\(.*\)'`
7945 # If $name is empty we are operating on a -L argument.
7946 if test "$name" != "" && test "$name" != "0"; then
7948 - $LTCC -o conftest conftest.c $i
7950 - if test "$?" -eq 0 ; then
7951 + if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
7952 ldd_output=`ldd conftest`
7953 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
7954 case " $predeps $postdeps " in
7955 @@ -3321,7 +3671,7 @@ EOF
7958 $echo "*** Warning! Library $i is needed by this library but I was not able to"
7959 - $echo "*** make it link in! You will probably need to install it or some"
7960 + $echo "*** make it link in! You will probably need to install it or some"
7961 $echo "*** library that it depends on before this library will be fully"
7962 $echo "*** functional. Installing it before continuing would be even better."
7964 @@ -3335,7 +3685,7 @@ EOF
7965 set dummy $deplibs_check_method
7966 file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
7967 for a_deplib in $deplibs; do
7968 - name="`expr $a_deplib : '-l\(.*\)'`"
7969 + name=`expr $a_deplib : '-l\(.*\)'`
7970 # If $name is empty we are operating on a -L argument.
7971 if test "$name" != "" && test "$name" != "0"; then
7972 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
7973 @@ -3404,7 +3754,7 @@ EOF
7974 set dummy $deplibs_check_method
7975 match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
7976 for a_deplib in $deplibs; do
7977 - name="`expr $a_deplib : '-l\(.*\)'`"
7978 + name=`expr $a_deplib : '-l\(.*\)'`
7979 # If $name is empty we are operating on a -L argument.
7980 if test -n "$name" && test "$name" != "0"; then
7981 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
7982 @@ -3534,6 +3884,35 @@ EOF
7987 + # move library search paths that coincide with paths to not yet
7988 + # installed libraries to the beginning of the library search list
7990 + for path in $notinst_path; do
7991 + case " $new_libs " in
7992 + *" -L$path/$objdir "*) ;;
7994 + case " $deplibs " in
7995 + *" -L$path/$objdir "*)
7996 + new_libs="$new_libs -L$path/$objdir" ;;
8001 + for deplib in $deplibs; do
8004 + case " $new_libs " in
8006 + *) new_libs="$new_libs $deplib" ;;
8009 + *) new_libs="$new_libs $deplib" ;;
8012 + deplibs="$new_libs"
8015 # All the library-specific variables (install_libdir is set above).
8018 @@ -3578,7 +3957,10 @@ EOF
8019 test -n "$hardcode_libdirs"; then
8020 libdir="$hardcode_libdirs"
8021 if test -n "$hardcode_libdir_flag_spec_ld"; then
8022 - eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
8023 + case $archive_cmds in
8024 + *\$LD*) eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" ;;
8025 + *) eval dep_rpath=\"$hardcode_libdir_flag_spec\" ;;
8028 eval dep_rpath=\"$hardcode_libdir_flag_spec\"
8030 @@ -3617,6 +3999,7 @@ EOF
8033 lib="$output_objdir/$realname"
8037 linknames="$linknames $link"
8038 @@ -3645,6 +4028,9 @@ EOF
8039 # The command line is too long to execute in one step.
8040 $show "using reloadable object file for export list..."
8042 + # Break out early, otherwise skipped_export may be
8043 + # set to false by a later but shorter cmd.
8048 @@ -3678,67 +4064,13 @@ EOF
8049 eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
8051 gentop="$output_objdir/${outputname}x"
8052 - $show "${rm}r $gentop"
8053 - $run ${rm}r "$gentop"
8054 - $show "$mkdir $gentop"
8055 - $run $mkdir "$gentop"
8057 - if test "$status" -ne 0 && test ! -d "$gentop"; then
8060 generated="$generated $gentop"
8062 - for xlib in $convenience; do
8063 - # Extract the objects.
8065 - [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
8066 - *) xabs=`pwd`"/$xlib" ;;
8068 - xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
8069 - xdir="$gentop/$xlib"
8071 - $show "${rm}r $xdir"
8072 - $run ${rm}r "$xdir"
8073 - $show "$mkdir $xdir"
8074 - $run $mkdir "$xdir"
8076 - if test "$status" -ne 0 && test ! -d "$xdir"; then
8079 - # We will extract separately just the conflicting names and we will no
8080 - # longer touch any unique names. It is faster to leave these extract
8081 - # automatically by $AR in one run.
8082 - $show "(cd $xdir && $AR x $xabs)"
8083 - $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
8084 - if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
8087 - $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
8088 - $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
8089 - $AR t "$xabs" | sort | uniq -cd | while read -r count name
8092 - while test "$i" -le "$count"
8094 - # Put our $i before any first dot (extension)
8095 - # Never overwrite any file
8097 - while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
8099 - name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
8101 - $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
8102 - $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
8108 - libobjs="$libobjs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
8110 + func_extract_archives $gentop $convenience
8111 + libobjs="$libobjs $func_extract_archives_result"
8116 if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
8117 eval flag=\"$thread_safe_flag_spec\"
8118 linker_flags="$linker_flags $flag"
8119 @@ -3768,7 +4100,8 @@ EOF
8123 - if test "X$skipped_export" != "X:" && len=`expr "X$test_cmds" : ".*"` &&
8124 + if test "X$skipped_export" != "X:" &&
8125 + len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
8126 test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
8129 @@ -3787,6 +4120,7 @@ EOF
8130 save_libobjs=$libobjs
8133 + output_la=`$echo "X$output" | $Xsed -e "$basename"`
8135 # Clear the reloadable object creation command queue and
8136 # initialize k to one.
8137 @@ -3796,13 +4130,13 @@ EOF
8141 - output=$output_objdir/$save_output-${k}.$objext
8142 + output=$output_objdir/$output_la-${k}.$objext
8143 # Loop over the list of objects to be linked.
8144 for obj in $save_libobjs
8146 eval test_cmds=\"$reload_cmds $objlist $last_robj\"
8147 if test "X$objlist" = X ||
8148 - { len=`expr "X$test_cmds" : ".*"` &&
8149 + { len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
8150 test "$len" -le "$max_cmd_len"; }; then
8151 objlist="$objlist $obj"
8153 @@ -3816,9 +4150,9 @@ EOF
8154 # the last one created.
8155 eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\"
8157 - last_robj=$output_objdir/$save_output-${k}.$objext
8158 + last_robj=$output_objdir/$output_la-${k}.$objext
8160 - output=$output_objdir/$save_output-${k}.$objext
8161 + output=$output_objdir/$output_la-${k}.$objext
8165 @@ -3838,13 +4172,13 @@ EOF
8166 eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\"
8169 - # Set up a command to remove the reloadale object files
8170 + # Set up a command to remove the reloadable object files
8171 # after they are used.
8173 while test "$i" -lt "$k"
8176 - delfiles="$delfiles $output_objdir/$save_output-${i}.$objext"
8177 + delfiles="$delfiles $output_objdir/$output_la-${i}.$objext"
8180 $echo "creating a temporary reloadable object file: $output"
8181 @@ -3892,13 +4226,30 @@ EOF
8185 - $run eval "$cmd" || exit $?
8186 + $run eval "$cmd" || {
8189 + # Restore the uninstalled library and exit
8190 + if test "$mode" = relink; then
8191 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
8199 # Restore the uninstalled library and exit
8200 if test "$mode" = relink; then
8201 $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
8203 + if test -n "$convenience"; then
8204 + if test -z "$whole_archive_flag_spec"; then
8205 + $show "${rm}r $gentop"
8206 + $run ${rm}r "$gentop"
8213 @@ -3919,9 +4270,10 @@ EOF
8217 - if test -n "$deplibs"; then
8218 - $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
8220 + case " $deplibs" in
8222 + $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 ;;
8225 if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
8226 $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
8227 @@ -3968,72 +4320,20 @@ EOF
8230 # reload_cmds runs $LD directly, so let us get rid of
8231 - # -Wl from whole_archive_flag_spec
8232 + # -Wl from whole_archive_flag_spec and hope we can get by with
8233 + # turning comma into space..
8236 if test -n "$convenience"; then
8237 if test -n "$whole_archive_flag_spec"; then
8238 - eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\"
8239 + eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
8240 + reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
8242 gentop="$output_objdir/${obj}x"
8243 - $show "${rm}r $gentop"
8244 - $run ${rm}r "$gentop"
8245 - $show "$mkdir $gentop"
8246 - $run $mkdir "$gentop"
8248 - if test "$status" -ne 0 && test ! -d "$gentop"; then
8251 generated="$generated $gentop"
8253 - for xlib in $convenience; do
8254 - # Extract the objects.
8256 - [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
8257 - *) xabs=`pwd`"/$xlib" ;;
8259 - xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
8260 - xdir="$gentop/$xlib"
8262 - $show "${rm}r $xdir"
8263 - $run ${rm}r "$xdir"
8264 - $show "$mkdir $xdir"
8265 - $run $mkdir "$xdir"
8267 - if test "$status" -ne 0 && test ! -d "$xdir"; then
8270 - # We will extract separately just the conflicting names and we will no
8271 - # longer touch any unique names. It is faster to leave these extract
8272 - # automatically by $AR in one run.
8273 - $show "(cd $xdir && $AR x $xabs)"
8274 - $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
8275 - if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
8278 - $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
8279 - $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
8280 - $AR t "$xabs" | sort | uniq -cd | while read -r count name
8283 - while test "$i" -le "$count"
8285 - # Put our $i before any first dot (extension)
8286 - # Never overwrite any file
8288 - while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
8290 - name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
8292 - $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
8293 - $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
8299 - reload_conv_objs="$reload_objs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
8301 + func_extract_archives $gentop $convenience
8302 + reload_conv_objs="$reload_objs $func_extract_archives_result"
8306 @@ -4134,6 +4434,35 @@ EOF
8311 + # move library search paths that coincide with paths to not yet
8312 + # installed libraries to the beginning of the library search list
8314 + for path in $notinst_path; do
8315 + case " $new_libs " in
8316 + *" -L$path/$objdir "*) ;;
8318 + case " $compile_deplibs " in
8319 + *" -L$path/$objdir "*)
8320 + new_libs="$new_libs -L$path/$objdir" ;;
8325 + for deplib in $compile_deplibs; do
8328 + case " $new_libs " in
8330 + *) new_libs="$new_libs $deplib" ;;
8333 + *) new_libs="$new_libs $deplib" ;;
8336 + compile_deplibs="$new_libs"
8339 compile_command="$compile_command $compile_deplibs"
8340 finalize_command="$finalize_command $finalize_deplibs"
8342 @@ -4178,10 +4507,15 @@ EOF
8345 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
8346 + testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'`
8347 case :$dllsearchpath: in
8349 *) dllsearchpath="$dllsearchpath:$libdir";;
8351 + case :$dllsearchpath: in
8352 + *":$testbindir:"*) ;;
8353 + *) dllsearchpath="$dllsearchpath:$testbindir";;
8358 @@ -4295,13 +4629,25 @@ extern \"C\" {
8360 # Prepare the list of exported symbols
8361 if test -z "$export_symbols"; then
8362 - export_symbols="$output_objdir/$output.exp"
8363 + export_symbols="$output_objdir/$outputname.exp"
8364 $run $rm $export_symbols
8365 - $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
8366 + $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
8368 + *cygwin* | *mingw* )
8369 + $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
8370 + $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
8374 - $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
8375 - $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T'
8376 + $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
8377 + $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
8378 $run eval 'mv "$nlist"T "$nlist"'
8380 + *cygwin* | *mingw* )
8381 + $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
8382 + $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
8388 @@ -4352,7 +4698,26 @@ extern \"C\" {
8391 /* The mapping between symbol names and symbols. */
8395 + *cygwin* | *mingw* )
8396 + $echo >> "$output_objdir/$dlsyms" "\
8397 +/* DATA imports from DLLs on WIN32 can't be const, because
8398 + runtime relocations are performed -- see ld's documentation
8399 + on pseudo-relocs */
8404 + $echo >> "$output_objdir/$dlsyms" "\
8411 + $echo >> "$output_objdir/$dlsyms" "\
8415 @@ -4399,16 +4764,29 @@ static const void *lt_preloaded_setup() {
8418 # Now compile the dynamic symbol file.
8419 - $show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
8420 - $run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
8421 + $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
8422 + $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
8424 # Clean up the generated files.
8425 $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
8426 $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
8428 # Transform the symbol file into the correct name.
8429 - compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
8430 - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
8432 + *cygwin* | *mingw* )
8433 + if test -f "$output_objdir/${outputname}.def" ; then
8434 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
8435 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
8437 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
8438 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
8442 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
8443 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
8448 $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
8449 @@ -4421,19 +4799,19 @@ static const void *lt_preloaded_setup() {
8450 # really was required.
8452 # Nullify the symbol file.
8453 - compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
8454 - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
8455 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
8456 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
8459 if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
8460 # Replace the output file specification.
8461 - compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
8462 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP`
8463 link_command="$compile_command$compile_rpath"
8465 # We have no uninstalled library dependencies, so finalize right now.
8466 $show "$link_command"
8467 $run eval "$link_command"
8471 # Delete the generated files.
8472 if test -n "$dlsyms"; then
8473 @@ -4441,7 +4819,7 @@ static const void *lt_preloaded_setup() {
8474 $run $rm "$output_objdir/${outputname}S.${objext}"
8481 if test -n "$shlibpath_var"; then
8482 @@ -4514,7 +4892,7 @@ static const void *lt_preloaded_setup() {
8483 if test "$fast_install" != no; then
8484 link_command="$finalize_var$compile_command$finalize_rpath"
8485 if test "$fast_install" = yes; then
8486 - relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
8487 + relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP`
8489 # fast_install is set to needless
8491 @@ -4551,7 +4929,7 @@ static const void *lt_preloaded_setup() {
8494 relink_command="(cd `pwd`; $relink_command)"
8495 - relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
8496 + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
8499 # Quote $echo for shipping.
8500 @@ -4581,10 +4959,12 @@ static const void *lt_preloaded_setup() {
8503 *cygwin* | *mingw* )
8504 - cwrappersource=`$echo ${objdir}/lt-${output}.c`
8505 - cwrapper=`$echo ${output}.exe`
8506 - $rm $cwrappersource $cwrapper
8507 - trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
8508 + output_name=`basename $output`
8509 + output_path=`dirname $output`
8510 + cwrappersource="$output_path/$objdir/lt-$output_name.c"
8511 + cwrapper="$output_path/$output_name.exe"
8512 + $rm $cwrappersource $cwrapper
8513 + trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
8515 cat > $cwrappersource <<EOF
8517 @@ -4609,6 +4989,9 @@ EOF
8521 +#include <string.h>
8523 +#include <sys/stat.h>
8525 #if defined(PATH_MAX)
8526 # define LT_PATHMAX PATH_MAX
8527 @@ -4619,15 +5002,19 @@ EOF
8530 #ifndef DIR_SEPARATOR
8531 -#define DIR_SEPARATOR '/'
8532 +# define DIR_SEPARATOR '/'
8533 +# define PATH_SEPARATOR ':'
8536 #if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
8538 -#define HAVE_DOS_BASED_FILE_SYSTEM
8539 -#ifndef DIR_SEPARATOR_2
8540 -#define DIR_SEPARATOR_2 '\\'
8542 +# define HAVE_DOS_BASED_FILE_SYSTEM
8543 +# ifndef DIR_SEPARATOR_2
8544 +# define DIR_SEPARATOR_2 '\\'
8546 +# ifndef PATH_SEPARATOR_2
8547 +# define PATH_SEPARATOR_2 ';'
8551 #ifndef DIR_SEPARATOR_2
8552 @@ -4637,17 +5024,32 @@ EOF
8553 (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
8554 #endif /* DIR_SEPARATOR_2 */
8556 +#ifndef PATH_SEPARATOR_2
8557 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
8558 +#else /* PATH_SEPARATOR_2 */
8559 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
8560 +#endif /* PATH_SEPARATOR_2 */
8562 #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
8563 #define XFREE(stale) do { \
8564 if (stale) { free ((void *) stale); stale = 0; } \
8567 +/* -DDEBUG is fairly common in CFLAGS. */
8569 +#if defined DEBUGWRAPPER
8570 +# define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__)
8572 +# define DEBUG(format, ...)
8575 const char *program_name = NULL;
8577 void * xmalloc (size_t num);
8578 char * xstrdup (const char *string);
8579 -char * basename (const char *name);
8580 -char * fnqualify(const char *path);
8581 +const char * base_name (const char *name);
8582 +char * find_executable(const char *wrapper);
8583 +int check_executable(const char *path);
8584 char * strendzap(char *str, const char *pat);
8585 void lt_fatal (const char *message, ...);
8587 @@ -4657,29 +5059,51 @@ main (int argc, char *argv[])
8591 - program_name = (char *) xstrdup ((char *) basename (argv[0]));
8592 + program_name = (char *) xstrdup (base_name (argv[0]));
8593 + DEBUG("(main) argv[0] : %s\n",argv[0]);
8594 + DEBUG("(main) program_name : %s\n",program_name);
8595 newargz = XMALLOC(char *, argc+2);
8598 - cat >> $cwrappersource <<EOF
8599 - newargz[0] = "$SHELL";
8600 + cat >> $cwrappersource <<EOF
8601 + newargz[0] = (char *) xstrdup("$SHELL");
8604 - cat >> $cwrappersource <<"EOF"
8605 - newargz[1] = fnqualify(argv[0]);
8606 + cat >> $cwrappersource <<"EOF"
8607 + newargz[1] = find_executable(argv[0]);
8608 + if (newargz[1] == NULL)
8609 + lt_fatal("Couldn't find %s", argv[0]);
8610 + DEBUG("(main) found exe at : %s\n",newargz[1]);
8611 /* we know the script has the same name, without the .exe */
8612 /* so make sure newargz[1] doesn't end in .exe */
8613 strendzap(newargz[1],".exe");
8614 for (i = 1; i < argc; i++)
8615 newargz[i+1] = xstrdup(argv[i]);
8616 newargz[argc+1] = NULL;
8618 + for (i=0; i<argc+1; i++)
8620 + DEBUG("(main) newargz[%d] : %s\n",i,newargz[i]);
8626 - cat >> $cwrappersource <<EOF
8629 + cat >> $cwrappersource <<EOF
8630 + execv("$SHELL",(char const **)newargz);
8634 + cat >> $cwrappersource <<EOF
8635 execv("$SHELL",newargz);
8640 - cat >> $cwrappersource <<"EOF"
8641 + cat >> $cwrappersource <<"EOF"
8646 @@ -4699,48 +5123,148 @@ xstrdup (const char *string)
8651 -basename (const char *name)
8653 +base_name (const char *name)
8657 #if defined (HAVE_DOS_BASED_FILE_SYSTEM)
8658 /* Skip over the disk name in MSDOS pathnames. */
8659 - if (isalpha (name[0]) && name[1] == ':')
8660 + if (isalpha ((unsigned char)name[0]) && name[1] == ':')
8664 for (base = name; *name; name++)
8665 if (IS_DIR_SEPARATOR (*name))
8667 - return (char *) base;
8672 +check_executable(const char * path)
8676 + DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!");
8677 + if ((!path) || (!*path))
8680 + if ((stat (path, &st) >= 0) &&
8682 + /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */
8683 +#if defined (S_IXOTH)
8684 + ((st.st_mode & S_IXOTH) == S_IXOTH) ||
8686 +#if defined (S_IXGRP)
8687 + ((st.st_mode & S_IXGRP) == S_IXGRP) ||
8689 + ((st.st_mode & S_IXUSR) == S_IXUSR))
8696 +/* Searches for the full path of the wrapper. Returns
8697 + newly allocated full path name if found, NULL otherwise */
8699 -fnqualify(const char *path)
8700 +find_executable (const char* wrapper)
8704 + int has_slash = 0;
8706 + const char* p_next;
8707 + /* static buffer for getcwd */
8708 char tmp[LT_PATHMAX + 1];
8710 + char* concat_name;
8712 + DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!");
8714 - assert(path != NULL);
8715 + if ((wrapper == NULL) || (*wrapper == '\0'))
8718 - /* Is it qualified already? */
8719 + /* Absolute path? */
8720 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
8721 + if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':')
8723 + concat_name = xstrdup (wrapper);
8724 + if (check_executable(concat_name))
8725 + return concat_name;
8726 + XFREE(concat_name);
8731 + if (IS_DIR_SEPARATOR (wrapper[0]))
8733 + concat_name = xstrdup (wrapper);
8734 + if (check_executable(concat_name))
8735 + return concat_name;
8736 + XFREE(concat_name);
8738 #if defined (HAVE_DOS_BASED_FILE_SYSTEM)
8739 - if (isalpha (path[0]) && path[1] == ':')
8740 - return xstrdup (path);
8743 - if (IS_DIR_SEPARATOR (path[0]))
8744 - return xstrdup (path);
8746 - /* prepend the current directory */
8747 - /* doesn't handle '~' */
8748 + for (p = wrapper; *p; p++)
8756 + /* no slashes; search PATH */
8757 + const char* path = getenv ("PATH");
8760 + for (p = path; *p; p = p_next)
8764 + for (q = p; *q; q++)
8765 + if (IS_PATH_SEPARATOR(*q))
8768 + p_next = (*q == '\0' ? q : q + 1);
8771 + /* empty path: current directory */
8772 + if (getcwd (tmp, LT_PATHMAX) == NULL)
8773 + lt_fatal ("getcwd failed");
8774 + tmp_len = strlen(tmp);
8775 + concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
8776 + memcpy (concat_name, tmp, tmp_len);
8777 + concat_name[tmp_len] = '/';
8778 + strcpy (concat_name + tmp_len + 1, wrapper);
8782 + concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1);
8783 + memcpy (concat_name, p, p_len);
8784 + concat_name[p_len] = '/';
8785 + strcpy (concat_name + p_len + 1, wrapper);
8787 + if (check_executable(concat_name))
8788 + return concat_name;
8789 + XFREE(concat_name);
8792 + /* not found in PATH; assume curdir */
8794 + /* Relative path | not found in path: prepend cwd */
8795 if (getcwd (tmp, LT_PATHMAX) == NULL)
8796 lt_fatal ("getcwd failed");
8797 - size = strlen(tmp) + 1 + strlen(path) + 1; /* +2 for '/' and '\0' */
8798 - p = XMALLOC(char, size);
8799 - sprintf(p, "%s%c%s", tmp, DIR_SEPARATOR, path);
8801 + tmp_len = strlen(tmp);
8802 + concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
8803 + memcpy (concat_name, tmp, tmp_len);
8804 + concat_name[tmp_len] = '/';
8805 + strcpy (concat_name + tmp_len + 1, wrapper);
8807 + if (check_executable(concat_name))
8808 + return concat_name;
8809 + XFREE(concat_name);
8814 @@ -4784,16 +5308,16 @@ lt_fatal (const char *message, ...)
8818 - # we should really use a build-platform specific compiler
8819 - # here, but OTOH, the wrappers (shell script and this C one)
8820 - # are only useful if you want to execute the "real" binary.
8821 - # Since the "real" binary is built for $host, then this
8822 - # wrapper might as well be built for $host, too.
8823 - $run $LTCC -s -o $cwrapper $cwrappersource
8827 - trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
8828 + # we should really use a build-platform specific compiler
8829 + # here, but OTOH, the wrappers (shell script and this C one)
8830 + # are only useful if you want to execute the "real" binary.
8831 + # Since the "real" binary is built for $host, then this
8832 + # wrapper might as well be built for $host, too.
8833 + $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource
8837 + trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
8841 @@ -4812,9 +5336,23 @@ EOF
8842 Xsed='${SED} -e 1s/^X//'
8843 sed_quote_subst='$sed_quote_subst'
8845 +# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
8846 +if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
8849 + # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
8850 + # is contrary to our usage. Disable this feature.
8851 + alias -g '\${1+\"\$@\"}'='\"\$@\"'
8852 + setopt NO_GLOB_SUBST
8854 + case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
8856 +BIN_SH=xpg4; export BIN_SH # for Tru64
8857 +DUALCASE=1; export DUALCASE # for MKS sh
8859 # The HP-UX ksh and POSIX shell print the target directory to stdout
8861 -if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi
8862 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8864 relink_command=\"$relink_command\"
8866 @@ -4943,23 +5481,23 @@ else
8867 # Backslashes separate directories on plain windows
8868 *-*-mingw | *-*-os2*)
8870 - exec \$progdir\\\\\$program \${1+\"\$@\"}
8871 + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
8877 - exec \$progdir/\$program \${1+\"\$@\"}
8878 + exec \"\$progdir/\$program\" \${1+\"\$@\"}
8883 - \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\"
8884 + \$echo \"\$0: cannot exec \$program \$*\"
8888 # The program doesn't exist.
8889 - \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2
8890 + \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
8891 \$echo \"This script is just a wrapper for \$program.\" 1>&2
8892 $echo \"See the $PACKAGE documentation for more information.\" 1>&2
8894 @@ -4991,71 +5529,73 @@ fi\
8896 if test -n "$addlibs"; then
8897 gentop="$output_objdir/${outputname}x"
8898 - $show "${rm}r $gentop"
8899 - $run ${rm}r "$gentop"
8900 - $show "$mkdir $gentop"
8901 - $run $mkdir "$gentop"
8903 - if test "$status" -ne 0 && test ! -d "$gentop"; then
8906 generated="$generated $gentop"
8908 - # Add in members from convenience archives.
8909 - for xlib in $addlibs; do
8910 - # Extract the objects.
8912 - [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
8913 - *) xabs=`pwd`"/$xlib" ;;
8915 - xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
8916 - xdir="$gentop/$xlib"
8918 - $show "${rm}r $xdir"
8919 - $run ${rm}r "$xdir"
8920 - $show "$mkdir $xdir"
8921 - $run $mkdir "$xdir"
8923 - if test "$status" -ne 0 && test ! -d "$xdir"; then
8926 - # We will extract separately just the conflicting names and we will no
8927 - # longer touch any unique names. It is faster to leave these extract
8928 - # automatically by $AR in one run.
8929 - $show "(cd $xdir && $AR x $xabs)"
8930 - $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
8931 - if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
8934 - $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
8935 - $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
8936 - $AR t "$xabs" | sort | uniq -cd | while read -r count name
8939 - while test "$i" -le "$count"
8941 - # Put our $i before any first dot (extension)
8942 - # Never overwrite any file
8944 - while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
8946 - name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
8948 - $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
8949 - $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
8955 - oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP`
8957 + func_extract_archives $gentop $addlibs
8958 + oldobjs="$oldobjs $func_extract_archives_result"
8961 # Do each command in the archive commands.
8962 if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
8963 cmds=$old_archive_from_new_cmds
8965 + # POSIX demands no paths to be encoded in archives. We have
8966 + # to avoid creating archives with duplicate basenames if we
8967 + # might have to extract them afterwards, e.g., when creating a
8968 + # static archive out of a convenience library, or when linking
8969 + # the entirety of a libtool archive into another (currently
8970 + # not supported by libtool).
8971 + if (for obj in $oldobjs
8973 + $echo "X$obj" | $Xsed -e 's%^.*/%%'
8974 + done | sort | sort -uc >/dev/null 2>&1); then
8977 + $echo "copying selected object files to avoid basename conflicts..."
8979 + if test -z "$gentop"; then
8980 + gentop="$output_objdir/${outputname}x"
8981 + generated="$generated $gentop"
8983 + $show "${rm}r $gentop"
8984 + $run ${rm}r "$gentop"
8985 + $show "$mkdir $gentop"
8986 + $run $mkdir "$gentop"
8988 + if test "$exit_status" -ne 0 && test ! -d "$gentop"; then
8993 + save_oldobjs=$oldobjs
8996 + for obj in $save_oldobjs
8998 + objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
8999 + case " $oldobjs " in
9000 + " ") oldobjs=$obj ;;
9001 + *[\ /]"$objbase "*)
9003 + # Make sure we don't pick an alternate name that also
9005 + newobj=lt$counter-$objbase
9006 + counter=`expr $counter + 1`
9007 + case " $oldobjs " in
9008 + *[\ /]"$newobj "*) ;;
9009 + *) if test ! -f "$gentop/$newobj"; then break; fi ;;
9012 + $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
9013 + $run ln "$obj" "$gentop/$newobj" ||
9014 + $run cp "$obj" "$gentop/$newobj"
9015 + oldobjs="$oldobjs $gentop/$newobj"
9017 + *) oldobjs="$oldobjs $obj" ;;
9022 eval cmds=\"$old_archive_cmds\"
9024 if len=`expr "X$cmds" : ".*"` &&
9025 @@ -5069,20 +5609,7 @@ fi\
9028 save_oldobjs=$oldobjs
9029 - # GNU ar 2.10+ was changed to match POSIX; thus no paths are
9030 - # encoded into archives. This makes 'ar r' malfunction in
9031 - # this piecewise linking case whenever conflicting object
9032 - # names appear in distinct ar calls; check, warn and compensate.
9033 - if (for obj in $save_oldobjs
9035 - $echo "X$obj" | $Xsed -e 's%^.*/%%'
9036 - done | sort | sort -uc >/dev/null 2>&1); then
9039 - $echo "$modename: warning: object name conflicts; overriding AR_FLAGS to 'cq'" 1>&2
9040 - $echo "$modename: warning: to ensure that POSIX-compatible ar will work" 1>&2
9044 # Is there a better way of finding the last object in the list?
9045 for obj in $save_oldobjs
9047 @@ -5093,7 +5620,7 @@ fi\
9048 oldobjs="$objlist $obj"
9049 objlist="$objlist $obj"
9050 eval test_cmds=\"$old_archive_cmds\"
9051 - if len=`expr "X$test_cmds" : ".*"` &&
9052 + if len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
9053 test "$len" -le "$max_cmd_len"; then
9056 @@ -5151,7 +5678,7 @@ fi\
9058 # Quote the link command for shipping.
9059 relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
9060 - relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
9061 + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
9062 if test "$hardcode_automatic" = yes ; then
9065 @@ -5290,11 +5817,11 @@ relink_command=\"$relink_command\""
9066 # install_prog (especially on Windows NT).
9067 if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
9068 # Allow the use of GNU shtool's install command.
9069 - $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then
9070 + $echo "X$nonopt" | grep shtool > /dev/null; then
9071 # Aesthetically quote it.
9072 arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
9074 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
9075 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
9079 @@ -5303,14 +5830,14 @@ relink_command=\"$relink_command\""
9087 # The real first argument should be the name of the installation program.
9088 # Aesthetically quote it.
9089 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
9091 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
9092 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
9096 @@ -5328,28 +5855,31 @@ relink_command=\"$relink_command\""
9098 if test -n "$dest"; then
9099 files="$files $dest"
9112 + case " $install_prog " in
9117 + -g | -m | -o) prev=$arg ;;
9127 # If the previous option needed an argument, then skip it.
9128 if test -n "$prev"; then
9136 @@ -5358,7 +5888,7 @@ relink_command=\"$relink_command\""
9137 # Aesthetically quote the argument.
9138 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
9140 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
9141 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
9145 @@ -5493,9 +6023,9 @@ relink_command=\"$relink_command\""
9147 if test -n "$inst_prefix_dir"; then
9148 # Stick the inst_prefix_dir data into the link command.
9149 - relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
9150 + relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP`
9152 - relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
9153 + relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP`
9156 $echo "$modename: warning: relinking \`$file'" 1>&2
9157 @@ -5527,11 +6057,14 @@ relink_command=\"$relink_command\""
9159 if test "$#" -gt 0; then
9160 # Delete the old symlinks, and create new ones.
9161 + # Try `ln -sf' first, because the `ln' binary might depend on
9162 + # the symlink we replace! Solaris /bin/ln does not understand -f,
9163 + # so we also need to try rm && ln -s.
9166 if test "$linkname" != "$realname"; then
9167 - $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
9168 - $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
9169 + $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
9170 + $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
9174 @@ -5544,7 +6077,16 @@ relink_command=\"$relink_command\""
9178 - $run eval "$cmd" || exit $?
9179 + $run eval "$cmd" || {
9182 + # Restore the uninstalled library and exit
9183 + if test "$mode" = relink; then
9184 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
9192 @@ -5638,17 +6180,15 @@ relink_command=\"$relink_command\""
9196 - # To insure that "foo" is sourced, and not "foo.exe",
9197 - # finese the cygwin/MSYS system by explicitly sourcing "foo."
9198 - # which disallows the automatic-append-.exe behavior.
9200 - *cygwin* | *mingw*) wrapperdot=${wrapper}. ;;
9201 - *) wrapperdot=${wrapper} ;;
9203 + # Note that it is not necessary on cygwin/mingw to append a dot to
9204 + # foo even if both foo and FILE.exe exist: automatic-append-.exe
9205 + # behavior happens only for exec(3), not for open(2)! Also, sourcing
9206 + # `FILE.' does not work on cygwin managed mounts.
9208 # If there is no directory component, then add one.
9210 - */* | *\\*) . ${wrapperdot} ;;
9211 - *) . ./${wrapperdot} ;;
9213 + */* | *\\*) . ${wrapper} ;;
9214 + *) . ./${wrapper} ;;
9217 # Check the variables that should have been set.
9218 @@ -5676,38 +6216,25 @@ relink_command=\"$relink_command\""
9222 - # To insure that "foo" is sourced, and not "foo.exe",
9223 - # finese the cygwin/MSYS system by explicitly sourcing "foo."
9224 - # which disallows the automatic-append-.exe behavior.
9226 - *cygwin* | *mingw*) wrapperdot=${wrapper}. ;;
9227 - *) wrapperdot=${wrapper} ;;
9229 + # Note that it is not necessary on cygwin/mingw to append a dot to
9230 + # foo even if both foo and FILE.exe exist: automatic-append-.exe
9231 + # behavior happens only for exec(3), not for open(2)! Also, sourcing
9232 + # `FILE.' does not work on cygwin managed mounts.
9234 # If there is no directory component, then add one.
9236 - */* | *\\*) . ${wrapperdot} ;;
9237 - *) . ./${wrapperdot} ;;
9239 + */* | *\\*) . ${wrapper} ;;
9240 + *) . ./${wrapper} ;;
9244 if test "$fast_install" = no && test -n "$relink_command"; then
9245 if test "$finalize" = yes && test -z "$run"; then
9247 - test -n "$TMPDIR" && tmpdir="$TMPDIR"
9248 - tmpdir="$tmpdir/libtool-$$"
9249 - save_umask=`umask`
9251 - if $mkdir "$tmpdir"; then
9255 - $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
9258 + tmpdir=`func_mktempdir`
9259 file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
9260 outputname="$tmpdir/$file"
9261 # Replace the output file specification.
9262 - relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
9263 + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP`
9265 $show "$relink_command"
9266 if $run eval "$relink_command"; then :
9267 @@ -5727,7 +6254,7 @@ relink_command=\"$relink_command\""
9270 # remove .exe since cygwin /usr/bin/install will append another
9273 case $install_prog,$host in
9274 */usr/bin/install*,*cygwin*)
9275 case $file:$destfile in
9276 @@ -5827,7 +6354,7 @@ relink_command=\"$relink_command\""
9277 # Exit here if they wanted silent mode.
9278 test "$show" = : && exit $EXIT_SUCCESS
9280 - $echo "----------------------------------------------------------------------"
9281 + $echo "X----------------------------------------------------------------------" | $Xsed
9282 $echo "Libraries have been installed in:"
9283 for libdir in $libdirs; do
9285 @@ -5860,7 +6387,7 @@ relink_command=\"$relink_command\""
9287 $echo "See any operating system documentation about shared libraries for"
9288 $echo "more information, such as the ld(1) and ld.so(8) manual pages."
9289 - $echo "----------------------------------------------------------------------"
9290 + $echo "X----------------------------------------------------------------------" | $Xsed
9294 @@ -5918,8 +6445,10 @@ relink_command=\"$relink_command\""
9295 if test -f "$dir/$objdir/$dlname"; then
9298 - $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
9299 - exit $EXIT_FAILURE
9300 + if test ! -f "$dir/$dlname"; then
9301 + $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
9302 + exit $EXIT_FAILURE
9307 @@ -5983,12 +6512,12 @@ relink_command=\"$relink_command\""
9310 # Restore saved environment variables
9311 - if test "${save_LC_ALL+set}" = set; then
9312 - LC_ALL="$save_LC_ALL"; export LC_ALL
9314 - if test "${save_LANG+set}" = set; then
9315 - LANG="$save_LANG"; export LANG
9317 + for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
9319 + eval "if test \"\${save_$lt_var+set}\" = set; then
9320 + $lt_var=\$save_$lt_var; export $lt_var
9324 # Now prepare to actually exec the command.
9325 exec_cmd="\$cmd$args"
9326 @@ -6077,9 +6606,17 @@ relink_command=\"$relink_command\""
9327 rmfiles="$rmfiles $objdir/$n"
9329 test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
9330 - test "$mode" = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
9332 - if test "$mode" = uninstall; then
9335 + case " $library_names " in
9336 + # " " in the beginning catches empty $dlname
9338 + *) rmfiles="$rmfiles $objdir/$dlname" ;;
9340 + test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
9343 if test -n "$library_names"; then
9344 # Do each command in the postuninstall commands.
9345 cmds=$postuninstall_cmds
9346 @@ -6112,7 +6649,8 @@ relink_command=\"$relink_command\""
9349 # FIXME: should reinstall the best remaining shared library.
9356 @@ -6336,9 +6874,9 @@ The following components of LINK-COMMAND are treated specially:
9357 -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
9358 -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
9359 -export-symbols SYMFILE
9360 - try to export only the symbols listed in SYMFILE
9361 + try to export only the symbols listed in SYMFILE
9362 -export-symbols-regex REGEX
9363 - try to export only the symbols matching REGEX
9364 + try to export only the symbols matching REGEX
9365 -LLIBDIR search LIBDIR for required installed libraries
9366 -lNAME OUTPUT-FILE requires the installed library libNAME
9367 -module build a library that can dlopened
9368 @@ -6352,9 +6890,11 @@ The following components of LINK-COMMAND are treated specially:
9369 -release RELEASE specify package release information
9370 -rpath LIBDIR the created library will eventually be installed in LIBDIR
9371 -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
9372 - -static do not do any dynamic linking of libtool libraries
9373 + -static do not do any dynamic linking of uninstalled libtool libraries
9374 + -static-libtool-libs
9375 + do not do any dynamic linking of libtool libraries
9376 -version-info CURRENT[:REVISION[:AGE]]
9377 - specify library version info [each variable defaults to 0]
9378 + specify library version info [each variable defaults to 0]
9380 All other options (arguments beginning with \`-') are ignored.
9382 @@ -6397,7 +6937,7 @@ esac
9384 $echo "Try \`$modename --help' for more information about other modes."
9389 # The TAGs below are defined such that we never get into a situation
9390 # in which we disable both kinds of libraries. Given conflicting
9391 @@ -6411,12 +6951,11 @@ exit $EXIT_SUCCESS
9392 # configuration. But we'll never go from static-only to shared-only.
9394 # ### BEGIN LIBTOOL TAG CONFIG: disable-shared
9395 -build_libtool_libs=no
9397 +disable_libs=shared
9398 # ### END LIBTOOL TAG CONFIG: disable-shared
9400 # ### BEGIN LIBTOOL TAG CONFIG: disable-static
9401 -build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac`
9402 +disable_libs=static
9403 # ### END LIBTOOL TAG CONFIG: disable-static
9410 # From configure.in Revision: 1.56 .
9411 # Guess values for system-dependent variables and create Makefiles.
9412 -# Generated by GNU Autoconf 2.59.
9413 +# Generated by GNU Autoconf 2.63.
9415 -# Copyright (C) 2003 Free Software Foundation, Inc.
9416 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9417 +# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9418 # This configure script is free software; the Free Software Foundation
9419 # gives unlimited permission to copy, distribute and modify it.
9420 ## --------------------- ##
9421 ## M4sh Initialization. ##
9422 ## --------------------- ##
9424 -# Be Bourne compatible
9425 +# Be more Bourne compatible
9426 +DUALCASE=1; export DUALCASE # for MKS sh
9427 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9430 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9431 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9432 # is contrary to our usage. Disable this feature.
9433 alias -g '${1+"$@"}'='"$@"'
9434 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9436 + setopt NO_GLOB_SUBST
9438 + case `(set -o) 2>/dev/null` in
9439 + *posix*) set -o posix ;;
9448 +# Avoid depending upon Character Ranges.
9449 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9450 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9451 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9452 +as_cr_digits='0123456789'
9453 +as_cr_alnum=$as_cr_Letters$as_cr_digits
9458 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
9459 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9460 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9461 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9462 +if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9463 + as_echo='printf %s\n'
9464 + as_echo_n='printf %s'
9466 + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9467 + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9468 + as_echo_n='/usr/ucb/echo -n'
9470 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9471 + as_echo_n_body='eval
9475 + expr "X$arg" : "X\\(.*\\)$as_nl";
9476 + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9478 + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9480 + export as_echo_n_body
9481 + as_echo_n='sh -c $as_echo_n_body as_echo'
9483 + export as_echo_body
9484 + as_echo='sh -c $as_echo_body as_echo'
9487 +# The user is always right.
9488 +if test "${PATH_SEPARATOR+set}" != set; then
9490 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9491 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9492 + PATH_SEPARATOR=';'
9495 -DUALCASE=1; export DUALCASE # for MKS sh
9497 # Support unset when possible.
9498 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9499 @@ -30,33 +87,60 @@ else
9504 +# We need space, tab and new line, in precisely that order. Quoting is
9505 +# there to prevent editors from complaining about space-tab.
9506 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
9507 +# splitting by setting IFS to empty value.)
9510 +# Find who we are. Look in the path if we contain no directory separator.
9512 + *[\\/]* ) as_myself=$0 ;;
9513 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9514 +for as_dir in $PATH
9517 + test -z "$as_dir" && as_dir=.
9518 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9524 +# We did not find ourselves, most probably we were run as `sh COMMAND'
9525 +# in which case we are not to be found in the path.
9526 +if test "x$as_myself" = x; then
9529 +if test ! -f "$as_myself"; then
9530 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9531 + { (exit 1); exit 1; }
9534 # Work around bugs in pre-3.0 UWIN ksh.
9535 -$as_unset ENV MAIL MAILPATH
9536 +for as_var in ENV MAIL MAILPATH
9537 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9545 - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9546 - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9547 - LC_TELEPHONE LC_TIME
9549 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9550 - eval $as_var=C; export $as_var
9560 # Required to use basename.
9561 -if expr a : '\(a\)' >/dev/null 2>&1; then
9562 +if expr a : '\(a\)' >/dev/null 2>&1 &&
9563 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
9569 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
9570 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9571 as_basename=basename
9574 @@ -64,157 +148,391 @@ fi
9577 # Name of the executable.
9578 -as_me=`$as_basename "$0" ||
9579 +as_me=`$as_basename -- "$0" ||
9580 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9581 X"$0" : 'X\(//\)$' \| \
9582 - X"$0" : 'X\(/\)$' \| \
9583 - . : '\(.\)' 2>/dev/null ||
9585 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9586 - /^X\/\(\/\/\)$/{ s//\1/; q; }
9587 - /^X\/\(\/\).*/{ s//\1/; q; }
9589 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9591 + sed '/^.*\/\([^/][^/]*\)\/*$/{
9608 -# PATH needs CR, and LINENO needs CR and PATH.
9609 -# Avoid depending upon Character Ranges.
9610 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9611 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9612 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9613 -as_cr_digits='0123456789'
9614 -as_cr_alnum=$as_cr_Letters$as_cr_digits
9616 -# The user is always right.
9617 -if test "${PATH_SEPARATOR+set}" != set; then
9618 - echo "#! /bin/sh" >conf$$.sh
9619 - echo "exit 0" >>conf$$.sh
9620 - chmod +x conf$$.sh
9621 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9622 - PATH_SEPARATOR=';'
9627 +if test "x$CONFIG_SHELL" = x; then
9628 + if (eval ":") 2>/dev/null; then
9629 + as_have_required=yes
9631 + as_have_required=no
9634 + if test $as_have_required = yes && (eval ":
9635 +(as_func_return () {
9638 +as_func_success () {
9641 +as_func_failure () {
9644 +as_func_ret_success () {
9647 +as_func_ret_failure () {
9651 - as_lineno_1=$LINENO
9652 - as_lineno_2=$LINENO
9653 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9654 - test "x$as_lineno_1" != "x$as_lineno_2" &&
9655 - test "x$as_lineno_3" = "x$as_lineno_2" || {
9656 - # Find who we are. Look in the path if we contain no path at all
9657 - # relative or not.
9659 - *[\\/]* ) as_myself=$0 ;;
9660 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9661 -for as_dir in $PATH
9664 - test -z "$as_dir" && as_dir=.
9665 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9668 +if as_func_success; then
9672 + echo as_func_success failed.
9677 - # We did not find ourselves, most probably we were run as `sh COMMAND'
9678 - # in which case we are not to be found in the path.
9679 - if test "x$as_myself" = x; then
9682 - if test ! -f "$as_myself"; then
9683 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
9684 - { (exit 1); exit 1; }; }
9686 - case $CONFIG_SHELL in
9688 +if as_func_failure; then
9690 + echo as_func_failure succeeded.
9693 +if as_func_ret_success; then
9697 + echo as_func_ret_success failed.
9700 +if as_func_ret_failure; then
9702 + echo as_func_ret_failure succeeded.
9705 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
9709 + echo positional parameters were not saved.
9712 +test \$exitcode = 0) || { (exit 1); exit 1; }
9715 + as_lineno_1=\$LINENO
9716 + as_lineno_2=\$LINENO
9717 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
9718 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
9719 +") 2> /dev/null; then
9722 + as_candidate_shells=
9723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9724 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
9727 test -z "$as_dir" && as_dir=.
9728 - for as_base in sh bash ksh sh5; do
9732 - if ("$as_dir/$as_base" -c '
9733 + for as_base in sh bash ksh sh5; do
9734 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
9741 + for as_shell in $as_candidate_shells $SHELL; do
9742 + # Try only shells that exist, to save several forks.
9743 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
9744 + { ("$as_shell") 2> /dev/null <<\_ASEOF
9745 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9748 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9749 + # is contrary to our usage. Disable this feature.
9750 + alias -g '${1+"$@"}'='"$@"'
9751 + setopt NO_GLOB_SUBST
9753 + case `(set -o) 2>/dev/null` in
9754 + *posix*) set -o posix ;;
9763 + CONFIG_SHELL=$as_shell
9764 + as_have_required=yes
9765 + if { "$as_shell" 2> /dev/null <<\_ASEOF
9766 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9769 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9770 + # is contrary to our usage. Disable this feature.
9771 + alias -g '${1+"$@"}'='"$@"'
9772 + setopt NO_GLOB_SUBST
9774 + case `(set -o) 2>/dev/null` in
9775 + *posix*) set -o posix ;;
9782 +(as_func_return () {
9785 +as_func_success () {
9788 +as_func_failure () {
9791 +as_func_ret_success () {
9794 +as_func_ret_failure () {
9799 +if as_func_success; then
9803 + echo as_func_success failed.
9806 +if as_func_failure; then
9808 + echo as_func_failure succeeded.
9811 +if as_func_ret_success; then
9815 + echo as_func_ret_success failed.
9818 +if as_func_ret_failure; then
9820 + echo as_func_ret_failure succeeded.
9823 +if ( set x; as_func_ret_success y && test x = "$1" ); then
9827 + echo positional parameters were not saved.
9830 +test $exitcode = 0) || { (exit 1); exit 1; }
9835 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9836 test "x$as_lineno_1" != "x$as_lineno_2" &&
9837 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
9838 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
9839 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
9840 - CONFIG_SHELL=$as_dir/$as_base
9841 - export CONFIG_SHELL
9842 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9849 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
9860 + if test "x$CONFIG_SHELL" != x; then
9861 + for as_var in BASH_ENV ENV
9862 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9864 + export CONFIG_SHELL
9865 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
9869 + if test $as_have_required = no; then
9870 + echo This script requires a shell more modern than all the
9871 + echo shells that I found on your system. Please install a
9872 + echo modern shell, or manually run the script under such a
9873 + echo shell if you do have one.
9874 + { (exit 1); exit 1; }
9884 +(eval "as_func_return () {
9887 +as_func_success () {
9890 +as_func_failure () {
9893 +as_func_ret_success () {
9896 +as_func_ret_failure () {
9901 +if as_func_success; then
9905 + echo as_func_success failed.
9908 +if as_func_failure; then
9910 + echo as_func_failure succeeded.
9913 +if as_func_ret_success; then
9917 + echo as_func_ret_success failed.
9920 +if as_func_ret_failure; then
9922 + echo as_func_ret_failure succeeded.
9925 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
9929 + echo positional parameters were not saved.
9932 +test \$exitcode = 0") || {
9933 + echo No shell found that supports shell functions.
9934 + echo Please tell bug-autoconf@gnu.org about your system,
9935 + echo including any error possibly output before this message.
9936 + echo This can help us improve future autoconf versions.
9937 + echo Configuration will now proceed without shell functions.
9942 + as_lineno_1=$LINENO
9943 + as_lineno_2=$LINENO
9944 + test "x$as_lineno_1" != "x$as_lineno_2" &&
9945 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
9947 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9948 # uniformly replaced by the line number. The first 'sed' inserts a
9949 - # line-number line before each line; the second 'sed' does the real
9950 - # work. The second script uses 'N' to pair each line-number line
9951 - # with the numbered line, and appends trailing '-' during
9952 - # substitution so that $LINENO is not a special case at line end.
9953 + # line-number line after each line using $LINENO; the second 'sed'
9954 + # does the real work. The second script uses 'N' to pair each
9955 + # line-number line with the line containing $LINENO, and appends
9956 + # trailing '-' during substitution so that $LINENO is not a special
9957 + # case at line end.
9958 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9959 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9960 - sed '=' <$as_myself |
9961 + # scripts with optimization help from Paolo Bonzini. Blame Lee
9962 + # E. McMahon (1931-1989) for sed's syntax. :-)
9975 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9977 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9980 - s,^['$as_cr_digits']*\n,,
9983 - chmod +x $as_me.lineno ||
9984 - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9985 + chmod +x "$as_me.lineno" ||
9986 + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9987 { (exit 1); exit 1; }; }
9989 # Don't try to exec as it changes $[0], causing all sort of problems
9990 # (the dirname of $[0] is not the place where we might find the
9991 - # original and so on. Autoconf is especially sensible to this).
9993 + # original and so on. Autoconf is especially sensitive to this).
9994 + . "./$as_me.lineno"
9995 # Exit status is that of the last command.
10000 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10001 - *c*,-n*) ECHO_N= ECHO_C='
10003 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
10004 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
10006 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10007 + as_dirname=dirname
10012 -if expr a : '\(a\)' >/dev/null 2>&1; then
10013 +ECHO_C= ECHO_N= ECHO_T=
10014 +case `echo -n x` in
10016 + case `echo 'x\c'` in
10017 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
10023 +if expr a : '\(a\)' >/dev/null 2>&1 &&
10024 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
10030 rm -f conf$$ conf$$.exe conf$$.file
10032 -if ln -s conf$$.file conf$$ 2>/dev/null; then
10033 - # We could just check for DJGPP; but this test a) works b) is more generic
10034 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10035 - if test -f conf$$.exe; then
10036 - # Don't use ln at all; we don't have any links
10039 +if test -d conf$$.dir; then
10040 + rm -f conf$$.dir/conf$$.file
10043 + mkdir conf$$.dir 2>/dev/null
10045 +if (echo >conf$$.file) 2>/dev/null; then
10046 + if ln -s conf$$.file conf$$ 2>/dev/null; then
10048 + # ... but there are two gotchas:
10049 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10050 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10051 + # In both cases, we have to default to `cp -p'.
10052 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10054 + elif ln conf$$.file conf$$ 2>/dev/null; then
10059 -elif ln conf$$.file conf$$ 2>/dev/null; then
10064 -rm -f conf$$ conf$$.exe conf$$.file
10065 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10066 +rmdir conf$$.dir 2>/dev/null
10068 if mkdir -p . 2>/dev/null; then
10070 @@ -223,7 +541,28 @@ else
10074 -as_executable_p="test -f"
10075 +if test -x / >/dev/null 2>&1; then
10076 + as_test_x='test -x'
10078 + if ls -dL / >/dev/null 2>&1; then
10085 + if test -d "$1"; then
10091 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10092 + ???[sx]*):;;*)false;;esac;fi
10096 +as_executable_p=$as_test_x
10098 # Sed expression to map a string onto a valid CPP name.
10099 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10100 @@ -232,15 +571,6 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10101 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10105 -# We need space, tab and new line, in precisely that order.
10115 # Check that we are running under the correct shell.
10116 @@ -279,15 +609,15 @@ fi
10118 # The HP-UX ksh and POSIX shell print the target directory to stdout
10119 # if CDPATH is set.
10120 -if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
10121 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10123 if test -z "$ECHO"; then
10124 if test "X${echo_test_string+set}" != Xset; then
10125 # find a string as large as possible, as long as the shell can cope with it
10126 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
10127 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
10128 - if (echo_test_string="`eval $cmd`") 2>/dev/null &&
10129 - echo_test_string="`eval $cmd`" &&
10130 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
10131 + echo_test_string=`eval $cmd` &&
10132 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
10135 @@ -396,29 +726,26 @@ tagnames=${tagnames+${tagnames},}CXX
10137 tagnames=${tagnames+${tagnames},}F77
10139 +exec 7<&0 </dev/null 6>&1
10141 # Name of the host.
10142 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
10143 # so uname gets run too.
10144 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
10151 ac_default_prefix=/usr/local
10153 ac_config_libobj_dir=.
10159 SHELL=${CONFIG_SHELL-/bin/sh}
10161 -# Maximum number of lines to put in a shell here document.
10162 -# This variable seems obsolete. It should probably be removed, and
10163 -# only ac_max_sed_lines should be used.
10164 -: ${ac_max_here_lines=38}
10166 # Identity of this package.
10169 @@ -431,46 +758,192 @@ ac_default_prefix=
10170 # Factoring default headers for most tests.
10171 ac_includes_default="\
10173 -#if HAVE_SYS_TYPES_H
10174 +#ifdef HAVE_SYS_TYPES_H
10175 # include <sys/types.h>
10177 -#if HAVE_SYS_STAT_H
10178 +#ifdef HAVE_SYS_STAT_H
10179 # include <sys/stat.h>
10182 +#ifdef STDC_HEADERS
10183 # include <stdlib.h>
10184 # include <stddef.h>
10186 -# if HAVE_STDLIB_H
10187 +# ifdef HAVE_STDLIB_H
10188 # include <stdlib.h>
10192 -# if !STDC_HEADERS && HAVE_MEMORY_H
10193 +#ifdef HAVE_STRING_H
10194 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
10195 # include <memory.h>
10197 # include <string.h>
10199 -#if HAVE_STRINGS_H
10200 +#ifdef HAVE_STRINGS_H
10201 # include <strings.h>
10203 -#if HAVE_INTTYPES_H
10204 +#ifdef HAVE_INTTYPES_H
10205 # include <inttypes.h>
10207 -# if HAVE_STDINT_H
10208 -# include <stdint.h>
10212 +#ifdef HAVE_STDINT_H
10213 +# include <stdint.h>
10215 +#ifdef HAVE_UNISTD_H
10216 # include <unistd.h>
10219 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL RENAME_TRUE RENAME_FALSE LIBVER OS LIBOBJS LTLIBOBJS'
10220 +ac_subst_vars='LTLIBOBJS
10231 +am__fastdepCXX_FALSE
10232 +am__fastdepCXX_TRUE
10247 +am__fastdepCC_FALSE
10248 +am__fastdepCC_TRUE
10264 +MAINTAINER_MODE_FALSE
10265 +MAINTAINER_MODE_TRUE
10273 +INSTALL_STRIP_PROGRAM
10326 +program_transform_name
10338 +enable_option_checking
10339 +enable_maintainer_mode
10340 +enable_dependency_tracking
10343 +enable_fast_install
10345 +enable_libtool_lock
10351 + ac_precious_vars='build_alias
10368 # Initialize some variables set by options.
10370 ac_init_version=false
10371 +ac_unrecognized_opts=
10372 +ac_unrecognized_sep=
10373 # The variables have the same names as the options, with
10374 # dashes changed to underlines.
10375 cache_file=/dev/null
10376 @@ -493,34 +966,48 @@ x_libraries=NONE
10377 # and all the variables that are supposed to be based on exec_prefix
10378 # by default will actually change.
10379 # Use braces instead of parens because sh, perl, etc. also accept them.
10380 +# (The list follows the same order as the GNU Coding Standards.)
10381 bindir='${exec_prefix}/bin'
10382 sbindir='${exec_prefix}/sbin'
10383 libexecdir='${exec_prefix}/libexec'
10384 -datadir='${prefix}/share'
10385 +datarootdir='${prefix}/share'
10386 +datadir='${datarootdir}'
10387 sysconfdir='${prefix}/etc'
10388 sharedstatedir='${prefix}/com'
10389 localstatedir='${prefix}/var'
10390 -libdir='${exec_prefix}/lib'
10391 includedir='${prefix}/include'
10392 oldincludedir='/usr/include'
10393 -infodir='${prefix}/info'
10394 -mandir='${prefix}/man'
10395 +docdir='${datarootdir}/doc/${PACKAGE}'
10396 +infodir='${datarootdir}/info'
10397 +htmldir='${docdir}'
10398 +dvidir='${docdir}'
10399 +pdfdir='${docdir}'
10401 +libdir='${exec_prefix}/lib'
10402 +localedir='${datarootdir}/locale'
10403 +mandir='${datarootdir}/man'
10409 # If the previous option needs an argument, assign it.
10410 if test -n "$ac_prev"; then
10411 - eval "$ac_prev=\$ac_option"
10412 + eval $ac_prev=\$ac_option
10417 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
10418 + case $ac_option in
10419 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
10420 + *) ac_optarg=yes ;;
10423 # Accept the important Cygnus configure options, so we can diagnose typos.
10425 - case $ac_option in
10426 + case $ac_dashdash$ac_option in
10428 + ac_dashdash=yes ;;
10430 -bindir | --bindir | --bindi | --bind | --bin | --bi)
10432 @@ -542,33 +1029,61 @@ do
10433 --config-cache | -C)
10434 cache_file=config.cache ;;
10436 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
10437 + -datadir | --datadir | --datadi | --datad)
10439 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
10441 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
10442 datadir=$ac_optarg ;;
10444 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
10445 + | --dataroo | --dataro | --datar)
10446 + ac_prev=datarootdir ;;
10447 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
10448 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
10449 + datarootdir=$ac_optarg ;;
10451 -disable-* | --disable-*)
10452 - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
10453 + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
10454 # Reject names that are not valid shell variable names.
10455 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
10456 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
10457 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10458 + { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
10459 { (exit 1); exit 1; }; }
10460 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
10461 - eval "enable_$ac_feature=no" ;;
10462 + ac_useropt_orig=$ac_useropt
10463 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10464 + case $ac_user_opts in
10466 +"enable_$ac_useropt"
10468 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
10469 + ac_unrecognized_sep=', ';;
10471 + eval enable_$ac_useropt=no ;;
10473 + -docdir | --docdir | --docdi | --doc | --do)
10474 + ac_prev=docdir ;;
10475 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
10476 + docdir=$ac_optarg ;;
10478 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
10479 + ac_prev=dvidir ;;
10480 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
10481 + dvidir=$ac_optarg ;;
10483 -enable-* | --enable-*)
10484 - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
10485 + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
10486 # Reject names that are not valid shell variable names.
10487 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
10488 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
10489 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10490 + { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
10491 { (exit 1); exit 1; }; }
10492 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
10493 - case $ac_option in
10494 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
10495 - *) ac_optarg=yes ;;
10496 + ac_useropt_orig=$ac_useropt
10497 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10498 + case $ac_user_opts in
10500 +"enable_$ac_useropt"
10502 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
10503 + ac_unrecognized_sep=', ';;
10505 - eval "enable_$ac_feature='$ac_optarg'" ;;
10506 + eval enable_$ac_useropt=\$ac_optarg ;;
10508 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
10509 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
10510 @@ -595,6 +1110,12 @@ do
10511 -host=* | --host=* | --hos=* | --ho=*)
10512 host_alias=$ac_optarg ;;
10514 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
10515 + ac_prev=htmldir ;;
10516 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
10518 + htmldir=$ac_optarg ;;
10520 -includedir | --includedir | --includedi | --included | --include \
10521 | --includ | --inclu | --incl | --inc)
10522 ac_prev=includedir ;;
10523 @@ -619,13 +1140,16 @@ do
10524 | --libexe=* | --libex=* | --libe=*)
10525 libexecdir=$ac_optarg ;;
10527 + -localedir | --localedir | --localedi | --localed | --locale)
10528 + ac_prev=localedir ;;
10529 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
10530 + localedir=$ac_optarg ;;
10532 -localstatedir | --localstatedir | --localstatedi | --localstated \
10533 - | --localstate | --localstat | --localsta | --localst \
10534 - | --locals | --local | --loca | --loc | --lo)
10535 + | --localstate | --localstat | --localsta | --localst | --locals)
10536 ac_prev=localstatedir ;;
10537 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
10538 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
10539 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
10540 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
10541 localstatedir=$ac_optarg ;;
10543 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
10544 @@ -690,6 +1214,16 @@ do
10545 | --progr-tra=* | --program-tr=* | --program-t=*)
10546 program_transform_name=$ac_optarg ;;
10548 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
10549 + ac_prev=pdfdir ;;
10550 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
10551 + pdfdir=$ac_optarg ;;
10553 + -psdir | --psdir | --psdi | --psd | --ps)
10555 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
10556 + psdir=$ac_optarg ;;
10558 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10559 | -silent | --silent | --silen | --sile | --sil)
10561 @@ -740,26 +1274,38 @@ do
10562 ac_init_version=: ;;
10564 -with-* | --with-*)
10565 - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10566 + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10567 # Reject names that are not valid shell variable names.
10568 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
10569 - { echo "$as_me: error: invalid package name: $ac_package" >&2
10570 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10571 + { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
10572 { (exit 1); exit 1; }; }
10573 - ac_package=`echo $ac_package| sed 's/-/_/g'`
10574 - case $ac_option in
10575 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
10576 - *) ac_optarg=yes ;;
10577 + ac_useropt_orig=$ac_useropt
10578 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10579 + case $ac_user_opts in
10581 +"with_$ac_useropt"
10583 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
10584 + ac_unrecognized_sep=', ';;
10586 - eval "with_$ac_package='$ac_optarg'" ;;
10587 + eval with_$ac_useropt=\$ac_optarg ;;
10589 -without-* | --without-*)
10590 - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10591 + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10592 # Reject names that are not valid shell variable names.
10593 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
10594 - { echo "$as_me: error: invalid package name: $ac_package" >&2
10595 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10596 + { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
10597 { (exit 1); exit 1; }; }
10598 - ac_package=`echo $ac_package | sed 's/-/_/g'`
10599 - eval "with_$ac_package=no" ;;
10600 + ac_useropt_orig=$ac_useropt
10601 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10602 + case $ac_user_opts in
10604 +"with_$ac_useropt"
10606 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
10607 + ac_unrecognized_sep=', ';;
10609 + eval with_$ac_useropt=no ;;
10612 # Obsolete; use --with-x.
10613 @@ -779,7 +1325,7 @@ do
10614 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
10615 x_libraries=$ac_optarg ;;
10617 - -*) { echo "$as_me: error: unrecognized option: $ac_option
10618 + -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
10619 Try \`$0 --help' for more information." >&2
10620 { (exit 1); exit 1; }; }
10622 @@ -788,17 +1334,16 @@ Try \`$0 --help' for more information." >&2
10623 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
10624 # Reject names that are not valid shell variable names.
10625 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
10626 - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
10627 + { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
10628 { (exit 1); exit 1; }; }
10629 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
10630 - eval "$ac_envvar='$ac_optarg'"
10631 + eval $ac_envvar=\$ac_optarg
10632 export $ac_envvar ;;
10635 # FIXME: should be removed in autoconf 3.0.
10636 - echo "$as_me: WARNING: you should use --build, --host, --target" >&2
10637 + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
10638 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10639 - echo "$as_me: WARNING: invalid host type: $ac_option" >&2
10640 + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
10641 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
10644 @@ -807,31 +1352,39 @@ done
10646 if test -n "$ac_prev"; then
10647 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
10648 - { echo "$as_me: error: missing argument to $ac_option" >&2
10649 + { $as_echo "$as_me: error: missing argument to $ac_option" >&2
10650 { (exit 1); exit 1; }; }
10653 -# Be sure to have absolute paths.
10654 -for ac_var in exec_prefix prefix
10656 - eval ac_val=$`echo $ac_var`
10658 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
10659 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
10660 - { (exit 1); exit 1; }; };;
10661 +if test -n "$ac_unrecognized_opts"; then
10662 + case $enable_option_checking in
10664 + fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
10665 + { (exit 1); exit 1; }; } ;;
10666 + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
10671 -# Be sure to have absolute paths.
10672 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
10673 - localstatedir libdir includedir oldincludedir infodir mandir
10674 +# Check all directory arguments for consistency.
10675 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
10676 + datadir sysconfdir sharedstatedir localstatedir includedir \
10677 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
10678 + libdir localedir mandir
10680 - eval ac_val=$`echo $ac_var`
10681 + eval ac_val=\$$ac_var
10682 + # Remove trailing slashes.
10684 - [\\/$]* | ?:[\\/]* ) ;;
10685 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
10686 - { (exit 1); exit 1; }; };;
10688 + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
10689 + eval $ac_var=\$ac_val;;
10691 + # Be sure to have absolute directory names.
10693 + [\\/$]* | ?:[\\/]* ) continue;;
10694 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
10696 + { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
10697 + { (exit 1); exit 1; }; }
10700 # There might be people who depend on the old broken behavior: `$host'
10701 @@ -845,7 +1398,7 @@ target=$target_alias
10702 if test "x$host_alias" != x; then
10703 if test "x$build_alias" = x; then
10704 cross_compiling=maybe
10705 - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
10706 + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
10707 If a cross compiler is detected then cross compile mode will be used." >&2
10708 elif test "x$build_alias" != "x$host_alias"; then
10709 cross_compiling=yes
10710 @@ -858,94 +1411,76 @@ test -n "$host_alias" && ac_tool_prefix=$host_alias-
10711 test "$silent" = yes && exec 6>/dev/null
10714 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
10715 +ac_ls_di=`ls -di .` &&
10716 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
10717 + { $as_echo "$as_me: error: working directory cannot be determined" >&2
10718 + { (exit 1); exit 1; }; }
10719 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
10720 + { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
10721 + { (exit 1); exit 1; }; }
10724 # Find the source files, if location was not specified.
10725 if test -z "$srcdir"; then
10726 ac_srcdir_defaulted=yes
10727 - # Try the directory containing this script, then its parent.
10728 - ac_confdir=`(dirname "$0") 2>/dev/null ||
10729 -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10730 - X"$0" : 'X\(//\)[^/]' \| \
10731 - X"$0" : 'X\(//\)$' \| \
10732 - X"$0" : 'X\(/\)' \| \
10733 - . : '\(.\)' 2>/dev/null ||
10735 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10736 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10737 - /^X\(\/\/\)$/{ s//\1/; q; }
10738 - /^X\(\/\).*/{ s//\1/; q; }
10740 + # Try the directory containing this script, then the parent directory.
10741 + ac_confdir=`$as_dirname -- "$as_myself" ||
10742 +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10743 + X"$as_myself" : 'X\(//\)[^/]' \| \
10744 + X"$as_myself" : 'X\(//\)$' \| \
10745 + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
10746 +$as_echo X"$as_myself" |
10747 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10751 + /^X\(\/\/\)[^/].*/{
10765 - if test ! -r $srcdir/$ac_unique_file; then
10766 + if test ! -r "$srcdir/$ac_unique_file"; then
10770 ac_srcdir_defaulted=no
10772 -if test ! -r $srcdir/$ac_unique_file; then
10773 - if test "$ac_srcdir_defaulted" = yes; then
10774 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
10775 - { (exit 1); exit 1; }; }
10777 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
10778 +if test ! -r "$srcdir/$ac_unique_file"; then
10779 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
10780 + { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
10781 { (exit 1); exit 1; }; }
10784 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
10785 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
10786 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
10788 + cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
10789 { (exit 1); exit 1; }; }
10790 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
10791 -ac_env_build_alias_set=${build_alias+set}
10792 -ac_env_build_alias_value=$build_alias
10793 -ac_cv_env_build_alias_set=${build_alias+set}
10794 -ac_cv_env_build_alias_value=$build_alias
10795 -ac_env_host_alias_set=${host_alias+set}
10796 -ac_env_host_alias_value=$host_alias
10797 -ac_cv_env_host_alias_set=${host_alias+set}
10798 -ac_cv_env_host_alias_value=$host_alias
10799 -ac_env_target_alias_set=${target_alias+set}
10800 -ac_env_target_alias_value=$target_alias
10801 -ac_cv_env_target_alias_set=${target_alias+set}
10802 -ac_cv_env_target_alias_value=$target_alias
10803 -ac_env_CC_set=${CC+set}
10804 -ac_env_CC_value=$CC
10805 -ac_cv_env_CC_set=${CC+set}
10806 -ac_cv_env_CC_value=$CC
10807 -ac_env_CFLAGS_set=${CFLAGS+set}
10808 -ac_env_CFLAGS_value=$CFLAGS
10809 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
10810 -ac_cv_env_CFLAGS_value=$CFLAGS
10811 -ac_env_LDFLAGS_set=${LDFLAGS+set}
10812 -ac_env_LDFLAGS_value=$LDFLAGS
10813 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
10814 -ac_cv_env_LDFLAGS_value=$LDFLAGS
10815 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
10816 -ac_env_CPPFLAGS_value=$CPPFLAGS
10817 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
10818 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
10819 -ac_env_CPP_set=${CPP+set}
10820 -ac_env_CPP_value=$CPP
10821 -ac_cv_env_CPP_set=${CPP+set}
10822 -ac_cv_env_CPP_value=$CPP
10823 -ac_env_CXX_set=${CXX+set}
10824 -ac_env_CXX_value=$CXX
10825 -ac_cv_env_CXX_set=${CXX+set}
10826 -ac_cv_env_CXX_value=$CXX
10827 -ac_env_CXXFLAGS_set=${CXXFLAGS+set}
10828 -ac_env_CXXFLAGS_value=$CXXFLAGS
10829 -ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
10830 -ac_cv_env_CXXFLAGS_value=$CXXFLAGS
10831 -ac_env_CXXCPP_set=${CXXCPP+set}
10832 -ac_env_CXXCPP_value=$CXXCPP
10833 -ac_cv_env_CXXCPP_set=${CXXCPP+set}
10834 -ac_cv_env_CXXCPP_value=$CXXCPP
10835 -ac_env_F77_set=${F77+set}
10836 -ac_env_F77_value=$F77
10837 -ac_cv_env_F77_set=${F77+set}
10838 -ac_cv_env_F77_value=$F77
10839 -ac_env_FFLAGS_set=${FFLAGS+set}
10840 -ac_env_FFLAGS_value=$FFLAGS
10841 -ac_cv_env_FFLAGS_set=${FFLAGS+set}
10842 -ac_cv_env_FFLAGS_value=$FFLAGS
10844 +# When building in place, set srcdir=.
10845 +if test "$ac_abs_confdir" = "$ac_pwd"; then
10848 +# Remove unnecessary trailing slashes from srcdir.
10849 +# Double slashes in file names in object file debugging info
10850 +# mess up M-x gdb in Emacs.
10852 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
10854 +for ac_var in $ac_precious_vars; do
10855 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
10856 + eval ac_env_${ac_var}_value=\$${ac_var}
10857 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
10858 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
10862 # Report the --help message.
10863 @@ -974,14 +1509,11 @@ Configuration:
10864 -n, --no-create do not create output files
10865 --srcdir=DIR find the sources in DIR [configure dir or \`..']
10870 Installation directories:
10871 --prefix=PREFIX install architecture-independent files in PREFIX
10872 - [$ac_default_prefix]
10873 + [$ac_default_prefix]
10874 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
10878 By default, \`make install' will install all the files in
10879 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
10880 @@ -991,18 +1523,25 @@ for instance \`--prefix=\$HOME'.
10881 For better control, use the options below.
10883 Fine tuning of the installation directories:
10884 - --bindir=DIR user executables [EPREFIX/bin]
10885 - --sbindir=DIR system admin executables [EPREFIX/sbin]
10886 - --libexecdir=DIR program executables [EPREFIX/libexec]
10887 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
10888 - --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
10889 - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
10890 - --localstatedir=DIR modifiable single-machine data [PREFIX/var]
10891 - --libdir=DIR object code libraries [EPREFIX/lib]
10892 - --includedir=DIR C header files [PREFIX/include]
10893 - --oldincludedir=DIR C header files for non-gcc [/usr/include]
10894 - --infodir=DIR info documentation [PREFIX/info]
10895 - --mandir=DIR man documentation [PREFIX/man]
10896 + --bindir=DIR user executables [EPREFIX/bin]
10897 + --sbindir=DIR system admin executables [EPREFIX/sbin]
10898 + --libexecdir=DIR program executables [EPREFIX/libexec]
10899 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
10900 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
10901 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
10902 + --libdir=DIR object code libraries [EPREFIX/lib]
10903 + --includedir=DIR C header files [PREFIX/include]
10904 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
10905 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
10906 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
10907 + --infodir=DIR info documentation [DATAROOTDIR/info]
10908 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
10909 + --mandir=DIR man documentation [DATAROOTDIR/man]
10910 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
10911 + --htmldir=DIR html documentation [DOCDIR]
10912 + --dvidir=DIR dvi documentation [DOCDIR]
10913 + --pdfdir=DIR pdf documentation [DOCDIR]
10914 + --psdir=DIR ps documentation [DOCDIR]
10918 @@ -1024,16 +1563,15 @@ if test -n "$ac_init_help"; then
10922 + --disable-option-checking ignore unrecognized --enable/--with options
10923 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
10924 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
10925 --enable-maintainer-mode enable make rules and dependencies not useful
10926 (and sometimes confusing) to the casual installer
10927 --disable-dependency-tracking speeds up one-time build
10928 --enable-dependency-tracking do not reject slow dependency extractors
10929 - --enable-static[=PKGS]
10930 - build static libraries [default=no]
10931 - --enable-shared[=PKGS]
10932 - build shared libraries [default=yes]
10933 + --enable-static[=PKGS] build static libraries [default=no]
10934 + --enable-shared[=PKGS] build shared libraries [default=yes]
10935 --enable-fast-install[=PKGS]
10936 optimize for fast installation [default=yes]
10937 --disable-libtool-lock avoid locking (might break parallel builds)
10938 @@ -1045,8 +1583,7 @@ Optional Packages:
10939 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
10940 --with-pic try to use only PIC/non-PIC objects [default=use
10942 - --with-tags[=TAGS]
10943 - include additional configurations [automatic]
10944 + --with-tags[=TAGS] include additional configurations [automatic]
10945 --with-mysql=DIR Location of your MySQL installation
10947 Some influential environment variables:
10948 @@ -1054,8 +1591,9 @@ Some influential environment variables:
10949 CFLAGS C compiler flags
10950 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
10951 nonstandard directory <lib dir>
10952 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
10953 - headers in a nonstandard directory <include dir>
10954 + LIBS libraries to pass to the linker, e.g. -l<library>
10955 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
10956 + you have headers in a nonstandard directory <include dir>
10958 CXX C++ compiler command
10959 CXXFLAGS C++ compiler flags
10960 @@ -1067,118 +1605,88 @@ Use these variables to override the choices made by `configure' or to help
10961 it to find libraries and programs with nonstandard names/locations.
10967 if test "$ac_init_help" = "recursive"; then
10968 # If there are subdirs, report their specific --help.
10970 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
10971 - test -d $ac_dir || continue
10972 + test -d "$ac_dir" ||
10973 + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
10977 -if test "$ac_dir" != .; then
10978 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10979 - # A "../" for each directory in $ac_dir_suffix.
10980 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10982 - ac_dir_suffix= ac_top_builddir=
10985 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10987 + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10988 + # A ".." for each directory in $ac_dir_suffix.
10989 + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10990 + case $ac_top_builddir_sub in
10991 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10992 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10995 +ac_abs_top_builddir=$ac_pwd
10996 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
10997 +# for backward compatibility:
10998 +ac_top_builddir=$ac_top_build_prefix
11001 - .) # No --srcdir option. We are building in place.
11002 + .) # We are building in place.
11004 - if test -z "$ac_top_builddir"; then
11007 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11009 - [\\/]* | ?:[\\/]* ) # Absolute path.
11010 + ac_top_srcdir=$ac_top_builddir_sub
11011 + ac_abs_top_srcdir=$ac_pwd ;;
11012 + [\\/]* | ?:[\\/]* ) # Absolute name.
11013 ac_srcdir=$srcdir$ac_dir_suffix;
11014 - ac_top_srcdir=$srcdir ;;
11015 - *) # Relative path.
11016 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11017 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
11018 + ac_top_srcdir=$srcdir
11019 + ac_abs_top_srcdir=$srcdir ;;
11020 + *) # Relative name.
11021 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11022 + ac_top_srcdir=$ac_top_build_prefix$srcdir
11023 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11026 -# Do not use `cd foo && pwd` to compute absolute paths, because
11027 -# the directories may not exist.
11029 -.) ac_abs_builddir="$ac_dir";;
11031 - case "$ac_dir" in
11032 - .) ac_abs_builddir=`pwd`;;
11033 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11034 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
11037 -case $ac_abs_builddir in
11038 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
11040 - case ${ac_top_builddir}. in
11041 - .) ac_abs_top_builddir=$ac_abs_builddir;;
11042 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11043 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11046 -case $ac_abs_builddir in
11047 -.) ac_abs_srcdir=$ac_srcdir;;
11049 - case $ac_srcdir in
11050 - .) ac_abs_srcdir=$ac_abs_builddir;;
11051 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11052 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11055 -case $ac_abs_builddir in
11056 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
11058 - case $ac_top_srcdir in
11059 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
11060 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11061 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11066 - # Check for guested configure; otherwise get Cygnus style configure.
11067 - if test -f $ac_srcdir/configure.gnu; then
11069 - $SHELL $ac_srcdir/configure.gnu --help=recursive
11070 - elif test -f $ac_srcdir/configure; then
11072 - $SHELL $ac_srcdir/configure --help=recursive
11073 - elif test -f $ac_srcdir/configure.ac ||
11074 - test -f $ac_srcdir/configure.in; then
11076 - $ac_configure --help
11077 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11079 + cd "$ac_dir" || { ac_status=$?; continue; }
11080 + # Check for guested configure.
11081 + if test -f "$ac_srcdir/configure.gnu"; then
11083 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
11084 + elif test -f "$ac_srcdir/configure"; then
11086 + $SHELL "$ac_srcdir/configure" --help=recursive
11088 - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
11091 + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
11092 + fi || ac_status=$?
11093 + cd "$ac_pwd" || { ac_status=$?; break; }
11097 -test -n "$ac_init_help" && exit 0
11098 +test -n "$ac_init_help" && exit $ac_status
11099 if $ac_init_version; then
11102 +generated by GNU Autoconf 2.63
11104 -Copyright (C) 2003 Free Software Foundation, Inc.
11105 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
11106 +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
11107 This configure script is free software; the Free Software Foundation
11108 gives unlimited permission to copy, distribute and modify it.
11115 +cat >config.log <<_ACEOF
11116 This file contains any messages produced by compilers while
11117 running configure, to aid debugging if configure makes a mistake.
11119 It was created by $as_me, which was
11120 -generated by GNU Autoconf 2.59. Invocation command line was
11121 +generated by GNU Autoconf 2.63. Invocation command line was
11126 +exec 5>>config.log
11130 @@ -1197,7 +1705,7 @@ uname -v = `(uname -v) 2>/dev/null || echo unknown`
11131 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
11132 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
11133 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
11134 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
11135 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
11136 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
11137 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
11138 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
11139 @@ -1209,8 +1717,9 @@ for as_dir in $PATH
11142 test -z "$as_dir" && as_dir=.
11143 - echo "PATH: $as_dir"
11144 + $as_echo "PATH: $as_dir"
11150 @@ -1232,7 +1741,6 @@ _ACEOF
11152 ac_configure_args0=
11153 ac_configure_args1=
11155 ac_must_keep_next=false
11158 @@ -1243,8 +1751,8 @@ do
11159 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11160 | -silent | --silent | --silen | --sile | --sil)
11162 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
11163 - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11165 + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11168 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
11169 @@ -1265,9 +1773,7 @@ do
11170 -* ) ac_must_keep_next=true ;;
11173 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
11174 - # Get rid of the leading space.
11176 + ac_configure_args="$ac_configure_args '$ac_arg'"
11180 @@ -1278,8 +1784,8 @@ $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_
11181 # When interrupted or exit'd, cleanup temporary files, and complete
11182 # config.log. We remove comments because anyway the quotes in there
11183 # would cause problems or look ugly.
11184 -# WARNING: Be sure not to use single quotes in there, as some shells,
11185 -# such as our DU 5.0 friend, will then `close' the trap.
11186 +# WARNING: Use '\'' to represent an apostrophe within the trap.
11187 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
11188 trap 'exit_status=$?
11189 # Save into config.log some information that might help in debugging.
11191 @@ -1292,20 +1798,35 @@ trap 'exit_status=$?
11194 # The following way of writing the cache mishandles newlines in values,
11197 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
11198 + eval ac_val=\$$ac_var
11199 + case $ac_val in #(
11201 + case $ac_var in #(
11202 + *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
11203 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11205 + case $ac_var in #(
11206 + _ | IFS | as_nl) ;; #(
11207 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11208 + *) $as_unset $ac_var ;;
11213 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
11215 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
11216 + *${as_nl}ac_space=\ *)
11218 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
11219 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
11221 + "s/'\''/'\''\\\\'\'''\''/g;
11222 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
11226 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11227 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11237 @@ -1316,22 +1837,28 @@ _ASBOX
11239 for ac_var in $ac_subst_vars
11241 - eval ac_val=$`echo $ac_var`
11242 - echo "$ac_var='"'"'$ac_val'"'"'"
11243 + eval ac_val=\$$ac_var
11245 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
11247 + $as_echo "$ac_var='\''$ac_val'\''"
11251 if test -n "$ac_subst_files"; then
11253 -## ------------- ##
11254 -## Output files. ##
11255 -## ------------- ##
11256 +## ------------------- ##
11257 +## File substitutions. ##
11258 +## ------------------- ##
11261 for ac_var in $ac_subst_files
11263 - eval ac_val=$`echo $ac_var`
11264 - echo "$ac_var='"'"'$ac_val'"'"'"
11265 + eval ac_val=\$$ac_var
11267 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
11269 + $as_echo "$ac_var='\''$ac_val'\''"
11273 @@ -1343,26 +1870,24 @@ _ASBOX
11277 - sed "/^$/d" confdefs.h | sort
11281 test "$ac_signal" != 0 &&
11282 - echo "$as_me: caught signal $ac_signal"
11283 - echo "$as_me: exit $exit_status"
11284 + $as_echo "$as_me: caught signal $ac_signal"
11285 + $as_echo "$as_me: exit $exit_status"
11287 - rm -f core *.core &&
11288 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
11289 + rm -f core *.core core.conftest.* &&
11290 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
11294 for ac_signal in 1 2 13 15; do
11295 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
11299 # confdefs.h avoids OS command line length limits that DEFS can exceed.
11300 -rm -rf conftest* confdefs.h
11301 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
11303 +rm -f -r conftest* confdefs.h
11305 # Predefined preprocessor variables.
11307 @@ -1392,18 +1917,24 @@ _ACEOF
11310 # Let the site file select an alternate cache file if it wants to.
11311 -# Prefer explicitly selected file to automatically selected ones.
11312 -if test -z "$CONFIG_SITE"; then
11313 - if test "x$prefix" != xNONE; then
11314 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
11316 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
11319 -for ac_site_file in $CONFIG_SITE; do
11320 +# Prefer an explicitly selected file to automatically selected ones.
11321 +ac_site_file1=NONE
11322 +ac_site_file2=NONE
11323 +if test -n "$CONFIG_SITE"; then
11324 + ac_site_file1=$CONFIG_SITE
11325 +elif test "x$prefix" != xNONE; then
11326 + ac_site_file1=$prefix/share/config.site
11327 + ac_site_file2=$prefix/etc/config.site
11329 + ac_site_file1=$ac_default_prefix/share/config.site
11330 + ac_site_file2=$ac_default_prefix/etc/config.site
11332 +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
11334 + test "x$ac_site_file" = xNONE && continue
11335 if test -r "$ac_site_file"; then
11336 - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
11337 -echo "$as_me: loading site script $ac_site_file" >&6;}
11338 + { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
11339 +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
11340 sed 's/^/| /' "$ac_site_file" >&5
11343 @@ -1413,54 +1944,61 @@ if test -r "$cache_file"; then
11344 # Some versions of bash will fail to source /dev/null (special
11345 # files actually), so we avoid doing that.
11346 if test -f "$cache_file"; then
11347 - { echo "$as_me:$LINENO: loading cache $cache_file" >&5
11348 -echo "$as_me: loading cache $cache_file" >&6;}
11349 + { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
11350 +$as_echo "$as_me: loading cache $cache_file" >&6;}
11351 case $cache_file in
11352 - [\\/]* | ?:[\\/]* ) . $cache_file;;
11353 - *) . ./$cache_file;;
11354 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
11355 + *) . "./$cache_file";;
11359 - { echo "$as_me:$LINENO: creating cache $cache_file" >&5
11360 -echo "$as_me: creating cache $cache_file" >&6;}
11361 + { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
11362 +$as_echo "$as_me: creating cache $cache_file" >&6;}
11366 # Check that the precious variables saved in the cache have kept the same
11368 ac_cache_corrupted=false
11369 -for ac_var in `(set) 2>&1 |
11370 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
11371 +for ac_var in $ac_precious_vars; do
11372 eval ac_old_set=\$ac_cv_env_${ac_var}_set
11373 eval ac_new_set=\$ac_env_${ac_var}_set
11374 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
11375 - eval ac_new_val="\$ac_env_${ac_var}_value"
11376 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
11377 + eval ac_new_val=\$ac_env_${ac_var}_value
11378 case $ac_old_set,$ac_new_set in
11380 - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
11381 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
11382 + { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
11383 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
11384 ac_cache_corrupted=: ;;
11386 - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
11387 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
11388 + { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
11389 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
11390 ac_cache_corrupted=: ;;
11393 if test "x$ac_old_val" != "x$ac_new_val"; then
11394 - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
11395 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
11396 - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
11397 -echo "$as_me: former value: $ac_old_val" >&2;}
11398 - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
11399 -echo "$as_me: current value: $ac_new_val" >&2;}
11400 - ac_cache_corrupted=:
11401 + # differences in whitespace do not lead to failure.
11402 + ac_old_val_w=`echo x $ac_old_val`
11403 + ac_new_val_w=`echo x $ac_new_val`
11404 + if test "$ac_old_val_w" != "$ac_new_val_w"; then
11405 + { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
11406 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
11407 + ac_cache_corrupted=:
11409 + { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
11410 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
11411 + eval $ac_var=\$ac_old_val
11413 + { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
11414 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
11415 + { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
11416 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
11419 # Pass precious variables to config.status.
11420 if test "$ac_new_set" = set; then
11421 case $ac_new_val in
11422 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
11423 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
11424 + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
11425 *) ac_arg=$ac_var=$ac_new_val ;;
11427 case " $ac_configure_args " in
11428 @@ -1470,19 +2008,15 @@ echo "$as_me: current value: $ac_new_val" >&2;}
11431 if $ac_cache_corrupted; then
11432 - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
11433 -echo "$as_me: error: changes in the environment can compromise the build" >&2;}
11434 - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
11435 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
11436 + { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11437 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11438 + { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
11439 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
11440 + { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
11441 +$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
11442 { (exit 1); exit 1; }; }
11446 -ac_cpp='$CPP $CPPFLAGS'
11447 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11448 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11449 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
11454 @@ -1499,109 +2033,164 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
11459 +ac_cpp='$CPP $CPPFLAGS'
11460 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11461 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11462 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11466 -for ac_dir in aux $srcdir/aux; do
11467 - if test -f $ac_dir/install-sh; then
11468 +for ac_dir in aux "$srcdir"/aux; do
11469 + if test -f "$ac_dir/install-sh"; then
11471 ac_install_sh="$ac_aux_dir/install-sh -c"
11473 - elif test -f $ac_dir/install.sh; then
11474 + elif test -f "$ac_dir/install.sh"; then
11476 ac_install_sh="$ac_aux_dir/install.sh -c"
11478 - elif test -f $ac_dir/shtool; then
11479 + elif test -f "$ac_dir/shtool"; then
11481 ac_install_sh="$ac_aux_dir/shtool install -c"
11485 if test -z "$ac_aux_dir"; then
11486 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in aux $srcdir/aux" >&5
11487 -echo "$as_me: error: cannot find install-sh or install.sh in aux $srcdir/aux" >&2;}
11488 + { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in aux \"$srcdir\"/aux" >&5
11489 +$as_echo "$as_me: error: cannot find install-sh or install.sh in aux \"$srcdir\"/aux" >&2;}
11490 { (exit 1); exit 1; }; }
11492 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
11493 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
11494 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
11496 +# These three variables are undocumented and unsupported,
11497 +# and are intended to be withdrawn in a future Autoconf release.
11498 +# They can cause serious problems if a builder's source tree is in a directory
11499 +# whose full name contains unusual characters.
11500 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
11501 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
11502 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
11507 # Make sure we can run config.sub.
11508 -$ac_config_sub sun4 >/dev/null 2>&1 ||
11509 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
11510 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
11511 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
11512 + { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
11513 +$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
11514 { (exit 1); exit 1; }; }
11516 -echo "$as_me:$LINENO: checking build system type" >&5
11517 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
11518 +{ $as_echo "$as_me:$LINENO: checking build system type" >&5
11519 +$as_echo_n "checking build system type... " >&6; }
11520 if test "${ac_cv_build+set}" = set; then
11521 - echo $ECHO_N "(cached) $ECHO_C" >&6
11523 - ac_cv_build_alias=$build_alias
11524 -test -z "$ac_cv_build_alias" &&
11525 - ac_cv_build_alias=`$ac_config_guess`
11526 -test -z "$ac_cv_build_alias" &&
11527 - { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
11528 -echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
11529 + $as_echo_n "(cached) " >&6
11531 + ac_build_alias=$build_alias
11532 +test "x$ac_build_alias" = x &&
11533 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
11534 +test "x$ac_build_alias" = x &&
11535 + { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
11536 +$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
11537 { (exit 1); exit 1; }; }
11538 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
11539 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
11540 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
11541 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
11542 + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
11543 +$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
11544 { (exit 1); exit 1; }; }
11547 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
11548 -echo "${ECHO_T}$ac_cv_build" >&6
11549 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
11550 +$as_echo "$ac_cv_build" >&6; }
11551 +case $ac_cv_build in
11553 +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
11554 +$as_echo "$as_me: error: invalid value of canonical build" >&2;}
11555 + { (exit 1); exit 1; }; };;
11558 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
11559 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
11560 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
11563 -echo "$as_me:$LINENO: checking host system type" >&5
11564 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
11565 +ac_save_IFS=$IFS; IFS='-'
11566 +set x $ac_cv_build
11571 +# Remember, the first character of IFS is used to create $*,
11572 +# except with old shells:
11575 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
11578 +{ $as_echo "$as_me:$LINENO: checking host system type" >&5
11579 +$as_echo_n "checking host system type... " >&6; }
11580 if test "${ac_cv_host+set}" = set; then
11581 - echo $ECHO_N "(cached) $ECHO_C" >&6
11583 - ac_cv_host_alias=$host_alias
11584 -test -z "$ac_cv_host_alias" &&
11585 - ac_cv_host_alias=$ac_cv_build_alias
11586 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
11587 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
11588 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
11589 + $as_echo_n "(cached) " >&6
11591 + if test "x$host_alias" = x; then
11592 + ac_cv_host=$ac_cv_build
11594 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
11595 + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
11596 +$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
11597 { (exit 1); exit 1; }; }
11601 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
11602 -echo "${ECHO_T}$ac_cv_host" >&6
11603 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
11604 +$as_echo "$ac_cv_host" >&6; }
11605 +case $ac_cv_host in
11607 +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
11608 +$as_echo "$as_me: error: invalid value of canonical host" >&2;}
11609 + { (exit 1); exit 1; }; };;
11612 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
11613 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
11614 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
11617 -echo "$as_me:$LINENO: checking target system type" >&5
11618 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
11619 +ac_save_IFS=$IFS; IFS='-'
11625 +# Remember, the first character of IFS is used to create $*,
11626 +# except with old shells:
11629 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
11632 +{ $as_echo "$as_me:$LINENO: checking target system type" >&5
11633 +$as_echo_n "checking target system type... " >&6; }
11634 if test "${ac_cv_target+set}" = set; then
11635 - echo $ECHO_N "(cached) $ECHO_C" >&6
11637 - ac_cv_target_alias=$target_alias
11638 -test "x$ac_cv_target_alias" = "x" &&
11639 - ac_cv_target_alias=$ac_cv_host_alias
11640 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
11641 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
11642 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
11643 + $as_echo_n "(cached) " >&6
11645 + if test "x$target_alias" = x; then
11646 + ac_cv_target=$ac_cv_host
11648 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
11649 + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
11650 +$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
11651 { (exit 1); exit 1; }; }
11655 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
11656 -echo "${ECHO_T}$ac_cv_target" >&6
11657 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
11658 +$as_echo "$ac_cv_target" >&6; }
11659 +case $ac_cv_target in
11661 +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
11662 +$as_echo "$as_me: error: invalid value of canonical target" >&2;}
11663 + { (exit 1); exit 1; }; };;
11665 target=$ac_cv_target
11666 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
11667 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
11668 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
11669 +ac_save_IFS=$IFS; IFS='-'
11670 +set x $ac_cv_target
11675 +# Remember, the first character of IFS is used to create $*,
11676 +# except with old shells:
11679 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
11682 # The aliases save the names the user supplied, while $host etc.
11683 @@ -1625,11 +2214,12 @@ am__api_version="1.9"
11684 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11685 # OS/2's system install, which has a completely different semantic
11686 # ./install, which can be erroneously created by make from ./install.sh.
11687 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11688 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11689 +# Reject install programs that cannot install multiple files.
11690 +{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11691 +$as_echo_n "checking for a BSD-compatible install... " >&6; }
11692 if test -z "$INSTALL"; then
11693 if test "${ac_cv_path_install+set}" = set; then
11694 - echo $ECHO_N "(cached) $ECHO_C" >&6
11695 + $as_echo_n "(cached) " >&6
11697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11698 for as_dir in $PATH
11699 @@ -1648,7 +2238,7 @@ case $as_dir/ in
11701 for ac_prog in ginstall scoinst install; do
11702 for ac_exec_ext in '' $ac_executable_extensions; do
11703 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11704 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
11705 if test $ac_prog = install &&
11706 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11707 # AIX install. It has an incompatible calling convention.
11708 @@ -1658,30 +2248,43 @@ case $as_dir/ in
11709 # program-specific install script used by HP pwplus--don't use.
11712 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11714 + rm -rf conftest.one conftest.two conftest.dir
11715 + echo one > conftest.one
11716 + echo two > conftest.two
11717 + mkdir conftest.dir
11718 + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
11719 + test -s conftest.one && test -s conftest.two &&
11720 + test -s conftest.dir/conftest.one &&
11721 + test -s conftest.dir/conftest.two
11723 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11736 +rm -rf conftest.one conftest.two conftest.dir
11739 if test "${ac_cv_path_install+set}" = set; then
11740 INSTALL=$ac_cv_path_install
11742 - # As a last resort, use the slow shell script. We don't cache a
11743 - # path for INSTALL within a source directory, because that will
11744 + # As a last resort, use the slow shell script. Don't cache a
11745 + # value for INSTALL within a source directory, because that will
11746 # break other packages using the cache if that directory is
11747 - # removed, or if the path is relative.
11748 + # removed, or if the value is a relative name.
11749 INSTALL=$ac_install_sh
11752 -echo "$as_me:$LINENO: result: $INSTALL" >&5
11753 -echo "${ECHO_T}$INSTALL" >&6
11754 +{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
11755 +$as_echo "$INSTALL" >&6; }
11757 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11758 # It thinks the first close brace ends the variable substitution.
11759 @@ -1691,8 +2294,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11761 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11763 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
11764 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
11765 +{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
11766 +$as_echo_n "checking whether build environment is sane... " >&6; }
11769 echo timestamp > conftest.file
11770 @@ -1715,9 +2318,9 @@ if (
11771 # if, for instance, CONFIG_SHELL is bash and it inherits a
11772 # broken ls alias from the environment. This has actually
11773 # happened. Such a system could not be considered "sane".
11774 - { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
11775 + { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
11776 alias in your environment" >&5
11777 -echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
11778 +$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
11779 alias in your environment" >&2;}
11780 { (exit 1); exit 1; }; }
11782 @@ -1728,26 +2331,23 @@ then
11786 - { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
11787 + { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
11788 Check your system clock" >&5
11789 -echo "$as_me: error: newly created file is older than distributed files!
11790 +$as_echo "$as_me: error: newly created file is older than distributed files!
11791 Check your system clock" >&2;}
11792 { (exit 1); exit 1; }; }
11794 -echo "$as_me:$LINENO: result: yes" >&5
11795 -echo "${ECHO_T}yes" >&6
11796 +{ $as_echo "$as_me:$LINENO: result: yes" >&5
11797 +$as_echo "yes" >&6; }
11798 test "$program_prefix" != NONE &&
11799 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
11800 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
11801 # Use a double $ so make ignores it.
11802 test "$program_suffix" != NONE &&
11803 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
11804 -# Double any \ or $. echo might interpret backslashes.
11805 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
11806 +# Double any \ or $.
11807 # By default was `s,x,x', remove it if useless.
11808 -cat <<\_ACEOF >conftest.sed
11809 -s/[\\$]/&&/g;s/;s,x,x,$//
11811 -program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
11813 +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
11814 +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
11816 # expand $ac_aux_dir to an absolute path
11817 am_aux_dir=`cd $ac_aux_dir && pwd`
11818 @@ -1758,8 +2358,8 @@ if eval "$MISSING --run true"; then
11819 am_missing_run="$MISSING --run "
11822 - { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
11823 -echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
11824 + { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
11825 +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
11828 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
11829 @@ -1799,10 +2399,10 @@ for ac_prog in gawk mawk nawk awk
11831 # Extract the first word of "$ac_prog", so it can be a program name with args.
11832 set dummy $ac_prog; ac_word=$2
11833 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11834 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11835 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11836 +$as_echo_n "checking for $ac_word... " >&6; }
11837 if test "${ac_cv_prog_AWK+set}" = set; then
11838 - echo $ECHO_N "(cached) $ECHO_C" >&6
11839 + $as_echo_n "(cached) " >&6
11841 if test -n "$AWK"; then
11842 ac_cv_prog_AWK="$AWK" # Let the user override the test.
11843 @@ -1813,54 +2413,58 @@ do
11845 test -z "$as_dir" && as_dir=.
11846 for ac_exec_ext in '' $ac_executable_extensions; do
11847 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11848 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11849 ac_cv_prog_AWK="$ac_prog"
11850 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11851 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11860 AWK=$ac_cv_prog_AWK
11861 if test -n "$AWK"; then
11862 - echo "$as_me:$LINENO: result: $AWK" >&5
11863 -echo "${ECHO_T}$AWK" >&6
11864 + { $as_echo "$as_me:$LINENO: result: $AWK" >&5
11865 +$as_echo "$AWK" >&6; }
11867 - echo "$as_me:$LINENO: result: no" >&5
11868 -echo "${ECHO_T}no" >&6
11869 + { $as_echo "$as_me:$LINENO: result: no" >&5
11870 +$as_echo "no" >&6; }
11874 test -n "$AWK" && break
11877 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
11878 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
11879 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
11880 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
11881 - echo $ECHO_N "(cached) $ECHO_C" >&6
11882 +{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
11883 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
11884 +set x ${MAKE-make}
11885 +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
11886 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
11887 + $as_echo_n "(cached) " >&6
11889 cat >conftest.make <<\_ACEOF
11892 - @echo 'ac_maketemp="$(MAKE)"'
11893 + @echo '@@@%%%=$(MAKE)=@@@%%%'
11895 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11896 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
11897 -if test -n "$ac_maketemp"; then
11898 - eval ac_cv_prog_make_${ac_make}_set=yes
11900 - eval ac_cv_prog_make_${ac_make}_set=no
11902 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
11903 + *@@@%%%=?*=@@@%%%*)
11904 + eval ac_cv_prog_make_${ac_make}_set=yes;;
11906 + eval ac_cv_prog_make_${ac_make}_set=no;;
11908 rm -f conftest.make
11910 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
11911 - echo "$as_me:$LINENO: result: yes" >&5
11912 -echo "${ECHO_T}yes" >&6
11913 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
11914 + { $as_echo "$as_me:$LINENO: result: yes" >&5
11915 +$as_echo "yes" >&6; }
11918 - echo "$as_me:$LINENO: result: no" >&5
11919 -echo "${ECHO_T}no" >&6
11920 + { $as_echo "$as_me:$LINENO: result: no" >&5
11921 +$as_echo "no" >&6; }
11922 SET_MAKE="MAKE=${MAKE-make}"
11925 @@ -1876,8 +2480,8 @@ rmdir .tst 2>/dev/null
11926 # test to see if srcdir already configured
11927 if test "`cd $srcdir && pwd`" != "`pwd`" &&
11928 test -f $srcdir/config.status; then
11929 - { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
11930 -echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
11931 + { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
11932 +$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
11933 { (exit 1); exit 1; }; }
11936 @@ -1931,10 +2535,10 @@ if test "$cross_compiling" != no; then
11937 if test -n "$ac_tool_prefix"; then
11938 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
11939 set dummy ${ac_tool_prefix}strip; ac_word=$2
11940 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11941 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11942 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11943 +$as_echo_n "checking for $ac_word... " >&6; }
11944 if test "${ac_cv_prog_STRIP+set}" = set; then
11945 - echo $ECHO_N "(cached) $ECHO_C" >&6
11946 + $as_echo_n "(cached) " >&6
11948 if test -n "$STRIP"; then
11949 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11950 @@ -1945,34 +2549,36 @@ do
11952 test -z "$as_dir" && as_dir=.
11953 for ac_exec_ext in '' $ac_executable_extensions; do
11954 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11955 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11956 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
11957 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11958 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11967 STRIP=$ac_cv_prog_STRIP
11968 if test -n "$STRIP"; then
11969 - echo "$as_me:$LINENO: result: $STRIP" >&5
11970 -echo "${ECHO_T}$STRIP" >&6
11971 + { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
11972 +$as_echo "$STRIP" >&6; }
11974 - echo "$as_me:$LINENO: result: no" >&5
11975 -echo "${ECHO_T}no" >&6
11976 + { $as_echo "$as_me:$LINENO: result: no" >&5
11977 +$as_echo "no" >&6; }
11982 if test -z "$ac_cv_prog_STRIP"; then
11984 # Extract the first word of "strip", so it can be a program name with args.
11985 set dummy strip; ac_word=$2
11986 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11987 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11988 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11989 +$as_echo_n "checking for $ac_word... " >&6; }
11990 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
11991 - echo $ECHO_N "(cached) $ECHO_C" >&6
11992 + $as_echo_n "(cached) " >&6
11994 if test -n "$ac_ct_STRIP"; then
11995 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
11996 @@ -1983,27 +2589,37 @@ do
11998 test -z "$as_dir" && as_dir=.
11999 for ac_exec_ext in '' $ac_executable_extensions; do
12000 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12001 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12002 ac_cv_prog_ac_ct_STRIP="strip"
12003 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12004 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12011 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
12014 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
12015 if test -n "$ac_ct_STRIP"; then
12016 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
12017 -echo "${ECHO_T}$ac_ct_STRIP" >&6
12018 + { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
12019 +$as_echo "$ac_ct_STRIP" >&6; }
12021 - echo "$as_me:$LINENO: result: no" >&5
12022 -echo "${ECHO_T}no" >&6
12023 + { $as_echo "$as_me:$LINENO: result: no" >&5
12024 +$as_echo "no" >&6; }
12027 - STRIP=$ac_ct_STRIP
12028 + if test "x$ac_ct_STRIP" = x; then
12031 + case $cross_compiling:$ac_tool_warned in
12033 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12034 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12035 +ac_tool_warned=yes ;;
12037 + STRIP=$ac_ct_STRIP
12040 STRIP="$ac_cv_prog_STRIP"
12042 @@ -2023,19 +2639,19 @@ am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
12046 - ac_config_headers="$ac_config_headers config.h"
12047 +ac_config_headers="$ac_config_headers config.h"
12049 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
12050 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
12051 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
12052 +{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
12053 +$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
12054 + # Check whether --enable-maintainer-mode was given.
12055 if test "${enable_maintainer_mode+set}" = set; then
12056 - enableval="$enable_maintainer_mode"
12057 - USE_MAINTAINER_MODE=$enableval
12058 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
12060 USE_MAINTAINER_MODE=no
12062 - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
12063 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
12066 + { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
12067 +$as_echo "$USE_MAINTAINER_MODE" >&6; }
12070 if test $USE_MAINTAINER_MODE = yes; then
12071 @@ -2058,10 +2674,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
12072 if test -n "$ac_tool_prefix"; then
12073 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12074 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12075 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12076 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12077 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12078 +$as_echo_n "checking for $ac_word... " >&6; }
12079 if test "${ac_cv_prog_CC+set}" = set; then
12080 - echo $ECHO_N "(cached) $ECHO_C" >&6
12081 + $as_echo_n "(cached) " >&6
12083 if test -n "$CC"; then
12084 ac_cv_prog_CC="$CC" # Let the user override the test.
12085 @@ -2072,34 +2688,36 @@ do
12087 test -z "$as_dir" && as_dir=.
12088 for ac_exec_ext in '' $ac_executable_extensions; do
12089 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12090 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12091 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12092 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12093 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12103 if test -n "$CC"; then
12104 - echo "$as_me:$LINENO: result: $CC" >&5
12105 -echo "${ECHO_T}$CC" >&6
12106 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
12107 +$as_echo "$CC" >&6; }
12109 - echo "$as_me:$LINENO: result: no" >&5
12110 -echo "${ECHO_T}no" >&6
12111 + { $as_echo "$as_me:$LINENO: result: no" >&5
12112 +$as_echo "no" >&6; }
12117 if test -z "$ac_cv_prog_CC"; then
12119 # Extract the first word of "gcc", so it can be a program name with args.
12120 set dummy gcc; ac_word=$2
12121 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12122 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12123 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12124 +$as_echo_n "checking for $ac_word... " >&6; }
12125 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12126 - echo $ECHO_N "(cached) $ECHO_C" >&6
12127 + $as_echo_n "(cached) " >&6
12129 if test -n "$ac_ct_CC"; then
12130 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12131 @@ -2110,38 +2728,49 @@ do
12133 test -z "$as_dir" && as_dir=.
12134 for ac_exec_ext in '' $ac_executable_extensions; do
12135 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12136 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12137 ac_cv_prog_ac_ct_CC="gcc"
12138 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12139 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12148 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12149 if test -n "$ac_ct_CC"; then
12150 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12151 -echo "${ECHO_T}$ac_ct_CC" >&6
12152 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12153 +$as_echo "$ac_ct_CC" >&6; }
12155 - echo "$as_me:$LINENO: result: no" >&5
12156 -echo "${ECHO_T}no" >&6
12157 + { $as_echo "$as_me:$LINENO: result: no" >&5
12158 +$as_echo "no" >&6; }
12162 + if test "x$ac_ct_CC" = x; then
12165 + case $cross_compiling:$ac_tool_warned in
12167 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12168 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12169 +ac_tool_warned=yes ;;
12174 CC="$ac_cv_prog_CC"
12177 if test -z "$CC"; then
12178 - if test -n "$ac_tool_prefix"; then
12179 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12180 + if test -n "$ac_tool_prefix"; then
12181 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12182 set dummy ${ac_tool_prefix}cc; ac_word=$2
12183 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12184 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12185 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12186 +$as_echo_n "checking for $ac_word... " >&6; }
12187 if test "${ac_cv_prog_CC+set}" = set; then
12188 - echo $ECHO_N "(cached) $ECHO_C" >&6
12189 + $as_echo_n "(cached) " >&6
12191 if test -n "$CC"; then
12192 ac_cv_prog_CC="$CC" # Let the user override the test.
12193 @@ -2152,76 +2781,36 @@ do
12195 test -z "$as_dir" && as_dir=.
12196 for ac_exec_ext in '' $ac_executable_extensions; do
12197 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12198 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12199 ac_cv_prog_CC="${ac_tool_prefix}cc"
12200 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12201 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12211 if test -n "$CC"; then
12212 - echo "$as_me:$LINENO: result: $CC" >&5
12213 -echo "${ECHO_T}$CC" >&6
12214 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
12215 +$as_echo "$CC" >&6; }
12217 - echo "$as_me:$LINENO: result: no" >&5
12218 -echo "${ECHO_T}no" >&6
12219 + { $as_echo "$as_me:$LINENO: result: no" >&5
12220 +$as_echo "no" >&6; }
12224 -if test -z "$ac_cv_prog_CC"; then
12226 - # Extract the first word of "cc", so it can be a program name with args.
12227 -set dummy cc; ac_word=$2
12228 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12229 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12230 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12231 - echo $ECHO_N "(cached) $ECHO_C" >&6
12233 - if test -n "$ac_ct_CC"; then
12234 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12236 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12237 -for as_dir in $PATH
12240 - test -z "$as_dir" && as_dir=.
12241 - for ac_exec_ext in '' $ac_executable_extensions; do
12242 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12243 - ac_cv_prog_ac_ct_CC="cc"
12244 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12252 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
12253 -if test -n "$ac_ct_CC"; then
12254 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12255 -echo "${ECHO_T}$ac_ct_CC" >&6
12257 - echo "$as_me:$LINENO: result: no" >&5
12258 -echo "${ECHO_T}no" >&6
12263 - CC="$ac_cv_prog_CC"
12268 if test -z "$CC"; then
12269 # Extract the first word of "cc", so it can be a program name with args.
12270 set dummy cc; ac_word=$2
12271 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12272 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12273 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12274 +$as_echo_n "checking for $ac_word... " >&6; }
12275 if test "${ac_cv_prog_CC+set}" = set; then
12276 - echo $ECHO_N "(cached) $ECHO_C" >&6
12277 + $as_echo_n "(cached) " >&6
12279 if test -n "$CC"; then
12280 ac_cv_prog_CC="$CC" # Let the user override the test.
12281 @@ -2233,17 +2822,18 @@ do
12283 test -z "$as_dir" && as_dir=.
12284 for ac_exec_ext in '' $ac_executable_extensions; do
12285 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12286 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12287 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12288 ac_prog_rejected=yes
12292 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12293 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12300 if test $ac_prog_rejected = yes; then
12301 # We found a bogon in the path, so make sure we never use it.
12302 @@ -2261,24 +2851,25 @@ fi
12305 if test -n "$CC"; then
12306 - echo "$as_me:$LINENO: result: $CC" >&5
12307 -echo "${ECHO_T}$CC" >&6
12308 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
12309 +$as_echo "$CC" >&6; }
12311 - echo "$as_me:$LINENO: result: no" >&5
12312 -echo "${ECHO_T}no" >&6
12313 + { $as_echo "$as_me:$LINENO: result: no" >&5
12314 +$as_echo "no" >&6; }
12319 if test -z "$CC"; then
12320 if test -n "$ac_tool_prefix"; then
12321 - for ac_prog in cl
12322 + for ac_prog in cl.exe
12324 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12325 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12326 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12327 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12328 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12329 +$as_echo_n "checking for $ac_word... " >&6; }
12330 if test "${ac_cv_prog_CC+set}" = set; then
12331 - echo $ECHO_N "(cached) $ECHO_C" >&6
12332 + $as_echo_n "(cached) " >&6
12334 if test -n "$CC"; then
12335 ac_cv_prog_CC="$CC" # Let the user override the test.
12336 @@ -2289,38 +2880,40 @@ do
12338 test -z "$as_dir" && as_dir=.
12339 for ac_exec_ext in '' $ac_executable_extensions; do
12340 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12341 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12342 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12343 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12344 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12354 if test -n "$CC"; then
12355 - echo "$as_me:$LINENO: result: $CC" >&5
12356 -echo "${ECHO_T}$CC" >&6
12357 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
12358 +$as_echo "$CC" >&6; }
12360 - echo "$as_me:$LINENO: result: no" >&5
12361 -echo "${ECHO_T}no" >&6
12362 + { $as_echo "$as_me:$LINENO: result: no" >&5
12363 +$as_echo "no" >&6; }
12367 test -n "$CC" && break
12370 if test -z "$CC"; then
12372 - for ac_prog in cl
12373 + for ac_prog in cl.exe
12375 # Extract the first word of "$ac_prog", so it can be a program name with args.
12376 set dummy $ac_prog; ac_word=$2
12377 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12378 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12379 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12380 +$as_echo_n "checking for $ac_word... " >&6; }
12381 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12382 - echo $ECHO_N "(cached) $ECHO_C" >&6
12383 + $as_echo_n "(cached) " >&6
12385 if test -n "$ac_ct_CC"; then
12386 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12387 @@ -2331,58 +2924,90 @@ do
12389 test -z "$as_dir" && as_dir=.
12390 for ac_exec_ext in '' $ac_executable_extensions; do
12391 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12392 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12393 ac_cv_prog_ac_ct_CC="$ac_prog"
12394 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12395 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12404 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12405 if test -n "$ac_ct_CC"; then
12406 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12407 -echo "${ECHO_T}$ac_ct_CC" >&6
12408 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12409 +$as_echo "$ac_ct_CC" >&6; }
12411 - echo "$as_me:$LINENO: result: no" >&5
12412 -echo "${ECHO_T}no" >&6
12413 + { $as_echo "$as_me:$LINENO: result: no" >&5
12414 +$as_echo "no" >&6; }
12418 test -n "$ac_ct_CC" && break
12422 + if test "x$ac_ct_CC" = x; then
12425 + case $cross_compiling:$ac_tool_warned in
12427 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12428 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12429 +ac_tool_warned=yes ;;
12438 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12439 +test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12440 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12441 +{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12442 See \`config.log' for more details." >&5
12443 -echo "$as_me: error: no acceptable C compiler found in \$PATH
12444 +$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
12445 See \`config.log' for more details." >&2;}
12446 - { (exit 1); exit 1; }; }
12447 + { (exit 1); exit 1; }; }; }
12449 # Provide some information about the compiler.
12450 -echo "$as_me:$LINENO:" \
12451 - "checking for C compiler version" >&5
12452 -ac_compiler=`set X $ac_compile; echo $2`
12453 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12454 - (eval $ac_compiler --version </dev/null >&5) 2>&5
12455 +$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
12458 +{ (ac_try="$ac_compiler --version >&5"
12459 +case "(($ac_try" in
12460 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12461 + *) ac_try_echo=$ac_try;;
12463 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12464 +$as_echo "$ac_try_echo") >&5
12465 + (eval "$ac_compiler --version >&5") 2>&5
12467 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12468 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); }
12470 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12471 - (eval $ac_compiler -v </dev/null >&5) 2>&5
12472 +{ (ac_try="$ac_compiler -v >&5"
12473 +case "(($ac_try" in
12474 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12475 + *) ac_try_echo=$ac_try;;
12477 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12478 +$as_echo "$ac_try_echo") >&5
12479 + (eval "$ac_compiler -v >&5") 2>&5
12481 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12482 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12483 (exit $ac_status); }
12484 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12485 - (eval $ac_compiler -V </dev/null >&5) 2>&5
12486 +{ (ac_try="$ac_compiler -V >&5"
12487 +case "(($ac_try" in
12488 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12489 + *) ac_try_echo=$ac_try;;
12491 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12492 +$as_echo "$ac_try_echo") >&5
12493 + (eval "$ac_compiler -V >&5") 2>&5
12495 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12497 (exit $ac_status); }
12499 cat >conftest.$ac_ext <<_ACEOF
12500 @@ -2401,111 +3026,150 @@ main ()
12503 ac_clean_files_save=$ac_clean_files
12504 -ac_clean_files="$ac_clean_files a.out a.exe b.out"
12505 +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
12506 # Try to create an executable without -o first, disregard a.out.
12507 # It will help us diagnose broken compilers, and finding out an intuition
12509 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12510 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12511 -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12512 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12513 - (eval $ac_link_default) 2>&5
12514 +{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12515 +$as_echo_n "checking for C compiler default output file name... " >&6; }
12516 +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12518 +# The possible output files:
12519 +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
12522 +for ac_file in $ac_files
12525 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
12526 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
12531 +if { (ac_try="$ac_link_default"
12532 +case "(($ac_try" in
12533 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12534 + *) ac_try_echo=$ac_try;;
12536 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12537 +$as_echo "$ac_try_echo") >&5
12538 + (eval "$ac_link_default") 2>&5
12540 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12541 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12542 (exit $ac_status); }; then
12543 - # Find the output, starting from the most likely. This scheme is
12544 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
12547 -# Be careful to initialize this variable, since it used to be cached.
12548 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12550 -# b.out is created by i960 compilers.
12551 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12552 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
12553 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
12554 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
12555 +# so that the user can short-circuit this test for compilers unknown to
12557 +for ac_file in $ac_files ''
12559 test -f "$ac_file" || continue
12561 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12563 - conftest.$ac_ext )
12564 - # This is the source file.
12565 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
12568 # We found the default executable, but exeext='' is most
12572 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12573 - # FIXME: I believe we export ac_cv_exeext for Libtool,
12574 - # but it would be cool to find out if it's true. Does anybody
12575 - # maintain Libtool? --akim.
12576 - export ac_cv_exeext
12577 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
12579 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12581 + # We set ac_cv_exeext here because the later test for it is not
12582 + # safe: cross compilers may not add the suffix if given an `-o'
12583 + # argument, so we may need to know it at that point already.
12584 + # Even if this section looks crufty: it has the advantage of
12585 + # actually working.
12591 +test "$ac_cv_exeext" = no && ac_cv_exeext=
12594 - echo "$as_me: failed program was:" >&5
12598 +{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
12599 +$as_echo "$ac_file" >&6; }
12600 +if test -z "$ac_file"; then
12601 + $as_echo "$as_me: failed program was:" >&5
12602 sed 's/^/| /' conftest.$ac_ext >&5
12604 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
12605 +{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12606 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12607 +{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
12608 See \`config.log' for more details." >&5
12609 -echo "$as_me: error: C compiler cannot create executables
12610 +$as_echo "$as_me: error: C compiler cannot create executables
12611 See \`config.log' for more details." >&2;}
12612 - { (exit 77); exit 77; }; }
12613 + { (exit 77); exit 77; }; }; }
12616 ac_exeext=$ac_cv_exeext
12617 -echo "$as_me:$LINENO: result: $ac_file" >&5
12618 -echo "${ECHO_T}$ac_file" >&6
12620 -# Check the compiler produces executables we can run. If not, either
12621 +# Check that the compiler produces executables we can run. If not, either
12622 # the compiler is broken, or we cross compile.
12623 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12624 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12625 +{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12626 +$as_echo_n "checking whether the C compiler works... " >&6; }
12627 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12628 # If not cross compiling, check that we can run a simple program.
12629 if test "$cross_compiling" != yes; then
12630 if { ac_try='./$ac_file'
12631 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12632 - (eval $ac_try) 2>&5
12633 + { (case "(($ac_try" in
12634 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12635 + *) ac_try_echo=$ac_try;;
12637 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12638 +$as_echo "$ac_try_echo") >&5
12639 + (eval "$ac_try") 2>&5
12641 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643 (exit $ac_status); }; }; then
12646 if test "$cross_compiling" = maybe; then
12647 cross_compiling=yes
12649 - { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12650 + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12651 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12652 +{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
12653 If you meant to cross compile, use \`--host'.
12654 See \`config.log' for more details." >&5
12655 -echo "$as_me: error: cannot run C compiled programs.
12656 +$as_echo "$as_me: error: cannot run C compiled programs.
12657 If you meant to cross compile, use \`--host'.
12658 See \`config.log' for more details." >&2;}
12659 - { (exit 1); exit 1; }; }
12660 + { (exit 1); exit 1; }; }; }
12664 -echo "$as_me:$LINENO: result: yes" >&5
12665 -echo "${ECHO_T}yes" >&6
12666 +{ $as_echo "$as_me:$LINENO: result: yes" >&5
12667 +$as_echo "yes" >&6; }
12669 -rm -f a.out a.exe conftest$ac_cv_exeext b.out
12670 +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
12671 ac_clean_files=$ac_clean_files_save
12672 -# Check the compiler produces executables we can run. If not, either
12673 +# Check that the compiler produces executables we can run. If not, either
12674 # the compiler is broken, or we cross compile.
12675 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12676 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12677 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
12678 -echo "${ECHO_T}$cross_compiling" >&6
12680 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
12681 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12682 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12683 - (eval $ac_link) 2>&5
12684 +{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12685 +$as_echo_n "checking whether we are cross compiling... " >&6; }
12686 +{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
12687 +$as_echo "$cross_compiling" >&6; }
12689 +{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
12690 +$as_echo_n "checking for suffix of executables... " >&6; }
12691 +if { (ac_try="$ac_link"
12692 +case "(($ac_try" in
12693 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12694 + *) ac_try_echo=$ac_try;;
12696 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12697 +$as_echo "$ac_try_echo") >&5
12698 + (eval "$ac_link") 2>&5
12700 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12701 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702 (exit $ac_status); }; then
12703 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12704 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12705 @@ -2514,32 +3178,33 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12706 for ac_file in conftest.exe conftest conftest.*; do
12707 test -f "$ac_file" || continue
12709 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12710 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
12711 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12712 - export ac_cv_exeext
12718 - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12719 + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12720 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12721 +{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12722 See \`config.log' for more details." >&5
12723 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12724 +$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12725 See \`config.log' for more details." >&2;}
12726 - { (exit 1); exit 1; }; }
12727 + { (exit 1); exit 1; }; }; }
12730 rm -f conftest$ac_cv_exeext
12731 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12732 -echo "${ECHO_T}$ac_cv_exeext" >&6
12733 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12734 +$as_echo "$ac_cv_exeext" >&6; }
12736 rm -f conftest.$ac_ext
12737 EXEEXT=$ac_cv_exeext
12739 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
12740 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12741 +{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
12742 +$as_echo_n "checking for suffix of object files... " >&6; }
12743 if test "${ac_cv_objext+set}" = set; then
12744 - echo $ECHO_N "(cached) $ECHO_C" >&6
12745 + $as_echo_n "(cached) " >&6
12747 cat >conftest.$ac_ext <<_ACEOF
12749 @@ -2557,39 +3222,48 @@ main ()
12752 rm -f conftest.o conftest.obj
12753 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12754 - (eval $ac_compile) 2>&5
12755 +if { (ac_try="$ac_compile"
12756 +case "(($ac_try" in
12757 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12758 + *) ac_try_echo=$ac_try;;
12760 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12761 +$as_echo "$ac_try_echo") >&5
12762 + (eval "$ac_compile") 2>&5
12764 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); }; then
12767 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12768 + for ac_file in conftest.o conftest.obj conftest.*; do
12769 + test -f "$ac_file" || continue;
12771 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12772 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
12773 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12778 - echo "$as_me: failed program was:" >&5
12779 + $as_echo "$as_me: failed program was:" >&5
12780 sed 's/^/| /' conftest.$ac_ext >&5
12782 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12783 +{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12784 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12785 +{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12786 See \`config.log' for more details." >&5
12787 -echo "$as_me: error: cannot compute suffix of object files: cannot compile
12788 +$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
12789 See \`config.log' for more details." >&2;}
12790 - { (exit 1); exit 1; }; }
12791 + { (exit 1); exit 1; }; }; }
12794 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12796 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12797 -echo "${ECHO_T}$ac_cv_objext" >&6
12798 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12799 +$as_echo "$ac_cv_objext" >&6; }
12800 OBJEXT=$ac_cv_objext
12802 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12803 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12804 +{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12805 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12806 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12807 - echo $ECHO_N "(cached) $ECHO_C" >&6
12808 + $as_echo_n "(cached) " >&6
12810 cat >conftest.$ac_ext <<_ACEOF
12812 @@ -2610,50 +3284,54 @@ main ()
12815 rm -f conftest.$ac_objext
12816 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12817 - (eval $ac_compile) 2>conftest.er1
12818 +if { (ac_try="$ac_compile"
12819 +case "(($ac_try" in
12820 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12821 + *) ac_try_echo=$ac_try;;
12823 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12824 +$as_echo "$ac_try_echo") >&5
12825 + (eval "$ac_compile") 2>conftest.er1
12827 grep -v '^ *+' conftest.er1 >conftest.err
12829 cat conftest.err >&5
12830 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12831 - (exit $ac_status); } &&
12832 - { ac_try='test -z "$ac_c_werror_flag"
12833 - || test ! -s conftest.err'
12834 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12835 - (eval $ac_try) 2>&5
12837 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12838 - (exit $ac_status); }; } &&
12839 - { ac_try='test -s conftest.$ac_objext'
12840 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12841 - (eval $ac_try) 2>&5
12843 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 - (exit $ac_status); }; }; then
12845 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 + (exit $ac_status); } && {
12847 + test -z "$ac_c_werror_flag" ||
12848 + test ! -s conftest.err
12849 + } && test -s conftest.$ac_objext; then
12850 ac_compiler_gnu=yes
12852 - echo "$as_me: failed program was:" >&5
12853 + $as_echo "$as_me: failed program was:" >&5
12854 sed 's/^/| /' conftest.$ac_ext >&5
12856 -ac_compiler_gnu=no
12857 + ac_compiler_gnu=no
12859 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12861 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12862 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12865 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12866 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12867 -GCC=`test $ac_compiler_gnu = yes && echo yes`
12868 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12869 +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
12870 +if test $ac_compiler_gnu = yes; then
12875 ac_test_CFLAGS=${CFLAGS+set}
12876 ac_save_CFLAGS=$CFLAGS
12878 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12879 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12880 +{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12881 +$as_echo_n "checking whether $CC accepts -g... " >&6; }
12882 if test "${ac_cv_prog_cc_g+set}" = set; then
12883 - echo $ECHO_N "(cached) $ECHO_C" >&6
12884 + $as_echo_n "(cached) " >&6
12886 - cat >conftest.$ac_ext <<_ACEOF
12887 + ac_save_c_werror_flag=$ac_c_werror_flag
12888 + ac_c_werror_flag=yes
12889 + ac_cv_prog_cc_g=no
12891 + cat >conftest.$ac_ext <<_ACEOF
12894 cat confdefs.h >>conftest.$ac_ext
12895 @@ -2669,38 +3347,121 @@ main ()
12898 rm -f conftest.$ac_objext
12899 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12900 - (eval $ac_compile) 2>conftest.er1
12901 +if { (ac_try="$ac_compile"
12902 +case "(($ac_try" in
12903 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12904 + *) ac_try_echo=$ac_try;;
12906 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12907 +$as_echo "$ac_try_echo") >&5
12908 + (eval "$ac_compile") 2>conftest.er1
12910 grep -v '^ *+' conftest.er1 >conftest.err
12912 cat conftest.err >&5
12913 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 - (exit $ac_status); } &&
12915 - { ac_try='test -z "$ac_c_werror_flag"
12916 - || test ! -s conftest.err'
12917 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12918 - (eval $ac_try) 2>&5
12919 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 + (exit $ac_status); } && {
12921 + test -z "$ac_c_werror_flag" ||
12922 + test ! -s conftest.err
12923 + } && test -s conftest.$ac_objext; then
12924 + ac_cv_prog_cc_g=yes
12926 + $as_echo "$as_me: failed program was:" >&5
12927 +sed 's/^/| /' conftest.$ac_ext >&5
12930 + cat >conftest.$ac_ext <<_ACEOF
12933 +cat confdefs.h >>conftest.$ac_ext
12934 +cat >>conftest.$ac_ext <<_ACEOF
12935 +/* end confdefs.h. */
12945 +rm -f conftest.$ac_objext
12946 +if { (ac_try="$ac_compile"
12947 +case "(($ac_try" in
12948 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12949 + *) ac_try_echo=$ac_try;;
12951 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12952 +$as_echo "$ac_try_echo") >&5
12953 + (eval "$ac_compile") 2>conftest.er1
12955 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12956 - (exit $ac_status); }; } &&
12957 - { ac_try='test -s conftest.$ac_objext'
12958 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12959 - (eval $ac_try) 2>&5
12960 + grep -v '^ *+' conftest.er1 >conftest.err
12961 + rm -f conftest.er1
12962 + cat conftest.err >&5
12963 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12964 + (exit $ac_status); } && {
12965 + test -z "$ac_c_werror_flag" ||
12966 + test ! -s conftest.err
12967 + } && test -s conftest.$ac_objext; then
12970 + $as_echo "$as_me: failed program was:" >&5
12971 +sed 's/^/| /' conftest.$ac_ext >&5
12973 + ac_c_werror_flag=$ac_save_c_werror_flag
12975 + cat >conftest.$ac_ext <<_ACEOF
12978 +cat confdefs.h >>conftest.$ac_ext
12979 +cat >>conftest.$ac_ext <<_ACEOF
12980 +/* end confdefs.h. */
12990 +rm -f conftest.$ac_objext
12991 +if { (ac_try="$ac_compile"
12992 +case "(($ac_try" in
12993 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12994 + *) ac_try_echo=$ac_try;;
12996 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12997 +$as_echo "$ac_try_echo") >&5
12998 + (eval "$ac_compile") 2>conftest.er1
13000 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001 - (exit $ac_status); }; }; then
13002 + grep -v '^ *+' conftest.er1 >conftest.err
13003 + rm -f conftest.er1
13004 + cat conftest.err >&5
13005 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 + (exit $ac_status); } && {
13007 + test -z "$ac_c_werror_flag" ||
13008 + test ! -s conftest.err
13009 + } && test -s conftest.$ac_objext; then
13010 ac_cv_prog_cc_g=yes
13012 - echo "$as_me: failed program was:" >&5
13013 + $as_echo "$as_me: failed program was:" >&5
13014 sed 's/^/| /' conftest.$ac_ext >&5
13016 -ac_cv_prog_cc_g=no
13020 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13023 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13025 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13027 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13028 + ac_c_werror_flag=$ac_save_c_werror_flag
13030 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13031 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13032 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13033 +$as_echo "$ac_cv_prog_cc_g" >&6; }
13034 if test "$ac_test_CFLAGS" = set; then
13035 CFLAGS=$ac_save_CFLAGS
13036 elif test $ac_cv_prog_cc_g = yes; then
13037 @@ -2716,12 +3477,12 @@ else
13041 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
13042 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
13043 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
13044 - echo $ECHO_N "(cached) $ECHO_C" >&6
13045 +{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13046 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13047 +if test "${ac_cv_prog_cc_c89+set}" = set; then
13048 + $as_echo_n "(cached) " >&6
13050 - ac_cv_prog_cc_stdc=no
13051 + ac_cv_prog_cc_c89=no
13053 cat >conftest.$ac_ext <<_ACEOF
13055 @@ -2755,12 +3516,17 @@ static char *f (char * (*g) (char **, int), char **p, ...)
13056 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13057 function prototypes and stuff, but not '\xHH' hex character constants.
13058 These don't provoke an error unfortunately, instead are silently treated
13059 - as 'x'. The following induces an error, until -std1 is added to get
13060 + as 'x'. The following induces an error, until -std is added to get
13061 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13062 array size at least. It's necessary to write '\x00'==0 to get something
13063 - that's true only with -std1. */
13064 + that's true only with -std. */
13065 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13067 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13068 + inside strings and character constants. */
13069 +#define FOO(x) 'x'
13070 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13072 int test (int i, double x);
13073 struct s1 {int (*f) (int a);};
13074 struct s2 {int (*f) (double a);};
13075 @@ -2775,205 +3541,58 @@ return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13079 -# Don't try gcc -ansi; that turns off useful extensions and
13080 -# breaks some systems' header files.
13081 -# AIX -qlanglvl=ansi
13082 -# Ultrix and OSF/1 -std1
13083 -# HP-UX 10.20 and later -Ae
13084 -# HP-UX older versions -Aa -D_HPUX_SOURCE
13085 -# SVR4 -Xc -D__EXTENSIONS__
13086 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13087 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13088 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13090 CC="$ac_save_CC $ac_arg"
13091 rm -f conftest.$ac_objext
13092 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13093 - (eval $ac_compile) 2>conftest.er1
13094 +if { (ac_try="$ac_compile"
13095 +case "(($ac_try" in
13096 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13097 + *) ac_try_echo=$ac_try;;
13099 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13100 +$as_echo "$ac_try_echo") >&5
13101 + (eval "$ac_compile") 2>conftest.er1
13103 grep -v '^ *+' conftest.er1 >conftest.err
13105 cat conftest.err >&5
13106 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13107 - (exit $ac_status); } &&
13108 - { ac_try='test -z "$ac_c_werror_flag"
13109 - || test ! -s conftest.err'
13110 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13111 - (eval $ac_try) 2>&5
13113 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 - (exit $ac_status); }; } &&
13115 - { ac_try='test -s conftest.$ac_objext'
13116 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13117 - (eval $ac_try) 2>&5
13119 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 - (exit $ac_status); }; }; then
13121 - ac_cv_prog_cc_stdc=$ac_arg
13124 - echo "$as_me: failed program was:" >&5
13125 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13126 + (exit $ac_status); } && {
13127 + test -z "$ac_c_werror_flag" ||
13128 + test ! -s conftest.err
13129 + } && test -s conftest.$ac_objext; then
13130 + ac_cv_prog_cc_c89=$ac_arg
13132 + $as_echo "$as_me: failed program was:" >&5
13133 sed 's/^/| /' conftest.$ac_ext >&5
13137 -rm -f conftest.err conftest.$ac_objext
13139 +rm -f core conftest.err conftest.$ac_objext
13140 + test "x$ac_cv_prog_cc_c89" != "xno" && break
13142 -rm -f conftest.$ac_ext conftest.$ac_objext
13143 +rm -f conftest.$ac_ext
13148 -case "x$ac_cv_prog_cc_stdc" in
13150 - echo "$as_me:$LINENO: result: none needed" >&5
13151 -echo "${ECHO_T}none needed" >&6 ;;
13153 +case "x$ac_cv_prog_cc_c89" in
13155 + { $as_echo "$as_me:$LINENO: result: none needed" >&5
13156 +$as_echo "none needed" >&6; } ;;
13158 + { $as_echo "$as_me:$LINENO: result: unsupported" >&5
13159 +$as_echo "unsupported" >&6; } ;;
13161 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
13162 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
13163 - CC="$CC $ac_cv_prog_cc_stdc" ;;
13164 + CC="$CC $ac_cv_prog_cc_c89"
13165 + { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13166 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13169 -# Some people use a C++ compiler to compile C. Since we use `exit',
13170 -# in C++ we need to declare it. In case someone uses the same compiler
13171 -# for both compiling C and C++ we need to have the C++ compiler decide
13172 -# the declaration of exit, since it's the most demanding environment.
13173 -cat >conftest.$ac_ext <<_ACEOF
13174 -#ifndef __cplusplus
13178 -rm -f conftest.$ac_objext
13179 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13180 - (eval $ac_compile) 2>conftest.er1
13182 - grep -v '^ *+' conftest.er1 >conftest.err
13183 - rm -f conftest.er1
13184 - cat conftest.err >&5
13185 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13186 - (exit $ac_status); } &&
13187 - { ac_try='test -z "$ac_c_werror_flag"
13188 - || test ! -s conftest.err'
13189 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13190 - (eval $ac_try) 2>&5
13192 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13193 - (exit $ac_status); }; } &&
13194 - { ac_try='test -s conftest.$ac_objext'
13195 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13196 - (eval $ac_try) 2>&5
13198 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13199 - (exit $ac_status); }; }; then
13200 - for ac_declaration in \
13202 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
13203 - 'extern "C" void std::exit (int); using std::exit;' \
13204 - 'extern "C" void exit (int) throw ();' \
13205 - 'extern "C" void exit (int);' \
13206 - 'void exit (int);'
13208 - cat >conftest.$ac_ext <<_ACEOF
13211 -cat confdefs.h >>conftest.$ac_ext
13212 -cat >>conftest.$ac_ext <<_ACEOF
13213 -/* end confdefs.h. */
13215 -#include <stdlib.h>
13224 -rm -f conftest.$ac_objext
13225 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13226 - (eval $ac_compile) 2>conftest.er1
13228 - grep -v '^ *+' conftest.er1 >conftest.err
13229 - rm -f conftest.er1
13230 - cat conftest.err >&5
13231 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 - (exit $ac_status); } &&
13233 - { ac_try='test -z "$ac_c_werror_flag"
13234 - || test ! -s conftest.err'
13235 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13236 - (eval $ac_try) 2>&5
13238 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13239 - (exit $ac_status); }; } &&
13240 - { ac_try='test -s conftest.$ac_objext'
13241 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13242 - (eval $ac_try) 2>&5
13244 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13245 - (exit $ac_status); }; }; then
13248 - echo "$as_me: failed program was:" >&5
13249 -sed 's/^/| /' conftest.$ac_ext >&5
13253 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13254 - cat >conftest.$ac_ext <<_ACEOF
13257 -cat confdefs.h >>conftest.$ac_ext
13258 -cat >>conftest.$ac_ext <<_ACEOF
13259 -/* end confdefs.h. */
13269 -rm -f conftest.$ac_objext
13270 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13271 - (eval $ac_compile) 2>conftest.er1
13273 - grep -v '^ *+' conftest.er1 >conftest.err
13274 - rm -f conftest.er1
13275 - cat conftest.err >&5
13276 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13277 - (exit $ac_status); } &&
13278 - { ac_try='test -z "$ac_c_werror_flag"
13279 - || test ! -s conftest.err'
13280 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13281 - (eval $ac_try) 2>&5
13283 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13284 - (exit $ac_status); }; } &&
13285 - { ac_try='test -s conftest.$ac_objext'
13286 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13287 - (eval $ac_try) 2>&5
13289 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13290 - (exit $ac_status); }; }; then
13293 - echo "$as_me: failed program was:" >&5
13294 -sed 's/^/| /' conftest.$ac_ext >&5
13297 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13300 -if test -n "$ac_declaration"; then
13301 - echo '#ifdef __cplusplus' >>confdefs.h
13302 - echo $ac_declaration >>confdefs.h
13303 - echo '#endif' >>confdefs.h
13307 - echo "$as_me: failed program was:" >&5
13308 -sed 's/^/| /' conftest.$ac_ext >&5
13311 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13313 ac_cpp='$CPP $CPPFLAGS'
13314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13315 @@ -2981,7 +3600,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
13316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13317 DEPDIR="${am__leading_dot}deps"
13319 - ac_config_commands="$ac_config_commands depfiles"
13320 +ac_config_commands="$ac_config_commands depfiles"
13323 am_make=${MAKE-make}
13324 @@ -2991,8 +3610,8 @@ am__doit:
13327 # If we don't find an include directive, just comment out the code.
13328 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
13329 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
13330 +{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
13331 +$as_echo_n "checking for style of include used by $am_make... " >&6; }
13335 @@ -3019,15 +3638,15 @@ if test "$am__include" = "#"; then
13339 -echo "$as_me:$LINENO: result: $_am_result" >&5
13340 -echo "${ECHO_T}$_am_result" >&6
13341 +{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
13342 +$as_echo "$_am_result" >&6; }
13343 rm -f confinc confmf
13345 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
13346 +# Check whether --enable-dependency-tracking was given.
13347 if test "${enable_dependency_tracking+set}" = set; then
13348 - enableval="$enable_dependency_tracking"
13349 + enableval=$enable_dependency_tracking;
13353 if test "x$enable_dependency_tracking" != xno; then
13354 am_depcomp="$ac_aux_dir/depcomp"
13356 @@ -3047,10 +3666,10 @@ fi
13358 depcc="$CC" am_compiler_list=
13360 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13361 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
13362 +{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13363 +$as_echo_n "checking dependency style of $depcc... " >&6; }
13364 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
13365 - echo $ECHO_N "(cached) $ECHO_C" >&6
13366 + $as_echo_n "(cached) " >&6
13368 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13369 # We make a subdir and do the tests there. Otherwise we can end up
13370 @@ -3137,8 +3756,8 @@ else
13374 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
13375 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
13376 +{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
13377 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13378 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13381 @@ -3155,10 +3774,9 @@ fi
13385 -# Check whether --enable-static or --disable-static was given.
13386 +# Check whether --enable-static was given.
13387 if test "${enable_static+set}" = set; then
13388 - enableval="$enable_static"
13389 - p=${PACKAGE-default}
13390 + enableval=$enable_static; p=${PACKAGE-default}
13392 yes) enable_static=yes ;;
13393 no) enable_static=no ;;
13394 @@ -3177,13 +3795,13 @@ if test "${enable_static+set}" = set; then
13402 -# Check whether --enable-shared or --disable-shared was given.
13404 +# Check whether --enable-shared was given.
13405 if test "${enable_shared+set}" = set; then
13406 - enableval="$enable_shared"
13407 - p=${PACKAGE-default}
13408 + enableval=$enable_shared; p=${PACKAGE-default}
13410 yes) enable_shared=yes ;;
13411 no) enable_shared=no ;;
13412 @@ -3202,12 +3820,12 @@ if test "${enable_shared+set}" = set; then
13419 -# Check whether --enable-fast-install or --disable-fast-install was given.
13421 +# Check whether --enable-fast-install was given.
13422 if test "${enable_fast_install+set}" = set; then
13423 - enableval="$enable_fast_install"
13424 - p=${PACKAGE-default}
13425 + enableval=$enable_fast_install; p=${PACKAGE-default}
13427 yes) enable_fast_install=yes ;;
13428 no) enable_fast_install=no ;;
13429 @@ -3226,12 +3844,13 @@ if test "${enable_fast_install+set}" = set; then
13432 enable_fast_install=yes
13436 -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
13437 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
13439 +{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
13440 +$as_echo_n "checking for a sed that does not truncate output... " >&6; }
13441 if test "${lt_cv_path_SED+set}" = set; then
13442 - echo $ECHO_N "(cached) $ECHO_C" >&6
13443 + $as_echo_n "(cached) " >&6
13445 # Loop through the user's path and test for sed and gsed.
13446 # Then use that list of sed's as ones to test for truncation.
13447 @@ -3242,18 +3861,19 @@ do
13448 test -z "$as_dir" && as_dir=.
13449 for lt_ac_prog in sed gsed; do
13450 for ac_exec_ext in '' $ac_executable_extensions; do
13451 - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
13452 + if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
13453 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
13461 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
13462 # along with /bin/sed that truncates output.
13463 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
13464 - test ! -f $lt_ac_sed && break
13465 + test ! -f $lt_ac_sed && continue
13466 cat /dev/null > conftest.in
13468 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
13469 @@ -3278,41 +3898,161 @@ for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
13476 SED=$lt_cv_path_SED
13478 +{ $as_echo "$as_me:$LINENO: result: $SED" >&5
13479 +$as_echo "$SED" >&6; }
13481 +{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
13482 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
13483 +if test "${ac_cv_path_GREP+set}" = set; then
13484 + $as_echo_n "(cached) " >&6
13486 + if test -z "$GREP"; then
13487 + ac_path_GREP_found=false
13488 + # Loop through the user's path and test for each of PROGNAME-LIST
13489 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13490 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
13493 + test -z "$as_dir" && as_dir=.
13494 + for ac_prog in grep ggrep; do
13495 + for ac_exec_ext in '' $ac_executable_extensions; do
13496 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
13497 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
13498 +# Check for GNU ac_path_GREP and select it if it is found.
13499 + # Check for GNU $ac_path_GREP
13500 +case `"$ac_path_GREP" --version 2>&1` in
13502 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
13505 + $as_echo_n 0123456789 >"conftest.in"
13508 + cat "conftest.in" "conftest.in" >"conftest.tmp"
13509 + mv "conftest.tmp" "conftest.in"
13510 + cp "conftest.in" "conftest.nl"
13511 + $as_echo 'GREP' >> "conftest.nl"
13512 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
13513 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
13514 + ac_count=`expr $ac_count + 1`
13515 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
13516 + # Best one so far, save it but keep looking for a better one
13517 + ac_cv_path_GREP="$ac_path_GREP"
13518 + ac_path_GREP_max=$ac_count
13520 + # 10*(2^10) chars as input seems more than enough
13521 + test $ac_count -gt 10 && break
13523 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
13526 + $ac_path_GREP_found && break 3
13531 + if test -z "$ac_cv_path_GREP"; then
13532 + { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
13533 +$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
13534 + { (exit 1); exit 1; }; }
13537 + ac_cv_path_GREP=$GREP
13540 -echo "$as_me:$LINENO: result: $SED" >&5
13541 -echo "${ECHO_T}$SED" >&6
13543 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
13544 +$as_echo "$ac_cv_path_GREP" >&6; }
13545 + GREP="$ac_cv_path_GREP"
13547 -echo "$as_me:$LINENO: checking for egrep" >&5
13548 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13549 -if test "${ac_cv_prog_egrep+set}" = set; then
13550 - echo $ECHO_N "(cached) $ECHO_C" >&6
13552 +{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
13553 +$as_echo_n "checking for egrep... " >&6; }
13554 +if test "${ac_cv_path_EGREP+set}" = set; then
13555 + $as_echo_n "(cached) " >&6
13557 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13558 - then ac_cv_prog_egrep='grep -E'
13559 - else ac_cv_prog_egrep='egrep'
13560 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
13561 + then ac_cv_path_EGREP="$GREP -E"
13563 + if test -z "$EGREP"; then
13564 + ac_path_EGREP_found=false
13565 + # Loop through the user's path and test for each of PROGNAME-LIST
13566 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13567 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
13570 + test -z "$as_dir" && as_dir=.
13571 + for ac_prog in egrep; do
13572 + for ac_exec_ext in '' $ac_executable_extensions; do
13573 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
13574 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
13575 +# Check for GNU ac_path_EGREP and select it if it is found.
13576 + # Check for GNU $ac_path_EGREP
13577 +case `"$ac_path_EGREP" --version 2>&1` in
13579 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
13582 + $as_echo_n 0123456789 >"conftest.in"
13585 + cat "conftest.in" "conftest.in" >"conftest.tmp"
13586 + mv "conftest.tmp" "conftest.in"
13587 + cp "conftest.in" "conftest.nl"
13588 + $as_echo 'EGREP' >> "conftest.nl"
13589 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
13590 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
13591 + ac_count=`expr $ac_count + 1`
13592 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
13593 + # Best one so far, save it but keep looking for a better one
13594 + ac_cv_path_EGREP="$ac_path_EGREP"
13595 + ac_path_EGREP_max=$ac_count
13597 + # 10*(2^10) chars as input seems more than enough
13598 + test $ac_count -gt 10 && break
13600 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
13603 + $ac_path_EGREP_found && break 3
13608 + if test -z "$ac_cv_path_EGREP"; then
13609 + { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
13610 +$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
13611 + { (exit 1); exit 1; }; }
13614 + ac_cv_path_EGREP=$EGREP
13616 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13617 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13618 - EGREP=$ac_cv_prog_egrep
13622 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
13623 +$as_echo "$ac_cv_path_EGREP" >&6; }
13624 + EGREP="$ac_cv_path_EGREP"
13628 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
13629 +# Check whether --with-gnu-ld was given.
13630 if test "${with_gnu_ld+set}" = set; then
13631 - withval="$with_gnu_ld"
13632 - test "$withval" = no || with_gnu_ld=yes
13633 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13640 if test "$GCC" = yes; then
13641 # Check if gcc -print-prog-name=ld gives a path.
13642 - echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13643 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
13644 + { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13645 +$as_echo_n "checking for ld used by $CC... " >&6; }
13648 # gcc leaves a trailing carriage return which upsets mingw
13649 @@ -3341,14 +4081,14 @@ echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
13652 elif test "$with_gnu_ld" = yes; then
13653 - echo "$as_me:$LINENO: checking for GNU ld" >&5
13654 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
13655 + { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
13656 +$as_echo_n "checking for GNU ld... " >&6; }
13658 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13659 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
13660 + { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13661 +$as_echo_n "checking for non-GNU ld... " >&6; }
13663 if test "${lt_cv_path_LD+set}" = set; then
13664 - echo $ECHO_N "(cached) $ECHO_C" >&6
13665 + $as_echo_n "(cached) " >&6
13667 if test -z "$LD"; then
13668 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13669 @@ -3358,7 +4098,7 @@ else
13670 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13671 lt_cv_path_LD="$ac_dir/$ac_prog"
13672 # Check to see if the program is GNU ld. I'd rather use --version,
13673 - # but apparently some GNU ld's only accept -v.
13674 + # but apparently some variants of GNU ld only accept -v.
13675 # Break only if it was the GNU/non-GNU ld that we prefer.
13676 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13677 *GNU* | *'with BFD'*)
13678 @@ -3378,21 +4118,21 @@ fi
13680 LD="$lt_cv_path_LD"
13681 if test -n "$LD"; then
13682 - echo "$as_me:$LINENO: result: $LD" >&5
13683 -echo "${ECHO_T}$LD" >&6
13684 + { $as_echo "$as_me:$LINENO: result: $LD" >&5
13685 +$as_echo "$LD" >&6; }
13687 - echo "$as_me:$LINENO: result: no" >&5
13688 -echo "${ECHO_T}no" >&6
13689 + { $as_echo "$as_me:$LINENO: result: no" >&5
13690 +$as_echo "no" >&6; }
13692 -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13693 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13694 +test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13695 +$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13696 { (exit 1); exit 1; }; }
13697 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13698 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
13699 +{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13700 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13701 if test "${lt_cv_prog_gnu_ld+set}" = set; then
13702 - echo $ECHO_N "(cached) $ECHO_C" >&6
13703 + $as_echo_n "(cached) " >&6
13705 - # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13706 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
13707 case `$LD -v 2>&1 </dev/null` in
13708 *GNU* | *'with BFD'*)
13709 lt_cv_prog_gnu_ld=yes
13710 @@ -3402,88 +4142,104 @@ case `$LD -v 2>&1 </dev/null` in
13714 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13715 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
13716 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13717 +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
13718 with_gnu_ld=$lt_cv_prog_gnu_ld
13721 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
13722 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
13723 +{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
13724 +$as_echo_n "checking for $LD option to reload object files... " >&6; }
13725 if test "${lt_cv_ld_reload_flag+set}" = set; then
13726 - echo $ECHO_N "(cached) $ECHO_C" >&6
13727 + $as_echo_n "(cached) " >&6
13729 lt_cv_ld_reload_flag='-r'
13731 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
13732 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
13733 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
13734 +$as_echo "$lt_cv_ld_reload_flag" >&6; }
13735 reload_flag=$lt_cv_ld_reload_flag
13736 case $reload_flag in
13738 *) reload_flag=" $reload_flag" ;;
13740 reload_cmds='$LD$reload_flag -o $output$reload_objs'
13743 + if test "$GCC" = yes; then
13744 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
13746 + reload_cmds='$LD$reload_flag -o $output$reload_objs'
13751 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
13752 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
13753 +{ $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
13754 +$as_echo_n "checking for BSD-compatible nm... " >&6; }
13755 if test "${lt_cv_path_NM+set}" = set; then
13756 - echo $ECHO_N "(cached) $ECHO_C" >&6
13757 + $as_echo_n "(cached) " >&6
13759 if test -n "$NM"; then
13760 # Let the user override the test.
13761 lt_cv_path_NM="$NM"
13763 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13764 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
13765 - IFS="$lt_save_ifs"
13766 - test -z "$ac_dir" && ac_dir=.
13767 - tmp_nm="$ac_dir/${ac_tool_prefix}nm"
13768 - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
13769 - # Check to see if the nm accepts a BSD-compat flag.
13770 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
13771 - # nm: unknown option "B" ignored
13772 - # Tru64's nm complains that /dev/null is an invalid object file
13773 - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
13774 - */dev/null* | *'Invalid file or object type'*)
13775 - lt_cv_path_NM="$tmp_nm -B"
13779 - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
13781 - lt_cv_path_NM="$tmp_nm -p"
13782 + lt_nm_to_check="${ac_tool_prefix}nm"
13783 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
13784 + lt_nm_to_check="$lt_nm_to_check nm"
13786 + for lt_tmp_nm in $lt_nm_to_check; do
13787 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13788 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
13789 + IFS="$lt_save_ifs"
13790 + test -z "$ac_dir" && ac_dir=.
13791 + tmp_nm="$ac_dir/$lt_tmp_nm"
13792 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
13793 + # Check to see if the nm accepts a BSD-compat flag.
13794 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
13795 + # nm: unknown option "B" ignored
13796 + # Tru64's nm complains that /dev/null is an invalid object file
13797 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
13798 + */dev/null* | *'Invalid file or object type'*)
13799 + lt_cv_path_NM="$tmp_nm -B"
13803 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
13804 - continue # so that we can try to find one that supports BSD flags
13805 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
13807 + lt_cv_path_NM="$tmp_nm -p"
13811 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
13812 + continue # so that we can try to find one that supports BSD flags
13821 + IFS="$lt_save_ifs"
13823 - IFS="$lt_save_ifs"
13824 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
13827 -echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
13828 -echo "${ECHO_T}$lt_cv_path_NM" >&6
13829 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
13830 +$as_echo "$lt_cv_path_NM" >&6; }
13831 NM="$lt_cv_path_NM"
13833 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
13834 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13835 +{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
13836 +$as_echo_n "checking whether ln -s works... " >&6; }
13838 if test "$LN_S" = "ln -s"; then
13839 - echo "$as_me:$LINENO: result: yes" >&5
13840 -echo "${ECHO_T}yes" >&6
13841 + { $as_echo "$as_me:$LINENO: result: yes" >&5
13842 +$as_echo "yes" >&6; }
13844 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13845 -echo "${ECHO_T}no, using $LN_S" >&6
13846 + { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13847 +$as_echo "no, using $LN_S" >&6; }
13850 -echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
13851 -echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
13852 +{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
13853 +$as_echo_n "checking how to recognize dependent libraries... " >&6; }
13854 if test "${lt_cv_deplibs_check_method+set}" = set; then
13855 - echo $ECHO_N "(cached) $ECHO_C" >&6
13856 + $as_echo_n "(cached) " >&6
13858 lt_cv_file_magic_cmd='$MAGIC_CMD'
13859 lt_cv_file_magic_test_file=
13860 @@ -3500,7 +4256,7 @@ lt_cv_deplibs_check_method='unknown'
13861 # whether `pass_all' will *always* work, you probably want this one.
13866 lt_cv_deplibs_check_method=pass_all
13869 @@ -3508,7 +4264,7 @@ beos*)
13870 lt_cv_deplibs_check_method=pass_all
13875 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
13876 lt_cv_file_magic_cmd='/usr/bin/file -L'
13877 lt_cv_file_magic_test_file=/shlib/libc.so
13878 @@ -3522,22 +4278,28 @@ cygwin*)
13881 # Base MSYS/MinGW do not provide the 'file' command needed by
13882 - # func_win32_libid shell function, so use a weaker test based on 'objdump'.
13883 - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
13884 - lt_cv_file_magic_cmd='$OBJDUMP -f'
13885 + # func_win32_libid shell function, so use a weaker test based on 'objdump',
13886 + # unless we find 'file', for example because we are cross-compiling.
13887 + if ( file / ) >/dev/null 2>&1; then
13888 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
13889 + lt_cv_file_magic_cmd='func_win32_libid'
13891 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
13892 + lt_cv_file_magic_cmd='$OBJDUMP -f'
13896 darwin* | rhapsody*)
13897 lt_cv_deplibs_check_method=pass_all
13900 -freebsd* | kfreebsd*-gnu)
13901 +freebsd* | dragonfly*)
13902 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
13905 # Not sure whether the presence of OpenBSD here was a mistake.
13906 # Let's accept both of them until this is cleared up.
13907 - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
13908 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
13909 lt_cv_file_magic_cmd=/usr/bin/file
13910 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
13912 @@ -3553,7 +4315,7 @@ gnu*)
13914 hpux10.20* | hpux11*)
13915 lt_cv_file_magic_cmd=/usr/bin/file
13916 - case "$host_cpu" in
13917 + case $host_cpu in
13919 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
13920 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
13921 @@ -3569,6 +4331,11 @@ hpux10.20* | hpux11*)
13926 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
13927 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
13930 irix5* | irix6* | nonstopux*)
13932 *-32|*"-32 ") libmagic=32-bit;;
13933 @@ -3580,20 +4347,11 @@ irix5* | irix6* | nonstopux*)
13936 # This must be Linux ELF.
13938 - case $host_cpu in
13939 - alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*)
13940 - lt_cv_deplibs_check_method=pass_all ;;
13942 - # glibc up to 2.1.1 does not perform some relocations on ARM
13943 - # this will be overridden with pass_all, but let us keep it just in case
13944 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
13946 - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
13947 +linux* | k*bsd*-gnu)
13948 lt_cv_deplibs_check_method=pass_all
13952 +netbsd* | netbsdelf*-gnu)
13953 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
13954 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
13956 @@ -3612,12 +4370,10 @@ nto-qnx*)
13960 - lt_cv_file_magic_cmd=/usr/bin/file
13961 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
13962 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13963 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
13964 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
13966 - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
13967 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
13971 @@ -3625,7 +4381,7 @@ osf3* | osf4* | osf5*)
13972 lt_cv_deplibs_check_method=pass_all
13977 lt_cv_deplibs_check_method=pass_all
13980 @@ -3633,7 +4389,7 @@ solaris*)
13981 lt_cv_deplibs_check_method=pass_all
13984 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13986 case $host_vendor in
13988 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
13989 @@ -3654,17 +4410,20 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13991 lt_cv_deplibs_check_method=pass_all
13994 + lt_cv_deplibs_check_method=pass_all
13999 -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
14000 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14001 lt_cv_deplibs_check_method=pass_all
14006 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
14007 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
14008 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
14009 +$as_echo "$lt_cv_deplibs_check_method" >&6; }
14010 file_magic_cmd=$lt_cv_file_magic_cmd
14011 deplibs_check_method=$lt_cv_deplibs_check_method
14012 test -z "$deplibs_check_method" && deplibs_check_method=unknown
14013 @@ -3675,15 +4434,18 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
14014 # If no C compiler was specified, use CC.
14017 +# If no C compiler flags were specified, use CFLAGS.
14018 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14020 # Allow CC to be a program name with arguments.
14024 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
14025 +# Check whether --enable-libtool-lock was given.
14026 if test "${enable_libtool_lock+set}" = set; then
14027 - enableval="$enable_libtool_lock"
14028 + enableval=$enable_libtool_lock;
14032 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
14034 # Some flags need to be propagated to the compiler or linker for good
14035 @@ -3695,7 +4457,7 @@ ia64-*-hpux*)
14036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14037 (eval $ac_compile) 2>&5
14039 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14041 (exit $ac_status); }; then
14042 case `/usr/bin/file conftest.$ac_objext` in
14044 @@ -3710,11 +4472,11 @@ ia64-*-hpux*)
14047 # Find out which ABI we are using.
14048 - echo '#line 3713 "configure"' > conftest.$ac_ext
14049 + echo '#line 4475 "configure"' > conftest.$ac_ext
14050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14051 (eval $ac_compile) 2>&5
14053 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14054 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); }; then
14056 if test "$lt_cv_prog_gnu_ld" = yes; then
14057 case `/usr/bin/file conftest.$ac_objext` in
14058 @@ -3745,17 +4507,21 @@ ia64-*-hpux*)
14062 -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
14063 +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
14064 +s390*-*linux*|sparc*-*linux*)
14065 # Find out which ABI we are using.
14066 echo 'int i;' > conftest.$ac_ext
14067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14068 (eval $ac_compile) 2>&5
14070 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14072 (exit $ac_status); }; then
14073 - case "`/usr/bin/file conftest.o`" in
14074 + case `/usr/bin/file conftest.o` in
14077 + x86_64-*kfreebsd*-gnu)
14078 + LD="${LD-ld} -m elf_i386_fbsd"
14081 LD="${LD-ld} -m elf_i386"
14083 @@ -3772,6 +4538,9 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
14087 + x86_64-*kfreebsd*-gnu)
14088 + LD="${LD-ld} -m elf_x86_64_fbsd"
14091 LD="${LD-ld} -m elf_x86_64"
14093 @@ -3795,10 +4564,10 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
14094 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
14095 SAVE_CFLAGS="$CFLAGS"
14096 CFLAGS="$CFLAGS -belf"
14097 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
14098 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
14099 + { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
14100 +$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
14101 if test "${lt_cv_cc_needs_belf+set}" = set; then
14102 - echo $ECHO_N "(cached) $ECHO_C" >&6
14103 + $as_echo_n "(cached) " >&6
14106 ac_cpp='$CPP $CPPFLAGS'
14107 @@ -3822,35 +4591,36 @@ main ()
14110 rm -f conftest.$ac_objext conftest$ac_exeext
14111 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14112 - (eval $ac_link) 2>conftest.er1
14113 +if { (ac_try="$ac_link"
14114 +case "(($ac_try" in
14115 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14116 + *) ac_try_echo=$ac_try;;
14118 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14119 +$as_echo "$ac_try_echo") >&5
14120 + (eval "$ac_link") 2>conftest.er1
14122 grep -v '^ *+' conftest.er1 >conftest.err
14124 cat conftest.err >&5
14125 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14126 - (exit $ac_status); } &&
14127 - { ac_try='test -z "$ac_c_werror_flag"
14128 - || test ! -s conftest.err'
14129 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14130 - (eval $ac_try) 2>&5
14132 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133 - (exit $ac_status); }; } &&
14134 - { ac_try='test -s conftest$ac_exeext'
14135 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14136 - (eval $ac_try) 2>&5
14138 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14139 - (exit $ac_status); }; }; then
14140 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14141 + (exit $ac_status); } && {
14142 + test -z "$ac_c_werror_flag" ||
14143 + test ! -s conftest.err
14144 + } && test -s conftest$ac_exeext && {
14145 + test "$cross_compiling" = yes ||
14146 + $as_test_x conftest$ac_exeext
14148 lt_cv_cc_needs_belf=yes
14150 - echo "$as_me: failed program was:" >&5
14151 + $as_echo "$as_me: failed program was:" >&5
14152 sed 's/^/| /' conftest.$ac_ext >&5
14154 -lt_cv_cc_needs_belf=no
14155 + lt_cv_cc_needs_belf=no
14157 -rm -f conftest.err conftest.$ac_objext \
14159 +rm -rf conftest.dSYM
14160 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14161 conftest$ac_exeext conftest.$ac_ext
14163 ac_cpp='$CPP $CPPFLAGS'
14164 @@ -3859,13 +4629,37 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
14165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14168 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
14169 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
14170 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
14171 +$as_echo "$lt_cv_cc_needs_belf" >&6; }
14172 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
14173 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
14174 CFLAGS="$SAVE_CFLAGS"
14178 + # Find out which ABI we are using.
14179 + echo 'int i;' > conftest.$ac_ext
14180 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14181 + (eval $ac_compile) 2>&5
14183 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 + (exit $ac_status); }; then
14185 + case `/usr/bin/file conftest.o` in
14187 + case $lt_cv_prog_gnu_ld in
14188 + yes*) LD="${LD-ld} -m elf64_sparc" ;;
14190 + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
14191 + LD="${LD-ld} -64"
14204 @@ -3877,15 +4671,15 @@ ac_cpp='$CPP $CPPFLAGS'
14205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14208 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14209 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
14210 +{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14211 +$as_echo_n "checking how to run the C preprocessor... " >&6; }
14212 # On Suns, sometimes $CPP names a directory.
14213 if test -n "$CPP" && test -d "$CPP"; then
14216 if test -z "$CPP"; then
14217 if test "${ac_cv_prog_CPP+set}" = set; then
14218 - echo $ECHO_N "(cached) $ECHO_C" >&6
14219 + $as_echo_n "(cached) " >&6
14221 # Double quotes because CPP needs to be expanded
14222 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14223 @@ -3912,35 +4706,35 @@ cat >>conftest.$ac_ext <<_ACEOF
14227 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14228 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14229 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14230 +case "(($ac_try" in
14231 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14232 + *) ac_try_echo=$ac_try;;
14234 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14235 +$as_echo "$ac_try_echo") >&5
14236 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14238 grep -v '^ *+' conftest.er1 >conftest.err
14240 cat conftest.err >&5
14241 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242 - (exit $ac_status); } >/dev/null; then
14243 - if test -s conftest.err; then
14244 - ac_cpp_err=$ac_c_preproc_warn_flag
14245 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14252 -if test -z "$ac_cpp_err"; then
14253 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254 + (exit $ac_status); } >/dev/null && {
14255 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14256 + test ! -s conftest.err
14260 - echo "$as_me: failed program was:" >&5
14261 + $as_echo "$as_me: failed program was:" >&5
14262 sed 's/^/| /' conftest.$ac_ext >&5
14264 # Broken: fails on valid input.
14268 rm -f conftest.err conftest.$ac_ext
14270 - # OK, works on sane cases. Now check whether non-existent headers
14271 + # OK, works on sane cases. Now check whether nonexistent headers
14272 # can be detected and how.
14273 cat >conftest.$ac_ext <<_ACEOF
14275 @@ -3950,34 +4744,34 @@ cat >>conftest.$ac_ext <<_ACEOF
14276 /* end confdefs.h. */
14277 #include <ac_nonexistent.h>
14279 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14280 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14281 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14282 +case "(($ac_try" in
14283 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14284 + *) ac_try_echo=$ac_try;;
14286 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14287 +$as_echo "$ac_try_echo") >&5
14288 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14290 grep -v '^ *+' conftest.er1 >conftest.err
14292 cat conftest.err >&5
14293 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14294 - (exit $ac_status); } >/dev/null; then
14295 - if test -s conftest.err; then
14296 - ac_cpp_err=$ac_c_preproc_warn_flag
14297 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14304 -if test -z "$ac_cpp_err"; then
14305 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 + (exit $ac_status); } >/dev/null && {
14307 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14308 + test ! -s conftest.err
14310 # Broken: success on invalid input.
14313 - echo "$as_me: failed program was:" >&5
14314 + $as_echo "$as_me: failed program was:" >&5
14315 sed 's/^/| /' conftest.$ac_ext >&5
14317 # Passes both tests.
14322 rm -f conftest.err conftest.$ac_ext
14325 @@ -3995,8 +4789,8 @@ fi
14327 ac_cv_prog_CPP=$CPP
14329 -echo "$as_me:$LINENO: result: $CPP" >&5
14330 -echo "${ECHO_T}$CPP" >&6
14331 +{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
14332 +$as_echo "$CPP" >&6; }
14333 ac_preproc_ok=false
14334 for ac_c_preproc_warn_flag in '' yes
14336 @@ -4019,35 +4813,35 @@ cat >>conftest.$ac_ext <<_ACEOF
14340 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14341 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14342 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14343 +case "(($ac_try" in
14344 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14345 + *) ac_try_echo=$ac_try;;
14347 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14348 +$as_echo "$ac_try_echo") >&5
14349 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14351 grep -v '^ *+' conftest.er1 >conftest.err
14353 cat conftest.err >&5
14354 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 - (exit $ac_status); } >/dev/null; then
14356 - if test -s conftest.err; then
14357 - ac_cpp_err=$ac_c_preproc_warn_flag
14358 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14365 -if test -z "$ac_cpp_err"; then
14366 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 + (exit $ac_status); } >/dev/null && {
14368 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14369 + test ! -s conftest.err
14373 - echo "$as_me: failed program was:" >&5
14374 + $as_echo "$as_me: failed program was:" >&5
14375 sed 's/^/| /' conftest.$ac_ext >&5
14377 # Broken: fails on valid input.
14381 rm -f conftest.err conftest.$ac_ext
14383 - # OK, works on sane cases. Now check whether non-existent headers
14384 + # OK, works on sane cases. Now check whether nonexistent headers
14385 # can be detected and how.
14386 cat >conftest.$ac_ext <<_ACEOF
14388 @@ -4057,34 +4851,34 @@ cat >>conftest.$ac_ext <<_ACEOF
14389 /* end confdefs.h. */
14390 #include <ac_nonexistent.h>
14392 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14393 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14394 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14395 +case "(($ac_try" in
14396 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14397 + *) ac_try_echo=$ac_try;;
14399 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14400 +$as_echo "$ac_try_echo") >&5
14401 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14403 grep -v '^ *+' conftest.er1 >conftest.err
14405 cat conftest.err >&5
14406 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 - (exit $ac_status); } >/dev/null; then
14408 - if test -s conftest.err; then
14409 - ac_cpp_err=$ac_c_preproc_warn_flag
14410 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14417 -if test -z "$ac_cpp_err"; then
14418 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14419 + (exit $ac_status); } >/dev/null && {
14420 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14421 + test ! -s conftest.err
14423 # Broken: success on invalid input.
14426 - echo "$as_me: failed program was:" >&5
14427 + $as_echo "$as_me: failed program was:" >&5
14428 sed 's/^/| /' conftest.$ac_ext >&5
14430 # Passes both tests.
14435 rm -f conftest.err conftest.$ac_ext
14438 @@ -4093,11 +4887,13 @@ rm -f conftest.err conftest.$ac_ext
14439 if $ac_preproc_ok; then
14442 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14443 + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14444 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14445 +{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14446 See \`config.log' for more details." >&5
14447 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14448 +$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14449 See \`config.log' for more details." >&2;}
14450 - { (exit 1); exit 1; }; }
14451 + { (exit 1); exit 1; }; }; }
14455 @@ -4107,10 +4903,10 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
14456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14459 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14460 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
14461 +{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14462 +$as_echo_n "checking for ANSI C header files... " >&6; }
14463 if test "${ac_cv_header_stdc+set}" = set; then
14464 - echo $ECHO_N "(cached) $ECHO_C" >&6
14465 + $as_echo_n "(cached) " >&6
14467 cat >conftest.$ac_ext <<_ACEOF
14469 @@ -4132,35 +4928,32 @@ main ()
14472 rm -f conftest.$ac_objext
14473 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14474 - (eval $ac_compile) 2>conftest.er1
14475 +if { (ac_try="$ac_compile"
14476 +case "(($ac_try" in
14477 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14478 + *) ac_try_echo=$ac_try;;
14480 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14481 +$as_echo "$ac_try_echo") >&5
14482 + (eval "$ac_compile") 2>conftest.er1
14484 grep -v '^ *+' conftest.er1 >conftest.err
14486 cat conftest.err >&5
14487 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488 - (exit $ac_status); } &&
14489 - { ac_try='test -z "$ac_c_werror_flag"
14490 - || test ! -s conftest.err'
14491 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14492 - (eval $ac_try) 2>&5
14494 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14495 - (exit $ac_status); }; } &&
14496 - { ac_try='test -s conftest.$ac_objext'
14497 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14498 - (eval $ac_try) 2>&5
14500 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 - (exit $ac_status); }; }; then
14502 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14503 + (exit $ac_status); } && {
14504 + test -z "$ac_c_werror_flag" ||
14505 + test ! -s conftest.err
14506 + } && test -s conftest.$ac_objext; then
14507 ac_cv_header_stdc=yes
14509 - echo "$as_me: failed program was:" >&5
14510 + $as_echo "$as_me: failed program was:" >&5
14511 sed 's/^/| /' conftest.$ac_ext >&5
14513 -ac_cv_header_stdc=no
14514 + ac_cv_header_stdc=no
14516 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14518 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14520 if test $ac_cv_header_stdc = yes; then
14521 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14522 @@ -4216,6 +5009,7 @@ cat confdefs.h >>conftest.$ac_ext
14523 cat >>conftest.$ac_ext <<_ACEOF
14524 /* end confdefs.h. */
14526 +#include <stdlib.h>
14527 #if ((' ' & 0x0FF) == 0x020)
14528 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14529 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14530 @@ -4235,36 +5029,50 @@ main ()
14531 for (i = 0; i < 256; i++)
14532 if (XOR (islower (i), ISLOWER (i))
14533 || toupper (i) != TOUPPER (i))
14540 rm -f conftest$ac_exeext
14541 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14542 - (eval $ac_link) 2>&5
14543 +if { (ac_try="$ac_link"
14544 +case "(($ac_try" in
14545 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14546 + *) ac_try_echo=$ac_try;;
14548 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14549 +$as_echo "$ac_try_echo") >&5
14550 + (eval "$ac_link") 2>&5
14552 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14553 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14555 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14556 - (eval $ac_try) 2>&5
14557 + { (case "(($ac_try" in
14558 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14559 + *) ac_try_echo=$ac_try;;
14561 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14562 +$as_echo "$ac_try_echo") >&5
14563 + (eval "$ac_try") 2>&5
14565 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); }; }; then
14570 - echo "$as_me: program exited with status $ac_status" >&5
14571 -echo "$as_me: failed program was:" >&5
14572 + $as_echo "$as_me: program exited with status $ac_status" >&5
14573 +$as_echo "$as_me: failed program was:" >&5
14574 sed 's/^/| /' conftest.$ac_ext >&5
14576 ( exit $ac_status )
14577 ac_cv_header_stdc=no
14579 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14580 +rm -rf conftest.dSYM
14581 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14587 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14588 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
14589 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14590 +$as_echo "$ac_cv_header_stdc" >&6; }
14591 if test $ac_cv_header_stdc = yes; then
14593 cat >>confdefs.h <<\_ACEOF
14594 @@ -4286,11 +5094,11 @@ fi
14595 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
14596 inttypes.h stdint.h unistd.h
14598 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14599 -echo "$as_me:$LINENO: checking for $ac_header" >&5
14600 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14601 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14602 - echo $ECHO_N "(cached) $ECHO_C" >&6
14603 +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14604 +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14605 +$as_echo_n "checking for $ac_header... " >&6; }
14606 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14607 + $as_echo_n "(cached) " >&6
14609 cat >conftest.$ac_ext <<_ACEOF
14611 @@ -4303,41 +5111,42 @@ $ac_includes_default
14612 #include <$ac_header>
14614 rm -f conftest.$ac_objext
14615 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14616 - (eval $ac_compile) 2>conftest.er1
14617 +if { (ac_try="$ac_compile"
14618 +case "(($ac_try" in
14619 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14620 + *) ac_try_echo=$ac_try;;
14622 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14623 +$as_echo "$ac_try_echo") >&5
14624 + (eval "$ac_compile") 2>conftest.er1
14626 grep -v '^ *+' conftest.er1 >conftest.err
14628 cat conftest.err >&5
14629 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 - (exit $ac_status); } &&
14631 - { ac_try='test -z "$ac_c_werror_flag"
14632 - || test ! -s conftest.err'
14633 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14634 - (eval $ac_try) 2>&5
14636 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 - (exit $ac_status); }; } &&
14638 - { ac_try='test -s conftest.$ac_objext'
14639 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14640 - (eval $ac_try) 2>&5
14642 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 - (exit $ac_status); }; }; then
14644 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 + (exit $ac_status); } && {
14646 + test -z "$ac_c_werror_flag" ||
14647 + test ! -s conftest.err
14648 + } && test -s conftest.$ac_objext; then
14649 eval "$as_ac_Header=yes"
14651 - echo "$as_me: failed program was:" >&5
14652 + $as_echo "$as_me: failed program was:" >&5
14653 sed 's/^/| /' conftest.$ac_ext >&5
14655 -eval "$as_ac_Header=no"
14656 + eval "$as_ac_Header=no"
14658 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14660 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14662 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14663 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14664 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
14665 +ac_res=`eval 'as_val=${'$as_ac_Header'}
14666 + $as_echo "$as_val"'`
14667 + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14668 +$as_echo "$ac_res" >&6; }
14669 +as_val=`eval 'as_val=${'$as_ac_Header'}
14670 + $as_echo "$as_val"'`
14671 + if test "x$as_val" = x""yes; then
14672 cat >>confdefs.h <<_ACEOF
14673 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14674 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14678 @@ -4348,19 +5157,21 @@ done
14680 for ac_header in dlfcn.h
14682 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14683 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14684 - echo "$as_me:$LINENO: checking for $ac_header" >&5
14685 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14686 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14687 - echo $ECHO_N "(cached) $ECHO_C" >&6
14689 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14690 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14691 +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14692 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14693 + { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14694 +$as_echo_n "checking for $ac_header... " >&6; }
14695 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14696 + $as_echo_n "(cached) " >&6
14698 +ac_res=`eval 'as_val=${'$as_ac_Header'}
14699 + $as_echo "$as_val"'`
14700 + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14701 +$as_echo "$ac_res" >&6; }
14703 # Is the header compilable?
14704 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
14705 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14706 +{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14707 +$as_echo_n "checking $ac_header usability... " >&6; }
14708 cat >conftest.$ac_ext <<_ACEOF
14711 @@ -4371,41 +5182,38 @@ $ac_includes_default
14712 #include <$ac_header>
14714 rm -f conftest.$ac_objext
14715 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14716 - (eval $ac_compile) 2>conftest.er1
14717 +if { (ac_try="$ac_compile"
14718 +case "(($ac_try" in
14719 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14720 + *) ac_try_echo=$ac_try;;
14722 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14723 +$as_echo "$ac_try_echo") >&5
14724 + (eval "$ac_compile") 2>conftest.er1
14726 grep -v '^ *+' conftest.er1 >conftest.err
14728 cat conftest.err >&5
14729 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 - (exit $ac_status); } &&
14731 - { ac_try='test -z "$ac_c_werror_flag"
14732 - || test ! -s conftest.err'
14733 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14734 - (eval $ac_try) 2>&5
14736 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 - (exit $ac_status); }; } &&
14738 - { ac_try='test -s conftest.$ac_objext'
14739 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14740 - (eval $ac_try) 2>&5
14742 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 - (exit $ac_status); }; }; then
14744 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 + (exit $ac_status); } && {
14746 + test -z "$ac_c_werror_flag" ||
14747 + test ! -s conftest.err
14748 + } && test -s conftest.$ac_objext; then
14749 ac_header_compiler=yes
14751 - echo "$as_me: failed program was:" >&5
14752 + $as_echo "$as_me: failed program was:" >&5
14753 sed 's/^/| /' conftest.$ac_ext >&5
14755 -ac_header_compiler=no
14756 + ac_header_compiler=no
14758 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14759 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14760 -echo "${ECHO_T}$ac_header_compiler" >&6
14762 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14763 +{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14764 +$as_echo "$ac_header_compiler" >&6; }
14766 # Is the header present?
14767 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
14768 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14769 +{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14770 +$as_echo_n "checking $ac_header presence... " >&6; }
14771 cat >conftest.$ac_ext <<_ACEOF
14774 @@ -4414,101 +5222,102 @@ cat >>conftest.$ac_ext <<_ACEOF
14775 /* end confdefs.h. */
14776 #include <$ac_header>
14778 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14779 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14780 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14781 +case "(($ac_try" in
14782 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14783 + *) ac_try_echo=$ac_try;;
14785 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14786 +$as_echo "$ac_try_echo") >&5
14787 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14789 grep -v '^ *+' conftest.er1 >conftest.err
14791 cat conftest.err >&5
14792 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793 - (exit $ac_status); } >/dev/null; then
14794 - if test -s conftest.err; then
14795 - ac_cpp_err=$ac_c_preproc_warn_flag
14796 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14803 -if test -z "$ac_cpp_err"; then
14804 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 + (exit $ac_status); } >/dev/null && {
14806 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14807 + test ! -s conftest.err
14809 ac_header_preproc=yes
14811 - echo "$as_me: failed program was:" >&5
14812 + $as_echo "$as_me: failed program was:" >&5
14813 sed 's/^/| /' conftest.$ac_ext >&5
14815 ac_header_preproc=no
14818 rm -f conftest.err conftest.$ac_ext
14819 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14820 -echo "${ECHO_T}$ac_header_preproc" >&6
14821 +{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14822 +$as_echo "$ac_header_preproc" >&6; }
14824 # So? What about this header?
14825 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14827 - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14828 -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14829 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14830 -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14831 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14832 +$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14833 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14834 +$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14835 ac_header_preproc=yes
14838 - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14839 -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14840 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14841 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14842 - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14843 -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14844 - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14845 -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14846 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14847 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14848 - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14849 -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14852 -## ------------------------------------------ ##
14853 -## Report this to the AC_PACKAGE_NAME lists. ##
14854 -## ------------------------------------------ ##
14857 - sed "s/^/$as_me: WARNING: /" >&2
14858 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14859 +$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14860 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14861 +$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14862 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14863 +$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14864 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14865 +$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14866 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14867 +$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14868 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14869 +$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14873 -echo "$as_me:$LINENO: checking for $ac_header" >&5
14874 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14875 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14876 - echo $ECHO_N "(cached) $ECHO_C" >&6
14877 +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14878 +$as_echo_n "checking for $ac_header... " >&6; }
14879 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14880 + $as_echo_n "(cached) " >&6
14882 eval "$as_ac_Header=\$ac_header_preproc"
14884 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14885 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14886 +ac_res=`eval 'as_val=${'$as_ac_Header'}
14887 + $as_echo "$as_val"'`
14888 + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14889 +$as_echo "$ac_res" >&6; }
14892 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
14893 +as_val=`eval 'as_val=${'$as_ac_Header'}
14894 + $as_echo "$as_val"'`
14895 + if test "x$as_val" = x""yes; then
14896 cat >>confdefs.h <<_ACEOF
14897 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14898 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14907 ac_cpp='$CXXCPP $CPPFLAGS'
14908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14911 -if test -n "$ac_tool_prefix"; then
14912 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14913 +if test -z "$CXX"; then
14914 + if test -n "$CCC"; then
14917 + if test -n "$ac_tool_prefix"; then
14918 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
14920 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14921 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14922 -echo "$as_me:$LINENO: checking for $ac_word" >&5
14923 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14924 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14925 +$as_echo_n "checking for $ac_word... " >&6; }
14926 if test "${ac_cv_prog_CXX+set}" = set; then
14927 - echo $ECHO_N "(cached) $ECHO_C" >&6
14928 + $as_echo_n "(cached) " >&6
14930 if test -n "$CXX"; then
14931 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14932 @@ -4519,38 +5328,40 @@ do
14934 test -z "$as_dir" && as_dir=.
14935 for ac_exec_ext in '' $ac_executable_extensions; do
14936 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14937 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14938 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14939 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14940 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14949 CXX=$ac_cv_prog_CXX
14950 if test -n "$CXX"; then
14951 - echo "$as_me:$LINENO: result: $CXX" >&5
14952 -echo "${ECHO_T}$CXX" >&6
14953 + { $as_echo "$as_me:$LINENO: result: $CXX" >&5
14954 +$as_echo "$CXX" >&6; }
14956 - echo "$as_me:$LINENO: result: no" >&5
14957 -echo "${ECHO_T}no" >&6
14958 + { $as_echo "$as_me:$LINENO: result: no" >&5
14959 +$as_echo "no" >&6; }
14963 test -n "$CXX" && break
14966 if test -z "$CXX"; then
14968 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14969 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
14971 # Extract the first word of "$ac_prog", so it can be a program name with args.
14972 set dummy $ac_prog; ac_word=$2
14973 -echo "$as_me:$LINENO: checking for $ac_word" >&5
14974 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14975 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14976 +$as_echo_n "checking for $ac_word... " >&6; }
14977 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14978 - echo $ECHO_N "(cached) $ECHO_C" >&6
14979 + $as_echo_n "(cached) " >&6
14981 if test -n "$ac_ct_CXX"; then
14982 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14983 @@ -4561,57 +5372,87 @@ do
14985 test -z "$as_dir" && as_dir=.
14986 for ac_exec_ext in '' $ac_executable_extensions; do
14987 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14988 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14989 ac_cv_prog_ac_ct_CXX="$ac_prog"
14990 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14991 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15000 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15001 if test -n "$ac_ct_CXX"; then
15002 - echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15003 -echo "${ECHO_T}$ac_ct_CXX" >&6
15004 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15005 +$as_echo "$ac_ct_CXX" >&6; }
15007 - echo "$as_me:$LINENO: result: no" >&5
15008 -echo "${ECHO_T}no" >&6
15009 + { $as_echo "$as_me:$LINENO: result: no" >&5
15010 +$as_echo "no" >&6; }
15014 test -n "$ac_ct_CXX" && break
15016 -test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
15019 + if test "x$ac_ct_CXX" = x; then
15022 + case $cross_compiling:$ac_tool_warned in
15024 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
15025 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15026 +ac_tool_warned=yes ;;
15035 # Provide some information about the compiler.
15036 -echo "$as_me:$LINENO:" \
15037 - "checking for C++ compiler version" >&5
15038 -ac_compiler=`set X $ac_compile; echo $2`
15039 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
15040 - (eval $ac_compiler --version </dev/null >&5) 2>&5
15041 +$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15044 +{ (ac_try="$ac_compiler --version >&5"
15045 +case "(($ac_try" in
15046 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15047 + *) ac_try_echo=$ac_try;;
15049 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15050 +$as_echo "$ac_try_echo") >&5
15051 + (eval "$ac_compiler --version >&5") 2>&5
15053 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15054 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15055 (exit $ac_status); }
15056 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
15057 - (eval $ac_compiler -v </dev/null >&5) 2>&5
15058 +{ (ac_try="$ac_compiler -v >&5"
15059 +case "(($ac_try" in
15060 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15061 + *) ac_try_echo=$ac_try;;
15063 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15064 +$as_echo "$ac_try_echo") >&5
15065 + (eval "$ac_compiler -v >&5") 2>&5
15067 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15068 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); }
15070 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
15071 - (eval $ac_compiler -V </dev/null >&5) 2>&5
15072 +{ (ac_try="$ac_compiler -V >&5"
15073 +case "(($ac_try" in
15074 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15075 + *) ac_try_echo=$ac_try;;
15077 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15078 +$as_echo "$ac_try_echo") >&5
15079 + (eval "$ac_compiler -V >&5") 2>&5
15081 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15083 (exit $ac_status); }
15085 -echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15086 -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
15087 +{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15088 +$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
15089 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15090 - echo $ECHO_N "(cached) $ECHO_C" >&6
15091 + $as_echo_n "(cached) " >&6
15093 cat >conftest.$ac_ext <<_ACEOF
15095 @@ -4632,50 +5473,54 @@ main ()
15098 rm -f conftest.$ac_objext
15099 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15100 - (eval $ac_compile) 2>conftest.er1
15101 +if { (ac_try="$ac_compile"
15102 +case "(($ac_try" in
15103 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15104 + *) ac_try_echo=$ac_try;;
15106 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15107 +$as_echo "$ac_try_echo") >&5
15108 + (eval "$ac_compile") 2>conftest.er1
15110 grep -v '^ *+' conftest.er1 >conftest.err
15112 cat conftest.err >&5
15113 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 - (exit $ac_status); } &&
15115 - { ac_try='test -z "$ac_cxx_werror_flag"
15116 - || test ! -s conftest.err'
15117 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15118 - (eval $ac_try) 2>&5
15120 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 - (exit $ac_status); }; } &&
15122 - { ac_try='test -s conftest.$ac_objext'
15123 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15124 - (eval $ac_try) 2>&5
15126 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127 - (exit $ac_status); }; }; then
15128 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 + (exit $ac_status); } && {
15130 + test -z "$ac_cxx_werror_flag" ||
15131 + test ! -s conftest.err
15132 + } && test -s conftest.$ac_objext; then
15133 ac_compiler_gnu=yes
15135 - echo "$as_me: failed program was:" >&5
15136 + $as_echo "$as_me: failed program was:" >&5
15137 sed 's/^/| /' conftest.$ac_ext >&5
15139 -ac_compiler_gnu=no
15140 + ac_compiler_gnu=no
15142 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15144 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15145 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15148 -echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15149 -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
15150 -GXX=`test $ac_compiler_gnu = yes && echo yes`
15151 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15152 +$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
15153 +if test $ac_compiler_gnu = yes; then
15158 ac_test_CXXFLAGS=${CXXFLAGS+set}
15159 ac_save_CXXFLAGS=$CXXFLAGS
15161 -echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15162 -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
15163 +{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15164 +$as_echo_n "checking whether $CXX accepts -g... " >&6; }
15165 if test "${ac_cv_prog_cxx_g+set}" = set; then
15166 - echo $ECHO_N "(cached) $ECHO_C" >&6
15167 + $as_echo_n "(cached) " >&6
15169 - cat >conftest.$ac_ext <<_ACEOF
15170 + ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15171 + ac_cxx_werror_flag=yes
15172 + ac_cv_prog_cxx_g=no
15174 + cat >conftest.$ac_ext <<_ACEOF
15177 cat confdefs.h >>conftest.$ac_ext
15178 @@ -4691,160 +5536,137 @@ main ()
15181 rm -f conftest.$ac_objext
15182 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15183 - (eval $ac_compile) 2>conftest.er1
15184 +if { (ac_try="$ac_compile"
15185 +case "(($ac_try" in
15186 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15187 + *) ac_try_echo=$ac_try;;
15189 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15190 +$as_echo "$ac_try_echo") >&5
15191 + (eval "$ac_compile") 2>conftest.er1
15193 grep -v '^ *+' conftest.er1 >conftest.err
15195 cat conftest.err >&5
15196 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15197 - (exit $ac_status); } &&
15198 - { ac_try='test -z "$ac_cxx_werror_flag"
15199 - || test ! -s conftest.err'
15200 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15201 - (eval $ac_try) 2>&5
15203 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204 - (exit $ac_status); }; } &&
15205 - { ac_try='test -s conftest.$ac_objext'
15206 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15207 - (eval $ac_try) 2>&5
15209 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15210 - (exit $ac_status); }; }; then
15211 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15212 + (exit $ac_status); } && {
15213 + test -z "$ac_cxx_werror_flag" ||
15214 + test ! -s conftest.err
15215 + } && test -s conftest.$ac_objext; then
15216 ac_cv_prog_cxx_g=yes
15218 - echo "$as_me: failed program was:" >&5
15219 + $as_echo "$as_me: failed program was:" >&5
15220 sed 's/^/| /' conftest.$ac_ext >&5
15222 -ac_cv_prog_cxx_g=no
15224 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15226 -echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15227 -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
15228 -if test "$ac_test_CXXFLAGS" = set; then
15229 - CXXFLAGS=$ac_save_CXXFLAGS
15230 -elif test $ac_cv_prog_cxx_g = yes; then
15231 - if test "$GXX" = yes; then
15232 - CXXFLAGS="-g -O2"
15237 - if test "$GXX" = yes; then
15243 -for ac_declaration in \
15245 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
15246 - 'extern "C" void std::exit (int); using std::exit;' \
15247 - 'extern "C" void exit (int) throw ();' \
15248 - 'extern "C" void exit (int);' \
15249 - 'void exit (int);'
15251 - cat >conftest.$ac_ext <<_ACEOF
15253 + cat >conftest.$ac_ext <<_ACEOF
15256 cat confdefs.h >>conftest.$ac_ext
15257 cat >>conftest.$ac_ext <<_ACEOF
15258 /* end confdefs.h. */
15260 -#include <stdlib.h>
15271 rm -f conftest.$ac_objext
15272 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15273 - (eval $ac_compile) 2>conftest.er1
15274 +if { (ac_try="$ac_compile"
15275 +case "(($ac_try" in
15276 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15277 + *) ac_try_echo=$ac_try;;
15279 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15280 +$as_echo "$ac_try_echo") >&5
15281 + (eval "$ac_compile") 2>conftest.er1
15283 grep -v '^ *+' conftest.er1 >conftest.err
15285 cat conftest.err >&5
15286 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 - (exit $ac_status); } &&
15288 - { ac_try='test -z "$ac_cxx_werror_flag"
15289 - || test ! -s conftest.err'
15290 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15291 - (eval $ac_try) 2>&5
15293 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15294 - (exit $ac_status); }; } &&
15295 - { ac_try='test -s conftest.$ac_objext'
15296 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15297 - (eval $ac_try) 2>&5
15299 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15300 - (exit $ac_status); }; }; then
15301 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15302 + (exit $ac_status); } && {
15303 + test -z "$ac_cxx_werror_flag" ||
15304 + test ! -s conftest.err
15305 + } && test -s conftest.$ac_objext; then
15308 - echo "$as_me: failed program was:" >&5
15309 + $as_echo "$as_me: failed program was:" >&5
15310 sed 's/^/| /' conftest.$ac_ext >&5
15314 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15315 - cat >conftest.$ac_ext <<_ACEOF
15316 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15318 + cat >conftest.$ac_ext <<_ACEOF
15321 cat confdefs.h >>conftest.$ac_ext
15322 cat >>conftest.$ac_ext <<_ACEOF
15323 /* end confdefs.h. */
15335 rm -f conftest.$ac_objext
15336 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15337 - (eval $ac_compile) 2>conftest.er1
15338 +if { (ac_try="$ac_compile"
15339 +case "(($ac_try" in
15340 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15341 + *) ac_try_echo=$ac_try;;
15343 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15344 +$as_echo "$ac_try_echo") >&5
15345 + (eval "$ac_compile") 2>conftest.er1
15347 grep -v '^ *+' conftest.er1 >conftest.err
15349 cat conftest.err >&5
15350 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 - (exit $ac_status); } &&
15352 - { ac_try='test -z "$ac_cxx_werror_flag"
15353 - || test ! -s conftest.err'
15354 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15355 - (eval $ac_try) 2>&5
15357 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15358 - (exit $ac_status); }; } &&
15359 - { ac_try='test -s conftest.$ac_objext'
15360 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15361 - (eval $ac_try) 2>&5
15363 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 - (exit $ac_status); }; }; then
15366 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 + (exit $ac_status); } && {
15368 + test -z "$ac_cxx_werror_flag" ||
15369 + test ! -s conftest.err
15370 + } && test -s conftest.$ac_objext; then
15371 + ac_cv_prog_cxx_g=yes
15373 - echo "$as_me: failed program was:" >&5
15374 + $as_echo "$as_me: failed program was:" >&5
15375 sed 's/^/| /' conftest.$ac_ext >&5
15379 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15382 -if test -n "$ac_declaration"; then
15383 - echo '#ifdef __cplusplus' >>confdefs.h
15384 - echo $ac_declaration >>confdefs.h
15385 - echo '#endif' >>confdefs.h
15387 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15391 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15394 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15395 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15397 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15398 +$as_echo "$ac_cv_prog_cxx_g" >&6; }
15399 +if test "$ac_test_CXXFLAGS" = set; then
15400 + CXXFLAGS=$ac_save_CXXFLAGS
15401 +elif test $ac_cv_prog_cxx_g = yes; then
15402 + if test "$GXX" = yes; then
15403 + CXXFLAGS="-g -O2"
15408 + if test "$GXX" = yes; then
15415 ac_cpp='$CXXCPP $CPPFLAGS'
15416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15418 @@ -4852,10 +5674,10 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15420 depcc="$CXX" am_compiler_list=
15422 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15423 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
15424 +{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15425 +$as_echo_n "checking dependency style of $depcc... " >&6; }
15426 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
15427 - echo $ECHO_N "(cached) $ECHO_C" >&6
15428 + $as_echo_n "(cached) " >&6
15430 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15431 # We make a subdir and do the tests there. Otherwise we can end up
15432 @@ -4942,8 +5764,8 @@ else
15436 -echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
15437 -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
15438 +{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
15439 +$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
15440 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
15443 @@ -4959,16 +5781,21 @@ else
15450 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
15451 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
15452 + (test "X$CXX" != "Xg++"))) ; then
15454 ac_cpp='$CXXCPP $CPPFLAGS'
15455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15458 -echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15459 -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15460 +{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15461 +$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
15462 if test -z "$CXXCPP"; then
15463 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15464 - echo $ECHO_N "(cached) $ECHO_C" >&6
15465 + $as_echo_n "(cached) " >&6
15467 # Double quotes because CXXCPP needs to be expanded
15468 for CXXCPP in "$CXX -E" "/lib/cpp"
15469 @@ -4995,35 +5822,35 @@ cat >>conftest.$ac_ext <<_ACEOF
15473 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15474 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15475 +if { (ac_try="$ac_cpp conftest.$ac_ext"
15476 +case "(($ac_try" in
15477 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15478 + *) ac_try_echo=$ac_try;;
15480 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15481 +$as_echo "$ac_try_echo") >&5
15482 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15484 grep -v '^ *+' conftest.er1 >conftest.err
15486 cat conftest.err >&5
15487 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 - (exit $ac_status); } >/dev/null; then
15489 - if test -s conftest.err; then
15490 - ac_cpp_err=$ac_cxx_preproc_warn_flag
15491 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15498 -if test -z "$ac_cpp_err"; then
15499 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15500 + (exit $ac_status); } >/dev/null && {
15501 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
15502 + test ! -s conftest.err
15506 - echo "$as_me: failed program was:" >&5
15507 + $as_echo "$as_me: failed program was:" >&5
15508 sed 's/^/| /' conftest.$ac_ext >&5
15510 # Broken: fails on valid input.
15514 rm -f conftest.err conftest.$ac_ext
15516 - # OK, works on sane cases. Now check whether non-existent headers
15517 + # OK, works on sane cases. Now check whether nonexistent headers
15518 # can be detected and how.
15519 cat >conftest.$ac_ext <<_ACEOF
15521 @@ -5033,34 +5860,34 @@ cat >>conftest.$ac_ext <<_ACEOF
15522 /* end confdefs.h. */
15523 #include <ac_nonexistent.h>
15525 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15526 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15527 +if { (ac_try="$ac_cpp conftest.$ac_ext"
15528 +case "(($ac_try" in
15529 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15530 + *) ac_try_echo=$ac_try;;
15532 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15533 +$as_echo "$ac_try_echo") >&5
15534 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15536 grep -v '^ *+' conftest.er1 >conftest.err
15538 cat conftest.err >&5
15539 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15540 - (exit $ac_status); } >/dev/null; then
15541 - if test -s conftest.err; then
15542 - ac_cpp_err=$ac_cxx_preproc_warn_flag
15543 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15550 -if test -z "$ac_cpp_err"; then
15551 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552 + (exit $ac_status); } >/dev/null && {
15553 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
15554 + test ! -s conftest.err
15556 # Broken: success on invalid input.
15559 - echo "$as_me: failed program was:" >&5
15560 + $as_echo "$as_me: failed program was:" >&5
15561 sed 's/^/| /' conftest.$ac_ext >&5
15563 # Passes both tests.
15568 rm -f conftest.err conftest.$ac_ext
15571 @@ -5078,8 +5905,8 @@ fi
15573 ac_cv_prog_CXXCPP=$CXXCPP
15575 -echo "$as_me:$LINENO: result: $CXXCPP" >&5
15576 -echo "${ECHO_T}$CXXCPP" >&6
15577 +{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
15578 +$as_echo "$CXXCPP" >&6; }
15579 ac_preproc_ok=false
15580 for ac_cxx_preproc_warn_flag in '' yes
15582 @@ -5102,35 +5929,35 @@ cat >>conftest.$ac_ext <<_ACEOF
15586 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15587 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15588 +if { (ac_try="$ac_cpp conftest.$ac_ext"
15589 +case "(($ac_try" in
15590 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15591 + *) ac_try_echo=$ac_try;;
15593 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15594 +$as_echo "$ac_try_echo") >&5
15595 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15597 grep -v '^ *+' conftest.er1 >conftest.err
15599 cat conftest.err >&5
15600 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 - (exit $ac_status); } >/dev/null; then
15602 - if test -s conftest.err; then
15603 - ac_cpp_err=$ac_cxx_preproc_warn_flag
15604 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15611 -if test -z "$ac_cpp_err"; then
15612 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15613 + (exit $ac_status); } >/dev/null && {
15614 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
15615 + test ! -s conftest.err
15619 - echo "$as_me: failed program was:" >&5
15620 + $as_echo "$as_me: failed program was:" >&5
15621 sed 's/^/| /' conftest.$ac_ext >&5
15623 # Broken: fails on valid input.
15627 rm -f conftest.err conftest.$ac_ext
15629 - # OK, works on sane cases. Now check whether non-existent headers
15630 + # OK, works on sane cases. Now check whether nonexistent headers
15631 # can be detected and how.
15632 cat >conftest.$ac_ext <<_ACEOF
15634 @@ -5140,34 +5967,34 @@ cat >>conftest.$ac_ext <<_ACEOF
15635 /* end confdefs.h. */
15636 #include <ac_nonexistent.h>
15638 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15639 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15640 +if { (ac_try="$ac_cpp conftest.$ac_ext"
15641 +case "(($ac_try" in
15642 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15643 + *) ac_try_echo=$ac_try;;
15645 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15646 +$as_echo "$ac_try_echo") >&5
15647 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15649 grep -v '^ *+' conftest.er1 >conftest.err
15651 cat conftest.err >&5
15652 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 - (exit $ac_status); } >/dev/null; then
15654 - if test -s conftest.err; then
15655 - ac_cpp_err=$ac_cxx_preproc_warn_flag
15656 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15663 -if test -z "$ac_cpp_err"; then
15664 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 + (exit $ac_status); } >/dev/null && {
15666 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
15667 + test ! -s conftest.err
15669 # Broken: success on invalid input.
15672 - echo "$as_me: failed program was:" >&5
15673 + $as_echo "$as_me: failed program was:" >&5
15674 sed 's/^/| /' conftest.$ac_ext >&5
15676 # Passes both tests.
15681 rm -f conftest.err conftest.$ac_ext
15684 @@ -5176,33 +6003,37 @@ rm -f conftest.err conftest.$ac_ext
15685 if $ac_preproc_ok; then
15688 - { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15689 + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15690 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15691 +{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15692 See \`config.log' for more details." >&5
15693 -echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15694 +$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15695 See \`config.log' for more details." >&2;}
15696 - { (exit 1); exit 1; }; }
15697 + { (exit 1); exit 1; }; }; }
15702 ac_cpp='$CXXCPP $CPPFLAGS'
15703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15711 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15712 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15713 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15714 if test -n "$ac_tool_prefix"; then
15715 - for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
15716 + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
15718 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15719 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15720 -echo "$as_me:$LINENO: checking for $ac_word" >&5
15721 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15722 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15723 +$as_echo_n "checking for $ac_word... " >&6; }
15724 if test "${ac_cv_prog_F77+set}" = set; then
15725 - echo $ECHO_N "(cached) $ECHO_C" >&6
15726 + $as_echo_n "(cached) " >&6
15728 if test -n "$F77"; then
15729 ac_cv_prog_F77="$F77" # Let the user override the test.
15730 @@ -5213,38 +6044,40 @@ do
15732 test -z "$as_dir" && as_dir=.
15733 for ac_exec_ext in '' $ac_executable_extensions; do
15734 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15735 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15736 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
15737 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15738 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15747 F77=$ac_cv_prog_F77
15748 if test -n "$F77"; then
15749 - echo "$as_me:$LINENO: result: $F77" >&5
15750 -echo "${ECHO_T}$F77" >&6
15751 + { $as_echo "$as_me:$LINENO: result: $F77" >&5
15752 +$as_echo "$F77" >&6; }
15754 - echo "$as_me:$LINENO: result: no" >&5
15755 -echo "${ECHO_T}no" >&6
15756 + { $as_echo "$as_me:$LINENO: result: no" >&5
15757 +$as_echo "no" >&6; }
15761 test -n "$F77" && break
15764 if test -z "$F77"; then
15766 - for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
15767 + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
15769 # Extract the first word of "$ac_prog", so it can be a program name with args.
15770 set dummy $ac_prog; ac_word=$2
15771 -echo "$as_me:$LINENO: checking for $ac_word" >&5
15772 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15773 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15774 +$as_echo_n "checking for $ac_word... " >&6; }
15775 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
15776 - echo $ECHO_N "(cached) $ECHO_C" >&6
15777 + $as_echo_n "(cached) " >&6
15779 if test -n "$ac_ct_F77"; then
15780 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
15781 @@ -5255,50 +6088,80 @@ do
15783 test -z "$as_dir" && as_dir=.
15784 for ac_exec_ext in '' $ac_executable_extensions; do
15785 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15786 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15787 ac_cv_prog_ac_ct_F77="$ac_prog"
15788 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15789 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15798 ac_ct_F77=$ac_cv_prog_ac_ct_F77
15799 if test -n "$ac_ct_F77"; then
15800 - echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
15801 -echo "${ECHO_T}$ac_ct_F77" >&6
15802 + { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
15803 +$as_echo "$ac_ct_F77" >&6; }
15805 - echo "$as_me:$LINENO: result: no" >&5
15806 -echo "${ECHO_T}no" >&6
15807 + { $as_echo "$as_me:$LINENO: result: no" >&5
15808 +$as_echo "no" >&6; }
15812 test -n "$ac_ct_F77" && break
15816 + if test "x$ac_ct_F77" = x; then
15819 + case $cross_compiling:$ac_tool_warned in
15821 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
15822 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15823 +ac_tool_warned=yes ;;
15830 # Provide some information about the compiler.
15831 -echo "$as_me:5285:" \
15832 - "checking for Fortran 77 compiler version" >&5
15833 -ac_compiler=`set X $ac_compile; echo $2`
15834 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
15835 - (eval $ac_compiler --version </dev/null >&5) 2>&5
15836 +$as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
15839 +{ (ac_try="$ac_compiler --version >&5"
15840 +case "(($ac_try" in
15841 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15842 + *) ac_try_echo=$ac_try;;
15844 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15845 +$as_echo "$ac_try_echo") >&5
15846 + (eval "$ac_compiler --version >&5") 2>&5
15848 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15849 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850 (exit $ac_status); }
15851 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
15852 - (eval $ac_compiler -v </dev/null >&5) 2>&5
15853 +{ (ac_try="$ac_compiler -v >&5"
15854 +case "(($ac_try" in
15855 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15856 + *) ac_try_echo=$ac_try;;
15858 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15859 +$as_echo "$ac_try_echo") >&5
15860 + (eval "$ac_compiler -v >&5") 2>&5
15862 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15863 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15864 (exit $ac_status); }
15865 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
15866 - (eval $ac_compiler -V </dev/null >&5) 2>&5
15867 +{ (ac_try="$ac_compiler -V >&5"
15868 +case "(($ac_try" in
15869 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15870 + *) ac_try_echo=$ac_try;;
15872 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15873 +$as_echo "$ac_try_echo") >&5
15874 + (eval "$ac_compiler -V >&5") 2>&5
15876 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); }
15881 @@ -5306,10 +6169,10 @@ rm -f a.out
15882 # input file. (Note that this only needs to work for GNU compilers.)
15883 ac_save_ext=$ac_ext
15885 -echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
15886 -echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
15887 +{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
15888 +$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
15889 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
15890 - echo $ECHO_N "(cached) $ECHO_C" >&6
15891 + $as_echo_n "(cached) " >&6
15893 cat >conftest.$ac_ext <<_ACEOF
15895 @@ -5320,48 +6183,45 @@ else
15898 rm -f conftest.$ac_objext
15899 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15900 - (eval $ac_compile) 2>conftest.er1
15901 +if { (ac_try="$ac_compile"
15902 +case "(($ac_try" in
15903 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15904 + *) ac_try_echo=$ac_try;;
15906 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15907 +$as_echo "$ac_try_echo") >&5
15908 + (eval "$ac_compile") 2>conftest.er1
15910 grep -v '^ *+' conftest.er1 >conftest.err
15912 cat conftest.err >&5
15913 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15914 - (exit $ac_status); } &&
15915 - { ac_try='test -z "$ac_f77_werror_flag"
15916 - || test ! -s conftest.err'
15917 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15918 - (eval $ac_try) 2>&5
15920 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15921 - (exit $ac_status); }; } &&
15922 - { ac_try='test -s conftest.$ac_objext'
15923 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15924 - (eval $ac_try) 2>&5
15926 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15927 - (exit $ac_status); }; }; then
15928 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 + (exit $ac_status); } && {
15930 + test -z "$ac_f77_werror_flag" ||
15931 + test ! -s conftest.err
15932 + } && test -s conftest.$ac_objext; then
15933 ac_compiler_gnu=yes
15935 - echo "$as_me: failed program was:" >&5
15936 + $as_echo "$as_me: failed program was:" >&5
15937 sed 's/^/| /' conftest.$ac_ext >&5
15939 -ac_compiler_gnu=no
15940 + ac_compiler_gnu=no
15942 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15944 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15945 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
15948 -echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
15949 -echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
15950 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
15951 +$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
15952 ac_ext=$ac_save_ext
15953 ac_test_FFLAGS=${FFLAGS+set}
15954 ac_save_FFLAGS=$FFLAGS
15956 -echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
15957 -echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
15958 +{ $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
15959 +$as_echo_n "checking whether $F77 accepts -g... " >&6; }
15960 if test "${ac_cv_prog_f77_g+set}" = set; then
15961 - echo $ECHO_N "(cached) $ECHO_C" >&6
15962 + $as_echo_n "(cached) " >&6
15965 cat >conftest.$ac_ext <<_ACEOF
15966 @@ -5370,39 +6230,36 @@ cat >conftest.$ac_ext <<_ACEOF
15969 rm -f conftest.$ac_objext
15970 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15971 - (eval $ac_compile) 2>conftest.er1
15972 +if { (ac_try="$ac_compile"
15973 +case "(($ac_try" in
15974 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15975 + *) ac_try_echo=$ac_try;;
15977 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15978 +$as_echo "$ac_try_echo") >&5
15979 + (eval "$ac_compile") 2>conftest.er1
15981 grep -v '^ *+' conftest.er1 >conftest.err
15983 cat conftest.err >&5
15984 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15985 - (exit $ac_status); } &&
15986 - { ac_try='test -z "$ac_f77_werror_flag"
15987 - || test ! -s conftest.err'
15988 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15989 - (eval $ac_try) 2>&5
15991 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15992 - (exit $ac_status); }; } &&
15993 - { ac_try='test -s conftest.$ac_objext'
15994 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15995 - (eval $ac_try) 2>&5
15997 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 - (exit $ac_status); }; }; then
15999 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000 + (exit $ac_status); } && {
16001 + test -z "$ac_f77_werror_flag" ||
16002 + test ! -s conftest.err
16003 + } && test -s conftest.$ac_objext; then
16004 ac_cv_prog_f77_g=yes
16006 - echo "$as_me: failed program was:" >&5
16007 + $as_echo "$as_me: failed program was:" >&5
16008 sed 's/^/| /' conftest.$ac_ext >&5
16010 -ac_cv_prog_f77_g=no
16011 + ac_cv_prog_f77_g=no
16013 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16015 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16018 -echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
16019 -echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
16020 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
16021 +$as_echo "$ac_cv_prog_f77_g" >&6; }
16022 if test "$ac_test_FFLAGS" = set; then
16023 FFLAGS=$ac_save_FFLAGS
16024 elif test $ac_cv_prog_f77_g = yes; then
16025 @@ -5419,7 +6276,11 @@ else
16029 -G77=`test $ac_compiler_gnu = yes && echo yes`
16030 +if test $ac_compiler_gnu = yes; then
16036 ac_cpp='$CPP $CPPFLAGS'
16037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16038 @@ -5429,12 +6290,11 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
16041 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
16043 # find the maximum length of command line arguments
16044 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
16045 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
16046 +{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
16047 +$as_echo_n "checking the maximum length of command line arguments... " >&6; }
16048 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
16049 - echo $ECHO_N "(cached) $ECHO_C" >&6
16050 + $as_echo_n "(cached) " >&6
16054 @@ -5472,45 +6332,93 @@ else
16055 lt_cv_sys_max_cmd_len=8192;
16059 - # If test is not a shell built-in, we'll probably end up computing a
16060 - # maximum length that is only half of the actual maximum length, but
16062 - while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
16063 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
16064 + # This has been around since 386BSD, at least. Likely further.
16065 + if test -x /sbin/sysctl; then
16066 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
16067 + elif test -x /usr/sbin/sysctl; then
16068 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
16070 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
16072 + # And add a safety zone
16073 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
16074 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
16078 + # We know the value 262144 and hardcode it with a safety zone (like BSD)
16079 + lt_cv_sys_max_cmd_len=196608
16083 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
16084 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
16085 + # nice to cause kernel panics so lets avoid the loop below.
16086 + # First set a reasonable default.
16087 + lt_cv_sys_max_cmd_len=16384
16089 + if test -x /sbin/sysconfig; then
16090 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
16091 + *1*) lt_cv_sys_max_cmd_len=-1 ;;
16096 + lt_cv_sys_max_cmd_len=102400
16098 + sysv5* | sco5v6* | sysv4.2uw2*)
16099 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
16100 + if test -n "$kargmax"; then
16101 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
16103 + lt_cv_sys_max_cmd_len=32768
16107 + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
16108 + if test -n "$lt_cv_sys_max_cmd_len"; then
16109 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
16110 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
16112 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
16113 + while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
16114 = "XX$teststring") >/dev/null 2>&1 &&
16115 - new_result=`expr "X$teststring" : ".*" 2>&1` &&
16116 - lt_cv_sys_max_cmd_len=$new_result &&
16117 - test $i != 17 # 1/2 MB should be enough
16120 - teststring=$teststring$teststring
16123 - # Add a significant safety factor because C++ compilers can tack on massive
16124 - # amounts of additional arguments before passing them to the linker.
16125 - # It appears as though 1/2 is a usable value.
16126 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
16127 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
16128 + lt_cv_sys_max_cmd_len=$new_result &&
16129 + test $i != 17 # 1/2 MB should be enough
16132 + teststring=$teststring$teststring
16135 + # Add a significant safety factor because C++ compilers can tack on massive
16136 + # amounts of additional arguments before passing them to the linker.
16137 + # It appears as though 1/2 is a usable value.
16138 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
16145 if test -n $lt_cv_sys_max_cmd_len ; then
16146 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
16147 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
16148 + { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
16149 +$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
16151 - echo "$as_me:$LINENO: result: none" >&5
16152 -echo "${ECHO_T}none" >&6
16153 + { $as_echo "$as_me:$LINENO: result: none" >&5
16154 +$as_echo "none" >&6; }
16161 # Check for command to grab the raw symbol name followed by C symbol from nm.
16162 -echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
16163 -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
16164 +{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
16165 +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
16166 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
16167 - echo $ECHO_N "(cached) $ECHO_C" >&6
16168 + $as_echo_n "(cached) " >&6
16171 # These are sane defaults that work on at least a few old systems.
16172 @@ -5522,9 +6430,6 @@ symcode='[BCDEGRST]'
16173 # Regexp to match symbols that can be accessed directly from C.
16174 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
16176 -# Transform the above into a raw symbol and a C symbol.
16177 -symxfrm='\1 \2\3 \3'
16179 # Transform an extracted symbol line into a proper C declaration
16180 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
16182 @@ -5546,15 +6451,31 @@ hpux*) # Its linker distinguishes data from code symbols
16183 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
16184 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
16186 +linux* | k*bsd*-gnu)
16187 + if test "$host_cpu" = ia64; then
16188 + symcode='[ABCDGIRSTW]'
16189 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
16190 + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
16193 irix* | nonstopux*)
16194 symcode='[BCDEGRST]'
16197 symcode='[BCDEGQRST]'
16199 -solaris* | sysv5*)
16209 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
16215 @@ -5577,8 +6498,11 @@ esac
16216 # Try without a prefix undercore, then with it.
16217 for ac_symprfx in "" "_"; do
16219 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
16220 + symxfrm="\\1 $ac_symprfx\\2 \\2"
16222 # Write the raw and C identifiers.
16223 - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
16224 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
16226 # Check to see that the pipe works correctly.
16228 @@ -5599,14 +6523,14 @@ EOF
16229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16230 (eval $ac_compile) 2>&5
16232 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); }; then
16235 # Now try to grab the symbols.
16237 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
16238 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
16240 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16242 (exit $ac_status); } && test -s "$nlist"; then
16243 # Try sorting and uniquifying the output.
16244 if sort "$nlist" | uniq > "$nlist"T; then
16245 @@ -5661,7 +6585,7 @@ EOF
16246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16247 (eval $ac_link) 2>&5
16249 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); } && test -s conftest${ac_exeext}; then
16254 @@ -5680,7 +6604,7 @@ EOF
16255 echo "$progname: failed program was:" >&5
16256 cat conftest.$ac_ext >&5
16258 - rm -f conftest* conftst*
16259 + rm -rf conftest* conftst*
16261 # Do not use the global_symbol_pipe unless it works.
16262 if test "$pipe_works" = yes; then
16263 @@ -5696,17 +6620,17 @@ if test -z "$lt_cv_sys_global_symbol_pipe"; then
16264 lt_cv_sys_global_symbol_to_cdecl=
16266 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
16267 - echo "$as_me:$LINENO: result: failed" >&5
16268 -echo "${ECHO_T}failed" >&6
16269 + { $as_echo "$as_me:$LINENO: result: failed" >&5
16270 +$as_echo "failed" >&6; }
16272 - echo "$as_me:$LINENO: result: ok" >&5
16273 -echo "${ECHO_T}ok" >&6
16274 + { $as_echo "$as_me:$LINENO: result: ok" >&5
16275 +$as_echo "ok" >&6; }
16278 -echo "$as_me:$LINENO: checking for objdir" >&5
16279 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6
16280 +{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
16281 +$as_echo_n "checking for objdir... " >&6; }
16282 if test "${lt_cv_objdir+set}" = set; then
16283 - echo $ECHO_N "(cached) $ECHO_C" >&6
16284 + $as_echo_n "(cached) " >&6
16286 rm -f .libs 2>/dev/null
16287 mkdir .libs 2>/dev/null
16288 @@ -5718,8 +6642,8 @@ else
16290 rmdir .libs 2>/dev/null
16292 -echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
16293 -echo "${ECHO_T}$lt_cv_objdir" >&6
16294 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
16295 +$as_echo "$lt_cv_objdir" >&6; }
16296 objdir=$lt_cv_objdir
16299 @@ -5740,7 +6664,7 @@ esac
16301 # Sed substitution that helps us do robust quoting. It backslashifies
16302 # metacharacters that are still active within double-quoted strings.
16303 -Xsed='sed -e s/^X//'
16304 +Xsed='sed -e 1s/^X//'
16305 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
16307 # Same as above, but do not quote variable references.
16308 @@ -5760,7 +6684,7 @@ rm="rm -f"
16309 default_ofile=libtool
16310 can_build_shared=yes
16312 -# All known linkers require a `.a' archive for static linking (except M$VC,
16313 +# All known linkers require a `.a' archive for static linking (except MSVC,
16314 # which needs '.lib').
16316 ltmain="$ac_aux_dir/ltmain.sh"
16317 @@ -5770,10 +6694,10 @@ with_gnu_ld="$lt_cv_prog_gnu_ld"
16318 if test -n "$ac_tool_prefix"; then
16319 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16320 set dummy ${ac_tool_prefix}ar; ac_word=$2
16321 -echo "$as_me:$LINENO: checking for $ac_word" >&5
16322 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16323 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16324 +$as_echo_n "checking for $ac_word... " >&6; }
16325 if test "${ac_cv_prog_AR+set}" = set; then
16326 - echo $ECHO_N "(cached) $ECHO_C" >&6
16327 + $as_echo_n "(cached) " >&6
16329 if test -n "$AR"; then
16330 ac_cv_prog_AR="$AR" # Let the user override the test.
16331 @@ -5784,34 +6708,36 @@ do
16333 test -z "$as_dir" && as_dir=.
16334 for ac_exec_ext in '' $ac_executable_extensions; do
16335 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16336 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16337 ac_cv_prog_AR="${ac_tool_prefix}ar"
16338 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16339 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16349 if test -n "$AR"; then
16350 - echo "$as_me:$LINENO: result: $AR" >&5
16351 -echo "${ECHO_T}$AR" >&6
16352 + { $as_echo "$as_me:$LINENO: result: $AR" >&5
16353 +$as_echo "$AR" >&6; }
16355 - echo "$as_me:$LINENO: result: no" >&5
16356 -echo "${ECHO_T}no" >&6
16357 + { $as_echo "$as_me:$LINENO: result: no" >&5
16358 +$as_echo "no" >&6; }
16363 if test -z "$ac_cv_prog_AR"; then
16365 # Extract the first word of "ar", so it can be a program name with args.
16366 set dummy ar; ac_word=$2
16367 -echo "$as_me:$LINENO: checking for $ac_word" >&5
16368 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16369 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16370 +$as_echo_n "checking for $ac_word... " >&6; }
16371 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16372 - echo $ECHO_N "(cached) $ECHO_C" >&6
16373 + $as_echo_n "(cached) " >&6
16375 if test -n "$ac_ct_AR"; then
16376 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16377 @@ -5822,27 +6748,37 @@ do
16379 test -z "$as_dir" && as_dir=.
16380 for ac_exec_ext in '' $ac_executable_extensions; do
16381 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16382 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16383 ac_cv_prog_ac_ct_AR="ar"
16384 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16385 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16392 - test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
16395 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16396 if test -n "$ac_ct_AR"; then
16397 - echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16398 -echo "${ECHO_T}$ac_ct_AR" >&6
16399 + { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16400 +$as_echo "$ac_ct_AR" >&6; }
16402 - echo "$as_me:$LINENO: result: no" >&5
16403 -echo "${ECHO_T}no" >&6
16404 + { $as_echo "$as_me:$LINENO: result: no" >&5
16405 +$as_echo "no" >&6; }
16409 + if test "x$ac_ct_AR" = x; then
16412 + case $cross_compiling:$ac_tool_warned in
16414 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
16415 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16416 +ac_tool_warned=yes ;;
16421 AR="$ac_cv_prog_AR"
16423 @@ -5850,10 +6786,10 @@ fi
16424 if test -n "$ac_tool_prefix"; then
16425 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16426 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16427 -echo "$as_me:$LINENO: checking for $ac_word" >&5
16428 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16429 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16430 +$as_echo_n "checking for $ac_word... " >&6; }
16431 if test "${ac_cv_prog_RANLIB+set}" = set; then
16432 - echo $ECHO_N "(cached) $ECHO_C" >&6
16433 + $as_echo_n "(cached) " >&6
16435 if test -n "$RANLIB"; then
16436 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16437 @@ -5864,34 +6800,36 @@ do
16439 test -z "$as_dir" && as_dir=.
16440 for ac_exec_ext in '' $ac_executable_extensions; do
16441 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16442 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16443 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16444 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16445 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16454 RANLIB=$ac_cv_prog_RANLIB
16455 if test -n "$RANLIB"; then
16456 - echo "$as_me:$LINENO: result: $RANLIB" >&5
16457 -echo "${ECHO_T}$RANLIB" >&6
16458 + { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
16459 +$as_echo "$RANLIB" >&6; }
16461 - echo "$as_me:$LINENO: result: no" >&5
16462 -echo "${ECHO_T}no" >&6
16463 + { $as_echo "$as_me:$LINENO: result: no" >&5
16464 +$as_echo "no" >&6; }
16469 if test -z "$ac_cv_prog_RANLIB"; then
16470 ac_ct_RANLIB=$RANLIB
16471 # Extract the first word of "ranlib", so it can be a program name with args.
16472 set dummy ranlib; ac_word=$2
16473 -echo "$as_me:$LINENO: checking for $ac_word" >&5
16474 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16475 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16476 +$as_echo_n "checking for $ac_word... " >&6; }
16477 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16478 - echo $ECHO_N "(cached) $ECHO_C" >&6
16479 + $as_echo_n "(cached) " >&6
16481 if test -n "$ac_ct_RANLIB"; then
16482 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16483 @@ -5902,27 +6840,37 @@ do
16485 test -z "$as_dir" && as_dir=.
16486 for ac_exec_ext in '' $ac_executable_extensions; do
16487 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16488 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16489 ac_cv_prog_ac_ct_RANLIB="ranlib"
16490 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16491 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16498 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
16501 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16502 if test -n "$ac_ct_RANLIB"; then
16503 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16504 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
16505 + { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16506 +$as_echo "$ac_ct_RANLIB" >&6; }
16508 - echo "$as_me:$LINENO: result: no" >&5
16509 -echo "${ECHO_T}no" >&6
16510 + { $as_echo "$as_me:$LINENO: result: no" >&5
16511 +$as_echo "no" >&6; }
16514 - RANLIB=$ac_ct_RANLIB
16515 + if test "x$ac_ct_RANLIB" = x; then
16518 + case $cross_compiling:$ac_tool_warned in
16520 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
16521 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16522 +ac_tool_warned=yes ;;
16524 + RANLIB=$ac_ct_RANLIB
16527 RANLIB="$ac_cv_prog_RANLIB"
16529 @@ -5930,10 +6878,10 @@ fi
16530 if test -n "$ac_tool_prefix"; then
16531 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16532 set dummy ${ac_tool_prefix}strip; ac_word=$2
16533 -echo "$as_me:$LINENO: checking for $ac_word" >&5
16534 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16535 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16536 +$as_echo_n "checking for $ac_word... " >&6; }
16537 if test "${ac_cv_prog_STRIP+set}" = set; then
16538 - echo $ECHO_N "(cached) $ECHO_C" >&6
16539 + $as_echo_n "(cached) " >&6
16541 if test -n "$STRIP"; then
16542 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16543 @@ -5944,34 +6892,36 @@ do
16545 test -z "$as_dir" && as_dir=.
16546 for ac_exec_ext in '' $ac_executable_extensions; do
16547 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16548 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16549 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16550 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16551 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16560 STRIP=$ac_cv_prog_STRIP
16561 if test -n "$STRIP"; then
16562 - echo "$as_me:$LINENO: result: $STRIP" >&5
16563 -echo "${ECHO_T}$STRIP" >&6
16564 + { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
16565 +$as_echo "$STRIP" >&6; }
16567 - echo "$as_me:$LINENO: result: no" >&5
16568 -echo "${ECHO_T}no" >&6
16569 + { $as_echo "$as_me:$LINENO: result: no" >&5
16570 +$as_echo "no" >&6; }
16575 if test -z "$ac_cv_prog_STRIP"; then
16577 # Extract the first word of "strip", so it can be a program name with args.
16578 set dummy strip; ac_word=$2
16579 -echo "$as_me:$LINENO: checking for $ac_word" >&5
16580 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16581 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16582 +$as_echo_n "checking for $ac_word... " >&6; }
16583 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16584 - echo $ECHO_N "(cached) $ECHO_C" >&6
16585 + $as_echo_n "(cached) " >&6
16587 if test -n "$ac_ct_STRIP"; then
16588 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16589 @@ -5982,27 +6932,37 @@ do
16591 test -z "$as_dir" && as_dir=.
16592 for ac_exec_ext in '' $ac_executable_extensions; do
16593 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16594 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16595 ac_cv_prog_ac_ct_STRIP="strip"
16596 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16597 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16604 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
16607 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16608 if test -n "$ac_ct_STRIP"; then
16609 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16610 -echo "${ECHO_T}$ac_ct_STRIP" >&6
16611 + { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16612 +$as_echo "$ac_ct_STRIP" >&6; }
16614 - echo "$as_me:$LINENO: result: no" >&5
16615 -echo "${ECHO_T}no" >&6
16616 + { $as_echo "$as_me:$LINENO: result: no" >&5
16617 +$as_echo "no" >&6; }
16620 - STRIP=$ac_ct_STRIP
16621 + if test "x$ac_ct_STRIP" = x; then
16624 + case $cross_compiling:$ac_tool_warned in
16626 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
16627 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16628 +ac_tool_warned=yes ;;
16630 + STRIP=$ac_ct_STRIP
16633 STRIP="$ac_cv_prog_STRIP"
16635 @@ -6017,6 +6977,7 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
16636 test -z "$AS" && AS=as
16637 test -z "$CC" && CC=cc
16638 test -z "$LTCC" && LTCC=$CC
16639 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
16640 test -z "$DLLTOOL" && DLLTOOL=dlltool
16641 test -z "$LD" && LD=ld
16642 test -z "$LN_S" && LN_S="ln -s"
16643 @@ -6029,30 +6990,41 @@ test -z "$STRIP" && STRIP=:
16644 test -z "$ac_objext" && ac_objext=o
16646 # Determine commands to create old-style static archives.
16647 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
16648 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
16649 old_postinstall_cmds='chmod 644 $oldlib'
16650 old_postuninstall_cmds=
16652 if test -n "$RANLIB"; then
16655 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
16656 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
16659 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
16660 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
16663 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
16666 +for cc_temp in $compiler""; do
16668 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16669 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16674 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16677 # Only perform the check for file, if the check method requires it
16678 case $deplibs_check_method in
16680 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
16681 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
16682 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
16683 + { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
16684 +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
16685 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
16686 - echo $ECHO_N "(cached) $ECHO_C" >&6
16687 + $as_echo_n "(cached) " >&6
16691 @@ -6070,7 +7042,7 @@ else
16692 if test -n "$file_magic_test_file"; then
16693 case $deplibs_check_method in
16695 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
16696 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
16697 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
16698 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
16699 $EGREP "$file_magic_regex" > /dev/null; then
16700 @@ -6102,19 +7074,19 @@ fi
16702 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
16703 if test -n "$MAGIC_CMD"; then
16704 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
16705 -echo "${ECHO_T}$MAGIC_CMD" >&6
16706 + { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
16707 +$as_echo "$MAGIC_CMD" >&6; }
16709 - echo "$as_me:$LINENO: result: no" >&5
16710 -echo "${ECHO_T}no" >&6
16711 + { $as_echo "$as_me:$LINENO: result: no" >&5
16712 +$as_echo "no" >&6; }
16715 if test -z "$lt_cv_path_MAGIC_CMD"; then
16716 if test -n "$ac_tool_prefix"; then
16717 - echo "$as_me:$LINENO: checking for file" >&5
16718 -echo $ECHO_N "checking for file... $ECHO_C" >&6
16719 + { $as_echo "$as_me:$LINENO: checking for file" >&5
16720 +$as_echo_n "checking for file... " >&6; }
16721 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
16722 - echo $ECHO_N "(cached) $ECHO_C" >&6
16723 + $as_echo_n "(cached) " >&6
16727 @@ -6132,7 +7104,7 @@ else
16728 if test -n "$file_magic_test_file"; then
16729 case $deplibs_check_method in
16731 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
16732 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
16733 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
16734 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
16735 $EGREP "$file_magic_regex" > /dev/null; then
16736 @@ -6164,11 +7136,11 @@ fi
16738 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
16739 if test -n "$MAGIC_CMD"; then
16740 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
16741 -echo "${ECHO_T}$MAGIC_CMD" >&6
16742 + { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
16743 +$as_echo "$MAGIC_CMD" >&6; }
16745 - echo "$as_me:$LINENO: result: no" >&5
16746 -echo "${ECHO_T}no" >&6
16747 + { $as_echo "$as_me:$LINENO: result: no" >&5
16748 +$as_echo "no" >&6; }
16752 @@ -6180,24 +7152,332 @@ fi
16758 + rhapsody* | darwin*)
16759 + if test -n "$ac_tool_prefix"; then
16760 + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
16761 +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
16762 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16763 +$as_echo_n "checking for $ac_word... " >&6; }
16764 +if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
16765 + $as_echo_n "(cached) " >&6
16767 + if test -n "$DSYMUTIL"; then
16768 + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
16770 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16771 +for as_dir in $PATH
16774 + test -z "$as_dir" && as_dir=.
16775 + for ac_exec_ext in '' $ac_executable_extensions; do
16776 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16777 + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
16778 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16787 +DSYMUTIL=$ac_cv_prog_DSYMUTIL
16788 +if test -n "$DSYMUTIL"; then
16789 + { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
16790 +$as_echo "$DSYMUTIL" >&6; }
16792 + { $as_echo "$as_me:$LINENO: result: no" >&5
16793 +$as_echo "no" >&6; }
16798 +if test -z "$ac_cv_prog_DSYMUTIL"; then
16799 + ac_ct_DSYMUTIL=$DSYMUTIL
16800 + # Extract the first word of "dsymutil", so it can be a program name with args.
16801 +set dummy dsymutil; ac_word=$2
16802 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16803 +$as_echo_n "checking for $ac_word... " >&6; }
16804 +if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
16805 + $as_echo_n "(cached) " >&6
16807 + if test -n "$ac_ct_DSYMUTIL"; then
16808 + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
16810 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16811 +for as_dir in $PATH
16814 + test -z "$as_dir" && as_dir=.
16815 + for ac_exec_ext in '' $ac_executable_extensions; do
16816 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16817 + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
16818 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16827 +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
16828 +if test -n "$ac_ct_DSYMUTIL"; then
16829 + { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
16830 +$as_echo "$ac_ct_DSYMUTIL" >&6; }
16832 + { $as_echo "$as_me:$LINENO: result: no" >&5
16833 +$as_echo "no" >&6; }
16836 + if test "x$ac_ct_DSYMUTIL" = x; then
16839 + case $cross_compiling:$ac_tool_warned in
16841 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
16842 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16843 +ac_tool_warned=yes ;;
16845 + DSYMUTIL=$ac_ct_DSYMUTIL
16848 + DSYMUTIL="$ac_cv_prog_DSYMUTIL"
16851 + if test -n "$ac_tool_prefix"; then
16852 + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
16853 +set dummy ${ac_tool_prefix}nmedit; ac_word=$2
16854 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16855 +$as_echo_n "checking for $ac_word... " >&6; }
16856 +if test "${ac_cv_prog_NMEDIT+set}" = set; then
16857 + $as_echo_n "(cached) " >&6
16859 + if test -n "$NMEDIT"; then
16860 + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
16862 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16863 +for as_dir in $PATH
16866 + test -z "$as_dir" && as_dir=.
16867 + for ac_exec_ext in '' $ac_executable_extensions; do
16868 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16869 + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
16870 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16879 +NMEDIT=$ac_cv_prog_NMEDIT
16880 +if test -n "$NMEDIT"; then
16881 + { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
16882 +$as_echo "$NMEDIT" >&6; }
16884 + { $as_echo "$as_me:$LINENO: result: no" >&5
16885 +$as_echo "no" >&6; }
16890 +if test -z "$ac_cv_prog_NMEDIT"; then
16891 + ac_ct_NMEDIT=$NMEDIT
16892 + # Extract the first word of "nmedit", so it can be a program name with args.
16893 +set dummy nmedit; ac_word=$2
16894 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16895 +$as_echo_n "checking for $ac_word... " >&6; }
16896 +if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
16897 + $as_echo_n "(cached) " >&6
16899 + if test -n "$ac_ct_NMEDIT"; then
16900 + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
16902 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16903 +for as_dir in $PATH
16906 + test -z "$as_dir" && as_dir=.
16907 + for ac_exec_ext in '' $ac_executable_extensions; do
16908 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16909 + ac_cv_prog_ac_ct_NMEDIT="nmedit"
16910 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16919 +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
16920 +if test -n "$ac_ct_NMEDIT"; then
16921 + { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
16922 +$as_echo "$ac_ct_NMEDIT" >&6; }
16924 + { $as_echo "$as_me:$LINENO: result: no" >&5
16925 +$as_echo "no" >&6; }
16928 + if test "x$ac_ct_NMEDIT" = x; then
16931 + case $cross_compiling:$ac_tool_warned in
16933 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
16934 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16935 +ac_tool_warned=yes ;;
16937 + NMEDIT=$ac_ct_NMEDIT
16940 + NMEDIT="$ac_cv_prog_NMEDIT"
16944 + { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
16945 +$as_echo_n "checking for -single_module linker flag... " >&6; }
16946 +if test "${lt_cv_apple_cc_single_mod+set}" = set; then
16947 + $as_echo_n "(cached) " >&6
16949 + lt_cv_apple_cc_single_mod=no
16950 + if test -z "${LT_MULTI_MODULE}"; then
16951 + # By default we will add the -single_module flag. You can override
16952 + # by either setting the environment variable LT_MULTI_MODULE
16953 + # non-empty at configure time, or by adding -multi_module to the
16955 + echo "int foo(void){return 1;}" > conftest.c
16956 + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
16957 + -dynamiclib ${wl}-single_module conftest.c
16958 + if test -f libconftest.dylib; then
16959 + lt_cv_apple_cc_single_mod=yes
16960 + rm -rf libconftest.dylib*
16965 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
16966 +$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
16967 + { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
16968 +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
16969 +if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
16970 + $as_echo_n "(cached) " >&6
16972 + lt_cv_ld_exported_symbols_list=no
16973 + save_LDFLAGS=$LDFLAGS
16974 + echo "_main" > conftest.sym
16975 + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
16976 + cat >conftest.$ac_ext <<_ACEOF
16979 +cat confdefs.h >>conftest.$ac_ext
16980 +cat >>conftest.$ac_ext <<_ACEOF
16981 +/* end confdefs.h. */
16991 +rm -f conftest.$ac_objext conftest$ac_exeext
16992 +if { (ac_try="$ac_link"
16993 +case "(($ac_try" in
16994 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16995 + *) ac_try_echo=$ac_try;;
16997 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16998 +$as_echo "$ac_try_echo") >&5
16999 + (eval "$ac_link") 2>conftest.er1
17001 + grep -v '^ *+' conftest.er1 >conftest.err
17002 + rm -f conftest.er1
17003 + cat conftest.err >&5
17004 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17005 + (exit $ac_status); } && {
17006 + test -z "$ac_c_werror_flag" ||
17007 + test ! -s conftest.err
17008 + } && test -s conftest$ac_exeext && {
17009 + test "$cross_compiling" = yes ||
17010 + $as_test_x conftest$ac_exeext
17012 + lt_cv_ld_exported_symbols_list=yes
17014 + $as_echo "$as_me: failed program was:" >&5
17015 +sed 's/^/| /' conftest.$ac_ext >&5
17017 + lt_cv_ld_exported_symbols_list=no
17020 +rm -rf conftest.dSYM
17021 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17022 + conftest$ac_exeext conftest.$ac_ext
17023 + LDFLAGS="$save_LDFLAGS"
17026 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
17027 +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
17029 + rhapsody* | darwin1.[0123])
17030 + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
17032 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
17034 + # if running on 10.5 or later, the deployment target defaults
17035 + # to the OS version, if on x86, and 10.4, the deployment
17036 + # target defaults to 10.4. Don't you love it?
17037 + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
17038 + 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
17039 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
17041 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
17043 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
17047 + if test "$lt_cv_apple_cc_single_mod" = "yes"; then
17048 + _lt_dar_single_mod='$single_module'
17050 + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
17051 + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
17053 + _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
17055 + if test "$DSYMUTIL" != ":"; then
17056 + _lt_dsymutil="~$DSYMUTIL \$lib || :"
17065 enable_win32_dll=no
17067 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
17068 +# Check whether --enable-libtool-lock was given.
17069 if test "${enable_libtool_lock+set}" = set; then
17070 - enableval="$enable_libtool_lock"
17071 + enableval=$enable_libtool_lock;
17075 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
17078 -# Check whether --with-pic or --without-pic was given.
17079 +# Check whether --with-pic was given.
17080 if test "${with_pic+set}" = set; then
17081 - withval="$with_pic"
17082 - pic_mode="$withval"
17083 + withval=$with_pic; pic_mode="$withval"
17089 test -z "$pic_mode" && pic_mode=default
17091 # Use C for the default configuration in the libtool script
17092 @@ -6218,77 +7498,34 @@ objext=o
17095 # Code to be used in simple compile tests
17096 -lt_simple_compile_test_code="int some_variable = 0;\n"
17097 +lt_simple_compile_test_code="int some_variable = 0;"
17099 # Code to be used in simple link tests
17100 -lt_simple_link_test_code='int main(){return(0);}\n'
17101 +lt_simple_link_test_code='int main(){return(0);}'
17104 # If no C compiler was specified, use CC.
17107 +# If no C compiler flags were specified, use CFLAGS.
17108 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17110 # Allow CC to be a program name with arguments.
17115 -# Check for any special shared library compilation flags.
17118 -if test "$GCC" = no; then
17121 - lt_prog_cc_shlib='-belf'
17125 -if test -n "$lt_prog_cc_shlib"; then
17126 - { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
17127 -echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
17128 - if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
17130 - { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
17131 -echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
17132 - lt_cv_prog_cc_can_build_shared=no
17138 -# Check to make sure the static flag actually works.
17140 -echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
17141 -echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
17142 -if test "${lt_prog_compiler_static_works+set}" = set; then
17143 - echo $ECHO_N "(cached) $ECHO_C" >&6
17145 - lt_prog_compiler_static_works=no
17146 - save_LDFLAGS="$LDFLAGS"
17147 - LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
17148 - printf "$lt_simple_link_test_code" > conftest.$ac_ext
17149 - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17150 - # The compiler can only warn and ignore the option if not recognized
17151 - # So say no if there are warnings
17152 - if test -s conftest.err; then
17153 - # Append any errors to the config.log.
17154 - cat conftest.err 1>&5
17156 - lt_prog_compiler_static_works=yes
17160 - LDFLAGS="$save_LDFLAGS"
17163 -echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
17164 -echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
17166 -if test x"$lt_prog_compiler_static_works" = xyes; then
17169 - lt_prog_compiler_static=
17171 +# save warnings/boilerplate of simple test code
17172 +ac_outfile=conftest.$ac_objext
17173 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17174 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17175 +_lt_compiler_boilerplate=`cat conftest.err`
17178 +ac_outfile=conftest.$ac_objext
17179 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
17180 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17181 +_lt_linker_boilerplate=`cat conftest.err`
17186 @@ -6298,14 +7535,14 @@ if test "$GCC" = yes; then
17187 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
17190 -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17191 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
17192 +{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17193 +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
17194 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17195 - echo $ECHO_N "(cached) $ECHO_C" >&6
17196 + $as_echo_n "(cached) " >&6
17198 lt_cv_prog_compiler_rtti_exceptions=no
17199 ac_outfile=conftest.$ac_objext
17200 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17201 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17202 lt_compiler_flag="-fno-rtti -fno-exceptions"
17203 # Insert the option either (1) after the last *FLAGS variable, or
17204 # (2) before a word containing "conftest.", or (3) at the end.
17205 @@ -6313,26 +7550,28 @@ else
17206 # with a dollar sign (not a hyphen), so the echo should work correctly.
17207 # The option is referenced via a variable to avoid confusing sed.
17208 lt_compile=`echo "$ac_compile" | $SED \
17209 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17210 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17211 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17212 -e 's:$: $lt_compiler_flag:'`
17213 - (eval echo "\"\$as_me:6319: $lt_compile\"" >&5)
17214 + (eval echo "\"\$as_me:7556: $lt_compile\"" >&5)
17215 (eval "$lt_compile" 2>conftest.err)
17217 cat conftest.err >&5
17218 - echo "$as_me:6323: \$? = $ac_status" >&5
17219 + echo "$as_me:7560: \$? = $ac_status" >&5
17220 if (exit $ac_status) && test -s "$ac_outfile"; then
17221 # The compiler can only warn and ignore the option if not recognized
17222 - # So say no if there are warnings
17223 - if test ! -s conftest.err; then
17224 + # So say no if there are warnings other than the usual output.
17225 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17226 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17227 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17228 lt_cv_prog_compiler_rtti_exceptions=yes
17234 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17235 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
17236 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17237 +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17239 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17240 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
17241 @@ -6346,8 +7585,8 @@ lt_prog_compiler_wl=
17242 lt_prog_compiler_pic=
17243 lt_prog_compiler_static=
17245 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17246 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17247 +{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17248 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17250 if test "$GCC" = yes; then
17251 lt_prog_compiler_wl='-Wl,'
17252 @@ -6369,13 +7608,15 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17253 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
17256 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17257 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17258 # PIC is the default for these OSes.
17261 - mingw* | pw32* | os2*)
17262 + mingw* | cygwin* | pw32* | os2*)
17263 # This hack is so that the source file can tell whether it is being
17264 # built for inclusion in a dll (and should export symbols for example).
17265 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
17266 + # (--disable-auto-import) libraries
17267 lt_prog_compiler_pic='-DDLL_EXPORT'
17270 @@ -6385,6 +7626,11 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17271 lt_prog_compiler_pic='-fno-common'
17275 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17276 + # Instead, we relocate shared libraries at runtime.
17280 # Just because we use GCC doesn't mean we suddenly get shared libraries
17281 # on systems that don't support them.
17282 @@ -6401,7 +7647,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17284 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17285 # not for PA HP-UX.
17286 - case "$host_cpu" in
17287 + case $host_cpu in
17291 @@ -6427,8 +7673,18 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17292 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
17296 + # PIC is the default on this platform
17297 + # Common symbols not allowed in MH_DYLIB files
17298 + case $cc_basename in
17300 + lt_prog_compiler_pic='-qnocommon'
17301 + lt_prog_compiler_wl='-Wl,'
17306 - mingw* | pw32* | os2*)
17307 + mingw* | cygwin* | pw32* | os2*)
17308 # This hack is so that the source file can tell whether it is being
17309 # built for inclusion in a dll (and should export symbols for example).
17310 lt_prog_compiler_pic='-DDLL_EXPORT'
17311 @@ -6438,7 +7694,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17312 lt_prog_compiler_wl='-Wl,'
17313 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17314 # not for PA HP-UX.
17315 - case "$host_cpu" in
17316 + case $host_cpu in
17320 @@ -6461,18 +7717,41 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17321 lt_prog_compiler_static='-Bstatic'
17326 + linux* | k*bsd*-gnu)
17327 + case $cc_basename in
17329 lt_prog_compiler_wl='-Wl,'
17330 lt_prog_compiler_pic='-KPIC'
17331 lt_prog_compiler_static='-static'
17333 + pgcc* | pgf77* | pgf90* | pgf95*)
17334 + # Portland Group compilers (*not* the Pentium gcc compiler,
17335 + # which looks to be a dead project)
17336 + lt_prog_compiler_wl='-Wl,'
17337 + lt_prog_compiler_pic='-fpic'
17338 + lt_prog_compiler_static='-Bstatic'
17341 lt_prog_compiler_wl='-Wl,'
17342 # All Alpha code is PIC.
17343 lt_prog_compiler_static='-non_shared'
17346 + case `$CC -V 2>&1 | sed 5q` in
17349 + lt_prog_compiler_pic='-KPIC'
17350 + lt_prog_compiler_static='-Bstatic'
17351 + lt_prog_compiler_wl='-Wl,'
17354 + # Sun Fortran 8.3 passes all unrecognized flags to the linker
17355 + lt_prog_compiler_pic='-KPIC'
17356 + lt_prog_compiler_static='-Bstatic'
17357 + lt_prog_compiler_wl=''
17364 @@ -6482,15 +7761,19 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17365 lt_prog_compiler_static='-non_shared'
17369 - lt_prog_compiler_pic='-Kpic'
17370 - lt_prog_compiler_static='-dn'
17372 + lt_prog_compiler_static='-non_shared'
17376 - lt_prog_compiler_wl='-Wl,'
17377 lt_prog_compiler_pic='-KPIC'
17378 lt_prog_compiler_static='-Bstatic'
17379 + case $cc_basename in
17380 + f77* | f90* | f95*)
17381 + lt_prog_compiler_wl='-Qoption ld ';;
17383 + lt_prog_compiler_wl='-Wl,';;
17388 @@ -6499,7 +7782,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17389 lt_prog_compiler_static='-Bstatic'
17392 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
17393 + sysv4 | sysv4.2uw2* | sysv4.3*)
17394 lt_prog_compiler_wl='-Wl,'
17395 lt_prog_compiler_pic='-KPIC'
17396 lt_prog_compiler_static='-Bstatic'
17397 @@ -6512,6 +7795,17 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17401 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17402 + lt_prog_compiler_wl='-Wl,'
17403 + lt_prog_compiler_pic='-KPIC'
17404 + lt_prog_compiler_static='-Bstatic'
17408 + lt_prog_compiler_wl='-Wl,'
17409 + lt_prog_compiler_can_build_shared=no
17413 lt_prog_compiler_pic='-pic'
17414 lt_prog_compiler_static='-Bstatic'
17415 @@ -6523,22 +7817,22 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17419 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
17420 -echo "${ECHO_T}$lt_prog_compiler_pic" >&6
17421 +{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
17422 +$as_echo "$lt_prog_compiler_pic" >&6; }
17425 # Check to make sure the PIC flag actually works.
17427 if test -n "$lt_prog_compiler_pic"; then
17429 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
17430 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
17431 -if test "${lt_prog_compiler_pic_works+set}" = set; then
17432 - echo $ECHO_N "(cached) $ECHO_C" >&6
17433 +{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
17434 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
17435 +if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
17436 + $as_echo_n "(cached) " >&6
17438 - lt_prog_compiler_pic_works=no
17439 + lt_cv_prog_compiler_pic_works=no
17440 ac_outfile=conftest.$ac_objext
17441 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17442 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17443 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
17444 # Insert the option either (1) after the last *FLAGS variable, or
17445 # (2) before a word containing "conftest.", or (3) at the end.
17446 @@ -6546,28 +7840,30 @@ else
17447 # with a dollar sign (not a hyphen), so the echo should work correctly.
17448 # The option is referenced via a variable to avoid confusing sed.
17449 lt_compile=`echo "$ac_compile" | $SED \
17450 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17451 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17452 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17453 -e 's:$: $lt_compiler_flag:'`
17454 - (eval echo "\"\$as_me:6552: $lt_compile\"" >&5)
17455 + (eval echo "\"\$as_me:7846: $lt_compile\"" >&5)
17456 (eval "$lt_compile" 2>conftest.err)
17458 cat conftest.err >&5
17459 - echo "$as_me:6556: \$? = $ac_status" >&5
17460 + echo "$as_me:7850: \$? = $ac_status" >&5
17461 if (exit $ac_status) && test -s "$ac_outfile"; then
17462 # The compiler can only warn and ignore the option if not recognized
17463 - # So say no if there are warnings
17464 - if test ! -s conftest.err; then
17465 - lt_prog_compiler_pic_works=yes
17466 + # So say no if there are warnings other than the usual output.
17467 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17468 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17469 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17470 + lt_cv_prog_compiler_pic_works=yes
17476 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
17477 -echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
17478 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
17479 +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
17481 -if test x"$lt_prog_compiler_pic_works" = xyes; then
17482 +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
17483 case $lt_prog_compiler_pic in
17485 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
17486 @@ -6578,7 +7874,7 @@ else
17490 -case "$host_os" in
17492 # For platforms which do not support PIC, -DPIC is meaningless:
17494 lt_prog_compiler_pic=
17495 @@ -6588,17 +7884,59 @@ case "$host_os" in
17499 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17500 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
17502 +# Check to make sure the static flag actually works.
17504 +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
17505 +{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17506 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17507 +if test "${lt_cv_prog_compiler_static_works+set}" = set; then
17508 + $as_echo_n "(cached) " >&6
17510 + lt_cv_prog_compiler_static_works=no
17511 + save_LDFLAGS="$LDFLAGS"
17512 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17513 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
17514 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17515 + # The linker can only warn and ignore the option if not recognized
17516 + # So say no if there are warnings
17517 + if test -s conftest.err; then
17518 + # Append any errors to the config.log.
17519 + cat conftest.err 1>&5
17520 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17521 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17522 + if diff conftest.exp conftest.er2 >/dev/null; then
17523 + lt_cv_prog_compiler_static_works=yes
17526 + lt_cv_prog_compiler_static_works=yes
17530 + LDFLAGS="$save_LDFLAGS"
17533 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
17534 +$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
17536 +if test x"$lt_cv_prog_compiler_static_works" = xyes; then
17539 + lt_prog_compiler_static=
17543 +{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17544 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17545 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
17546 - echo $ECHO_N "(cached) $ECHO_C" >&6
17547 + $as_echo_n "(cached) " >&6
17549 lt_cv_prog_compiler_c_o=no
17550 $rm -r conftest 2>/dev/null
17554 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17555 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17557 lt_compiler_flag="-o out/conftest2.$ac_objext"
17558 # Insert the option either (1) after the last *FLAGS variable, or
17559 @@ -6606,23 +7944,25 @@ else
17560 # Note that $ac_compile itself does not contain backslashes and begins
17561 # with a dollar sign (not a hyphen), so the echo should work correctly.
17562 lt_compile=`echo "$ac_compile" | $SED \
17563 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17564 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17565 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17566 -e 's:$: $lt_compiler_flag:'`
17567 - (eval echo "\"\$as_me:6612: $lt_compile\"" >&5)
17568 + (eval echo "\"\$as_me:7950: $lt_compile\"" >&5)
17569 (eval "$lt_compile" 2>out/conftest.err)
17571 cat out/conftest.err >&5
17572 - echo "$as_me:6616: \$? = $ac_status" >&5
17573 + echo "$as_me:7954: \$? = $ac_status" >&5
17574 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17576 # The compiler can only warn and ignore the option if not recognized
17577 # So say no if there are warnings
17578 - if test ! -s out/conftest.err; then
17579 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17580 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17581 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17582 lt_cv_prog_compiler_c_o=yes
17588 # SGI C++ compiler will create directory out/ii_files/ for
17589 # template instantiation
17590 @@ -6633,34 +7973,34 @@ else
17594 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
17595 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
17596 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
17597 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
17600 hard_links="nottested"
17601 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
17602 # do not overwrite the value of need_locks provided by the user
17603 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17604 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
17605 + { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17606 +$as_echo_n "checking if we can lock with hard links... " >&6; }
17609 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17611 ln conftest.a conftest.b 2>&5 || hard_links=no
17612 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17613 - echo "$as_me:$LINENO: result: $hard_links" >&5
17614 -echo "${ECHO_T}$hard_links" >&6
17615 + { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
17616 +$as_echo "$hard_links" >&6; }
17617 if test "$hard_links" = no; then
17618 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17619 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17620 + { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17621 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17628 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17629 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
17630 +{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17631 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17634 allow_undefined_flag=
17635 @@ -6691,13 +8031,24 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
17636 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17637 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17638 # as well as any symbol that contains `d'.
17639 - exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
17640 + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17641 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17642 # platforms (ab)use it in PIC code, but their linkers get confused if
17643 # the symbol is explicitly referenced. Since portable code cannot
17644 # rely on this symbol name, it's probably fine to never include it in
17645 # preloaded symbol tables.
17646 + # Exclude shared library initialization/finalization symbols.
17647 extract_expsyms_cmds=
17648 + # Just being paranoid about ensuring that cc_basename is set.
17649 + for cc_temp in $compiler""; do
17651 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17652 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17657 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17660 cygwin* | mingw* | pw32*)
17661 @@ -6708,6 +8059,10 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
17666 + # we just hope/assume this is gcc and not c89 (= MSVC++)
17672 @@ -6718,9 +8073,30 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
17673 # If archive_cmds runs LD, not CC, wlarc should be empty
17676 + # Set some defaults for GNU ld with shared library support. These
17677 + # are reset later if shared libraries are not supported. Putting them
17678 + # here allows them to be overridden if necessary.
17679 + runpath_var=LD_RUN_PATH
17680 + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
17681 + export_dynamic_flag_spec='${wl}--export-dynamic'
17682 + # ancient GNU ld didn't support --whole-archive et. al.
17683 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17684 + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17686 + whole_archive_flag_spec=
17688 + supports_anon_versioning=no
17689 + case `$LD -v 2>/dev/null` in
17690 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17691 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17692 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17693 + *\ 2.11.*) ;; # other 2.11 versions
17694 + *) supports_anon_versioning=yes ;;
17697 # See if GNU ld supports shared libraries.
17699 - aix3* | aix4* | aix5*)
17701 # On AIX/PPC, the GNU linker is very broken
17702 if test "$host_cpu" != ia64; then
17704 @@ -6768,10 +8144,10 @@ EOF
17705 allow_undefined_flag=unsupported
17706 always_export_symbols=no
17707 enable_shared_with_static_runtimes=yes
17708 - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17709 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17711 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17712 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17713 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17714 # If the export-symbols file already is a .def file (1st line
17715 # is EXPORTS), use it as is; otherwise, prepend...
17716 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17717 @@ -6780,13 +8156,69 @@ EOF
17718 echo EXPORTS > $output_objdir/$soname.def;
17719 cat $export_symbols >> $output_objdir/$soname.def;
17721 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17722 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17729 + hardcode_direct=no
17730 + hardcode_shlibpath_var=no
17731 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
17732 + export_dynamic_flag_spec='${wl}-E'
17733 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17734 + # Instead, shared libraries are loaded at an image base (0x10000000 by
17735 + # default) and relocated if they conflict, which is a slow very memory
17736 + # consuming and fragmenting process. To avoid this, we pick a random,
17737 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17738 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17739 + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17740 + archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17743 + gnu* | linux* | k*bsd*-gnu)
17744 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17746 + case $cc_basename,$host_cpu in
17747 + pgcc*) # Portland Group C compiler
17748 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17749 + tmp_addflag=' $pic_flag'
17751 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
17752 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17753 + tmp_addflag=' $pic_flag -Mnomain' ;;
17754 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
17755 + tmp_addflag=' -i_dynamic' ;;
17756 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
17757 + tmp_addflag=' -i_dynamic -nofor_main' ;;
17758 + ifc* | ifort*) # Intel Fortran compiler
17759 + tmp_addflag=' -nofor_main' ;;
17761 + case `$CC -V 2>&1 | sed 5q` in
17762 + *Sun\ C*) # Sun C 5.9
17763 + whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17764 + tmp_sharedflag='-G' ;;
17765 + *Sun\ F*) # Sun Fortran 8.3
17766 + tmp_sharedflag='-G' ;;
17768 + tmp_sharedflag='-shared' ;;
17770 + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17772 + if test $supports_anon_versioning = yes; then
17773 + archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
17774 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17775 + $echo "local: *; };" >> $output_objdir/$libname.ver~
17776 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17778 + link_all_deplibs=no
17785 + netbsd* | netbsdelf*-gnu)
17786 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17787 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17789 @@ -6796,7 +8228,7 @@ EOF
17793 - solaris* | sysv5*)
17795 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17798 @@ -6817,6 +8249,33 @@ EOF
17802 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17803 + case `$LD -v 2>&1` in
17804 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17806 + cat <<_LT_EOF 1>&2
17808 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17809 +*** reliably create shared libraries on SCO systems. Therefore, libtool
17810 +*** is disabling shared libraries support. We urge you to upgrade GNU
17811 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17812 +*** your PATH or compiler configuration so that the native linker is
17813 +*** used, and then restart.
17818 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17819 + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17820 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17821 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17830 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17832 @@ -6824,31 +8283,6 @@ EOF
17833 hardcode_shlibpath_var=no
17837 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17838 - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17839 - archive_cmds="$tmp_archive_cmds"
17840 - supports_anon_versioning=no
17841 - case `$LD -v 2>/dev/null` in
17842 - *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17843 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17844 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17845 - *\ 2.11.*) ;; # other 2.11 versions
17846 - *) supports_anon_versioning=yes ;;
17848 - if test $supports_anon_versioning = yes; then
17849 - archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
17850 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17851 -$echo "local: *; };" >> $output_objdir/$libname.ver~
17852 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17854 - archive_expsym_cmds="$tmp_archive_cmds"
17862 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17863 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17864 @@ -6859,16 +8293,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
17868 - if test "$ld_shlibs" = yes; then
17869 - runpath_var=LD_RUN_PATH
17870 - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
17871 - export_dynamic_flag_spec='${wl}--export-dynamic'
17872 - # ancient GNU ld didn't support --whole-archive et. al.
17873 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17874 - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17876 - whole_archive_flag_spec=
17878 + if test "$ld_shlibs" = no; then
17880 + hardcode_libdir_flag_spec=
17881 + export_dynamic_flag_spec=
17882 + whole_archive_flag_spec=
17885 # PORTME fill in a description of your system's linker (not GNU ld)
17886 @@ -6880,14 +8309,14 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
17887 # Note: this linker hardcodes the directories in LIBPATH if there
17888 # are no directories specified by -L.
17889 hardcode_minus_L=yes
17890 - if test "$GCC" = yes && test -z "$link_static_flag"; then
17891 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17892 # Neither direct hardcoding nor static linking is supported with a
17894 hardcode_direct=unsupported
17900 if test "$host_cpu" = ia64; then
17901 # On IA64, the linker does run time linking by default, so we don't
17902 # have to do anything special.
17903 @@ -6907,13 +8336,14 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
17904 # Test if we are trying to use run time linking or normal
17905 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17906 # need to do runtime linking.
17907 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
17908 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17909 for ld_flag in $LDFLAGS; do
17910 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17911 aix_use_runtimelinking=yes
17918 exp_sym_flag='-bexport'
17919 @@ -6932,7 +8362,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
17920 link_all_deplibs=yes
17922 if test "$GCC" = yes; then
17923 - case $host_os in aix4.012|aix4.012.*)
17924 + case $host_os in aix4.[012]|aix4.[012].*)
17925 # We only want to do this on AIX 4.2 and lower, the check
17926 # below for broken collect2 doesn't work under 4.3+
17927 collect2name=`${CC} -print-prog-name=collect2`
17928 @@ -6940,7 +8370,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
17929 strings "$collect2name" | grep resolve_lib_name >/dev/null
17931 # We have reworked collect2
17932 - hardcode_direct=yes
17935 # We have old collect2
17936 hardcode_direct=unsupported
17937 @@ -6951,8 +8381,12 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
17938 hardcode_libdir_flag_spec='-L$libdir'
17939 hardcode_libdir_separator=
17943 shared_flag='-shared'
17944 + if test "$aix_use_runtimelinking" = yes; then
17945 + shared_flag="$shared_flag "'${wl}-G'
17949 if test "$host_cpu" = ia64; then
17950 @@ -6960,11 +8394,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
17951 # chokes on -Wl,-G. The following line is correct:
17954 - if test "$aix_use_runtimelinking" = yes; then
17955 + if test "$aix_use_runtimelinking" = yes; then
17956 shared_flag='${wl}-G'
17958 shared_flag='${wl}-bM:SRE'
17964 @@ -6992,49 +8426,58 @@ main ()
17967 rm -f conftest.$ac_objext conftest$ac_exeext
17968 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17969 - (eval $ac_link) 2>conftest.er1
17970 +if { (ac_try="$ac_link"
17971 +case "(($ac_try" in
17972 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17973 + *) ac_try_echo=$ac_try;;
17975 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17976 +$as_echo "$ac_try_echo") >&5
17977 + (eval "$ac_link") 2>conftest.er1
17979 grep -v '^ *+' conftest.er1 >conftest.err
17981 cat conftest.err >&5
17982 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983 - (exit $ac_status); } &&
17984 - { ac_try='test -z "$ac_c_werror_flag"
17985 - || test ! -s conftest.err'
17986 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17987 - (eval $ac_try) 2>&5
17989 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17990 - (exit $ac_status); }; } &&
17991 - { ac_try='test -s conftest$ac_exeext'
17992 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17993 - (eval $ac_try) 2>&5
17995 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 - (exit $ac_status); }; }; then
17998 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18000 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 + (exit $ac_status); } && {
18002 + test -z "$ac_c_werror_flag" ||
18003 + test ! -s conftest.err
18004 + } && test -s conftest$ac_exeext && {
18005 + test "$cross_compiling" = yes ||
18006 + $as_test_x conftest$ac_exeext
18009 +lt_aix_libpath_sed='
18010 + /Import File Strings/,/^$/ {
18012 + s/^0 *\(.*\)$/\1/
18016 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18017 # Check for a 64-bit object if we didn't find anything.
18018 -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18020 +if test -z "$aix_libpath"; then
18021 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18024 - echo "$as_me: failed program was:" >&5
18025 + $as_echo "$as_me: failed program was:" >&5
18026 sed 's/^/| /' conftest.$ac_ext >&5
18030 -rm -f conftest.err conftest.$ac_objext \
18032 +rm -rf conftest.dSYM
18033 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18034 conftest$ac_exeext conftest.$ac_ext
18035 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18037 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
18038 - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18039 + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18041 if test "$host_cpu" = ia64; then
18042 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
18043 allow_undefined_flag="-z nodefs"
18044 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
18045 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
18047 # Determine the default libpath from the value encoded in an empty executable.
18048 cat >conftest.$ac_ext <<_ACEOF
18049 @@ -7053,39 +8496,48 @@ main ()
18052 rm -f conftest.$ac_objext conftest$ac_exeext
18053 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18054 - (eval $ac_link) 2>conftest.er1
18055 +if { (ac_try="$ac_link"
18056 +case "(($ac_try" in
18057 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18058 + *) ac_try_echo=$ac_try;;
18060 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18061 +$as_echo "$ac_try_echo") >&5
18062 + (eval "$ac_link") 2>conftest.er1
18064 grep -v '^ *+' conftest.er1 >conftest.err
18066 cat conftest.err >&5
18067 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18068 - (exit $ac_status); } &&
18069 - { ac_try='test -z "$ac_c_werror_flag"
18070 - || test ! -s conftest.err'
18071 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18072 - (eval $ac_try) 2>&5
18074 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18075 - (exit $ac_status); }; } &&
18076 - { ac_try='test -s conftest$ac_exeext'
18077 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18078 - (eval $ac_try) 2>&5
18080 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18081 - (exit $ac_status); }; }; then
18083 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18085 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18086 + (exit $ac_status); } && {
18087 + test -z "$ac_c_werror_flag" ||
18088 + test ! -s conftest.err
18089 + } && test -s conftest$ac_exeext && {
18090 + test "$cross_compiling" = yes ||
18091 + $as_test_x conftest$ac_exeext
18094 +lt_aix_libpath_sed='
18095 + /Import File Strings/,/^$/ {
18097 + s/^0 *\(.*\)$/\1/
18101 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18102 # Check for a 64-bit object if we didn't find anything.
18103 -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18105 +if test -z "$aix_libpath"; then
18106 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18109 - echo "$as_me: failed program was:" >&5
18110 + $as_echo "$as_me: failed program was:" >&5
18111 sed 's/^/| /' conftest.$ac_ext >&5
18115 -rm -f conftest.err conftest.$ac_objext \
18117 +rm -rf conftest.dSYM
18118 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18119 conftest$ac_exeext conftest.$ac_ext
18120 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18122 @@ -7094,13 +8546,11 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18123 # -berok will link without error, but may produce a broken library.
18124 no_undefined_flag=' ${wl}-bernotok'
18125 allow_undefined_flag=' ${wl}-berok'
18126 - # -bexpall does not export symbols beginning with underscore (_)
18127 - always_export_symbols=yes
18128 # Exported symbols can be pulled into shared objects from archives
18129 - whole_archive_flag_spec=' '
18130 + whole_archive_flag_spec='$convenience'
18131 archive_cmds_need_lc=yes
18132 - # This is similar to how AIX traditionally builds it's shared libraries.
18133 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
18134 + # This is similar to how AIX traditionally builds its shared libraries.
18135 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
18139 @@ -7113,7 +8563,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18145 export_dynamic_flag_spec=-rdynamic
18148 @@ -7133,58 +8583,57 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18149 # The linker will automatically build a .lib file if we build a DLL.
18150 old_archive_From_new_cmds='true'
18151 # FIXME: Should let the user specify the lib program.
18152 - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
18153 + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
18154 fix_srcfile_path='`cygpath -w "$srcfile"`'
18155 enable_shared_with_static_runtimes=yes
18158 darwin* | rhapsody*)
18159 - if test "$GXX" = yes ; then
18160 - archive_cmds_need_lc=no
18161 - case "$host_os" in
18162 - rhapsody* | darwin1.[012])
18163 - allow_undefined_flag='-undefined suppress'
18165 - *) # Darwin 1.3 on
18166 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18167 - allow_undefined_flag='-flat_namespace -undefined suppress'
18169 - case ${MACOSX_DEPLOYMENT_TARGET} in
18171 - allow_undefined_flag='-flat_namespace -undefined suppress'
18174 - allow_undefined_flag='-undefined dynamic_lookup'
18180 + rhapsody* | darwin1.[012])
18181 + allow_undefined_flag='${wl}-undefined ${wl}suppress'
18183 + *) # Darwin 1.3 on
18184 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18185 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18187 + case ${MACOSX_DEPLOYMENT_TARGET} in
18189 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18192 + allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
18198 - lt_int_apple_cc_single_mod=no
18199 - output_verbose_link_cmd='echo'
18200 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
18201 - lt_int_apple_cc_single_mod=yes
18203 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18204 - archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18206 - archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18208 - module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18209 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
18210 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18211 - archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18213 - archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18215 - module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18216 + archive_cmds_need_lc=no
18218 hardcode_automatic=yes
18219 hardcode_shlibpath_var=unsupported
18220 - whole_archive_flag_spec='-all_load $convenience'
18221 + whole_archive_flag_spec=''
18222 link_all_deplibs=yes
18223 + if test "$GCC" = yes ; then
18224 + output_verbose_link_cmd='echo'
18225 + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18226 + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18227 + archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
18228 + module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
18231 + case $cc_basename in
18233 + output_verbose_link_cmd='echo'
18234 + archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18235 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18236 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18237 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18238 + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18247 @@ -7218,7 +8667,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18250 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18251 - freebsd* | kfreebsd*-gnu)
18252 + freebsd* | dragonfly*)
18253 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18254 hardcode_libdir_flag_spec='-R$libdir'
18255 hardcode_direct=yes
18256 @@ -7241,47 +8690,62 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18257 export_dynamic_flag_spec='${wl}-E'
18260 - hpux10* | hpux11*)
18262 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18263 - case "$host_cpu" in
18265 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18267 + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18269 + if test "$with_gnu_ld" = no; then
18270 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
18271 + hardcode_libdir_separator=:
18273 + hardcode_direct=yes
18274 + export_dynamic_flag_spec='${wl}-E'
18276 + # hardcode_minus_L: Not really in the search PATH,
18277 + # but as the default location of the library.
18278 + hardcode_minus_L=yes
18283 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18284 + case $host_cpu in
18286 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18289 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18292 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18296 - case "$host_cpu" in
18298 - archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
18299 + case $host_cpu in
18301 + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18304 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18307 - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18308 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18312 if test "$with_gnu_ld" = no; then
18313 - case "$host_cpu" in
18315 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
18316 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
18317 + hardcode_libdir_separator=:
18319 + case $host_cpu in
18321 hardcode_libdir_flag_spec_ld='+b $libdir'
18322 - hardcode_libdir_separator=:
18323 - hardcode_direct=no
18324 - hardcode_shlibpath_var=no
18327 - hardcode_libdir_flag_spec='-L$libdir'
18329 hardcode_shlibpath_var=no
18331 - # hardcode_minus_L: Not really in the search PATH,
18332 - # but as the default location of the library.
18333 - hardcode_minus_L=yes
18336 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
18337 - hardcode_libdir_separator=:
18338 hardcode_direct=yes
18339 export_dynamic_flag_spec='${wl}-E'
18341 @@ -7305,7 +8769,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18342 link_all_deplibs=yes
18346 + netbsd* | netbsdelf*-gnu)
18347 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18348 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18350 @@ -7325,23 +8789,28 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18354 - hardcode_direct=yes
18355 - hardcode_shlibpath_var=no
18356 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18357 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18358 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
18359 - export_dynamic_flag_spec='${wl}-E'
18360 + if test -f /usr/libexec/ld.so; then
18361 + hardcode_direct=yes
18362 + hardcode_shlibpath_var=no
18363 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18364 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18365 + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18366 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
18367 + export_dynamic_flag_spec='${wl}-E'
18370 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18371 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18372 + hardcode_libdir_flag_spec='-R$libdir'
18375 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18376 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
18382 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18383 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18384 - hardcode_libdir_flag_spec='-R$libdir'
18387 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18388 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
18395 @@ -7374,7 +8843,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18396 allow_undefined_flag=' -expect_unresolved \*'
18397 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18398 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
18399 - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
18400 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
18402 # Both c and cxx compiler support -rpath directly
18403 hardcode_libdir_flag_spec='-rpath $libdir'
18404 @@ -7382,21 +8851,15 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18405 hardcode_libdir_separator=:
18409 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18410 - hardcode_shlibpath_var=no
18411 - export_dynamic_flag_spec='${wl}-Bexport'
18412 - runpath_var=LD_RUN_PATH
18413 - hardcode_runpath_var=yes
18417 no_undefined_flag=' -z text'
18418 if test "$GCC" = yes; then
18420 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18421 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18422 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18425 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18426 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18427 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18428 @@ -7405,8 +8868,17 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18429 hardcode_shlibpath_var=no
18431 solaris2.[0-5] | solaris2.[0-5].*) ;;
18432 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
18433 - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
18435 + # The compiler driver will combine and reorder linker options,
18436 + # but understands `-z linker_flag'. GCC discards it without `$wl',
18437 + # but is careful enough not to reorder.
18438 + # Supported since Solaris 2.6 (maybe 2.5.1?)
18439 + if test "$GCC" = yes; then
18440 + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18442 + whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
18446 link_all_deplibs=yes
18448 @@ -7463,36 +8935,45 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18453 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18454 - hardcode_direct=yes
18455 - hardcode_minus_L=no
18456 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18457 + no_undefined_flag='${wl}-z,text'
18458 + archive_cmds_need_lc=no
18459 hardcode_shlibpath_var=no
18460 - hardcode_runpath_var=yes
18461 - runpath_var=LD_RUN_PATH
18463 + runpath_var='LD_RUN_PATH'
18465 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
18466 - no_undefined_flag='${wl}-z ${wl}text'
18467 if test "$GCC" = yes; then
18468 - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18469 + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18470 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18472 - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18473 + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18474 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18476 - runpath_var='LD_RUN_PATH'
18477 - hardcode_shlibpath_var=no
18481 - no_undefined_flag=' -z text'
18482 - # $CC -shared without GNU ld will not create a library from C++
18483 - # object files and a static libstdc++, better avoid it by now
18484 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18485 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18486 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18487 - hardcode_libdir_flag_spec=
18488 + sysv5* | sco3.2v5* | sco5v6*)
18489 + # Note: We can NOT use -z defs as we might desire, because we do not
18490 + # link with -lc, and that would cause any symbols used from libc to
18491 + # always be unresolved, which means just about no library would
18492 + # ever link correctly. If we're not using GNU ld we use -z text
18493 + # though, which does catch some bad symbols but isn't as heavy-handed
18495 + no_undefined_flag='${wl}-z,text'
18496 + allow_undefined_flag='${wl}-z,nodefs'
18497 + archive_cmds_need_lc=no
18498 hardcode_shlibpath_var=no
18499 + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18500 + hardcode_libdir_separator=':'
18501 + link_all_deplibs=yes
18502 + export_dynamic_flag_spec='${wl}-Bexport'
18503 runpath_var='LD_RUN_PATH'
18505 + if test "$GCC" = yes; then
18506 + archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18507 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18509 + archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18510 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18515 @@ -7507,15 +8988,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18519 -echo "$as_me:$LINENO: result: $ld_shlibs" >&5
18520 -echo "${ECHO_T}$ld_shlibs" >&6
18521 +{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
18522 +$as_echo "$ld_shlibs" >&6; }
18523 test "$ld_shlibs" = no && can_build_shared=no
18525 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18526 -if test "$GCC" = yes; then
18527 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18531 # Do we need to explicitly link libc?
18533 @@ -7533,21 +9009,22 @@ x|xyes)
18534 # Test whether the compiler implicitly links with -lc since on some
18535 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18536 # to ld, don't add -lc before -lgcc.
18537 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18538 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
18539 + { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18540 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18542 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18543 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18546 (eval $ac_compile) 2>&5
18548 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18550 (exit $ac_status); } 2>conftest.err; then
18553 libobjs=conftest.$ac_objext
18555 wl=$lt_prog_compiler_wl
18556 + pic_flag=$lt_prog_compiler_pic
18560 @@ -7558,7 +9035,7 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
18561 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18562 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18564 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18566 (exit $ac_status); }
18568 archive_cmds_need_lc=no
18569 @@ -7570,16 +9047,16 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
18570 cat conftest.err 1>&5
18573 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
18574 -echo "${ECHO_T}$archive_cmds_need_lc" >&6
18575 + { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
18576 +$as_echo "$archive_cmds_need_lc" >&6; }
18583 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18584 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
18585 +{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18586 +$as_echo_n "checking dynamic linker characteristics... " >&6; }
18587 library_names_spec=
18588 libname_spec='lib$name'
18590 @@ -7593,17 +9070,55 @@ shlibpath_overrides_runpath=unknown
18592 dynamic_linker="$host_os ld.so"
18593 sys_lib_dlsearch_path_spec="/lib /usr/lib"
18595 if test "$GCC" = yes; then
18596 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18597 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
18599 + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
18600 + *) lt_awk_arg="/^libraries:/" ;;
18602 + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18603 + if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
18604 # if the path contains ";" then we assume it to be the separator
18605 # otherwise default to the standard path separator (i.e. ":") - it is
18606 # assumed that no part of a normal pathname contains ";" but that should
18607 # okay in the real world where ";" in dirpaths is itself problematic.
18608 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18609 + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
18611 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18612 + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18614 + # Ok, now we have the path, separated by spaces, we can step through it
18615 + # and add multilib dir if necessary.
18616 + lt_tmp_lt_search_path_spec=
18617 + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
18618 + for lt_sys_path in $lt_search_path_spec; do
18619 + if test -d "$lt_sys_path/$lt_multi_os_dir"; then
18620 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
18622 + test -d "$lt_sys_path" && \
18623 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
18626 + lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
18627 +BEGIN {RS=" "; FS="/|\n";} {
18630 + for (lt_i = NF; lt_i > 0; lt_i--) {
18631 + if ($lt_i != "" && $lt_i != ".") {
18632 + if ($lt_i == "..") {
18635 + if (lt_count == 0) {
18636 + lt_foo="/" $lt_i lt_foo;
18643 + if (lt_foo != "") { lt_freq[lt_foo]++; }
18644 + if (lt_freq[lt_foo] == 1) { print lt_foo; }
18646 + sys_lib_search_path_spec=`echo $lt_search_path_spec`
18648 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18650 @@ -7624,7 +9139,7 @@ aix3*)
18651 soname_spec='${libname}${release}${shared_ext}$major'
18659 @@ -7680,7 +9195,7 @@ beos*)
18660 shlibpath_var=LIBRARY_PATH
18667 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18668 @@ -7708,7 +9223,8 @@ cygwin* | mingw* | pw32*)
18669 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18670 dldir=$destdir/`dirname \$dlpath`~
18671 test -d \$dldir || mkdir -p \$dldir~
18672 - $install_prog $dir/$dlname \$dldir/$dlname'
18673 + $install_prog $dir/$dlname \$dldir/$dlname~
18674 + chmod a+x \$dldir/$dlname'
18675 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18676 dlpath=$dir/\$dldll~
18678 @@ -7738,7 +9254,7 @@ cygwin* | mingw* | pw32*)
18681 # pw32 DLLs use 'pw' prefix rather than 'lib'
18682 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
18683 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18687 @@ -7761,13 +9277,9 @@ darwin* | rhapsody*)
18688 soname_spec='${libname}${release}${major}$shared_ext'
18689 shlibpath_overrides_runpath=yes
18690 shlibpath_var=DYLD_LIBRARY_PATH
18691 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
18692 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18693 - if test "$GCC" = yes; then
18694 - sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
18696 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18698 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18700 + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
18701 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18704 @@ -7784,20 +9296,17 @@ freebsd1*)
18709 - version_type=linux
18710 - need_lib_prefix=no
18712 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18713 - soname_spec='${libname}${release}${shared_ext}$major'
18714 - shlibpath_var=LD_LIBRARY_PATH
18715 - shlibpath_overrides_runpath=no
18716 - hardcode_into_libs=yes
18717 - dynamic_linker='GNU ld.so'
18721 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
18722 +freebsd* | dragonfly*)
18723 + # DragonFly does not have aout. When/if they implement a new
18724 + # versioning mechanism, adjust this.
18725 + if test -x /usr/bin/objformat; then
18726 + objformat=`/usr/bin/objformat`
18729 + freebsd[123]*) objformat=aout ;;
18730 + *) objformat=elf ;;
18733 version_type=freebsd-$objformat
18734 case $version_type in
18736 @@ -7815,14 +9324,19 @@ freebsd*)
18738 shlibpath_overrides_runpath=yes
18740 - freebsd3.01* | freebsdelf3.01*)
18741 + freebsd3.[01]* | freebsdelf3.[01]*)
18742 shlibpath_overrides_runpath=yes
18743 hardcode_into_libs=yes
18746 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18747 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18748 shlibpath_overrides_runpath=no
18749 hardcode_into_libs=yes
18751 + *) # from 4.6 on, and DragonFly
18752 + shlibpath_overrides_runpath=yes
18753 + hardcode_into_libs=yes
18758 @@ -7842,7 +9356,7 @@ hpux9* | hpux10* | hpux11*)
18762 - case "$host_cpu" in
18763 + case $host_cpu in
18766 hardcode_into_libs=yes
18767 @@ -7882,6 +9396,18 @@ hpux9* | hpux10* | hpux11*)
18768 postinstall_cmds='chmod 555 $lib'
18772 + version_type=linux
18773 + need_lib_prefix=no
18775 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18776 + soname_spec='${libname}${release}${shared_ext}$major'
18777 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18778 + shlibpath_var=LD_LIBRARY_PATH
18779 + shlibpath_overrides_runpath=no
18780 + hardcode_into_libs=yes
18783 irix5* | irix6* | nonstopux*)
18785 nonstopux*) version_type=nonstopux ;;
18786 @@ -7925,7 +9451,7 @@ linux*oldld* | linux*aout* | linux*coff*)
18789 # This must be Linux ELF.
18791 +linux* | k*bsd*-gnu)
18795 @@ -7939,31 +9465,10 @@ linux*)
18796 # before this can be enabled.
18797 hardcode_into_libs=yes
18799 - # find out which ABI we are using
18801 - case "$host_cpu" in
18802 - x86_64*|s390x*|powerpc64*)
18803 - echo '#line 7946 "configure"' > conftest.$ac_ext
18804 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18805 - (eval $ac_compile) 2>&5
18807 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18808 - (exit $ac_status); }; then
18809 - case `/usr/bin/file conftest.$ac_objext` in
18812 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18820 # Append ld.so.conf contents to the search path
18821 if test -f /etc/ld.so.conf; then
18822 - lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
18823 - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18824 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18825 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18828 # We used to test for /lib/ld.so.1 and disable shared libraries on
18829 @@ -7975,7 +9480,7 @@ linux*)
18830 dynamic_linker='GNU/Linux ld.so'
18838 @@ -7984,7 +9489,7 @@ knetbsd*-gnu)
18839 shlibpath_var=LD_LIBRARY_PATH
18840 shlibpath_overrides_runpath=no
18841 hardcode_into_libs=yes
18842 - dynamic_linker='GNU ld.so'
18843 + dynamic_linker='NetBSD ld.elf_so'
18847 @@ -8024,8 +9529,13 @@ nto-qnx*)
18851 + sys_lib_dlsearch_path_spec="/usr/lib"
18854 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18856 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18857 + *) need_version=no ;;
18859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18860 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18861 shlibpath_var=LD_LIBRARY_PATH
18862 @@ -8063,11 +9573,8 @@ osf3* | osf4* | osf5*)
18863 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18868 - soname_spec='${libname}${release}${shared_ext}$major'
18869 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18870 - shlibpath_var=LD_LIBRARY_PATH
18872 + dynamic_linker=no
18876 @@ -8095,7 +9602,7 @@ sunos4*)
18880 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18884 soname_spec='${libname}${release}${shared_ext}$major'
18885 @@ -8128,6 +9635,29 @@ sysv4*MP*)
18889 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18890 + version_type=freebsd-elf
18891 + need_lib_prefix=no
18893 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18894 + soname_spec='${libname}${release}${shared_ext}$major'
18895 + shlibpath_var=LD_LIBRARY_PATH
18896 + hardcode_into_libs=yes
18897 + if test "$with_gnu_ld" = yes; then
18898 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18899 + shlibpath_overrides_runpath=no
18901 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18902 + shlibpath_overrides_runpath=yes
18905 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18909 + sys_lib_dlsearch_path_spec='/usr/lib'
18914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18915 @@ -8139,16 +9669,36 @@ uts4*)
18919 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18920 -echo "${ECHO_T}$dynamic_linker" >&6
18921 +{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18922 +$as_echo "$dynamic_linker" >&6; }
18923 test "$dynamic_linker" = no && can_build_shared=no
18925 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18926 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18927 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18928 + $as_echo_n "(cached) " >&6
18930 + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
18933 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
18934 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18935 + $as_echo_n "(cached) " >&6
18937 + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
18940 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
18942 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18943 +if test "$GCC" = yes; then
18944 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18947 +{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18948 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18950 if test -n "$hardcode_libdir_flag_spec" || \
18951 - test -n "$runpath_var " || \
18952 - test "X$hardcode_automatic"="Xyes" ; then
18953 + test -n "$runpath_var" || \
18954 + test "X$hardcode_automatic" = "Xyes" ; then
18956 # We can hardcode non-existant directories.
18957 if test "$hardcode_direct" != no &&
18958 @@ -8168,8 +9718,8 @@ else
18960 hardcode_action=unsupported
18962 -echo "$as_me:$LINENO: result: $hardcode_action" >&5
18963 -echo "${ECHO_T}$hardcode_action" >&6
18964 +{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
18965 +$as_echo "$hardcode_action" >&6; }
18967 if test "$hardcode_action" = relink; then
18968 # Fast installation is not supported
18969 @@ -8182,29 +9732,30 @@ fi
18973 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18974 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
18975 +{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18976 +$as_echo_n "checking whether stripping libraries is possible... " >&6; }
18977 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
18978 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
18979 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
18980 - echo "$as_me:$LINENO: result: yes" >&5
18981 -echo "${ECHO_T}yes" >&6
18982 + { $as_echo "$as_me:$LINENO: result: yes" >&5
18983 +$as_echo "yes" >&6; }
18985 # FIXME - insert some real tests, host_os isn't really good enough
18988 if test -n "$STRIP" ; then
18989 striplib="$STRIP -x"
18990 - echo "$as_me:$LINENO: result: yes" >&5
18991 -echo "${ECHO_T}yes" >&6
18992 + old_striplib="$STRIP -S"
18993 + { $as_echo "$as_me:$LINENO: result: yes" >&5
18994 +$as_echo "yes" >&6; }
18996 - echo "$as_me:$LINENO: result: no" >&5
18997 -echo "${ECHO_T}no" >&6
18998 + { $as_echo "$as_me:$LINENO: result: no" >&5
18999 +$as_echo "no" >&6; }
19003 - echo "$as_me:$LINENO: result: no" >&5
19004 -echo "${ECHO_T}no" >&6
19005 + { $as_echo "$as_me:$LINENO: result: no" >&5
19006 +$as_echo "no" >&6; }
19010 @@ -8236,10 +9787,10 @@ else
19013 # if libdl is installed we need to link against it
19014 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19015 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19016 + { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19017 +$as_echo_n "checking for dlopen in -ldl... " >&6; }
19018 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19019 - echo $ECHO_N "(cached) $ECHO_C" >&6
19020 + $as_echo_n "(cached) " >&6
19022 ac_check_lib_save_LIBS=$LIBS
19024 @@ -8250,57 +9801,58 @@ cat confdefs.h >>conftest.$ac_ext
19025 cat >>conftest.$ac_ext <<_ACEOF
19026 /* end confdefs.h. */
19028 -/* Override any gcc2 internal prototype to avoid an error. */
19029 +/* Override any GCC internal prototype to avoid an error.
19030 + Use char because int might match the return type of a GCC
19031 + builtin and then its argument prototype would still apply. */
19035 -/* We use char because int might match the return type of a gcc2
19036 - builtin and then its argument prototype would still apply. */
19047 rm -f conftest.$ac_objext conftest$ac_exeext
19048 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19049 - (eval $ac_link) 2>conftest.er1
19050 +if { (ac_try="$ac_link"
19051 +case "(($ac_try" in
19052 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19053 + *) ac_try_echo=$ac_try;;
19055 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19056 +$as_echo "$ac_try_echo") >&5
19057 + (eval "$ac_link") 2>conftest.er1
19059 grep -v '^ *+' conftest.er1 >conftest.err
19061 cat conftest.err >&5
19062 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19063 - (exit $ac_status); } &&
19064 - { ac_try='test -z "$ac_c_werror_flag"
19065 - || test ! -s conftest.err'
19066 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19067 - (eval $ac_try) 2>&5
19069 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 - (exit $ac_status); }; } &&
19071 - { ac_try='test -s conftest$ac_exeext'
19072 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19073 - (eval $ac_try) 2>&5
19075 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 - (exit $ac_status); }; }; then
19077 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078 + (exit $ac_status); } && {
19079 + test -z "$ac_c_werror_flag" ||
19080 + test ! -s conftest.err
19081 + } && test -s conftest$ac_exeext && {
19082 + test "$cross_compiling" = yes ||
19083 + $as_test_x conftest$ac_exeext
19085 ac_cv_lib_dl_dlopen=yes
19087 - echo "$as_me: failed program was:" >&5
19088 + $as_echo "$as_me: failed program was:" >&5
19089 sed 's/^/| /' conftest.$ac_ext >&5
19091 -ac_cv_lib_dl_dlopen=no
19092 + ac_cv_lib_dl_dlopen=no
19094 -rm -f conftest.err conftest.$ac_objext \
19096 +rm -rf conftest.dSYM
19097 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19098 conftest$ac_exeext conftest.$ac_ext
19099 LIBS=$ac_check_lib_save_LIBS
19101 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19102 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19103 -if test $ac_cv_lib_dl_dlopen = yes; then
19104 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19105 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
19106 +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
19107 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19110 @@ -8313,10 +9865,10 @@ fi
19114 - echo "$as_me:$LINENO: checking for shl_load" >&5
19115 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
19116 + { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
19117 +$as_echo_n "checking for shl_load... " >&6; }
19118 if test "${ac_cv_func_shl_load+set}" = set; then
19119 - echo $ECHO_N "(cached) $ECHO_C" >&6
19120 + $as_echo_n "(cached) " >&6
19122 cat >conftest.$ac_ext <<_ACEOF
19124 @@ -8341,75 +9893,70 @@ cat >>conftest.$ac_ext <<_ACEOF
19128 -/* Override any gcc2 internal prototype to avoid an error. */
19129 +/* Override any GCC internal prototype to avoid an error.
19130 + Use char because int might match the return type of a GCC
19131 + builtin and then its argument prototype would still apply. */
19136 -/* We use char because int might match the return type of a gcc2
19137 - builtin and then its argument prototype would still apply. */
19139 /* The GNU C library defines this for functions which it implements
19140 to always fail with ENOSYS. Some functions are actually named
19141 something starting with __ and the normal name is an alias. */
19142 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
19143 +#if defined __stub_shl_load || defined __stub___shl_load
19146 -char (*f) () = shl_load;
19148 -#ifdef __cplusplus
19155 -return f != shl_load;
19156 +return shl_load ();
19161 rm -f conftest.$ac_objext conftest$ac_exeext
19162 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19163 - (eval $ac_link) 2>conftest.er1
19164 +if { (ac_try="$ac_link"
19165 +case "(($ac_try" in
19166 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19167 + *) ac_try_echo=$ac_try;;
19169 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19170 +$as_echo "$ac_try_echo") >&5
19171 + (eval "$ac_link") 2>conftest.er1
19173 grep -v '^ *+' conftest.er1 >conftest.err
19175 cat conftest.err >&5
19176 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19177 - (exit $ac_status); } &&
19178 - { ac_try='test -z "$ac_c_werror_flag"
19179 - || test ! -s conftest.err'
19180 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19181 - (eval $ac_try) 2>&5
19183 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 - (exit $ac_status); }; } &&
19185 - { ac_try='test -s conftest$ac_exeext'
19186 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19187 - (eval $ac_try) 2>&5
19189 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190 - (exit $ac_status); }; }; then
19191 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19192 + (exit $ac_status); } && {
19193 + test -z "$ac_c_werror_flag" ||
19194 + test ! -s conftest.err
19195 + } && test -s conftest$ac_exeext && {
19196 + test "$cross_compiling" = yes ||
19197 + $as_test_x conftest$ac_exeext
19199 ac_cv_func_shl_load=yes
19201 - echo "$as_me: failed program was:" >&5
19202 + $as_echo "$as_me: failed program was:" >&5
19203 sed 's/^/| /' conftest.$ac_ext >&5
19205 -ac_cv_func_shl_load=no
19206 + ac_cv_func_shl_load=no
19208 -rm -f conftest.err conftest.$ac_objext \
19210 +rm -rf conftest.dSYM
19211 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19212 conftest$ac_exeext conftest.$ac_ext
19214 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
19215 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
19216 -if test $ac_cv_func_shl_load = yes; then
19217 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
19218 +$as_echo "$ac_cv_func_shl_load" >&6; }
19219 +if test "x$ac_cv_func_shl_load" = x""yes; then
19220 lt_cv_dlopen="shl_load"
19222 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
19223 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
19224 + { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
19225 +$as_echo_n "checking for shl_load in -ldld... " >&6; }
19226 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
19227 - echo $ECHO_N "(cached) $ECHO_C" >&6
19228 + $as_echo_n "(cached) " >&6
19230 ac_check_lib_save_LIBS=$LIBS
19232 @@ -8420,63 +9967,64 @@ cat confdefs.h >>conftest.$ac_ext
19233 cat >>conftest.$ac_ext <<_ACEOF
19234 /* end confdefs.h. */
19236 -/* Override any gcc2 internal prototype to avoid an error. */
19237 +/* Override any GCC internal prototype to avoid an error.
19238 + Use char because int might match the return type of a GCC
19239 + builtin and then its argument prototype would still apply. */
19243 -/* We use char because int might match the return type of a gcc2
19244 - builtin and then its argument prototype would still apply. */
19250 +return shl_load ();
19255 rm -f conftest.$ac_objext conftest$ac_exeext
19256 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19257 - (eval $ac_link) 2>conftest.er1
19258 +if { (ac_try="$ac_link"
19259 +case "(($ac_try" in
19260 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19261 + *) ac_try_echo=$ac_try;;
19263 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19264 +$as_echo "$ac_try_echo") >&5
19265 + (eval "$ac_link") 2>conftest.er1
19267 grep -v '^ *+' conftest.er1 >conftest.err
19269 cat conftest.err >&5
19270 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 - (exit $ac_status); } &&
19272 - { ac_try='test -z "$ac_c_werror_flag"
19273 - || test ! -s conftest.err'
19274 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19275 - (eval $ac_try) 2>&5
19277 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 - (exit $ac_status); }; } &&
19279 - { ac_try='test -s conftest$ac_exeext'
19280 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19281 - (eval $ac_try) 2>&5
19283 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284 - (exit $ac_status); }; }; then
19285 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19286 + (exit $ac_status); } && {
19287 + test -z "$ac_c_werror_flag" ||
19288 + test ! -s conftest.err
19289 + } && test -s conftest$ac_exeext && {
19290 + test "$cross_compiling" = yes ||
19291 + $as_test_x conftest$ac_exeext
19293 ac_cv_lib_dld_shl_load=yes
19295 - echo "$as_me: failed program was:" >&5
19296 + $as_echo "$as_me: failed program was:" >&5
19297 sed 's/^/| /' conftest.$ac_ext >&5
19299 -ac_cv_lib_dld_shl_load=no
19300 + ac_cv_lib_dld_shl_load=no
19302 -rm -f conftest.err conftest.$ac_objext \
19304 +rm -rf conftest.dSYM
19305 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19306 conftest$ac_exeext conftest.$ac_ext
19307 LIBS=$ac_check_lib_save_LIBS
19309 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
19310 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
19311 -if test $ac_cv_lib_dld_shl_load = yes; then
19312 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
19313 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
19314 +$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
19315 +if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
19316 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
19318 - echo "$as_me:$LINENO: checking for dlopen" >&5
19319 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
19320 + { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
19321 +$as_echo_n "checking for dlopen... " >&6; }
19322 if test "${ac_cv_func_dlopen+set}" = set; then
19323 - echo $ECHO_N "(cached) $ECHO_C" >&6
19324 + $as_echo_n "(cached) " >&6
19326 cat >conftest.$ac_ext <<_ACEOF
19328 @@ -8501,75 +10049,70 @@ cat >>conftest.$ac_ext <<_ACEOF
19332 -/* Override any gcc2 internal prototype to avoid an error. */
19333 +/* Override any GCC internal prototype to avoid an error.
19334 + Use char because int might match the return type of a GCC
19335 + builtin and then its argument prototype would still apply. */
19340 -/* We use char because int might match the return type of a gcc2
19341 - builtin and then its argument prototype would still apply. */
19343 /* The GNU C library defines this for functions which it implements
19344 to always fail with ENOSYS. Some functions are actually named
19345 something starting with __ and the normal name is an alias. */
19346 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
19347 +#if defined __stub_dlopen || defined __stub___dlopen
19350 -char (*f) () = dlopen;
19352 -#ifdef __cplusplus
19359 -return f != dlopen;
19365 rm -f conftest.$ac_objext conftest$ac_exeext
19366 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19367 - (eval $ac_link) 2>conftest.er1
19368 +if { (ac_try="$ac_link"
19369 +case "(($ac_try" in
19370 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19371 + *) ac_try_echo=$ac_try;;
19373 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19374 +$as_echo "$ac_try_echo") >&5
19375 + (eval "$ac_link") 2>conftest.er1
19377 grep -v '^ *+' conftest.er1 >conftest.err
19379 cat conftest.err >&5
19380 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381 - (exit $ac_status); } &&
19382 - { ac_try='test -z "$ac_c_werror_flag"
19383 - || test ! -s conftest.err'
19384 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19385 - (eval $ac_try) 2>&5
19387 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 - (exit $ac_status); }; } &&
19389 - { ac_try='test -s conftest$ac_exeext'
19390 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19391 - (eval $ac_try) 2>&5
19393 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 - (exit $ac_status); }; }; then
19395 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19396 + (exit $ac_status); } && {
19397 + test -z "$ac_c_werror_flag" ||
19398 + test ! -s conftest.err
19399 + } && test -s conftest$ac_exeext && {
19400 + test "$cross_compiling" = yes ||
19401 + $as_test_x conftest$ac_exeext
19403 ac_cv_func_dlopen=yes
19405 - echo "$as_me: failed program was:" >&5
19406 + $as_echo "$as_me: failed program was:" >&5
19407 sed 's/^/| /' conftest.$ac_ext >&5
19409 -ac_cv_func_dlopen=no
19410 + ac_cv_func_dlopen=no
19412 -rm -f conftest.err conftest.$ac_objext \
19414 +rm -rf conftest.dSYM
19415 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19416 conftest$ac_exeext conftest.$ac_ext
19418 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
19419 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
19420 -if test $ac_cv_func_dlopen = yes; then
19421 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
19422 +$as_echo "$ac_cv_func_dlopen" >&6; }
19423 +if test "x$ac_cv_func_dlopen" = x""yes; then
19424 lt_cv_dlopen="dlopen"
19426 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19427 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19428 + { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19429 +$as_echo_n "checking for dlopen in -ldl... " >&6; }
19430 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19431 - echo $ECHO_N "(cached) $ECHO_C" >&6
19432 + $as_echo_n "(cached) " >&6
19434 ac_check_lib_save_LIBS=$LIBS
19436 @@ -8580,63 +10123,64 @@ cat confdefs.h >>conftest.$ac_ext
19437 cat >>conftest.$ac_ext <<_ACEOF
19438 /* end confdefs.h. */
19440 -/* Override any gcc2 internal prototype to avoid an error. */
19441 +/* Override any GCC internal prototype to avoid an error.
19442 + Use char because int might match the return type of a GCC
19443 + builtin and then its argument prototype would still apply. */
19447 -/* We use char because int might match the return type of a gcc2
19448 - builtin and then its argument prototype would still apply. */
19459 rm -f conftest.$ac_objext conftest$ac_exeext
19460 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19461 - (eval $ac_link) 2>conftest.er1
19462 +if { (ac_try="$ac_link"
19463 +case "(($ac_try" in
19464 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19465 + *) ac_try_echo=$ac_try;;
19467 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19468 +$as_echo "$ac_try_echo") >&5
19469 + (eval "$ac_link") 2>conftest.er1
19471 grep -v '^ *+' conftest.er1 >conftest.err
19473 cat conftest.err >&5
19474 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 - (exit $ac_status); } &&
19476 - { ac_try='test -z "$ac_c_werror_flag"
19477 - || test ! -s conftest.err'
19478 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19479 - (eval $ac_try) 2>&5
19481 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19482 - (exit $ac_status); }; } &&
19483 - { ac_try='test -s conftest$ac_exeext'
19484 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19485 - (eval $ac_try) 2>&5
19487 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19488 - (exit $ac_status); }; }; then
19489 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19490 + (exit $ac_status); } && {
19491 + test -z "$ac_c_werror_flag" ||
19492 + test ! -s conftest.err
19493 + } && test -s conftest$ac_exeext && {
19494 + test "$cross_compiling" = yes ||
19495 + $as_test_x conftest$ac_exeext
19497 ac_cv_lib_dl_dlopen=yes
19499 - echo "$as_me: failed program was:" >&5
19500 + $as_echo "$as_me: failed program was:" >&5
19501 sed 's/^/| /' conftest.$ac_ext >&5
19503 -ac_cv_lib_dl_dlopen=no
19504 + ac_cv_lib_dl_dlopen=no
19506 -rm -f conftest.err conftest.$ac_objext \
19508 +rm -rf conftest.dSYM
19509 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19510 conftest$ac_exeext conftest.$ac_ext
19511 LIBS=$ac_check_lib_save_LIBS
19513 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19514 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19515 -if test $ac_cv_lib_dl_dlopen = yes; then
19516 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19517 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
19518 +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
19519 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19521 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
19522 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
19523 + { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
19524 +$as_echo_n "checking for dlopen in -lsvld... " >&6; }
19525 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
19526 - echo $ECHO_N "(cached) $ECHO_C" >&6
19527 + $as_echo_n "(cached) " >&6
19529 ac_check_lib_save_LIBS=$LIBS
19530 LIBS="-lsvld $LIBS"
19531 @@ -8647,63 +10191,64 @@ cat confdefs.h >>conftest.$ac_ext
19532 cat >>conftest.$ac_ext <<_ACEOF
19533 /* end confdefs.h. */
19535 -/* Override any gcc2 internal prototype to avoid an error. */
19536 +/* Override any GCC internal prototype to avoid an error.
19537 + Use char because int might match the return type of a GCC
19538 + builtin and then its argument prototype would still apply. */
19542 -/* We use char because int might match the return type of a gcc2
19543 - builtin and then its argument prototype would still apply. */
19554 rm -f conftest.$ac_objext conftest$ac_exeext
19555 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19556 - (eval $ac_link) 2>conftest.er1
19557 +if { (ac_try="$ac_link"
19558 +case "(($ac_try" in
19559 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19560 + *) ac_try_echo=$ac_try;;
19562 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19563 +$as_echo "$ac_try_echo") >&5
19564 + (eval "$ac_link") 2>conftest.er1
19566 grep -v '^ *+' conftest.er1 >conftest.err
19568 cat conftest.err >&5
19569 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 - (exit $ac_status); } &&
19571 - { ac_try='test -z "$ac_c_werror_flag"
19572 - || test ! -s conftest.err'
19573 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19574 - (eval $ac_try) 2>&5
19576 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19577 - (exit $ac_status); }; } &&
19578 - { ac_try='test -s conftest$ac_exeext'
19579 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19580 - (eval $ac_try) 2>&5
19582 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583 - (exit $ac_status); }; }; then
19584 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 + (exit $ac_status); } && {
19586 + test -z "$ac_c_werror_flag" ||
19587 + test ! -s conftest.err
19588 + } && test -s conftest$ac_exeext && {
19589 + test "$cross_compiling" = yes ||
19590 + $as_test_x conftest$ac_exeext
19592 ac_cv_lib_svld_dlopen=yes
19594 - echo "$as_me: failed program was:" >&5
19595 + $as_echo "$as_me: failed program was:" >&5
19596 sed 's/^/| /' conftest.$ac_ext >&5
19598 -ac_cv_lib_svld_dlopen=no
19599 + ac_cv_lib_svld_dlopen=no
19601 -rm -f conftest.err conftest.$ac_objext \
19603 +rm -rf conftest.dSYM
19604 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19605 conftest$ac_exeext conftest.$ac_ext
19606 LIBS=$ac_check_lib_save_LIBS
19608 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
19609 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
19610 -if test $ac_cv_lib_svld_dlopen = yes; then
19611 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
19612 +$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
19613 +if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
19614 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
19616 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
19617 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
19618 + { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
19619 +$as_echo_n "checking for dld_link in -ldld... " >&6; }
19620 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
19621 - echo $ECHO_N "(cached) $ECHO_C" >&6
19622 + $as_echo_n "(cached) " >&6
19624 ac_check_lib_save_LIBS=$LIBS
19626 @@ -8714,58 +10259,59 @@ cat confdefs.h >>conftest.$ac_ext
19627 cat >>conftest.$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19630 -/* Override any gcc2 internal prototype to avoid an error. */
19631 +/* Override any GCC internal prototype to avoid an error.
19632 + Use char because int might match the return type of a GCC
19633 + builtin and then its argument prototype would still apply. */
19637 -/* We use char because int might match the return type of a gcc2
19638 - builtin and then its argument prototype would still apply. */
19644 +return dld_link ();
19649 rm -f conftest.$ac_objext conftest$ac_exeext
19650 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19651 - (eval $ac_link) 2>conftest.er1
19652 +if { (ac_try="$ac_link"
19653 +case "(($ac_try" in
19654 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19655 + *) ac_try_echo=$ac_try;;
19657 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19658 +$as_echo "$ac_try_echo") >&5
19659 + (eval "$ac_link") 2>conftest.er1
19661 grep -v '^ *+' conftest.er1 >conftest.err
19663 cat conftest.err >&5
19664 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 - (exit $ac_status); } &&
19666 - { ac_try='test -z "$ac_c_werror_flag"
19667 - || test ! -s conftest.err'
19668 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19669 - (eval $ac_try) 2>&5
19671 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 - (exit $ac_status); }; } &&
19673 - { ac_try='test -s conftest$ac_exeext'
19674 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19675 - (eval $ac_try) 2>&5
19677 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 - (exit $ac_status); }; }; then
19679 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19680 + (exit $ac_status); } && {
19681 + test -z "$ac_c_werror_flag" ||
19682 + test ! -s conftest.err
19683 + } && test -s conftest$ac_exeext && {
19684 + test "$cross_compiling" = yes ||
19685 + $as_test_x conftest$ac_exeext
19687 ac_cv_lib_dld_dld_link=yes
19689 - echo "$as_me: failed program was:" >&5
19690 + $as_echo "$as_me: failed program was:" >&5
19691 sed 's/^/| /' conftest.$ac_ext >&5
19693 -ac_cv_lib_dld_dld_link=no
19694 + ac_cv_lib_dld_dld_link=no
19696 -rm -f conftest.err conftest.$ac_objext \
19698 +rm -rf conftest.dSYM
19699 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19700 conftest$ac_exeext conftest.$ac_ext
19701 LIBS=$ac_check_lib_save_LIBS
19703 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
19704 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
19705 -if test $ac_cv_lib_dld_dld_link = yes; then
19706 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
19707 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
19708 +$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
19709 +if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
19710 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
19714 @@ -8798,15 +10344,15 @@ fi
19715 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
19717 save_LDFLAGS="$LDFLAGS"
19718 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
19719 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
19722 LIBS="$lt_cv_dlopen_libs $LIBS"
19724 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
19725 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
19726 + { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
19727 +$as_echo_n "checking whether a program can dlopen itself... " >&6; }
19728 if test "${lt_cv_dlopen_self+set}" = set; then
19729 - echo $ECHO_N "(cached) $ECHO_C" >&6
19730 + $as_echo_n "(cached) " >&6
19732 if test "$cross_compiling" = yes; then :
19733 lt_cv_dlopen_self=cross
19734 @@ -8814,7 +10360,7 @@ else
19735 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19736 lt_status=$lt_dlunknown
19737 cat > conftest.$ac_ext <<EOF
19738 -#line 8817 "configure"
19739 +#line 10363 "configure"
19740 #include "confdefs.h"
19743 @@ -8871,6 +10417,8 @@ int main ()
19744 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19745 /* dlclose (self); */
19748 + puts (dlerror ());
19752 @@ -8878,14 +10426,14 @@ EOF
19753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19754 (eval $ac_link) 2>&5
19756 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19758 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19759 - (./conftest; exit; ) 2>/dev/null
19760 + (./conftest; exit; ) >&5 2>/dev/null
19762 case x$lt_status in
19763 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
19764 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
19765 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
19766 + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
19769 # compilation failed
19770 @@ -8896,15 +10444,15 @@ rm -fr conftest*
19774 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
19775 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
19776 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
19777 +$as_echo "$lt_cv_dlopen_self" >&6; }
19779 if test "x$lt_cv_dlopen_self" = xyes; then
19780 - LDFLAGS="$LDFLAGS $link_static_flag"
19781 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
19782 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
19783 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
19784 + { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
19785 +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
19786 if test "${lt_cv_dlopen_self_static+set}" = set; then
19787 - echo $ECHO_N "(cached) $ECHO_C" >&6
19788 + $as_echo_n "(cached) " >&6
19790 if test "$cross_compiling" = yes; then :
19791 lt_cv_dlopen_self_static=cross
19792 @@ -8912,7 +10460,7 @@ else
19793 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19794 lt_status=$lt_dlunknown
19795 cat > conftest.$ac_ext <<EOF
19796 -#line 8915 "configure"
19797 +#line 10463 "configure"
19798 #include "confdefs.h"
19801 @@ -8969,6 +10517,8 @@ int main ()
19802 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19803 /* dlclose (self); */
19806 + puts (dlerror ());
19810 @@ -8976,14 +10526,14 @@ EOF
19811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19812 (eval $ac_link) 2>&5
19814 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19817 - (./conftest; exit; ) 2>/dev/null
19818 + (./conftest; exit; ) >&5 2>/dev/null
19820 case x$lt_status in
19821 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
19822 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
19823 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
19824 + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
19827 # compilation failed
19828 @@ -8994,8 +10544,8 @@ rm -fr conftest*
19832 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19833 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
19834 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19835 +$as_echo "$lt_cv_dlopen_self_static" >&6; }
19838 CPPFLAGS="$save_CPPFLAGS"
19839 @@ -9016,19 +10566,19 @@ echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
19843 -# Report which librarie types wil actually be built
19844 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
19845 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
19846 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
19847 -echo "${ECHO_T}$can_build_shared" >&6
19848 +# Report which library types will actually be built
19849 +{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
19850 +$as_echo_n "checking if libtool supports shared libraries... " >&6; }
19851 +{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
19852 +$as_echo "$can_build_shared" >&6; }
19854 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
19855 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
19856 +{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
19857 +$as_echo_n "checking whether to build shared libraries... " >&6; }
19858 test "$can_build_shared" = "no" && enable_shared=no
19860 # On AIX, shared libraries and static libraries use the same namespace, and
19861 # are all built from PIC.
19862 -case "$host_os" in
19865 test "$enable_shared" = yes && enable_static=no
19866 if test -n "$RANLIB"; then
19867 @@ -9037,58 +10587,21 @@ aix3*)
19873 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
19874 test "$enable_shared" = yes && enable_static=no
19877 - darwin* | rhapsody*)
19878 - if test "$GCC" = yes; then
19879 - archive_cmds_need_lc=no
19880 - case "$host_os" in
19881 - rhapsody* | darwin1.[012])
19882 - allow_undefined_flag='-undefined suppress'
19884 - *) # Darwin 1.3 on
19885 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19886 - allow_undefined_flag='-flat_namespace -undefined suppress'
19888 - case ${MACOSX_DEPLOYMENT_TARGET} in
19890 - allow_undefined_flag='-flat_namespace -undefined suppress'
19893 - allow_undefined_flag='-undefined dynamic_lookup'
19899 - output_verbose_link_cmd='echo'
19900 - archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
19901 - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19902 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
19903 - archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19904 - module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19905 - hardcode_direct=no
19906 - hardcode_automatic=yes
19907 - hardcode_shlibpath_var=unsupported
19908 - whole_archive_flag_spec='-all_load $convenience'
19909 - link_all_deplibs=yes
19915 -echo "$as_me:$LINENO: result: $enable_shared" >&5
19916 -echo "${ECHO_T}$enable_shared" >&6
19917 +{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
19918 +$as_echo "$enable_shared" >&6; }
19920 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
19921 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
19922 +{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
19923 +$as_echo_n "checking whether to build static libraries... " >&6; }
19924 # Make sure either enable_shared or enable_static is yes.
19925 test "$enable_shared" = yes || enable_static=yes
19926 -echo "$as_me:$LINENO: result: $enable_static" >&5
19927 -echo "${ECHO_T}$enable_static" >&6
19928 +{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
19929 +$as_echo "$enable_static" >&6; }
19931 # The else clause should only fire when bootstrapping the
19932 # libtool distribution, otherwise you forgot to ship ltmain.sh
19933 @@ -9103,7 +10616,7 @@ if test -f "$ltmain"; then
19934 # Now quote all the things that may contain metacharacters while being
19935 # careful not to overquote the AC_SUBSTed values. We take copies of the
19936 # variables and quote the copies for generation of the libtool script.
19937 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19938 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19940 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19941 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19942 @@ -9130,6 +10643,7 @@ if test -f "$ltmain"; then
19945 compiler_lib_search_path \
19946 + compiler_lib_search_dirs \
19948 archive_expsym_cmds \
19950 @@ -9145,6 +10659,7 @@ if test -f "$ltmain"; then
19952 module_expsym_cmds \
19953 lt_cv_prog_compiler_c_o \
19954 + fix_srcfile_path \
19956 include_expsyms; do
19958 @@ -9179,8 +10694,8 @@ if test -f "$ltmain"; then
19959 cfgfile="${ofile}T"
19960 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
19962 - { echo "$as_me:$LINENO: creating $ofile" >&5
19963 -echo "$as_me: creating $ofile" >&6;}
19964 + { $as_echo "$as_me:$LINENO: creating $ofile" >&5
19965 +$as_echo "$as_me: creating $ofile" >&6;}
19967 cat <<__EOF__ >> "$cfgfile"
19969 @@ -9189,7 +10704,7 @@ echo "$as_me: creating $ofile" >&6;}
19970 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
19971 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19973 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
19974 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
19975 # Free Software Foundation, Inc.
19977 # This file is part of GNU Libtool:
19978 @@ -9207,7 +10722,7 @@ echo "$as_me: creating $ofile" >&6;}
19980 # You should have received a copy of the GNU General Public License
19981 # along with this program; if not, write to the Free Software
19982 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19983 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19985 # As a special exception to the GNU General Public License, if you
19986 # distribute this file as part of a program that contains a
19987 @@ -9218,11 +10733,11 @@ echo "$as_me: creating $ofile" >&6;}
19990 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19991 -Xsed="$SED -e s/^X//"
19992 +Xsed="$SED -e 1s/^X//"
19994 # The HP-UX ksh and POSIX shell print the target directory to stdout
19995 # if CDPATH is set.
19996 -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
19997 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19999 # The names of the tagged configurations supported by this script.
20001 @@ -9252,6 +10767,12 @@ fast_install=$enable_fast_install
20003 host_alias=$host_alias
20007 +# The build system.
20008 +build_alias=$build_alias
20010 +build_os=$build_os
20012 # An echo program that does not interpret backslashes.
20014 @@ -9263,6 +10784,9 @@ AR_FLAGS=$lt_AR_FLAGS
20018 +# LTCC compiler flags.
20019 +LTCFLAGS=$lt_LTCFLAGS
20021 # A language-specific compiler.
20024 @@ -9328,7 +10852,7 @@ max_cmd_len=$lt_cv_sys_max_cmd_len
20025 # Does compiler simultaneously support -c and -o options?
20026 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20028 -# Must we lock files when doing compilation ?
20029 +# Must we lock files when doing compilation?
20030 need_locks=$lt_need_locks
20032 # Do we need the lib prefix for modules?
20033 @@ -9416,6 +10940,10 @@ predeps=$lt_predeps
20035 postdeps=$lt_postdeps
20037 +# The directories searched by this compiler when creating a shared
20039 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20041 # The library search path used internally by the compiler when linking
20042 # a shared library.
20043 compiler_lib_search_path=$lt_compiler_lib_search_path
20044 @@ -9504,7 +11032,7 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20045 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20047 # Fix the shell variable \$srcfile for the compiler.
20048 -fix_srcfile_path="$fix_srcfile_path"
20049 +fix_srcfile_path=$lt_fix_srcfile_path
20051 # Set to yes if exported symbols are required.
20052 always_export_symbols=$always_export_symbols
20053 @@ -9571,28 +11099,31 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
20057 -# Check whether --with-tags or --without-tags was given.
20058 +# Check whether --with-tags was given.
20059 if test "${with_tags+set}" = set; then
20060 - withval="$with_tags"
20061 - tagnames="$withval"
20063 + withval=$with_tags; tagnames="$withval"
20067 if test -f "$ltmain" && test -n "$tagnames"; then
20068 if test ! -f "${ofile}"; then
20069 - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
20070 -echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
20071 + { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
20072 +$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
20075 if test -z "$LTCC"; then
20076 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
20077 if test -z "$LTCC"; then
20078 - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
20079 -echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
20080 + { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
20081 +$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
20083 - { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
20084 -echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
20085 + { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
20086 +$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
20089 + if test -z "$LTCFLAGS"; then
20090 + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
20093 # Extract list of available tagged configurations in $ofile.
20094 # Note that this assumes the entire list is on one line.
20095 @@ -9604,16 +11135,16 @@ echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
20096 # Check whether tagname contains only valid characters
20097 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
20099 - *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
20100 -echo "$as_me: error: invalid tag name: $tagname" >&2;}
20101 + *) { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
20102 +$as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
20103 { (exit 1); exit 1; }; }
20107 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
20109 - { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
20110 -echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
20111 + { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
20112 +$as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
20113 { (exit 1); exit 1; }; }
20116 @@ -9623,8 +11154,10 @@ echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
20120 - if test -n "$CXX" && test "X$CXX" != "Xno"; then
20122 + if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
20123 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
20124 + (test "X$CXX" != "Xg++"))) ; then
20126 ac_cpp='$CXXCPP $CPPFLAGS'
20127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20129 @@ -9643,6 +11176,7 @@ hardcode_libdir_flag_spec_CXX=
20130 hardcode_libdir_flag_spec_ld_CXX=
20131 hardcode_libdir_separator_CXX=
20132 hardcode_minus_L_CXX=no
20133 +hardcode_shlibpath_var_CXX=unsupported
20134 hardcode_automatic_CXX=no
20136 module_expsym_cmds_CXX=
20137 @@ -9658,29 +11192,47 @@ postdep_objects_CXX=
20140 compiler_lib_search_path_CXX=
20141 +compiler_lib_search_dirs_CXX=
20143 # Source file extension for C++ test sources.
20147 # Object file extension for compiled C++ test sources.
20151 # Code to be used in simple compile tests
20152 -lt_simple_compile_test_code="int some_variable = 0;\n"
20153 +lt_simple_compile_test_code="int some_variable = 0;"
20155 # Code to be used in simple link tests
20156 -lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
20157 +lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
20159 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20161 # If no C compiler was specified, use CC.
20164 +# If no C compiler flags were specified, use CFLAGS.
20165 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
20167 # Allow CC to be a program name with arguments.
20171 +# save warnings/boilerplate of simple test code
20172 +ac_outfile=conftest.$ac_objext
20173 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20174 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20175 +_lt_compiler_boilerplate=`cat conftest.err`
20178 +ac_outfile=conftest.$ac_objext
20179 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
20180 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20181 +_lt_linker_boilerplate=`cat conftest.err`
20185 # Allow CC to be a program name with arguments.
20188 @@ -9691,18 +11243,27 @@ lt_save_path_LD=$lt_cv_path_LD
20189 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
20190 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
20192 - unset lt_cv_prog_gnu_ld
20193 + $as_unset lt_cv_prog_gnu_ld
20195 if test -n "${lt_cv_path_LDCXX+set}"; then
20196 lt_cv_path_LD=$lt_cv_path_LDCXX
20198 - unset lt_cv_path_LD
20199 + $as_unset lt_cv_path_LD
20201 test -z "${LDCXX+set}" || LD=$LDCXX
20205 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
20206 +for cc_temp in $compiler""; do
20208 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20209 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20214 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20217 # We don't want -fno-exception wen compiling C++ code, so set the
20218 # no_builtin_flag separately
20219 @@ -9716,18 +11277,18 @@ if test "$GXX" = yes; then
20220 # Set up default GNU C++ configuration
20223 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
20224 +# Check whether --with-gnu-ld was given.
20225 if test "${with_gnu_ld+set}" = set; then
20226 - withval="$with_gnu_ld"
20227 - test "$withval" = no || with_gnu_ld=yes
20228 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20235 if test "$GCC" = yes; then
20236 # Check if gcc -print-prog-name=ld gives a path.
20237 - echo "$as_me:$LINENO: checking for ld used by $CC" >&5
20238 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
20239 + { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
20240 +$as_echo_n "checking for ld used by $CC... " >&6; }
20243 # gcc leaves a trailing carriage return which upsets mingw
20244 @@ -9756,14 +11317,14 @@ echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
20247 elif test "$with_gnu_ld" = yes; then
20248 - echo "$as_me:$LINENO: checking for GNU ld" >&5
20249 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
20250 + { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
20251 +$as_echo_n "checking for GNU ld... " >&6; }
20253 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
20254 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
20255 + { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
20256 +$as_echo_n "checking for non-GNU ld... " >&6; }
20258 if test "${lt_cv_path_LD+set}" = set; then
20259 - echo $ECHO_N "(cached) $ECHO_C" >&6
20260 + $as_echo_n "(cached) " >&6
20262 if test -z "$LD"; then
20263 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20264 @@ -9773,7 +11334,7 @@ else
20265 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20266 lt_cv_path_LD="$ac_dir/$ac_prog"
20267 # Check to see if the program is GNU ld. I'd rather use --version,
20268 - # but apparently some GNU ld's only accept -v.
20269 + # but apparently some variants of GNU ld only accept -v.
20270 # Break only if it was the GNU/non-GNU ld that we prefer.
20271 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20272 *GNU* | *'with BFD'*)
20273 @@ -9793,21 +11354,21 @@ fi
20275 LD="$lt_cv_path_LD"
20276 if test -n "$LD"; then
20277 - echo "$as_me:$LINENO: result: $LD" >&5
20278 -echo "${ECHO_T}$LD" >&6
20279 + { $as_echo "$as_me:$LINENO: result: $LD" >&5
20280 +$as_echo "$LD" >&6; }
20282 - echo "$as_me:$LINENO: result: no" >&5
20283 -echo "${ECHO_T}no" >&6
20284 + { $as_echo "$as_me:$LINENO: result: no" >&5
20285 +$as_echo "no" >&6; }
20287 -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
20288 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
20289 +test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
20290 +$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
20291 { (exit 1); exit 1; }; }
20292 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
20293 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
20294 +{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
20295 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20296 if test "${lt_cv_prog_gnu_ld+set}" = set; then
20297 - echo $ECHO_N "(cached) $ECHO_C" >&6
20298 + $as_echo_n "(cached) " >&6
20300 - # I'd rather use --version here, but apparently some GNU ld's only accept -v.
20301 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
20302 case `$LD -v 2>&1 </dev/null` in
20303 *GNU* | *'with BFD'*)
20304 lt_cv_prog_gnu_ld=yes
20305 @@ -9817,8 +11378,8 @@ case `$LD -v 2>&1 </dev/null` in
20309 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
20310 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
20311 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
20312 +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
20313 with_gnu_ld=$lt_cv_prog_gnu_ld
20316 @@ -9868,15 +11429,15 @@ else
20319 # PORTME: fill in a description of your system's C++ link characteristics
20320 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20321 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
20322 +{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20323 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
20327 # FIXME: insert proper C++ library support
20332 if test "$host_cpu" = ia64; then
20333 # On IA64, the linker does run time linking by default, so we don't
20334 # have to do anything special.
20335 @@ -9889,7 +11450,7 @@ case $host_os in
20336 # Test if we are trying to use run time linking or normal
20337 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
20338 # need to do runtime linking.
20339 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
20340 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
20341 for ld_flag in $LDFLAGS; do
20344 @@ -9898,6 +11459,7 @@ case $host_os in
20351 exp_sym_flag='-bexport'
20352 @@ -9916,7 +11478,7 @@ case $host_os in
20353 link_all_deplibs_CXX=yes
20355 if test "$GXX" = yes; then
20356 - case $host_os in aix4.012|aix4.012.*)
20357 + case $host_os in aix4.[012]|aix4.[012].*)
20358 # We only want to do this on AIX 4.2 and lower, the check
20359 # below for broken collect2 doesn't work under 4.3+
20360 collect2name=`${CC} -print-prog-name=collect2`
20361 @@ -9924,7 +11486,7 @@ case $host_os in
20362 strings "$collect2name" | grep resolve_lib_name >/dev/null
20364 # We have reworked collect2
20365 - hardcode_direct_CXX=yes
20368 # We have old collect2
20369 hardcode_direct_CXX=unsupported
20370 @@ -9935,8 +11497,12 @@ case $host_os in
20371 hardcode_libdir_flag_spec_CXX='-L$libdir'
20372 hardcode_libdir_separator_CXX=
20376 shared_flag='-shared'
20377 + if test "$aix_use_runtimelinking" = yes; then
20378 + shared_flag="$shared_flag "'${wl}-G'
20382 if test "$host_cpu" = ia64; then
20383 @@ -9976,50 +11542,59 @@ main ()
20386 rm -f conftest.$ac_objext conftest$ac_exeext
20387 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20388 - (eval $ac_link) 2>conftest.er1
20389 +if { (ac_try="$ac_link"
20390 +case "(($ac_try" in
20391 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20392 + *) ac_try_echo=$ac_try;;
20394 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20395 +$as_echo "$ac_try_echo") >&5
20396 + (eval "$ac_link") 2>conftest.er1
20398 grep -v '^ *+' conftest.er1 >conftest.err
20400 cat conftest.err >&5
20401 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20402 - (exit $ac_status); } &&
20403 - { ac_try='test -z "$ac_cxx_werror_flag"
20404 - || test ! -s conftest.err'
20405 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20406 - (eval $ac_try) 2>&5
20408 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 - (exit $ac_status); }; } &&
20410 - { ac_try='test -s conftest$ac_exeext'
20411 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20412 - (eval $ac_try) 2>&5
20414 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 - (exit $ac_status); }; }; then
20417 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
20419 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20420 + (exit $ac_status); } && {
20421 + test -z "$ac_cxx_werror_flag" ||
20422 + test ! -s conftest.err
20423 + } && test -s conftest$ac_exeext && {
20424 + test "$cross_compiling" = yes ||
20425 + $as_test_x conftest$ac_exeext
20428 +lt_aix_libpath_sed='
20429 + /Import File Strings/,/^$/ {
20431 + s/^0 *\(.*\)$/\1/
20435 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20436 # Check for a 64-bit object if we didn't find anything.
20437 -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
20439 +if test -z "$aix_libpath"; then
20440 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20443 - echo "$as_me: failed program was:" >&5
20444 + $as_echo "$as_me: failed program was:" >&5
20445 sed 's/^/| /' conftest.$ac_ext >&5
20449 -rm -f conftest.err conftest.$ac_objext \
20451 +rm -rf conftest.dSYM
20452 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20453 conftest$ac_exeext conftest.$ac_ext
20454 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20456 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
20458 - archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
20459 + archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
20461 if test "$host_cpu" = ia64; then
20462 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
20463 allow_undefined_flag_CXX="-z nodefs"
20464 - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
20465 + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
20467 # Determine the default libpath from the value encoded in an empty executable.
20468 cat >conftest.$ac_ext <<_ACEOF
20469 @@ -10038,39 +11613,48 @@ main ()
20472 rm -f conftest.$ac_objext conftest$ac_exeext
20473 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20474 - (eval $ac_link) 2>conftest.er1
20475 +if { (ac_try="$ac_link"
20476 +case "(($ac_try" in
20477 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20478 + *) ac_try_echo=$ac_try;;
20480 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20481 +$as_echo "$ac_try_echo") >&5
20482 + (eval "$ac_link") 2>conftest.er1
20484 grep -v '^ *+' conftest.er1 >conftest.err
20486 cat conftest.err >&5
20487 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 - (exit $ac_status); } &&
20489 - { ac_try='test -z "$ac_cxx_werror_flag"
20490 - || test ! -s conftest.err'
20491 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20492 - (eval $ac_try) 2>&5
20494 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 - (exit $ac_status); }; } &&
20496 - { ac_try='test -s conftest$ac_exeext'
20497 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20498 - (eval $ac_try) 2>&5
20500 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 - (exit $ac_status); }; }; then
20503 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
20505 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20506 + (exit $ac_status); } && {
20507 + test -z "$ac_cxx_werror_flag" ||
20508 + test ! -s conftest.err
20509 + } && test -s conftest$ac_exeext && {
20510 + test "$cross_compiling" = yes ||
20511 + $as_test_x conftest$ac_exeext
20514 +lt_aix_libpath_sed='
20515 + /Import File Strings/,/^$/ {
20517 + s/^0 *\(.*\)$/\1/
20521 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20522 # Check for a 64-bit object if we didn't find anything.
20523 -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
20525 +if test -z "$aix_libpath"; then
20526 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20529 - echo "$as_me: failed program was:" >&5
20530 + $as_echo "$as_me: failed program was:" >&5
20531 sed 's/^/| /' conftest.$ac_ext >&5
20535 -rm -f conftest.err conftest.$ac_objext \
20537 +rm -rf conftest.dSYM
20538 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20539 conftest$ac_exeext conftest.$ac_ext
20540 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20542 @@ -10079,16 +11663,26 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20543 # -berok will link without error, but may produce a broken library.
20544 no_undefined_flag_CXX=' ${wl}-bernotok'
20545 allow_undefined_flag_CXX=' ${wl}-berok'
20546 - # -bexpall does not export symbols beginning with underscore (_)
20547 - always_export_symbols_CXX=yes
20548 # Exported symbols can be pulled into shared objects from archives
20549 - whole_archive_flag_spec_CXX=' '
20550 + whole_archive_flag_spec_CXX='$convenience'
20551 archive_cmds_need_lc_CXX=yes
20552 - # This is similar to how AIX traditionally builds it's shared libraries.
20553 - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
20554 + # This is similar to how AIX traditionally builds its shared libraries.
20555 + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
20561 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20562 + allow_undefined_flag_CXX=unsupported
20563 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
20564 + # support --undefined. This deserves some investigation. FIXME
20565 + archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20572 case $cc_basename in
20574 @@ -10107,7 +11701,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20575 enable_shared_with_static_runtimes_CXX=yes
20577 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
20578 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
20579 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
20580 # If the export-symbols file already is a .def file (1st line
20581 # is EXPORTS), use it as is; otherwise, prepend...
20582 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
20583 @@ -10116,70 +11710,53 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20584 echo EXPORTS > $output_objdir/$soname.def;
20585 cat $export_symbols >> $output_objdir/$soname.def;
20587 - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
20588 + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
20594 - darwin* | rhapsody*)
20595 - if test "$GXX" = yes; then
20596 - archive_cmds_need_lc_CXX=no
20597 - case "$host_os" in
20598 - rhapsody* | darwin1.[012])
20599 - allow_undefined_flag_CXX='-undefined suppress'
20601 - *) # Darwin 1.3 on
20602 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
20603 - allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
20604 + darwin* | rhapsody*)
20605 + archive_cmds_need_lc_CXX=no
20606 + hardcode_direct_CXX=no
20607 + hardcode_automatic_CXX=yes
20608 + hardcode_shlibpath_var_CXX=unsupported
20609 + whole_archive_flag_spec_CXX=''
20610 + link_all_deplibs_CXX=yes
20611 + allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
20612 + if test "$GXX" = yes ; then
20613 + output_verbose_link_cmd='echo'
20614 + archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
20615 + module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
20616 + archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
20617 + module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
20618 + if test "$lt_cv_apple_cc_single_mod" != "yes"; then
20619 + archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
20620 + archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
20623 - case ${MACOSX_DEPLOYMENT_TARGET} in
20625 - allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
20628 - allow_undefined_flag_CXX='-undefined dynamic_lookup'
20631 + case $cc_basename in
20633 + output_verbose_link_cmd='echo'
20634 + archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
20635 + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
20636 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
20637 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
20638 + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
20647 - lt_int_apple_cc_single_mod=no
20648 - output_verbose_link_cmd='echo'
20649 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
20650 - lt_int_apple_cc_single_mod=yes
20652 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
20653 - archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
20655 - archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
20657 - module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
20659 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
20660 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
20661 - archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
20663 - archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
20665 - module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
20666 - hardcode_direct_CXX=no
20667 - hardcode_automatic_CXX=yes
20668 - hardcode_shlibpath_var_CXX=unsupported
20669 - whole_archive_flag_spec_CXX='-all_load $convenience'
20670 - link_all_deplibs_CXX=yes
20678 case $cc_basename in
20681 # FIXME: insert proper C++ library support
20686 # Green Hills C++ Compiler
20687 # FIXME: insert proper C++ library support
20689 @@ -10190,14 +11767,14 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20695 # C++ shared libraries reported to be fairly broken before switch to ELF
20699 archive_cmds_need_lc_CXX=no
20701 - freebsd* | kfreebsd*-gnu)
20702 + freebsd* | dragonfly*)
20703 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
20706 @@ -10214,11 +11791,11 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20707 # location of the library.
20709 case $cc_basename in
20712 # FIXME: insert proper C++ library support
20717 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
20718 # Commands to make compiler produce verbose output that lists
20719 # what "hidden" libraries, object files and flags are used when
20720 @@ -10228,7 +11805,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20721 # explicitly linking system object files so we need to strip them
20722 # from the output so that they don't get included in the library
20724 - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
20725 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
20728 if test "$GXX" = yes; then
20729 @@ -10242,33 +11819,20 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20732 if test $with_gnu_ld = no; then
20733 - case "$host_cpu" in
20735 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
20736 - hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
20737 - hardcode_libdir_separator_CXX=:
20740 - hardcode_libdir_flag_spec_CXX='-L$libdir'
20742 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
20743 + hardcode_libdir_separator_CXX=:
20745 + case $host_cpu in
20746 + hppa*64*|ia64*) ;;
20748 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
20749 - hardcode_libdir_separator_CXX=:
20750 export_dynamic_flag_spec_CXX='${wl}-E'
20754 - case "$host_cpu" in
20756 - hardcode_direct_CXX=no
20757 - hardcode_shlibpath_var_CXX=no
20760 + case $host_cpu in
20762 hardcode_direct_CXX=no
20763 hardcode_shlibpath_var_CXX=no
20764 - hardcode_minus_L_CXX=yes # Not in the search PATH,
20765 - # but as the default
20766 - # location of the library.
20769 hardcode_direct_CXX=yes
20770 @@ -10279,14 +11843,17 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20773 case $cc_basename in
20776 # FIXME: insert proper C++ library support
20780 - case "$host_cpu" in
20782 - archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
20784 + case $host_cpu in
20786 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20789 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20792 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20793 @@ -10305,9 +11872,12 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20795 if test "$GXX" = yes; then
20796 if test $with_gnu_ld = no; then
20797 - case "$host_cpu" in
20799 - archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
20800 + case $host_cpu in
20802 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20805 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20808 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20809 @@ -10321,11 +11891,25 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20814 + hardcode_direct_CXX=no
20815 + hardcode_shlibpath_var_CXX=no
20816 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
20817 + export_dynamic_flag_spec_CXX='${wl}-E'
20818 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
20819 + # Instead, shared libraries are loaded at an image base (0x10000000 by
20820 + # default) and relocated if they conflict, which is a slow very memory
20821 + # consuming and fragmenting process. To avoid this, we pick a random,
20822 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
20823 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
20824 + archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
20825 + archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
20828 case $cc_basename in
20832 - archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
20833 + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
20835 # Archives containing C++ object files must be created using
20836 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
20837 @@ -10336,7 +11920,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20839 if test "$GXX" = yes; then
20840 if test "$with_gnu_ld" = no; then
20841 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
20842 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
20844 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
20846 @@ -10347,9 +11931,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20847 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
20848 hardcode_libdir_separator_CXX=:
20851 + linux* | k*bsd*-gnu)
20852 case $cc_basename in
20855 # Kuck and Associates, Inc. (KAI) C++ Compiler
20857 # KCC will only create a shared library if the output file
20858 @@ -10374,17 +11958,41 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20859 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
20860 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
20866 + # version 8.0 and above of icpc choke on multiply defined symbols
20867 + # if we add $predep_objects and $postdep_objects, however 7.1 and
20868 + # earlier do not add the objects themselves.
20869 + case `$CC -V 2>&1` in
20871 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
20872 + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20874 + *) # Version 8.0 or newer
20876 + case $host_cpu in
20877 + ia64*) tmp_idyn=' -i_dynamic';;
20879 + archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20880 + archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20883 archive_cmds_need_lc_CXX=no
20884 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
20885 - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20886 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
20887 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
20888 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
20892 + # Portland Group C++ compiler
20893 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
20894 + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
20896 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
20897 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
20898 + whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
20902 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
20903 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
20904 @@ -10403,6 +12011,29 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20906 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
20909 + case `$CC -V 2>&1 | sed 5q` in
20912 + no_undefined_flag_CXX=' -zdefs'
20913 + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20914 + archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
20915 + hardcode_libdir_flag_spec_CXX='-R$libdir'
20916 + whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
20918 + # Not sure whether something based on
20919 + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
20920 + # would be better.
20921 + output_verbose_link_cmd='echo'
20923 + # Archives containing C++ object files must be created using
20924 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
20925 + # necessary to make sure instantiated templates are included
20926 + # in the archive.
20927 + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
20934 @@ -10415,7 +12046,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20937 case $cc_basename in
20940 # FIXME: insert proper C++ library support
20943 @@ -10425,7 +12056,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20948 + netbsd* | netbsdelf*-gnu)
20949 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20950 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
20952 @@ -10436,9 +12067,29 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20953 # Workaround some broken pre-1.5 toolchains
20954 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
20957 + # C++ shared libraries are fairly broken
20961 + if test -f /usr/libexec/ld.so; then
20962 + hardcode_direct_CXX=yes
20963 + hardcode_shlibpath_var_CXX=no
20964 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
20965 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
20966 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20967 + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
20968 + export_dynamic_flag_spec_CXX='${wl}-E'
20969 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
20971 + output_verbose_link_cmd='echo'
20977 case $cc_basename in
20980 # Kuck and Associates, Inc. (KAI) C++ Compiler
20982 # KCC will only create a shared library if the output file
20983 @@ -10454,14 +12105,14 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20984 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
20989 # Rational C++ 2.4.1
20990 # FIXME: insert proper C++ library support
20995 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
20996 - archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
20997 + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
20999 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
21000 hardcode_libdir_separator_CXX=:
21001 @@ -10479,7 +12130,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21003 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
21004 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
21005 - archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
21006 + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
21008 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
21009 hardcode_libdir_separator_CXX=:
21010 @@ -10498,7 +12149,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21013 case $cc_basename in
21016 # Kuck and Associates, Inc. (KAI) C++ Compiler
21018 # KCC will only create a shared library if the output file
21019 @@ -10513,17 +12164,17 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21020 # the KAI C++ compiler.
21021 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
21025 # Rational C++ 2.4.1
21026 # FIXME: insert proper C++ library support
21031 allow_undefined_flag_CXX=' -expect_unresolved \*'
21032 - archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
21033 + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
21034 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
21035 echo "-hidden">> $lib.exp~
21036 - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
21037 + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
21040 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
21041 @@ -10542,7 +12193,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21043 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
21044 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
21045 - archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
21046 + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
21048 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
21049 hardcode_libdir_separator_CXX=:
21050 @@ -10563,27 +12214,14 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21051 # FIXME: insert proper C++ library support
21055 - archive_cmds_need_lc_CXX=no
21056 - case $cc_basename in
21058 - # FIXME: insert proper C++ library support
21062 - # FIXME: insert proper C++ library support
21068 case $cc_basename in
21072 # FIXME: insert proper C++ library support
21078 # FIXME: insert proper C++ library support
21080 @@ -10596,36 +12234,28 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21083 case $cc_basename in
21086 # Sun C++ 4.2, 5.x and Centerline C++
21087 + archive_cmds_need_lc_CXX=yes
21088 no_undefined_flag_CXX=' -zdefs'
21089 - archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
21090 + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
21091 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21092 - $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
21093 + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
21095 hardcode_libdir_flag_spec_CXX='-R$libdir'
21096 hardcode_shlibpath_var_CXX=no
21098 - solaris2.0-5 | solaris2.0-5.*) ;;
21099 + solaris2.[0-5] | solaris2.[0-5].*) ;;
21101 - # The C++ compiler is used as linker so we must use $wl
21102 - # flag to pass the commands to the underlying system
21104 + # The compiler driver will combine and reorder linker options,
21105 + # but understands `-z linker_flag'.
21106 # Supported since Solaris 2.6 (maybe 2.5.1?)
21107 - whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
21108 + whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
21111 link_all_deplibs_CXX=yes
21113 - # Commands to make compiler produce verbose output that lists
21114 - # what "hidden" libraries, object files and flags are used when
21115 - # linking a shared library.
21117 - # There doesn't appear to be a way to prevent this compiler from
21118 - # explicitly linking system object files so we need to strip them
21119 - # from the output so that they don't get included in the library
21121 - output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
21122 + output_verbose_link_cmd='echo'
21124 # Archives containing C++ object files must be created using
21125 # "CC -xar", where "CC" is the Sun C++ compiler. This is
21126 @@ -10633,7 +12263,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21128 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
21132 # Green Hills C++ Compiler
21133 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
21135 @@ -10667,16 +12297,73 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21138 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
21140 + solaris2.[0-5] | solaris2.[0-5].*) ;;
21142 + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
21149 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
21150 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
21151 + no_undefined_flag_CXX='${wl}-z,text'
21152 + archive_cmds_need_lc_CXX=no
21153 + hardcode_shlibpath_var_CXX=no
21154 + runpath_var='LD_RUN_PATH'
21156 + case $cc_basename in
21158 + archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21159 + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21162 + archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21163 + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21167 + sysv5* | sco3.2v5* | sco5v6*)
21168 + # Note: We can NOT use -z defs as we might desire, because we do not
21169 + # link with -lc, and that would cause any symbols used from libc to
21170 + # always be unresolved, which means just about no library would
21171 + # ever link correctly. If we're not using GNU ld we use -z text
21172 + # though, which does catch some bad symbols but isn't as heavy-handed
21174 + # For security reasons, it is highly recommended that you always
21175 + # use absolute paths for naming shared libraries, and exclude the
21176 + # DT_RUNPATH tag from executables and libraries. But doing so
21177 + # requires that you compile everything twice, which is a pain.
21178 + # So that behaviour is only enabled if SCOABSPATH is set to a
21179 + # non-empty value in the environment. Most likely only useful for
21180 + # creating official distributions of packages.
21181 + # This is a hack until libtool officially supports absolute path
21182 + # names for shared libraries.
21183 + no_undefined_flag_CXX='${wl}-z,text'
21184 + allow_undefined_flag_CXX='${wl}-z,nodefs'
21185 archive_cmds_need_lc_CXX=no
21186 + hardcode_shlibpath_var_CXX=no
21187 + hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
21188 + hardcode_libdir_separator_CXX=':'
21189 + link_all_deplibs_CXX=yes
21190 + export_dynamic_flag_spec_CXX='${wl}-Bexport'
21191 + runpath_var='LD_RUN_PATH'
21193 + case $cc_basename in
21195 + archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21196 + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21199 + archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21200 + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21205 case $cc_basename in
21208 # NonStop-UX NCC 3.20
21209 # FIXME: insert proper C++ library support
21211 @@ -10696,14 +12383,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21215 -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
21216 -echo "${ECHO_T}$ld_shlibs_CXX" >&6
21217 +{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
21218 +$as_echo "$ld_shlibs_CXX" >&6; }
21219 test "$ld_shlibs_CXX" = no && can_build_shared=no
21225 cat > conftest.$ac_ext <<EOF
21228 @@ -10717,7 +12403,7 @@ EOF
21229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21230 (eval $ac_compile) 2>&5
21232 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21233 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21234 (exit $ac_status); }; then
21235 # Parse the compiler output and extract the necessary
21236 # objects, libraries and library flags.
21237 @@ -10729,7 +12415,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21238 # The `*' in the case matches for architectures that use `case' in
21239 # $output_verbose_cmd can trigger glob expansion during the loop
21240 # eval without this substitution.
21241 - output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
21242 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
21244 for p in `eval $output_verbose_link_cmd`; do
21246 @@ -10805,6 +12491,66 @@ fi
21248 $rm -f confest.$objext
21250 +compiler_lib_search_dirs_CXX=
21251 +if test -n "$compiler_lib_search_path_CXX"; then
21252 + compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
21255 +# PORTME: override above test on systems where it is broken
21258 + # Interix 3.5 installs completely hosed .la files for C++, so rather than
21259 + # hack all around it, let's just trust "g++" to DTRT.
21260 + predep_objects_CXX=
21261 + postdep_objects_CXX=
21266 + case `$CC -V 2>&1 | sed 5q` in
21270 + # The more standards-conforming stlport4 library is
21271 + # incompatible with the Cstd library. Avoid specifying
21272 + # it if it's in CXXFLAGS. Ignore libCrun as
21273 + # -library=stlport4 depends on it.
21274 + case " $CXX $CXXFLAGS " in
21275 + *" -library=stlport4 "*)
21276 + solaris_use_stlport4=yes
21279 + if test "$solaris_use_stlport4" != yes; then
21280 + postdeps_CXX='-library=Cstd -library=Crun'
21287 + case $cc_basename in
21289 + # The more standards-conforming stlport4 library is
21290 + # incompatible with the Cstd library. Avoid specifying
21291 + # it if it's in CXXFLAGS. Ignore libCrun as
21292 + # -library=stlport4 depends on it.
21293 + case " $CXX $CXXFLAGS " in
21294 + *" -library=stlport4 "*)
21295 + solaris_use_stlport4=yes
21299 + # Adding this requires a known-good setup of shared libraries for
21300 + # Sun compiler versions before 5.6, else PIC objects from an old
21301 + # archive will be linked into the output, leading to subtle bugs.
21302 + if test "$solaris_use_stlport4" != yes; then
21303 + postdeps_CXX='-library=Cstd -library=Crun'
21310 case " $postdeps_CXX " in
21311 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
21313 @@ -10813,8 +12559,8 @@ lt_prog_compiler_wl_CXX=
21314 lt_prog_compiler_pic_CXX=
21315 lt_prog_compiler_static_CXX=
21317 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21318 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21319 +{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21320 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
21322 # C++ specific cases for pic, static, wl, etc.
21323 if test "$GXX" = yes; then
21324 @@ -10835,12 +12581,14 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21326 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
21328 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
21329 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
21330 # PIC is the default for these OSes.
21332 - mingw* | os2* | pw32*)
21333 + mingw* | cygwin* | os2* | pw32*)
21334 # This hack is so that the source file can tell whether it is being
21335 # built for inclusion in a dll (and should export symbols for example).
21336 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
21337 + # (--disable-auto-import) libraries
21338 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
21340 darwin* | rhapsody*)
21341 @@ -10852,6 +12600,10 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21342 # DJGPP does not support shared libraries at all
21343 lt_prog_compiler_pic_CXX=
21346 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21347 + # Instead, we relocate shared libraries at runtime.
21350 if test -d /usr/nec; then
21351 lt_prog_compiler_pic_CXX=-Kconform_pic
21352 @@ -10860,7 +12612,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21354 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21355 # not for PA HP-UX.
21356 - case "$host_cpu" in
21357 + case $host_cpu in
21361 @@ -10874,7 +12626,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21367 # All AIX code is PIC.
21368 if test "$host_cpu" = ia64; then
21369 # AIX 5 now supports IA64 processor
21370 @@ -10885,18 +12637,28 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21373 case $cc_basename in
21376 # Green Hills C++ Compiler
21377 # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
21382 + # PIC is the default on this platform
21383 + # Common symbols not allowed in MH_DYLIB files
21384 + case $cc_basename in
21386 + lt_prog_compiler_pic_CXX='-qnocommon'
21387 + lt_prog_compiler_wl_CXX='-Wl,'
21392 case $cc_basename in
21395 lt_prog_compiler_pic_CXX='-KPIC'
21399 # Green Hills C++ Compiler
21400 lt_prog_compiler_pic_CXX='-pic'
21402 @@ -10904,22 +12666,22 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21406 - freebsd* | kfreebsd*-gnu)
21407 + freebsd* | dragonfly*)
21408 # FreeBSD uses GNU C++
21410 hpux9* | hpux10* | hpux11*)
21411 case $cc_basename in
21414 lt_prog_compiler_wl_CXX='-Wl,'
21415 - lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
21416 + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
21417 if test "$host_cpu" != ia64; then
21418 lt_prog_compiler_pic_CXX='+Z'
21423 lt_prog_compiler_wl_CXX='-Wl,'
21424 - lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
21425 - case "$host_cpu" in
21426 + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
21427 + case $host_cpu in
21431 @@ -10932,9 +12694,13 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21436 + # This is c89, which is MS Visual C++ (no shared libs)
21437 + # Anyone wants to do a port?
21439 irix5* | irix6* | nonstopux*)
21440 case $cc_basename in
21443 lt_prog_compiler_wl_CXX='-Wl,'
21444 lt_prog_compiler_static_CXX='-non_shared'
21445 # CC pic flag -KPIC is the default.
21446 @@ -10943,20 +12709,26 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21451 + linux* | k*bsd*-gnu)
21452 case $cc_basename in
21456 lt_prog_compiler_wl_CXX='--backend -Wl,'
21457 lt_prog_compiler_pic_CXX='-fPIC'
21462 lt_prog_compiler_wl_CXX='-Wl,'
21463 lt_prog_compiler_pic_CXX='-KPIC'
21464 lt_prog_compiler_static_CXX='-static'
21468 + # Portland Group C++ compiler.
21469 + lt_prog_compiler_wl_CXX='-Wl,'
21470 + lt_prog_compiler_pic_CXX='-fpic'
21471 + lt_prog_compiler_static_CXX='-Bstatic'
21475 # Make sure the PIC flag is empty. It appears that all Alpha
21476 # Linux and Compaq Tru64 Unix objects are PIC.
21477 @@ -10964,6 +12736,14 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21478 lt_prog_compiler_static_CXX='-non_shared'
21481 + case `$CC -V 2>&1 | sed 5q` in
21484 + lt_prog_compiler_pic_CXX='-KPIC'
21485 + lt_prog_compiler_static_CXX='-Bstatic'
21486 + lt_prog_compiler_wl_CXX='-Qoption ld '
21492 @@ -10973,25 +12753,25 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21495 case $cc_basename in
21498 lt_prog_compiler_pic_CXX='-W c,exportall'
21505 + netbsd* | netbsdelf*-gnu)
21507 osf3* | osf4* | osf5*)
21508 case $cc_basename in
21511 lt_prog_compiler_wl_CXX='--backend -Wl,'
21515 # Rational C++ 2.4.1
21516 lt_prog_compiler_pic_CXX='-pic'
21520 # Digital/Compaq C++
21521 lt_prog_compiler_wl_CXX='-Wl,'
21522 # Make sure the PIC flag is empty. It appears that all Alpha
21523 @@ -11005,24 +12785,15 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21528 - case $cc_basename in
21530 - lt_prog_compiler_pic_CXX='-fPIC'
21537 case $cc_basename in
21540 # Sun C++ 4.2, 5.x and Centerline C++
21541 lt_prog_compiler_pic_CXX='-KPIC'
21542 lt_prog_compiler_static_CXX='-Bstatic'
21543 lt_prog_compiler_wl_CXX='-Qoption ld '
21547 # Green Hills C++ Compiler
21548 lt_prog_compiler_pic_CXX='-PIC'
21550 @@ -11032,12 +12803,12 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21553 case $cc_basename in
21557 lt_prog_compiler_pic_CXX='-pic'
21558 lt_prog_compiler_static_CXX='-Bstatic'
21563 lt_prog_compiler_pic_CXX='-pic'
21565 @@ -11047,7 +12818,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21568 case $cc_basename in
21571 # NonStop-UX NCC 3.20
21572 lt_prog_compiler_pic_CXX='-KPIC'
21574 @@ -11055,7 +12826,14 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21579 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
21580 + case $cc_basename in
21582 + lt_prog_compiler_wl_CXX='-Wl,'
21583 + lt_prog_compiler_pic_CXX='-KPIC'
21584 + lt_prog_compiler_static_CXX='-Bstatic'
21590 @@ -11065,22 +12843,22 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21594 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
21595 -echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
21596 +{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
21597 +$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
21600 # Check to make sure the PIC flag actually works.
21602 if test -n "$lt_prog_compiler_pic_CXX"; then
21604 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
21605 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
21606 -if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
21607 - echo $ECHO_N "(cached) $ECHO_C" >&6
21608 +{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
21609 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
21610 +if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
21611 + $as_echo_n "(cached) " >&6
21613 - lt_prog_compiler_pic_works_CXX=no
21614 + lt_cv_prog_compiler_pic_works_CXX=no
21615 ac_outfile=conftest.$ac_objext
21616 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21617 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21618 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
21619 # Insert the option either (1) after the last *FLAGS variable, or
21620 # (2) before a word containing "conftest.", or (3) at the end.
21621 @@ -11088,28 +12866,30 @@ else
21622 # with a dollar sign (not a hyphen), so the echo should work correctly.
21623 # The option is referenced via a variable to avoid confusing sed.
21624 lt_compile=`echo "$ac_compile" | $SED \
21625 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
21626 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21627 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21628 -e 's:$: $lt_compiler_flag:'`
21629 - (eval echo "\"\$as_me:11094: $lt_compile\"" >&5)
21630 + (eval echo "\"\$as_me:12872: $lt_compile\"" >&5)
21631 (eval "$lt_compile" 2>conftest.err)
21633 cat conftest.err >&5
21634 - echo "$as_me:11098: \$? = $ac_status" >&5
21635 + echo "$as_me:12876: \$? = $ac_status" >&5
21636 if (exit $ac_status) && test -s "$ac_outfile"; then
21637 # The compiler can only warn and ignore the option if not recognized
21638 - # So say no if there are warnings
21639 - if test ! -s conftest.err; then
21640 - lt_prog_compiler_pic_works_CXX=yes
21641 + # So say no if there are warnings other than the usual output.
21642 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
21643 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21644 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
21645 + lt_cv_prog_compiler_pic_works_CXX=yes
21651 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
21652 -echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
21653 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
21654 +$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
21656 -if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
21657 +if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
21658 case $lt_prog_compiler_pic_CXX in
21660 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
21661 @@ -11120,7 +12900,7 @@ else
21665 -case "$host_os" in
21667 # For platforms which do not support PIC, -DPIC is meaningless:
21669 lt_prog_compiler_pic_CXX=
21670 @@ -11130,17 +12910,59 @@ case "$host_os" in
21674 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21675 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
21677 +# Check to make sure the static flag actually works.
21679 +wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
21680 +{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21681 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
21682 +if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
21683 + $as_echo_n "(cached) " >&6
21685 + lt_cv_prog_compiler_static_works_CXX=no
21686 + save_LDFLAGS="$LDFLAGS"
21687 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
21688 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
21689 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
21690 + # The linker can only warn and ignore the option if not recognized
21691 + # So say no if there are warnings
21692 + if test -s conftest.err; then
21693 + # Append any errors to the config.log.
21694 + cat conftest.err 1>&5
21695 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
21696 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21697 + if diff conftest.exp conftest.er2 >/dev/null; then
21698 + lt_cv_prog_compiler_static_works_CXX=yes
21701 + lt_cv_prog_compiler_static_works_CXX=yes
21705 + LDFLAGS="$save_LDFLAGS"
21708 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
21709 +$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
21711 +if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
21714 + lt_prog_compiler_static_CXX=
21718 +{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21719 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
21720 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
21721 - echo $ECHO_N "(cached) $ECHO_C" >&6
21722 + $as_echo_n "(cached) " >&6
21724 lt_cv_prog_compiler_c_o_CXX=no
21725 $rm -r conftest 2>/dev/null
21729 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21730 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21732 lt_compiler_flag="-o out/conftest2.$ac_objext"
21733 # Insert the option either (1) after the last *FLAGS variable, or
21734 @@ -11148,23 +12970,25 @@ else
21735 # Note that $ac_compile itself does not contain backslashes and begins
21736 # with a dollar sign (not a hyphen), so the echo should work correctly.
21737 lt_compile=`echo "$ac_compile" | $SED \
21738 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
21739 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21740 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21741 -e 's:$: $lt_compiler_flag:'`
21742 - (eval echo "\"\$as_me:11154: $lt_compile\"" >&5)
21743 + (eval echo "\"\$as_me:12976: $lt_compile\"" >&5)
21744 (eval "$lt_compile" 2>out/conftest.err)
21746 cat out/conftest.err >&5
21747 - echo "$as_me:11158: \$? = $ac_status" >&5
21748 + echo "$as_me:12980: \$? = $ac_status" >&5
21749 if (exit $ac_status) && test -s out/conftest2.$ac_objext
21751 # The compiler can only warn and ignore the option if not recognized
21752 # So say no if there are warnings
21753 - if test ! -s out/conftest.err; then
21754 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
21755 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
21756 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
21757 lt_cv_prog_compiler_c_o_CXX=yes
21763 # SGI C++ compiler will create directory out/ii_files/ for
21764 # template instantiation
21765 @@ -11175,38 +12999,38 @@ else
21769 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
21770 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
21771 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
21772 +$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
21775 hard_links="nottested"
21776 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
21777 # do not overwrite the value of need_locks provided by the user
21778 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21779 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
21780 + { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21781 +$as_echo_n "checking if we can lock with hard links... " >&6; }
21784 ln conftest.a conftest.b 2>/dev/null && hard_links=no
21786 ln conftest.a conftest.b 2>&5 || hard_links=no
21787 ln conftest.a conftest.b 2>/dev/null && hard_links=no
21788 - echo "$as_me:$LINENO: result: $hard_links" >&5
21789 -echo "${ECHO_T}$hard_links" >&6
21790 + { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
21791 +$as_echo "$hard_links" >&6; }
21792 if test "$hard_links" = no; then
21793 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21794 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21795 + { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21796 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21803 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21804 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
21805 +{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21806 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
21808 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21812 # If we're using GNU nm, then we don't want the "-C" option.
21813 # -C means demangle to AIX nm, but means don't demangle with GNU nm
21814 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
21815 @@ -11219,22 +13043,21 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
21816 export_symbols_cmds_CXX="$ltdll_cmds"
21819 - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
21820 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
21822 + linux* | k*bsd*-gnu)
21823 + link_all_deplibs_CXX=no
21826 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21829 + exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
21831 -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
21832 -echo "${ECHO_T}$ld_shlibs_CXX" >&6
21833 +{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
21834 +$as_echo "$ld_shlibs_CXX" >&6; }
21835 test "$ld_shlibs_CXX" = no && can_build_shared=no
21837 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
21838 -if test "$GCC" = yes; then
21839 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21843 # Do we need to explicitly link libc?
21845 @@ -11252,21 +13075,22 @@ x|xyes)
21846 # Test whether the compiler implicitly links with -lc since on some
21847 # systems, -lgcc has to come before -lc. If gcc already passes -lc
21848 # to ld, don't add -lc before -lgcc.
21849 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
21850 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
21851 + { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
21852 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
21854 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21855 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21858 (eval $ac_compile) 2>&5
21860 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); } 2>conftest.err; then
21865 libobjs=conftest.$ac_objext
21867 wl=$lt_prog_compiler_wl_CXX
21868 + pic_flag=$lt_prog_compiler_pic_CXX
21872 @@ -11277,7 +13101,7 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
21873 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
21874 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
21876 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21878 (exit $ac_status); }
21880 archive_cmds_need_lc_CXX=no
21881 @@ -11289,16 +13113,16 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
21882 cat conftest.err 1>&5
21885 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
21886 -echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
21887 + { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
21888 +$as_echo "$archive_cmds_need_lc_CXX" >&6; }
21895 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
21896 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
21897 +{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
21898 +$as_echo_n "checking dynamic linker characteristics... " >&6; }
21899 library_names_spec=
21900 libname_spec='lib$name'
21902 @@ -11312,20 +13136,7 @@ shlibpath_overrides_runpath=unknown
21904 dynamic_linker="$host_os ld.so"
21905 sys_lib_dlsearch_path_spec="/lib /usr/lib"
21906 -if test "$GCC" = yes; then
21907 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
21908 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
21909 - # if the path contains ";" then we assume it to be the separator
21910 - # otherwise default to the standard path separator (i.e. ":") - it is
21911 - # assumed that no part of a normal pathname contains ";" but that should
21912 - # okay in the real world where ";" in dirpaths is itself problematic.
21913 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
21915 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21918 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
21921 need_lib_prefix=unknown
21922 hardcode_into_libs=no
21924 @@ -11343,7 +13154,7 @@ aix3*)
21925 soname_spec='${libname}${release}${shared_ext}$major'
21933 @@ -11399,7 +13210,7 @@ beos*)
21934 shlibpath_var=LIBRARY_PATH
21941 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21942 @@ -11427,7 +13238,8 @@ cygwin* | mingw* | pw32*)
21943 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
21944 dldir=$destdir/`dirname \$dlpath`~
21945 test -d \$dldir || mkdir -p \$dldir~
21946 - $install_prog $dir/$dlname \$dldir/$dlname'
21947 + $install_prog $dir/$dlname \$dldir/$dlname~
21948 + chmod a+x \$dldir/$dlname'
21949 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
21950 dlpath=$dir/\$dldll~
21952 @@ -11457,7 +13269,7 @@ cygwin* | mingw* | pw32*)
21955 # pw32 DLLs use 'pw' prefix rather than 'lib'
21956 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
21957 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21961 @@ -11480,13 +13292,8 @@ darwin* | rhapsody*)
21962 soname_spec='${libname}${release}${major}$shared_ext'
21963 shlibpath_overrides_runpath=yes
21964 shlibpath_var=DYLD_LIBRARY_PATH
21965 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
21966 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
21967 - if test "$GCC" = yes; then
21968 - sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
21970 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
21972 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
21974 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
21977 @@ -11503,20 +13310,17 @@ freebsd1*)
21982 - version_type=linux
21983 - need_lib_prefix=no
21985 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21986 - soname_spec='${libname}${release}${shared_ext}$major'
21987 - shlibpath_var=LD_LIBRARY_PATH
21988 - shlibpath_overrides_runpath=no
21989 - hardcode_into_libs=yes
21990 - dynamic_linker='GNU ld.so'
21994 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
21995 +freebsd* | dragonfly*)
21996 + # DragonFly does not have aout. When/if they implement a new
21997 + # versioning mechanism, adjust this.
21998 + if test -x /usr/bin/objformat; then
21999 + objformat=`/usr/bin/objformat`
22002 + freebsd[123]*) objformat=aout ;;
22003 + *) objformat=elf ;;
22006 version_type=freebsd-$objformat
22007 case $version_type in
22009 @@ -11534,14 +13338,19 @@ freebsd*)
22011 shlibpath_overrides_runpath=yes
22013 - freebsd3.01* | freebsdelf3.01*)
22014 + freebsd3.[01]* | freebsdelf3.[01]*)
22015 shlibpath_overrides_runpath=yes
22016 hardcode_into_libs=yes
22019 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
22020 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
22021 shlibpath_overrides_runpath=no
22022 hardcode_into_libs=yes
22024 + *) # from 4.6 on, and DragonFly
22025 + shlibpath_overrides_runpath=yes
22026 + hardcode_into_libs=yes
22031 @@ -11561,7 +13370,7 @@ hpux9* | hpux10* | hpux11*)
22035 - case "$host_cpu" in
22036 + case $host_cpu in
22039 hardcode_into_libs=yes
22040 @@ -11601,6 +13410,18 @@ hpux9* | hpux10* | hpux11*)
22041 postinstall_cmds='chmod 555 $lib'
22045 + version_type=linux
22046 + need_lib_prefix=no
22048 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22049 + soname_spec='${libname}${release}${shared_ext}$major'
22050 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
22051 + shlibpath_var=LD_LIBRARY_PATH
22052 + shlibpath_overrides_runpath=no
22053 + hardcode_into_libs=yes
22056 irix5* | irix6* | nonstopux*)
22058 nonstopux*) version_type=nonstopux ;;
22059 @@ -11644,7 +13465,7 @@ linux*oldld* | linux*aout* | linux*coff*)
22062 # This must be Linux ELF.
22064 +linux* | k*bsd*-gnu)
22068 @@ -11658,31 +13479,10 @@ linux*)
22069 # before this can be enabled.
22070 hardcode_into_libs=yes
22072 - # find out which ABI we are using
22074 - case "$host_cpu" in
22075 - x86_64*|s390x*|powerpc64*)
22076 - echo '#line 11665 "configure"' > conftest.$ac_ext
22077 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22078 - (eval $ac_compile) 2>&5
22080 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22081 - (exit $ac_status); }; then
22082 - case `/usr/bin/file conftest.$ac_objext` in
22085 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
22093 # Append ld.so.conf contents to the search path
22094 if test -f /etc/ld.so.conf; then
22095 - lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
22096 - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
22097 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
22098 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
22101 # We used to test for /lib/ld.so.1 and disable shared libraries on
22102 @@ -11694,7 +13494,7 @@ linux*)
22103 dynamic_linker='GNU/Linux ld.so'
22111 @@ -11703,7 +13503,7 @@ knetbsd*-gnu)
22112 shlibpath_var=LD_LIBRARY_PATH
22113 shlibpath_overrides_runpath=no
22114 hardcode_into_libs=yes
22115 - dynamic_linker='GNU ld.so'
22116 + dynamic_linker='NetBSD ld.elf_so'
22120 @@ -11743,8 +13543,13 @@ nto-qnx*)
22124 + sys_lib_dlsearch_path_spec="/usr/lib"
22127 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
22129 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
22130 + *) need_version=no ;;
22132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22133 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22134 shlibpath_var=LD_LIBRARY_PATH
22135 @@ -11782,11 +13587,8 @@ osf3* | osf4* | osf5*)
22136 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
22141 - soname_spec='${libname}${release}${shared_ext}$major'
22142 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22143 - shlibpath_var=LD_LIBRARY_PATH
22145 + dynamic_linker=no
22149 @@ -11814,7 +13616,7 @@ sunos4*)
22153 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
22156 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22157 soname_spec='${libname}${release}${shared_ext}$major'
22158 @@ -11847,6 +13649,29 @@ sysv4*MP*)
22162 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
22163 + version_type=freebsd-elf
22164 + need_lib_prefix=no
22166 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22167 + soname_spec='${libname}${release}${shared_ext}$major'
22168 + shlibpath_var=LD_LIBRARY_PATH
22169 + hardcode_into_libs=yes
22170 + if test "$with_gnu_ld" = yes; then
22171 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
22172 + shlibpath_overrides_runpath=no
22174 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
22175 + shlibpath_overrides_runpath=yes
22178 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
22182 + sys_lib_dlsearch_path_spec='/usr/lib'
22187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22188 @@ -11858,16 +13683,36 @@ uts4*)
22192 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
22193 -echo "${ECHO_T}$dynamic_linker" >&6
22194 +{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
22195 +$as_echo "$dynamic_linker" >&6; }
22196 test "$dynamic_linker" = no && can_build_shared=no
22198 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
22199 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
22200 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
22201 + $as_echo_n "(cached) " >&6
22203 + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
22206 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
22207 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
22208 + $as_echo_n "(cached) " >&6
22210 + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
22213 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
22215 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
22216 +if test "$GCC" = yes; then
22217 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
22220 +{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
22221 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
22222 hardcode_action_CXX=
22223 if test -n "$hardcode_libdir_flag_spec_CXX" || \
22224 - test -n "$runpath_var CXX" || \
22225 - test "X$hardcode_automatic_CXX"="Xyes" ; then
22226 + test -n "$runpath_var_CXX" || \
22227 + test "X$hardcode_automatic_CXX" = "Xyes" ; then
22229 # We can hardcode non-existant directories.
22230 if test "$hardcode_direct_CXX" != no &&
22231 @@ -11887,8 +13732,8 @@ else
22233 hardcode_action_CXX=unsupported
22235 -echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
22236 -echo "${ECHO_T}$hardcode_action_CXX" >&6
22237 +{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
22238 +$as_echo "$hardcode_action_CXX" >&6; }
22240 if test "$hardcode_action_CXX" = relink; then
22241 # Fast installation is not supported
22242 @@ -11899,841 +13744,6 @@ elif test "$shlibpath_overrides_runpath" = yes ||
22243 enable_fast_install=needless
22248 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
22249 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
22250 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
22251 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
22252 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
22253 - echo "$as_me:$LINENO: result: yes" >&5
22254 -echo "${ECHO_T}yes" >&6
22256 -# FIXME - insert some real tests, host_os isn't really good enough
22259 - if test -n "$STRIP" ; then
22260 - striplib="$STRIP -x"
22261 - echo "$as_me:$LINENO: result: yes" >&5
22262 -echo "${ECHO_T}yes" >&6
22264 - echo "$as_me:$LINENO: result: no" >&5
22265 -echo "${ECHO_T}no" >&6
22269 - echo "$as_me:$LINENO: result: no" >&5
22270 -echo "${ECHO_T}no" >&6
22275 -if test "x$enable_dlopen" != xyes; then
22276 - enable_dlopen=unknown
22277 - enable_dlopen_self=unknown
22278 - enable_dlopen_self_static=unknown
22281 - lt_cv_dlopen_libs=
22285 - lt_cv_dlopen="load_add_on"
22286 - lt_cv_dlopen_libs=
22287 - lt_cv_dlopen_self=yes
22291 - lt_cv_dlopen="LoadLibrary"
22292 - lt_cv_dlopen_libs=
22296 - lt_cv_dlopen="dlopen"
22297 - lt_cv_dlopen_libs=
22301 - # if libdl is installed we need to link against it
22302 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
22303 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
22304 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
22305 - echo $ECHO_N "(cached) $ECHO_C" >&6
22307 - ac_check_lib_save_LIBS=$LIBS
22309 -cat >conftest.$ac_ext <<_ACEOF
22312 -cat confdefs.h >>conftest.$ac_ext
22313 -cat >>conftest.$ac_ext <<_ACEOF
22314 -/* end confdefs.h. */
22316 -/* Override any gcc2 internal prototype to avoid an error. */
22317 -#ifdef __cplusplus
22320 -/* We use char because int might match the return type of a gcc2
22321 - builtin and then its argument prototype would still apply. */
22331 -rm -f conftest.$ac_objext conftest$ac_exeext
22332 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22333 - (eval $ac_link) 2>conftest.er1
22335 - grep -v '^ *+' conftest.er1 >conftest.err
22336 - rm -f conftest.er1
22337 - cat conftest.err >&5
22338 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22339 - (exit $ac_status); } &&
22340 - { ac_try='test -z "$ac_cxx_werror_flag"
22341 - || test ! -s conftest.err'
22342 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22343 - (eval $ac_try) 2>&5
22345 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 - (exit $ac_status); }; } &&
22347 - { ac_try='test -s conftest$ac_exeext'
22348 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22349 - (eval $ac_try) 2>&5
22351 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22352 - (exit $ac_status); }; }; then
22353 - ac_cv_lib_dl_dlopen=yes
22355 - echo "$as_me: failed program was:" >&5
22356 -sed 's/^/| /' conftest.$ac_ext >&5
22358 -ac_cv_lib_dl_dlopen=no
22360 -rm -f conftest.err conftest.$ac_objext \
22361 - conftest$ac_exeext conftest.$ac_ext
22362 -LIBS=$ac_check_lib_save_LIBS
22364 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
22365 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
22366 -if test $ac_cv_lib_dl_dlopen = yes; then
22367 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
22370 - lt_cv_dlopen="dyld"
22371 - lt_cv_dlopen_libs=
22372 - lt_cv_dlopen_self=yes
22379 - echo "$as_me:$LINENO: checking for shl_load" >&5
22380 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
22381 -if test "${ac_cv_func_shl_load+set}" = set; then
22382 - echo $ECHO_N "(cached) $ECHO_C" >&6
22384 - cat >conftest.$ac_ext <<_ACEOF
22387 -cat confdefs.h >>conftest.$ac_ext
22388 -cat >>conftest.$ac_ext <<_ACEOF
22389 -/* end confdefs.h. */
22390 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
22391 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
22392 -#define shl_load innocuous_shl_load
22394 -/* System header to define __stub macros and hopefully few prototypes,
22395 - which can conflict with char shl_load (); below.
22396 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22397 - <limits.h> exists even on freestanding compilers. */
22400 -# include <limits.h>
22402 -# include <assert.h>
22407 -/* Override any gcc2 internal prototype to avoid an error. */
22408 -#ifdef __cplusplus
22412 -/* We use char because int might match the return type of a gcc2
22413 - builtin and then its argument prototype would still apply. */
22415 -/* The GNU C library defines this for functions which it implements
22416 - to always fail with ENOSYS. Some functions are actually named
22417 - something starting with __ and the normal name is an alias. */
22418 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
22421 -char (*f) () = shl_load;
22423 -#ifdef __cplusplus
22430 -return f != shl_load;
22435 -rm -f conftest.$ac_objext conftest$ac_exeext
22436 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22437 - (eval $ac_link) 2>conftest.er1
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
22449 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22450 - (exit $ac_status); }; } &&
22451 - { ac_try='test -s conftest$ac_exeext'
22452 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22453 - (eval $ac_try) 2>&5
22455 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22456 - (exit $ac_status); }; }; then
22457 - ac_cv_func_shl_load=yes
22459 - echo "$as_me: failed program was:" >&5
22460 -sed 's/^/| /' conftest.$ac_ext >&5
22462 -ac_cv_func_shl_load=no
22464 -rm -f conftest.err conftest.$ac_objext \
22465 - conftest$ac_exeext conftest.$ac_ext
22467 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
22468 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
22469 -if test $ac_cv_func_shl_load = yes; then
22470 - lt_cv_dlopen="shl_load"
22472 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
22473 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
22474 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
22475 - echo $ECHO_N "(cached) $ECHO_C" >&6
22477 - ac_check_lib_save_LIBS=$LIBS
22478 -LIBS="-ldld $LIBS"
22479 -cat >conftest.$ac_ext <<_ACEOF
22482 -cat confdefs.h >>conftest.$ac_ext
22483 -cat >>conftest.$ac_ext <<_ACEOF
22484 -/* end confdefs.h. */
22486 -/* Override any gcc2 internal prototype to avoid an error. */
22487 -#ifdef __cplusplus
22490 -/* We use char because int might match the return type of a gcc2
22491 - builtin and then its argument prototype would still apply. */
22501 -rm -f conftest.$ac_objext conftest$ac_exeext
22502 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22503 - (eval $ac_link) 2>conftest.er1
22505 - grep -v '^ *+' conftest.er1 >conftest.err
22506 - rm -f conftest.er1
22507 - cat conftest.err >&5
22508 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22509 - (exit $ac_status); } &&
22510 - { ac_try='test -z "$ac_cxx_werror_flag"
22511 - || test ! -s conftest.err'
22512 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22513 - (eval $ac_try) 2>&5
22515 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22516 - (exit $ac_status); }; } &&
22517 - { ac_try='test -s conftest$ac_exeext'
22518 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22519 - (eval $ac_try) 2>&5
22521 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 - (exit $ac_status); }; }; then
22523 - ac_cv_lib_dld_shl_load=yes
22525 - echo "$as_me: failed program was:" >&5
22526 -sed 's/^/| /' conftest.$ac_ext >&5
22528 -ac_cv_lib_dld_shl_load=no
22530 -rm -f conftest.err conftest.$ac_objext \
22531 - conftest$ac_exeext conftest.$ac_ext
22532 -LIBS=$ac_check_lib_save_LIBS
22534 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
22535 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
22536 -if test $ac_cv_lib_dld_shl_load = yes; then
22537 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
22539 - echo "$as_me:$LINENO: checking for dlopen" >&5
22540 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
22541 -if test "${ac_cv_func_dlopen+set}" = set; then
22542 - echo $ECHO_N "(cached) $ECHO_C" >&6
22544 - cat >conftest.$ac_ext <<_ACEOF
22547 -cat confdefs.h >>conftest.$ac_ext
22548 -cat >>conftest.$ac_ext <<_ACEOF
22549 -/* end confdefs.h. */
22550 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
22551 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
22552 -#define dlopen innocuous_dlopen
22554 -/* System header to define __stub macros and hopefully few prototypes,
22555 - which can conflict with char dlopen (); below.
22556 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22557 - <limits.h> exists even on freestanding compilers. */
22560 -# include <limits.h>
22562 -# include <assert.h>
22567 -/* Override any gcc2 internal prototype to avoid an error. */
22568 -#ifdef __cplusplus
22572 -/* We use char because int might match the return type of a gcc2
22573 - builtin and then its argument prototype would still apply. */
22575 -/* The GNU C library defines this for functions which it implements
22576 - to always fail with ENOSYS. Some functions are actually named
22577 - something starting with __ and the normal name is an alias. */
22578 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
22581 -char (*f) () = dlopen;
22583 -#ifdef __cplusplus
22590 -return f != dlopen;
22595 -rm -f conftest.$ac_objext conftest$ac_exeext
22596 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22597 - (eval $ac_link) 2>conftest.er1
22599 - grep -v '^ *+' conftest.er1 >conftest.err
22600 - rm -f conftest.er1
22601 - cat conftest.err >&5
22602 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 - (exit $ac_status); } &&
22604 - { ac_try='test -z "$ac_cxx_werror_flag"
22605 - || test ! -s conftest.err'
22606 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22607 - (eval $ac_try) 2>&5
22609 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22610 - (exit $ac_status); }; } &&
22611 - { ac_try='test -s conftest$ac_exeext'
22612 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22613 - (eval $ac_try) 2>&5
22615 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616 - (exit $ac_status); }; }; then
22617 - ac_cv_func_dlopen=yes
22619 - echo "$as_me: failed program was:" >&5
22620 -sed 's/^/| /' conftest.$ac_ext >&5
22622 -ac_cv_func_dlopen=no
22624 -rm -f conftest.err conftest.$ac_objext \
22625 - conftest$ac_exeext conftest.$ac_ext
22627 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
22628 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
22629 -if test $ac_cv_func_dlopen = yes; then
22630 - lt_cv_dlopen="dlopen"
22632 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
22633 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
22634 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
22635 - echo $ECHO_N "(cached) $ECHO_C" >&6
22637 - ac_check_lib_save_LIBS=$LIBS
22639 -cat >conftest.$ac_ext <<_ACEOF
22642 -cat confdefs.h >>conftest.$ac_ext
22643 -cat >>conftest.$ac_ext <<_ACEOF
22644 -/* end confdefs.h. */
22646 -/* Override any gcc2 internal prototype to avoid an error. */
22647 -#ifdef __cplusplus
22650 -/* We use char because int might match the return type of a gcc2
22651 - builtin and then its argument prototype would still apply. */
22661 -rm -f conftest.$ac_objext conftest$ac_exeext
22662 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22663 - (eval $ac_link) 2>conftest.er1
22665 - grep -v '^ *+' conftest.er1 >conftest.err
22666 - rm -f conftest.er1
22667 - cat conftest.err >&5
22668 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22669 - (exit $ac_status); } &&
22670 - { ac_try='test -z "$ac_cxx_werror_flag"
22671 - || test ! -s conftest.err'
22672 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22673 - (eval $ac_try) 2>&5
22675 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22676 - (exit $ac_status); }; } &&
22677 - { ac_try='test -s conftest$ac_exeext'
22678 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22679 - (eval $ac_try) 2>&5
22681 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22682 - (exit $ac_status); }; }; then
22683 - ac_cv_lib_dl_dlopen=yes
22685 - echo "$as_me: failed program was:" >&5
22686 -sed 's/^/| /' conftest.$ac_ext >&5
22688 -ac_cv_lib_dl_dlopen=no
22690 -rm -f conftest.err conftest.$ac_objext \
22691 - conftest$ac_exeext conftest.$ac_ext
22692 -LIBS=$ac_check_lib_save_LIBS
22694 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
22695 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
22696 -if test $ac_cv_lib_dl_dlopen = yes; then
22697 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
22699 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
22700 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
22701 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
22702 - echo $ECHO_N "(cached) $ECHO_C" >&6
22704 - ac_check_lib_save_LIBS=$LIBS
22705 -LIBS="-lsvld $LIBS"
22706 -cat >conftest.$ac_ext <<_ACEOF
22709 -cat confdefs.h >>conftest.$ac_ext
22710 -cat >>conftest.$ac_ext <<_ACEOF
22711 -/* end confdefs.h. */
22713 -/* Override any gcc2 internal prototype to avoid an error. */
22714 -#ifdef __cplusplus
22717 -/* We use char because int might match the return type of a gcc2
22718 - builtin and then its argument prototype would still apply. */
22728 -rm -f conftest.$ac_objext conftest$ac_exeext
22729 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22730 - (eval $ac_link) 2>conftest.er1
22732 - grep -v '^ *+' conftest.er1 >conftest.err
22733 - rm -f conftest.er1
22734 - cat conftest.err >&5
22735 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22736 - (exit $ac_status); } &&
22737 - { ac_try='test -z "$ac_cxx_werror_flag"
22738 - || test ! -s conftest.err'
22739 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22740 - (eval $ac_try) 2>&5
22742 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22743 - (exit $ac_status); }; } &&
22744 - { ac_try='test -s conftest$ac_exeext'
22745 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22746 - (eval $ac_try) 2>&5
22748 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22749 - (exit $ac_status); }; }; then
22750 - ac_cv_lib_svld_dlopen=yes
22752 - echo "$as_me: failed program was:" >&5
22753 -sed 's/^/| /' conftest.$ac_ext >&5
22755 -ac_cv_lib_svld_dlopen=no
22757 -rm -f conftest.err conftest.$ac_objext \
22758 - conftest$ac_exeext conftest.$ac_ext
22759 -LIBS=$ac_check_lib_save_LIBS
22761 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
22762 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
22763 -if test $ac_cv_lib_svld_dlopen = yes; then
22764 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
22766 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
22767 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
22768 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
22769 - echo $ECHO_N "(cached) $ECHO_C" >&6
22771 - ac_check_lib_save_LIBS=$LIBS
22772 -LIBS="-ldld $LIBS"
22773 -cat >conftest.$ac_ext <<_ACEOF
22776 -cat confdefs.h >>conftest.$ac_ext
22777 -cat >>conftest.$ac_ext <<_ACEOF
22778 -/* end confdefs.h. */
22780 -/* Override any gcc2 internal prototype to avoid an error. */
22781 -#ifdef __cplusplus
22784 -/* We use char because int might match the return type of a gcc2
22785 - builtin and then its argument prototype would still apply. */
22795 -rm -f conftest.$ac_objext conftest$ac_exeext
22796 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22797 - (eval $ac_link) 2>conftest.er1
22799 - grep -v '^ *+' conftest.er1 >conftest.err
22800 - rm -f conftest.er1
22801 - cat conftest.err >&5
22802 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22803 - (exit $ac_status); } &&
22804 - { ac_try='test -z "$ac_cxx_werror_flag"
22805 - || test ! -s conftest.err'
22806 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22807 - (eval $ac_try) 2>&5
22809 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22810 - (exit $ac_status); }; } &&
22811 - { ac_try='test -s conftest$ac_exeext'
22812 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22813 - (eval $ac_try) 2>&5
22815 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22816 - (exit $ac_status); }; }; then
22817 - ac_cv_lib_dld_dld_link=yes
22819 - echo "$as_me: failed program was:" >&5
22820 -sed 's/^/| /' conftest.$ac_ext >&5
22822 -ac_cv_lib_dld_dld_link=no
22824 -rm -f conftest.err conftest.$ac_objext \
22825 - conftest$ac_exeext conftest.$ac_ext
22826 -LIBS=$ac_check_lib_save_LIBS
22828 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
22829 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
22830 -if test $ac_cv_lib_dld_dld_link = yes; then
22831 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
22852 - if test "x$lt_cv_dlopen" != xno; then
22853 - enable_dlopen=yes
22858 - case $lt_cv_dlopen in
22860 - save_CPPFLAGS="$CPPFLAGS"
22861 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
22863 - save_LDFLAGS="$LDFLAGS"
22864 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
22866 - save_LIBS="$LIBS"
22867 - LIBS="$lt_cv_dlopen_libs $LIBS"
22869 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
22870 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
22871 -if test "${lt_cv_dlopen_self+set}" = set; then
22872 - echo $ECHO_N "(cached) $ECHO_C" >&6
22874 - if test "$cross_compiling" = yes; then :
22875 - lt_cv_dlopen_self=cross
22877 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
22878 - lt_status=$lt_dlunknown
22879 - cat > conftest.$ac_ext <<EOF
22880 -#line 12536 "configure"
22881 -#include "confdefs.h"
22884 -#include <dlfcn.h>
22887 -#include <stdio.h>
22889 -#ifdef RTLD_GLOBAL
22890 -# define LT_DLGLOBAL RTLD_GLOBAL
22893 -# define LT_DLGLOBAL DL_GLOBAL
22895 -# define LT_DLGLOBAL 0
22899 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
22900 - find out it does not work in some platform. */
22901 -#ifndef LT_DLLAZY_OR_NOW
22903 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
22906 -# define LT_DLLAZY_OR_NOW DL_LAZY
22909 -# define LT_DLLAZY_OR_NOW RTLD_NOW
22912 -# define LT_DLLAZY_OR_NOW DL_NOW
22914 -# define LT_DLLAZY_OR_NOW 0
22921 -#ifdef __cplusplus
22922 -extern "C" void exit (int);
22925 -void fnord() { int i=42;}
22928 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
22929 - int status = $lt_dlunknown;
22933 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
22934 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
22935 - /* dlclose (self); */
22941 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22942 - (eval $ac_link) 2>&5
22944 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22945 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
22946 - (./conftest; exit; ) 2>/dev/null
22948 - case x$lt_status in
22949 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
22950 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
22951 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
22954 - # compilation failed
22955 - lt_cv_dlopen_self=no
22962 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
22963 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
22965 - if test "x$lt_cv_dlopen_self" = xyes; then
22966 - LDFLAGS="$LDFLAGS $link_static_flag"
22967 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
22968 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
22969 -if test "${lt_cv_dlopen_self_static+set}" = set; then
22970 - echo $ECHO_N "(cached) $ECHO_C" >&6
22972 - if test "$cross_compiling" = yes; then :
22973 - lt_cv_dlopen_self_static=cross
22975 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
22976 - lt_status=$lt_dlunknown
22977 - cat > conftest.$ac_ext <<EOF
22978 -#line 12634 "configure"
22979 -#include "confdefs.h"
22982 -#include <dlfcn.h>
22985 -#include <stdio.h>
22987 -#ifdef RTLD_GLOBAL
22988 -# define LT_DLGLOBAL RTLD_GLOBAL
22991 -# define LT_DLGLOBAL DL_GLOBAL
22993 -# define LT_DLGLOBAL 0
22997 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
22998 - find out it does not work in some platform. */
22999 -#ifndef LT_DLLAZY_OR_NOW
23001 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
23004 -# define LT_DLLAZY_OR_NOW DL_LAZY
23007 -# define LT_DLLAZY_OR_NOW RTLD_NOW
23010 -# define LT_DLLAZY_OR_NOW DL_NOW
23012 -# define LT_DLLAZY_OR_NOW 0
23019 -#ifdef __cplusplus
23020 -extern "C" void exit (int);
23023 -void fnord() { int i=42;}
23026 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
23027 - int status = $lt_dlunknown;
23031 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
23032 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
23033 - /* dlclose (self); */
23039 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23040 - (eval $ac_link) 2>&5
23042 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
23043 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
23044 - (./conftest; exit; ) 2>/dev/null
23046 - case x$lt_status in
23047 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
23048 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
23049 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
23052 - # compilation failed
23053 - lt_cv_dlopen_self_static=no
23060 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
23061 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
23064 - CPPFLAGS="$save_CPPFLAGS"
23065 - LDFLAGS="$save_LDFLAGS"
23066 - LIBS="$save_LIBS"
23070 - case $lt_cv_dlopen_self in
23071 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
23072 - *) enable_dlopen_self=unknown ;;
23075 - case $lt_cv_dlopen_self_static in
23076 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
23077 - *) enable_dlopen_self_static=unknown ;;
23082 # The else clause should only fire when bootstrapping the
23083 # libtool distribution, otherwise you forgot to ship ltmain.sh
23084 @@ -12748,7 +13758,7 @@ if test -f "$ltmain"; then
23085 # Now quote all the things that may contain metacharacters while being
23086 # careful not to overquote the AC_SUBSTed values. We take copies of the
23087 # variables and quote the copies for generation of the libtool script.
23088 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
23089 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23091 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23092 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23093 @@ -12775,6 +13785,7 @@ if test -f "$ltmain"; then
23096 compiler_lib_search_path_CXX \
23097 + compiler_lib_search_dirs_CXX \
23099 archive_expsym_cmds_CXX \
23100 postinstall_cmds_CXX \
23101 @@ -12790,6 +13801,7 @@ if test -f "$ltmain"; then
23103 module_expsym_cmds_CXX \
23104 lt_cv_prog_compiler_c_o_CXX \
23105 + fix_srcfile_path_CXX \
23106 exclude_expsyms_CXX \
23107 include_expsyms_CXX; do
23109 @@ -12849,6 +13861,12 @@ fast_install=$enable_fast_install
23111 host_alias=$host_alias
23115 +# The build system.
23116 +build_alias=$build_alias
23118 +build_os=$build_os
23120 # An echo program that does not interpret backslashes.
23122 @@ -12860,6 +13878,9 @@ AR_FLAGS=$lt_AR_FLAGS
23126 +# LTCC compiler flags.
23127 +LTCFLAGS=$lt_LTCFLAGS
23129 # A language-specific compiler.
23130 CC=$lt_compiler_CXX
23132 @@ -12925,7 +13946,7 @@ max_cmd_len=$lt_cv_sys_max_cmd_len
23133 # Does compiler simultaneously support -c and -o options?
23134 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23136 -# Must we lock files when doing compilation ?
23137 +# Must we lock files when doing compilation?
23138 need_locks=$lt_need_locks
23140 # Do we need the lib prefix for modules?
23141 @@ -13013,6 +14034,10 @@ predeps=$lt_predeps_CXX
23143 postdeps=$lt_postdeps_CXX
23145 +# The directories searched by this compiler when creating a shared
23147 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23149 # The library search path used internally by the compiler when linking
23150 # a shared library.
23151 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23152 @@ -13101,7 +14126,7 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23153 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23155 # Fix the shell variable \$srcfile for the compiler.
23156 -fix_srcfile_path="$fix_srcfile_path_CXX"
23157 +fix_srcfile_path=$lt_fix_srcfile_path
23159 # Set to yes if exported symbols are required.
23160 always_export_symbols=$always_export_symbols_CXX
23161 @@ -13192,39 +14217,72 @@ objext=o
23164 # Code to be used in simple compile tests
23165 -lt_simple_compile_test_code=" subroutine t\n return\n end\n"
23166 +lt_simple_compile_test_code="\
23172 # Code to be used in simple link tests
23173 -lt_simple_link_test_code=" program t\n end\n"
23174 +lt_simple_link_test_code="\
23179 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
23181 # If no C compiler was specified, use CC.
23184 +# If no C compiler flags were specified, use CFLAGS.
23185 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
23187 # Allow CC to be a program name with arguments.
23191 +# save warnings/boilerplate of simple test code
23192 +ac_outfile=conftest.$ac_objext
23193 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
23194 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23195 +_lt_compiler_boilerplate=`cat conftest.err`
23198 +ac_outfile=conftest.$ac_objext
23199 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
23200 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23201 +_lt_linker_boilerplate=`cat conftest.err`
23205 # Allow CC to be a program name with arguments.
23210 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
23211 +for cc_temp in $compiler""; do
23213 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23214 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23219 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23222 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
23223 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
23224 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
23225 -echo "${ECHO_T}$can_build_shared" >&6
23226 +{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
23227 +$as_echo_n "checking if libtool supports shared libraries... " >&6; }
23228 +{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
23229 +$as_echo "$can_build_shared" >&6; }
23231 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
23232 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
23233 +{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
23234 +$as_echo_n "checking whether to build shared libraries... " >&6; }
23235 test "$can_build_shared" = "no" && enable_shared=no
23237 # On AIX, shared libraries and static libraries use the same namespace, and
23238 # are all built from PIC.
23239 -case "$host_os" in
23242 test "$enable_shared" = yes && enable_static=no
23243 if test -n "$RANLIB"; then
23244 @@ -13232,21 +14290,21 @@ aix3*)
23245 postinstall_cmds='$RANLIB $lib'
23249 - test "$enable_shared" = yes && enable_static=no
23251 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
23252 + test "$enable_shared" = yes && enable_static=no
23256 -echo "$as_me:$LINENO: result: $enable_shared" >&5
23257 -echo "${ECHO_T}$enable_shared" >&6
23258 +{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
23259 +$as_echo "$enable_shared" >&6; }
23261 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
23262 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
23263 +{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
23264 +$as_echo_n "checking whether to build static libraries... " >&6; }
23265 # Make sure either enable_shared or enable_static is yes.
23266 test "$enable_shared" = yes || enable_static=yes
23267 -echo "$as_me:$LINENO: result: $enable_static" >&5
23268 -echo "${ECHO_T}$enable_static" >&6
23270 -test "$ld_shlibs_F77" = no && can_build_shared=no
23271 +{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
23272 +$as_echo "$enable_static" >&6; }
23276 @@ -13255,8 +14313,8 @@ lt_prog_compiler_wl_F77=
23277 lt_prog_compiler_pic_F77=
23278 lt_prog_compiler_static_F77=
23280 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
23281 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23282 +{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
23283 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
23285 if test "$GCC" = yes; then
23286 lt_prog_compiler_wl_F77='-Wl,'
23287 @@ -13278,13 +14336,15 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23288 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
23291 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
23292 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
23293 # PIC is the default for these OSes.
23296 - mingw* | pw32* | os2*)
23297 + mingw* | cygwin* | pw32* | os2*)
23298 # This hack is so that the source file can tell whether it is being
23299 # built for inclusion in a dll (and should export symbols for example).
23300 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
23301 + # (--disable-auto-import) libraries
23302 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
23305 @@ -13294,6 +14354,11 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23306 lt_prog_compiler_pic_F77='-fno-common'
23310 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
23311 + # Instead, we relocate shared libraries at runtime.
23315 # Just because we use GCC doesn't mean we suddenly get shared libraries
23316 # on systems that don't support them.
23317 @@ -13310,7 +14375,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23319 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23320 # not for PA HP-UX.
23321 - case "$host_cpu" in
23322 + case $host_cpu in
23326 @@ -13336,8 +14401,18 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23327 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
23331 + # PIC is the default on this platform
23332 + # Common symbols not allowed in MH_DYLIB files
23333 + case $cc_basename in
23335 + lt_prog_compiler_pic_F77='-qnocommon'
23336 + lt_prog_compiler_wl_F77='-Wl,'
23341 - mingw* | pw32* | os2*)
23342 + mingw* | cygwin* | pw32* | os2*)
23343 # This hack is so that the source file can tell whether it is being
23344 # built for inclusion in a dll (and should export symbols for example).
23345 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
23346 @@ -13347,7 +14422,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23347 lt_prog_compiler_wl_F77='-Wl,'
23348 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23349 # not for PA HP-UX.
23350 - case "$host_cpu" in
23351 + case $host_cpu in
23355 @@ -13370,18 +14445,41 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23356 lt_prog_compiler_static_F77='-Bstatic'
23361 + linux* | k*bsd*-gnu)
23362 + case $cc_basename in
23364 lt_prog_compiler_wl_F77='-Wl,'
23365 lt_prog_compiler_pic_F77='-KPIC'
23366 lt_prog_compiler_static_F77='-static'
23368 + pgcc* | pgf77* | pgf90* | pgf95*)
23369 + # Portland Group compilers (*not* the Pentium gcc compiler,
23370 + # which looks to be a dead project)
23371 + lt_prog_compiler_wl_F77='-Wl,'
23372 + lt_prog_compiler_pic_F77='-fpic'
23373 + lt_prog_compiler_static_F77='-Bstatic'
23376 lt_prog_compiler_wl_F77='-Wl,'
23377 # All Alpha code is PIC.
23378 lt_prog_compiler_static_F77='-non_shared'
23381 + case `$CC -V 2>&1 | sed 5q` in
23384 + lt_prog_compiler_pic_F77='-KPIC'
23385 + lt_prog_compiler_static_F77='-Bstatic'
23386 + lt_prog_compiler_wl_F77='-Wl,'
23389 + # Sun Fortran 8.3 passes all unrecognized flags to the linker
23390 + lt_prog_compiler_pic_F77='-KPIC'
23391 + lt_prog_compiler_static_F77='-Bstatic'
23392 + lt_prog_compiler_wl_F77=''
23399 @@ -13391,15 +14489,19 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23400 lt_prog_compiler_static_F77='-non_shared'
23404 - lt_prog_compiler_pic_F77='-Kpic'
23405 - lt_prog_compiler_static_F77='-dn'
23407 + lt_prog_compiler_static_F77='-non_shared'
23411 - lt_prog_compiler_wl_F77='-Wl,'
23412 lt_prog_compiler_pic_F77='-KPIC'
23413 lt_prog_compiler_static_F77='-Bstatic'
23414 + case $cc_basename in
23415 + f77* | f90* | f95*)
23416 + lt_prog_compiler_wl_F77='-Qoption ld ';;
23418 + lt_prog_compiler_wl_F77='-Wl,';;
23423 @@ -13408,7 +14510,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23424 lt_prog_compiler_static_F77='-Bstatic'
23427 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
23428 + sysv4 | sysv4.2uw2* | sysv4.3*)
23429 lt_prog_compiler_wl_F77='-Wl,'
23430 lt_prog_compiler_pic_F77='-KPIC'
23431 lt_prog_compiler_static_F77='-Bstatic'
23432 @@ -13421,6 +14523,17 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23436 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
23437 + lt_prog_compiler_wl_F77='-Wl,'
23438 + lt_prog_compiler_pic_F77='-KPIC'
23439 + lt_prog_compiler_static_F77='-Bstatic'
23443 + lt_prog_compiler_wl_F77='-Wl,'
23444 + lt_prog_compiler_can_build_shared_F77=no
23448 lt_prog_compiler_pic_F77='-pic'
23449 lt_prog_compiler_static_F77='-Bstatic'
23450 @@ -13432,22 +14545,22 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23454 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
23455 -echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
23456 +{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
23457 +$as_echo "$lt_prog_compiler_pic_F77" >&6; }
23460 # Check to make sure the PIC flag actually works.
23462 if test -n "$lt_prog_compiler_pic_F77"; then
23464 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
23465 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
23466 -if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
23467 - echo $ECHO_N "(cached) $ECHO_C" >&6
23468 +{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
23469 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
23470 +if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
23471 + $as_echo_n "(cached) " >&6
23473 - lt_prog_compiler_pic_works_F77=no
23474 + lt_cv_prog_compiler_pic_works_F77=no
23475 ac_outfile=conftest.$ac_objext
23476 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
23477 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
23478 lt_compiler_flag="$lt_prog_compiler_pic_F77"
23479 # Insert the option either (1) after the last *FLAGS variable, or
23480 # (2) before a word containing "conftest.", or (3) at the end.
23481 @@ -13455,28 +14568,30 @@ else
23482 # with a dollar sign (not a hyphen), so the echo should work correctly.
23483 # The option is referenced via a variable to avoid confusing sed.
23484 lt_compile=`echo "$ac_compile" | $SED \
23485 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
23486 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23487 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23488 -e 's:$: $lt_compiler_flag:'`
23489 - (eval echo "\"\$as_me:13461: $lt_compile\"" >&5)
23490 + (eval echo "\"\$as_me:14574: $lt_compile\"" >&5)
23491 (eval "$lt_compile" 2>conftest.err)
23493 cat conftest.err >&5
23494 - echo "$as_me:13465: \$? = $ac_status" >&5
23495 + echo "$as_me:14578: \$? = $ac_status" >&5
23496 if (exit $ac_status) && test -s "$ac_outfile"; then
23497 # The compiler can only warn and ignore the option if not recognized
23498 - # So say no if there are warnings
23499 - if test ! -s conftest.err; then
23500 - lt_prog_compiler_pic_works_F77=yes
23501 + # So say no if there are warnings other than the usual output.
23502 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
23503 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23504 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
23505 + lt_cv_prog_compiler_pic_works_F77=yes
23511 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
23512 -echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
23513 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
23514 +$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
23516 -if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
23517 +if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
23518 case $lt_prog_compiler_pic_F77 in
23520 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
23521 @@ -13487,7 +14602,7 @@ else
23525 -case "$host_os" in
23527 # For platforms which do not support PIC, -DPIC is meaningless:
23529 lt_prog_compiler_pic_F77=
23530 @@ -13497,17 +14612,59 @@ case "$host_os" in
23534 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
23535 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
23537 +# Check to make sure the static flag actually works.
23539 +wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
23540 +{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
23541 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
23542 +if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
23543 + $as_echo_n "(cached) " >&6
23545 + lt_cv_prog_compiler_static_works_F77=no
23546 + save_LDFLAGS="$LDFLAGS"
23547 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
23548 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
23549 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
23550 + # The linker can only warn and ignore the option if not recognized
23551 + # So say no if there are warnings
23552 + if test -s conftest.err; then
23553 + # Append any errors to the config.log.
23554 + cat conftest.err 1>&5
23555 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
23556 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23557 + if diff conftest.exp conftest.er2 >/dev/null; then
23558 + lt_cv_prog_compiler_static_works_F77=yes
23561 + lt_cv_prog_compiler_static_works_F77=yes
23565 + LDFLAGS="$save_LDFLAGS"
23568 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
23569 +$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
23571 +if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
23574 + lt_prog_compiler_static_F77=
23578 +{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
23579 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
23580 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
23581 - echo $ECHO_N "(cached) $ECHO_C" >&6
23582 + $as_echo_n "(cached) " >&6
23584 lt_cv_prog_compiler_c_o_F77=no
23585 $rm -r conftest 2>/dev/null
23589 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
23590 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
23592 lt_compiler_flag="-o out/conftest2.$ac_objext"
23593 # Insert the option either (1) after the last *FLAGS variable, or
23594 @@ -13515,23 +14672,25 @@ else
23595 # Note that $ac_compile itself does not contain backslashes and begins
23596 # with a dollar sign (not a hyphen), so the echo should work correctly.
23597 lt_compile=`echo "$ac_compile" | $SED \
23598 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
23599 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23600 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23601 -e 's:$: $lt_compiler_flag:'`
23602 - (eval echo "\"\$as_me:13521: $lt_compile\"" >&5)
23603 + (eval echo "\"\$as_me:14678: $lt_compile\"" >&5)
23604 (eval "$lt_compile" 2>out/conftest.err)
23606 cat out/conftest.err >&5
23607 - echo "$as_me:13525: \$? = $ac_status" >&5
23608 + echo "$as_me:14682: \$? = $ac_status" >&5
23609 if (exit $ac_status) && test -s out/conftest2.$ac_objext
23611 # The compiler can only warn and ignore the option if not recognized
23612 # So say no if there are warnings
23613 - if test ! -s out/conftest.err; then
23614 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
23615 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
23616 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
23617 lt_cv_prog_compiler_c_o_F77=yes
23623 # SGI C++ compiler will create directory out/ii_files/ for
23624 # template instantiation
23625 @@ -13542,34 +14701,34 @@ else
23629 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
23630 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
23631 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
23632 +$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
23635 hard_links="nottested"
23636 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
23637 # do not overwrite the value of need_locks provided by the user
23638 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
23639 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
23640 + { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
23641 +$as_echo_n "checking if we can lock with hard links... " >&6; }
23644 ln conftest.a conftest.b 2>/dev/null && hard_links=no
23646 ln conftest.a conftest.b 2>&5 || hard_links=no
23647 ln conftest.a conftest.b 2>/dev/null && hard_links=no
23648 - echo "$as_me:$LINENO: result: $hard_links" >&5
23649 -echo "${ECHO_T}$hard_links" >&6
23650 + { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
23651 +$as_echo "$hard_links" >&6; }
23652 if test "$hard_links" = no; then
23653 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
23654 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
23655 + { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
23656 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
23663 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
23664 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
23665 +{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
23666 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
23669 allow_undefined_flag_F77=
23670 @@ -13600,13 +14759,24 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
23671 # it will be wrapped by ` (' and `)$', so one must not match beginning or
23672 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
23673 # as well as any symbol that contains `d'.
23674 - exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
23675 + exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
23676 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
23677 # platforms (ab)use it in PIC code, but their linkers get confused if
23678 # the symbol is explicitly referenced. Since portable code cannot
23679 # rely on this symbol name, it's probably fine to never include it in
23680 # preloaded symbol tables.
23681 + # Exclude shared library initialization/finalization symbols.
23682 extract_expsyms_cmds=
23683 + # Just being paranoid about ensuring that cc_basename is set.
23684 + for cc_temp in $compiler""; do
23686 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23687 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23692 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23695 cygwin* | mingw* | pw32*)
23696 @@ -13617,6 +14787,10 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
23701 + # we just hope/assume this is gcc and not c89 (= MSVC++)
23707 @@ -13627,9 +14801,30 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
23708 # If archive_cmds runs LD, not CC, wlarc should be empty
23711 + # Set some defaults for GNU ld with shared library support. These
23712 + # are reset later if shared libraries are not supported. Putting them
23713 + # here allows them to be overridden if necessary.
23714 + runpath_var=LD_RUN_PATH
23715 + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
23716 + export_dynamic_flag_spec_F77='${wl}--export-dynamic'
23717 + # ancient GNU ld didn't support --whole-archive et. al.
23718 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
23719 + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
23721 + whole_archive_flag_spec_F77=
23723 + supports_anon_versioning=no
23724 + case `$LD -v 2>/dev/null` in
23725 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
23726 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
23727 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
23728 + *\ 2.11.*) ;; # other 2.11 versions
23729 + *) supports_anon_versioning=yes ;;
23732 # See if GNU ld supports shared libraries.
23734 - aix3* | aix4* | aix5*)
23736 # On AIX/PPC, the GNU linker is very broken
23737 if test "$host_cpu" != ia64; then
23739 @@ -13677,10 +14872,10 @@ EOF
23740 allow_undefined_flag_F77=unsupported
23741 always_export_symbols_F77=no
23742 enable_shared_with_static_runtimes_F77=yes
23743 - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
23744 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
23746 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
23747 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
23748 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
23749 # If the export-symbols file already is a .def file (1st line
23750 # is EXPORTS), use it as is; otherwise, prepend...
23751 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
23752 @@ -13689,13 +14884,69 @@ EOF
23753 echo EXPORTS > $output_objdir/$soname.def;
23754 cat $export_symbols >> $output_objdir/$soname.def;
23756 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
23757 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
23766 + hardcode_direct_F77=no
23767 + hardcode_shlibpath_var_F77=no
23768 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
23769 + export_dynamic_flag_spec_F77='${wl}-E'
23770 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
23771 + # Instead, shared libraries are loaded at an image base (0x10000000 by
23772 + # default) and relocated if they conflict, which is a slow very memory
23773 + # consuming and fragmenting process. To avoid this, we pick a random,
23774 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
23775 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
23776 + archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
23777 + archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
23780 + gnu* | linux* | k*bsd*-gnu)
23781 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
23783 + case $cc_basename,$host_cpu in
23784 + pgcc*) # Portland Group C compiler
23785 + whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
23786 + tmp_addflag=' $pic_flag'
23788 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
23789 + whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
23790 + tmp_addflag=' $pic_flag -Mnomain' ;;
23791 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
23792 + tmp_addflag=' -i_dynamic' ;;
23793 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
23794 + tmp_addflag=' -i_dynamic -nofor_main' ;;
23795 + ifc* | ifort*) # Intel Fortran compiler
23796 + tmp_addflag=' -nofor_main' ;;
23798 + case `$CC -V 2>&1 | sed 5q` in
23799 + *Sun\ C*) # Sun C 5.9
23800 + whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
23801 + tmp_sharedflag='-G' ;;
23802 + *Sun\ F*) # Sun Fortran 8.3
23803 + tmp_sharedflag='-G' ;;
23805 + tmp_sharedflag='-shared' ;;
23807 + archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23809 + if test $supports_anon_versioning = yes; then
23810 + archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
23811 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
23812 + $echo "local: *; };" >> $output_objdir/$libname.ver~
23813 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
23815 + link_all_deplibs_F77=no
23821 + netbsd* | netbsdelf*-gnu)
23822 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23823 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
23825 @@ -13705,7 +14956,7 @@ EOF
23829 - solaris* | sysv5*)
23831 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
23834 @@ -13726,6 +14977,33 @@ EOF
23838 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
23839 + case `$LD -v 2>&1` in
23840 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
23842 + cat <<_LT_EOF 1>&2
23844 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
23845 +*** reliably create shared libraries on SCO systems. Therefore, libtool
23846 +*** is disabling shared libraries support. We urge you to upgrade GNU
23847 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
23848 +*** your PATH or compiler configuration so that the native linker is
23849 +*** used, and then restart.
23854 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
23855 + hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
23856 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
23857 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
23866 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
23868 @@ -13733,31 +15011,6 @@ EOF
23869 hardcode_shlibpath_var_F77=no
23873 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
23874 - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23875 - archive_cmds_F77="$tmp_archive_cmds"
23876 - supports_anon_versioning=no
23877 - case `$LD -v 2>/dev/null` in
23878 - *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
23879 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
23880 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
23881 - *\ 2.11.*) ;; # other 2.11 versions
23882 - *) supports_anon_versioning=yes ;;
23884 - if test $supports_anon_versioning = yes; then
23885 - archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
23886 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
23887 -$echo "local: *; };" >> $output_objdir/$libname.ver~
23888 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
23890 - archive_expsym_cmds_F77="$tmp_archive_cmds"
23898 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
23899 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23900 @@ -13768,16 +15021,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
23904 - if test "$ld_shlibs_F77" = yes; then
23905 - runpath_var=LD_RUN_PATH
23906 - hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
23907 - export_dynamic_flag_spec_F77='${wl}--export-dynamic'
23908 - # ancient GNU ld didn't support --whole-archive et. al.
23909 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
23910 - whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
23912 - whole_archive_flag_spec_F77=
23914 + if test "$ld_shlibs_F77" = no; then
23916 + hardcode_libdir_flag_spec_F77=
23917 + export_dynamic_flag_spec_F77=
23918 + whole_archive_flag_spec_F77=
23921 # PORTME fill in a description of your system's linker (not GNU ld)
23922 @@ -13789,14 +15037,14 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
23923 # Note: this linker hardcodes the directories in LIBPATH if there
23924 # are no directories specified by -L.
23925 hardcode_minus_L_F77=yes
23926 - if test "$GCC" = yes && test -z "$link_static_flag"; then
23927 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
23928 # Neither direct hardcoding nor static linking is supported with a
23930 hardcode_direct_F77=unsupported
23936 if test "$host_cpu" = ia64; then
23937 # On IA64, the linker does run time linking by default, so we don't
23938 # have to do anything special.
23939 @@ -13816,13 +15064,14 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
23940 # Test if we are trying to use run time linking or normal
23941 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
23942 # need to do runtime linking.
23943 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
23944 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
23945 for ld_flag in $LDFLAGS; do
23946 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
23947 aix_use_runtimelinking=yes
23954 exp_sym_flag='-bexport'
23955 @@ -13841,7 +15090,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
23956 link_all_deplibs_F77=yes
23958 if test "$GCC" = yes; then
23959 - case $host_os in aix4.012|aix4.012.*)
23960 + case $host_os in aix4.[012]|aix4.[012].*)
23961 # We only want to do this on AIX 4.2 and lower, the check
23962 # below for broken collect2 doesn't work under 4.3+
23963 collect2name=`${CC} -print-prog-name=collect2`
23964 @@ -13849,7 +15098,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
23965 strings "$collect2name" | grep resolve_lib_name >/dev/null
23967 # We have reworked collect2
23968 - hardcode_direct_F77=yes
23971 # We have old collect2
23972 hardcode_direct_F77=unsupported
23973 @@ -13860,8 +15109,12 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
23974 hardcode_libdir_flag_spec_F77='-L$libdir'
23975 hardcode_libdir_separator_F77=
23979 shared_flag='-shared'
23980 + if test "$aix_use_runtimelinking" = yes; then
23981 + shared_flag="$shared_flag "'${wl}-G'
23985 if test "$host_cpu" = ia64; then
23986 @@ -13869,11 +15122,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
23987 # chokes on -Wl,-G. The following line is correct:
23990 - if test "$aix_use_runtimelinking" = yes; then
23991 + if test "$aix_use_runtimelinking" = yes; then
23992 shared_flag='${wl}-G'
23994 shared_flag='${wl}-bM:SRE'
24000 @@ -13891,49 +15144,58 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
24003 rm -f conftest.$ac_objext conftest$ac_exeext
24004 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24005 - (eval $ac_link) 2>conftest.er1
24006 +if { (ac_try="$ac_link"
24007 +case "(($ac_try" in
24008 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24009 + *) ac_try_echo=$ac_try;;
24011 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24012 +$as_echo "$ac_try_echo") >&5
24013 + (eval "$ac_link") 2>conftest.er1
24015 grep -v '^ *+' conftest.er1 >conftest.err
24017 cat conftest.err >&5
24018 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24019 - (exit $ac_status); } &&
24020 - { ac_try='test -z "$ac_f77_werror_flag"
24021 - || test ! -s conftest.err'
24022 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24023 - (eval $ac_try) 2>&5
24025 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 - (exit $ac_status); }; } &&
24027 - { ac_try='test -s conftest$ac_exeext'
24028 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24029 - (eval $ac_try) 2>&5
24031 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24032 - (exit $ac_status); }; }; then
24034 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24036 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24037 + (exit $ac_status); } && {
24038 + test -z "$ac_f77_werror_flag" ||
24039 + test ! -s conftest.err
24040 + } && test -s conftest$ac_exeext && {
24041 + test "$cross_compiling" = yes ||
24042 + $as_test_x conftest$ac_exeext
24045 +lt_aix_libpath_sed='
24046 + /Import File Strings/,/^$/ {
24048 + s/^0 *\(.*\)$/\1/
24052 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24053 # Check for a 64-bit object if we didn't find anything.
24054 -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24056 +if test -z "$aix_libpath"; then
24057 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24060 - echo "$as_me: failed program was:" >&5
24061 + $as_echo "$as_me: failed program was:" >&5
24062 sed 's/^/| /' conftest.$ac_ext >&5
24066 -rm -f conftest.err conftest.$ac_objext \
24068 +rm -rf conftest.dSYM
24069 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24070 conftest$ac_exeext conftest.$ac_ext
24071 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24073 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
24074 - archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
24075 + archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
24077 if test "$host_cpu" = ia64; then
24078 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
24079 allow_undefined_flag_F77="-z nodefs"
24080 - archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
24081 + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
24083 # Determine the default libpath from the value encoded in an empty executable.
24084 cat >conftest.$ac_ext <<_ACEOF
24085 @@ -13942,39 +15204,48 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24088 rm -f conftest.$ac_objext conftest$ac_exeext
24089 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24090 - (eval $ac_link) 2>conftest.er1
24091 +if { (ac_try="$ac_link"
24092 +case "(($ac_try" in
24093 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24094 + *) ac_try_echo=$ac_try;;
24096 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24097 +$as_echo "$ac_try_echo") >&5
24098 + (eval "$ac_link") 2>conftest.er1
24100 grep -v '^ *+' conftest.er1 >conftest.err
24102 cat conftest.err >&5
24103 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24104 - (exit $ac_status); } &&
24105 - { ac_try='test -z "$ac_f77_werror_flag"
24106 - || test ! -s conftest.err'
24107 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24108 - (eval $ac_try) 2>&5
24110 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24111 - (exit $ac_status); }; } &&
24112 - { ac_try='test -s conftest$ac_exeext'
24113 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24114 - (eval $ac_try) 2>&5
24116 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24117 - (exit $ac_status); }; }; then
24119 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24121 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24122 + (exit $ac_status); } && {
24123 + test -z "$ac_f77_werror_flag" ||
24124 + test ! -s conftest.err
24125 + } && test -s conftest$ac_exeext && {
24126 + test "$cross_compiling" = yes ||
24127 + $as_test_x conftest$ac_exeext
24130 +lt_aix_libpath_sed='
24131 + /Import File Strings/,/^$/ {
24133 + s/^0 *\(.*\)$/\1/
24137 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24138 # Check for a 64-bit object if we didn't find anything.
24139 -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24141 +if test -z "$aix_libpath"; then
24142 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24145 - echo "$as_me: failed program was:" >&5
24146 + $as_echo "$as_me: failed program was:" >&5
24147 sed 's/^/| /' conftest.$ac_ext >&5
24151 -rm -f conftest.err conftest.$ac_objext \
24153 +rm -rf conftest.dSYM
24154 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24155 conftest$ac_exeext conftest.$ac_ext
24156 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24158 @@ -13983,13 +15254,11 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24159 # -berok will link without error, but may produce a broken library.
24160 no_undefined_flag_F77=' ${wl}-bernotok'
24161 allow_undefined_flag_F77=' ${wl}-berok'
24162 - # -bexpall does not export symbols beginning with underscore (_)
24163 - always_export_symbols_F77=yes
24164 # Exported symbols can be pulled into shared objects from archives
24165 - whole_archive_flag_spec_F77=' '
24166 + whole_archive_flag_spec_F77='$convenience'
24167 archive_cmds_need_lc_F77=yes
24168 - # This is similar to how AIX traditionally builds it's shared libraries.
24169 - archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
24170 + # This is similar to how AIX traditionally builds its shared libraries.
24171 + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
24175 @@ -14002,7 +15271,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24181 export_dynamic_flag_spec_F77=-rdynamic
24184 @@ -14022,58 +15291,57 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24185 # The linker will automatically build a .lib file if we build a DLL.
24186 old_archive_From_new_cmds_F77='true'
24187 # FIXME: Should let the user specify the lib program.
24188 - old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
24189 - fix_srcfile_path='`cygpath -w "$srcfile"`'
24190 + old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
24191 + fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
24192 enable_shared_with_static_runtimes_F77=yes
24195 darwin* | rhapsody*)
24196 - if test "$GXX" = yes ; then
24197 - archive_cmds_need_lc_F77=no
24198 - case "$host_os" in
24199 - rhapsody* | darwin1.[012])
24200 - allow_undefined_flag_F77='-undefined suppress'
24202 - *) # Darwin 1.3 on
24203 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
24204 - allow_undefined_flag_F77='-flat_namespace -undefined suppress'
24206 - case ${MACOSX_DEPLOYMENT_TARGET} in
24208 - allow_undefined_flag_F77='-flat_namespace -undefined suppress'
24211 - allow_undefined_flag_F77='-undefined dynamic_lookup'
24217 + rhapsody* | darwin1.[012])
24218 + allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
24220 + *) # Darwin 1.3 on
24221 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
24222 + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24224 + case ${MACOSX_DEPLOYMENT_TARGET} in
24226 + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24229 + allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
24235 - lt_int_apple_cc_single_mod=no
24236 - output_verbose_link_cmd='echo'
24237 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
24238 - lt_int_apple_cc_single_mod=yes
24240 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
24241 - archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
24243 - archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
24245 - module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24246 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
24247 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
24248 - archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
24250 - archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
24252 - module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
24253 + archive_cmds_need_lc_F77=no
24254 hardcode_direct_F77=no
24255 hardcode_automatic_F77=yes
24256 hardcode_shlibpath_var_F77=unsupported
24257 - whole_archive_flag_spec_F77='-all_load $convenience'
24258 + whole_archive_flag_spec_F77=''
24259 link_all_deplibs_F77=yes
24260 + if test "$GCC" = yes ; then
24261 + output_verbose_link_cmd='echo'
24262 + archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
24263 + module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
24264 + archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
24265 + module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
24268 + case $cc_basename in
24270 + output_verbose_link_cmd='echo'
24271 + archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
24272 + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24273 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24274 + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
24275 + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
24284 @@ -14107,7 +15375,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24287 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
24288 - freebsd* | kfreebsd*-gnu)
24289 + freebsd* | dragonfly*)
24290 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
24291 hardcode_libdir_flag_spec_F77='-R$libdir'
24292 hardcode_direct_F77=yes
24293 @@ -14130,47 +15398,62 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24294 export_dynamic_flag_spec_F77='${wl}-E'
24297 - hpux10* | hpux11*)
24299 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
24300 - case "$host_cpu" in
24302 + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24304 + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
24306 + if test "$with_gnu_ld" = no; then
24307 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
24308 + hardcode_libdir_separator_F77=:
24310 + hardcode_direct_F77=yes
24311 + export_dynamic_flag_spec_F77='${wl}-E'
24313 + # hardcode_minus_L: Not really in the search PATH,
24314 + # but as the default location of the library.
24315 + hardcode_minus_L_F77=yes
24320 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
24321 + case $host_cpu in
24323 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24326 + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24329 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24333 - case "$host_cpu" in
24335 - archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
24336 + case $host_cpu in
24338 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24341 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24344 - archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
24345 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24349 if test "$with_gnu_ld" = no; then
24350 - case "$host_cpu" in
24352 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
24353 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
24354 + hardcode_libdir_separator_F77=:
24356 + case $host_cpu in
24358 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
24359 - hardcode_libdir_separator_F77=:
24360 hardcode_direct_F77=no
24361 hardcode_shlibpath_var_F77=no
24364 - hardcode_libdir_flag_spec_F77='-L$libdir'
24365 - hardcode_direct_F77=no
24366 - hardcode_shlibpath_var_F77=no
24368 - # hardcode_minus_L: Not really in the search PATH,
24369 - # but as the default location of the library.
24370 - hardcode_minus_L_F77=yes
24373 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
24374 - hardcode_libdir_separator_F77=:
24375 hardcode_direct_F77=yes
24376 export_dynamic_flag_spec_F77='${wl}-E'
24378 @@ -14194,7 +15477,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24379 link_all_deplibs_F77=yes
24383 + netbsd* | netbsdelf*-gnu)
24384 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
24385 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
24387 @@ -14214,23 +15497,28 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24391 - hardcode_direct_F77=yes
24392 - hardcode_shlibpath_var_F77=no
24393 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24394 - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24395 - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
24396 - export_dynamic_flag_spec_F77='${wl}-E'
24397 + if test -f /usr/libexec/ld.so; then
24398 + hardcode_direct_F77=yes
24399 + hardcode_shlibpath_var_F77=no
24400 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24401 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24402 + archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
24403 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
24404 + export_dynamic_flag_spec_F77='${wl}-E'
24407 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
24408 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24409 + hardcode_libdir_flag_spec_F77='-R$libdir'
24412 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24413 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
24419 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
24420 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24421 - hardcode_libdir_flag_spec_F77='-R$libdir'
24424 - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24425 - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
24432 @@ -14263,7 +15551,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24433 allow_undefined_flag_F77=' -expect_unresolved \*'
24434 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
24435 archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
24436 - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
24437 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
24439 # Both c and cxx compiler support -rpath directly
24440 hardcode_libdir_flag_spec_F77='-rpath $libdir'
24441 @@ -14271,21 +15559,15 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24442 hardcode_libdir_separator_F77=:
24446 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24447 - hardcode_shlibpath_var_F77=no
24448 - export_dynamic_flag_spec_F77='${wl}-Bexport'
24449 - runpath_var=LD_RUN_PATH
24450 - hardcode_runpath_var=yes
24454 no_undefined_flag_F77=' -z text'
24455 if test "$GCC" = yes; then
24457 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24458 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24459 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
24462 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
24463 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24464 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
24465 @@ -14294,8 +15576,17 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24466 hardcode_shlibpath_var_F77=no
24468 solaris2.[0-5] | solaris2.[0-5].*) ;;
24469 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
24470 - whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
24472 + # The compiler driver will combine and reorder linker options,
24473 + # but understands `-z linker_flag'. GCC discards it without `$wl',
24474 + # but is careful enough not to reorder.
24475 + # Supported since Solaris 2.6 (maybe 2.5.1?)
24476 + if test "$GCC" = yes; then
24477 + whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
24479 + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
24483 link_all_deplibs_F77=yes
24485 @@ -14352,36 +15643,45 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24490 - archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
24491 - hardcode_direct_F77=yes
24492 - hardcode_minus_L_F77=no
24493 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
24494 + no_undefined_flag_F77='${wl}-z,text'
24495 + archive_cmds_need_lc_F77=no
24496 hardcode_shlibpath_var_F77=no
24497 - hardcode_runpath_var=yes
24498 - runpath_var=LD_RUN_PATH
24500 + runpath_var='LD_RUN_PATH'
24502 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
24503 - no_undefined_flag_F77='${wl}-z ${wl}text'
24504 if test "$GCC" = yes; then
24505 - archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24506 + archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24507 + archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24509 - archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24510 + archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24511 + archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24513 - runpath_var='LD_RUN_PATH'
24514 - hardcode_shlibpath_var_F77=no
24518 - no_undefined_flag_F77=' -z text'
24519 - # $CC -shared without GNU ld will not create a library from C++
24520 - # object files and a static libstdc++, better avoid it by now
24521 - archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
24522 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24523 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
24524 - hardcode_libdir_flag_spec_F77=
24525 + sysv5* | sco3.2v5* | sco5v6*)
24526 + # Note: We can NOT use -z defs as we might desire, because we do not
24527 + # link with -lc, and that would cause any symbols used from libc to
24528 + # always be unresolved, which means just about no library would
24529 + # ever link correctly. If we're not using GNU ld we use -z text
24530 + # though, which does catch some bad symbols but isn't as heavy-handed
24532 + no_undefined_flag_F77='${wl}-z,text'
24533 + allow_undefined_flag_F77='${wl}-z,nodefs'
24534 + archive_cmds_need_lc_F77=no
24535 hardcode_shlibpath_var_F77=no
24536 + hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
24537 + hardcode_libdir_separator_F77=':'
24538 + link_all_deplibs_F77=yes
24539 + export_dynamic_flag_spec_F77='${wl}-Bexport'
24540 runpath_var='LD_RUN_PATH'
24542 + if test "$GCC" = yes; then
24543 + archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24544 + archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24546 + archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24547 + archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24552 @@ -14396,15 +15696,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24556 -echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
24557 -echo "${ECHO_T}$ld_shlibs_F77" >&6
24558 +{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
24559 +$as_echo "$ld_shlibs_F77" >&6; }
24560 test "$ld_shlibs_F77" = no && can_build_shared=no
24562 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
24563 -if test "$GCC" = yes; then
24564 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
24568 # Do we need to explicitly link libc?
24570 @@ -14422,21 +15717,22 @@ x|xyes)
24571 # Test whether the compiler implicitly links with -lc since on some
24572 # systems, -lgcc has to come before -lc. If gcc already passes -lc
24573 # to ld, don't add -lc before -lgcc.
24574 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
24575 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
24576 + { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
24577 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
24579 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
24580 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
24582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24583 (eval $ac_compile) 2>&5
24585 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24586 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24587 (exit $ac_status); } 2>conftest.err; then
24590 libobjs=conftest.$ac_objext
24592 wl=$lt_prog_compiler_wl_F77
24593 + pic_flag=$lt_prog_compiler_pic_F77
24597 @@ -14447,7 +15743,7 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
24598 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
24599 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
24601 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24602 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24603 (exit $ac_status); }
24605 archive_cmds_need_lc_F77=no
24606 @@ -14459,16 +15755,16 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
24607 cat conftest.err 1>&5
24610 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
24611 -echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
24612 + { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
24613 +$as_echo "$archive_cmds_need_lc_F77" >&6; }
24620 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
24621 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
24622 +{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
24623 +$as_echo_n "checking dynamic linker characteristics... " >&6; }
24624 library_names_spec=
24625 libname_spec='lib$name'
24627 @@ -14482,20 +15778,7 @@ shlibpath_overrides_runpath=unknown
24629 dynamic_linker="$host_os ld.so"
24630 sys_lib_dlsearch_path_spec="/lib /usr/lib"
24631 -if test "$GCC" = yes; then
24632 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
24633 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
24634 - # if the path contains ";" then we assume it to be the separator
24635 - # otherwise default to the standard path separator (i.e. ":") - it is
24636 - # assumed that no part of a normal pathname contains ";" but that should
24637 - # okay in the real world where ";" in dirpaths is itself problematic.
24638 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
24640 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
24643 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
24646 need_lib_prefix=unknown
24647 hardcode_into_libs=no
24649 @@ -14513,7 +15796,7 @@ aix3*)
24650 soname_spec='${libname}${release}${shared_ext}$major'
24658 @@ -14569,7 +15852,7 @@ beos*)
24659 shlibpath_var=LIBRARY_PATH
24666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24667 @@ -14597,7 +15880,8 @@ cygwin* | mingw* | pw32*)
24668 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
24669 dldir=$destdir/`dirname \$dlpath`~
24670 test -d \$dldir || mkdir -p \$dldir~
24671 - $install_prog $dir/$dlname \$dldir/$dlname'
24672 + $install_prog $dir/$dlname \$dldir/$dlname~
24673 + chmod a+x \$dldir/$dlname'
24674 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
24675 dlpath=$dir/\$dldll~
24677 @@ -14627,7 +15911,7 @@ cygwin* | mingw* | pw32*)
24680 # pw32 DLLs use 'pw' prefix rather than 'lib'
24681 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
24682 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
24686 @@ -14650,13 +15934,8 @@ darwin* | rhapsody*)
24687 soname_spec='${libname}${release}${major}$shared_ext'
24688 shlibpath_overrides_runpath=yes
24689 shlibpath_var=DYLD_LIBRARY_PATH
24690 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
24691 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
24692 - if test "$GCC" = yes; then
24693 - sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
24695 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
24697 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
24699 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
24702 @@ -14673,20 +15952,17 @@ freebsd1*)
24707 - version_type=linux
24708 - need_lib_prefix=no
24710 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
24711 - soname_spec='${libname}${release}${shared_ext}$major'
24712 - shlibpath_var=LD_LIBRARY_PATH
24713 - shlibpath_overrides_runpath=no
24714 - hardcode_into_libs=yes
24715 - dynamic_linker='GNU ld.so'
24719 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
24720 +freebsd* | dragonfly*)
24721 + # DragonFly does not have aout. When/if they implement a new
24722 + # versioning mechanism, adjust this.
24723 + if test -x /usr/bin/objformat; then
24724 + objformat=`/usr/bin/objformat`
24727 + freebsd[123]*) objformat=aout ;;
24728 + *) objformat=elf ;;
24731 version_type=freebsd-$objformat
24732 case $version_type in
24734 @@ -14704,14 +15980,19 @@ freebsd*)
24736 shlibpath_overrides_runpath=yes
24738 - freebsd3.01* | freebsdelf3.01*)
24739 + freebsd3.[01]* | freebsdelf3.[01]*)
24740 shlibpath_overrides_runpath=yes
24741 hardcode_into_libs=yes
24744 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
24745 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
24746 shlibpath_overrides_runpath=no
24747 hardcode_into_libs=yes
24749 + *) # from 4.6 on, and DragonFly
24750 + shlibpath_overrides_runpath=yes
24751 + hardcode_into_libs=yes
24756 @@ -14731,7 +16012,7 @@ hpux9* | hpux10* | hpux11*)
24760 - case "$host_cpu" in
24761 + case $host_cpu in
24764 hardcode_into_libs=yes
24765 @@ -14771,6 +16052,18 @@ hpux9* | hpux10* | hpux11*)
24766 postinstall_cmds='chmod 555 $lib'
24770 + version_type=linux
24771 + need_lib_prefix=no
24773 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
24774 + soname_spec='${libname}${release}${shared_ext}$major'
24775 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
24776 + shlibpath_var=LD_LIBRARY_PATH
24777 + shlibpath_overrides_runpath=no
24778 + hardcode_into_libs=yes
24781 irix5* | irix6* | nonstopux*)
24783 nonstopux*) version_type=nonstopux ;;
24784 @@ -14814,7 +16107,7 @@ linux*oldld* | linux*aout* | linux*coff*)
24787 # This must be Linux ELF.
24789 +linux* | k*bsd*-gnu)
24793 @@ -14828,31 +16121,10 @@ linux*)
24794 # before this can be enabled.
24795 hardcode_into_libs=yes
24797 - # find out which ABI we are using
24799 - case "$host_cpu" in
24800 - x86_64*|s390x*|powerpc64*)
24801 - echo '#line 14835 "configure"' > conftest.$ac_ext
24802 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24803 - (eval $ac_compile) 2>&5
24805 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806 - (exit $ac_status); }; then
24807 - case `/usr/bin/file conftest.$ac_objext` in
24810 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
24818 # Append ld.so.conf contents to the search path
24819 if test -f /etc/ld.so.conf; then
24820 - lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
24821 - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
24822 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
24823 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
24826 # We used to test for /lib/ld.so.1 and disable shared libraries on
24827 @@ -14864,7 +16136,7 @@ linux*)
24828 dynamic_linker='GNU/Linux ld.so'
24836 @@ -14873,7 +16145,7 @@ knetbsd*-gnu)
24837 shlibpath_var=LD_LIBRARY_PATH
24838 shlibpath_overrides_runpath=no
24839 hardcode_into_libs=yes
24840 - dynamic_linker='GNU ld.so'
24841 + dynamic_linker='NetBSD ld.elf_so'
24845 @@ -14913,8 +16185,13 @@ nto-qnx*)
24849 + sys_lib_dlsearch_path_spec="/usr/lib"
24852 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
24854 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
24855 + *) need_version=no ;;
24857 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
24858 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
24859 shlibpath_var=LD_LIBRARY_PATH
24860 @@ -14952,11 +16229,8 @@ osf3* | osf4* | osf5*)
24861 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
24866 - soname_spec='${libname}${release}${shared_ext}$major'
24867 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24868 - shlibpath_var=LD_LIBRARY_PATH
24870 + dynamic_linker=no
24874 @@ -14984,7 +16258,7 @@ sunos4*)
24878 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
24881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24882 soname_spec='${libname}${release}${shared_ext}$major'
24883 @@ -15017,6 +16291,29 @@ sysv4*MP*)
24887 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
24888 + version_type=freebsd-elf
24889 + need_lib_prefix=no
24891 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
24892 + soname_spec='${libname}${release}${shared_ext}$major'
24893 + shlibpath_var=LD_LIBRARY_PATH
24894 + hardcode_into_libs=yes
24895 + if test "$with_gnu_ld" = yes; then
24896 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
24897 + shlibpath_overrides_runpath=no
24899 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
24900 + shlibpath_overrides_runpath=yes
24903 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
24907 + sys_lib_dlsearch_path_spec='/usr/lib'
24912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24913 @@ -15028,16 +16325,36 @@ uts4*)
24917 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
24918 -echo "${ECHO_T}$dynamic_linker" >&6
24919 +{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
24920 +$as_echo "$dynamic_linker" >&6; }
24921 test "$dynamic_linker" = no && can_build_shared=no
24923 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
24924 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
24925 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
24926 + $as_echo_n "(cached) " >&6
24928 + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
24931 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
24932 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
24933 + $as_echo_n "(cached) " >&6
24935 + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
24938 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
24940 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
24941 +if test "$GCC" = yes; then
24942 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
24945 +{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
24946 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
24947 hardcode_action_F77=
24948 if test -n "$hardcode_libdir_flag_spec_F77" || \
24949 - test -n "$runpath_var F77" || \
24950 - test "X$hardcode_automatic_F77"="Xyes" ; then
24951 + test -n "$runpath_var_F77" || \
24952 + test "X$hardcode_automatic_F77" = "Xyes" ; then
24954 # We can hardcode non-existant directories.
24955 if test "$hardcode_direct_F77" != no &&
24956 @@ -15057,8 +16374,8 @@ else
24958 hardcode_action_F77=unsupported
24960 -echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
24961 -echo "${ECHO_T}$hardcode_action_F77" >&6
24962 +{ $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
24963 +$as_echo "$hardcode_action_F77" >&6; }
24965 if test "$hardcode_action_F77" = relink; then
24966 # Fast installation is not supported
24967 @@ -15069,36 +16386,6 @@ elif test "$shlibpath_overrides_runpath" = yes ||
24968 enable_fast_install=needless
24973 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
24974 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
24975 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
24976 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
24977 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
24978 - echo "$as_me:$LINENO: result: yes" >&5
24979 -echo "${ECHO_T}yes" >&6
24981 -# FIXME - insert some real tests, host_os isn't really good enough
24984 - if test -n "$STRIP" ; then
24985 - striplib="$STRIP -x"
24986 - echo "$as_me:$LINENO: result: yes" >&5
24987 -echo "${ECHO_T}yes" >&6
24989 - echo "$as_me:$LINENO: result: no" >&5
24990 -echo "${ECHO_T}no" >&6
24994 - echo "$as_me:$LINENO: result: no" >&5
24995 -echo "${ECHO_T}no" >&6
25002 # The else clause should only fire when bootstrapping the
25003 # libtool distribution, otherwise you forgot to ship ltmain.sh
25004 @@ -15113,7 +16400,7 @@ if test -f "$ltmain"; then
25005 # Now quote all the things that may contain metacharacters while being
25006 # careful not to overquote the AC_SUBSTed values. We take copies of the
25007 # variables and quote the copies for generation of the libtool script.
25008 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
25009 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
25011 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25012 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25013 @@ -15140,6 +16427,7 @@ if test -f "$ltmain"; then
25016 compiler_lib_search_path_F77 \
25017 + compiler_lib_search_dirs_F77 \
25019 archive_expsym_cmds_F77 \
25020 postinstall_cmds_F77 \
25021 @@ -15155,6 +16443,7 @@ if test -f "$ltmain"; then
25023 module_expsym_cmds_F77 \
25024 lt_cv_prog_compiler_c_o_F77 \
25025 + fix_srcfile_path_F77 \
25026 exclude_expsyms_F77 \
25027 include_expsyms_F77; do
25029 @@ -15214,6 +16503,12 @@ fast_install=$enable_fast_install
25031 host_alias=$host_alias
25035 +# The build system.
25036 +build_alias=$build_alias
25038 +build_os=$build_os
25040 # An echo program that does not interpret backslashes.
25042 @@ -15225,6 +16520,9 @@ AR_FLAGS=$lt_AR_FLAGS
25046 +# LTCC compiler flags.
25047 +LTCFLAGS=$lt_LTCFLAGS
25049 # A language-specific compiler.
25050 CC=$lt_compiler_F77
25052 @@ -15290,7 +16588,7 @@ max_cmd_len=$lt_cv_sys_max_cmd_len
25053 # Does compiler simultaneously support -c and -o options?
25054 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
25056 -# Must we lock files when doing compilation ?
25057 +# Must we lock files when doing compilation?
25058 need_locks=$lt_need_locks
25060 # Do we need the lib prefix for modules?
25061 @@ -15378,6 +16676,10 @@ predeps=$lt_predeps_F77
25063 postdeps=$lt_postdeps_F77
25065 +# The directories searched by this compiler when creating a shared
25067 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
25069 # The library search path used internally by the compiler when linking
25070 # a shared library.
25071 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
25072 @@ -15466,7 +16768,7 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25073 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25075 # Fix the shell variable \$srcfile for the compiler.
25076 -fix_srcfile_path="$fix_srcfile_path_F77"
25077 +fix_srcfile_path=$lt_fix_srcfile_path
25079 # Set to yes if exported symbols are required.
25080 always_export_symbols=$always_export_symbols_F77
25081 @@ -15516,7 +16818,6 @@ CC="$lt_save_CC"
25082 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
25086 # Source file extension for Java test sources.
25089 @@ -15525,29 +16826,58 @@ objext=o
25092 # Code to be used in simple compile tests
25093 -lt_simple_compile_test_code="class foo {}\n"
25094 +lt_simple_compile_test_code="class foo {}"
25096 # Code to be used in simple link tests
25097 -lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
25098 +lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
25100 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
25102 # If no C compiler was specified, use CC.
25105 +# If no C compiler flags were specified, use CFLAGS.
25106 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
25108 # Allow CC to be a program name with arguments.
25112 +# save warnings/boilerplate of simple test code
25113 +ac_outfile=conftest.$ac_objext
25114 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
25115 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
25116 +_lt_compiler_boilerplate=`cat conftest.err`
25119 +ac_outfile=conftest.$ac_objext
25120 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
25121 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
25122 +_lt_linker_boilerplate=`cat conftest.err`
25126 # Allow CC to be a program name with arguments.
25131 +for cc_temp in $compiler""; do
25133 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
25134 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
25139 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
25142 # GCJ did not exist at the time GCC didn't implicitly link libc in.
25143 archive_cmds_need_lc_GCJ=no
25145 +old_archive_cmds_GCJ=$old_archive_cmds
25148 lt_prog_compiler_no_builtin_flag_GCJ=
25150 @@ -15555,14 +16885,14 @@ if test "$GCC" = yes; then
25151 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
25154 -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
25155 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
25156 +{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
25157 +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
25158 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
25159 - echo $ECHO_N "(cached) $ECHO_C" >&6
25160 + $as_echo_n "(cached) " >&6
25162 lt_cv_prog_compiler_rtti_exceptions=no
25163 ac_outfile=conftest.$ac_objext
25164 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
25165 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25166 lt_compiler_flag="-fno-rtti -fno-exceptions"
25167 # Insert the option either (1) after the last *FLAGS variable, or
25168 # (2) before a word containing "conftest.", or (3) at the end.
25169 @@ -15570,26 +16900,28 @@ else
25170 # with a dollar sign (not a hyphen), so the echo should work correctly.
25171 # The option is referenced via a variable to avoid confusing sed.
25172 lt_compile=`echo "$ac_compile" | $SED \
25173 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
25174 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
25175 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25176 -e 's:$: $lt_compiler_flag:'`
25177 - (eval echo "\"\$as_me:15576: $lt_compile\"" >&5)
25178 + (eval echo "\"\$as_me:16906: $lt_compile\"" >&5)
25179 (eval "$lt_compile" 2>conftest.err)
25181 cat conftest.err >&5
25182 - echo "$as_me:15580: \$? = $ac_status" >&5
25183 + echo "$as_me:16910: \$? = $ac_status" >&5
25184 if (exit $ac_status) && test -s "$ac_outfile"; then
25185 # The compiler can only warn and ignore the option if not recognized
25186 - # So say no if there are warnings
25187 - if test ! -s conftest.err; then
25188 + # So say no if there are warnings other than the usual output.
25189 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
25190 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
25191 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
25192 lt_cv_prog_compiler_rtti_exceptions=yes
25198 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
25199 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
25200 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
25201 +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
25203 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
25204 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
25205 @@ -15603,8 +16935,8 @@ lt_prog_compiler_wl_GCJ=
25206 lt_prog_compiler_pic_GCJ=
25207 lt_prog_compiler_static_GCJ=
25209 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
25210 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25211 +{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
25212 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
25214 if test "$GCC" = yes; then
25215 lt_prog_compiler_wl_GCJ='-Wl,'
25216 @@ -15626,14 +16958,16 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25217 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
25220 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
25221 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
25222 # PIC is the default for these OSes.
25225 - mingw* | pw32* | os2*)
25226 + mingw* | cygwin* | pw32* | os2*)
25227 # This hack is so that the source file can tell whether it is being
25228 # built for inclusion in a dll (and should export symbols for example).
25229 - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
25230 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
25231 + # (--disable-auto-import) libraries
25235 darwin* | rhapsody*)
25236 @@ -15642,6 +16976,11 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25237 lt_prog_compiler_pic_GCJ='-fno-common'
25241 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
25242 + # Instead, we relocate shared libraries at runtime.
25246 # Just because we use GCC doesn't mean we suddenly get shared libraries
25247 # on systems that don't support them.
25248 @@ -15658,7 +16997,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25250 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
25251 # not for PA HP-UX.
25252 - case "$host_cpu" in
25253 + case $host_cpu in
25257 @@ -15684,18 +17023,28 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25258 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
25262 + # PIC is the default on this platform
25263 + # Common symbols not allowed in MH_DYLIB files
25264 + case $cc_basename in
25266 + lt_prog_compiler_pic_GCJ='-qnocommon'
25267 + lt_prog_compiler_wl_GCJ='-Wl,'
25272 - mingw* | pw32* | os2*)
25273 + mingw* | cygwin* | pw32* | os2*)
25274 # This hack is so that the source file can tell whether it is being
25275 # built for inclusion in a dll (and should export symbols for example).
25276 - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
25280 hpux9* | hpux10* | hpux11*)
25281 lt_prog_compiler_wl_GCJ='-Wl,'
25282 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
25283 # not for PA HP-UX.
25284 - case "$host_cpu" in
25285 + case $host_cpu in
25289 @@ -15718,18 +17067,41 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25290 lt_prog_compiler_static_GCJ='-Bstatic'
25295 + linux* | k*bsd*-gnu)
25296 + case $cc_basename in
25298 lt_prog_compiler_wl_GCJ='-Wl,'
25299 lt_prog_compiler_pic_GCJ='-KPIC'
25300 lt_prog_compiler_static_GCJ='-static'
25302 + pgcc* | pgf77* | pgf90* | pgf95*)
25303 + # Portland Group compilers (*not* the Pentium gcc compiler,
25304 + # which looks to be a dead project)
25305 + lt_prog_compiler_wl_GCJ='-Wl,'
25306 + lt_prog_compiler_pic_GCJ='-fpic'
25307 + lt_prog_compiler_static_GCJ='-Bstatic'
25310 lt_prog_compiler_wl_GCJ='-Wl,'
25311 # All Alpha code is PIC.
25312 lt_prog_compiler_static_GCJ='-non_shared'
25315 + case `$CC -V 2>&1 | sed 5q` in
25318 + lt_prog_compiler_pic_GCJ='-KPIC'
25319 + lt_prog_compiler_static_GCJ='-Bstatic'
25320 + lt_prog_compiler_wl_GCJ='-Wl,'
25323 + # Sun Fortran 8.3 passes all unrecognized flags to the linker
25324 + lt_prog_compiler_pic_GCJ='-KPIC'
25325 + lt_prog_compiler_static_GCJ='-Bstatic'
25326 + lt_prog_compiler_wl_GCJ=''
25333 @@ -15739,15 +17111,19 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25334 lt_prog_compiler_static_GCJ='-non_shared'
25338 - lt_prog_compiler_pic_GCJ='-Kpic'
25339 - lt_prog_compiler_static_GCJ='-dn'
25341 + lt_prog_compiler_static_GCJ='-non_shared'
25345 - lt_prog_compiler_wl_GCJ='-Wl,'
25346 lt_prog_compiler_pic_GCJ='-KPIC'
25347 lt_prog_compiler_static_GCJ='-Bstatic'
25348 + case $cc_basename in
25349 + f77* | f90* | f95*)
25350 + lt_prog_compiler_wl_GCJ='-Qoption ld ';;
25352 + lt_prog_compiler_wl_GCJ='-Wl,';;
25357 @@ -15756,7 +17132,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25358 lt_prog_compiler_static_GCJ='-Bstatic'
25361 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
25362 + sysv4 | sysv4.2uw2* | sysv4.3*)
25363 lt_prog_compiler_wl_GCJ='-Wl,'
25364 lt_prog_compiler_pic_GCJ='-KPIC'
25365 lt_prog_compiler_static_GCJ='-Bstatic'
25366 @@ -15769,6 +17145,17 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25370 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
25371 + lt_prog_compiler_wl_GCJ='-Wl,'
25372 + lt_prog_compiler_pic_GCJ='-KPIC'
25373 + lt_prog_compiler_static_GCJ='-Bstatic'
25377 + lt_prog_compiler_wl_GCJ='-Wl,'
25378 + lt_prog_compiler_can_build_shared_GCJ=no
25382 lt_prog_compiler_pic_GCJ='-pic'
25383 lt_prog_compiler_static_GCJ='-Bstatic'
25384 @@ -15780,22 +17167,22 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25388 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
25389 -echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
25390 +{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
25391 +$as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
25394 # Check to make sure the PIC flag actually works.
25396 if test -n "$lt_prog_compiler_pic_GCJ"; then
25398 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
25399 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
25400 -if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
25401 - echo $ECHO_N "(cached) $ECHO_C" >&6
25402 +{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
25403 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
25404 +if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
25405 + $as_echo_n "(cached) " >&6
25407 - lt_prog_compiler_pic_works_GCJ=no
25408 + lt_cv_prog_compiler_pic_works_GCJ=no
25409 ac_outfile=conftest.$ac_objext
25410 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
25411 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25412 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
25413 # Insert the option either (1) after the last *FLAGS variable, or
25414 # (2) before a word containing "conftest.", or (3) at the end.
25415 @@ -15803,28 +17190,30 @@ else
25416 # with a dollar sign (not a hyphen), so the echo should work correctly.
25417 # The option is referenced via a variable to avoid confusing sed.
25418 lt_compile=`echo "$ac_compile" | $SED \
25419 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
25420 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
25421 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25422 -e 's:$: $lt_compiler_flag:'`
25423 - (eval echo "\"\$as_me:15809: $lt_compile\"" >&5)
25424 + (eval echo "\"\$as_me:17196: $lt_compile\"" >&5)
25425 (eval "$lt_compile" 2>conftest.err)
25427 cat conftest.err >&5
25428 - echo "$as_me:15813: \$? = $ac_status" >&5
25429 + echo "$as_me:17200: \$? = $ac_status" >&5
25430 if (exit $ac_status) && test -s "$ac_outfile"; then
25431 # The compiler can only warn and ignore the option if not recognized
25432 - # So say no if there are warnings
25433 - if test ! -s conftest.err; then
25434 - lt_prog_compiler_pic_works_GCJ=yes
25435 + # So say no if there are warnings other than the usual output.
25436 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
25437 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
25438 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
25439 + lt_cv_prog_compiler_pic_works_GCJ=yes
25445 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
25446 -echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
25447 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
25448 +$as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
25450 -if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
25451 +if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
25452 case $lt_prog_compiler_pic_GCJ in
25454 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
25455 @@ -15835,7 +17224,7 @@ else
25459 -case "$host_os" in
25461 # For platforms which do not support PIC, -DPIC is meaningless:
25463 lt_prog_compiler_pic_GCJ=
25464 @@ -15845,17 +17234,59 @@ case "$host_os" in
25468 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
25469 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
25471 +# Check to make sure the static flag actually works.
25473 +wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
25474 +{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
25475 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
25476 +if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
25477 + $as_echo_n "(cached) " >&6
25479 + lt_cv_prog_compiler_static_works_GCJ=no
25480 + save_LDFLAGS="$LDFLAGS"
25481 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
25482 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
25483 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
25484 + # The linker can only warn and ignore the option if not recognized
25485 + # So say no if there are warnings
25486 + if test -s conftest.err; then
25487 + # Append any errors to the config.log.
25488 + cat conftest.err 1>&5
25489 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
25490 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
25491 + if diff conftest.exp conftest.er2 >/dev/null; then
25492 + lt_cv_prog_compiler_static_works_GCJ=yes
25495 + lt_cv_prog_compiler_static_works_GCJ=yes
25499 + LDFLAGS="$save_LDFLAGS"
25502 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
25503 +$as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
25505 +if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
25508 + lt_prog_compiler_static_GCJ=
25512 +{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
25513 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
25514 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
25515 - echo $ECHO_N "(cached) $ECHO_C" >&6
25516 + $as_echo_n "(cached) " >&6
25518 lt_cv_prog_compiler_c_o_GCJ=no
25519 $rm -r conftest 2>/dev/null
25523 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
25524 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25526 lt_compiler_flag="-o out/conftest2.$ac_objext"
25527 # Insert the option either (1) after the last *FLAGS variable, or
25528 @@ -15863,23 +17294,25 @@ else
25529 # Note that $ac_compile itself does not contain backslashes and begins
25530 # with a dollar sign (not a hyphen), so the echo should work correctly.
25531 lt_compile=`echo "$ac_compile" | $SED \
25532 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
25533 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
25534 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25535 -e 's:$: $lt_compiler_flag:'`
25536 - (eval echo "\"\$as_me:15869: $lt_compile\"" >&5)
25537 + (eval echo "\"\$as_me:17300: $lt_compile\"" >&5)
25538 (eval "$lt_compile" 2>out/conftest.err)
25540 cat out/conftest.err >&5
25541 - echo "$as_me:15873: \$? = $ac_status" >&5
25542 + echo "$as_me:17304: \$? = $ac_status" >&5
25543 if (exit $ac_status) && test -s out/conftest2.$ac_objext
25545 # The compiler can only warn and ignore the option if not recognized
25546 # So say no if there are warnings
25547 - if test ! -s out/conftest.err; then
25548 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
25549 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
25550 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
25551 lt_cv_prog_compiler_c_o_GCJ=yes
25557 # SGI C++ compiler will create directory out/ii_files/ for
25558 # template instantiation
25559 @@ -15890,34 +17323,34 @@ else
25563 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
25564 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
25565 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
25566 +$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
25569 hard_links="nottested"
25570 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
25571 # do not overwrite the value of need_locks provided by the user
25572 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
25573 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
25574 + { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
25575 +$as_echo_n "checking if we can lock with hard links... " >&6; }
25578 ln conftest.a conftest.b 2>/dev/null && hard_links=no
25580 ln conftest.a conftest.b 2>&5 || hard_links=no
25581 ln conftest.a conftest.b 2>/dev/null && hard_links=no
25582 - echo "$as_me:$LINENO: result: $hard_links" >&5
25583 -echo "${ECHO_T}$hard_links" >&6
25584 + { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
25585 +$as_echo "$hard_links" >&6; }
25586 if test "$hard_links" = no; then
25587 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
25588 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
25589 + { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
25590 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
25597 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
25598 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
25599 +{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
25600 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
25603 allow_undefined_flag_GCJ=
25604 @@ -15948,13 +17381,24 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
25605 # it will be wrapped by ` (' and `)$', so one must not match beginning or
25606 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
25607 # as well as any symbol that contains `d'.
25608 - exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
25609 + exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
25610 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
25611 # platforms (ab)use it in PIC code, but their linkers get confused if
25612 # the symbol is explicitly referenced. Since portable code cannot
25613 # rely on this symbol name, it's probably fine to never include it in
25614 # preloaded symbol tables.
25615 + # Exclude shared library initialization/finalization symbols.
25616 extract_expsyms_cmds=
25617 + # Just being paranoid about ensuring that cc_basename is set.
25618 + for cc_temp in $compiler""; do
25620 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
25621 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
25626 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
25629 cygwin* | mingw* | pw32*)
25630 @@ -15965,6 +17409,10 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
25635 + # we just hope/assume this is gcc and not c89 (= MSVC++)
25641 @@ -15975,9 +17423,30 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
25642 # If archive_cmds runs LD, not CC, wlarc should be empty
25645 + # Set some defaults for GNU ld with shared library support. These
25646 + # are reset later if shared libraries are not supported. Putting them
25647 + # here allows them to be overridden if necessary.
25648 + runpath_var=LD_RUN_PATH
25649 + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
25650 + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
25651 + # ancient GNU ld didn't support --whole-archive et. al.
25652 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
25653 + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
25655 + whole_archive_flag_spec_GCJ=
25657 + supports_anon_versioning=no
25658 + case `$LD -v 2>/dev/null` in
25659 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
25660 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
25661 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
25662 + *\ 2.11.*) ;; # other 2.11 versions
25663 + *) supports_anon_versioning=yes ;;
25666 # See if GNU ld supports shared libraries.
25668 - aix3* | aix4* | aix5*)
25670 # On AIX/PPC, the GNU linker is very broken
25671 if test "$host_cpu" != ia64; then
25673 @@ -16025,10 +17494,10 @@ EOF
25674 allow_undefined_flag_GCJ=unsupported
25675 always_export_symbols_GCJ=no
25676 enable_shared_with_static_runtimes_GCJ=yes
25677 - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
25678 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
25680 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
25681 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
25682 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
25683 # If the export-symbols file already is a .def file (1st line
25684 # is EXPORTS), use it as is; otherwise, prepend...
25685 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
25686 @@ -16037,13 +17506,69 @@ EOF
25687 echo EXPORTS > $output_objdir/$soname.def;
25688 cat $export_symbols >> $output_objdir/$soname.def;
25690 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
25691 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
25699 + hardcode_direct_GCJ=no
25700 + hardcode_shlibpath_var_GCJ=no
25701 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
25702 + export_dynamic_flag_spec_GCJ='${wl}-E'
25703 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
25704 + # Instead, shared libraries are loaded at an image base (0x10000000 by
25705 + # default) and relocated if they conflict, which is a slow very memory
25706 + # consuming and fragmenting process. To avoid this, we pick a random,
25707 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
25708 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
25709 + archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
25710 + archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
25713 + gnu* | linux* | k*bsd*-gnu)
25714 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
25716 + case $cc_basename,$host_cpu in
25717 + pgcc*) # Portland Group C compiler
25718 + whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
25719 + tmp_addflag=' $pic_flag'
25721 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
25722 + whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
25723 + tmp_addflag=' $pic_flag -Mnomain' ;;
25724 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
25725 + tmp_addflag=' -i_dynamic' ;;
25726 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
25727 + tmp_addflag=' -i_dynamic -nofor_main' ;;
25728 + ifc* | ifort*) # Intel Fortran compiler
25729 + tmp_addflag=' -nofor_main' ;;
25731 + case `$CC -V 2>&1 | sed 5q` in
25732 + *Sun\ C*) # Sun C 5.9
25733 + whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
25734 + tmp_sharedflag='-G' ;;
25735 + *Sun\ F*) # Sun Fortran 8.3
25736 + tmp_sharedflag='-G' ;;
25738 + tmp_sharedflag='-shared' ;;
25740 + archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25742 + if test $supports_anon_versioning = yes; then
25743 + archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
25744 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
25745 + $echo "local: *; };" >> $output_objdir/$libname.ver~
25746 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
25748 + link_all_deplibs_GCJ=no
25755 + netbsd* | netbsdelf*-gnu)
25756 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
25757 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
25759 @@ -16053,7 +17578,7 @@ EOF
25763 - solaris* | sysv5*)
25765 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
25768 @@ -16074,6 +17599,33 @@ EOF
25772 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
25773 + case `$LD -v 2>&1` in
25774 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
25776 + cat <<_LT_EOF 1>&2
25778 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
25779 +*** reliably create shared libraries on SCO systems. Therefore, libtool
25780 +*** is disabling shared libraries support. We urge you to upgrade GNU
25781 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
25782 +*** your PATH or compiler configuration so that the native linker is
25783 +*** used, and then restart.
25788 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
25789 + hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
25790 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
25791 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
25800 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25802 @@ -16081,31 +17633,6 @@ EOF
25803 hardcode_shlibpath_var_GCJ=no
25807 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
25808 - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25809 - archive_cmds_GCJ="$tmp_archive_cmds"
25810 - supports_anon_versioning=no
25811 - case `$LD -v 2>/dev/null` in
25812 - *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
25813 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
25814 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
25815 - *\ 2.11.*) ;; # other 2.11 versions
25816 - *) supports_anon_versioning=yes ;;
25818 - if test $supports_anon_versioning = yes; then
25819 - archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
25820 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
25821 -$echo "local: *; };" >> $output_objdir/$libname.ver~
25822 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
25824 - archive_expsym_cmds_GCJ="$tmp_archive_cmds"
25832 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
25833 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25834 @@ -16116,16 +17643,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
25838 - if test "$ld_shlibs_GCJ" = yes; then
25839 - runpath_var=LD_RUN_PATH
25840 - hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
25841 - export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
25842 - # ancient GNU ld didn't support --whole-archive et. al.
25843 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
25844 - whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
25846 - whole_archive_flag_spec_GCJ=
25848 + if test "$ld_shlibs_GCJ" = no; then
25850 + hardcode_libdir_flag_spec_GCJ=
25851 + export_dynamic_flag_spec_GCJ=
25852 + whole_archive_flag_spec_GCJ=
25855 # PORTME fill in a description of your system's linker (not GNU ld)
25856 @@ -16137,14 +17659,14 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
25857 # Note: this linker hardcodes the directories in LIBPATH if there
25858 # are no directories specified by -L.
25859 hardcode_minus_L_GCJ=yes
25860 - if test "$GCC" = yes && test -z "$link_static_flag"; then
25861 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
25862 # Neither direct hardcoding nor static linking is supported with a
25864 hardcode_direct_GCJ=unsupported
25870 if test "$host_cpu" = ia64; then
25871 # On IA64, the linker does run time linking by default, so we don't
25872 # have to do anything special.
25873 @@ -16164,13 +17686,14 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
25874 # Test if we are trying to use run time linking or normal
25875 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
25876 # need to do runtime linking.
25877 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
25878 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
25879 for ld_flag in $LDFLAGS; do
25880 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
25881 aix_use_runtimelinking=yes
25888 exp_sym_flag='-bexport'
25889 @@ -16189,7 +17712,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
25890 link_all_deplibs_GCJ=yes
25892 if test "$GCC" = yes; then
25893 - case $host_os in aix4.012|aix4.012.*)
25894 + case $host_os in aix4.[012]|aix4.[012].*)
25895 # We only want to do this on AIX 4.2 and lower, the check
25896 # below for broken collect2 doesn't work under 4.3+
25897 collect2name=`${CC} -print-prog-name=collect2`
25898 @@ -16197,7 +17720,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
25899 strings "$collect2name" | grep resolve_lib_name >/dev/null
25901 # We have reworked collect2
25902 - hardcode_direct_GCJ=yes
25905 # We have old collect2
25906 hardcode_direct_GCJ=unsupported
25907 @@ -16208,8 +17731,12 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
25908 hardcode_libdir_flag_spec_GCJ='-L$libdir'
25909 hardcode_libdir_separator_GCJ=
25913 shared_flag='-shared'
25914 + if test "$aix_use_runtimelinking" = yes; then
25915 + shared_flag="$shared_flag "'${wl}-G'
25919 if test "$host_cpu" = ia64; then
25920 @@ -16217,11 +17744,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
25921 # chokes on -Wl,-G. The following line is correct:
25924 - if test "$aix_use_runtimelinking" = yes; then
25925 + if test "$aix_use_runtimelinking" = yes; then
25926 shared_flag='${wl}-G'
25928 shared_flag='${wl}-bM:SRE'
25934 @@ -16249,49 +17776,58 @@ main ()
25937 rm -f conftest.$ac_objext conftest$ac_exeext
25938 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25939 - (eval $ac_link) 2>conftest.er1
25940 +if { (ac_try="$ac_link"
25941 +case "(($ac_try" in
25942 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25943 + *) ac_try_echo=$ac_try;;
25945 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25946 +$as_echo "$ac_try_echo") >&5
25947 + (eval "$ac_link") 2>conftest.er1
25949 grep -v '^ *+' conftest.er1 >conftest.err
25951 cat conftest.err >&5
25952 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
25953 - (exit $ac_status); } &&
25954 - { ac_try='test -z "$ac_c_werror_flag"
25955 - || test ! -s conftest.err'
25956 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25957 - (eval $ac_try) 2>&5
25959 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
25960 - (exit $ac_status); }; } &&
25961 - { ac_try='test -s conftest$ac_exeext'
25962 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25963 - (eval $ac_try) 2>&5
25965 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
25966 - (exit $ac_status); }; }; then
25968 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
25970 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25971 + (exit $ac_status); } && {
25972 + test -z "$ac_c_werror_flag" ||
25973 + test ! -s conftest.err
25974 + } && test -s conftest$ac_exeext && {
25975 + test "$cross_compiling" = yes ||
25976 + $as_test_x conftest$ac_exeext
25979 +lt_aix_libpath_sed='
25980 + /Import File Strings/,/^$/ {
25982 + s/^0 *\(.*\)$/\1/
25986 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
25987 # Check for a 64-bit object if we didn't find anything.
25988 -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
25990 +if test -z "$aix_libpath"; then
25991 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
25994 - echo "$as_me: failed program was:" >&5
25995 + $as_echo "$as_me: failed program was:" >&5
25996 sed 's/^/| /' conftest.$ac_ext >&5
26000 -rm -f conftest.err conftest.$ac_objext \
26002 +rm -rf conftest.dSYM
26003 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26004 conftest$ac_exeext conftest.$ac_ext
26005 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26007 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
26008 - archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
26009 + archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
26011 if test "$host_cpu" = ia64; then
26012 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
26013 allow_undefined_flag_GCJ="-z nodefs"
26014 - archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
26015 + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
26017 # Determine the default libpath from the value encoded in an empty executable.
26018 cat >conftest.$ac_ext <<_ACEOF
26019 @@ -16310,39 +17846,48 @@ main ()
26022 rm -f conftest.$ac_objext conftest$ac_exeext
26023 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26024 - (eval $ac_link) 2>conftest.er1
26025 +if { (ac_try="$ac_link"
26026 +case "(($ac_try" in
26027 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26028 + *) ac_try_echo=$ac_try;;
26030 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26031 +$as_echo "$ac_try_echo") >&5
26032 + (eval "$ac_link") 2>conftest.er1
26034 grep -v '^ *+' conftest.er1 >conftest.err
26036 cat conftest.err >&5
26037 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26038 - (exit $ac_status); } &&
26039 - { ac_try='test -z "$ac_c_werror_flag"
26040 - || test ! -s conftest.err'
26041 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26042 - (eval $ac_try) 2>&5
26044 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26045 - (exit $ac_status); }; } &&
26046 - { ac_try='test -s conftest$ac_exeext'
26047 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26048 - (eval $ac_try) 2>&5
26050 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26051 - (exit $ac_status); }; }; then
26053 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
26055 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26056 + (exit $ac_status); } && {
26057 + test -z "$ac_c_werror_flag" ||
26058 + test ! -s conftest.err
26059 + } && test -s conftest$ac_exeext && {
26060 + test "$cross_compiling" = yes ||
26061 + $as_test_x conftest$ac_exeext
26064 +lt_aix_libpath_sed='
26065 + /Import File Strings/,/^$/ {
26067 + s/^0 *\(.*\)$/\1/
26071 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
26072 # Check for a 64-bit object if we didn't find anything.
26073 -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
26075 +if test -z "$aix_libpath"; then
26076 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
26079 - echo "$as_me: failed program was:" >&5
26080 + $as_echo "$as_me: failed program was:" >&5
26081 sed 's/^/| /' conftest.$ac_ext >&5
26085 -rm -f conftest.err conftest.$ac_objext \
26087 +rm -rf conftest.dSYM
26088 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26089 conftest$ac_exeext conftest.$ac_ext
26090 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26092 @@ -16351,13 +17896,11 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26093 # -berok will link without error, but may produce a broken library.
26094 no_undefined_flag_GCJ=' ${wl}-bernotok'
26095 allow_undefined_flag_GCJ=' ${wl}-berok'
26096 - # -bexpall does not export symbols beginning with underscore (_)
26097 - always_export_symbols_GCJ=yes
26098 # Exported symbols can be pulled into shared objects from archives
26099 - whole_archive_flag_spec_GCJ=' '
26100 + whole_archive_flag_spec_GCJ='$convenience'
26101 archive_cmds_need_lc_GCJ=yes
26102 - # This is similar to how AIX traditionally builds it's shared libraries.
26103 - archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
26104 + # This is similar to how AIX traditionally builds its shared libraries.
26105 + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
26109 @@ -16370,7 +17913,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26115 export_dynamic_flag_spec_GCJ=-rdynamic
26118 @@ -16390,58 +17933,57 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26119 # The linker will automatically build a .lib file if we build a DLL.
26120 old_archive_From_new_cmds_GCJ='true'
26121 # FIXME: Should let the user specify the lib program.
26122 - old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
26123 - fix_srcfile_path='`cygpath -w "$srcfile"`'
26124 + old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
26125 + fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
26126 enable_shared_with_static_runtimes_GCJ=yes
26129 darwin* | rhapsody*)
26130 - if test "$GXX" = yes ; then
26131 - archive_cmds_need_lc_GCJ=no
26132 - case "$host_os" in
26133 - rhapsody* | darwin1.[012])
26134 - allow_undefined_flag_GCJ='-undefined suppress'
26136 - *) # Darwin 1.3 on
26137 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
26138 - allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
26140 - case ${MACOSX_DEPLOYMENT_TARGET} in
26142 - allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
26145 - allow_undefined_flag_GCJ='-undefined dynamic_lookup'
26151 + rhapsody* | darwin1.[012])
26152 + allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
26154 + *) # Darwin 1.3 on
26155 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
26156 + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
26158 + case ${MACOSX_DEPLOYMENT_TARGET} in
26160 + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
26163 + allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
26169 - lt_int_apple_cc_single_mod=no
26170 - output_verbose_link_cmd='echo'
26171 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
26172 - lt_int_apple_cc_single_mod=yes
26174 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
26175 - archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
26177 - archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
26179 - module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
26180 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
26181 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
26182 - archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
26184 - archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
26186 - module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
26187 + archive_cmds_need_lc_GCJ=no
26188 hardcode_direct_GCJ=no
26189 hardcode_automatic_GCJ=yes
26190 hardcode_shlibpath_var_GCJ=unsupported
26191 - whole_archive_flag_spec_GCJ='-all_load $convenience'
26192 + whole_archive_flag_spec_GCJ=''
26193 link_all_deplibs_GCJ=yes
26194 + if test "$GCC" = yes ; then
26195 + output_verbose_link_cmd='echo'
26196 + archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
26197 + module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
26198 + archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
26199 + module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
26202 + case $cc_basename in
26204 + output_verbose_link_cmd='echo'
26205 + archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
26206 + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
26207 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
26208 + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
26209 + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
26218 @@ -16475,7 +18017,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26221 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
26222 - freebsd* | kfreebsd*-gnu)
26223 + freebsd* | dragonfly*)
26224 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
26225 hardcode_libdir_flag_spec_GCJ='-R$libdir'
26226 hardcode_direct_GCJ=yes
26227 @@ -16498,47 +18040,62 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26228 export_dynamic_flag_spec_GCJ='${wl}-E'
26231 - hpux10* | hpux11*)
26233 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
26234 - case "$host_cpu" in
26236 + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
26238 + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
26240 + if test "$with_gnu_ld" = no; then
26241 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
26242 + hardcode_libdir_separator_GCJ=:
26244 + hardcode_direct_GCJ=yes
26245 + export_dynamic_flag_spec_GCJ='${wl}-E'
26247 + # hardcode_minus_L: Not really in the search PATH,
26248 + # but as the default location of the library.
26249 + hardcode_minus_L_GCJ=yes
26254 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
26255 + case $host_cpu in
26257 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
26260 + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
26263 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
26267 - case "$host_cpu" in
26269 - archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
26270 + case $host_cpu in
26272 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
26275 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
26278 - archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
26279 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
26283 if test "$with_gnu_ld" = no; then
26284 - case "$host_cpu" in
26286 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
26287 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
26288 + hardcode_libdir_separator_GCJ=:
26290 + case $host_cpu in
26292 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
26293 - hardcode_libdir_separator_GCJ=:
26294 - hardcode_direct_GCJ=no
26295 - hardcode_shlibpath_var_GCJ=no
26298 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
26299 hardcode_direct_GCJ=no
26300 hardcode_shlibpath_var_GCJ=no
26302 - # hardcode_minus_L: Not really in the search PATH,
26303 - # but as the default location of the library.
26304 - hardcode_minus_L_GCJ=yes
26307 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
26308 - hardcode_libdir_separator_GCJ=:
26309 hardcode_direct_GCJ=yes
26310 export_dynamic_flag_spec_GCJ='${wl}-E'
26312 @@ -16562,7 +18119,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26313 link_all_deplibs_GCJ=yes
26317 + netbsd* | netbsdelf*-gnu)
26318 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
26319 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
26321 @@ -16582,23 +18139,28 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26325 - hardcode_direct_GCJ=yes
26326 - hardcode_shlibpath_var_GCJ=no
26327 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
26328 - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26329 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
26330 - export_dynamic_flag_spec_GCJ='${wl}-E'
26331 + if test -f /usr/libexec/ld.so; then
26332 + hardcode_direct_GCJ=yes
26333 + hardcode_shlibpath_var_GCJ=no
26334 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
26335 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26336 + archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
26337 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
26338 + export_dynamic_flag_spec_GCJ='${wl}-E'
26341 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
26342 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
26343 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
26346 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26347 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
26353 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
26354 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
26355 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
26358 - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26359 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
26366 @@ -16631,7 +18193,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26367 allow_undefined_flag_GCJ=' -expect_unresolved \*'
26368 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
26369 archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
26370 - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
26371 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
26373 # Both c and cxx compiler support -rpath directly
26374 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
26375 @@ -16639,21 +18201,15 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26376 hardcode_libdir_separator_GCJ=:
26380 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26381 - hardcode_shlibpath_var_GCJ=no
26382 - export_dynamic_flag_spec_GCJ='${wl}-Bexport'
26383 - runpath_var=LD_RUN_PATH
26384 - hardcode_runpath_var=yes
26388 no_undefined_flag_GCJ=' -z text'
26389 if test "$GCC" = yes; then
26391 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
26392 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
26393 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
26396 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
26397 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
26398 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
26399 @@ -16662,8 +18218,17 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26400 hardcode_shlibpath_var_GCJ=no
26402 solaris2.[0-5] | solaris2.[0-5].*) ;;
26403 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
26404 - whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
26406 + # The compiler driver will combine and reorder linker options,
26407 + # but understands `-z linker_flag'. GCC discards it without `$wl',
26408 + # but is careful enough not to reorder.
26409 + # Supported since Solaris 2.6 (maybe 2.5.1?)
26410 + if test "$GCC" = yes; then
26411 + whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
26413 + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
26417 link_all_deplibs_GCJ=yes
26419 @@ -16720,36 +18285,45 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26424 - archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
26425 - hardcode_direct_GCJ=yes
26426 - hardcode_minus_L_GCJ=no
26427 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
26428 + no_undefined_flag_GCJ='${wl}-z,text'
26429 + archive_cmds_need_lc_GCJ=no
26430 hardcode_shlibpath_var_GCJ=no
26431 - hardcode_runpath_var=yes
26432 - runpath_var=LD_RUN_PATH
26434 + runpath_var='LD_RUN_PATH'
26436 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
26437 - no_undefined_flag_GCJ='${wl}-z ${wl}text'
26438 if test "$GCC" = yes; then
26439 - archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
26440 + archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26441 + archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26443 - archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
26444 + archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26445 + archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26447 - runpath_var='LD_RUN_PATH'
26448 - hardcode_shlibpath_var_GCJ=no
26452 - no_undefined_flag_GCJ=' -z text'
26453 - # $CC -shared without GNU ld will not create a library from C++
26454 - # object files and a static libstdc++, better avoid it by now
26455 - archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
26456 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
26457 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
26458 - hardcode_libdir_flag_spec_GCJ=
26459 + sysv5* | sco3.2v5* | sco5v6*)
26460 + # Note: We can NOT use -z defs as we might desire, because we do not
26461 + # link with -lc, and that would cause any symbols used from libc to
26462 + # always be unresolved, which means just about no library would
26463 + # ever link correctly. If we're not using GNU ld we use -z text
26464 + # though, which does catch some bad symbols but isn't as heavy-handed
26466 + no_undefined_flag_GCJ='${wl}-z,text'
26467 + allow_undefined_flag_GCJ='${wl}-z,nodefs'
26468 + archive_cmds_need_lc_GCJ=no
26469 hardcode_shlibpath_var_GCJ=no
26470 + hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
26471 + hardcode_libdir_separator_GCJ=':'
26472 + link_all_deplibs_GCJ=yes
26473 + export_dynamic_flag_spec_GCJ='${wl}-Bexport'
26474 runpath_var='LD_RUN_PATH'
26476 + if test "$GCC" = yes; then
26477 + archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
26478 + archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
26480 + archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
26481 + archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
26486 @@ -16764,15 +18338,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26490 -echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
26491 -echo "${ECHO_T}$ld_shlibs_GCJ" >&6
26492 +{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
26493 +$as_echo "$ld_shlibs_GCJ" >&6; }
26494 test "$ld_shlibs_GCJ" = no && can_build_shared=no
26496 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
26497 -if test "$GCC" = yes; then
26498 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
26502 # Do we need to explicitly link libc?
26504 @@ -16790,21 +18359,22 @@ x|xyes)
26505 # Test whether the compiler implicitly links with -lc since on some
26506 # systems, -lgcc has to come before -lc. If gcc already passes -lc
26507 # to ld, don't add -lc before -lgcc.
26508 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
26509 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
26510 + { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
26511 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
26513 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
26514 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
26516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26517 (eval $ac_compile) 2>&5
26519 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26520 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26521 (exit $ac_status); } 2>conftest.err; then
26524 libobjs=conftest.$ac_objext
26526 wl=$lt_prog_compiler_wl_GCJ
26527 + pic_flag=$lt_prog_compiler_pic_GCJ
26531 @@ -16815,7 +18385,7 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
26532 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
26533 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
26535 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26536 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26537 (exit $ac_status); }
26539 archive_cmds_need_lc_GCJ=no
26540 @@ -16827,16 +18397,16 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
26541 cat conftest.err 1>&5
26544 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
26545 -echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
26546 + { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
26547 +$as_echo "$archive_cmds_need_lc_GCJ" >&6; }
26554 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
26555 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
26556 +{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
26557 +$as_echo_n "checking dynamic linker characteristics... " >&6; }
26558 library_names_spec=
26559 libname_spec='lib$name'
26561 @@ -16850,20 +18420,7 @@ shlibpath_overrides_runpath=unknown
26563 dynamic_linker="$host_os ld.so"
26564 sys_lib_dlsearch_path_spec="/lib /usr/lib"
26565 -if test "$GCC" = yes; then
26566 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
26567 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
26568 - # if the path contains ";" then we assume it to be the separator
26569 - # otherwise default to the standard path separator (i.e. ":") - it is
26570 - # assumed that no part of a normal pathname contains ";" but that should
26571 - # okay in the real world where ";" in dirpaths is itself problematic.
26572 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
26574 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
26577 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
26580 need_lib_prefix=unknown
26581 hardcode_into_libs=no
26583 @@ -16881,7 +18438,7 @@ aix3*)
26584 soname_spec='${libname}${release}${shared_ext}$major'
26592 @@ -16937,7 +18494,7 @@ beos*)
26593 shlibpath_var=LIBRARY_PATH
26600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26601 @@ -16965,7 +18522,8 @@ cygwin* | mingw* | pw32*)
26602 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
26603 dldir=$destdir/`dirname \$dlpath`~
26604 test -d \$dldir || mkdir -p \$dldir~
26605 - $install_prog $dir/$dlname \$dldir/$dlname'
26606 + $install_prog $dir/$dlname \$dldir/$dlname~
26607 + chmod a+x \$dldir/$dlname'
26608 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
26609 dlpath=$dir/\$dldll~
26611 @@ -16995,7 +18553,7 @@ cygwin* | mingw* | pw32*)
26614 # pw32 DLLs use 'pw' prefix rather than 'lib'
26615 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
26616 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
26620 @@ -17018,13 +18576,8 @@ darwin* | rhapsody*)
26621 soname_spec='${libname}${release}${major}$shared_ext'
26622 shlibpath_overrides_runpath=yes
26623 shlibpath_var=DYLD_LIBRARY_PATH
26624 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
26625 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
26626 - if test "$GCC" = yes; then
26627 - sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
26629 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
26631 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
26633 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
26636 @@ -17041,20 +18594,17 @@ freebsd1*)
26641 - version_type=linux
26642 - need_lib_prefix=no
26644 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26645 - soname_spec='${libname}${release}${shared_ext}$major'
26646 - shlibpath_var=LD_LIBRARY_PATH
26647 - shlibpath_overrides_runpath=no
26648 - hardcode_into_libs=yes
26649 - dynamic_linker='GNU ld.so'
26653 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
26654 +freebsd* | dragonfly*)
26655 + # DragonFly does not have aout. When/if they implement a new
26656 + # versioning mechanism, adjust this.
26657 + if test -x /usr/bin/objformat; then
26658 + objformat=`/usr/bin/objformat`
26661 + freebsd[123]*) objformat=aout ;;
26662 + *) objformat=elf ;;
26665 version_type=freebsd-$objformat
26666 case $version_type in
26668 @@ -17072,14 +18622,19 @@ freebsd*)
26670 shlibpath_overrides_runpath=yes
26672 - freebsd3.01* | freebsdelf3.01*)
26673 + freebsd3.[01]* | freebsdelf3.[01]*)
26674 shlibpath_overrides_runpath=yes
26675 hardcode_into_libs=yes
26678 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
26679 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
26680 shlibpath_overrides_runpath=no
26681 hardcode_into_libs=yes
26683 + *) # from 4.6 on, and DragonFly
26684 + shlibpath_overrides_runpath=yes
26685 + hardcode_into_libs=yes
26690 @@ -17099,7 +18654,7 @@ hpux9* | hpux10* | hpux11*)
26694 - case "$host_cpu" in
26695 + case $host_cpu in
26698 hardcode_into_libs=yes
26699 @@ -17139,6 +18694,18 @@ hpux9* | hpux10* | hpux11*)
26700 postinstall_cmds='chmod 555 $lib'
26704 + version_type=linux
26705 + need_lib_prefix=no
26707 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26708 + soname_spec='${libname}${release}${shared_ext}$major'
26709 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
26710 + shlibpath_var=LD_LIBRARY_PATH
26711 + shlibpath_overrides_runpath=no
26712 + hardcode_into_libs=yes
26715 irix5* | irix6* | nonstopux*)
26717 nonstopux*) version_type=nonstopux ;;
26718 @@ -17182,7 +18749,7 @@ linux*oldld* | linux*aout* | linux*coff*)
26721 # This must be Linux ELF.
26723 +linux* | k*bsd*-gnu)
26727 @@ -17196,31 +18763,10 @@ linux*)
26728 # before this can be enabled.
26729 hardcode_into_libs=yes
26731 - # find out which ABI we are using
26733 - case "$host_cpu" in
26734 - x86_64*|s390x*|powerpc64*)
26735 - echo '#line 17203 "configure"' > conftest.$ac_ext
26736 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26737 - (eval $ac_compile) 2>&5
26739 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 - (exit $ac_status); }; then
26741 - case `/usr/bin/file conftest.$ac_objext` in
26744 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
26752 # Append ld.so.conf contents to the search path
26753 if test -f /etc/ld.so.conf; then
26754 - lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
26755 - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
26756 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
26757 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
26760 # We used to test for /lib/ld.so.1 and disable shared libraries on
26761 @@ -17232,7 +18778,7 @@ linux*)
26762 dynamic_linker='GNU/Linux ld.so'
26770 @@ -17241,7 +18787,7 @@ knetbsd*-gnu)
26771 shlibpath_var=LD_LIBRARY_PATH
26772 shlibpath_overrides_runpath=no
26773 hardcode_into_libs=yes
26774 - dynamic_linker='GNU ld.so'
26775 + dynamic_linker='NetBSD ld.elf_so'
26779 @@ -17281,8 +18827,13 @@ nto-qnx*)
26783 + sys_lib_dlsearch_path_spec="/usr/lib"
26786 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
26788 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
26789 + *) need_version=no ;;
26791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26792 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
26793 shlibpath_var=LD_LIBRARY_PATH
26794 @@ -17320,11 +18871,8 @@ osf3* | osf4* | osf5*)
26795 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
26800 - soname_spec='${libname}${release}${shared_ext}$major'
26801 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26802 - shlibpath_var=LD_LIBRARY_PATH
26804 + dynamic_linker=no
26808 @@ -17352,7 +18900,7 @@ sunos4*)
26812 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
26815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26816 soname_spec='${libname}${release}${shared_ext}$major'
26817 @@ -17385,6 +18933,29 @@ sysv4*MP*)
26821 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
26822 + version_type=freebsd-elf
26823 + need_lib_prefix=no
26825 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
26826 + soname_spec='${libname}${release}${shared_ext}$major'
26827 + shlibpath_var=LD_LIBRARY_PATH
26828 + hardcode_into_libs=yes
26829 + if test "$with_gnu_ld" = yes; then
26830 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
26831 + shlibpath_overrides_runpath=no
26833 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
26834 + shlibpath_overrides_runpath=yes
26837 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
26841 + sys_lib_dlsearch_path_spec='/usr/lib'
26846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26847 @@ -17396,16 +18967,36 @@ uts4*)
26851 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
26852 -echo "${ECHO_T}$dynamic_linker" >&6
26853 +{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
26854 +$as_echo "$dynamic_linker" >&6; }
26855 test "$dynamic_linker" = no && can_build_shared=no
26857 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
26858 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
26859 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
26860 + $as_echo_n "(cached) " >&6
26862 + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
26865 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
26866 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
26867 + $as_echo_n "(cached) " >&6
26869 + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
26872 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
26874 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
26875 +if test "$GCC" = yes; then
26876 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
26879 +{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
26880 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
26881 hardcode_action_GCJ=
26882 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
26883 - test -n "$runpath_var GCJ" || \
26884 - test "X$hardcode_automatic_GCJ"="Xyes" ; then
26885 + test -n "$runpath_var_GCJ" || \
26886 + test "X$hardcode_automatic_GCJ" = "Xyes" ; then
26888 # We can hardcode non-existant directories.
26889 if test "$hardcode_direct_GCJ" != no &&
26890 @@ -17425,8 +19016,8 @@ else
26892 hardcode_action_GCJ=unsupported
26894 -echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
26895 -echo "${ECHO_T}$hardcode_action_GCJ" >&6
26896 +{ $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
26897 +$as_echo "$hardcode_action_GCJ" >&6; }
26899 if test "$hardcode_action_GCJ" = relink; then
26900 # Fast installation is not supported
26901 @@ -17437,841 +19028,6 @@ elif test "$shlibpath_overrides_runpath" = yes ||
26902 enable_fast_install=needless
26907 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
26908 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
26909 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
26910 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
26911 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
26912 - echo "$as_me:$LINENO: result: yes" >&5
26913 -echo "${ECHO_T}yes" >&6
26915 -# FIXME - insert some real tests, host_os isn't really good enough
26918 - if test -n "$STRIP" ; then
26919 - striplib="$STRIP -x"
26920 - echo "$as_me:$LINENO: result: yes" >&5
26921 -echo "${ECHO_T}yes" >&6
26923 - echo "$as_me:$LINENO: result: no" >&5
26924 -echo "${ECHO_T}no" >&6
26928 - echo "$as_me:$LINENO: result: no" >&5
26929 -echo "${ECHO_T}no" >&6
26934 -if test "x$enable_dlopen" != xyes; then
26935 - enable_dlopen=unknown
26936 - enable_dlopen_self=unknown
26937 - enable_dlopen_self_static=unknown
26940 - lt_cv_dlopen_libs=
26944 - lt_cv_dlopen="load_add_on"
26945 - lt_cv_dlopen_libs=
26946 - lt_cv_dlopen_self=yes
26950 - lt_cv_dlopen="LoadLibrary"
26951 - lt_cv_dlopen_libs=
26955 - lt_cv_dlopen="dlopen"
26956 - lt_cv_dlopen_libs=
26960 - # if libdl is installed we need to link against it
26961 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
26962 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
26963 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
26964 - echo $ECHO_N "(cached) $ECHO_C" >&6
26966 - ac_check_lib_save_LIBS=$LIBS
26968 -cat >conftest.$ac_ext <<_ACEOF
26971 -cat confdefs.h >>conftest.$ac_ext
26972 -cat >>conftest.$ac_ext <<_ACEOF
26973 -/* end confdefs.h. */
26975 -/* Override any gcc2 internal prototype to avoid an error. */
26976 -#ifdef __cplusplus
26979 -/* We use char because int might match the return type of a gcc2
26980 - builtin and then its argument prototype would still apply. */
26990 -rm -f conftest.$ac_objext conftest$ac_exeext
26991 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26992 - (eval $ac_link) 2>conftest.er1
26994 - grep -v '^ *+' conftest.er1 >conftest.err
26995 - rm -f conftest.er1
26996 - cat conftest.err >&5
26997 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 - (exit $ac_status); } &&
26999 - { ac_try='test -z "$ac_c_werror_flag"
27000 - || test ! -s conftest.err'
27001 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27002 - (eval $ac_try) 2>&5
27004 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27005 - (exit $ac_status); }; } &&
27006 - { ac_try='test -s conftest$ac_exeext'
27007 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27008 - (eval $ac_try) 2>&5
27010 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27011 - (exit $ac_status); }; }; then
27012 - ac_cv_lib_dl_dlopen=yes
27014 - echo "$as_me: failed program was:" >&5
27015 -sed 's/^/| /' conftest.$ac_ext >&5
27017 -ac_cv_lib_dl_dlopen=no
27019 -rm -f conftest.err conftest.$ac_objext \
27020 - conftest$ac_exeext conftest.$ac_ext
27021 -LIBS=$ac_check_lib_save_LIBS
27023 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
27024 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
27025 -if test $ac_cv_lib_dl_dlopen = yes; then
27026 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
27029 - lt_cv_dlopen="dyld"
27030 - lt_cv_dlopen_libs=
27031 - lt_cv_dlopen_self=yes
27038 - echo "$as_me:$LINENO: checking for shl_load" >&5
27039 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
27040 -if test "${ac_cv_func_shl_load+set}" = set; then
27041 - echo $ECHO_N "(cached) $ECHO_C" >&6
27043 - cat >conftest.$ac_ext <<_ACEOF
27046 -cat confdefs.h >>conftest.$ac_ext
27047 -cat >>conftest.$ac_ext <<_ACEOF
27048 -/* end confdefs.h. */
27049 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
27050 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
27051 -#define shl_load innocuous_shl_load
27053 -/* System header to define __stub macros and hopefully few prototypes,
27054 - which can conflict with char shl_load (); below.
27055 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27056 - <limits.h> exists even on freestanding compilers. */
27059 -# include <limits.h>
27061 -# include <assert.h>
27066 -/* Override any gcc2 internal prototype to avoid an error. */
27067 -#ifdef __cplusplus
27071 -/* We use char because int might match the return type of a gcc2
27072 - builtin and then its argument prototype would still apply. */
27074 -/* The GNU C library defines this for functions which it implements
27075 - to always fail with ENOSYS. Some functions are actually named
27076 - something starting with __ and the normal name is an alias. */
27077 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
27080 -char (*f) () = shl_load;
27082 -#ifdef __cplusplus
27089 -return f != shl_load;
27094 -rm -f conftest.$ac_objext conftest$ac_exeext
27095 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27096 - (eval $ac_link) 2>conftest.er1
27098 - grep -v '^ *+' conftest.er1 >conftest.err
27099 - rm -f conftest.er1
27100 - cat conftest.err >&5
27101 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27102 - (exit $ac_status); } &&
27103 - { ac_try='test -z "$ac_c_werror_flag"
27104 - || test ! -s conftest.err'
27105 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27106 - (eval $ac_try) 2>&5
27108 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27109 - (exit $ac_status); }; } &&
27110 - { ac_try='test -s conftest$ac_exeext'
27111 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27112 - (eval $ac_try) 2>&5
27114 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27115 - (exit $ac_status); }; }; then
27116 - ac_cv_func_shl_load=yes
27118 - echo "$as_me: failed program was:" >&5
27119 -sed 's/^/| /' conftest.$ac_ext >&5
27121 -ac_cv_func_shl_load=no
27123 -rm -f conftest.err conftest.$ac_objext \
27124 - conftest$ac_exeext conftest.$ac_ext
27126 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
27127 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
27128 -if test $ac_cv_func_shl_load = yes; then
27129 - lt_cv_dlopen="shl_load"
27131 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
27132 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
27133 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
27134 - echo $ECHO_N "(cached) $ECHO_C" >&6
27136 - ac_check_lib_save_LIBS=$LIBS
27137 -LIBS="-ldld $LIBS"
27138 -cat >conftest.$ac_ext <<_ACEOF
27141 -cat confdefs.h >>conftest.$ac_ext
27142 -cat >>conftest.$ac_ext <<_ACEOF
27143 -/* end confdefs.h. */
27145 -/* Override any gcc2 internal prototype to avoid an error. */
27146 -#ifdef __cplusplus
27149 -/* We use char because int might match the return type of a gcc2
27150 - builtin and then its argument prototype would still apply. */
27160 -rm -f conftest.$ac_objext conftest$ac_exeext
27161 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27162 - (eval $ac_link) 2>conftest.er1
27164 - grep -v '^ *+' conftest.er1 >conftest.err
27165 - rm -f conftest.er1
27166 - cat conftest.err >&5
27167 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27168 - (exit $ac_status); } &&
27169 - { ac_try='test -z "$ac_c_werror_flag"
27170 - || test ! -s conftest.err'
27171 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27172 - (eval $ac_try) 2>&5
27174 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27175 - (exit $ac_status); }; } &&
27176 - { ac_try='test -s conftest$ac_exeext'
27177 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27178 - (eval $ac_try) 2>&5
27180 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27181 - (exit $ac_status); }; }; then
27182 - ac_cv_lib_dld_shl_load=yes
27184 - echo "$as_me: failed program was:" >&5
27185 -sed 's/^/| /' conftest.$ac_ext >&5
27187 -ac_cv_lib_dld_shl_load=no
27189 -rm -f conftest.err conftest.$ac_objext \
27190 - conftest$ac_exeext conftest.$ac_ext
27191 -LIBS=$ac_check_lib_save_LIBS
27193 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
27194 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
27195 -if test $ac_cv_lib_dld_shl_load = yes; then
27196 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
27198 - echo "$as_me:$LINENO: checking for dlopen" >&5
27199 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
27200 -if test "${ac_cv_func_dlopen+set}" = set; then
27201 - echo $ECHO_N "(cached) $ECHO_C" >&6
27203 - cat >conftest.$ac_ext <<_ACEOF
27206 -cat confdefs.h >>conftest.$ac_ext
27207 -cat >>conftest.$ac_ext <<_ACEOF
27208 -/* end confdefs.h. */
27209 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
27210 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
27211 -#define dlopen innocuous_dlopen
27213 -/* System header to define __stub macros and hopefully few prototypes,
27214 - which can conflict with char dlopen (); below.
27215 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27216 - <limits.h> exists even on freestanding compilers. */
27219 -# include <limits.h>
27221 -# include <assert.h>
27226 -/* Override any gcc2 internal prototype to avoid an error. */
27227 -#ifdef __cplusplus
27231 -/* We use char because int might match the return type of a gcc2
27232 - builtin and then its argument prototype would still apply. */
27234 -/* The GNU C library defines this for functions which it implements
27235 - to always fail with ENOSYS. Some functions are actually named
27236 - something starting with __ and the normal name is an alias. */
27237 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
27240 -char (*f) () = dlopen;
27242 -#ifdef __cplusplus
27249 -return f != dlopen;
27254 -rm -f conftest.$ac_objext conftest$ac_exeext
27255 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27256 - (eval $ac_link) 2>conftest.er1
27258 - grep -v '^ *+' conftest.er1 >conftest.err
27259 - rm -f conftest.er1
27260 - cat conftest.err >&5
27261 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27262 - (exit $ac_status); } &&
27263 - { ac_try='test -z "$ac_c_werror_flag"
27264 - || test ! -s conftest.err'
27265 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27266 - (eval $ac_try) 2>&5
27268 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27269 - (exit $ac_status); }; } &&
27270 - { ac_try='test -s conftest$ac_exeext'
27271 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27272 - (eval $ac_try) 2>&5
27274 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27275 - (exit $ac_status); }; }; then
27276 - ac_cv_func_dlopen=yes
27278 - echo "$as_me: failed program was:" >&5
27279 -sed 's/^/| /' conftest.$ac_ext >&5
27281 -ac_cv_func_dlopen=no
27283 -rm -f conftest.err conftest.$ac_objext \
27284 - conftest$ac_exeext conftest.$ac_ext
27286 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
27287 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
27288 -if test $ac_cv_func_dlopen = yes; then
27289 - lt_cv_dlopen="dlopen"
27291 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
27292 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
27293 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
27294 - echo $ECHO_N "(cached) $ECHO_C" >&6
27296 - ac_check_lib_save_LIBS=$LIBS
27298 -cat >conftest.$ac_ext <<_ACEOF
27301 -cat confdefs.h >>conftest.$ac_ext
27302 -cat >>conftest.$ac_ext <<_ACEOF
27303 -/* end confdefs.h. */
27305 -/* Override any gcc2 internal prototype to avoid an error. */
27306 -#ifdef __cplusplus
27309 -/* We use char because int might match the return type of a gcc2
27310 - builtin and then its argument prototype would still apply. */
27320 -rm -f conftest.$ac_objext conftest$ac_exeext
27321 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27322 - (eval $ac_link) 2>conftest.er1
27324 - grep -v '^ *+' conftest.er1 >conftest.err
27325 - rm -f conftest.er1
27326 - cat conftest.err >&5
27327 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27328 - (exit $ac_status); } &&
27329 - { ac_try='test -z "$ac_c_werror_flag"
27330 - || test ! -s conftest.err'
27331 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27332 - (eval $ac_try) 2>&5
27334 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27335 - (exit $ac_status); }; } &&
27336 - { ac_try='test -s conftest$ac_exeext'
27337 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27338 - (eval $ac_try) 2>&5
27340 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27341 - (exit $ac_status); }; }; then
27342 - ac_cv_lib_dl_dlopen=yes
27344 - echo "$as_me: failed program was:" >&5
27345 -sed 's/^/| /' conftest.$ac_ext >&5
27347 -ac_cv_lib_dl_dlopen=no
27349 -rm -f conftest.err conftest.$ac_objext \
27350 - conftest$ac_exeext conftest.$ac_ext
27351 -LIBS=$ac_check_lib_save_LIBS
27353 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
27354 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
27355 -if test $ac_cv_lib_dl_dlopen = yes; then
27356 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
27358 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
27359 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
27360 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
27361 - echo $ECHO_N "(cached) $ECHO_C" >&6
27363 - ac_check_lib_save_LIBS=$LIBS
27364 -LIBS="-lsvld $LIBS"
27365 -cat >conftest.$ac_ext <<_ACEOF
27368 -cat confdefs.h >>conftest.$ac_ext
27369 -cat >>conftest.$ac_ext <<_ACEOF
27370 -/* end confdefs.h. */
27372 -/* Override any gcc2 internal prototype to avoid an error. */
27373 -#ifdef __cplusplus
27376 -/* We use char because int might match the return type of a gcc2
27377 - builtin and then its argument prototype would still apply. */
27387 -rm -f conftest.$ac_objext conftest$ac_exeext
27388 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27389 - (eval $ac_link) 2>conftest.er1
27391 - grep -v '^ *+' conftest.er1 >conftest.err
27392 - rm -f conftest.er1
27393 - cat conftest.err >&5
27394 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27395 - (exit $ac_status); } &&
27396 - { ac_try='test -z "$ac_c_werror_flag"
27397 - || test ! -s conftest.err'
27398 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27399 - (eval $ac_try) 2>&5
27401 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 - (exit $ac_status); }; } &&
27403 - { ac_try='test -s conftest$ac_exeext'
27404 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27405 - (eval $ac_try) 2>&5
27407 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27408 - (exit $ac_status); }; }; then
27409 - ac_cv_lib_svld_dlopen=yes
27411 - echo "$as_me: failed program was:" >&5
27412 -sed 's/^/| /' conftest.$ac_ext >&5
27414 -ac_cv_lib_svld_dlopen=no
27416 -rm -f conftest.err conftest.$ac_objext \
27417 - conftest$ac_exeext conftest.$ac_ext
27418 -LIBS=$ac_check_lib_save_LIBS
27420 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
27421 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
27422 -if test $ac_cv_lib_svld_dlopen = yes; then
27423 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
27425 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
27426 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
27427 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
27428 - echo $ECHO_N "(cached) $ECHO_C" >&6
27430 - ac_check_lib_save_LIBS=$LIBS
27431 -LIBS="-ldld $LIBS"
27432 -cat >conftest.$ac_ext <<_ACEOF
27435 -cat confdefs.h >>conftest.$ac_ext
27436 -cat >>conftest.$ac_ext <<_ACEOF
27437 -/* end confdefs.h. */
27439 -/* Override any gcc2 internal prototype to avoid an error. */
27440 -#ifdef __cplusplus
27443 -/* We use char because int might match the return type of a gcc2
27444 - builtin and then its argument prototype would still apply. */
27454 -rm -f conftest.$ac_objext conftest$ac_exeext
27455 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27456 - (eval $ac_link) 2>conftest.er1
27458 - grep -v '^ *+' conftest.er1 >conftest.err
27459 - rm -f conftest.er1
27460 - cat conftest.err >&5
27461 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27462 - (exit $ac_status); } &&
27463 - { ac_try='test -z "$ac_c_werror_flag"
27464 - || test ! -s conftest.err'
27465 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27466 - (eval $ac_try) 2>&5
27468 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27469 - (exit $ac_status); }; } &&
27470 - { ac_try='test -s conftest$ac_exeext'
27471 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27472 - (eval $ac_try) 2>&5
27474 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27475 - (exit $ac_status); }; }; then
27476 - ac_cv_lib_dld_dld_link=yes
27478 - echo "$as_me: failed program was:" >&5
27479 -sed 's/^/| /' conftest.$ac_ext >&5
27481 -ac_cv_lib_dld_dld_link=no
27483 -rm -f conftest.err conftest.$ac_objext \
27484 - conftest$ac_exeext conftest.$ac_ext
27485 -LIBS=$ac_check_lib_save_LIBS
27487 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
27488 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
27489 -if test $ac_cv_lib_dld_dld_link = yes; then
27490 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
27511 - if test "x$lt_cv_dlopen" != xno; then
27512 - enable_dlopen=yes
27517 - case $lt_cv_dlopen in
27519 - save_CPPFLAGS="$CPPFLAGS"
27520 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
27522 - save_LDFLAGS="$LDFLAGS"
27523 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
27525 - save_LIBS="$LIBS"
27526 - LIBS="$lt_cv_dlopen_libs $LIBS"
27528 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
27529 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
27530 -if test "${lt_cv_dlopen_self+set}" = set; then
27531 - echo $ECHO_N "(cached) $ECHO_C" >&6
27533 - if test "$cross_compiling" = yes; then :
27534 - lt_cv_dlopen_self=cross
27536 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
27537 - lt_status=$lt_dlunknown
27538 - cat > conftest.$ac_ext <<EOF
27539 -#line 18074 "configure"
27540 -#include "confdefs.h"
27543 -#include <dlfcn.h>
27546 -#include <stdio.h>
27548 -#ifdef RTLD_GLOBAL
27549 -# define LT_DLGLOBAL RTLD_GLOBAL
27552 -# define LT_DLGLOBAL DL_GLOBAL
27554 -# define LT_DLGLOBAL 0
27558 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
27559 - find out it does not work in some platform. */
27560 -#ifndef LT_DLLAZY_OR_NOW
27562 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
27565 -# define LT_DLLAZY_OR_NOW DL_LAZY
27568 -# define LT_DLLAZY_OR_NOW RTLD_NOW
27571 -# define LT_DLLAZY_OR_NOW DL_NOW
27573 -# define LT_DLLAZY_OR_NOW 0
27580 -#ifdef __cplusplus
27581 -extern "C" void exit (int);
27584 -void fnord() { int i=42;}
27587 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
27588 - int status = $lt_dlunknown;
27592 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
27593 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
27594 - /* dlclose (self); */
27600 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27601 - (eval $ac_link) 2>&5
27603 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27604 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
27605 - (./conftest; exit; ) 2>/dev/null
27607 - case x$lt_status in
27608 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
27609 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
27610 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
27613 - # compilation failed
27614 - lt_cv_dlopen_self=no
27621 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
27622 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
27624 - if test "x$lt_cv_dlopen_self" = xyes; then
27625 - LDFLAGS="$LDFLAGS $link_static_flag"
27626 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
27627 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
27628 -if test "${lt_cv_dlopen_self_static+set}" = set; then
27629 - echo $ECHO_N "(cached) $ECHO_C" >&6
27631 - if test "$cross_compiling" = yes; then :
27632 - lt_cv_dlopen_self_static=cross
27634 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
27635 - lt_status=$lt_dlunknown
27636 - cat > conftest.$ac_ext <<EOF
27637 -#line 18172 "configure"
27638 -#include "confdefs.h"
27641 -#include <dlfcn.h>
27644 -#include <stdio.h>
27646 -#ifdef RTLD_GLOBAL
27647 -# define LT_DLGLOBAL RTLD_GLOBAL
27650 -# define LT_DLGLOBAL DL_GLOBAL
27652 -# define LT_DLGLOBAL 0
27656 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
27657 - find out it does not work in some platform. */
27658 -#ifndef LT_DLLAZY_OR_NOW
27660 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
27663 -# define LT_DLLAZY_OR_NOW DL_LAZY
27666 -# define LT_DLLAZY_OR_NOW RTLD_NOW
27669 -# define LT_DLLAZY_OR_NOW DL_NOW
27671 -# define LT_DLLAZY_OR_NOW 0
27678 -#ifdef __cplusplus
27679 -extern "C" void exit (int);
27682 -void fnord() { int i=42;}
27685 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
27686 - int status = $lt_dlunknown;
27690 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
27691 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
27692 - /* dlclose (self); */
27698 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27699 - (eval $ac_link) 2>&5
27701 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27702 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
27703 - (./conftest; exit; ) 2>/dev/null
27705 - case x$lt_status in
27706 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
27707 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
27708 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
27711 - # compilation failed
27712 - lt_cv_dlopen_self_static=no
27719 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
27720 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
27723 - CPPFLAGS="$save_CPPFLAGS"
27724 - LDFLAGS="$save_LDFLAGS"
27725 - LIBS="$save_LIBS"
27729 - case $lt_cv_dlopen_self in
27730 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
27731 - *) enable_dlopen_self=unknown ;;
27734 - case $lt_cv_dlopen_self_static in
27735 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
27736 - *) enable_dlopen_self_static=unknown ;;
27741 # The else clause should only fire when bootstrapping the
27742 # libtool distribution, otherwise you forgot to ship ltmain.sh
27743 @@ -18286,7 +19042,7 @@ if test -f "$ltmain"; then
27744 # Now quote all the things that may contain metacharacters while being
27745 # careful not to overquote the AC_SUBSTed values. We take copies of the
27746 # variables and quote the copies for generation of the libtool script.
27747 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
27748 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
27750 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
27751 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
27752 @@ -18313,6 +19069,7 @@ if test -f "$ltmain"; then
27755 compiler_lib_search_path_GCJ \
27756 + compiler_lib_search_dirs_GCJ \
27758 archive_expsym_cmds_GCJ \
27759 postinstall_cmds_GCJ \
27760 @@ -18328,6 +19085,7 @@ if test -f "$ltmain"; then
27762 module_expsym_cmds_GCJ \
27763 lt_cv_prog_compiler_c_o_GCJ \
27764 + fix_srcfile_path_GCJ \
27765 exclude_expsyms_GCJ \
27766 include_expsyms_GCJ; do
27768 @@ -18387,6 +19145,12 @@ fast_install=$enable_fast_install
27770 host_alias=$host_alias
27774 +# The build system.
27775 +build_alias=$build_alias
27777 +build_os=$build_os
27779 # An echo program that does not interpret backslashes.
27781 @@ -18398,6 +19162,9 @@ AR_FLAGS=$lt_AR_FLAGS
27785 +# LTCC compiler flags.
27786 +LTCFLAGS=$lt_LTCFLAGS
27788 # A language-specific compiler.
27789 CC=$lt_compiler_GCJ
27791 @@ -18463,7 +19230,7 @@ max_cmd_len=$lt_cv_sys_max_cmd_len
27792 # Does compiler simultaneously support -c and -o options?
27793 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
27795 -# Must we lock files when doing compilation ?
27796 +# Must we lock files when doing compilation?
27797 need_locks=$lt_need_locks
27799 # Do we need the lib prefix for modules?
27800 @@ -18551,6 +19318,10 @@ predeps=$lt_predeps_GCJ
27802 postdeps=$lt_postdeps_GCJ
27804 +# The directories searched by this compiler when creating a shared
27806 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
27808 # The library search path used internally by the compiler when linking
27809 # a shared library.
27810 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
27811 @@ -18639,7 +19410,7 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27812 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27814 # Fix the shell variable \$srcfile for the compiler.
27815 -fix_srcfile_path="$fix_srcfile_path_GCJ"
27816 +fix_srcfile_path=$lt_fix_srcfile_path
27818 # Set to yes if exported symbols are required.
27819 always_export_symbols=$always_export_symbols_GCJ
27820 @@ -18688,7 +19459,6 @@ CC="$lt_save_CC"
27825 # Source file extension for RC test sources.
27828 @@ -18697,7 +19467,7 @@ objext=o
27831 # Code to be used in simple compile tests
27832 -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
27833 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
27835 # Code to be used in simple link tests
27836 lt_simple_link_test_code="$lt_simple_compile_test_code"
27837 @@ -18707,15 +19477,42 @@ lt_simple_link_test_code="$lt_simple_compile_test_code"
27838 # If no C compiler was specified, use CC.
27841 +# If no C compiler flags were specified, use CFLAGS.
27842 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
27844 # Allow CC to be a program name with arguments.
27848 +# save warnings/boilerplate of simple test code
27849 +ac_outfile=conftest.$ac_objext
27850 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
27851 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
27852 +_lt_compiler_boilerplate=`cat conftest.err`
27855 +ac_outfile=conftest.$ac_objext
27856 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
27857 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
27858 +_lt_linker_boilerplate=`cat conftest.err`
27862 # Allow CC to be a program name with arguments.
27867 +for cc_temp in $compiler""; do
27869 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
27870 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
27875 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
27877 lt_cv_prog_compiler_c_o_RC=yes
27879 # The else clause should only fire when bootstrapping the
27880 @@ -18731,7 +19528,7 @@ if test -f "$ltmain"; then
27881 # Now quote all the things that may contain metacharacters while being
27882 # careful not to overquote the AC_SUBSTed values. We take copies of the
27883 # variables and quote the copies for generation of the libtool script.
27884 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
27885 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
27887 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
27888 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
27889 @@ -18758,6 +19555,7 @@ if test -f "$ltmain"; then
27892 compiler_lib_search_path_RC \
27893 + compiler_lib_search_dirs_RC \
27895 archive_expsym_cmds_RC \
27896 postinstall_cmds_RC \
27897 @@ -18773,6 +19571,7 @@ if test -f "$ltmain"; then
27899 module_expsym_cmds_RC \
27900 lt_cv_prog_compiler_c_o_RC \
27901 + fix_srcfile_path_RC \
27902 exclude_expsyms_RC \
27903 include_expsyms_RC; do
27905 @@ -18832,6 +19631,12 @@ fast_install=$enable_fast_install
27907 host_alias=$host_alias
27911 +# The build system.
27912 +build_alias=$build_alias
27914 +build_os=$build_os
27916 # An echo program that does not interpret backslashes.
27918 @@ -18843,6 +19648,9 @@ AR_FLAGS=$lt_AR_FLAGS
27922 +# LTCC compiler flags.
27923 +LTCFLAGS=$lt_LTCFLAGS
27925 # A language-specific compiler.
27928 @@ -18908,7 +19716,7 @@ max_cmd_len=$lt_cv_sys_max_cmd_len
27929 # Does compiler simultaneously support -c and -o options?
27930 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
27932 -# Must we lock files when doing compilation ?
27933 +# Must we lock files when doing compilation?
27934 need_locks=$lt_need_locks
27936 # Do we need the lib prefix for modules?
27937 @@ -18996,6 +19804,10 @@ predeps=$lt_predeps_RC
27939 postdeps=$lt_postdeps_RC
27941 +# The directories searched by this compiler when creating a shared
27943 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
27945 # The library search path used internally by the compiler when linking
27946 # a shared library.
27947 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
27948 @@ -19084,7 +19896,7 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27949 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27951 # Fix the shell variable \$srcfile for the compiler.
27952 -fix_srcfile_path="$fix_srcfile_path_RC"
27953 +fix_srcfile_path=$lt_fix_srcfile_path
27955 # Set to yes if exported symbols are required.
27956 always_export_symbols=$always_export_symbols_RC
27957 @@ -19128,8 +19940,8 @@ CC="$lt_save_CC"
27961 - { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
27962 -echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
27963 + { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
27964 +$as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
27965 { (exit 1); exit 1; }; }
27968 @@ -19148,8 +19960,8 @@ echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
27972 - { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
27973 -echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
27974 + { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
27975 +$as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
27976 { (exit 1); exit 1; }; }
27979 @@ -19185,20 +19997,20 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
27983 -# Check whether --with-mysql or --without-mysql was given.
27984 +# Check whether --with-mysql was given.
27985 if test "${with_mysql+set}" = set; then
27986 - withval="$with_mysql"
27987 + withval=$with_mysql;
27991 -# Check whether --enable-debug or --disable-debug was given.
27992 +# Check whether --enable-debug was given.
27993 if test "${enable_debug+set}" = set; then
27994 - enableval="$enable_debug"
27996 + enableval=$enable_debug;
27997 cat >>confdefs.h <<\_ACEOF
28005 case "$target_os" in
28007 @@ -19237,10 +20049,10 @@ else
28011 -echo "$as_me:$LINENO: checking whether the linker accepts -znodelete" >&5
28012 -echo $ECHO_N "checking whether the linker accepts -znodelete... $ECHO_C" >&6
28013 +{ $as_echo "$as_me:$LINENO: checking whether the linker accepts -znodelete" >&5
28014 +$as_echo_n "checking whether the linker accepts -znodelete... " >&6; }
28015 if test "${nss_mysql_cv_cc_znodelete+set}" = set; then
28016 - echo $ECHO_N "(cached) $ECHO_C" >&6
28017 + $as_echo_n "(cached) " >&6
28021 @@ -19261,40 +20073,41 @@ main ()
28024 rm -f conftest.$ac_objext conftest$ac_exeext
28025 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28026 - (eval $ac_link) 2>conftest.er1
28027 +if { (ac_try="$ac_link"
28028 +case "(($ac_try" in
28029 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28030 + *) ac_try_echo=$ac_try;;
28032 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28033 +$as_echo "$ac_try_echo") >&5
28034 + (eval "$ac_link") 2>conftest.er1
28036 grep -v '^ *+' conftest.er1 >conftest.err
28038 cat conftest.err >&5
28039 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28040 - (exit $ac_status); } &&
28041 - { ac_try='test -z "$ac_c_werror_flag"
28042 - || test ! -s conftest.err'
28043 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28044 - (eval $ac_try) 2>&5
28046 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28047 - (exit $ac_status); }; } &&
28048 - { ac_try='test -s conftest$ac_exeext'
28049 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28050 - (eval $ac_try) 2>&5
28052 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28053 - (exit $ac_status); }; }; then
28054 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28055 + (exit $ac_status); } && {
28056 + test -z "$ac_c_werror_flag" ||
28057 + test ! -s conftest.err
28058 + } && test -s conftest$ac_exeext && {
28059 + test "$cross_compiling" = yes ||
28060 + $as_test_x conftest$ac_exeext
28062 nss_mysql_cv_cc_znodelete=yes
28064 - echo "$as_me: failed program was:" >&5
28065 + $as_echo "$as_me: failed program was:" >&5
28066 sed 's/^/| /' conftest.$ac_ext >&5
28068 -nss_mysql_cv_cc_znodelete=no
28069 + nss_mysql_cv_cc_znodelete=no
28071 -rm -f conftest.err conftest.$ac_objext \
28073 +rm -rf conftest.dSYM
28074 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28075 conftest$ac_exeext conftest.$ac_ext
28078 -echo "$as_me:$LINENO: result: $nss_mysql_cv_cc_znodelete" >&5
28079 -echo "${ECHO_T}$nss_mysql_cv_cc_znodelete" >&6
28080 +{ $as_echo "$as_me:$LINENO: result: $nss_mysql_cv_cc_znodelete" >&5
28081 +$as_echo "$nss_mysql_cv_cc_znodelete" >&6; }
28082 if test $nss_mysql_cv_cc_znodelete = "yes"; then
28083 LIBS="-Wl,-znodelete $SAVELIBS"
28085 @@ -19311,8 +20124,8 @@ baselist="$with_mysql \
28089 -echo "$as_me:$LINENO: checking for MySQL headers" >&5
28090 -echo $ECHO_N "checking for MySQL headers... $ECHO_C" >&6
28091 +{ $as_echo "$as_me:$LINENO: checking for MySQL headers" >&5
28092 +$as_echo_n "checking for MySQL headers... " >&6; }
28093 for f in $baselist; do
28094 if test -f "$f/include/mysql/mysql.h"
28096 @@ -19329,17 +20142,17 @@ done
28098 if test -n "$MYSQL_INC_DIR"
28100 - echo "$as_me:$LINENO: result: $MYSQL_INC_DIR" >&5
28101 -echo "${ECHO_T}$MYSQL_INC_DIR" >&6
28102 + { $as_echo "$as_me:$LINENO: result: $MYSQL_INC_DIR" >&5
28103 +$as_echo "$MYSQL_INC_DIR" >&6; }
28104 CPPFLAGS="-I $MYSQL_INC_DIR $CPPFLAGS"
28106 - { { echo "$as_me:$LINENO: error: Cannot locate MySQL headers. Try using --with-mysql=DIR" >&5
28107 -echo "$as_me: error: Cannot locate MySQL headers. Try using --with-mysql=DIR" >&2;}
28108 + { { $as_echo "$as_me:$LINENO: error: Cannot locate MySQL headers. Try using --with-mysql=DIR" >&5
28109 +$as_echo "$as_me: error: Cannot locate MySQL headers. Try using --with-mysql=DIR" >&2;}
28110 { (exit 1); exit 1; }; }
28113 -echo "$as_me:$LINENO: checking for MySQL libraries" >&5
28114 -echo $ECHO_N "checking for MySQL libraries... $ECHO_C" >&6
28115 +{ $as_echo "$as_me:$LINENO: checking for MySQL libraries" >&5
28116 +$as_echo_n "checking for MySQL libraries... " >&6; }
28117 for f in $baselist; do
28118 if test -f "$f/lib/libmysqlclient.so"
28120 @@ -19370,22 +20183,22 @@ done
28122 if test -n "$MYSQL_LIB_DIR"
28124 - echo "$as_me:$LINENO: result: $MYSQL_LIB_DIR" >&5
28125 -echo "${ECHO_T}$MYSQL_LIB_DIR" >&6
28126 + { $as_echo "$as_me:$LINENO: result: $MYSQL_LIB_DIR" >&5
28127 +$as_echo "$MYSQL_LIB_DIR" >&6; }
28128 LDFLAGS="-L$MYSQL_LIB_DIR $LDFLAGS"
28130 - { { echo "$as_me:$LINENO: error: Cannot locate MySQL libraries. Try using --with-mysql=DIR" >&5
28131 -echo "$as_me: error: Cannot locate MySQL libraries. Try using --with-mysql=DIR" >&2;}
28132 + { { $as_echo "$as_me:$LINENO: error: Cannot locate MySQL libraries. Try using --with-mysql=DIR" >&5
28133 +$as_echo "$as_me: error: Cannot locate MySQL libraries. Try using --with-mysql=DIR" >&2;}
28134 { (exit 1); exit 1; }; }
28140 -echo "$as_me:$LINENO: checking for getsockname in -lsocket" >&5
28141 -echo $ECHO_N "checking for getsockname in -lsocket... $ECHO_C" >&6
28142 +{ $as_echo "$as_me:$LINENO: checking for getsockname in -lsocket" >&5
28143 +$as_echo_n "checking for getsockname in -lsocket... " >&6; }
28144 if test "${ac_cv_lib_socket_getsockname+set}" = set; then
28145 - echo $ECHO_N "(cached) $ECHO_C" >&6
28146 + $as_echo_n "(cached) " >&6
28148 ac_check_lib_save_LIBS=$LIBS
28149 LIBS="-lsocket $LIBS"
28150 @@ -19396,57 +20209,58 @@ cat confdefs.h >>conftest.$ac_ext
28151 cat >>conftest.$ac_ext <<_ACEOF
28152 /* end confdefs.h. */
28154 -/* Override any gcc2 internal prototype to avoid an error. */
28155 +/* Override any GCC internal prototype to avoid an error.
28156 + Use char because int might match the return type of a GCC
28157 + builtin and then its argument prototype would still apply. */
28161 -/* We use char because int might match the return type of a gcc2
28162 - builtin and then its argument prototype would still apply. */
28163 char getsockname ();
28168 +return getsockname ();
28173 rm -f conftest.$ac_objext conftest$ac_exeext
28174 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28175 - (eval $ac_link) 2>conftest.er1
28176 +if { (ac_try="$ac_link"
28177 +case "(($ac_try" in
28178 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28179 + *) ac_try_echo=$ac_try;;
28181 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28182 +$as_echo "$ac_try_echo") >&5
28183 + (eval "$ac_link") 2>conftest.er1
28185 grep -v '^ *+' conftest.er1 >conftest.err
28187 cat conftest.err >&5
28188 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28189 - (exit $ac_status); } &&
28190 - { ac_try='test -z "$ac_c_werror_flag"
28191 - || test ! -s conftest.err'
28192 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28193 - (eval $ac_try) 2>&5
28195 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28196 - (exit $ac_status); }; } &&
28197 - { ac_try='test -s conftest$ac_exeext'
28198 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28199 - (eval $ac_try) 2>&5
28201 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28202 - (exit $ac_status); }; }; then
28203 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28204 + (exit $ac_status); } && {
28205 + test -z "$ac_c_werror_flag" ||
28206 + test ! -s conftest.err
28207 + } && test -s conftest$ac_exeext && {
28208 + test "$cross_compiling" = yes ||
28209 + $as_test_x conftest$ac_exeext
28211 ac_cv_lib_socket_getsockname=yes
28213 - echo "$as_me: failed program was:" >&5
28214 + $as_echo "$as_me: failed program was:" >&5
28215 sed 's/^/| /' conftest.$ac_ext >&5
28217 -ac_cv_lib_socket_getsockname=no
28218 + ac_cv_lib_socket_getsockname=no
28220 -rm -f conftest.err conftest.$ac_objext \
28222 +rm -rf conftest.dSYM
28223 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28224 conftest$ac_exeext conftest.$ac_ext
28225 LIBS=$ac_check_lib_save_LIBS
28227 -echo "$as_me:$LINENO: result: $ac_cv_lib_socket_getsockname" >&5
28228 -echo "${ECHO_T}$ac_cv_lib_socket_getsockname" >&6
28229 -if test $ac_cv_lib_socket_getsockname = yes; then
28230 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_getsockname" >&5
28231 +$as_echo "$ac_cv_lib_socket_getsockname" >&6; }
28232 +if test "x$ac_cv_lib_socket_getsockname" = x""yes; then
28233 cat >>confdefs.h <<_ACEOF
28234 #define HAVE_LIBSOCKET 1
28236 @@ -19456,10 +20270,10 @@ _ACEOF
28240 -echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28241 -echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28242 +{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28243 +$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
28244 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28245 - echo $ECHO_N "(cached) $ECHO_C" >&6
28246 + $as_echo_n "(cached) " >&6
28248 ac_check_lib_save_LIBS=$LIBS
28250 @@ -19470,57 +20284,58 @@ cat confdefs.h >>conftest.$ac_ext
28251 cat >>conftest.$ac_ext <<_ACEOF
28252 /* end confdefs.h. */
28254 -/* Override any gcc2 internal prototype to avoid an error. */
28255 +/* Override any GCC internal prototype to avoid an error.
28256 + Use char because int might match the return type of a GCC
28257 + builtin and then its argument prototype would still apply. */
28261 -/* We use char because int might match the return type of a gcc2
28262 - builtin and then its argument prototype would still apply. */
28263 char gethostbyname ();
28268 +return gethostbyname ();
28273 rm -f conftest.$ac_objext conftest$ac_exeext
28274 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28275 - (eval $ac_link) 2>conftest.er1
28276 +if { (ac_try="$ac_link"
28277 +case "(($ac_try" in
28278 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28279 + *) ac_try_echo=$ac_try;;
28281 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28282 +$as_echo "$ac_try_echo") >&5
28283 + (eval "$ac_link") 2>conftest.er1
28285 grep -v '^ *+' conftest.er1 >conftest.err
28287 cat conftest.err >&5
28288 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28289 - (exit $ac_status); } &&
28290 - { ac_try='test -z "$ac_c_werror_flag"
28291 - || test ! -s conftest.err'
28292 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28293 - (eval $ac_try) 2>&5
28295 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28296 - (exit $ac_status); }; } &&
28297 - { ac_try='test -s conftest$ac_exeext'
28298 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28299 - (eval $ac_try) 2>&5
28301 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28302 - (exit $ac_status); }; }; then
28303 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 + (exit $ac_status); } && {
28305 + test -z "$ac_c_werror_flag" ||
28306 + test ! -s conftest.err
28307 + } && test -s conftest$ac_exeext && {
28308 + test "$cross_compiling" = yes ||
28309 + $as_test_x conftest$ac_exeext
28311 ac_cv_lib_nsl_gethostbyname=yes
28313 - echo "$as_me: failed program was:" >&5
28314 + $as_echo "$as_me: failed program was:" >&5
28315 sed 's/^/| /' conftest.$ac_ext >&5
28317 -ac_cv_lib_nsl_gethostbyname=no
28318 + ac_cv_lib_nsl_gethostbyname=no
28320 -rm -f conftest.err conftest.$ac_objext \
28322 +rm -rf conftest.dSYM
28323 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28324 conftest$ac_exeext conftest.$ac_ext
28325 LIBS=$ac_check_lib_save_LIBS
28327 -echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28328 -echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28329 -if test $ac_cv_lib_nsl_gethostbyname = yes; then
28330 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28331 +$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
28332 +if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
28333 cat >>confdefs.h <<_ACEOF
28334 #define HAVE_LIBNSL 1
28336 @@ -19530,10 +20345,10 @@ _ACEOF
28340 -echo "$as_me:$LINENO: checking for floor in -lm" >&5
28341 -echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
28342 +{ $as_echo "$as_me:$LINENO: checking for floor in -lm" >&5
28343 +$as_echo_n "checking for floor in -lm... " >&6; }
28344 if test "${ac_cv_lib_m_floor+set}" = set; then
28345 - echo $ECHO_N "(cached) $ECHO_C" >&6
28346 + $as_echo_n "(cached) " >&6
28348 ac_check_lib_save_LIBS=$LIBS
28350 @@ -19544,57 +20359,58 @@ cat confdefs.h >>conftest.$ac_ext
28351 cat >>conftest.$ac_ext <<_ACEOF
28352 /* end confdefs.h. */
28354 -/* Override any gcc2 internal prototype to avoid an error. */
28355 +/* Override any GCC internal prototype to avoid an error.
28356 + Use char because int might match the return type of a GCC
28357 + builtin and then its argument prototype would still apply. */
28361 -/* We use char because int might match the return type of a gcc2
28362 - builtin and then its argument prototype would still apply. */
28373 rm -f conftest.$ac_objext conftest$ac_exeext
28374 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28375 - (eval $ac_link) 2>conftest.er1
28376 +if { (ac_try="$ac_link"
28377 +case "(($ac_try" in
28378 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28379 + *) ac_try_echo=$ac_try;;
28381 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28382 +$as_echo "$ac_try_echo") >&5
28383 + (eval "$ac_link") 2>conftest.er1
28385 grep -v '^ *+' conftest.er1 >conftest.err
28387 cat conftest.err >&5
28388 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28389 - (exit $ac_status); } &&
28390 - { ac_try='test -z "$ac_c_werror_flag"
28391 - || test ! -s conftest.err'
28392 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28393 - (eval $ac_try) 2>&5
28395 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28396 - (exit $ac_status); }; } &&
28397 - { ac_try='test -s conftest$ac_exeext'
28398 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28399 - (eval $ac_try) 2>&5
28401 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28402 - (exit $ac_status); }; }; then
28403 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28404 + (exit $ac_status); } && {
28405 + test -z "$ac_c_werror_flag" ||
28406 + test ! -s conftest.err
28407 + } && test -s conftest$ac_exeext && {
28408 + test "$cross_compiling" = yes ||
28409 + $as_test_x conftest$ac_exeext
28411 ac_cv_lib_m_floor=yes
28413 - echo "$as_me: failed program was:" >&5
28414 + $as_echo "$as_me: failed program was:" >&5
28415 sed 's/^/| /' conftest.$ac_ext >&5
28417 -ac_cv_lib_m_floor=no
28418 + ac_cv_lib_m_floor=no
28420 -rm -f conftest.err conftest.$ac_objext \
28422 +rm -rf conftest.dSYM
28423 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28424 conftest$ac_exeext conftest.$ac_ext
28425 LIBS=$ac_check_lib_save_LIBS
28427 -echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
28428 -echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
28429 -if test $ac_cv_lib_m_floor = yes; then
28430 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
28431 +$as_echo "$ac_cv_lib_m_floor" >&6; }
28432 +if test "x$ac_cv_lib_m_floor" = x""yes; then
28433 cat >>confdefs.h <<_ACEOF
28434 #define HAVE_LIBM 1
28436 @@ -19604,10 +20420,10 @@ _ACEOF
28440 -echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
28441 -echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
28442 +{ $as_echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
28443 +$as_echo_n "checking for dlsym in -ldl... " >&6; }
28444 if test "${ac_cv_lib_dl_dlsym+set}" = set; then
28445 - echo $ECHO_N "(cached) $ECHO_C" >&6
28446 + $as_echo_n "(cached) " >&6
28448 ac_check_lib_save_LIBS=$LIBS
28450 @@ -19618,57 +20434,58 @@ cat confdefs.h >>conftest.$ac_ext
28451 cat >>conftest.$ac_ext <<_ACEOF
28452 /* end confdefs.h. */
28454 -/* Override any gcc2 internal prototype to avoid an error. */
28455 +/* Override any GCC internal prototype to avoid an error.
28456 + Use char because int might match the return type of a GCC
28457 + builtin and then its argument prototype would still apply. */
28461 -/* We use char because int might match the return type of a gcc2
28462 - builtin and then its argument prototype would still apply. */
28473 rm -f conftest.$ac_objext conftest$ac_exeext
28474 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28475 - (eval $ac_link) 2>conftest.er1
28476 +if { (ac_try="$ac_link"
28477 +case "(($ac_try" in
28478 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28479 + *) ac_try_echo=$ac_try;;
28481 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28482 +$as_echo "$ac_try_echo") >&5
28483 + (eval "$ac_link") 2>conftest.er1
28485 grep -v '^ *+' conftest.er1 >conftest.err
28487 cat conftest.err >&5
28488 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28489 - (exit $ac_status); } &&
28490 - { ac_try='test -z "$ac_c_werror_flag"
28491 - || test ! -s conftest.err'
28492 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28493 - (eval $ac_try) 2>&5
28495 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28496 - (exit $ac_status); }; } &&
28497 - { ac_try='test -s conftest$ac_exeext'
28498 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28499 - (eval $ac_try) 2>&5
28501 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28502 - (exit $ac_status); }; }; then
28503 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28504 + (exit $ac_status); } && {
28505 + test -z "$ac_c_werror_flag" ||
28506 + test ! -s conftest.err
28507 + } && test -s conftest$ac_exeext && {
28508 + test "$cross_compiling" = yes ||
28509 + $as_test_x conftest$ac_exeext
28511 ac_cv_lib_dl_dlsym=yes
28513 - echo "$as_me: failed program was:" >&5
28514 + $as_echo "$as_me: failed program was:" >&5
28515 sed 's/^/| /' conftest.$ac_ext >&5
28517 -ac_cv_lib_dl_dlsym=no
28518 + ac_cv_lib_dl_dlsym=no
28520 -rm -f conftest.err conftest.$ac_objext \
28522 +rm -rf conftest.dSYM
28523 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28524 conftest$ac_exeext conftest.$ac_ext
28525 LIBS=$ac_check_lib_save_LIBS
28527 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
28528 -echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6
28529 -if test $ac_cv_lib_dl_dlsym = yes; then
28530 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
28531 +$as_echo "$ac_cv_lib_dl_dlsym" >&6; }
28532 +if test "x$ac_cv_lib_dl_dlsym" = x""yes; then
28533 cat >>confdefs.h <<_ACEOF
28534 #define HAVE_LIBDL 1
28536 @@ -19678,10 +20495,10 @@ _ACEOF
28540 -echo "$as_me:$LINENO: checking for compress in -lz" >&5
28541 -echo $ECHO_N "checking for compress in -lz... $ECHO_C" >&6
28542 +{ $as_echo "$as_me:$LINENO: checking for compress in -lz" >&5
28543 +$as_echo_n "checking for compress in -lz... " >&6; }
28544 if test "${ac_cv_lib_z_compress+set}" = set; then
28545 - echo $ECHO_N "(cached) $ECHO_C" >&6
28546 + $as_echo_n "(cached) " >&6
28548 ac_check_lib_save_LIBS=$LIBS
28550 @@ -19692,57 +20509,58 @@ cat confdefs.h >>conftest.$ac_ext
28551 cat >>conftest.$ac_ext <<_ACEOF
28552 /* end confdefs.h. */
28554 -/* Override any gcc2 internal prototype to avoid an error. */
28555 +/* Override any GCC internal prototype to avoid an error.
28556 + Use char because int might match the return type of a GCC
28557 + builtin and then its argument prototype would still apply. */
28561 -/* We use char because int might match the return type of a gcc2
28562 - builtin and then its argument prototype would still apply. */
28568 +return compress ();
28573 rm -f conftest.$ac_objext conftest$ac_exeext
28574 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28575 - (eval $ac_link) 2>conftest.er1
28576 +if { (ac_try="$ac_link"
28577 +case "(($ac_try" in
28578 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28579 + *) ac_try_echo=$ac_try;;
28581 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28582 +$as_echo "$ac_try_echo") >&5
28583 + (eval "$ac_link") 2>conftest.er1
28585 grep -v '^ *+' conftest.er1 >conftest.err
28587 cat conftest.err >&5
28588 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28589 - (exit $ac_status); } &&
28590 - { ac_try='test -z "$ac_c_werror_flag"
28591 - || test ! -s conftest.err'
28592 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28593 - (eval $ac_try) 2>&5
28595 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28596 - (exit $ac_status); }; } &&
28597 - { ac_try='test -s conftest$ac_exeext'
28598 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28599 - (eval $ac_try) 2>&5
28601 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28602 - (exit $ac_status); }; }; then
28603 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28604 + (exit $ac_status); } && {
28605 + test -z "$ac_c_werror_flag" ||
28606 + test ! -s conftest.err
28607 + } && test -s conftest$ac_exeext && {
28608 + test "$cross_compiling" = yes ||
28609 + $as_test_x conftest$ac_exeext
28611 ac_cv_lib_z_compress=yes
28613 - echo "$as_me: failed program was:" >&5
28614 + $as_echo "$as_me: failed program was:" >&5
28615 sed 's/^/| /' conftest.$ac_ext >&5
28617 -ac_cv_lib_z_compress=no
28618 + ac_cv_lib_z_compress=no
28620 -rm -f conftest.err conftest.$ac_objext \
28622 +rm -rf conftest.dSYM
28623 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28624 conftest$ac_exeext conftest.$ac_ext
28625 LIBS=$ac_check_lib_save_LIBS
28627 -echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress" >&5
28628 -echo "${ECHO_T}$ac_cv_lib_z_compress" >&6
28629 -if test $ac_cv_lib_z_compress = yes; then
28630 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress" >&5
28631 +$as_echo "$ac_cv_lib_z_compress" >&6; }
28632 +if test "x$ac_cv_lib_z_compress" = x""yes; then
28633 cat >>confdefs.h <<_ACEOF
28634 #define HAVE_LIBZ 1
28636 @@ -19753,10 +20571,10 @@ fi
28640 -echo "$as_me:$LINENO: checking for main in -lmysqlclient" >&5
28641 -echo $ECHO_N "checking for main in -lmysqlclient... $ECHO_C" >&6
28642 +{ $as_echo "$as_me:$LINENO: checking for main in -lmysqlclient" >&5
28643 +$as_echo_n "checking for main in -lmysqlclient... " >&6; }
28644 if test "${ac_cv_lib_mysqlclient_main+set}" = set; then
28645 - echo $ECHO_N "(cached) $ECHO_C" >&6
28646 + $as_echo_n "(cached) " >&6
28648 ac_check_lib_save_LIBS=$LIBS
28649 LIBS="-lmysqlclient $LIBS"
28650 @@ -19771,47 +20589,48 @@ cat >>conftest.$ac_ext <<_ACEOF
28660 rm -f conftest.$ac_objext conftest$ac_exeext
28661 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28662 - (eval $ac_link) 2>conftest.er1
28663 +if { (ac_try="$ac_link"
28664 +case "(($ac_try" in
28665 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28666 + *) ac_try_echo=$ac_try;;
28668 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28669 +$as_echo "$ac_try_echo") >&5
28670 + (eval "$ac_link") 2>conftest.er1
28672 grep -v '^ *+' conftest.er1 >conftest.err
28674 cat conftest.err >&5
28675 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 - (exit $ac_status); } &&
28677 - { ac_try='test -z "$ac_c_werror_flag"
28678 - || test ! -s conftest.err'
28679 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28680 - (eval $ac_try) 2>&5
28682 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28683 - (exit $ac_status); }; } &&
28684 - { ac_try='test -s conftest$ac_exeext'
28685 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28686 - (eval $ac_try) 2>&5
28688 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28689 - (exit $ac_status); }; }; then
28690 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28691 + (exit $ac_status); } && {
28692 + test -z "$ac_c_werror_flag" ||
28693 + test ! -s conftest.err
28694 + } && test -s conftest$ac_exeext && {
28695 + test "$cross_compiling" = yes ||
28696 + $as_test_x conftest$ac_exeext
28698 ac_cv_lib_mysqlclient_main=yes
28700 - echo "$as_me: failed program was:" >&5
28701 + $as_echo "$as_me: failed program was:" >&5
28702 sed 's/^/| /' conftest.$ac_ext >&5
28704 -ac_cv_lib_mysqlclient_main=no
28705 + ac_cv_lib_mysqlclient_main=no
28707 -rm -f conftest.err conftest.$ac_objext \
28709 +rm -rf conftest.dSYM
28710 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28711 conftest$ac_exeext conftest.$ac_ext
28712 LIBS=$ac_check_lib_save_LIBS
28714 -echo "$as_me:$LINENO: result: $ac_cv_lib_mysqlclient_main" >&5
28715 -echo "${ECHO_T}$ac_cv_lib_mysqlclient_main" >&6
28716 -if test $ac_cv_lib_mysqlclient_main = yes; then
28717 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mysqlclient_main" >&5
28718 +$as_echo "$ac_cv_lib_mysqlclient_main" >&6; }
28719 +if test "x$ac_cv_lib_mysqlclient_main" = x""yes; then
28720 cat >>confdefs.h <<_ACEOF
28721 #define HAVE_LIBMYSQLCLIENT 1
28723 @@ -19819,16 +20638,16 @@ _ACEOF
28724 LIBS="-lmysqlclient $LIBS"
28727 - { { echo "$as_me:$LINENO: error: Unable find a functioning MySQL library" >&5
28728 -echo "$as_me: error: Unable find a functioning MySQL library" >&2;}
28729 + { { $as_echo "$as_me:$LINENO: error: Unable find a functioning MySQL library" >&5
28730 +$as_echo "$as_me: error: Unable find a functioning MySQL library" >&2;}
28731 { (exit 1); exit 1; }; }
28735 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
28736 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
28737 +{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
28738 +$as_echo_n "checking for ANSI C header files... " >&6; }
28739 if test "${ac_cv_header_stdc+set}" = set; then
28740 - echo $ECHO_N "(cached) $ECHO_C" >&6
28741 + $as_echo_n "(cached) " >&6
28743 cat >conftest.$ac_ext <<_ACEOF
28745 @@ -19850,35 +20669,32 @@ main ()
28748 rm -f conftest.$ac_objext
28749 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28750 - (eval $ac_compile) 2>conftest.er1
28751 +if { (ac_try="$ac_compile"
28752 +case "(($ac_try" in
28753 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28754 + *) ac_try_echo=$ac_try;;
28756 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28757 +$as_echo "$ac_try_echo") >&5
28758 + (eval "$ac_compile") 2>conftest.er1
28760 grep -v '^ *+' conftest.er1 >conftest.err
28762 cat conftest.err >&5
28763 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28764 - (exit $ac_status); } &&
28765 - { ac_try='test -z "$ac_c_werror_flag"
28766 - || test ! -s conftest.err'
28767 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28768 - (eval $ac_try) 2>&5
28770 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28771 - (exit $ac_status); }; } &&
28772 - { ac_try='test -s conftest.$ac_objext'
28773 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28774 - (eval $ac_try) 2>&5
28776 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28777 - (exit $ac_status); }; }; then
28778 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28779 + (exit $ac_status); } && {
28780 + test -z "$ac_c_werror_flag" ||
28781 + test ! -s conftest.err
28782 + } && test -s conftest.$ac_objext; then
28783 ac_cv_header_stdc=yes
28785 - echo "$as_me: failed program was:" >&5
28786 + $as_echo "$as_me: failed program was:" >&5
28787 sed 's/^/| /' conftest.$ac_ext >&5
28789 -ac_cv_header_stdc=no
28790 + ac_cv_header_stdc=no
28792 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28794 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28796 if test $ac_cv_header_stdc = yes; then
28797 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
28798 @@ -19934,6 +20750,7 @@ cat confdefs.h >>conftest.$ac_ext
28799 cat >>conftest.$ac_ext <<_ACEOF
28800 /* end confdefs.h. */
28802 +#include <stdlib.h>
28803 #if ((' ' & 0x0FF) == 0x020)
28804 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
28805 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
28806 @@ -19953,36 +20770,50 @@ main ()
28807 for (i = 0; i < 256; i++)
28808 if (XOR (islower (i), ISLOWER (i))
28809 || toupper (i) != TOUPPER (i))
28816 rm -f conftest$ac_exeext
28817 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28818 - (eval $ac_link) 2>&5
28819 +if { (ac_try="$ac_link"
28820 +case "(($ac_try" in
28821 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28822 + *) ac_try_echo=$ac_try;;
28824 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28825 +$as_echo "$ac_try_echo") >&5
28826 + (eval "$ac_link") 2>&5
28828 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28829 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28830 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28831 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28832 - (eval $ac_try) 2>&5
28833 + { (case "(($ac_try" in
28834 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28835 + *) ac_try_echo=$ac_try;;
28837 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28838 +$as_echo "$ac_try_echo") >&5
28839 + (eval "$ac_try") 2>&5
28841 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28842 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28843 (exit $ac_status); }; }; then
28846 - echo "$as_me: program exited with status $ac_status" >&5
28847 -echo "$as_me: failed program was:" >&5
28848 + $as_echo "$as_me: program exited with status $ac_status" >&5
28849 +$as_echo "$as_me: failed program was:" >&5
28850 sed 's/^/| /' conftest.$ac_ext >&5
28852 ( exit $ac_status )
28853 ac_cv_header_stdc=no
28855 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28856 +rm -rf conftest.dSYM
28857 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28863 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
28864 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
28865 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
28866 +$as_echo "$ac_cv_header_stdc" >&6; }
28867 if test $ac_cv_header_stdc = yes; then
28869 cat >>confdefs.h <<\_ACEOF
28870 @@ -19992,17 +20823,17 @@ _ACEOF
28873 if test "${ac_cv_header_mysql_h+set}" = set; then
28874 - echo "$as_me:$LINENO: checking for mysql.h" >&5
28875 -echo $ECHO_N "checking for mysql.h... $ECHO_C" >&6
28876 + { $as_echo "$as_me:$LINENO: checking for mysql.h" >&5
28877 +$as_echo_n "checking for mysql.h... " >&6; }
28878 if test "${ac_cv_header_mysql_h+set}" = set; then
28879 - echo $ECHO_N "(cached) $ECHO_C" >&6
28880 + $as_echo_n "(cached) " >&6
28882 -echo "$as_me:$LINENO: result: $ac_cv_header_mysql_h" >&5
28883 -echo "${ECHO_T}$ac_cv_header_mysql_h" >&6
28884 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_mysql_h" >&5
28885 +$as_echo "$ac_cv_header_mysql_h" >&6; }
28887 # Is the header compilable?
28888 -echo "$as_me:$LINENO: checking mysql.h usability" >&5
28889 -echo $ECHO_N "checking mysql.h usability... $ECHO_C" >&6
28890 +{ $as_echo "$as_me:$LINENO: checking mysql.h usability" >&5
28891 +$as_echo_n "checking mysql.h usability... " >&6; }
28892 cat >conftest.$ac_ext <<_ACEOF
28895 @@ -20013,41 +20844,38 @@ $ac_includes_default
28898 rm -f conftest.$ac_objext
28899 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28900 - (eval $ac_compile) 2>conftest.er1
28901 +if { (ac_try="$ac_compile"
28902 +case "(($ac_try" in
28903 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28904 + *) ac_try_echo=$ac_try;;
28906 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28907 +$as_echo "$ac_try_echo") >&5
28908 + (eval "$ac_compile") 2>conftest.er1
28910 grep -v '^ *+' conftest.er1 >conftest.err
28912 cat conftest.err >&5
28913 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28914 - (exit $ac_status); } &&
28915 - { ac_try='test -z "$ac_c_werror_flag"
28916 - || test ! -s conftest.err'
28917 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28918 - (eval $ac_try) 2>&5
28920 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28921 - (exit $ac_status); }; } &&
28922 - { ac_try='test -s conftest.$ac_objext'
28923 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28924 - (eval $ac_try) 2>&5
28926 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28927 - (exit $ac_status); }; }; then
28928 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28929 + (exit $ac_status); } && {
28930 + test -z "$ac_c_werror_flag" ||
28931 + test ! -s conftest.err
28932 + } && test -s conftest.$ac_objext; then
28933 ac_header_compiler=yes
28935 - echo "$as_me: failed program was:" >&5
28936 + $as_echo "$as_me: failed program was:" >&5
28937 sed 's/^/| /' conftest.$ac_ext >&5
28939 -ac_header_compiler=no
28940 + ac_header_compiler=no
28942 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28943 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28944 -echo "${ECHO_T}$ac_header_compiler" >&6
28946 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28947 +{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28948 +$as_echo "$ac_header_compiler" >&6; }
28950 # Is the header present?
28951 -echo "$as_me:$LINENO: checking mysql.h presence" >&5
28952 -echo $ECHO_N "checking mysql.h presence... $ECHO_C" >&6
28953 +{ $as_echo "$as_me:$LINENO: checking mysql.h presence" >&5
28954 +$as_echo_n "checking mysql.h presence... " >&6; }
28955 cat >conftest.$ac_ext <<_ACEOF
28958 @@ -20056,83 +20884,76 @@ cat >>conftest.$ac_ext <<_ACEOF
28959 /* end confdefs.h. */
28962 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28963 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28964 +if { (ac_try="$ac_cpp conftest.$ac_ext"
28965 +case "(($ac_try" in
28966 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28967 + *) ac_try_echo=$ac_try;;
28969 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28970 +$as_echo "$ac_try_echo") >&5
28971 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28973 grep -v '^ *+' conftest.er1 >conftest.err
28975 cat conftest.err >&5
28976 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28977 - (exit $ac_status); } >/dev/null; then
28978 - if test -s conftest.err; then
28979 - ac_cpp_err=$ac_c_preproc_warn_flag
28980 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28987 -if test -z "$ac_cpp_err"; then
28988 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28989 + (exit $ac_status); } >/dev/null && {
28990 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28991 + test ! -s conftest.err
28993 ac_header_preproc=yes
28995 - echo "$as_me: failed program was:" >&5
28996 + $as_echo "$as_me: failed program was:" >&5
28997 sed 's/^/| /' conftest.$ac_ext >&5
28999 ac_header_preproc=no
29002 rm -f conftest.err conftest.$ac_ext
29003 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29004 -echo "${ECHO_T}$ac_header_preproc" >&6
29005 +{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29006 +$as_echo "$ac_header_preproc" >&6; }
29008 # So? What about this header?
29009 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29011 - { echo "$as_me:$LINENO: WARNING: mysql.h: accepted by the compiler, rejected by the preprocessor!" >&5
29012 -echo "$as_me: WARNING: mysql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29013 - { echo "$as_me:$LINENO: WARNING: mysql.h: proceeding with the compiler's result" >&5
29014 -echo "$as_me: WARNING: mysql.h: proceeding with the compiler's result" >&2;}
29015 + { $as_echo "$as_me:$LINENO: WARNING: mysql.h: accepted by the compiler, rejected by the preprocessor!" >&5
29016 +$as_echo "$as_me: WARNING: mysql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29017 + { $as_echo "$as_me:$LINENO: WARNING: mysql.h: proceeding with the compiler's result" >&5
29018 +$as_echo "$as_me: WARNING: mysql.h: proceeding with the compiler's result" >&2;}
29019 ac_header_preproc=yes
29022 - { echo "$as_me:$LINENO: WARNING: mysql.h: present but cannot be compiled" >&5
29023 -echo "$as_me: WARNING: mysql.h: present but cannot be compiled" >&2;}
29024 - { echo "$as_me:$LINENO: WARNING: mysql.h: check for missing prerequisite headers?" >&5
29025 -echo "$as_me: WARNING: mysql.h: check for missing prerequisite headers?" >&2;}
29026 - { echo "$as_me:$LINENO: WARNING: mysql.h: see the Autoconf documentation" >&5
29027 -echo "$as_me: WARNING: mysql.h: see the Autoconf documentation" >&2;}
29028 - { echo "$as_me:$LINENO: WARNING: mysql.h: section \"Present But Cannot Be Compiled\"" >&5
29029 -echo "$as_me: WARNING: mysql.h: section \"Present But Cannot Be Compiled\"" >&2;}
29030 - { echo "$as_me:$LINENO: WARNING: mysql.h: proceeding with the preprocessor's result" >&5
29031 -echo "$as_me: WARNING: mysql.h: proceeding with the preprocessor's result" >&2;}
29032 - { echo "$as_me:$LINENO: WARNING: mysql.h: in the future, the compiler will take precedence" >&5
29033 -echo "$as_me: WARNING: mysql.h: in the future, the compiler will take precedence" >&2;}
29036 -## ------------------------------------------ ##
29037 -## Report this to the AC_PACKAGE_NAME lists. ##
29038 -## ------------------------------------------ ##
29041 - sed "s/^/$as_me: WARNING: /" >&2
29042 + { $as_echo "$as_me:$LINENO: WARNING: mysql.h: present but cannot be compiled" >&5
29043 +$as_echo "$as_me: WARNING: mysql.h: present but cannot be compiled" >&2;}
29044 + { $as_echo "$as_me:$LINENO: WARNING: mysql.h: check for missing prerequisite headers?" >&5
29045 +$as_echo "$as_me: WARNING: mysql.h: check for missing prerequisite headers?" >&2;}
29046 + { $as_echo "$as_me:$LINENO: WARNING: mysql.h: see the Autoconf documentation" >&5
29047 +$as_echo "$as_me: WARNING: mysql.h: see the Autoconf documentation" >&2;}
29048 + { $as_echo "$as_me:$LINENO: WARNING: mysql.h: section \"Present But Cannot Be Compiled\"" >&5
29049 +$as_echo "$as_me: WARNING: mysql.h: section \"Present But Cannot Be Compiled\"" >&2;}
29050 + { $as_echo "$as_me:$LINENO: WARNING: mysql.h: proceeding with the preprocessor's result" >&5
29051 +$as_echo "$as_me: WARNING: mysql.h: proceeding with the preprocessor's result" >&2;}
29052 + { $as_echo "$as_me:$LINENO: WARNING: mysql.h: in the future, the compiler will take precedence" >&5
29053 +$as_echo "$as_me: WARNING: mysql.h: in the future, the compiler will take precedence" >&2;}
29057 -echo "$as_me:$LINENO: checking for mysql.h" >&5
29058 -echo $ECHO_N "checking for mysql.h... $ECHO_C" >&6
29059 +{ $as_echo "$as_me:$LINENO: checking for mysql.h" >&5
29060 +$as_echo_n "checking for mysql.h... " >&6; }
29061 if test "${ac_cv_header_mysql_h+set}" = set; then
29062 - echo $ECHO_N "(cached) $ECHO_C" >&6
29063 + $as_echo_n "(cached) " >&6
29065 ac_cv_header_mysql_h=$ac_header_preproc
29067 -echo "$as_me:$LINENO: result: $ac_cv_header_mysql_h" >&5
29068 -echo "${ECHO_T}$ac_cv_header_mysql_h" >&6
29069 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_mysql_h" >&5
29070 +$as_echo "$ac_cv_header_mysql_h" >&6; }
29073 -if test $ac_cv_header_mysql_h = yes; then
29074 +if test "x$ac_cv_header_mysql_h" = x""yes; then
29077 - { { echo "$as_me:$LINENO: error: Unable to find mysql.h" >&5
29078 -echo "$as_me: error: Unable to find mysql.h" >&2;}
29079 + { { $as_echo "$as_me:$LINENO: error: Unable to find mysql.h" >&5
29080 +$as_echo "$as_me: error: Unable to find mysql.h" >&2;}
29081 { (exit 1); exit 1; }; }
29084 @@ -20144,19 +20965,21 @@ fi
29086 for ac_header in syslog.h stdint.h nss.h nss_common.h shadow.h
29088 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29089 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
29090 - echo "$as_me:$LINENO: checking for $ac_header" >&5
29091 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29092 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
29093 - echo $ECHO_N "(cached) $ECHO_C" >&6
29095 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29096 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29097 +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
29098 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29099 + { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
29100 +$as_echo_n "checking for $ac_header... " >&6; }
29101 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29102 + $as_echo_n "(cached) " >&6
29104 +ac_res=`eval 'as_val=${'$as_ac_Header'}
29105 + $as_echo "$as_val"'`
29106 + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29107 +$as_echo "$ac_res" >&6; }
29109 # Is the header compilable?
29110 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
29111 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29112 +{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
29113 +$as_echo_n "checking $ac_header usability... " >&6; }
29114 cat >conftest.$ac_ext <<_ACEOF
29117 @@ -20167,41 +20990,38 @@ $ac_includes_default
29118 #include <$ac_header>
29120 rm -f conftest.$ac_objext
29121 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29122 - (eval $ac_compile) 2>conftest.er1
29123 +if { (ac_try="$ac_compile"
29124 +case "(($ac_try" in
29125 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29126 + *) ac_try_echo=$ac_try;;
29128 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29129 +$as_echo "$ac_try_echo") >&5
29130 + (eval "$ac_compile") 2>conftest.er1
29132 grep -v '^ *+' conftest.er1 >conftest.err
29134 cat conftest.err >&5
29135 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29136 - (exit $ac_status); } &&
29137 - { ac_try='test -z "$ac_c_werror_flag"
29138 - || test ! -s conftest.err'
29139 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29140 - (eval $ac_try) 2>&5
29142 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29143 - (exit $ac_status); }; } &&
29144 - { ac_try='test -s conftest.$ac_objext'
29145 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29146 - (eval $ac_try) 2>&5
29148 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29149 - (exit $ac_status); }; }; then
29150 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29151 + (exit $ac_status); } && {
29152 + test -z "$ac_c_werror_flag" ||
29153 + test ! -s conftest.err
29154 + } && test -s conftest.$ac_objext; then
29155 ac_header_compiler=yes
29157 - echo "$as_me: failed program was:" >&5
29158 + $as_echo "$as_me: failed program was:" >&5
29159 sed 's/^/| /' conftest.$ac_ext >&5
29161 -ac_header_compiler=no
29162 + ac_header_compiler=no
29164 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29165 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29166 -echo "${ECHO_T}$ac_header_compiler" >&6
29168 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29169 +{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29170 +$as_echo "$ac_header_compiler" >&6; }
29172 # Is the header present?
29173 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
29174 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29175 +{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
29176 +$as_echo_n "checking $ac_header presence... " >&6; }
29177 cat >conftest.$ac_ext <<_ACEOF
29180 @@ -20210,81 +21030,78 @@ cat >>conftest.$ac_ext <<_ACEOF
29181 /* end confdefs.h. */
29182 #include <$ac_header>
29184 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29185 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29186 +if { (ac_try="$ac_cpp conftest.$ac_ext"
29187 +case "(($ac_try" in
29188 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29189 + *) ac_try_echo=$ac_try;;
29191 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29192 +$as_echo "$ac_try_echo") >&5
29193 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29195 grep -v '^ *+' conftest.er1 >conftest.err
29197 cat conftest.err >&5
29198 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29199 - (exit $ac_status); } >/dev/null; then
29200 - if test -s conftest.err; then
29201 - ac_cpp_err=$ac_c_preproc_warn_flag
29202 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29209 -if test -z "$ac_cpp_err"; then
29210 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29211 + (exit $ac_status); } >/dev/null && {
29212 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29213 + test ! -s conftest.err
29215 ac_header_preproc=yes
29217 - echo "$as_me: failed program was:" >&5
29218 + $as_echo "$as_me: failed program was:" >&5
29219 sed 's/^/| /' conftest.$ac_ext >&5
29221 ac_header_preproc=no
29224 rm -f conftest.err conftest.$ac_ext
29225 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29226 -echo "${ECHO_T}$ac_header_preproc" >&6
29227 +{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29228 +$as_echo "$ac_header_preproc" >&6; }
29230 # So? What about this header?
29231 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29233 - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29234 -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29235 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29236 -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29237 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29238 +$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29239 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29240 +$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29241 ac_header_preproc=yes
29244 - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29245 -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29246 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29247 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29248 - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29249 -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29250 - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29251 -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29252 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29253 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29254 - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29255 -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29258 -## ------------------------------------------ ##
29259 -## Report this to the AC_PACKAGE_NAME lists. ##
29260 -## ------------------------------------------ ##
29263 - sed "s/^/$as_me: WARNING: /" >&2
29264 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29265 +$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29266 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29267 +$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29268 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29269 +$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29270 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29271 +$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29272 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29273 +$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29274 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29275 +$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29279 -echo "$as_me:$LINENO: checking for $ac_header" >&5
29280 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29281 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
29282 - echo $ECHO_N "(cached) $ECHO_C" >&6
29283 +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
29284 +$as_echo_n "checking for $ac_header... " >&6; }
29285 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29286 + $as_echo_n "(cached) " >&6
29288 eval "$as_ac_Header=\$ac_header_preproc"
29290 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29291 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29292 +ac_res=`eval 'as_val=${'$as_ac_Header'}
29293 + $as_echo "$as_val"'`
29294 + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29295 +$as_echo "$ac_res" >&6; }
29298 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
29299 +as_val=`eval 'as_val=${'$as_ac_Header'}
29300 + $as_echo "$as_val"'`
29301 + if test "x$as_val" = x""yes; then
29302 cat >>confdefs.h <<_ACEOF
29303 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29304 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
29308 @@ -20292,10 +21109,10 @@ fi
29312 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
29313 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
29314 +{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
29315 +$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
29316 if test "${ac_cv_c_const+set}" = set; then
29317 - echo $ECHO_N "(cached) $ECHO_C" >&6
29318 + $as_echo_n "(cached) " >&6
29320 cat >conftest.$ac_ext <<_ACEOF
29322 @@ -20311,10 +21128,10 @@ main ()
29323 #ifndef __cplusplus
29324 /* Ultrix mips cc rejects this. */
29325 typedef int charset[2];
29327 + const charset cs;
29328 /* SunOS 4.1.1 cc rejects this. */
29329 - char const *const *ccp;
29331 + char const *const *pcpcc;
29333 /* NEC SVR4.0.2 mips cc rejects this. */
29334 struct point {int x, y;};
29335 static struct point const zero = {0,0};
29336 @@ -20323,16 +21140,17 @@ main ()
29337 an arm of an if-expression whose if-part is not a constant
29339 const char *g = "string";
29340 - ccp = &g + (g ? g-g : 0);
29341 + pcpcc = &g + (g ? g-g : 0);
29342 /* HPUX 7.0 cc rejects these. */
29344 - p = (char**) ccp;
29345 - ccp = (char const *const *) p;
29347 + ppc = (char**) pcpcc;
29348 + pcpcc = (char const *const *) ppc;
29349 { /* SCO 3.2v4 cc rejects this. */
29351 char const *s = 0 ? (char *) 0 : (char const *) 0;
29356 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
29357 int x[] = {25, 17};
29358 @@ -20351,7 +21169,9 @@ main ()
29360 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
29361 const int foo = 10;
29362 + if (!foo) return 0;
29364 + return !cs[0] && !zero.x;
29368 @@ -20359,50 +21179,47 @@ main ()
29371 rm -f conftest.$ac_objext
29372 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29373 - (eval $ac_compile) 2>conftest.er1
29374 +if { (ac_try="$ac_compile"
29375 +case "(($ac_try" in
29376 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29377 + *) ac_try_echo=$ac_try;;
29379 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29380 +$as_echo "$ac_try_echo") >&5
29381 + (eval "$ac_compile") 2>conftest.er1
29383 grep -v '^ *+' conftest.er1 >conftest.err
29385 cat conftest.err >&5
29386 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29387 - (exit $ac_status); } &&
29388 - { ac_try='test -z "$ac_c_werror_flag"
29389 - || test ! -s conftest.err'
29390 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29391 - (eval $ac_try) 2>&5
29393 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29394 - (exit $ac_status); }; } &&
29395 - { ac_try='test -s conftest.$ac_objext'
29396 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29397 - (eval $ac_try) 2>&5
29399 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29400 - (exit $ac_status); }; }; then
29401 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29402 + (exit $ac_status); } && {
29403 + test -z "$ac_c_werror_flag" ||
29404 + test ! -s conftest.err
29405 + } && test -s conftest.$ac_objext; then
29408 - echo "$as_me: failed program was:" >&5
29409 + $as_echo "$as_me: failed program was:" >&5
29410 sed 's/^/| /' conftest.$ac_ext >&5
29415 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29417 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29419 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
29420 -echo "${ECHO_T}$ac_cv_c_const" >&6
29421 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
29422 +$as_echo "$ac_cv_c_const" >&6; }
29423 if test $ac_cv_c_const = no; then
29425 cat >>confdefs.h <<\_ACEOF
29427 +#define const /**/
29432 -echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
29433 -echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
29434 +{ $as_echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
29435 +$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
29436 if test "${ac_cv_type_uid_t+set}" = set; then
29437 - echo $ECHO_N "(cached) $ECHO_C" >&6
29438 + $as_echo_n "(cached) " >&6
29440 cat >conftest.$ac_ext <<_ACEOF
29442 @@ -20422,8 +21239,8 @@ fi
29446 -echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29447 -echo "${ECHO_T}$ac_cv_type_uid_t" >&6
29448 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29449 +$as_echo "$ac_cv_type_uid_t" >&6; }
29450 if test $ac_cv_type_uid_t = no; then
29452 cat >>confdefs.h <<\_ACEOF
29453 @@ -20437,12 +21254,13 @@ _ACEOF
29457 -echo "$as_me:$LINENO: checking for size_t" >&5
29458 -echo $ECHO_N "checking for size_t... $ECHO_C" >&6
29459 +{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
29460 +$as_echo_n "checking for size_t... " >&6; }
29461 if test "${ac_cv_type_size_t+set}" = set; then
29462 - echo $ECHO_N "(cached) $ECHO_C" >&6
29463 + $as_echo_n "(cached) " >&6
29465 - cat >conftest.$ac_ext <<_ACEOF
29466 + ac_cv_type_size_t=no
29467 +cat >conftest.$ac_ext <<_ACEOF
29470 cat confdefs.h >>conftest.$ac_ext
29471 @@ -20452,63 +21270,101 @@ $ac_includes_default
29477 if (sizeof (size_t))
29484 rm -f conftest.$ac_objext
29485 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29486 - (eval $ac_compile) 2>conftest.er1
29487 +if { (ac_try="$ac_compile"
29488 +case "(($ac_try" in
29489 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29490 + *) ac_try_echo=$ac_try;;
29492 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29493 +$as_echo "$ac_try_echo") >&5
29494 + (eval "$ac_compile") 2>conftest.er1
29496 grep -v '^ *+' conftest.er1 >conftest.err
29498 cat conftest.err >&5
29499 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29500 - (exit $ac_status); } &&
29501 - { ac_try='test -z "$ac_c_werror_flag"
29502 - || test ! -s conftest.err'
29503 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29504 - (eval $ac_try) 2>&5
29506 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29507 - (exit $ac_status); }; } &&
29508 - { ac_try='test -s conftest.$ac_objext'
29509 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29510 - (eval $ac_try) 2>&5
29511 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 + (exit $ac_status); } && {
29513 + test -z "$ac_c_werror_flag" ||
29514 + test ! -s conftest.err
29515 + } && test -s conftest.$ac_objext; then
29516 + cat >conftest.$ac_ext <<_ACEOF
29519 +cat confdefs.h >>conftest.$ac_ext
29520 +cat >>conftest.$ac_ext <<_ACEOF
29521 +/* end confdefs.h. */
29522 +$ac_includes_default
29526 +if (sizeof ((size_t)))
29532 +rm -f conftest.$ac_objext
29533 +if { (ac_try="$ac_compile"
29534 +case "(($ac_try" in
29535 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29536 + *) ac_try_echo=$ac_try;;
29538 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29539 +$as_echo "$ac_try_echo") >&5
29540 + (eval "$ac_compile") 2>conftest.er1
29542 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29543 - (exit $ac_status); }; }; then
29544 - ac_cv_type_size_t=yes
29545 + grep -v '^ *+' conftest.er1 >conftest.err
29546 + rm -f conftest.er1
29547 + cat conftest.err >&5
29548 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29549 + (exit $ac_status); } && {
29550 + test -z "$ac_c_werror_flag" ||
29551 + test ! -s conftest.err
29552 + } && test -s conftest.$ac_objext; then
29555 - echo "$as_me: failed program was:" >&5
29556 + $as_echo "$as_me: failed program was:" >&5
29557 sed 's/^/| /' conftest.$ac_ext >&5
29559 -ac_cv_type_size_t=no
29560 + ac_cv_type_size_t=yes
29562 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29564 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29566 + $as_echo "$as_me: failed program was:" >&5
29567 +sed 's/^/| /' conftest.$ac_ext >&5
29572 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29574 -echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29575 -echo "${ECHO_T}$ac_cv_type_size_t" >&6
29576 -if test $ac_cv_type_size_t = yes; then
29577 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29578 +$as_echo "$ac_cv_type_size_t" >&6; }
29579 +if test "x$ac_cv_type_size_t" = x""yes; then
29583 cat >>confdefs.h <<_ACEOF
29584 -#define size_t unsigned
29585 +#define size_t unsigned int
29590 -echo "$as_me:$LINENO: checking for socklen_t" >&5
29591 -echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
29592 +{ $as_echo "$as_me:$LINENO: checking for socklen_t" >&5
29593 +$as_echo_n "checking for socklen_t... " >&6; }
29594 if test "${ac_cv_type_socklen_t+set}" = set; then
29595 - echo $ECHO_N "(cached) $ECHO_C" >&6
29596 + $as_echo_n "(cached) " >&6
29598 - cat >conftest.$ac_ext <<_ACEOF
29599 + ac_cv_type_socklen_t=no
29600 +cat >conftest.$ac_ext <<_ACEOF
29603 cat confdefs.h >>conftest.$ac_ext
29604 @@ -20522,48 +21378,89 @@ cat >>conftest.$ac_ext <<_ACEOF
29608 -if ((socklen_t *) 0)
29610 if (sizeof (socklen_t))
29617 rm -f conftest.$ac_objext
29618 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29619 - (eval $ac_compile) 2>conftest.er1
29620 +if { (ac_try="$ac_compile"
29621 +case "(($ac_try" in
29622 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29623 + *) ac_try_echo=$ac_try;;
29625 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29626 +$as_echo "$ac_try_echo") >&5
29627 + (eval "$ac_compile") 2>conftest.er1
29629 grep -v '^ *+' conftest.er1 >conftest.err
29631 cat conftest.err >&5
29632 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29633 - (exit $ac_status); } &&
29634 - { ac_try='test -z "$ac_c_werror_flag"
29635 - || test ! -s conftest.err'
29636 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29637 - (eval $ac_try) 2>&5
29639 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29640 - (exit $ac_status); }; } &&
29641 - { ac_try='test -s conftest.$ac_objext'
29642 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29643 - (eval $ac_try) 2>&5
29644 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29645 + (exit $ac_status); } && {
29646 + test -z "$ac_c_werror_flag" ||
29647 + test ! -s conftest.err
29648 + } && test -s conftest.$ac_objext; then
29649 + cat >conftest.$ac_ext <<_ACEOF
29652 +cat confdefs.h >>conftest.$ac_ext
29653 +cat >>conftest.$ac_ext <<_ACEOF
29654 +/* end confdefs.h. */
29656 +#include <unistd.h>
29657 +#include <sys/socket.h>
29663 +if (sizeof ((socklen_t)))
29669 +rm -f conftest.$ac_objext
29670 +if { (ac_try="$ac_compile"
29671 +case "(($ac_try" in
29672 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29673 + *) ac_try_echo=$ac_try;;
29675 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29676 +$as_echo "$ac_try_echo") >&5
29677 + (eval "$ac_compile") 2>conftest.er1
29679 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29680 - (exit $ac_status); }; }; then
29681 - ac_cv_type_socklen_t=yes
29682 + grep -v '^ *+' conftest.er1 >conftest.err
29683 + rm -f conftest.er1
29684 + cat conftest.err >&5
29685 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29686 + (exit $ac_status); } && {
29687 + test -z "$ac_c_werror_flag" ||
29688 + test ! -s conftest.err
29689 + } && test -s conftest.$ac_objext; then
29692 + $as_echo "$as_me: failed program was:" >&5
29693 +sed 's/^/| /' conftest.$ac_ext >&5
29695 + ac_cv_type_socklen_t=yes
29698 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29700 - echo "$as_me: failed program was:" >&5
29701 + $as_echo "$as_me: failed program was:" >&5
29702 sed 's/^/| /' conftest.$ac_ext >&5
29704 -ac_cv_type_socklen_t=no
29707 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29709 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29711 -echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
29712 -echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
29713 -if test $ac_cv_type_socklen_t = yes; then
29714 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
29715 +$as_echo "$ac_cv_type_socklen_t" >&6; }
29716 +if test "x$ac_cv_type_socklen_t" = x""yes; then
29718 cat >>confdefs.h <<_ACEOF
29719 #define HAVE_SOCKLEN_T 1
29720 @@ -20585,7 +21482,7 @@ cat >>confdefs.h <<_ACEOF
29724 - ac_config_files="$ac_config_files Makefile src/Makefile src/version.c"
29725 +ac_config_files="$ac_config_files Makefile src/Makefile src/version.c"
29727 cat >confcache <<\_ACEOF
29728 # This file is a shell script that caches the results of configure
29729 @@ -20605,39 +21502,59 @@ _ACEOF
29731 # The following way of writing the cache mishandles newlines in values,
29732 # but we know of no workaround that is simple, portable, and efficient.
29733 -# So, don't put newlines in cache variables' values.
29734 +# So, we kill variables containing newlines.
29735 # Ultrix sh set writes to stderr and can't be redirected directly,
29736 # and sets the high bit in the cache file unless we assign to the vars.
29739 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
29740 + eval ac_val=\$$ac_var
29741 + case $ac_val in #(
29743 + case $ac_var in #(
29744 + *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
29745 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
29747 + case $ac_var in #(
29748 + _ | IFS | as_nl) ;; #(
29749 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
29750 + *) $as_unset $ac_var ;;
29756 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
29758 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
29759 + *${as_nl}ac_space=\ *)
29760 # `set' does not quote correctly, so add quotes (double-quote
29761 # substitution turns \\\\ into \\, and sed turns \\ into \).
29764 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29768 # `set' quotes correctly as required by POSIX, so do not add quotes.
29770 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29771 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
29779 + /^ac_cv_env_/b end
29783 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29785 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29786 - : end' >>confcache
29787 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
29788 - if test -w $cache_file; then
29789 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29790 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29791 + :end' >>confcache
29792 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
29793 + if test -w "$cache_file"; then
29794 + test "x$cache_file" != "x/dev/null" &&
29795 + { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
29796 +$as_echo "$as_me: updating cache $cache_file" >&6;}
29797 cat confcache >$cache_file
29799 - echo "not updating unwritable cache $cache_file"
29800 + { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
29801 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
29805 @@ -20646,32 +21563,18 @@ test "x$prefix" = xNONE && prefix=$ac_default_prefix
29806 # Let make expand exec_prefix.
29807 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
29809 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
29810 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
29811 -# trailing colons and then remove the whole line if VPATH becomes empty
29812 -# (actually we leave an empty line to preserve line numbers).
29813 -if test "x$srcdir" = x.; then
29814 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
29815 -s/:*\$(srcdir):*/:/;
29816 -s/:*\${srcdir}:*/:/;
29817 -s/:*@srcdir@:*/:/;
29818 -s/^\([^=]*=[ ]*\):*/\1/;
29824 DEFS=-DHAVE_CONFIG_H
29828 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
29829 # 1. Remove the extension, and $U if already installed.
29830 - ac_i=`echo "$ac_i" |
29831 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
29833 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
29834 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
29835 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
29836 + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
29837 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
29838 + # will be set to the directory where LIBOBJS objects are built.
29839 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
29840 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
29842 LIBOBJS=$ac_libobjs
29844 @@ -20679,47 +21582,48 @@ LTLIBOBJS=$ac_ltlibobjs
29847 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
29848 - { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
29849 + { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
29850 Usually this means the macro was only invoked conditionally." >&5
29851 -echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
29852 +$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
29853 Usually this means the macro was only invoked conditionally." >&2;}
29854 { (exit 1); exit 1; }; }
29856 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
29857 - { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
29858 + { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
29859 Usually this means the macro was only invoked conditionally." >&5
29860 -echo "$as_me: error: conditional \"AMDEP\" was never defined.
29861 +$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
29862 Usually this means the macro was only invoked conditionally." >&2;}
29863 { (exit 1); exit 1; }; }
29865 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
29866 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
29867 + { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
29868 Usually this means the macro was only invoked conditionally." >&5
29869 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
29870 +$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
29871 Usually this means the macro was only invoked conditionally." >&2;}
29872 { (exit 1); exit 1; }; }
29874 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
29875 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
29876 + { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
29877 Usually this means the macro was only invoked conditionally." >&5
29878 -echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
29879 +$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
29880 Usually this means the macro was only invoked conditionally." >&2;}
29881 { (exit 1); exit 1; }; }
29883 if test -z "${RENAME_TRUE}" && test -z "${RENAME_FALSE}"; then
29884 - { { echo "$as_me:$LINENO: error: conditional \"RENAME\" was never defined.
29885 + { { $as_echo "$as_me:$LINENO: error: conditional \"RENAME\" was never defined.
29886 Usually this means the macro was only invoked conditionally." >&5
29887 -echo "$as_me: error: conditional \"RENAME\" was never defined.
29888 +$as_echo "$as_me: error: conditional \"RENAME\" was never defined.
29889 Usually this means the macro was only invoked conditionally." >&2;}
29890 { (exit 1); exit 1; }; }
29893 : ${CONFIG_STATUS=./config.status}
29895 ac_clean_files_save=$ac_clean_files
29896 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
29897 -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
29898 -echo "$as_me: creating $CONFIG_STATUS" >&6;}
29899 -cat >$CONFIG_STATUS <<_ACEOF
29900 +{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
29901 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
29902 +cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29904 # Generated by $as_me.
29905 # Run this file to recreate the current configuration.
29906 @@ -20732,22 +21636,78 @@ ac_cs_silent=false
29907 SHELL=\${CONFIG_SHELL-$SHELL}
29910 -cat >>$CONFIG_STATUS <<\_ACEOF
29911 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29912 ## --------------------- ##
29913 ## M4sh Initialization. ##
29914 ## --------------------- ##
29916 -# Be Bourne compatible
29917 +# Be more Bourne compatible
29918 +DUALCASE=1; export DUALCASE # for MKS sh
29919 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
29922 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
29923 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
29924 # is contrary to our usage. Disable this feature.
29925 alias -g '${1+"$@"}'='"$@"'
29926 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
29928 + setopt NO_GLOB_SUBST
29930 + case `(set -o) 2>/dev/null` in
29931 + *posix*) set -o posix ;;
29940 +# Avoid depending upon Character Ranges.
29941 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
29942 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
29943 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
29944 +as_cr_digits='0123456789'
29945 +as_cr_alnum=$as_cr_Letters$as_cr_digits
29950 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
29951 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
29952 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
29953 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
29954 +if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
29955 + as_echo='printf %s\n'
29956 + as_echo_n='printf %s'
29958 + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
29959 + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
29960 + as_echo_n='/usr/ucb/echo -n'
29962 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
29963 + as_echo_n_body='eval
29967 + expr "X$arg" : "X\\(.*\\)$as_nl";
29968 + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
29970 + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
29972 + export as_echo_n_body
29973 + as_echo_n='sh -c $as_echo_n_body as_echo'
29975 + export as_echo_body
29976 + as_echo='sh -c $as_echo_body as_echo'
29979 +# The user is always right.
29980 +if test "${PATH_SEPARATOR+set}" != set; then
29982 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
29983 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
29984 + PATH_SEPARATOR=';'
29987 -DUALCASE=1; export DUALCASE # for MKS sh
29989 # Support unset when possible.
29990 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29991 @@ -20757,33 +21717,60 @@ else
29996 +# We need space, tab and new line, in precisely that order. Quoting is
29997 +# there to prevent editors from complaining about space-tab.
29998 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
29999 +# splitting by setting IFS to empty value.)
30002 +# Find who we are. Look in the path if we contain no directory separator.
30004 + *[\\/]* ) as_myself=$0 ;;
30005 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30006 +for as_dir in $PATH
30009 + test -z "$as_dir" && as_dir=.
30010 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
30016 +# We did not find ourselves, most probably we were run as `sh COMMAND'
30017 +# in which case we are not to be found in the path.
30018 +if test "x$as_myself" = x; then
30021 +if test ! -f "$as_myself"; then
30022 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
30023 + { (exit 1); exit 1; }
30026 # Work around bugs in pre-3.0 UWIN ksh.
30027 -$as_unset ENV MAIL MAILPATH
30028 +for as_var in ENV MAIL MAILPATH
30029 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
30037 - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
30038 - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
30039 - LC_TELEPHONE LC_TIME
30041 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
30042 - eval $as_var=C; export $as_var
30044 - $as_unset $as_var
30052 # Required to use basename.
30053 -if expr a : '\(a\)' >/dev/null 2>&1; then
30054 +if expr a : '\(a\)' >/dev/null 2>&1 &&
30055 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
30061 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
30062 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
30063 as_basename=basename
30066 @@ -20791,159 +21778,122 @@ fi
30069 # Name of the executable.
30070 -as_me=`$as_basename "$0" ||
30071 +as_me=`$as_basename -- "$0" ||
30072 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
30073 X"$0" : 'X\(//\)$' \| \
30074 - X"$0" : 'X\(/\)$' \| \
30075 - . : '\(.\)' 2>/dev/null ||
30077 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
30078 - /^X\/\(\/\/\)$/{ s//\1/; q; }
30079 - /^X\/\(\/\).*/{ s//\1/; q; }
30082 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
30084 + sed '/^.*\/\([^/][^/]*\)\/*$/{
30098 -# PATH needs CR, and LINENO needs CR and PATH.
30099 -# Avoid depending upon Character Ranges.
30100 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
30101 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
30102 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
30103 -as_cr_digits='0123456789'
30104 -as_cr_alnum=$as_cr_Letters$as_cr_digits
30108 -# The user is always right.
30109 -if test "${PATH_SEPARATOR+set}" != set; then
30110 - echo "#! /bin/sh" >conf$$.sh
30111 - echo "exit 0" >>conf$$.sh
30112 - chmod +x conf$$.sh
30113 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
30114 - PATH_SEPARATOR=';'
30122 as_lineno_1=$LINENO
30123 as_lineno_2=$LINENO
30124 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
30125 test "x$as_lineno_1" != "x$as_lineno_2" &&
30126 - test "x$as_lineno_3" = "x$as_lineno_2" || {
30127 - # Find who we are. Look in the path if we contain no path at all
30128 - # relative or not.
30130 - *[\\/]* ) as_myself=$0 ;;
30131 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30132 -for as_dir in $PATH
30135 - test -z "$as_dir" && as_dir=.
30136 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
30141 - # We did not find ourselves, most probably we were run as `sh COMMAND'
30142 - # in which case we are not to be found in the path.
30143 - if test "x$as_myself" = x; then
30146 - if test ! -f "$as_myself"; then
30147 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
30148 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
30149 - { (exit 1); exit 1; }; }
30151 - case $CONFIG_SHELL in
30153 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30154 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
30157 - test -z "$as_dir" && as_dir=.
30158 - for as_base in sh bash ksh sh5; do
30161 - if ("$as_dir/$as_base" -c '
30162 - as_lineno_1=$LINENO
30163 - as_lineno_2=$LINENO
30164 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
30165 - test "x$as_lineno_1" != "x$as_lineno_2" &&
30166 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
30167 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
30168 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
30169 - CONFIG_SHELL=$as_dir/$as_base
30170 - export CONFIG_SHELL
30171 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
30178 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
30180 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
30181 # uniformly replaced by the line number. The first 'sed' inserts a
30182 - # line-number line before each line; the second 'sed' does the real
30183 - # work. The second script uses 'N' to pair each line-number line
30184 - # with the numbered line, and appends trailing '-' during
30185 - # substitution so that $LINENO is not a special case at line end.
30186 + # line-number line after each line using $LINENO; the second 'sed'
30187 + # does the real work. The second script uses 'N' to pair each
30188 + # line-number line with the line containing $LINENO, and appends
30189 + # trailing '-' during substitution so that $LINENO is not a special
30190 + # case at line end.
30191 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
30192 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
30193 - sed '=' <$as_myself |
30194 + # scripts with optimization help from Paolo Bonzini. Blame Lee
30195 + # E. McMahon (1931-1989) for sed's syntax. :-)
30201 + s/[$]LINENO.*/&-/
30208 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
30210 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
30213 - s,^['$as_cr_digits']*\n,,
30215 ' >$as_me.lineno &&
30216 - chmod +x $as_me.lineno ||
30217 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
30218 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
30219 + chmod +x "$as_me.lineno" ||
30220 + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
30221 { (exit 1); exit 1; }; }
30223 # Don't try to exec as it changes $[0], causing all sort of problems
30224 # (the dirname of $[0] is not the place where we might find the
30225 - # original and so on. Autoconf is especially sensible to this).
30226 - . ./$as_me.lineno
30227 + # original and so on. Autoconf is especially sensitive to this).
30228 + . "./$as_me.lineno"
30229 # Exit status is that of the last command.
30234 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
30235 - *c*,-n*) ECHO_N= ECHO_C='
30237 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
30238 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
30240 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
30241 + as_dirname=dirname
30246 -if expr a : '\(a\)' >/dev/null 2>&1; then
30247 +ECHO_C= ECHO_N= ECHO_T=
30248 +case `echo -n x` in
30250 + case `echo 'x\c'` in
30251 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
30257 +if expr a : '\(a\)' >/dev/null 2>&1 &&
30258 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
30264 rm -f conf$$ conf$$.exe conf$$.file
30266 -if ln -s conf$$.file conf$$ 2>/dev/null; then
30267 - # We could just check for DJGPP; but this test a) works b) is more generic
30268 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
30269 - if test -f conf$$.exe; then
30270 - # Don't use ln at all; we don't have any links
30273 +if test -d conf$$.dir; then
30274 + rm -f conf$$.dir/conf$$.file
30277 + mkdir conf$$.dir 2>/dev/null
30279 +if (echo >conf$$.file) 2>/dev/null; then
30280 + if ln -s conf$$.file conf$$ 2>/dev/null; then
30282 + # ... but there are two gotchas:
30283 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
30284 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
30285 + # In both cases, we have to default to `cp -p'.
30286 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
30288 + elif ln conf$$.file conf$$ 2>/dev/null; then
30293 -elif ln conf$$.file conf$$ 2>/dev/null; then
30298 -rm -f conf$$ conf$$.exe conf$$.file
30299 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
30300 +rmdir conf$$.dir 2>/dev/null
30302 if mkdir -p . 2>/dev/null; then
30304 @@ -20952,7 +21902,28 @@ else
30308 -as_executable_p="test -f"
30309 +if test -x / >/dev/null 2>&1; then
30310 + as_test_x='test -x'
30312 + if ls -dL / >/dev/null 2>&1; then
30319 + if test -d "$1"; then
30325 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
30326 + ???[sx]*):;;*)false;;esac;fi
30330 +as_executable_p=$as_test_x
30332 # Sed expression to map a string onto a valid CPP name.
30333 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
30334 @@ -20961,31 +21932,14 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
30335 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
30339 -# We need space, tab and new line, in precisely that order.
30349 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
30350 +# Save the log message, to keep $[0] and so on meaningful, and to
30351 # report actual input values of CONFIG_FILES etc. instead of their
30352 -# values after options handling. Logging --version etc. is OK.
30353 -exec 5>>config.log
30356 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
30357 -## Running $as_me. ##
30362 +# values after options handling.
30364 This file was extended by $as_me, which was
30365 -generated by GNU Autoconf 2.59. Invocation command line was
30366 +generated by GNU Autoconf 2.63. Invocation command line was
30368 CONFIG_FILES = $CONFIG_FILES
30369 CONFIG_HEADERS = $CONFIG_HEADERS
30370 @@ -20993,45 +21947,45 @@ generated by GNU Autoconf 2.59. Invocation command line was
30371 CONFIG_COMMANDS = $CONFIG_COMMANDS
30375 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
30377 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
30382 -# Files that config.status was made for.
30383 -if test -n "$ac_config_files"; then
30384 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
30386 +case $ac_config_files in *"
30387 +"*) set x $ac_config_files; shift; ac_config_files=$*;;
30390 -if test -n "$ac_config_headers"; then
30391 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
30393 +case $ac_config_headers in *"
30394 +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
30397 -if test -n "$ac_config_links"; then
30398 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
30401 -if test -n "$ac_config_commands"; then
30402 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
30404 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30405 +# Files that config.status was made for.
30406 +config_files="$ac_config_files"
30407 +config_headers="$ac_config_headers"
30408 +config_commands="$ac_config_commands"
30410 -cat >>$CONFIG_STATUS <<\_ACEOF
30413 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30415 \`$as_me' instantiates files from templates according to the
30416 current configuration.
30418 -Usage: $0 [OPTIONS] [FILE]...
30419 +Usage: $0 [OPTION]... [FILE]...
30421 -h, --help print this help, then exit
30422 - -V, --version print version number, then exit
30423 - -q, --quiet do not print progress messages
30424 + -V, --version print version number and configuration settings, then exit
30425 + -q, --quiet, --silent
30426 + do not print progress messages
30427 -d, --debug don't remove temporary files
30428 --recheck update $as_me by reconfiguring in the same conditions
30429 - --file=FILE[:TEMPLATE]
30430 - instantiate the configuration file FILE
30431 - --header=FILE[:TEMPLATE]
30432 - instantiate the configuration header FILE
30433 + --file=FILE[:TEMPLATE]
30434 + instantiate the configuration file FILE
30435 + --header=FILE[:TEMPLATE]
30436 + instantiate the configuration header FILE
30438 Configuration files:
30440 @@ -21043,83 +21997,83 @@ Configuration commands:
30443 Report bugs to <bug-autoconf@gnu.org>."
30446 -cat >>$CONFIG_STATUS <<_ACEOF
30448 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30451 -configured by $0, generated by GNU Autoconf 2.59,
30452 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
30453 +configured by $0, generated by GNU Autoconf 2.63,
30454 + with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
30456 -Copyright (C) 2003 Free Software Foundation, Inc.
30457 +Copyright (C) 2008 Free Software Foundation, Inc.
30458 This config.status script is free software; the Free Software Foundation
30459 gives unlimited permission to copy, distribute and modify it."
30461 -INSTALL="$INSTALL"
30465 +INSTALL='$INSTALL'
30467 +test -n "\$AWK" || AWK=awk
30470 -cat >>$CONFIG_STATUS <<\_ACEOF
30471 -# If no file are specified by the user, then we need to provide default
30472 -# value. By we need to know if files were specified by the user.
30473 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30474 +# The default lists apply if the user does not specify any file.
30480 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
30481 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
30482 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
30483 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
30492 - *) # This is not an option, so the user has probably given explicit
30495 - ac_need_defaults=false;;
30499 # Handling of the options.
30501 -cat >>$CONFIG_STATUS <<\_ACEOF
30502 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
30504 - --version | --vers* | -V )
30505 - echo "$ac_cs_version"; exit 0 ;;
30507 - # Conflict between --help and --header
30508 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
30509 -Try \`$0 --help' for more information." >&5
30510 -echo "$as_me: error: ambiguous option: $1
30511 -Try \`$0 --help' for more information." >&2;}
30512 - { (exit 1); exit 1; }; };;
30513 - --help | --hel | -h )
30514 - echo "$ac_cs_usage"; exit 0 ;;
30515 - --debug | --d* | -d )
30516 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
30517 + $as_echo "$ac_cs_version"; exit ;;
30518 + --debug | --debu | --deb | --de | --d | -d )
30520 --file | --fil | --fi | --f )
30522 - CONFIG_FILES="$CONFIG_FILES $ac_optarg"
30523 + case $ac_optarg in
30524 + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
30526 + CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
30527 ac_need_defaults=false;;
30528 --header | --heade | --head | --hea )
30530 - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
30531 + case $ac_optarg in
30532 + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
30534 + CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
30535 ac_need_defaults=false;;
30537 + # Conflict between --help and --header
30538 + { $as_echo "$as_me: error: ambiguous option: $1
30539 +Try \`$0 --help' for more information." >&2
30540 + { (exit 1); exit 1; }; };;
30541 + --help | --hel | -h )
30542 + $as_echo "$ac_cs_usage"; exit ;;
30543 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
30544 | -silent | --silent | --silen | --sile | --sil | --si | --s)
30547 # This is an error.
30548 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
30549 -Try \`$0 --help' for more information." >&5
30550 -echo "$as_me: error: unrecognized option: $1
30551 -Try \`$0 --help' for more information." >&2;}
30552 + -*) { $as_echo "$as_me: error: unrecognized option: $1
30553 +Try \`$0 --help' for more information." >&2
30554 { (exit 1); exit 1; }; } ;;
30556 - *) ac_config_targets="$ac_config_targets $1" ;;
30557 + *) ac_config_targets="$ac_config_targets $1"
30558 + ac_need_defaults=false ;;
30562 @@ -21133,41 +22087,55 @@ if $ac_cs_silent; then
30566 -cat >>$CONFIG_STATUS <<_ACEOF
30567 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30568 if \$ac_cs_recheck; then
30569 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
30570 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
30571 + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
30573 + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
30574 + CONFIG_SHELL='$SHELL'
30575 + export CONFIG_SHELL
30580 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30581 +exec 5>>config.log
30584 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
30585 +## Running $as_me. ##
30587 + $as_echo "$ac_log"
30590 -cat >>$CONFIG_STATUS <<_ACEOF
30592 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30594 -# INIT-COMMANDS section.
30598 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
30602 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30605 -cat >>$CONFIG_STATUS <<\_ACEOF
30606 +# Handling of arguments.
30607 for ac_config_target in $ac_config_targets
30609 - case "$ac_config_target" in
30610 - # Handling of arguments.
30611 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
30612 - "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
30613 - "src/version.c" ) CONFIG_FILES="$CONFIG_FILES src/version.c" ;;
30614 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
30615 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
30616 - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
30617 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
30618 + case $ac_config_target in
30619 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
30620 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
30621 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
30622 + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
30623 + "src/version.c") CONFIG_FILES="$CONFIG_FILES src/version.c" ;;
30625 + *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
30626 +$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
30627 { (exit 1); exit 1; }; };;
30632 # If the user did not use the arguments to specify the items to instantiate,
30633 # then the envvar interface is used. Set only those that are not.
30634 # We use the long form for the default assignment because of an extremely
30635 @@ -21179,750 +22147,635 @@ if $ac_need_defaults; then
30638 # Have a temporary directory for convenience. Make it in the build tree
30639 -# simply because there is no reason to put it here, and in addition,
30640 +# simply because there is no reason against having it here, and in addition,
30641 # creating and moving files from /tmp can sometimes cause problems.
30642 -# Create a temporary directory, and hook for its removal unless debugging.
30643 +# Hook for its removal unless debugging.
30644 +# Note that there is a small window in which the directory will not be cleaned:
30645 +# after its creation but before its name has been assigned to `$tmp'.
30648 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
30650 + trap 'exit_status=$?
30651 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
30653 trap '{ (exit 1); exit 1; }' 1 2 13 15
30656 # Create a (secure) tmp directory for tmp files.
30659 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
30660 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
30661 test -n "$tmp" && test -d "$tmp"
30664 - tmp=./confstat$$-$RANDOM
30665 - (umask 077 && mkdir $tmp)
30666 + tmp=./conf$$-$RANDOM
30667 + (umask 077 && mkdir "$tmp")
30670 - echo "$me: cannot create a temporary directory in ." >&2
30671 + $as_echo "$as_me: cannot create a temporary directory in ." >&2
30672 { (exit 1); exit 1; }
30675 +# Set up the scripts for CONFIG_FILES section.
30676 +# No need to generate them if there are no CONFIG_FILES.
30677 +# This happens for instance with `./config.status config.h'.
30678 +if test -n "$CONFIG_FILES"; then
30682 +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
30683 +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
30684 + ac_cs_awk_cr='\\r'
30686 + ac_cs_awk_cr=$ac_cr
30689 +echo 'BEGIN {' >"$tmp/subs1.awk" &&
30692 -cat >>$CONFIG_STATUS <<_ACEOF
30695 -# CONFIG_FILES section.
30698 + echo "cat >conf$$subs.awk <<_ACEOF" &&
30699 + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
30701 +} >conf$$subs.sh ||
30702 + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30703 +$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30704 + { (exit 1); exit 1; }; }
30705 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
30707 +for ac_last_try in false false false false false :; do
30708 + . ./conf$$subs.sh ||
30709 + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30710 +$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30711 + { (exit 1); exit 1; }; }
30713 -# No need to generate the scripts if there are no CONFIG_FILES.
30714 -# This happens for instance when ./config.status config.h
30715 -if test -n "\$CONFIG_FILES"; then
30716 - # Protect against being on the right side of a sed subst in config.status.
30717 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
30718 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
30719 -s,@SHELL@,$SHELL,;t t
30720 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
30721 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
30722 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
30723 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
30724 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
30725 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
30726 -s,@exec_prefix@,$exec_prefix,;t t
30727 -s,@prefix@,$prefix,;t t
30728 -s,@program_transform_name@,$program_transform_name,;t t
30729 -s,@bindir@,$bindir,;t t
30730 -s,@sbindir@,$sbindir,;t t
30731 -s,@libexecdir@,$libexecdir,;t t
30732 -s,@datadir@,$datadir,;t t
30733 -s,@sysconfdir@,$sysconfdir,;t t
30734 -s,@sharedstatedir@,$sharedstatedir,;t t
30735 -s,@localstatedir@,$localstatedir,;t t
30736 -s,@libdir@,$libdir,;t t
30737 -s,@includedir@,$includedir,;t t
30738 -s,@oldincludedir@,$oldincludedir,;t t
30739 -s,@infodir@,$infodir,;t t
30740 -s,@mandir@,$mandir,;t t
30741 -s,@build_alias@,$build_alias,;t t
30742 -s,@host_alias@,$host_alias,;t t
30743 -s,@target_alias@,$target_alias,;t t
30744 -s,@DEFS@,$DEFS,;t t
30745 -s,@ECHO_C@,$ECHO_C,;t t
30746 -s,@ECHO_N@,$ECHO_N,;t t
30747 -s,@ECHO_T@,$ECHO_T,;t t
30748 -s,@LIBS@,$LIBS,;t t
30749 -s,@build@,$build,;t t
30750 -s,@build_cpu@,$build_cpu,;t t
30751 -s,@build_vendor@,$build_vendor,;t t
30752 -s,@build_os@,$build_os,;t t
30753 -s,@host@,$host,;t t
30754 -s,@host_cpu@,$host_cpu,;t t
30755 -s,@host_vendor@,$host_vendor,;t t
30756 -s,@host_os@,$host_os,;t t
30757 -s,@target@,$target,;t t
30758 -s,@target_cpu@,$target_cpu,;t t
30759 -s,@target_vendor@,$target_vendor,;t t
30760 -s,@target_os@,$target_os,;t t
30761 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
30762 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
30763 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
30764 -s,@CYGPATH_W@,$CYGPATH_W,;t t
30765 -s,@PACKAGE@,$PACKAGE,;t t
30766 -s,@VERSION@,$VERSION,;t t
30767 -s,@ACLOCAL@,$ACLOCAL,;t t
30768 -s,@AUTOCONF@,$AUTOCONF,;t t
30769 -s,@AUTOMAKE@,$AUTOMAKE,;t t
30770 -s,@AUTOHEADER@,$AUTOHEADER,;t t
30771 -s,@MAKEINFO@,$MAKEINFO,;t t
30772 -s,@install_sh@,$install_sh,;t t
30773 -s,@STRIP@,$STRIP,;t t
30774 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
30775 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
30776 -s,@mkdir_p@,$mkdir_p,;t t
30778 -s,@SET_MAKE@,$SET_MAKE,;t t
30779 -s,@am__leading_dot@,$am__leading_dot,;t t
30780 -s,@AMTAR@,$AMTAR,;t t
30781 -s,@am__tar@,$am__tar,;t t
30782 -s,@am__untar@,$am__untar,;t t
30783 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
30784 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
30785 -s,@MAINT@,$MAINT,;t t
30787 -s,@CFLAGS@,$CFLAGS,;t t
30788 -s,@LDFLAGS@,$LDFLAGS,;t t
30789 -s,@CPPFLAGS@,$CPPFLAGS,;t t
30790 -s,@ac_ct_CC@,$ac_ct_CC,;t t
30791 -s,@EXEEXT@,$EXEEXT,;t t
30792 -s,@OBJEXT@,$OBJEXT,;t t
30793 -s,@DEPDIR@,$DEPDIR,;t t
30794 -s,@am__include@,$am__include,;t t
30795 -s,@am__quote@,$am__quote,;t t
30796 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
30797 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
30798 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
30799 -s,@CCDEPMODE@,$CCDEPMODE,;t t
30800 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
30801 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
30802 -s,@EGREP@,$EGREP,;t t
30803 -s,@LN_S@,$LN_S,;t t
30804 -s,@ECHO@,$ECHO,;t t
30806 -s,@ac_ct_AR@,$ac_ct_AR,;t t
30807 -s,@RANLIB@,$RANLIB,;t t
30808 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
30811 -s,@CXXFLAGS@,$CXXFLAGS,;t t
30812 -s,@ac_ct_CXX@,$ac_ct_CXX,;t t
30813 -s,@CXXDEPMODE@,$CXXDEPMODE,;t t
30814 -s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
30815 -s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
30816 -s,@CXXCPP@,$CXXCPP,;t t
30818 -s,@FFLAGS@,$FFLAGS,;t t
30819 -s,@ac_ct_F77@,$ac_ct_F77,;t t
30820 -s,@LIBTOOL@,$LIBTOOL,;t t
30821 -s,@RENAME_TRUE@,$RENAME_TRUE,;t t
30822 -s,@RENAME_FALSE@,$RENAME_FALSE,;t t
30823 -s,@LIBVER@,$LIBVER,;t t
30825 -s,@LIBOBJS@,$LIBOBJS,;t t
30826 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
30828 + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
30829 + if test $ac_delim_n = $ac_delim_num; then
30831 + elif $ac_last_try; then
30832 + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30833 +$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30834 + { (exit 1); exit 1; }; }
30836 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30839 +rm -f conf$$subs.sh
30841 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30842 +cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
30846 +s/^/S["/; s/!.*/"]=/
30852 +s/'"$ac_delim"'$//
30856 +s/\(.\{148\}\).*/\1/
30858 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
30863 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
30870 +s/\(.\{148\}\).*/\1/
30872 +s/["\\]/\\&/g; s/^/"/; s/$/"/
30876 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
30881 +' <conf$$subs.awk | sed '
30886 +' >>$CONFIG_STATUS || ac_write_fail=1
30887 +rm -f conf$$subs.awk
30888 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30890 +cat >>"\$tmp/subs1.awk" <<_ACAWK &&
30891 + for (key in S) S_is_set[key] = 1
30894 - cat >>$CONFIG_STATUS <<\_ACEOF
30895 - # Split the substitutions into bite-sized pieces for seds with
30896 - # small command number limits, like on Digital OSF/1 and HP-UX.
30897 - ac_max_sed_lines=48
30898 - ac_sed_frag=1 # Number of current file.
30899 - ac_beg=1 # First line for current file.
30900 - ac_end=$ac_max_sed_lines # Line after last line for current file.
30903 - while $ac_more_lines; do
30904 - if test $ac_beg -gt 1; then
30905 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
30907 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
30909 - if test ! -s $tmp/subs.frag; then
30910 - ac_more_lines=false
30912 - # The purpose of the label and of the branching condition is to
30913 - # speed up the sed processing (if there are no `@' at all, there
30914 - # is no need to browse any of the substitutions).
30915 - # These are the two extra sed commands mentioned above.
30917 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
30918 - if test -z "$ac_sed_cmds"; then
30919 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
30921 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
30923 - ac_sed_frag=`expr $ac_sed_frag + 1`
30925 - ac_end=`expr $ac_end + $ac_max_sed_lines`
30928 - if test -z "$ac_sed_cmds"; then
30934 + nfields = split(line, field, "@")
30936 + len = length(field[1])
30937 + for (i = 2; i < nfields; i++) {
30939 + keylen = length(key)
30940 + if (S_is_set[key]) {
30942 + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
30943 + len += length(value) + length(field[++i])
30946 + len += 1 + keylen
30954 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30955 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
30956 + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
30959 +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
30960 + || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
30961 +$as_echo "$as_me: error: could not setup config files machinery" >&2;}
30962 + { (exit 1); exit 1; }; }
30965 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
30966 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
30967 +# trailing colons and then remove the whole line if VPATH becomes empty
30968 +# (actually we leave an empty line to preserve line numbers).
30969 +if test "x$srcdir" = x.; then
30970 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
30971 +s/:*\$(srcdir):*/:/
30972 +s/:*\${srcdir}:*/:/
30974 +s/^\([^=]*=[ ]*\):*/\1/
30980 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30981 fi # test -n "$CONFIG_FILES"
30983 +# Set up the scripts for CONFIG_HEADERS section.
30984 +# No need to generate them if there are no CONFIG_HEADERS.
30985 +# This happens for instance with `./config.status Makefile'.
30986 +if test -n "$CONFIG_HEADERS"; then
30987 +cat >"$tmp/defines.awk" <<\_ACAWK ||
30990 -cat >>$CONFIG_STATUS <<\_ACEOF
30991 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
30992 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
30994 - - | *:- | *:-:* ) # input from stdin
30996 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
30997 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
30998 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
30999 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
31000 - * ) ac_file_in=$ac_file.in ;;
31002 +# Transform confdefs.h into an awk script `defines.awk', embedded as
31003 +# here-document in config.status, that substitutes the proper values into
31004 +# config.h.in to produce config.h.
31006 +# Create a delimiter string that does not exist in confdefs.h, to ease
31007 +# handling of long lines.
31009 +for ac_last_try in false false :; do
31010 + ac_t=`sed -n "/$ac_delim/p" confdefs.h`
31011 + if test -z "$ac_t"; then
31013 + elif $ac_last_try; then
31014 + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
31015 +$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
31016 + { (exit 1); exit 1; }; }
31018 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
31022 +# For the awk script, D is an array of macro values keyed by name,
31023 +# likewise P contains macro parameters if any. Preserve backslash
31024 +# newline sequences.
31026 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
31028 +s/.\{148\}/&'"$ac_delim"'/g
31031 +s/^[ ]*#[ ]*define[ ][ ]*/ /
31038 +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
31040 +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
31044 +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
31045 +D["\1"]=" \3\\\\\\n"\\/p
31047 +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
31052 +s/.\{148\}/&'"$ac_delim"'/g
31057 +s/["\\]/\\&/g; s/^/"/; s/$/"/p
31060 +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
31062 +' <confdefs.h | sed '
31063 +s/'"$ac_delim"'/"\\\
31064 +"/g' >>$CONFIG_STATUS || ac_write_fail=1
31066 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31067 + for (key in D) D_is_set[key] = 1
31070 +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
31072 + split(line, arg, " ")
31073 + if (arg[1] == "#") {
31074 + defundef = arg[2]
31077 + defundef = substr(arg[1], 2)
31080 + split(mac1, mac2, "(") #)
31082 + prefix = substr(line, 1, index(line, defundef) - 1)
31083 + if (D_is_set[macro]) {
31084 + # Preserve the white space surrounding the "#".
31085 + print prefix "define", macro P[macro] D[macro]
31088 + # Replace #undef with comments. This is necessary, for example,
31089 + # in the case of _POSIX_SOURCE, which is predefined and required
31090 + # on some systems where configure will not decide to define it.
31091 + if (defundef == "undef") {
31092 + print "/*", prefix defundef, macro, "*/"
31100 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31101 + { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
31102 +$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
31103 + { (exit 1); exit 1; }; }
31104 +fi # test -n "$CONFIG_HEADERS"
31107 +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
31112 + :[FHLC]) ac_mode=$ac_tag; continue;;
31114 + case $ac_mode$ac_tag in
31116 + :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
31117 +$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
31118 + { (exit 1); exit 1; }; };;
31119 + :[FH]-) ac_tag=-:-;;
31120 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
31131 + :L) ac_source=$1;;
31137 + -) ac_f="$tmp/stdin";;
31138 + *) # Look for the file first in the build tree, then in the source tree
31139 + # (if the path is not absolute). The absolute path cannot be DOS-style,
31140 + # because $ac_f cannot contain `:'.
31141 + test -f "$ac_f" ||
31144 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
31146 + { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
31147 +$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
31148 + { (exit 1); exit 1; }; };;
31150 + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
31151 + ac_file_inputs="$ac_file_inputs '$ac_f'"
31154 + # Let's still pretend it is `configure' which instantiates (i.e., don't
31155 + # use $as_me), people would be surprised to read:
31156 + # /* config.h. Generated by config.status. */
31157 + configure_input='Generated from '`
31158 + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
31159 + `' by configure.'
31160 + if test x"$ac_file" != x-; then
31161 + configure_input="$ac_file. $configure_input"
31162 + { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
31163 +$as_echo "$as_me: creating $ac_file" >&6;}
31165 + # Neutralize special characters interpreted by sed in replacement strings.
31166 + case $configure_input in #(
31167 + *\&* | *\|* | *\\* )
31168 + ac_sed_conf_input=`$as_echo "$configure_input" |
31169 + sed 's/[\\\\&|]/\\\\&/g'`;; #(
31170 + *) ac_sed_conf_input=$configure_input;;
31174 + *:-:* | *:-) cat >"$tmp/stdin" \
31175 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
31176 +$as_echo "$as_me: error: could not create $ac_file" >&2;}
31177 + { (exit 1); exit 1; }; } ;;
31182 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
31183 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
31184 + ac_dir=`$as_dirname -- "$ac_file" ||
31185 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31186 X"$ac_file" : 'X\(//\)[^/]' \| \
31187 X"$ac_file" : 'X\(//\)$' \| \
31188 - X"$ac_file" : 'X\(/\)' \| \
31189 - . : '\(.\)' 2>/dev/null ||
31190 -echo X"$ac_file" |
31191 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31192 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31193 - /^X\(\/\/\)$/{ s//\1/; q; }
31194 - /^X\(\/\).*/{ s//\1/; q; }
31196 - { if $as_mkdir_p; then
31197 - mkdir -p "$ac_dir"
31200 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
31201 +$as_echo X"$ac_file" |
31202 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31206 + /^X\(\/\/\)[^/].*/{
31219 + { as_dir="$ac_dir"
31220 + case $as_dir in #(
31221 + -*) as_dir=./$as_dir;;
31223 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
31225 - while test ! -d "$as_dir"; do
31226 - as_dirs="$as_dir $as_dirs"
31227 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
31229 + case $as_dir in #(
31230 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
31231 + *) as_qdir=$as_dir;;
31233 + as_dirs="'$as_qdir' $as_dirs"
31234 + as_dir=`$as_dirname -- "$as_dir" ||
31235 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31236 X"$as_dir" : 'X\(//\)[^/]' \| \
31237 X"$as_dir" : 'X\(//\)$' \| \
31238 - X"$as_dir" : 'X\(/\)' \| \
31239 - . : '\(.\)' 2>/dev/null ||
31241 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31242 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31243 - /^X\(\/\/\)$/{ s//\1/; q; }
31244 - /^X\(\/\).*/{ s//\1/; q; }
31246 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
31247 +$as_echo X"$as_dir" |
31248 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31252 + /^X\(\/\/\)[^/].*/{
31265 + test -d "$as_dir" && break
31267 - test ! -n "$as_dirs" || mkdir $as_dirs
31268 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31269 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31270 + test -z "$as_dirs" || eval "mkdir $as_dirs"
31271 + } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
31272 +$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
31273 { (exit 1); exit 1; }; }; }
31277 -if test "$ac_dir" != .; then
31278 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31279 - # A "../" for each directory in $ac_dir_suffix.
31280 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31282 - ac_dir_suffix= ac_top_builddir=
31285 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
31287 + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
31288 + # A ".." for each directory in $ac_dir_suffix.
31289 + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
31290 + case $ac_top_builddir_sub in
31291 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
31292 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
31295 +ac_abs_top_builddir=$ac_pwd
31296 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
31297 +# for backward compatibility:
31298 +ac_top_builddir=$ac_top_build_prefix
31301 - .) # No --srcdir option. We are building in place.
31302 + .) # We are building in place.
31304 - if test -z "$ac_top_builddir"; then
31307 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
31309 - [\\/]* | ?:[\\/]* ) # Absolute path.
31310 + ac_top_srcdir=$ac_top_builddir_sub
31311 + ac_abs_top_srcdir=$ac_pwd ;;
31312 + [\\/]* | ?:[\\/]* ) # Absolute name.
31313 ac_srcdir=$srcdir$ac_dir_suffix;
31314 - ac_top_srcdir=$srcdir ;;
31315 - *) # Relative path.
31316 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
31317 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
31318 + ac_top_srcdir=$srcdir
31319 + ac_abs_top_srcdir=$srcdir ;;
31320 + *) # Relative name.
31321 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
31322 + ac_top_srcdir=$ac_top_build_prefix$srcdir
31323 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
31325 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
31327 -# Do not use `cd foo && pwd` to compute absolute paths, because
31328 -# the directories may not exist.
31330 -.) ac_abs_builddir="$ac_dir";;
31332 - case "$ac_dir" in
31333 - .) ac_abs_builddir=`pwd`;;
31334 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
31335 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
31338 -case $ac_abs_builddir in
31339 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
31341 - case ${ac_top_builddir}. in
31342 - .) ac_abs_top_builddir=$ac_abs_builddir;;
31343 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
31344 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
31347 -case $ac_abs_builddir in
31348 -.) ac_abs_srcdir=$ac_srcdir;;
31350 - case $ac_srcdir in
31351 - .) ac_abs_srcdir=$ac_abs_builddir;;
31352 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
31353 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
31356 -case $ac_abs_builddir in
31357 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
31359 - case $ac_top_srcdir in
31360 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
31361 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
31362 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
31373 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
31374 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
31375 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
31379 - if test x"$ac_file" != x-; then
31380 - { echo "$as_me:$LINENO: creating $ac_file" >&5
31381 -echo "$as_me: creating $ac_file" >&6;}
31384 - # Let's still pretend it is `configure' which instantiates (i.e., don't
31385 - # use $as_me), people would be surprised to read:
31386 - # /* config.h. Generated by config.status. */
31387 - if test x"$ac_file" = x-; then
31390 - configure_input="$ac_file. "
31392 - configure_input=$configure_input"Generated from `echo $ac_file_in |
31393 - sed 's,.*/,,'` by configure."
31395 - # First look for the input files in the build tree, otherwise in the
31397 - ac_file_inputs=`IFS=:
31398 - for f in $ac_file_in; do
31400 - -) echo $tmp/stdin ;;
31402 - # Absolute (can't be DOS-style, as IFS=:)
31403 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31404 -echo "$as_me: error: cannot find input file: $f" >&2;}
31405 - { (exit 1); exit 1; }; }
31408 - if test -f "$f"; then
31411 - elif test -f "$srcdir/$f"; then
31413 - echo "$srcdir/$f"
31416 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31417 -echo "$as_me: error: cannot find input file: $f" >&2;}
31418 - { (exit 1); exit 1; }; }
31421 - done` || { (exit 1); exit 1; }
31422 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31423 +# If the template does not know about datarootdir, expand it.
31424 +# FIXME: This hack should be removed a few years after 2.60.
31425 +ac_datarootdir_hack=; ac_datarootdir_seen=
31438 +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
31439 +*datarootdir*) ac_datarootdir_seen=yes;;
31440 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
31441 + { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
31442 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
31444 -cat >>$CONFIG_STATUS <<_ACEOF
31446 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31447 + ac_datarootdir_hack='
31448 + s&@datadir@&$datadir&g
31449 + s&@docdir@&$docdir&g
31450 + s&@infodir@&$infodir&g
31451 + s&@localedir@&$localedir&g
31452 + s&@mandir@&$mandir&g
31453 + s&\\\${datarootdir}&$datarootdir&g' ;;
31457 +# Neutralize VPATH when `$srcdir' = `.'.
31458 +# Shell code in configure.ac might set extrasub.
31459 +# FIXME: do we really want to maintain this feature?
31460 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31461 +ac_sed_extra="$ac_vpsub
31464 -cat >>$CONFIG_STATUS <<\_ACEOF
31465 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31467 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
31468 -s,@configure_input@,$configure_input,;t t
31469 -s,@srcdir@,$ac_srcdir,;t t
31470 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
31471 -s,@top_srcdir@,$ac_top_srcdir,;t t
31472 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
31473 -s,@builddir@,$ac_builddir,;t t
31474 -s,@abs_builddir@,$ac_abs_builddir,;t t
31475 -s,@top_builddir@,$ac_top_builddir,;t t
31476 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
31477 -s,@INSTALL@,$ac_INSTALL,;t t
31478 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
31480 - if test x"$ac_file" != x-; then
31481 - mv $tmp/out $ac_file
31489 -cat >>$CONFIG_STATUS <<\_ACEOF
31490 +s|@configure_input@|$ac_sed_conf_input|;t t
31491 +s&@top_builddir@&$ac_top_builddir_sub&;t t
31492 +s&@top_build_prefix@&$ac_top_build_prefix&;t t
31493 +s&@srcdir@&$ac_srcdir&;t t
31494 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
31495 +s&@top_srcdir@&$ac_top_srcdir&;t t
31496 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
31497 +s&@builddir@&$ac_builddir&;t t
31498 +s&@abs_builddir@&$ac_abs_builddir&;t t
31499 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
31500 +s&@INSTALL@&$ac_INSTALL&;t t
31501 +$ac_datarootdir_hack
31503 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
31504 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
31505 +$as_echo "$as_me: error: could not create $ac_file" >&2;}
31506 + { (exit 1); exit 1; }; }
31509 -# CONFIG_HEADER section.
31511 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
31512 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
31513 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
31514 + { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
31515 +which seems to be undefined. Please make sure it is defined." >&5
31516 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
31517 +which seems to be undefined. Please make sure it is defined." >&2;}
31519 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
31520 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
31522 -# ac_d sets the value in "#define NAME VALUE" lines.
31523 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
31524 -ac_dB='[ ].*$,\1#\2'
31527 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
31528 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
31529 -ac_uB='$,\1#\2define\3'
31533 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
31534 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
31535 + rm -f "$tmp/stdin"
31537 - - | *:- | *:-:* ) # input from stdin
31539 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
31540 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
31541 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
31542 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
31543 - * ) ac_file_in=$ac_file.in ;;
31546 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
31547 -echo "$as_me: creating $ac_file" >&6;}
31549 - # First look for the input files in the build tree, otherwise in the
31551 - ac_file_inputs=`IFS=:
31552 - for f in $ac_file_in; do
31554 - -) echo $tmp/stdin ;;
31556 - # Absolute (can't be DOS-style, as IFS=:)
31557 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31558 -echo "$as_me: error: cannot find input file: $f" >&2;}
31559 - { (exit 1); exit 1; }; }
31560 - # Do quote $f, to prevent DOS paths from being IFS'd.
31563 - if test -f "$f"; then
31566 - elif test -f "$srcdir/$f"; then
31568 - echo "$srcdir/$f"
31571 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31572 -echo "$as_me: error: cannot find input file: $f" >&2;}
31573 + -) cat "$tmp/out" && rm -f "$tmp/out";;
31574 + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
31576 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
31577 +$as_echo "$as_me: error: could not create $ac_file" >&2;}
31578 { (exit 1); exit 1; }; }
31581 - done` || { (exit 1); exit 1; }
31582 - # Remove the trailing spaces.
31583 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
31587 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
31588 -# `conftest.undefs', that substitutes the proper values into
31589 -# config.h.in to produce config.h. The first handles `#define'
31590 -# templates, and the second `#undef' templates.
31591 -# And first: Protect against being on the right side of a sed subst in
31592 -# config.status. Protect against being in an unquoted here document
31593 -# in config.status.
31594 -rm -f conftest.defines conftest.undefs
31595 -# Using a here document instead of a string reduces the quoting nightmare.
31596 -# Putting comments in sed scripts is not portable.
31598 -# `end' is used to avoid that the second main sed command (meant for
31599 -# 0-ary CPP macros) applies to n-ary macro definitions.
31600 -# See the Autoconf documentation for `clear'.
31601 -cat >confdef2sed.sed <<\_ACEOF
31606 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
31608 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
31611 -# If some macros were called several times there might be several times
31612 -# the same #defines, which is useless. Nevertheless, we may not want to
31613 -# sort them, since we want the *last* AC-DEFINE to be honored.
31614 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
31615 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
31616 -rm -f confdef2sed.sed
31618 -# This sed command replaces #undef with comments. This is necessary, for
31619 -# example, in the case of _POSIX_SOURCE, which is predefined and required
31620 -# on some systems where configure will not decide to define it.
31621 -cat >>conftest.undefs <<\_ACEOF
31622 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
31625 -# Break up conftest.defines because some shells have a limit on the size
31626 -# of here documents, and old seds have small limits too (100 cmds).
31627 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
31628 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
31629 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
31630 -echo ' :' >>$CONFIG_STATUS
31631 -rm -f conftest.tail
31632 -while grep . conftest.defines >/dev/null
31634 - # Write a limited-size here document to $tmp/defines.sed.
31635 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
31636 - # Speed up: don't consider the non `#define' lines.
31637 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
31638 - # Work around the forget-to-reset-the-flag bug.
31639 - echo 't clr' >>$CONFIG_STATUS
31640 - echo ': clr' >>$CONFIG_STATUS
31641 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
31643 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
31645 - mv $tmp/out $tmp/in
31646 -' >>$CONFIG_STATUS
31647 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
31648 - rm -f conftest.defines
31649 - mv conftest.tail conftest.defines
31651 -rm -f conftest.defines
31652 -echo ' fi # grep' >>$CONFIG_STATUS
31653 -echo >>$CONFIG_STATUS
31655 -# Break up conftest.undefs because some shells have a limit on the size
31656 -# of here documents, and old seds have small limits too (100 cmds).
31657 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
31658 -rm -f conftest.tail
31659 -while grep . conftest.undefs >/dev/null
31661 - # Write a limited-size here document to $tmp/undefs.sed.
31662 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
31663 - # Speed up: don't consider the non `#undef'
31664 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
31665 - # Work around the forget-to-reset-the-flag bug.
31666 - echo 't clr' >>$CONFIG_STATUS
31667 - echo ': clr' >>$CONFIG_STATUS
31668 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
31670 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
31672 - mv $tmp/out $tmp/in
31673 -' >>$CONFIG_STATUS
31674 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
31675 - rm -f conftest.undefs
31676 - mv conftest.tail conftest.undefs
31678 -rm -f conftest.undefs
31680 -cat >>$CONFIG_STATUS <<\_ACEOF
31681 - # Let's still pretend it is `configure' which instantiates (i.e., don't
31682 - # use $as_me), people would be surprised to read:
31683 - # /* config.h. Generated by config.status. */
31684 - if test x"$ac_file" = x-; then
31685 - echo "/* Generated by configure. */" >$tmp/config.h
31687 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
31689 - cat $tmp/in >>$tmp/config.h
31696 if test x"$ac_file" != x-; then
31697 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
31698 - { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
31699 -echo "$as_me: $ac_file is unchanged" >&6;}
31701 + $as_echo "/* $configure_input */" \
31702 + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
31703 + } >"$tmp/config.h" \
31704 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
31705 +$as_echo "$as_me: error: could not create $ac_file" >&2;}
31706 + { (exit 1); exit 1; }; }
31707 + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
31708 + { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
31709 +$as_echo "$as_me: $ac_file is unchanged" >&6;}
31711 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
31712 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31713 - X"$ac_file" : 'X\(//\)[^/]' \| \
31714 - X"$ac_file" : 'X\(//\)$' \| \
31715 - X"$ac_file" : 'X\(/\)' \| \
31716 - . : '\(.\)' 2>/dev/null ||
31717 -echo X"$ac_file" |
31718 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31719 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31720 - /^X\(\/\/\)$/{ s//\1/; q; }
31721 - /^X\(\/\).*/{ s//\1/; q; }
31723 - { if $as_mkdir_p; then
31724 - mkdir -p "$ac_dir"
31728 - while test ! -d "$as_dir"; do
31729 - as_dirs="$as_dir $as_dirs"
31730 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
31731 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31732 - X"$as_dir" : 'X\(//\)[^/]' \| \
31733 - X"$as_dir" : 'X\(//\)$' \| \
31734 - X"$as_dir" : 'X\(/\)' \| \
31735 - . : '\(.\)' 2>/dev/null ||
31737 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31738 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31739 - /^X\(\/\/\)$/{ s//\1/; q; }
31740 - /^X\(\/\).*/{ s//\1/; q; }
31743 - test ! -n "$as_dirs" || mkdir $as_dirs
31744 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31745 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31746 - { (exit 1); exit 1; }; }; }
31749 - mv $tmp/config.h $ac_file
31751 + mv "$tmp/config.h" "$ac_file" \
31752 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
31753 +$as_echo "$as_me: error: could not create $ac_file" >&2;}
31754 + { (exit 1); exit 1; }; }
31757 - cat $tmp/config.h
31758 - rm -f $tmp/config.h
31759 + $as_echo "/* $configure_input */" \
31760 + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
31761 + || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
31762 +$as_echo "$as_me: error: could not create -" >&2;}
31763 + { (exit 1); exit 1; }; }
31765 -# Compute $ac_file's index in $config_headers.
31766 +# Compute "$ac_file"'s index in $config_headers.
31768 for _am_header in $config_headers :; do
31769 case $_am_header in
31770 - $ac_file | $ac_file:* )
31771 + "$ac_file" | "$ac_file":* )
31774 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
31777 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
31778 -$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31779 - X$ac_file : 'X\(//\)[^/]' \| \
31780 - X$ac_file : 'X\(//\)$' \| \
31781 - X$ac_file : 'X\(/\)' \| \
31782 - . : '\(.\)' 2>/dev/null ||
31784 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31785 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31786 - /^X\(\/\/\)$/{ s//\1/; q; }
31787 - /^X\(\/\).*/{ s//\1/; q; }
31788 - s/.*/./; q'`/stamp-h$_am_stamp_count
31791 -cat >>$CONFIG_STATUS <<\_ACEOF
31794 -# CONFIG_COMMANDS section.
31796 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
31797 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
31798 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
31799 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
31800 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31801 - X"$ac_dest" : 'X\(//\)[^/]' \| \
31802 - X"$ac_dest" : 'X\(//\)$' \| \
31803 - X"$ac_dest" : 'X\(/\)' \| \
31804 - . : '\(.\)' 2>/dev/null ||
31805 -echo X"$ac_dest" |
31806 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31807 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31808 - /^X\(\/\/\)$/{ s//\1/; q; }
31809 - /^X\(\/\).*/{ s//\1/; q; }
31811 - { if $as_mkdir_p; then
31812 - mkdir -p "$ac_dir"
31816 - while test ! -d "$as_dir"; do
31817 - as_dirs="$as_dir $as_dirs"
31818 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
31819 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31820 - X"$as_dir" : 'X\(//\)[^/]' \| \
31821 - X"$as_dir" : 'X\(//\)$' \| \
31822 - X"$as_dir" : 'X\(/\)' \| \
31823 - . : '\(.\)' 2>/dev/null ||
31825 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31826 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31827 - /^X\(\/\/\)$/{ s//\1/; q; }
31828 - /^X\(\/\).*/{ s//\1/; q; }
31831 - test ! -n "$as_dirs" || mkdir $as_dirs
31832 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31833 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31834 - { (exit 1); exit 1; }; }; }
31838 -if test "$ac_dir" != .; then
31839 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31840 - # A "../" for each directory in $ac_dir_suffix.
31841 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31843 - ac_dir_suffix= ac_top_builddir=
31847 - .) # No --srcdir option. We are building in place.
31849 - if test -z "$ac_top_builddir"; then
31852 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
31854 - [\\/]* | ?:[\\/]* ) # Absolute path.
31855 - ac_srcdir=$srcdir$ac_dir_suffix;
31856 - ac_top_srcdir=$srcdir ;;
31857 - *) # Relative path.
31858 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
31859 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
31861 +echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
31862 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31863 + X"$ac_file" : 'X\(//\)[^/]' \| \
31864 + X"$ac_file" : 'X\(//\)$' \| \
31865 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
31866 +$as_echo X"$ac_file" |
31867 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31871 + /^X\(\/\/\)[^/].*/{
31883 + s/.*/./; q'`/stamp-h$_am_stamp_count
31886 -# Do not use `cd foo && pwd` to compute absolute paths, because
31887 -# the directories may not exist.
31889 -.) ac_abs_builddir="$ac_dir";;
31891 - case "$ac_dir" in
31892 - .) ac_abs_builddir=`pwd`;;
31893 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
31894 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
31897 -case $ac_abs_builddir in
31898 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
31900 - case ${ac_top_builddir}. in
31901 - .) ac_abs_top_builddir=$ac_abs_builddir;;
31902 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
31903 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
31906 -case $ac_abs_builddir in
31907 -.) ac_abs_srcdir=$ac_srcdir;;
31909 - case $ac_srcdir in
31910 - .) ac_abs_srcdir=$ac_abs_builddir;;
31911 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
31912 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
31915 -case $ac_abs_builddir in
31916 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
31918 - case $ac_top_srcdir in
31919 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
31920 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
31921 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
31924 + :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
31925 +$as_echo "$as_me: executing $ac_file commands" >&6;}
31930 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
31931 -echo "$as_me: executing $ac_dest commands" >&6;}
31933 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
31934 + case $ac_file$ac_mode in
31935 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
31936 # Strip MF so we end up with the name of the file.
31937 mf=`echo "$mf" | sed -e 's/:.*$//'`
31938 # Check whether this is an Automake generated Makefile or not.
31939 @@ -21932,18 +22785,29 @@ echo "$as_me: executing $ac_dest commands" >&6;}
31940 # each Makefile.in and add a new line on top of each file to say so.
31941 # So let's grep whole file.
31942 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
31943 - dirpart=`(dirname "$mf") 2>/dev/null ||
31944 + dirpart=`$as_dirname -- "$mf" ||
31945 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31946 X"$mf" : 'X\(//\)[^/]' \| \
31947 X"$mf" : 'X\(//\)$' \| \
31948 - X"$mf" : 'X\(/\)' \| \
31949 - . : '\(.\)' 2>/dev/null ||
31951 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31952 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31953 - /^X\(\/\/\)$/{ s//\1/; q; }
31954 - /^X\(\/\).*/{ s//\1/; q; }
31956 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
31958 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31962 + /^X\(\/\/\)[^/].*/{
31978 @@ -21965,59 +22829,90 @@ echo X"$mf" |
31979 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
31980 # Make sure the directory exists.
31981 test -f "$dirpart/$file" && continue
31982 - fdir=`(dirname "$file") 2>/dev/null ||
31983 + fdir=`$as_dirname -- "$file" ||
31984 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31985 X"$file" : 'X\(//\)[^/]' \| \
31986 X"$file" : 'X\(//\)$' \| \
31987 - X"$file" : 'X\(/\)' \| \
31988 - . : '\(.\)' 2>/dev/null ||
31990 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31991 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31992 - /^X\(\/\/\)$/{ s//\1/; q; }
31993 - /^X\(\/\).*/{ s//\1/; q; }
31995 - { if $as_mkdir_p; then
31996 - mkdir -p $dirpart/$fdir
31998 - as_dir=$dirpart/$fdir
31999 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
32000 +$as_echo X"$file" |
32001 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32005 + /^X\(\/\/\)[^/].*/{
32018 + { as_dir=$dirpart/$fdir
32019 + case $as_dir in #(
32020 + -*) as_dir=./$as_dir;;
32022 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
32024 - while test ! -d "$as_dir"; do
32025 - as_dirs="$as_dir $as_dirs"
32026 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
32028 + case $as_dir in #(
32029 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
32030 + *) as_qdir=$as_dir;;
32032 + as_dirs="'$as_qdir' $as_dirs"
32033 + as_dir=`$as_dirname -- "$as_dir" ||
32034 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32035 X"$as_dir" : 'X\(//\)[^/]' \| \
32036 X"$as_dir" : 'X\(//\)$' \| \
32037 - X"$as_dir" : 'X\(/\)' \| \
32038 - . : '\(.\)' 2>/dev/null ||
32040 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32041 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32042 - /^X\(\/\/\)$/{ s//\1/; q; }
32043 - /^X\(\/\).*/{ s//\1/; q; }
32045 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
32046 +$as_echo X"$as_dir" |
32047 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32051 + /^X\(\/\/\)[^/].*/{
32064 + test -d "$as_dir" && break
32066 - test ! -n "$as_dirs" || mkdir $as_dirs
32067 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
32068 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
32069 + test -z "$as_dirs" || eval "mkdir $as_dirs"
32070 + } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
32071 +$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
32072 { (exit 1); exit 1; }; }; }
32074 # echo "creating $dirpart/$file"
32075 echo '# dummy' > "$dirpart/$file"
32085 -cat >>$CONFIG_STATUS <<\_ACEOF
32087 { (exit 0); exit 0; }
32089 chmod +x $CONFIG_STATUS
32090 ac_clean_files=$ac_clean_files_save
32092 +test $ac_write_fail = 0 ||
32093 + { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
32094 +$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
32095 + { (exit 1); exit 1; }; }
32098 # configure is writing to config.log, and then calls config.status.
32099 # config.status does its own redirection, appending to config.log.
32100 @@ -22039,4 +22934,8 @@ if test "$no_create" != yes; then
32101 # would make configure fail if this is the last instruction.
32102 $ac_cs_success || { (exit 1); exit 1; }
32104 +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
32105 + { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
32106 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}