1 diff --git a/aclocal.m4 b/aclocal.m4
2 index 1d6c34d..b4629ed 100644
6 -# generated automatically by aclocal 1.9.2 -*- Autoconf -*-
7 +# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
9 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
10 -# Free Software Foundation, Inc.
11 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
12 +# 2005 Free Software Foundation, Inc.
13 # This file is free software; the Free Software Foundation
14 # gives unlimited permission to copy and/or distribute it,
15 # with or without modifications, as long as this notice is preserved.
18 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
20 -# serial 47 AC_PROG_LIBTOOL
21 +# serial 52 Debian 1.5.26-4 AC_PROG_LIBTOOL
24 # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
25 @@ -101,7 +101,6 @@ AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
26 AC_REQUIRE([AC_OBJEXT])dnl
27 AC_REQUIRE([AC_EXEEXT])dnl
30 AC_LIBTOOL_SYS_MAX_CMD_LEN
31 AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
33 @@ -123,7 +122,7 @@ esac
35 # Sed substitution that helps us do robust quoting. It backslashifies
36 # metacharacters that are still active within double-quoted strings.
38 +Xsed='sed -e 1s/^X//'
39 [sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
41 # Same as above, but do not quote variable references.
42 @@ -143,7 +142,7 @@ rm="rm -f"
46 -# All known linkers require a `.a' archive for static linking (except M$VC,
47 +# All known linkers require a `.a' archive for static linking (except MSVC,
48 # which needs '.lib').
50 ltmain="$ac_aux_dir/ltmain.sh"
51 @@ -163,6 +162,7 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
52 test -z "$AS" && AS=as
53 test -z "$CC" && CC=cc
54 test -z "$LTCC" && LTCC=$CC
55 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
56 test -z "$DLLTOOL" && DLLTOOL=dlltool
57 test -z "$LD" && LD=ld
58 test -z "$LN_S" && LN_S="ln -s"
59 @@ -175,22 +175,24 @@ test -z "$STRIP" && STRIP=:
60 test -z "$ac_objext" && ac_objext=o
62 # Determine commands to create old-style static archives.
63 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
64 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
65 old_postinstall_cmds='chmod 644 $oldlib'
66 old_postuninstall_cmds=
68 if test -n "$RANLIB"; then
71 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
72 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
75 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
76 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
79 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
82 +_LT_CC_BASENAME([$compiler])
84 # Only perform the check for file, if the check method requires it
85 case $deplibs_check_method in
87 @@ -200,6 +202,8 @@ file_magic*)
91 +_LT_REQUIRED_DARWIN_CHECKS
93 AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
94 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
95 enable_win32_dll=yes, enable_win32_dll=no)
96 @@ -231,11 +235,129 @@ AC_DEFUN([_LT_AC_SYS_COMPILER],
97 # If no C compiler was specified, use CC.
100 +# If no C compiler flags were specified, use CFLAGS.
101 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
103 # Allow CC to be a program name with arguments.
105 ])# _LT_AC_SYS_COMPILER
108 +# _LT_CC_BASENAME(CC)
109 +# -------------------
110 +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
111 +AC_DEFUN([_LT_CC_BASENAME],
112 +[for cc_temp in $1""; do
114 + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
115 + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
120 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
124 +# _LT_COMPILER_BOILERPLATE
125 +# ------------------------
126 +# Check for compiler boilerplate output or warnings with
127 +# the simple compiler test code.
128 +AC_DEFUN([_LT_COMPILER_BOILERPLATE],
129 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
130 +ac_outfile=conftest.$ac_objext
131 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
132 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
133 +_lt_compiler_boilerplate=`cat conftest.err`
135 +])# _LT_COMPILER_BOILERPLATE
138 +# _LT_LINKER_BOILERPLATE
139 +# ----------------------
140 +# Check for linker boilerplate output or warnings with
141 +# the simple link test code.
142 +AC_DEFUN([_LT_LINKER_BOILERPLATE],
143 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
144 +ac_outfile=conftest.$ac_objext
145 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
146 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
147 +_lt_linker_boilerplate=`cat conftest.err`
149 +])# _LT_LINKER_BOILERPLATE
151 +# _LT_REQUIRED_DARWIN_CHECKS
152 +# --------------------------
153 +# Check for some things on darwin
154 +AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
156 + rhapsody* | darwin*)
157 + AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
158 + AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
160 + AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
161 + [lt_cv_apple_cc_single_mod=no
162 + if test -z "${LT_MULTI_MODULE}"; then
163 + # By default we will add the -single_module flag. You can override
164 + # by either setting the environment variable LT_MULTI_MODULE
165 + # non-empty at configure time, or by adding -multi_module to the
167 + echo "int foo(void){return 1;}" > conftest.c
168 + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
169 + -dynamiclib ${wl}-single_module conftest.c
170 + if test -f libconftest.dylib; then
171 + lt_cv_apple_cc_single_mod=yes
172 + rm -rf libconftest.dylib*
176 + AC_CACHE_CHECK([for -exported_symbols_list linker flag],
177 + [lt_cv_ld_exported_symbols_list],
178 + [lt_cv_ld_exported_symbols_list=no
179 + save_LDFLAGS=$LDFLAGS
180 + echo "_main" > conftest.sym
181 + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
182 + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
183 + [lt_cv_ld_exported_symbols_list=yes],
184 + [lt_cv_ld_exported_symbols_list=no])
185 + LDFLAGS="$save_LDFLAGS"
188 + rhapsody* | darwin1.[[0123]])
189 + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
191 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
193 + # if running on 10.5 or later, the deployment target defaults
194 + # to the OS version, if on x86, and 10.4, the deployment
195 + # target defaults to 10.4. Don't you love it?
196 + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
197 + 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
198 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
200 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
202 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
206 + if test "$lt_cv_apple_cc_single_mod" = "yes"; then
207 + _lt_dar_single_mod='$single_module'
209 + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
210 + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
212 + _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
214 + if test "$DSYMUTIL" != ":"; then
215 + _lt_dsymutil="~$DSYMUTIL \$lib || :"
223 # _LT_AC_SYS_LIBPATH_AIX
224 # ----------------------
225 # Links a minimal program and checks the executable
226 @@ -245,12 +367,20 @@ compiler=$CC
227 # If we don't find anything, use the default library path according
228 # to the aix ld manual.
229 AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
230 -[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
231 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
233 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
234 +AC_LINK_IFELSE(AC_LANG_PROGRAM,[
235 +lt_aix_libpath_sed='
236 + /Import File Strings/,/^$/ {
242 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
243 # Check for a 64-bit object if we didn't find anything.
244 -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; }
246 +if test -z "$aix_libpath"; then
247 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
249 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
250 ])# _LT_AC_SYS_LIBPATH_AIX
252 @@ -308,15 +438,15 @@ fi
254 # The HP-UX ksh and POSIX shell print the target directory to stdout
256 -if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
257 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
259 if test -z "$ECHO"; then
260 if test "X${echo_test_string+set}" != Xset; then
261 # find a string as large as possible, as long as the shell can cope with it
262 for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
263 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
264 - if (echo_test_string="`eval $cmd`") 2>/dev/null &&
265 - echo_test_string="`eval $cmd`" &&
266 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
267 + echo_test_string=`eval $cmd` &&
268 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
271 @@ -481,13 +611,17 @@ ia64-*-hpux*)
275 -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
276 +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
277 +s390*-*linux*|sparc*-*linux*)
278 # Find out which ABI we are using.
279 echo 'int i;' > conftest.$ac_ext
280 if AC_TRY_EVAL(ac_compile); then
281 - case "`/usr/bin/file conftest.o`" in
282 + case `/usr/bin/file conftest.o` in
285 + x86_64-*kfreebsd*-gnu)
286 + LD="${LD-ld} -m elf_i386_fbsd"
289 LD="${LD-ld} -m elf_i386"
291 @@ -504,6 +638,9 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
295 + x86_64-*kfreebsd*-gnu)
296 + LD="${LD-ld} -m elf_x86_64_fbsd"
299 LD="${LD-ld} -m elf_x86_64"
301 @@ -536,6 +673,26 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
302 CFLAGS="$SAVE_CFLAGS"
306 + # Find out which ABI we are using.
307 + echo 'int i;' > conftest.$ac_ext
308 + if AC_TRY_EVAL(ac_compile); then
309 + case `/usr/bin/file conftest.o` in
311 + case $lt_cv_prog_gnu_ld in
312 + yes*) LD="${LD-ld} -m elf64_sparc" ;;
314 + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
325 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
326 [*-*-cygwin* | *-*-mingw* | *-*-pw32*)
327 AC_CHECK_TOOL(DLLTOOL, dlltool, false)
328 @@ -559,7 +716,7 @@ AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
329 AC_CACHE_CHECK([$1], [$2],
331 ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
332 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
333 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
334 lt_compiler_flag="$3"
335 # Insert the option either (1) after the last *FLAGS variable, or
336 # (2) before a word containing "conftest.", or (3) at the end.
337 @@ -567,7 +724,7 @@ AC_CACHE_CHECK([$1], [$2],
338 # with a dollar sign (not a hyphen), so the echo should work correctly.
339 # The option is referenced via a variable to avoid confusing sed.
340 lt_compile=`echo "$ac_compile" | $SED \
341 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
342 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
343 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
344 -e 's:$: $lt_compiler_flag:'`
345 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
346 @@ -577,8 +734,10 @@ AC_CACHE_CHECK([$1], [$2],
347 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
348 if (exit $ac_status) && test -s "$ac_outfile"; then
349 # The compiler can only warn and ignore the option if not recognized
350 - # So say no if there are warnings
351 - if test ! -s conftest.err; then
352 + # So say no if there are warnings other than the usual output.
353 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
354 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
355 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
359 @@ -598,22 +757,28 @@ fi
360 # ------------------------------------------------------------
361 # Check whether the given compiler option works
362 AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
363 -[AC_CACHE_CHECK([$1], [$2],
364 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
365 +AC_CACHE_CHECK([$1], [$2],
367 save_LDFLAGS="$LDFLAGS"
368 LDFLAGS="$LDFLAGS $3"
369 - printf "$lt_simple_link_test_code" > conftest.$ac_ext
370 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
371 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
372 - # The compiler can only warn and ignore the option if not recognized
373 + # The linker can only warn and ignore the option if not recognized
374 # So say no if there are warnings
375 if test -s conftest.err; then
376 # Append any errors to the config.log.
377 cat conftest.err 1>&AS_MESSAGE_LOG_FD
378 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
379 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
380 + if diff conftest.exp conftest.er2 >/dev/null; then
389 LDFLAGS="$save_LDFLAGS"
392 @@ -667,24 +832,71 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
393 lt_cv_sys_max_cmd_len=8192;
397 - # If test is not a shell built-in, we'll probably end up computing a
398 - # maximum length that is only half of the actual maximum length, but
400 - while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
401 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
402 + # This has been around since 386BSD, at least. Likely further.
403 + if test -x /sbin/sysctl; then
404 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
405 + elif test -x /usr/sbin/sysctl; then
406 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
408 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
410 + # And add a safety zone
411 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
412 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
416 + # We know the value 262144 and hardcode it with a safety zone (like BSD)
417 + lt_cv_sys_max_cmd_len=196608
421 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
422 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
423 + # nice to cause kernel panics so lets avoid the loop below.
424 + # First set a reasonable default.
425 + lt_cv_sys_max_cmd_len=16384
427 + if test -x /sbin/sysconfig; then
428 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
429 + *1*) lt_cv_sys_max_cmd_len=-1 ;;
434 + lt_cv_sys_max_cmd_len=102400
436 + sysv5* | sco5v6* | sysv4.2uw2*)
437 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
438 + if test -n "$kargmax"; then
439 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
441 + lt_cv_sys_max_cmd_len=32768
445 + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
446 + if test -n "$lt_cv_sys_max_cmd_len"; then
447 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
448 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
450 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
451 + while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
452 = "XX$teststring") >/dev/null 2>&1 &&
453 - new_result=`expr "X$teststring" : ".*" 2>&1` &&
454 - lt_cv_sys_max_cmd_len=$new_result &&
455 - test $i != 17 # 1/2 MB should be enough
458 - teststring=$teststring$teststring
461 - # Add a significant safety factor because C++ compilers can tack on massive
462 - # amounts of additional arguments before passing them to the linker.
463 - # It appears as though 1/2 is a usable value.
464 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
465 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
466 + lt_cv_sys_max_cmd_len=$new_result &&
467 + test $i != 17 # 1/2 MB should be enough
470 + teststring=$teststring$teststring
473 + # Add a significant safety factor because C++ compilers can tack on massive
474 + # amounts of additional arguments before passing them to the linker.
475 + # It appears as though 1/2 is a usable value.
476 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
481 @@ -697,7 +909,7 @@ fi
485 -# --------------------
486 +# ------------------
487 AC_DEFUN([_LT_AC_CHECK_DLFCN],
488 [AC_CHECK_HEADERS(dlfcn.h)dnl
489 ])# _LT_AC_CHECK_DLFCN
490 @@ -705,7 +917,7 @@ AC_DEFUN([_LT_AC_CHECK_DLFCN],
492 # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
493 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
494 -# ------------------------------------------------------------------
495 +# ---------------------------------------------------------------------
496 AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
497 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
498 if test "$cross_compiling" = yes; then :
499 @@ -771,17 +983,19 @@ int main ()
500 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
501 /* dlclose (self); */
509 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
510 - (./conftest; exit; ) 2>/dev/null
511 + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
514 x$lt_dlno_uscore) $1 ;;
515 x$lt_dlneed_uscore) $2 ;;
516 - x$lt_unknown|x*) $3 ;;
517 + x$lt_dlunknown|x*) $3 ;;
521 @@ -793,7 +1007,7 @@ rm -fr conftest*
524 # AC_LIBTOOL_DLOPEN_SELF
525 -# -------------------
526 +# ----------------------
527 AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
528 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
529 if test "x$enable_dlopen" != xyes; then
530 @@ -835,7 +1049,7 @@ else
531 AC_CHECK_FUNC([shl_load],
532 [lt_cv_dlopen="shl_load"],
533 [AC_CHECK_LIB([dld], [shl_load],
534 - [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
535 + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
536 [AC_CHECK_FUNC([dlopen],
537 [lt_cv_dlopen="dlopen"],
538 [AC_CHECK_LIB([dl], [dlopen],
539 @@ -843,7 +1057,7 @@ else
540 [AC_CHECK_LIB([svld], [dlopen],
541 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
542 [AC_CHECK_LIB([dld], [dld_link],
543 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
544 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
548 @@ -864,7 +1078,7 @@ else
549 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
551 save_LDFLAGS="$LDFLAGS"
552 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
553 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
556 LIBS="$lt_cv_dlopen_libs $LIBS"
557 @@ -877,7 +1091,7 @@ else
560 if test "x$lt_cv_dlopen_self" = xyes; then
561 - LDFLAGS="$LDFLAGS $link_static_flag"
562 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
563 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
564 lt_cv_dlopen_self_static, [dnl
565 _LT_AC_TRY_DLOPEN_SELF(
566 @@ -909,7 +1123,8 @@ fi
567 # ---------------------------------
568 # Check to see if options -c and -o are simultaneously supported by compiler
569 AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
570 -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
571 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
572 +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
573 AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
574 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
575 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
576 @@ -917,7 +1132,7 @@ AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
580 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
581 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
583 lt_compiler_flag="-o out/conftest2.$ac_objext"
584 # Insert the option either (1) after the last *FLAGS variable, or
585 @@ -925,7 +1140,7 @@ AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
586 # Note that $ac_compile itself does not contain backslashes and begins
587 # with a dollar sign (not a hyphen), so the echo should work correctly.
588 lt_compile=`echo "$ac_compile" | $SED \
589 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
590 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
591 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
592 -e 's:$: $lt_compiler_flag:'`
593 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
594 @@ -937,11 +1152,13 @@ AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
596 # The compiler can only warn and ignore the option if not recognized
597 # So say no if there are warnings
598 - if test ! -s out/conftest.err; then
599 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
600 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
601 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
602 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
606 + chmod u+w . 2>&AS_MESSAGE_LOG_FD
608 # SGI C++ compiler will create directory out/ii_files/ for
609 # template instantiation
610 @@ -1005,8 +1222,8 @@ AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
611 [AC_MSG_CHECKING([how to hardcode library paths into programs])
612 _LT_AC_TAGVAR(hardcode_action, $1)=
613 if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
614 - test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \
615 - test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then
616 + test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
617 + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
619 # We can hardcode non-existant directories.
620 if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
621 @@ -1055,6 +1272,7 @@ else
623 if test -n "$STRIP" ; then
625 + old_striplib="$STRIP -S"
629 @@ -1072,7 +1290,8 @@ fi
630 # -----------------------------
631 # PORTME Fill in your ld.so characteristics
632 AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
633 -[AC_MSG_CHECKING([dynamic linker characteristics])
634 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
635 +AC_MSG_CHECKING([dynamic linker characteristics])
637 libname_spec='lib$name'
639 @@ -1086,20 +1305,58 @@ shlibpath_overrides_runpath=unknown
641 dynamic_linker="$host_os ld.so"
642 sys_lib_dlsearch_path_spec="/lib /usr/lib"
644 if test "$GCC" = yes; then
645 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
646 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
648 + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
649 + *) lt_awk_arg="/^libraries:/" ;;
651 + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
652 + if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
653 # if the path contains ";" then we assume it to be the separator
654 # otherwise default to the standard path separator (i.e. ":") - it is
655 # assumed that no part of a normal pathname contains ";" but that should
656 # okay in the real world where ";" in dirpaths is itself problematic.
657 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
658 + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
660 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
661 + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
663 + # Ok, now we have the path, separated by spaces, we can step through it
664 + # and add multilib dir if necessary.
665 + lt_tmp_lt_search_path_spec=
666 + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
667 + for lt_sys_path in $lt_search_path_spec; do
668 + if test -d "$lt_sys_path/$lt_multi_os_dir"; then
669 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
671 + test -d "$lt_sys_path" && \
672 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
675 + lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
676 +BEGIN {RS=" "; FS="/|\n";} {
679 + for (lt_i = NF; lt_i > 0; lt_i--) {
680 + if ($lt_i != "" && $lt_i != ".") {
681 + if ($lt_i == "..") {
684 + if (lt_count == 0) {
685 + lt_foo="/" $lt_i lt_foo;
692 + if (lt_foo != "") { lt_freq[[lt_foo]]++; }
693 + if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
695 + sys_lib_search_path_spec=`echo $lt_search_path_spec`
697 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
700 need_lib_prefix=unknown
701 hardcode_into_libs=no
703 @@ -1117,7 +1374,7 @@ aix3*)
704 soname_spec='${libname}${release}${shared_ext}$major'
712 @@ -1173,7 +1430,7 @@ beos*)
713 shlibpath_var=LIBRARY_PATH
720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
721 @@ -1201,7 +1458,8 @@ cygwin* | mingw* | pw32*)
722 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
723 dldir=$destdir/`dirname \$dlpath`~
724 test -d \$dldir || mkdir -p \$dldir~
725 - $install_prog $dir/$dlname \$dldir/$dlname'
726 + $install_prog $dir/$dlname \$dldir/$dlname~
727 + chmod a+x \$dldir/$dlname'
728 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
731 @@ -1231,7 +1489,7 @@ cygwin* | mingw* | pw32*)
734 # pw32 DLLs use 'pw' prefix rather than 'lib'
735 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
736 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
740 @@ -1254,13 +1512,9 @@ darwin* | rhapsody*)
741 soname_spec='${libname}${release}${major}$shared_ext'
742 shlibpath_overrides_runpath=yes
743 shlibpath_var=DYLD_LIBRARY_PATH
744 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
745 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
746 - if test "$GCC" = yes; then
747 - 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"`
749 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
751 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
753 + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
754 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
757 @@ -1277,20 +1531,17 @@ freebsd1*)
765 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
766 - soname_spec='${libname}${release}${shared_ext}$major'
767 - shlibpath_var=LD_LIBRARY_PATH
768 - shlibpath_overrides_runpath=no
769 - hardcode_into_libs=yes
770 - dynamic_linker='GNU ld.so'
774 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
775 +freebsd* | dragonfly*)
776 + # DragonFly does not have aout. When/if they implement a new
777 + # versioning mechanism, adjust this.
778 + if test -x /usr/bin/objformat; then
779 + objformat=`/usr/bin/objformat`
782 + freebsd[[123]]*) objformat=aout ;;
783 + *) objformat=elf ;;
786 version_type=freebsd-$objformat
787 case $version_type in
789 @@ -1308,14 +1559,19 @@ freebsd*)
791 shlibpath_overrides_runpath=yes
793 - freebsd3.[01]* | freebsdelf3.[01]*)
794 + freebsd3.[[01]]* | freebsdelf3.[[01]]*)
795 shlibpath_overrides_runpath=yes
796 hardcode_into_libs=yes
799 + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
800 + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
801 shlibpath_overrides_runpath=no
802 hardcode_into_libs=yes
804 + *) # from 4.6 on, and DragonFly
805 + shlibpath_overrides_runpath=yes
806 + hardcode_into_libs=yes
811 @@ -1335,7 +1591,7 @@ hpux9* | hpux10* | hpux11*)
815 - case "$host_cpu" in
819 hardcode_into_libs=yes
820 @@ -1375,6 +1631,18 @@ hpux9* | hpux10* | hpux11*)
821 postinstall_cmds='chmod 555 $lib'
828 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
829 + soname_spec='${libname}${release}${shared_ext}$major'
830 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
831 + shlibpath_var=LD_LIBRARY_PATH
832 + shlibpath_overrides_runpath=no
833 + hardcode_into_libs=yes
836 irix5* | irix6* | nonstopux*)
838 nonstopux*) version_type=nonstopux ;;
839 @@ -1418,7 +1686,7 @@ linux*oldld* | linux*aout* | linux*coff*)
842 # This must be Linux ELF.
844 +linux* | k*bsd*-gnu)
848 @@ -1432,27 +1700,10 @@ linux*)
849 # before this can be enabled.
850 hardcode_into_libs=yes
852 - # find out which ABI we are using
854 - case "$host_cpu" in
855 - x86_64*|s390x*|powerpc64*)
856 - echo '[#]line __oline__ "configure"' > conftest.$ac_ext
857 - if AC_TRY_EVAL(ac_compile); then
858 - case `/usr/bin/file conftest.$ac_objext` in
861 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
869 # Append ld.so.conf contents to the search path
870 if test -f /etc/ld.so.conf; then
871 - lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '`
872 - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
873 + 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' ' '`
874 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
877 # We used to test for /lib/ld.so.1 and disable shared libraries on
878 @@ -1464,7 +1715,7 @@ linux*)
879 dynamic_linker='GNU/Linux ld.so'
887 @@ -1473,7 +1724,7 @@ knetbsd*-gnu)
888 shlibpath_var=LD_LIBRARY_PATH
889 shlibpath_overrides_runpath=no
890 hardcode_into_libs=yes
891 - dynamic_linker='GNU ld.so'
892 + dynamic_linker='NetBSD ld.elf_so'
896 @@ -1513,8 +1764,13 @@ nto-qnx*)
900 + sys_lib_dlsearch_path_spec="/usr/lib"
903 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
905 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
906 + *) need_version=no ;;
908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
909 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
910 shlibpath_var=LD_LIBRARY_PATH
911 @@ -1552,11 +1808,8 @@ osf3* | osf4* | osf5*)
912 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
917 - soname_spec='${libname}${release}${shared_ext}$major'
918 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
919 - shlibpath_var=LD_LIBRARY_PATH
925 @@ -1584,7 +1837,7 @@ sunos4*)
929 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
933 soname_spec='${libname}${release}${shared_ext}$major'
934 @@ -1617,6 +1870,29 @@ sysv4*MP*)
938 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
939 + version_type=freebsd-elf
942 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
943 + soname_spec='${libname}${release}${shared_ext}$major'
944 + shlibpath_var=LD_LIBRARY_PATH
945 + hardcode_into_libs=yes
946 + if test "$with_gnu_ld" = yes; then
947 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
948 + shlibpath_overrides_runpath=no
950 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
951 + shlibpath_overrides_runpath=yes
954 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
958 + sys_lib_dlsearch_path_spec='/usr/lib'
963 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
964 @@ -1630,13 +1906,26 @@ uts4*)
966 AC_MSG_RESULT([$dynamic_linker])
967 test "$dynamic_linker" = no && can_build_shared=no
969 +AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec],
970 +[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"])
971 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
972 +AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec],
973 +[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"])
974 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
976 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
977 +if test "$GCC" = yes; then
978 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
980 ])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
985 AC_DEFUN([_LT_AC_TAGCONFIG],
986 -[AC_ARG_WITH([tags],
987 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
989 [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
990 [include additional configurations @<:@automatic@:>@])],
991 [tagnames="$withval"])
992 @@ -1654,6 +1943,9 @@ if test -f "$ltmain" && test -n "$tagnames"; then
993 AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
996 + if test -z "$LTCFLAGS"; then
997 + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
1000 # Extract list of available tagged configurations in $ofile.
1001 # Note that this assumes the entire list is on one line.
1002 @@ -1680,7 +1972,9 @@ if test -f "$ltmain" && test -n "$tagnames"; then
1006 - if test -n "$CXX" && test "X$CXX" != "Xno"; then
1007 + if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
1008 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
1009 + (test "X$CXX" != "Xg++"))) ; then
1010 AC_LIBTOOL_LANG_CXX_CONFIG
1013 @@ -1742,7 +2036,7 @@ AC_DEFUN([AC_LIBTOOL_DLOPEN],
1015 # AC_LIBTOOL_WIN32_DLL
1016 # --------------------
1017 -# declare package support for building win32 dll's
1018 +# declare package support for building win32 DLLs
1019 AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
1020 [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
1021 ])# AC_LIBTOOL_WIN32_DLL
1022 @@ -1780,7 +2074,7 @@ AC_ARG_ENABLE([shared],
1026 -#- set the default shared flag to --disable-shared
1027 +# set the default shared flag to --disable-shared
1028 AC_DEFUN([AC_DISABLE_SHARED],
1029 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
1030 AC_ENABLE_SHARED(no)
1031 @@ -1892,7 +2186,7 @@ m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
1033 # AC_PATH_TOOL_PREFIX
1034 # -------------------
1035 -# find a file program which can recognise shared library
1036 +# find a file program which can recognize shared library
1037 AC_DEFUN([AC_PATH_TOOL_PREFIX],
1038 [AC_REQUIRE([AC_PROG_EGREP])dnl
1039 AC_MSG_CHECKING([for $1])
1040 @@ -1916,7 +2210,7 @@ dnl not every word. This closes a longstanding sh security hole.
1041 if test -n "$file_magic_test_file"; then
1042 case $deplibs_check_method in
1044 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1045 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
1046 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1047 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1048 $EGREP "$file_magic_regex" > /dev/null; then
1049 @@ -1955,7 +2249,7 @@ fi
1053 -# find a file program which can recognise a shared library
1054 +# find a file program which can recognize a shared library
1055 AC_DEFUN([AC_PATH_MAGIC],
1056 [AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
1057 if test -z "$lt_cv_path_MAGIC_CMD"; then
1058 @@ -2026,7 +2320,7 @@ AC_CACHE_VAL(lt_cv_path_LD,
1059 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1060 lt_cv_path_LD="$ac_dir/$ac_prog"
1061 # Check to see if the program is GNU ld. I'd rather use --version,
1062 - # but apparently some GNU ld's only accept -v.
1063 + # but apparently some variants of GNU ld only accept -v.
1064 # Break only if it was the GNU/non-GNU ld that we prefer.
1065 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
1066 *GNU* | *'with BFD'*)
1067 @@ -2058,7 +2352,7 @@ AC_PROG_LD_GNU
1068 AC_DEFUN([AC_PROG_LD_GNU],
1069 [AC_REQUIRE([AC_PROG_EGREP])dnl
1070 AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
1071 -[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
1072 +[# I'd rather use --version here, but apparently some GNU lds only accept -v.
1073 case `$LD -v 2>&1 </dev/null` in
1074 *GNU* | *'with BFD'*)
1075 lt_cv_prog_gnu_ld=yes
1076 @@ -2085,6 +2379,15 @@ case $reload_flag in
1077 *) reload_flag=" $reload_flag" ;;
1079 reload_cmds='$LD$reload_flag -o $output$reload_objs'
1082 + if test "$GCC" = yes; then
1083 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
1085 + reload_cmds='$LD$reload_flag -o $output$reload_objs'
1089 ])# AC_PROG_LD_RELOAD_FLAG
1092 @@ -2093,7 +2396,7 @@ reload_cmds='$LD$reload_flag -o $output$reload_objs'
1093 # how to check for library dependencies
1094 # -- PORTME fill in with the dynamic library characteristics
1095 AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
1096 -[AC_CACHE_CHECK([how to recognise dependent libraries],
1097 +[AC_CACHE_CHECK([how to recognize dependent libraries],
1098 lt_cv_deplibs_check_method,
1099 [lt_cv_file_magic_cmd='$MAGIC_CMD'
1100 lt_cv_file_magic_test_file=
1101 @@ -2110,7 +2413,7 @@ lt_cv_deplibs_check_method='unknown'
1102 # whether `pass_all' will *always* work, you probably want this one.
1107 lt_cv_deplibs_check_method=pass_all
1110 @@ -2118,7 +2421,7 @@ beos*)
1111 lt_cv_deplibs_check_method=pass_all
1116 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
1117 lt_cv_file_magic_cmd='/usr/bin/file -L'
1118 lt_cv_file_magic_test_file=/shlib/libc.so
1119 @@ -2132,22 +2435,28 @@ cygwin*)
1122 # Base MSYS/MinGW do not provide the 'file' command needed by
1123 - # func_win32_libid shell function, so use a weaker test based on 'objdump'.
1124 - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1125 - lt_cv_file_magic_cmd='$OBJDUMP -f'
1126 + # func_win32_libid shell function, so use a weaker test based on 'objdump',
1127 + # unless we find 'file', for example because we are cross-compiling.
1128 + if ( file / ) >/dev/null 2>&1; then
1129 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
1130 + lt_cv_file_magic_cmd='func_win32_libid'
1132 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1133 + lt_cv_file_magic_cmd='$OBJDUMP -f'
1137 darwin* | rhapsody*)
1138 lt_cv_deplibs_check_method=pass_all
1141 -freebsd* | kfreebsd*-gnu)
1142 +freebsd* | dragonfly*)
1143 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1146 # Not sure whether the presence of OpenBSD here was a mistake.
1147 # Let's accept both of them until this is cleared up.
1148 - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
1149 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
1150 lt_cv_file_magic_cmd=/usr/bin/file
1151 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1153 @@ -2163,7 +2472,7 @@ gnu*)
1155 hpux10.20* | hpux11*)
1156 lt_cv_file_magic_cmd=/usr/bin/file
1157 - case "$host_cpu" in
1160 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
1161 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
1162 @@ -2179,6 +2488,11 @@ hpux10.20* | hpux11*)
1167 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
1168 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
1171 irix5* | irix6* | nonstopux*)
1173 *-32|*"-32 ") libmagic=32-bit;;
1174 @@ -2190,20 +2504,11 @@ irix5* | irix6* | nonstopux*)
1177 # This must be Linux ELF.
1180 - alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*)
1181 - lt_cv_deplibs_check_method=pass_all ;;
1183 - # glibc up to 2.1.1 does not perform some relocations on ARM
1184 - # this will be overridden with pass_all, but let us keep it just in case
1185 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
1187 - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1188 +linux* | k*bsd*-gnu)
1189 lt_cv_deplibs_check_method=pass_all
1193 +netbsd* | netbsdelf*-gnu)
1194 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1195 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
1197 @@ -2222,12 +2527,10 @@ nto-qnx*)
1201 - lt_cv_file_magic_cmd=/usr/bin/file
1202 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1203 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1204 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
1205 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
1207 - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
1208 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
1212 @@ -2235,7 +2538,7 @@ osf3* | osf4* | osf5*)
1213 lt_cv_deplibs_check_method=pass_all
1218 lt_cv_deplibs_check_method=pass_all
1221 @@ -2243,7 +2546,7 @@ solaris*)
1222 lt_cv_deplibs_check_method=pass_all
1225 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1227 case $host_vendor in
1229 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]]'
1230 @@ -2264,10 +2567,13 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1232 lt_cv_deplibs_check_method=pass_all
1235 + lt_cv_deplibs_check_method=pass_all
1240 -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
1241 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1242 lt_cv_deplibs_check_method=pass_all
1245 @@ -2287,36 +2593,43 @@ AC_DEFUN([AC_PROG_NM],
1246 # Let the user override the test.
1249 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1250 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1251 - IFS="$lt_save_ifs"
1252 - test -z "$ac_dir" && ac_dir=.
1253 - tmp_nm="$ac_dir/${ac_tool_prefix}nm"
1254 - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
1255 - # Check to see if the nm accepts a BSD-compat flag.
1256 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1257 - # nm: unknown option "B" ignored
1258 - # Tru64's nm complains that /dev/null is an invalid object file
1259 - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
1260 - */dev/null* | *'Invalid file or object type'*)
1261 - lt_cv_path_NM="$tmp_nm -B"
1265 - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
1267 - lt_cv_path_NM="$tmp_nm -p"
1268 + lt_nm_to_check="${ac_tool_prefix}nm"
1269 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
1270 + lt_nm_to_check="$lt_nm_to_check nm"
1272 + for lt_tmp_nm in $lt_nm_to_check; do
1273 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1274 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
1275 + IFS="$lt_save_ifs"
1276 + test -z "$ac_dir" && ac_dir=.
1277 + tmp_nm="$ac_dir/$lt_tmp_nm"
1278 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
1279 + # Check to see if the nm accepts a BSD-compat flag.
1280 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1281 + # nm: unknown option "B" ignored
1282 + # Tru64's nm complains that /dev/null is an invalid object file
1283 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
1284 + */dev/null* | *'Invalid file or object type'*)
1285 + lt_cv_path_NM="$tmp_nm -B"
1289 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1290 - continue # so that we can try to find one that supports BSD flags
1291 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
1293 + lt_cv_path_NM="$tmp_nm -p"
1297 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1298 + continue # so that we can try to find one that supports BSD flags
1307 + IFS="$lt_save_ifs"
1309 - IFS="$lt_save_ifs"
1310 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1313 @@ -2348,13 +2661,13 @@ esac
1314 # -----------------------------------
1315 # sets LIBLTDL to the link flags for the libltdl convenience library and
1316 # LTDLINCL to the include flags for the libltdl header and adds
1317 -# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL
1318 -# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
1319 -# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will
1320 -# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
1321 -# '${top_srcdir}/' (note the single quotes!). If your package is not
1322 -# flat and you're not using automake, define top_builddir and
1323 -# top_srcdir appropriately in the Makefiles.
1324 +# --enable-ltdl-convenience to the configure arguments. Note that
1325 +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
1326 +# it is assumed to be `libltdl'. LIBLTDL will be prefixed with
1327 +# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
1328 +# (note the single quotes!). If your package is not flat and you're not
1329 +# using automake, define top_builddir and top_srcdir appropriately in
1331 AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
1332 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
1333 case $enable_ltdl_convenience in
1334 @@ -2373,13 +2686,13 @@ AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
1335 # -----------------------------------
1336 # sets LIBLTDL to the link flags for the libltdl installable library and
1337 # LTDLINCL to the include flags for the libltdl header and adds
1338 -# --enable-ltdl-install to the configure arguments. Note that LIBLTDL
1339 -# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
1340 -# DIRECTORY is not provided and an installed libltdl is not found, it is
1341 -# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/'
1342 -# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
1343 -# quotes!). If your package is not flat and you're not using automake,
1344 -# define top_builddir and top_srcdir appropriately in the Makefiles.
1345 +# --enable-ltdl-install to the configure arguments. Note that
1346 +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
1347 +# and an installed libltdl is not found, it is assumed to be `libltdl'.
1348 +# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
1349 +# '${top_srcdir}/' (note the single quotes!). If your package is not
1350 +# flat and you're not using automake, define top_builddir and top_srcdir
1351 +# appropriately in the Makefiles.
1352 # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
1353 AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
1354 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
1355 @@ -2417,10 +2730,21 @@ AC_DEFUN([AC_LIBTOOL_CXX],
1357 AC_DEFUN([_LT_AC_LANG_CXX],
1358 [AC_REQUIRE([AC_PROG_CXX])
1359 -AC_REQUIRE([AC_PROG_CXXCPP])
1360 +AC_REQUIRE([_LT_AC_PROG_CXXCPP])
1361 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
1364 +# _LT_AC_PROG_CXXCPP
1365 +# ------------------
1366 +AC_DEFUN([_LT_AC_PROG_CXXCPP],
1368 +AC_REQUIRE([AC_PROG_CXX])
1369 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
1370 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
1371 + (test "X$CXX" != "Xg++"))) ; then
1374 +])# _LT_AC_PROG_CXXCPP
1378 @@ -2460,7 +2784,7 @@ _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
1384 # enable support for Windows resource files
1385 AC_DEFUN([AC_LIBTOOL_RC],
1386 [AC_REQUIRE([LT_AC_PROG_RC])
1387 @@ -2486,43 +2810,16 @@ objext=o
1388 _LT_AC_TAGVAR(objext, $1)=$objext
1390 # Code to be used in simple compile tests
1391 -lt_simple_compile_test_code="int some_variable = 0;\n"
1392 +lt_simple_compile_test_code="int some_variable = 0;"
1394 # Code to be used in simple link tests
1395 -lt_simple_link_test_code='int main(){return(0);}\n'
1396 +lt_simple_link_test_code='int main(){return(0);}'
1401 -# Check for any special shared library compilation flags.
1403 -_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
1404 -if test "$GCC" = no; then
1407 - _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
1411 -if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
1412 - AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
1413 - if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
1415 - AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
1416 - _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
1422 -# Check to make sure the static flag actually works.
1424 -AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
1425 - _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
1426 - $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
1428 - [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
1430 +# save warnings/boilerplate of simple test code
1431 +_LT_COMPILER_BOILERPLATE
1432 +_LT_LINKER_BOILERPLATE
1434 AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
1435 AC_LIBTOOL_PROG_COMPILER_PIC($1)
1436 @@ -2532,9 +2829,9 @@ AC_LIBTOOL_PROG_LD_SHLIBS($1)
1437 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
1438 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
1439 AC_LIBTOOL_SYS_LIB_STRIP
1440 -AC_LIBTOOL_DLOPEN_SELF($1)
1441 +AC_LIBTOOL_DLOPEN_SELF
1443 -# Report which librarie types wil actually be built
1444 +# Report which library types will actually be built
1445 AC_MSG_CHECKING([if libtool supports shared libraries])
1446 AC_MSG_RESULT([$can_build_shared])
1448 @@ -2543,7 +2840,7 @@ test "$can_build_shared" = "no" && enable_shared=no
1450 # On AIX, shared libraries and static libraries use the same namespace, and
1451 # are all built from PIC.
1455 test "$enable_shared" = yes && enable_static=no
1456 if test -n "$RANLIB"; then
1457 @@ -2552,47 +2849,10 @@ aix3*)
1463 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
1464 test "$enable_shared" = yes && enable_static=no
1467 - darwin* | rhapsody*)
1468 - if test "$GCC" = yes; then
1469 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1470 - case "$host_os" in
1471 - rhapsody* | darwin1.[[012]])
1472 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
1474 - *) # Darwin 1.3 on
1475 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
1476 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
1478 - case ${MACOSX_DEPLOYMENT_TARGET} in
1480 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
1483 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
1489 - output_verbose_link_cmd='echo'
1490 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
1491 - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1492 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
1493 - _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}'
1494 - _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}'
1495 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
1496 - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
1497 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1498 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
1499 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
1501 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
1505 AC_MSG_RESULT([$enable_shared])
1506 @@ -2618,7 +2878,7 @@ AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
1507 AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
1509 AC_REQUIRE([AC_PROG_CXX])
1510 -AC_REQUIRE([AC_PROG_CXXCPP])
1511 +AC_REQUIRE([_LT_AC_PROG_CXXCPP])
1513 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1514 _LT_AC_TAGVAR(allow_undefined_flag, $1)=
1515 @@ -2630,6 +2890,7 @@ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
1516 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
1517 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
1518 _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
1519 +_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1520 _LT_AC_TAGVAR(hardcode_automatic, $1)=no
1521 _LT_AC_TAGVAR(module_cmds, $1)=
1522 _LT_AC_TAGVAR(module_expsym_cmds, $1)=
1523 @@ -2645,23 +2906,28 @@ _LT_AC_TAGVAR(postdep_objects, $1)=
1524 _LT_AC_TAGVAR(predeps, $1)=
1525 _LT_AC_TAGVAR(postdeps, $1)=
1526 _LT_AC_TAGVAR(compiler_lib_search_path, $1)=
1527 +_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
1529 # Source file extension for C++ test sources.
1533 # Object file extension for compiled C++ test sources.
1535 _LT_AC_TAGVAR(objext, $1)=$objext
1537 # Code to be used in simple compile tests
1538 -lt_simple_compile_test_code="int some_variable = 0;\n"
1539 +lt_simple_compile_test_code="int some_variable = 0;"
1541 # Code to be used in simple link tests
1542 -lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
1543 +lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
1545 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
1548 +# save warnings/boilerplate of simple test code
1549 +_LT_COMPILER_BOILERPLATE
1550 +_LT_LINKER_BOILERPLATE
1552 # Allow CC to be a program name with arguments.
1555 @@ -2672,18 +2938,18 @@ lt_save_path_LD=$lt_cv_path_LD
1556 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
1557 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
1559 - unset lt_cv_prog_gnu_ld
1560 + $as_unset lt_cv_prog_gnu_ld
1562 if test -n "${lt_cv_path_LDCXX+set}"; then
1563 lt_cv_path_LD=$lt_cv_path_LDCXX
1565 - unset lt_cv_path_LD
1566 + $as_unset lt_cv_path_LD
1568 test -z "${LDCXX+set}" || LD=$LDCXX
1571 _LT_AC_TAGVAR(compiler, $1)=$CC
1572 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
1573 +_LT_CC_BASENAME([$compiler])
1575 # We don't want -fno-exception wen compiling C++ code, so set the
1576 # no_builtin_flag separately
1577 @@ -2750,7 +3016,7 @@ case $host_os in
1578 # FIXME: insert proper C++ library support
1579 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1583 if test "$host_cpu" = ia64; then
1584 # On IA64, the linker does run time linking by default, so we don't
1585 # have to do anything special.
1586 @@ -2763,7 +3029,7 @@ case $host_os in
1587 # Test if we are trying to use run time linking or normal
1588 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1589 # need to do runtime linking.
1590 - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
1591 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
1592 for ld_flag in $LDFLAGS; do
1595 @@ -2772,6 +3038,7 @@ case $host_os in
1602 exp_sym_flag='-bexport'
1603 @@ -2790,7 +3057,7 @@ case $host_os in
1604 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
1606 if test "$GXX" = yes; then
1607 - case $host_os in aix4.[012]|aix4.[012].*)
1608 + case $host_os in aix4.[[012]]|aix4.[[012]].*)
1609 # We only want to do this on AIX 4.2 and lower, the check
1610 # below for broken collect2 doesn't work under 4.3+
1611 collect2name=`${CC} -print-prog-name=collect2`
1612 @@ -2798,7 +3065,7 @@ case $host_os in
1613 strings "$collect2name" | grep resolve_lib_name >/dev/null
1615 # We have reworked collect2
1616 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
1619 # We have old collect2
1620 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
1621 @@ -2809,8 +3076,12 @@ case $host_os in
1622 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
1623 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
1627 shared_flag='-shared'
1628 + if test "$aix_use_runtimelinking" = yes; then
1629 + shared_flag="$shared_flag "'${wl}-G'
1633 if test "$host_cpu" = ia64; then
1634 @@ -2837,12 +3108,12 @@ case $host_os in
1635 _LT_AC_SYS_LIBPATH_AIX
1636 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
1638 - _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"
1639 + _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"
1641 if test "$host_cpu" = ia64; then
1642 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
1643 _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
1644 - _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"
1645 + _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"
1647 # Determine the default libpath from the value encoded in an empty executable.
1648 _LT_AC_SYS_LIBPATH_AIX
1649 @@ -2851,16 +3122,26 @@ case $host_os in
1650 # -berok will link without error, but may produce a broken library.
1651 _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
1652 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
1653 - # -bexpall does not export symbols beginning with underscore (_)
1654 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
1655 # Exported symbols can be pulled into shared objects from archives
1656 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
1657 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
1658 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
1659 - # This is similar to how AIX traditionally builds it's shared libraries.
1660 - _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'
1661 + # This is similar to how AIX traditionally builds its shared libraries.
1662 + _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'
1668 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1669 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
1670 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
1671 + # support --undefined. This deserves some investigation. FIXME
1672 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1674 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
1679 case $cc_basename in
1681 @@ -2879,7 +3160,7 @@ case $host_os in
1682 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
1684 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
1685 - _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'
1686 + _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'
1687 # If the export-symbols file already is a .def file (1st line
1688 # is EXPORTS), use it as is; otherwise, prepend...
1689 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1690 @@ -2888,70 +3169,53 @@ case $host_os in
1691 echo EXPORTS > $output_objdir/$soname.def;
1692 cat $export_symbols >> $output_objdir/$soname.def;
1694 - $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'
1695 + $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'
1697 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1701 - darwin* | rhapsody*)
1702 - if test "$GXX" = yes; then
1703 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1704 - case "$host_os" in
1705 - rhapsody* | darwin1.[[012]])
1706 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
1708 - *) # Darwin 1.3 on
1709 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
1710 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
1711 + darwin* | rhapsody*)
1712 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1713 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
1714 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
1715 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1716 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
1717 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
1718 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
1719 + if test "$GXX" = yes ; then
1720 + output_verbose_link_cmd='echo'
1721 + _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}"
1722 + _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
1723 + _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}"
1724 + _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}"
1725 + if test "$lt_cv_apple_cc_single_mod" != "yes"; then
1726 + _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}"
1727 + _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}"
1730 - case ${MACOSX_DEPLOYMENT_TARGET} in
1732 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
1735 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
1738 + case $cc_basename in
1740 + output_verbose_link_cmd='echo'
1741 + _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'
1742 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1743 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
1744 + _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}'
1745 + _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}'
1748 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
1754 - lt_int_apple_cc_single_mod=no
1755 - output_verbose_link_cmd='echo'
1756 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
1757 - lt_int_apple_cc_single_mod=yes
1759 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1760 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
1762 - _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'
1764 - _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1766 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
1767 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1768 - _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}'
1770 - _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}'
1772 - _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}'
1773 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
1774 - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
1775 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1776 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
1777 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
1779 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
1785 case $cc_basename in
1788 # FIXME: insert proper C++ library support
1789 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1793 # Green Hills C++ Compiler
1794 # FIXME: insert proper C++ library support
1795 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1796 @@ -2962,14 +3226,14 @@ case $host_os in
1802 # C++ shared libraries reported to be fairly broken before switch to ELF
1803 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1806 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1808 - freebsd* | kfreebsd*-gnu)
1809 + freebsd* | dragonfly*)
1810 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
1812 _LT_AC_TAGVAR(ld_shlibs, $1)=yes
1813 @@ -2986,11 +3250,11 @@ case $host_os in
1814 # location of the library.
1816 case $cc_basename in
1819 # FIXME: insert proper C++ library support
1820 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1824 _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'
1825 # Commands to make compiler produce verbose output that lists
1826 # what "hidden" libraries, object files and flags are used when
1827 @@ -3000,7 +3264,7 @@ case $host_os in
1828 # explicitly linking system object files so we need to strip them
1829 # from the output so that they don't get included in the library
1831 - 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'
1832 + 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'
1835 if test "$GXX" = yes; then
1836 @@ -3014,33 +3278,20 @@ case $host_os in
1839 if test $with_gnu_ld = no; then
1840 - case "$host_cpu" in
1842 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
1843 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
1844 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1847 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
1849 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
1850 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1853 + hppa*64*|ia64*) ;;
1855 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
1856 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1857 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
1861 - case "$host_cpu" in
1863 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
1864 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1869 _LT_AC_TAGVAR(hardcode_direct, $1)=no
1870 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1871 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
1872 - # but as the default
1873 - # location of the library.
1876 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
1877 @@ -3051,14 +3302,17 @@ case $host_os in
1880 case $cc_basename in
1883 # FIXME: insert proper C++ library support
1884 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1887 - case "$host_cpu" in
1889 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
1893 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1896 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1899 _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'
1900 @@ -3077,9 +3331,12 @@ case $host_os in
1902 if test "$GXX" = yes; then
1903 if test $with_gnu_ld = no; then
1904 - case "$host_cpu" in
1906 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
1909 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1912 + _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'
1915 _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'
1916 @@ -3093,11 +3350,25 @@ case $host_os in
1921 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
1922 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1923 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
1924 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
1925 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
1926 + # Instead, shared libraries are loaded at an image base (0x10000000 by
1927 + # default) and relocated if they conflict, which is a slow very memory
1928 + # consuming and fragmenting process. To avoid this, we pick a random,
1929 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
1930 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
1931 + _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'
1932 + _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'
1935 case $cc_basename in
1939 - _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'
1940 + _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'
1942 # Archives containing C++ object files must be created using
1943 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
1944 @@ -3108,7 +3379,7 @@ case $host_os in
1946 if test "$GXX" = yes; then
1947 if test "$with_gnu_ld" = no; then
1948 - _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'
1949 + _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'
1951 _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'
1953 @@ -3119,9 +3390,9 @@ case $host_os in
1954 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
1955 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1958 + linux* | k*bsd*-gnu)
1959 case $cc_basename in
1962 # Kuck and Associates, Inc. (KAI) C++ Compiler
1964 # KCC will only create a shared library if the output file
1965 @@ -3146,17 +3417,41 @@ case $host_os in
1966 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
1967 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
1973 + # version 8.0 and above of icpc choke on multiply defined symbols
1974 + # if we add $predep_objects and $postdep_objects, however 7.1 and
1975 + # earlier do not add the objects themselves.
1976 + case `$CC -V 2>&1` in
1978 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
1979 + _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'
1981 + *) # Version 8.0 or newer
1984 + ia64*) tmp_idyn=' -i_dynamic';;
1986 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1987 + _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'
1990 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1991 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
1992 - _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'
1993 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
1994 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
1995 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
1999 + # Portland Group C++ compiler
2000 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
2001 + _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'
2003 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
2004 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
2005 + _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'
2009 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
2010 _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'
2011 @@ -3175,6 +3470,29 @@ case $host_os in
2013 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'
2016 + case `$CC -V 2>&1 | sed 5q` in
2019 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
2020 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2021 + _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'
2022 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
2023 + _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'
2025 + # Not sure whether something based on
2026 + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
2027 + # would be better.
2028 + output_verbose_link_cmd='echo'
2030 + # Archives containing C++ object files must be created using
2031 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
2032 + # necessary to make sure instantiated templates are included
2034 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
2041 @@ -3187,7 +3505,7 @@ case $host_os in
2044 case $cc_basename in
2047 # FIXME: insert proper C++ library support
2048 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2050 @@ -3197,7 +3515,7 @@ case $host_os in
2055 + netbsd* | netbsdelf*-gnu)
2056 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
2057 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
2059 @@ -3208,9 +3526,29 @@ case $host_os in
2060 # Workaround some broken pre-1.5 toolchains
2061 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
2064 + # C++ shared libraries are fairly broken
2065 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
2068 + if test -f /usr/libexec/ld.so; then
2069 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
2070 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2071 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
2072 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
2073 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
2074 + _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'
2075 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
2076 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
2078 + output_verbose_link_cmd='echo'
2080 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
2084 case $cc_basename in
2087 # Kuck and Associates, Inc. (KAI) C++ Compiler
2089 # KCC will only create a shared library if the output file
2090 @@ -3226,14 +3564,14 @@ case $host_os in
2091 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
2096 # Rational C++ 2.4.1
2097 # FIXME: insert proper C++ library support
2098 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2102 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
2103 - _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'
2104 + _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'
2106 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
2107 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2108 @@ -3251,7 +3589,7 @@ case $host_os in
2110 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
2111 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
2112 - _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'
2113 + _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'
2115 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
2116 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2117 @@ -3270,7 +3608,7 @@ case $host_os in
2120 case $cc_basename in
2123 # Kuck and Associates, Inc. (KAI) C++ Compiler
2125 # KCC will only create a shared library if the output file
2126 @@ -3285,17 +3623,17 @@ case $host_os in
2127 # the KAI C++ compiler.
2128 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
2132 # Rational C++ 2.4.1
2133 # FIXME: insert proper C++ library support
2134 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2138 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
2139 - _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'
2140 + _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'
2141 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
2142 echo "-hidden">> $lib.exp~
2143 - $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~
2144 + $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~
2147 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
2148 @@ -3314,7 +3652,7 @@ case $host_os in
2150 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
2151 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
2152 - _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'
2153 + _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'
2155 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
2156 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2157 @@ -3335,27 +3673,14 @@ case $host_os in
2158 # FIXME: insert proper C++ library support
2159 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2162 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2163 - case $cc_basename in
2165 - # FIXME: insert proper C++ library support
2166 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
2169 - # FIXME: insert proper C++ library support
2170 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
2175 case $cc_basename in
2179 # FIXME: insert proper C++ library support
2180 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2185 # FIXME: insert proper C++ library support
2186 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2187 @@ -3368,36 +3693,28 @@ case $host_os in
2190 case $cc_basename in
2193 # Sun C++ 4.2, 5.x and Centerline C++
2194 + _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
2195 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
2196 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2197 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2198 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
2199 - $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'
2200 + $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'
2202 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
2203 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2205 - solaris2.[0-5] | solaris2.[0-5].*) ;;
2206 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
2208 - # The C++ compiler is used as linker so we must use $wl
2209 - # flag to pass the commands to the underlying system
2211 + # The compiler driver will combine and reorder linker options,
2212 + # but understands `-z linker_flag'.
2213 # Supported since Solaris 2.6 (maybe 2.5.1?)
2214 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
2215 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
2218 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2220 - # Commands to make compiler produce verbose output that lists
2221 - # what "hidden" libraries, object files and flags are used when
2222 - # linking a shared library.
2224 - # There doesn't appear to be a way to prevent this compiler from
2225 - # explicitly linking system object files so we need to strip them
2226 - # from the output so that they don't get included in the library
2228 - 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'
2229 + output_verbose_link_cmd='echo'
2231 # Archives containing C++ object files must be created using
2232 # "CC -xar", where "CC" is the Sun C++ compiler. This is
2233 @@ -3405,7 +3722,7 @@ case $host_os in
2235 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
2239 # Green Hills C++ Compiler
2240 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
2242 @@ -3439,16 +3756,73 @@ case $host_os in
2245 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
2247 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
2249 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
2256 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
2257 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
2258 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
2259 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2260 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2261 + runpath_var='LD_RUN_PATH'
2263 + case $cc_basename in
2265 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2266 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2269 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2270 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2274 + sysv5* | sco3.2v5* | sco5v6*)
2275 + # Note: We can NOT use -z defs as we might desire, because we do not
2276 + # link with -lc, and that would cause any symbols used from libc to
2277 + # always be unresolved, which means just about no library would
2278 + # ever link correctly. If we're not using GNU ld we use -z text
2279 + # though, which does catch some bad symbols but isn't as heavy-handed
2281 + # For security reasons, it is highly recommended that you always
2282 + # use absolute paths for naming shared libraries, and exclude the
2283 + # DT_RUNPATH tag from executables and libraries. But doing so
2284 + # requires that you compile everything twice, which is a pain.
2285 + # So that behaviour is only enabled if SCOABSPATH is set to a
2286 + # non-empty value in the environment. Most likely only useful for
2287 + # creating official distributions of packages.
2288 + # This is a hack until libtool officially supports absolute path
2289 + # names for shared libraries.
2290 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
2291 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
2292 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2293 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2294 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
2295 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
2296 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2297 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
2298 + runpath_var='LD_RUN_PATH'
2300 + case $cc_basename in
2302 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2303 + _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'
2306 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2307 + _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'
2312 case $cc_basename in
2315 # NonStop-UX NCC 3.20
2316 # FIXME: insert proper C++ library support
2317 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2318 @@ -3481,8 +3855,6 @@ AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
2319 AC_LIBTOOL_PROG_LD_SHLIBS($1)
2320 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
2321 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
2322 -AC_LIBTOOL_SYS_LIB_STRIP
2323 -AC_LIBTOOL_DLOPEN_SELF($1)
2325 AC_LIBTOOL_CONFIG($1)
2327 @@ -3500,12 +3872,13 @@ lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
2328 ])# AC_LIBTOOL_LANG_CXX_CONFIG
2330 # AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
2331 -# ------------------------
2332 +# ------------------------------------
2333 # Figure out "hidden" library dependencies from verbose
2334 # compiler output when linking a shared library.
2335 # Parse the compiler output and extract the necessary
2336 # objects, libraries and library flags.
2337 -AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
2338 +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],
2339 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
2340 dnl we can't use the lt_simple_compile_test_code here,
2341 dnl because it contains code intended for an executable,
2342 dnl not a library. It's possible we should let each
2343 @@ -3554,7 +3927,7 @@ if AC_TRY_EVAL(ac_compile); then
2344 # The `*' in the case matches for architectures that use `case' in
2345 # $output_verbose_cmd can trigger glob expansion during the loop
2346 # eval without this substitution.
2347 - output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
2348 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
2350 for p in `eval $output_verbose_link_cmd`; do
2352 @@ -3630,13 +4003,74 @@ fi
2354 $rm -f confest.$objext
2356 +_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
2357 +if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
2358 + _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
2361 +# PORTME: override above test on systems where it is broken
2365 + # Interix 3.5 installs completely hosed .la files for C++, so rather than
2366 + # hack all around it, let's just trust "g++" to DTRT.
2367 + _LT_AC_TAGVAR(predep_objects,$1)=
2368 + _LT_AC_TAGVAR(postdep_objects,$1)=
2369 + _LT_AC_TAGVAR(postdeps,$1)=
2373 + case `$CC -V 2>&1 | sed 5q` in
2377 + # The more standards-conforming stlport4 library is
2378 + # incompatible with the Cstd library. Avoid specifying
2379 + # it if it's in CXXFLAGS. Ignore libCrun as
2380 + # -library=stlport4 depends on it.
2381 + case " $CXX $CXXFLAGS " in
2382 + *" -library=stlport4 "*)
2383 + solaris_use_stlport4=yes
2386 + if test "$solaris_use_stlport4" != yes; then
2387 + _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
2394 + case $cc_basename in
2396 + # The more standards-conforming stlport4 library is
2397 + # incompatible with the Cstd library. Avoid specifying
2398 + # it if it's in CXXFLAGS. Ignore libCrun as
2399 + # -library=stlport4 depends on it.
2400 + case " $CXX $CXXFLAGS " in
2401 + *" -library=stlport4 "*)
2402 + solaris_use_stlport4=yes
2406 + # Adding this requires a known-good setup of shared libraries for
2407 + # Sun compiler versions before 5.6, else PIC objects from an old
2408 + # archive will be linked into the output, leading to subtle bugs.
2409 + if test "$solaris_use_stlport4" != yes; then
2410 + _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
2417 case " $_LT_AC_TAGVAR(postdeps, $1) " in
2418 *" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
2420 ])# AC_LIBTOOL_POSTDEP_PREDEP
2422 # AC_LIBTOOL_LANG_F77_CONFIG
2423 -# ------------------------
2424 +# --------------------------
2425 # Ensure that the configuration vars for the C compiler are
2426 # suitably defined. Those variables are subsequently used by
2427 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
2428 @@ -3672,20 +4106,31 @@ objext=o
2429 _LT_AC_TAGVAR(objext, $1)=$objext
2431 # Code to be used in simple compile tests
2432 -lt_simple_compile_test_code=" subroutine t\n return\n end\n"
2433 +lt_simple_compile_test_code="\
2439 # Code to be used in simple link tests
2440 -lt_simple_link_test_code=" program t\n end\n"
2441 +lt_simple_link_test_code="\
2446 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
2449 +# save warnings/boilerplate of simple test code
2450 +_LT_COMPILER_BOILERPLATE
2451 +_LT_LINKER_BOILERPLATE
2453 # Allow CC to be a program name with arguments.
2457 _LT_AC_TAGVAR(compiler, $1)=$CC
2458 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
2459 +_LT_CC_BASENAME([$compiler])
2461 AC_MSG_CHECKING([if libtool supports shared libraries])
2462 AC_MSG_RESULT([$can_build_shared])
2463 @@ -3695,7 +4140,7 @@ test "$can_build_shared" = "no" && enable_shared=no
2465 # On AIX, shared libraries and static libraries use the same namespace, and
2466 # are all built from PIC.
2470 test "$enable_shared" = yes && enable_static=no
2471 if test -n "$RANLIB"; then
2472 @@ -3703,8 +4148,10 @@ aix3*)
2473 postinstall_cmds='$RANLIB $lib'
2477 - test "$enable_shared" = yes && enable_static=no
2479 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
2480 + test "$enable_shared" = yes && enable_static=no
2484 AC_MSG_RESULT([$enable_shared])
2485 @@ -3714,8 +4161,6 @@ AC_MSG_CHECKING([whether to build static libraries])
2486 test "$enable_shared" = yes || enable_static=yes
2487 AC_MSG_RESULT([$enable_static])
2489 -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
2491 _LT_AC_TAGVAR(GCC, $1)="$G77"
2492 _LT_AC_TAGVAR(LD, $1)="$LD"
2494 @@ -3725,8 +4170,6 @@ AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
2495 AC_LIBTOOL_PROG_LD_SHLIBS($1)
2496 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
2497 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
2498 -AC_LIBTOOL_SYS_LIB_STRIP
2501 AC_LIBTOOL_CONFIG($1)
2503 @@ -3752,23 +4195,30 @@ objext=o
2504 _LT_AC_TAGVAR(objext, $1)=$objext
2506 # Code to be used in simple compile tests
2507 -lt_simple_compile_test_code="class foo {}\n"
2508 +lt_simple_compile_test_code="class foo {}"
2510 # Code to be used in simple link tests
2511 -lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
2512 +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
2514 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
2517 +# save warnings/boilerplate of simple test code
2518 +_LT_COMPILER_BOILERPLATE
2519 +_LT_LINKER_BOILERPLATE
2521 # Allow CC to be a program name with arguments.
2525 _LT_AC_TAGVAR(compiler, $1)=$CC
2526 +_LT_CC_BASENAME([$compiler])
2528 # GCJ did not exist at the time GCC didn't implicitly link libc in.
2529 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2531 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
2533 AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
2534 AC_LIBTOOL_PROG_COMPILER_PIC($1)
2535 AC_LIBTOOL_PROG_CC_C_O($1)
2536 @@ -3776,8 +4226,6 @@ AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
2537 AC_LIBTOOL_PROG_LD_SHLIBS($1)
2538 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
2539 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
2540 -AC_LIBTOOL_SYS_LIB_STRIP
2541 -AC_LIBTOOL_DLOPEN_SELF($1)
2543 AC_LIBTOOL_CONFIG($1)
2545 @@ -3787,7 +4235,7 @@ CC="$lt_save_CC"
2548 # AC_LIBTOOL_LANG_RC_CONFIG
2549 -# --------------------------
2550 +# -------------------------
2551 # Ensure that the configuration vars for the Windows resource compiler are
2552 # suitably defined. Those variables are subsequently used by
2553 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
2554 @@ -3803,7 +4251,7 @@ objext=o
2555 _LT_AC_TAGVAR(objext, $1)=$objext
2557 # Code to be used in simple compile tests
2558 -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
2559 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
2561 # Code to be used in simple link tests
2562 lt_simple_link_test_code="$lt_simple_compile_test_code"
2563 @@ -3811,11 +4259,16 @@ lt_simple_link_test_code="$lt_simple_compile_test_code"
2564 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
2567 +# save warnings/boilerplate of simple test code
2568 +_LT_COMPILER_BOILERPLATE
2569 +_LT_LINKER_BOILERPLATE
2571 # Allow CC to be a program name with arguments.
2575 _LT_AC_TAGVAR(compiler, $1)=$CC
2576 +_LT_CC_BASENAME([$compiler])
2577 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
2579 AC_LIBTOOL_CONFIG($1)
2580 @@ -3845,7 +4298,7 @@ if test -f "$ltmain"; then
2581 # Now quote all the things that may contain metacharacters while being
2582 # careful not to overquote the AC_SUBSTed values. We take copies of the
2583 # variables and quote the copies for generation of the libtool script.
2584 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
2585 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
2587 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
2588 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
2589 @@ -3872,6 +4325,7 @@ if test -f "$ltmain"; then
2590 _LT_AC_TAGVAR(predeps, $1) \
2591 _LT_AC_TAGVAR(postdeps, $1) \
2592 _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
2593 + _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \
2594 _LT_AC_TAGVAR(archive_cmds, $1) \
2595 _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
2596 _LT_AC_TAGVAR(postinstall_cmds, $1) \
2597 @@ -3887,6 +4341,7 @@ if test -f "$ltmain"; then
2598 _LT_AC_TAGVAR(module_cmds, $1) \
2599 _LT_AC_TAGVAR(module_expsym_cmds, $1) \
2600 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
2601 + _LT_AC_TAGVAR(fix_srcfile_path, $1) \
2602 _LT_AC_TAGVAR(exclude_expsyms, $1) \
2603 _LT_AC_TAGVAR(include_expsyms, $1); do
2605 @@ -3933,7 +4388,7 @@ ifelse([$1], [],
2606 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
2607 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
2609 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
2610 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
2611 # Free Software Foundation, Inc.
2613 # This file is part of GNU Libtool:
2614 @@ -3951,7 +4406,7 @@ ifelse([$1], [],
2616 # You should have received a copy of the GNU General Public License
2617 # along with this program; if not, write to the Free Software
2618 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
2619 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2621 # As a special exception to the GNU General Public License, if you
2622 # distribute this file as part of a program that contains a
2623 @@ -3962,11 +4417,11 @@ ifelse([$1], [],
2626 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
2627 -Xsed="$SED -e s/^X//"
2628 +Xsed="$SED -e 1s/^X//"
2630 # The HP-UX ksh and POSIX shell print the target directory to stdout
2632 -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
2633 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2635 # The names of the tagged configurations supported by this script.
2637 @@ -3997,6 +4452,12 @@ fast_install=$enable_fast_install
2639 host_alias=$host_alias
2643 +# The build system.
2644 +build_alias=$build_alias
2648 # An echo program that does not interpret backslashes.
2650 @@ -4008,6 +4469,9 @@ AR_FLAGS=$lt_AR_FLAGS
2654 +# LTCC compiler flags.
2655 +LTCFLAGS=$lt_LTCFLAGS
2657 # A language-specific compiler.
2658 CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
2660 @@ -4073,7 +4537,7 @@ max_cmd_len=$lt_cv_sys_max_cmd_len
2661 # Does compiler simultaneously support -c and -o options?
2662 compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
2664 -# Must we lock files when doing compilation ?
2665 +# Must we lock files when doing compilation?
2666 need_locks=$lt_need_locks
2668 # Do we need the lib prefix for modules?
2669 @@ -4161,6 +4625,10 @@ predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
2671 postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
2673 +# The directories searched by this compiler when creating a shared
2675 +compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)
2677 # The library search path used internally by the compiler when linking
2679 compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
2680 @@ -4249,7 +4717,7 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
2681 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
2683 # Fix the shell variable \$srcfile for the compiler.
2684 -fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
2685 +fix_srcfile_path=$lt_fix_srcfile_path
2687 # Set to yes if exported symbols are required.
2688 always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
2689 @@ -4332,6 +4800,7 @@ fi
2690 # ---------------------------------
2691 AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
2692 [AC_REQUIRE([AC_CANONICAL_HOST])
2693 +AC_REQUIRE([LT_AC_PROG_SED])
2694 AC_REQUIRE([AC_PROG_NM])
2695 AC_REQUIRE([AC_OBJEXT])
2696 # Check for command to grab the raw symbol name followed by C symbol from nm.
2697 @@ -4347,9 +4816,6 @@ symcode='[[BCDEGRST]]'
2698 # Regexp to match symbols that can be accessed directly from C.
2699 sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
2701 -# Transform the above into a raw symbol and a C symbol.
2702 -symxfrm='\1 \2\3 \3'
2704 # Transform an extracted symbol line into a proper C declaration
2705 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
2707 @@ -4371,15 +4837,31 @@ hpux*) # Its linker distinguishes data from code symbols
2708 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
2709 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'"
2711 +linux* | k*bsd*-gnu)
2712 + if test "$host_cpu" = ia64; then
2713 + symcode='[[ABCDGIRSTW]]'
2714 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
2715 + 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'"
2719 symcode='[[BCDEGRST]]'
2722 symcode='[[BCDEGQRST]]'
2734 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
2735 + symcode='[[ABDT]]'
2738 symcode='[[DFNSTU]]'
2740 @@ -4402,8 +4884,11 @@ esac
2741 # Try without a prefix undercore, then with it.
2742 for ac_symprfx in "" "_"; do
2744 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
2745 + symxfrm="\\1 $ac_symprfx\\2 \\2"
2747 # Write the raw and C identifiers.
2748 - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
2749 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
2751 # Check to see that the pipe works correctly.
2753 @@ -4493,7 +4978,7 @@ EOF
2754 echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
2755 cat conftest.$ac_ext >&5
2757 - rm -f conftest* conftst*
2758 + rm -rf conftest* conftst*
2760 # Do not use the global_symbol_pipe unless it works.
2761 if test "$pipe_works" = yes; then
2762 @@ -4542,13 +5027,16 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2764 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
2766 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
2767 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
2768 # PIC is the default for these OSes.
2770 - mingw* | os2* | pw32*)
2771 + mingw* | cygwin* | os2* | pw32*)
2772 # This hack is so that the source file can tell whether it is being
2773 # built for inclusion in a dll (and should export symbols for example).
2774 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
2775 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
2776 + # (--disable-auto-import) libraries
2777 + m4_if([$1], [GCJ], [],
2778 + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
2780 darwin* | rhapsody*)
2781 # PIC is the default on this platform
2782 @@ -4559,6 +5047,10 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2783 # DJGPP does not support shared libraries at all
2784 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
2787 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
2788 + # Instead, we relocate shared libraries at runtime.
2791 if test -d /usr/nec; then
2792 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
2793 @@ -4567,7 +5059,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2795 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
2797 - case "$host_cpu" in
2802 @@ -4581,7 +5073,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2808 # All AIX code is PIC.
2809 if test "$host_cpu" = ia64; then
2810 # AIX 5 now supports IA64 processor
2811 @@ -4592,18 +5084,28 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2814 case $cc_basename in
2817 # Green Hills C++ Compiler
2818 # _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"
2823 + # PIC is the default on this platform
2824 + # Common symbols not allowed in MH_DYLIB files
2825 + case $cc_basename in
2827 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
2828 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
2833 case $cc_basename in
2836 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
2840 # Green Hills C++ Compiler
2841 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
2843 @@ -4611,22 +5113,22 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2847 - freebsd* | kfreebsd*-gnu)
2848 + freebsd* | dragonfly*)
2849 # FreeBSD uses GNU C++
2851 hpux9* | hpux10* | hpux11*)
2852 case $cc_basename in
2855 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
2856 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
2857 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
2858 if test "$host_cpu" != ia64; then
2859 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
2864 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
2865 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
2866 - case "$host_cpu" in
2867 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
2872 @@ -4639,9 +5141,13 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2877 + # This is c89, which is MS Visual C++ (no shared libs)
2878 + # Anyone wants to do a port?
2880 irix5* | irix6* | nonstopux*)
2881 case $cc_basename in
2884 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
2885 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
2886 # CC pic flag -KPIC is the default.
2887 @@ -4650,20 +5156,26 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2892 + linux* | k*bsd*-gnu)
2893 case $cc_basename in
2897 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
2898 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
2903 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
2904 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
2905 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
2909 + # Portland Group C++ compiler.
2910 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
2911 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
2912 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
2916 # Make sure the PIC flag is empty. It appears that all Alpha
2917 # Linux and Compaq Tru64 Unix objects are PIC.
2918 @@ -4671,6 +5183,14 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2919 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
2922 + case `$CC -V 2>&1 | sed 5q` in
2925 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
2926 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
2927 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
2933 @@ -4680,25 +5200,25 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2936 case $cc_basename in
2939 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
2946 + netbsd* | netbsdelf*-gnu)
2948 osf3* | osf4* | osf5*)
2949 case $cc_basename in
2952 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
2956 # Rational C++ 2.4.1
2957 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
2961 # Digital/Compaq C++
2962 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
2963 # Make sure the PIC flag is empty. It appears that all Alpha
2964 @@ -4712,24 +5232,15 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2969 - case $cc_basename in
2971 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
2978 case $cc_basename in
2981 # Sun C++ 4.2, 5.x and Centerline C++
2982 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
2983 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
2984 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
2988 # Green Hills C++ Compiler
2989 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
2991 @@ -4739,12 +5250,12 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2994 case $cc_basename in
2998 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
2999 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3004 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3006 @@ -4754,7 +5265,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3009 case $cc_basename in
3012 # NonStop-UX NCC 3.20
3013 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3015 @@ -4762,7 +5273,14 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3020 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
3021 + case $cc_basename in
3023 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3024 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3025 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3031 @@ -4793,14 +5311,17 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3032 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
3035 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
3036 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
3037 # PIC is the default for these OSes.
3040 - mingw* | pw32* | os2*)
3041 + mingw* | cygwin* | pw32* | os2*)
3042 # This hack is so that the source file can tell whether it is being
3043 # built for inclusion in a dll (and should export symbols for example).
3044 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
3045 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
3046 + # (--disable-auto-import) libraries
3047 + m4_if([$1], [GCJ], [],
3048 + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
3051 darwin* | rhapsody*)
3052 @@ -4809,6 +5330,11 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3053 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
3057 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
3058 + # Instead, we relocate shared libraries at runtime.
3062 # Just because we use GCC doesn't mean we suddenly get shared libraries
3063 # on systems that don't support them.
3064 @@ -4825,7 +5351,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3066 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
3068 - case "$host_cpu" in
3073 @@ -4851,18 +5377,29 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3074 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
3078 + # PIC is the default on this platform
3079 + # Common symbols not allowed in MH_DYLIB files
3080 + case $cc_basename in
3082 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
3083 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3088 - mingw* | pw32* | os2*)
3089 + mingw* | cygwin* | pw32* | os2*)
3090 # This hack is so that the source file can tell whether it is being
3091 # built for inclusion in a dll (and should export symbols for example).
3092 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
3093 + m4_if([$1], [GCJ], [],
3094 + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
3097 hpux9* | hpux10* | hpux11*)
3098 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3099 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
3101 - case "$host_cpu" in
3106 @@ -4885,18 +5422,41 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3107 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3112 + linux* | k*bsd*-gnu)
3113 + case $cc_basename in
3115 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3116 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3117 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
3119 + pgcc* | pgf77* | pgf90* | pgf95*)
3120 + # Portland Group compilers (*not* the Pentium gcc compiler,
3121 + # which looks to be a dead project)
3122 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3123 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
3124 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3127 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3128 # All Alpha code is PIC.
3129 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3132 + case `$CC -V 2>&1 | sed 5q` in
3135 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3136 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3137 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3140 + # Sun Fortran 8.3 passes all unrecognized flags to the linker
3141 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3142 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3143 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
3150 @@ -4906,15 +5466,19 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3151 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3155 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
3156 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
3158 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3162 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3163 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3164 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3165 + case $cc_basename in
3166 + f77* | f90* | f95*)
3167 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
3169 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
3174 @@ -4923,7 +5487,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3175 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3178 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3179 + sysv4 | sysv4.2uw2* | sysv4.3*)
3180 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3181 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3182 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3183 @@ -4936,6 +5500,17 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3187 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
3188 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3189 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3190 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3194 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3195 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
3199 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3200 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3201 @@ -4954,7 +5529,7 @@ AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
3203 if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
3204 AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
3205 - _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
3206 + _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
3207 [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
3208 [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
3210 @@ -4963,7 +5538,7 @@ if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
3211 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
3212 _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
3216 # For platforms which do not support PIC, -DPIC is meaningless:
3218 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
3219 @@ -4972,6 +5547,16 @@ case "$host_os" in
3220 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
3225 +# Check to make sure the static flag actually works.
3227 +wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
3228 +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
3229 + _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1),
3230 + $lt_tmp_static_flag,
3232 + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
3236 @@ -4979,11 +5564,12 @@ esac
3237 # ------------------------------------
3238 # See if the linker supports building shared libraries.
3239 AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
3240 -[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
3241 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
3242 +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
3244 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
3248 # If we're using GNU nm, then we don't want the "-C" option.
3249 # -C means demangle to AIX nm, but means don't demangle with GNU nm
3250 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
3251 @@ -4996,12 +5582,16 @@ ifelse([$1],[CXX],[
3252 _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
3255 - _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'
3256 + _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'
3258 + linux* | k*bsd*-gnu)
3259 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
3262 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
3265 + _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
3268 _LT_AC_TAGVAR(allow_undefined_flag, $1)=
3269 @@ -5032,14 +5622,17 @@ ifelse([$1],[CXX],[
3270 # it will be wrapped by ` (' and `)$', so one must not match beginning or
3271 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
3272 # as well as any symbol that contains `d'.
3273 - _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
3274 + _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
3275 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
3276 # platforms (ab)use it in PIC code, but their linkers get confused if
3277 # the symbol is explicitly referenced. Since portable code cannot
3278 # rely on this symbol name, it's probably fine to never include it in
3279 # preloaded symbol tables.
3280 + # Exclude shared library initialization/finalization symbols.
3281 +dnl Note also adjust exclude_expsyms for C++ above.
3282 extract_expsyms_cmds=
3284 + # Just being paranoid about ensuring that cc_basename is set.
3285 + _LT_CC_BASENAME([$compiler])
3287 cygwin* | mingw* | pw32*)
3288 # FIXME: the MSVC++ port hasn't been tested in a loooong time
3289 @@ -5049,6 +5642,10 @@ ifelse([$1],[CXX],[
3294 + # we just hope/assume this is gcc and not c89 (= MSVC++)
3300 @@ -5059,9 +5656,30 @@ ifelse([$1],[CXX],[
3301 # If archive_cmds runs LD, not CC, wlarc should be empty
3304 + # Set some defaults for GNU ld with shared library support. These
3305 + # are reset later if shared libraries are not supported. Putting them
3306 + # here allows them to be overridden if necessary.
3307 + runpath_var=LD_RUN_PATH
3308 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
3309 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3310 + # ancient GNU ld didn't support --whole-archive et. al.
3311 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
3312 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3314 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3316 + supports_anon_versioning=no
3317 + case `$LD -v 2>/dev/null` in
3318 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
3319 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
3320 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
3321 + *\ 2.11.*) ;; # other 2.11 versions
3322 + *) supports_anon_versioning=yes ;;
3325 # See if GNU ld supports shared libraries.
3327 - aix3* | aix4* | aix5*)
3329 # On AIX/PPC, the GNU linker is very broken
3330 if test "$host_cpu" != ia64; then
3331 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3332 @@ -5109,10 +5727,10 @@ EOF
3333 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
3334 _LT_AC_TAGVAR(always_export_symbols, $1)=no
3335 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
3336 - _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'
3337 + _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'
3339 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
3340 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
3341 + _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'
3342 # If the export-symbols file already is a .def file (1st line
3343 # is EXPORTS), use it as is; otherwise, prepend...
3344 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
3345 @@ -5121,13 +5739,69 @@ EOF
3346 echo EXPORTS > $output_objdir/$soname.def;
3347 cat $export_symbols >> $output_objdir/$soname.def;
3349 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
3350 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
3353 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3359 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
3360 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3361 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3362 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3363 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
3364 + # Instead, shared libraries are loaded at an image base (0x10000000 by
3365 + # default) and relocated if they conflict, which is a slow very memory
3366 + # consuming and fragmenting process. To avoid this, we pick a random,
3367 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
3368 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
3369 + _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'
3370 + _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'
3373 + gnu* | linux* | k*bsd*-gnu)
3374 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3376 + case $cc_basename,$host_cpu in
3377 + pgcc*) # Portland Group C compiler
3378 + _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'
3379 + tmp_addflag=' $pic_flag'
3381 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
3382 + _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'
3383 + tmp_addflag=' $pic_flag -Mnomain' ;;
3384 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
3385 + tmp_addflag=' -i_dynamic' ;;
3386 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
3387 + tmp_addflag=' -i_dynamic -nofor_main' ;;
3388 + ifc* | ifort*) # Intel Fortran compiler
3389 + tmp_addflag=' -nofor_main' ;;
3391 + case `$CC -V 2>&1 | sed 5q` in
3392 + *Sun\ C*) # Sun C 5.9
3393 + _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'
3394 + tmp_sharedflag='-G' ;;
3395 + *Sun\ F*) # Sun Fortran 8.3
3396 + tmp_sharedflag='-G' ;;
3398 + tmp_sharedflag='-shared' ;;
3400 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3402 + if test $supports_anon_versioning = yes; then
3403 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
3404 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
3405 + $echo "local: *; };" >> $output_objdir/$libname.ver~
3406 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
3408 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
3410 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3414 + netbsd* | netbsdelf*-gnu)
3415 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3416 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
3418 @@ -5137,7 +5811,7 @@ EOF
3422 - solaris* | sysv5*)
3424 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
3425 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3427 @@ -5158,6 +5832,33 @@ EOF
3431 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
3432 + case `$LD -v 2>&1` in
3433 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
3434 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3435 + cat <<_LT_EOF 1>&2
3437 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
3438 +*** reliably create shared libraries on SCO systems. Therefore, libtool
3439 +*** is disabling shared libraries support. We urge you to upgrade GNU
3440 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
3441 +*** your PATH or compiler configuration so that the native linker is
3442 +*** used, and then restart.
3447 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3448 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
3449 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
3450 + _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'
3452 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3459 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
3461 @@ -5165,31 +5866,6 @@ EOF
3462 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3466 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3467 - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3468 - _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
3469 - supports_anon_versioning=no
3470 - case `$LD -v 2>/dev/null` in
3471 - *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
3472 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
3473 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
3474 - *\ 2.11.*) ;; # other 2.11 versions
3475 - *) supports_anon_versioning=yes ;;
3477 - if test $supports_anon_versioning = yes; then
3478 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
3479 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
3480 -$echo "local: *; };" >> $output_objdir/$libname.ver~
3481 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
3483 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds"
3486 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3491 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3492 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3493 @@ -5200,16 +5876,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3497 - if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then
3498 - runpath_var=LD_RUN_PATH
3499 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
3500 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3501 - # ancient GNU ld didn't support --whole-archive et. al.
3502 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
3503 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3505 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3507 + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
3509 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
3510 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
3511 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3514 # PORTME fill in a description of your system's linker (not GNU ld)
3515 @@ -5221,14 +5892,14 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3516 # Note: this linker hardcodes the directories in LIBPATH if there
3517 # are no directories specified by -L.
3518 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3519 - if test "$GCC" = yes && test -z "$link_static_flag"; then
3520 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
3521 # Neither direct hardcoding nor static linking is supported with a
3523 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
3529 if test "$host_cpu" = ia64; then
3530 # On IA64, the linker does run time linking by default, so we don't
3531 # have to do anything special.
3532 @@ -5248,13 +5919,14 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3533 # Test if we are trying to use run time linking or normal
3534 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
3535 # need to do runtime linking.
3536 - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
3537 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
3538 for ld_flag in $LDFLAGS; do
3539 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
3540 aix_use_runtimelinking=yes
3547 exp_sym_flag='-bexport'
3548 @@ -5273,7 +5945,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3549 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3551 if test "$GCC" = yes; then
3552 - case $host_os in aix4.[012]|aix4.[012].*)
3553 + case $host_os in aix4.[[012]]|aix4.[[012]].*)
3554 # We only want to do this on AIX 4.2 and lower, the check
3555 # below for broken collect2 doesn't work under 4.3+
3556 collect2name=`${CC} -print-prog-name=collect2`
3557 @@ -5281,7 +5953,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3558 strings "$collect2name" | grep resolve_lib_name >/dev/null
3560 # We have reworked collect2
3561 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3564 # We have old collect2
3565 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
3566 @@ -5292,8 +5964,12 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3567 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3568 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
3572 shared_flag='-shared'
3573 + if test "$aix_use_runtimelinking" = yes; then
3574 + shared_flag="$shared_flag "'${wl}-G'
3578 if test "$host_cpu" = ia64; then
3579 @@ -5301,11 +5977,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3580 # chokes on -Wl,-G. The following line is correct:
3583 - if test "$aix_use_runtimelinking" = yes; then
3584 + if test "$aix_use_runtimelinking" = yes; then
3585 shared_flag='${wl}-G'
3587 shared_flag='${wl}-bM:SRE'
3593 @@ -5319,12 +5995,12 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3594 # Determine the default libpath from the value encoded in an empty executable.
3595 _LT_AC_SYS_LIBPATH_AIX
3596 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
3597 - _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"
3598 + _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"
3600 if test "$host_cpu" = ia64; then
3601 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
3602 _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
3603 - _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"
3604 + _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"
3606 # Determine the default libpath from the value encoded in an empty executable.
3607 _LT_AC_SYS_LIBPATH_AIX
3608 @@ -5333,13 +6009,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3609 # -berok will link without error, but may produce a broken library.
3610 _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
3611 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
3612 - # -bexpall does not export symbols beginning with underscore (_)
3613 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
3614 # Exported symbols can be pulled into shared objects from archives
3615 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
3616 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
3617 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
3618 - # This is similar to how AIX traditionally builds it's shared libraries.
3619 - _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'
3620 + # This is similar to how AIX traditionally builds its shared libraries.
3621 + _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'
3625 @@ -5352,7 +6026,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3626 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3631 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
3634 @@ -5372,58 +6046,57 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3635 # The linker will automatically build a .lib file if we build a DLL.
3636 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
3637 # FIXME: Should let the user specify the lib program.
3638 - _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
3639 - fix_srcfile_path='`cygpath -w "$srcfile"`'
3640 + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
3641 + _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
3642 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
3645 darwin* | rhapsody*)
3646 - if test "$GXX" = yes ; then
3647 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3648 - case "$host_os" in
3649 - rhapsody* | darwin1.[[012]])
3650 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
3652 - *) # Darwin 1.3 on
3653 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3654 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3656 - case ${MACOSX_DEPLOYMENT_TARGET} in
3658 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3661 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
3667 + rhapsody* | darwin1.[[012]])
3668 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
3670 + *) # Darwin 1.3 on
3671 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3672 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3674 + case ${MACOSX_DEPLOYMENT_TARGET} in
3676 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3679 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
3685 - lt_int_apple_cc_single_mod=no
3686 - output_verbose_link_cmd='echo'
3687 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
3688 - lt_int_apple_cc_single_mod=yes
3690 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3691 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3693 - _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'
3695 - _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3696 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
3697 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3698 - _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}'
3700 - _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}'
3702 - _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}'
3703 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3704 _LT_AC_TAGVAR(hardcode_direct, $1)=no
3705 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3706 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3707 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
3708 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
3709 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3710 + if test "$GCC" = yes ; then
3711 + output_verbose_link_cmd='echo'
3712 + _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}"
3713 + _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
3714 + _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}"
3715 + _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}"
3717 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3718 + case $cc_basename in
3720 + output_verbose_link_cmd='echo'
3721 + _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'
3722 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3723 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3724 + _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}'
3725 + _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}'
3728 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3734 @@ -5457,7 +6130,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3737 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
3738 - freebsd* | kfreebsd*-gnu)
3739 + freebsd* | dragonfly*)
3740 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
3741 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3742 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3743 @@ -5480,47 +6153,62 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3744 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3747 - hpux10* | hpux11*)
3749 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
3750 - case "$host_cpu" in
3752 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
3754 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
3756 + if test "$with_gnu_ld" = no; then
3757 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3758 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3760 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3761 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3763 + # hardcode_minus_L: Not really in the search PATH,
3764 + # but as the default location of the library.
3765 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3770 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
3773 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3776 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
3779 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
3783 - case "$host_cpu" in
3785 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
3788 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3791 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
3794 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
3795 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
3799 if test "$with_gnu_ld" = no; then
3800 - case "$host_cpu" in
3802 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3803 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3804 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3808 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
3809 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3810 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
3811 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3814 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3815 _LT_AC_TAGVAR(hardcode_direct, $1)=no
3816 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3818 - # hardcode_minus_L: Not really in the search PATH,
3819 - # but as the default location of the library.
3820 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3823 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3824 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3825 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3826 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3828 @@ -5544,7 +6232,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3829 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3833 + netbsd* | netbsdelf*-gnu)
3834 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3835 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
3837 @@ -5564,23 +6252,28 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3841 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3842 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3843 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3844 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
3845 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3846 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3847 + if test -f /usr/libexec/ld.so; then
3848 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3849 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3850 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3851 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
3852 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
3853 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3854 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3857 + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
3858 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
3859 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3862 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
3863 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3869 - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
3870 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
3871 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3874 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
3875 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3878 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3882 @@ -5613,7 +6306,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3883 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
3884 _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'
3885 _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~
3886 - $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'
3887 + $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'
3889 # Both c and cxx compiler support -rpath directly
3890 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
3891 @@ -5621,21 +6314,15 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3892 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3896 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
3897 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3898 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
3899 - runpath_var=LD_RUN_PATH
3900 - hardcode_runpath_var=yes
3904 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
3905 if test "$GCC" = yes; then
3907 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3908 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3909 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
3912 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_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 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
3915 @@ -5644,8 +6331,17 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3916 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3918 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
3919 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
3920 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
3922 + # The compiler driver will combine and reorder linker options,
3923 + # but understands `-z linker_flag'. GCC discards it without `$wl',
3924 + # but is careful enough not to reorder.
3925 + # Supported since Solaris 2.6 (maybe 2.5.1?)
3926 + if test "$GCC" = yes; then
3927 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
3929 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
3933 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3935 @@ -5702,36 +6398,45 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3940 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
3941 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3942 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
3943 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
3944 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
3945 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3946 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3947 - hardcode_runpath_var=yes
3948 - runpath_var=LD_RUN_PATH
3950 + runpath_var='LD_RUN_PATH'
3952 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
3953 - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
3954 if test "$GCC" = yes; then
3955 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3956 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3957 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3959 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3960 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3961 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3963 - runpath_var='LD_RUN_PATH'
3964 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3968 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
3969 - # $CC -shared without GNU ld will not create a library from C++
3970 - # object files and a static libstdc++, better avoid it by now
3971 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
3972 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3973 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
3974 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
3975 + sysv5* | sco3.2v5* | sco5v6*)
3976 + # Note: We can NOT use -z defs as we might desire, because we do not
3977 + # link with -lc, and that would cause any symbols used from libc to
3978 + # always be unresolved, which means just about no library would
3979 + # ever link correctly. If we're not using GNU ld we use -z text
3980 + # though, which does catch some bad symbols but isn't as heavy-handed
3982 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
3983 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
3984 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3985 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3986 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
3987 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
3988 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3989 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
3990 runpath_var='LD_RUN_PATH'
3992 + if test "$GCC" = yes; then
3993 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3994 + _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'
3996 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3997 + _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'
4002 @@ -5749,11 +6454,6 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
4003 AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
4004 test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
4006 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
4007 -if test "$GCC" = yes; then
4008 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
4012 # Do we need to explicitly link libc?
4014 @@ -5773,7 +6473,7 @@ x|xyes)
4015 # to ld, don't add -lc before -lgcc.
4016 AC_MSG_CHECKING([whether -lc should be explicitly linked in])
4018 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
4019 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
4021 if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
4023 @@ -5781,6 +6481,7 @@ x|xyes)
4024 libobjs=conftest.$ac_objext
4026 wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
4027 + pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
4031 @@ -5875,6 +6576,30 @@ AC_DEFUN([LT_AC_PROG_RC],
4032 [AC_CHECK_TOOL(RC, windres, no)
4036 +# Cheap backport of AS_EXECUTABLE_P and required macros
4037 +# from Autoconf 2.59; we should not use $as_executable_p directly.
4041 +m4_ifndef([_AS_TEST_PREPARE],
4042 +[m4_defun([_AS_TEST_PREPARE],
4043 +[if test -x / >/dev/null 2>&1; then
4044 + as_executable_p='test -x'
4046 + as_executable_p='test -f'
4048 +])])# _AS_TEST_PREPARE
4052 +# Check whether a file is executable.
4053 +m4_ifndef([AS_EXECUTABLE_P],
4054 +[m4_defun([AS_EXECUTABLE_P],
4055 +[AS_REQUIRE([_AS_TEST_PREPARE])dnl
4056 +$as_executable_p $1[]dnl
4057 +])])# AS_EXECUTABLE_P
4059 # NOTE: This macro has been submitted for inclusion into #
4060 # GNU Autoconf as AC_PROG_SED. When it is available in #
4061 # a released version of Autoconf we should remove this #
4062 @@ -5895,18 +6620,19 @@ do
4063 test -z "$as_dir" && as_dir=.
4064 for lt_ac_prog in sed gsed; do
4065 for ac_exec_ext in '' $ac_executable_extensions; do
4066 - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4067 + if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then
4068 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4076 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4077 # along with /bin/sed that truncates output.
4078 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4079 - test ! -f $lt_ac_sed && break
4080 + test ! -f $lt_ac_sed && continue
4081 cat /dev/null > conftest.in
4083 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4084 @@ -5931,28 +6657,17 @@ for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4088 -SED=$lt_cv_path_SED
4090 +SED=$lt_cv_path_SED
4092 AC_MSG_RESULT([$SED])
4096 -# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
4097 -# Generated from amversion.in; do not edit by hand.
4099 -# This program is free software; you can redistribute it and/or modify
4100 -# it under the terms of the GNU General Public License as published by
4101 -# the Free Software Foundation; either version 2, or (at your option)
4102 -# any later version.
4104 -# This program is distributed in the hope that it will be useful,
4105 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4106 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4107 -# GNU General Public License for more details.
4109 -# You should have received a copy of the GNU General Public License
4110 -# along with this program; if not, write to the Free Software
4111 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4112 +# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
4114 +# This file is free software; the Free Software Foundation
4115 +# gives unlimited permission to copy and/or distribute it,
4116 +# with or without modifications, as long as this notice is preserved.
4118 # AM_AUTOMAKE_VERSION(VERSION)
4119 # ----------------------------
4120 @@ -5965,26 +6680,15 @@ AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
4121 # Call AM_AUTOMAKE_VERSION so it can be traced.
4122 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
4123 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
4124 - [AM_AUTOMAKE_VERSION([1.9.2])])
4126 -# AM_AUX_DIR_EXPAND
4127 + [AM_AUTOMAKE_VERSION([1.9.6])])
4129 -# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
4130 +# AM_AUX_DIR_EXPAND -*- Autoconf -*-
4132 -# This program is free software; you can redistribute it and/or modify
4133 -# it under the terms of the GNU General Public License as published by
4134 -# the Free Software Foundation; either version 2, or (at your option)
4135 -# any later version.
4137 -# This program is distributed in the hope that it will be useful,
4138 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4139 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4140 -# GNU General Public License for more details.
4142 -# You should have received a copy of the GNU General Public License
4143 -# along with this program; if not, write to the Free Software
4144 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4146 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
4148 +# This file is free software; the Free Software Foundation
4149 +# gives unlimited permission to copy and/or distribute it,
4150 +# with or without modifications, as long as this notice is preserved.
4152 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
4153 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
4154 @@ -6031,26 +6735,16 @@ AC_PREREQ([2.50])dnl
4155 am_aux_dir=`cd $ac_aux_dir && pwd`
4158 -# AM_CONDITIONAL -*- Autoconf -*-
4160 -# Copyright (C) 1997, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
4162 -# This program is free software; you can redistribute it and/or modify
4163 -# it under the terms of the GNU General Public License as published by
4164 -# the Free Software Foundation; either version 2, or (at your option)
4165 -# any later version.
4166 +# AM_CONDITIONAL -*- Autoconf -*-
4168 -# This program is distributed in the hope that it will be useful,
4169 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4170 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4171 -# GNU General Public License for more details.
4173 -# You should have received a copy of the GNU General Public License
4174 -# along with this program; if not, write to the Free Software
4175 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4177 +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
4178 +# Free Software Foundation, Inc.
4180 +# This file is free software; the Free Software Foundation
4181 +# gives unlimited permission to copy and/or distribute it,
4182 +# with or without modifications, as long as this notice is preserved.
4187 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
4188 # -------------------------------------
4189 @@ -6074,26 +6768,15 @@ AC_CONFIG_COMMANDS_PRE(
4190 Usually this means the macro was only invoked conditionally.]])
4193 -# serial 7 -*- Autoconf -*-
4195 -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
4196 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
4197 # Free Software Foundation, Inc.
4199 +# This file is free software; the Free Software Foundation
4200 +# gives unlimited permission to copy and/or distribute it,
4201 +# with or without modifications, as long as this notice is preserved.
4203 -# This program is free software; you can redistribute it and/or modify
4204 -# it under the terms of the GNU General Public License as published by
4205 -# the Free Software Foundation; either version 2, or (at your option)
4206 -# any later version.
4208 -# This program is distributed in the hope that it will be useful,
4209 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4210 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4211 -# GNU General Public License for more details.
4213 -# You should have received a copy of the GNU General Public License
4214 -# along with this program; if not, write to the Free Software
4215 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4220 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
4221 # written in clear, in which case automake, when reading aclocal.m4,
4222 @@ -6102,7 +6785,6 @@ fi])])
4223 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
4227 # _AM_DEPENDENCIES(NAME)
4228 # ----------------------
4229 # See how the compiler implements dependency checking.
4230 @@ -6242,27 +6924,16 @@ AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
4231 AC_SUBST([AMDEPBACKSLASH])
4234 -# Generate code to set up dependency tracking. -*- Autoconf -*-
4236 -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
4237 -# Free Software Foundation, Inc.
4239 -# This program is free software; you can redistribute it and/or modify
4240 -# it under the terms of the GNU General Public License as published by
4241 -# the Free Software Foundation; either version 2, or (at your option)
4242 -# any later version.
4244 -# This program is distributed in the hope that it will be useful,
4245 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4246 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4247 -# GNU General Public License for more details.
4248 +# Generate code to set up dependency tracking. -*- Autoconf -*-
4250 -# You should have received a copy of the GNU General Public License
4251 -# along with this program; if not, write to the Free Software
4252 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4254 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
4255 +# Free Software Foundation, Inc.
4257 +# This file is free software; the Free Software Foundation
4258 +# gives unlimited permission to copy and/or distribute it,
4259 +# with or without modifications, as long as this notice is preserved.
4264 # _AM_OUTPUT_DEPENDENCY_COMMANDS
4265 # ------------------------------
4266 @@ -6321,54 +6992,31 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
4267 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
4270 -# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
4272 -# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
4274 -# This program is free software; you can redistribute it and/or modify
4275 -# it under the terms of the GNU General Public License as published by
4276 -# the Free Software Foundation; either version 2, or (at your option)
4277 -# any later version.
4279 -# This program is distributed in the hope that it will be useful,
4280 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4281 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4282 -# GNU General Public License for more details.
4284 -# You should have received a copy of the GNU General Public License
4285 -# along with this program; if not, write to the Free Software
4286 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4288 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
4289 +# Free Software Foundation, Inc.
4291 +# This file is free software; the Free Software Foundation
4292 +# gives unlimited permission to copy and/or distribute it,
4293 +# with or without modifications, as long as this notice is preserved.
4298 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
4299 AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
4301 -# Do all the work for Automake. -*- Autoconf -*-
4303 -# This macro actually does too much some checks are only needed if
4304 -# your package does certain things. But this isn't really a big deal.
4305 +# Do all the work for Automake. -*- Autoconf -*-
4307 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
4308 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
4309 # Free Software Foundation, Inc.
4311 +# This file is free software; the Free Software Foundation
4312 +# gives unlimited permission to copy and/or distribute it,
4313 +# with or without modifications, as long as this notice is preserved.
4315 -# This program is free software; you can redistribute it and/or modify
4316 -# it under the terms of the GNU General Public License as published by
4317 -# the Free Software Foundation; either version 2, or (at your option)
4318 -# any later version.
4320 -# This program is distributed in the hope that it will be useful,
4321 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4322 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4323 -# GNU General Public License for more details.
4325 -# You should have received a copy of the GNU General Public License
4326 -# along with this program; if not, write to the Free Software
4327 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4332 +# This macro actually does too much. Some checks are only needed if
4333 +# your package does certain things. But this isn't really a big deal.
4335 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
4336 # AM_INIT_AUTOMAKE([OPTIONS])
4337 @@ -6470,51 +7118,27 @@ for _am_header in $config_headers :; do
4339 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
4341 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
4343 +# This file is free software; the Free Software Foundation
4344 +# gives unlimited permission to copy and/or distribute it,
4345 +# with or without modifications, as long as this notice is preserved.
4347 # AM_PROG_INSTALL_SH
4348 # ------------------
4349 # Define $install_sh.
4351 -# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
4353 -# This program is free software; you can redistribute it and/or modify
4354 -# it under the terms of the GNU General Public License as published by
4355 -# the Free Software Foundation; either version 2, or (at your option)
4356 -# any later version.
4358 -# This program is distributed in the hope that it will be useful,
4359 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4360 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4361 -# GNU General Public License for more details.
4363 -# You should have received a copy of the GNU General Public License
4364 -# along with this program; if not, write to the Free Software
4365 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4368 AC_DEFUN([AM_PROG_INSTALL_SH],
4369 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
4370 install_sh=${install_sh-"$am_aux_dir/install-sh"}
4371 AC_SUBST(install_sh)])
4374 -# Copyright (C) 2003 Free Software Foundation, Inc.
4376 -# This program is free software; you can redistribute it and/or modify
4377 -# it under the terms of the GNU General Public License as published by
4378 -# the Free Software Foundation; either version 2, or (at your option)
4379 -# any later version.
4381 -# This program is distributed in the hope that it will be useful,
4382 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4383 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4384 -# GNU General Public License for more details.
4386 -# You should have received a copy of the GNU General Public License
4387 -# along with this program; if not, write to the Free Software
4388 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4390 +# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
4392 +# This file is free software; the Free Software Foundation
4393 +# gives unlimited permission to copy and/or distribute it,
4394 +# with or without modifications, as long as this notice is preserved.
4399 # Check whether the underlying file-system supports filenames
4400 # with a leading dot. For instance MS-DOS doesn't.
4401 @@ -6529,28 +7153,17 @@ fi
4402 rmdir .tst 2>/dev/null
4403 AC_SUBST([am__leading_dot])])
4405 -# Add --enable-maintainer-mode option to configure.
4406 +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
4409 -# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004
4410 +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
4411 # Free Software Foundation, Inc.
4413 +# This file is free software; the Free Software Foundation
4414 +# gives unlimited permission to copy and/or distribute it,
4415 +# with or without modifications, as long as this notice is preserved.
4417 -# This program is free software; you can redistribute it and/or modify
4418 -# it under the terms of the GNU General Public License as published by
4419 -# the Free Software Foundation; either version 2, or (at your option)
4420 -# any later version.
4422 -# This program is distributed in the hope that it will be useful,
4423 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4424 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4425 -# GNU General Public License for more details.
4427 -# You should have received a copy of the GNU General Public License
4428 -# along with this program; if not, write to the Free Software
4429 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4435 AC_DEFUN([AM_MAINTAINER_MODE],
4436 [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
4437 @@ -6569,26 +7182,15 @@ AC_DEFUN([AM_MAINTAINER_MODE],
4439 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
4441 -# Check to see how 'make' treats includes. -*- Autoconf -*-
4443 -# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
4445 -# This program is free software; you can redistribute it and/or modify
4446 -# it under the terms of the GNU General Public License as published by
4447 -# the Free Software Foundation; either version 2, or (at your option)
4448 -# any later version.
4450 -# This program is distributed in the hope that it will be useful,
4451 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4452 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4453 -# GNU General Public License for more details.
4454 +# Check to see how 'make' treats includes. -*- Autoconf -*-
4456 -# You should have received a copy of the GNU General Public License
4457 -# along with this program; if not, write to the Free Software
4458 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4460 +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
4462 +# This file is free software; the Free Software Foundation
4463 +# gives unlimited permission to copy and/or distribute it,
4464 +# with or without modifications, as long as this notice is preserved.
4471 @@ -6632,27 +7234,16 @@ AC_MSG_RESULT([$_am_result])
4472 rm -f confinc confmf
4478 -# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
4480 -# This program is free software; you can redistribute it and/or modify
4481 -# it under the terms of the GNU General Public License as published by
4482 -# the Free Software Foundation; either version 2, or (at your option)
4483 -# any later version.
4485 -# This program is distributed in the hope that it will be useful,
4486 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4487 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4488 -# GNU General Public License for more details.
4489 +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
4491 -# You should have received a copy of the GNU General Public License
4492 -# along with this program; if not, write to the Free Software
4493 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4495 +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
4496 +# Free Software Foundation, Inc.
4498 +# This file is free software; the Free Software Foundation
4499 +# gives unlimited permission to copy and/or distribute it,
4500 +# with or without modifications, as long as this notice is preserved.
4505 # AM_MISSING_PROG(NAME, PROGRAM)
4506 # ------------------------------
4507 @@ -6678,27 +7269,16 @@ else
4511 +# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
4513 +# This file is free software; the Free Software Foundation
4514 +# gives unlimited permission to copy and/or distribute it,
4515 +# with or without modifications, as long as this notice is preserved.
4519 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
4521 -# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
4523 -# This program is free software; you can redistribute it and/or modify
4524 -# it under the terms of the GNU General Public License as published by
4525 -# the Free Software Foundation; either version 2, or (at your option)
4526 -# any later version.
4528 -# This program is distributed in the hope that it will be useful,
4529 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4530 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4531 -# GNU General Public License for more details.
4533 -# You should have received a copy of the GNU General Public License
4534 -# along with this program; if not, write to the Free Software
4535 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4539 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
4540 # created by `make install' are always world readable, even if the
4541 # installer happens to have an overly restrictive umask (e.g. 077).
4542 @@ -6752,26 +7332,15 @@ else
4544 AC_SUBST([mkdir_p])])
4546 -# Helper functions for option handling. -*- Autoconf -*-
4548 -# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
4550 -# This program is free software; you can redistribute it and/or modify
4551 -# it under the terms of the GNU General Public License as published by
4552 -# the Free Software Foundation; either version 2, or (at your option)
4553 -# any later version.
4555 -# This program is distributed in the hope that it will be useful,
4556 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4557 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4558 -# GNU General Public License for more details.
4559 +# Helper functions for option handling. -*- Autoconf -*-
4561 -# You should have received a copy of the GNU General Public License
4562 -# along with this program; if not, write to the Free Software
4563 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4565 +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
4567 +# This file is free software; the Free Software Foundation
4568 +# gives unlimited permission to copy and/or distribute it,
4569 +# with or without modifications, as long as this notice is preserved.
4574 # _AM_MANGLE_OPTION(NAME)
4575 # -----------------------
4576 @@ -6796,28 +7365,16 @@ AC_DEFUN([_AM_SET_OPTIONS],
4577 AC_DEFUN([_AM_IF_OPTION],
4578 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
4581 -# Check to make sure that the build environment is sane.
4584 -# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
4585 +# Check to make sure that the build environment is sane. -*- Autoconf -*-
4587 -# This program is free software; you can redistribute it and/or modify
4588 -# it under the terms of the GNU General Public License as published by
4589 -# the Free Software Foundation; either version 2, or (at your option)
4590 -# any later version.
4592 -# This program is distributed in the hope that it will be useful,
4593 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4594 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4595 -# GNU General Public License for more details.
4597 -# You should have received a copy of the GNU General Public License
4598 -# along with this program; if not, write to the Free Software
4599 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4601 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
4602 +# Free Software Foundation, Inc.
4604 +# This file is free software; the Free Software Foundation
4605 +# gives unlimited permission to copy and/or distribute it,
4606 +# with or without modifications, as long as this notice is preserved.
4613 @@ -6860,25 +7417,14 @@ Check your system clock])
4615 AC_MSG_RESULT(yes)])
4617 -# AM_PROG_INSTALL_STRIP
4619 -# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
4621 -# This program is free software; you can redistribute it and/or modify
4622 -# it under the terms of the GNU General Public License as published by
4623 -# the Free Software Foundation; either version 2, or (at your option)
4624 -# any later version.
4626 -# This program is distributed in the hope that it will be useful,
4627 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4628 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4629 -# GNU General Public License for more details.
4631 -# You should have received a copy of the GNU General Public License
4632 -# along with this program; if not, write to the Free Software
4633 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4635 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
4637 +# This file is free software; the Free Software Foundation
4638 +# gives unlimited permission to copy and/or distribute it,
4639 +# with or without modifications, as long as this notice is preserved.
4641 +# AM_PROG_INSTALL_STRIP
4642 +# ---------------------
4643 # One issue with vendor `install' (even GNU) is that you can't
4644 # specify the program used to strip binaries. This is especially
4645 # annoying in cross-compiling environments, where the build's strip
4646 @@ -6901,25 +7447,13 @@ AC_SUBST([INSTALL_STRIP_PROGRAM])])
4648 # Check how to create a tarball. -*- Autoconf -*-
4650 -# Copyright (C) 2004 Free Software Foundation, Inc.
4652 -# This program is free software; you can redistribute it and/or modify
4653 -# it under the terms of the GNU General Public License as published by
4654 -# the Free Software Foundation; either version 2, or (at your option)
4655 -# any later version.
4657 -# This program is distributed in the hope that it will be useful,
4658 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4659 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4660 -# GNU General Public License for more details.
4662 -# You should have received a copy of the GNU General Public License
4663 -# along with this program; if not, write to the Free Software
4664 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4668 +# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
4670 +# This file is free software; the Free Software Foundation
4671 +# gives unlimited permission to copy and/or distribute it,
4672 +# with or without modifications, as long as this notice is preserved.
4676 # _AM_PROG_TAR(FORMAT)
4677 # --------------------
4678 diff --git a/aux/config.guess b/aux/config.guess
4679 index 2fc3acc..f32079a 100755
4680 --- a/aux/config.guess
4681 +++ b/aux/config.guess
4684 # Attempt to guess a canonical system name.
4685 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4686 -# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
4687 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
4688 +# Free Software Foundation, Inc.
4690 -timestamp='2003-06-17'
4691 +timestamp='2008-01-23'
4693 # This file is free software; you can redistribute it and/or modify it
4694 # under the terms of the GNU General Public License as published by
4695 @@ -17,13 +18,15 @@ timestamp='2003-06-17'
4697 # You should have received a copy of the GNU General Public License
4698 # along with this program; if not, write to the Free Software
4699 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
4700 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
4703 # As a special exception to the GNU General Public License, if you
4704 # distribute this file as part of a program that contains a
4705 # configuration script generated by Autoconf, you may include it under
4706 # the same distribution terms that you use for the rest of that program.
4709 # Originally written by Per Bothner <per@bothner.com>.
4710 # Please send patches to <config-patches@gnu.org>. Submit a context
4711 # diff and a properly formatted ChangeLog entry.
4712 @@ -53,8 +56,8 @@ version="\
4713 GNU config.guess ($timestamp)
4715 Originally written by Per Bothner.
4716 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
4717 -Free Software Foundation, Inc.
4718 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
4719 +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
4721 This is free software; see the source for copying conditions. There is NO
4722 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
4723 @@ -66,11 +69,11 @@ Try \`$me --help' for more information."
4724 while test $# -gt 0 ; do
4726 --time-stamp | --time* | -t )
4727 - echo "$timestamp" ; exit 0 ;;
4728 + echo "$timestamp" ; exit ;;
4730 - echo "$version" ; exit 0 ;;
4731 + echo "$version" ; exit ;;
4732 --help | --h* | -h )
4733 - echo "$usage"; exit 0 ;;
4734 + echo "$usage"; exit ;;
4735 -- ) # Stop option processing
4737 - ) # Use stdin as input.
4738 @@ -104,7 +107,7 @@ set_cc_for_build='
4739 trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
4740 trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
4742 - { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
4743 + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
4744 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
4745 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
4746 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
4747 @@ -123,7 +126,7 @@ case $CC_FOR_BUILD,$HOST_CC,$CC in
4749 ,,*) CC_FOR_BUILD=$CC ;;
4750 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
4752 +esac ; set_cc_for_build= ;'
4754 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
4755 # (ghazi@noc.rutgers.edu 1994-08-24)
4756 @@ -136,13 +139,6 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
4757 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
4758 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
4760 -## for Red Hat Linux
4761 -if test -f /etc/redhat-release ; then
4767 # Note: order is significant - the case branches are not exclusive.
4769 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
4770 @@ -165,6 +161,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
4771 arm*) machine=arm-unknown ;;
4772 sh3el) machine=shl-unknown ;;
4773 sh3eb) machine=sh-unknown ;;
4774 + sh5el) machine=sh5le-unknown ;;
4775 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
4777 # The Operating System including object format, if it has switched
4778 @@ -203,50 +200,32 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
4779 # contains redundant information, the shorter form:
4780 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
4781 echo "${machine}-${os}${release}"
4783 - amiga:OpenBSD:*:*)
4784 - echo m68k-unknown-openbsd${UNAME_RELEASE}
4787 - echo mipsel-unknown-openbsd${UNAME_RELEASE}
4789 - hp300:OpenBSD:*:*)
4790 - echo m68k-unknown-openbsd${UNAME_RELEASE}
4792 - mac68k:OpenBSD:*:*)
4793 - echo m68k-unknown-openbsd${UNAME_RELEASE}
4795 - macppc:OpenBSD:*:*)
4796 - echo powerpc-unknown-openbsd${UNAME_RELEASE}
4798 - mvme68k:OpenBSD:*:*)
4799 - echo m68k-unknown-openbsd${UNAME_RELEASE}
4801 - mvme88k:OpenBSD:*:*)
4802 - echo m88k-unknown-openbsd${UNAME_RELEASE}
4804 - mvmeppc:OpenBSD:*:*)
4805 - echo powerpc-unknown-openbsd${UNAME_RELEASE}
4808 - echo mipsel-unknown-openbsd${UNAME_RELEASE}
4811 - echo mipseb-unknown-openbsd${UNAME_RELEASE}
4814 - echo m68k-unknown-openbsd${UNAME_RELEASE}
4816 - wgrisc:OpenBSD:*:*)
4817 - echo mipsel-unknown-openbsd${UNAME_RELEASE}
4821 - echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
4823 + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
4824 + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
4827 + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
4830 + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
4832 + macppc:MirBSD:*:*)
4833 + echo powerpc-unknown-mirbsd${UNAME_RELEASE}
4836 + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
4839 - if test $UNAME_RELEASE = "V4.0"; then
4840 + case $UNAME_RELEASE in
4842 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
4846 + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
4849 # According to Compaq, /usr/sbin/psrinfo has been available on
4850 # OSF/1 and Tru64 systems produced since 1995. I hope that
4851 # covers most systems running today. This code pipes the CPU
4852 @@ -284,42 +263,49 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
4854 UNAME_MACHINE="alphaev79" ;;
4856 + # A Pn.n version is a patched version.
4857 # A Vn.n version is a released version.
4858 # A Tn.n version is a released field test version.
4859 # A Xn.n version is an unreleased experimental baselevel.
4860 # 1.2 uses "1.2" for uname -r.
4861 - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
4863 - Alpha*:OpenVMS:*:*)
4866 + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
4868 Alpha\ *:Windows_NT*:*)
4869 # How do we know it's Interix rather than the generic POSIX subsystem?
4870 # Should we change UNAME_MACHINE based on the output of uname instead
4871 # of the specific Alpha model?
4872 echo alpha-pc-interix
4875 21064:Windows_NT:50:3)
4876 echo alpha-dec-winnt3.5
4879 Amiga*:UNIX_System_V:4.0:*)
4880 echo m68k-unknown-sysv4
4883 *:[Aa]miga[Oo][Ss]:*:*)
4884 echo ${UNAME_MACHINE}-unknown-amigaos
4887 *:[Mm]orph[Oo][Ss]:*:*)
4888 echo ${UNAME_MACHINE}-unknown-morphos
4892 echo i370-ibm-openedition
4896 + echo s390-ibm-zvmoe
4899 + echo powerpc-ibm-os400
4901 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
4902 echo arm-acorn-riscix${UNAME_RELEASE}
4905 + arm:riscos:*:*|arm:RISCOS:*:*)
4906 + echo arm-unknown-riscos
4908 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
4909 echo hppa1.1-hitachi-hiuxmpp
4912 Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
4913 # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
4914 if test "`(/bin/universe) 2>/dev/null`" = att ; then
4915 @@ -327,32 +313,32 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
4917 echo pyramid-pyramid-bsd
4922 echo pyramid-pyramid-svr4
4925 DRS?6000:unix:4.0:6*)
4928 - DRS?6000:UNIX_SV:4.2*:7*)
4930 + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
4931 case `/usr/bin/uname -p` in
4932 - sparc) echo sparc-icl-nx7 && exit 0 ;;
4933 + sparc) echo sparc-icl-nx7; exit ;;
4936 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
4939 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
4940 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
4942 - i86pc:SunOS:5.*:*)
4944 + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
4945 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
4949 # According to config.sub, this is the proper way to canonicalize
4950 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
4951 # it's likely to be more like Solaris than SunOS4.
4952 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
4956 case "`/usr/bin/arch -k`" in
4958 @@ -361,10 +347,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
4960 # Japanese Language versions have a version number like `4.1.3-JL'.
4961 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
4965 echo m68k-sun-sunos${UNAME_RELEASE}
4969 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
4970 test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
4971 @@ -376,10 +362,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
4972 echo sparc-sun-sunos${UNAME_RELEASE}
4978 echo sparc-auspex-sunos${UNAME_RELEASE}
4981 # The situation for MiNT is a little confusing. The machine name
4982 # can be virtually everything (everything which is not
4983 # "atarist" or "atariste" at least should have a processor
4984 @@ -390,37 +376,40 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
4986 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
4987 echo m68k-atari-mint${UNAME_RELEASE}
4990 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
4991 echo m68k-atari-mint${UNAME_RELEASE}
4994 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
4995 echo m68k-atari-mint${UNAME_RELEASE}
4998 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
4999 echo m68k-milan-mint${UNAME_RELEASE}
5002 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
5003 echo m68k-hades-mint${UNAME_RELEASE}
5006 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
5007 echo m68k-unknown-mint${UNAME_RELEASE}
5011 + echo m68k-apple-machten${UNAME_RELEASE}
5013 powerpc:machten:*:*)
5014 echo powerpc-apple-machten${UNAME_RELEASE}
5018 echo mips-dec-mach_bsd4.3
5022 echo mips-dec-ultrix${UNAME_RELEASE}
5026 echo vax-dec-ultrix${UNAME_RELEASE}
5029 2020:CLIX:*:* | 2430:CLIX:*:*)
5030 echo clipper-intergraph-clix${UNAME_RELEASE}
5033 mips:*:*:UMIPS | mips:*:*:RISCos)
5034 eval $set_cc_for_build
5035 sed 's/^ //' << EOF >$dummy.c
5036 @@ -444,32 +433,33 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
5040 - $CC_FOR_BUILD -o $dummy $dummy.c \
5041 - && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
5043 + $CC_FOR_BUILD -o $dummy $dummy.c &&
5044 + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
5045 + SYSTEM_NAME=`$dummy $dummyarg` &&
5046 + { echo "$SYSTEM_NAME"; exit; }
5047 echo mips-mips-riscos${UNAME_RELEASE}
5050 Motorola:PowerMAX_OS:*:*)
5051 echo powerpc-motorola-powermax
5054 Motorola:*:4.3:PL8-*)
5055 echo powerpc-harris-powermax
5058 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
5059 echo powerpc-harris-powermax
5062 Night_Hawk:Power_UNIX:*:*)
5063 echo powerpc-harris-powerunix
5067 echo m88k-harris-cxux7
5071 echo m88k-motorola-sysv4
5075 echo m88k-motorola-sysv3
5079 # DG/UX returns AViiON for all architectures
5080 UNAME_PROCESSOR=`/usr/bin/uname -p`
5081 @@ -485,29 +475,29 @@ EOF
5083 echo i586-dg-dgux${UNAME_RELEASE}
5087 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
5088 echo m88k-dolphin-sysv3
5092 # Delta 88k system running SVR3
5093 echo m88k-motorola-sysv3
5096 XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
5097 echo m88k-tektronix-sysv3
5100 Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
5101 echo m68k-tektronix-bsd
5105 echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
5108 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
5109 - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
5110 - exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
5111 + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
5112 + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
5118 if [ -x /usr/bin/oslevel ] ; then
5119 IBM_REV=`/usr/bin/oslevel`
5120 @@ -515,7 +505,7 @@ EOF
5121 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
5123 echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
5127 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
5128 eval $set_cc_for_build
5129 @@ -530,15 +520,19 @@ EOF
5133 - $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
5134 - echo rs6000-ibm-aix3.2.5
5135 + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
5137 + echo "$SYSTEM_NAME"
5139 + echo rs6000-ibm-aix3.2.5
5141 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
5142 echo rs6000-ibm-aix3.2.4
5144 echo rs6000-ibm-aix3.2
5150 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
5151 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
5153 @@ -551,28 +545,28 @@ EOF
5154 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
5156 echo ${IBM_ARCH}-ibm-aix${IBM_REV}
5163 ibmrt:4.4BSD:*|romp-ibm:BSD:*)
5164 echo romp-ibm-bsd4.4
5167 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
5168 echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
5169 - exit 0 ;; # report: romp-ibm BSD 4.3
5170 + exit ;; # report: romp-ibm BSD 4.3
5172 echo rs6000-bull-bosx
5175 DPX/2?00:B.O.S.:*:*)
5176 echo m68k-bull-sysv3
5179 9000/[34]??:4.3bsd:1.*:*)
5183 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
5187 9000/[34678]??:HP-UX:*:*)
5188 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
5189 case "${UNAME_MACHINE}" in
5190 @@ -634,9 +628,19 @@ EOF
5192 if [ ${HP_ARCH} = "hppa2.0w" ]
5194 - # avoid double evaluation of $set_cc_for_build
5195 - test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
5196 - if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null
5197 + eval $set_cc_for_build
5199 + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
5200 + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
5201 + # generating 64-bit code. GNU and HP use different nomenclature:
5203 + # $ CC_FOR_BUILD=cc ./config.guess
5204 + # => hppa2.0w-hp-hpux11.23
5205 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
5206 + # => hppa64-hp-hpux11.23
5208 + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
5209 + grep __LP64__ >/dev/null
5213 @@ -644,11 +648,11 @@ EOF
5216 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
5220 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
5221 echo ia64-hp-hpux${HPUX_REV}
5225 eval $set_cc_for_build
5226 sed 's/^ //' << EOF >$dummy.c
5227 @@ -676,150 +680,192 @@ EOF
5231 - $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
5232 + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
5233 + { echo "$SYSTEM_NAME"; exit; }
5234 echo unknown-hitachi-hiuxwe2
5237 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
5241 9000/8??:4.3bsd:*:*)
5245 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
5246 echo hppa1.0-hp-mpeix
5249 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
5258 if [ -x /usr/sbin/sysversion ] ; then
5259 echo ${UNAME_MACHINE}-unknown-osf1mk
5261 echo ${UNAME_MACHINE}-unknown-osf1
5266 echo hppa1.1-hp-lites
5269 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
5273 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
5274 if getsysinfo -f scalar_acc
5275 then echo c32-convex-bsd
5276 else echo c2-convex-bsd
5280 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
5284 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
5288 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
5293 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
5297 echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
5298 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
5299 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
5304 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
5308 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
5312 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
5316 - echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
5318 + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
5320 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
5321 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
5322 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
5323 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
5324 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
5327 + 5000:UNIX_System_V:4.*:*)
5328 + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
5329 + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
5330 + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
5332 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
5333 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
5337 echo sparc-unknown-bsdi${UNAME_RELEASE}
5341 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
5343 - *:FreeBSD:*:*|*:GNU/FreeBSD:*:*)
5344 - # Determine whether the default compiler uses glibc.
5345 - eval $set_cc_for_build
5346 - sed 's/^ //' << EOF >$dummy.c
5347 - #include <features.h>
5348 - #if __GLIBC__ >= 2
5354 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
5355 - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
5359 + case ${UNAME_MACHINE} in
5361 + echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
5363 + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
5365 + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
5369 echo ${UNAME_MACHINE}-pc-cygwin
5374 echo ${UNAME_MACHINE}-pc-mingw32
5378 + # uname -m includes "-pc" on this system.
5379 + echo ${UNAME_MACHINE}-mingw32
5382 echo ${UNAME_MACHINE}-pc-pw32
5384 - x86:Interix*:[34]*)
5385 - echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
5388 + *:Interix*:[3456]*)
5389 + case ${UNAME_MACHINE} in
5391 + echo i586-pc-interix${UNAME_RELEASE}
5393 + EM64T | authenticamd)
5394 + echo x86_64-unknown-interix${UNAME_RELEASE}
5397 + echo ia64-unknown-interix${UNAME_RELEASE}
5400 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
5401 echo i${UNAME_MACHINE}-pc-mks
5404 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
5405 # How do we know it's Interix rather than the generic POSIX subsystem?
5406 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
5407 # UNAME_MACHINE based on the output of uname instead of i386?
5408 echo i586-pc-interix
5412 echo ${UNAME_MACHINE}-pc-uwin
5415 + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
5416 + echo x86_64-unknown-cygwin
5419 echo powerpcle-unknown-cygwin
5423 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
5428 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
5432 + # other systems with GNU libc and userland
5433 + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
5436 echo ${UNAME_MACHINE}-pc-minix
5440 + eval $set_cc_for_build
5441 + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
5442 + | grep -q __ARM_EABI__
5444 + echo ${UNAME_MACHINE}-unknown-linux-gnu
5446 + echo ${UNAME_MACHINE}-unknown-linux-gnueabi
5450 echo ${UNAME_MACHINE}-unknown-linux-gnu
5454 echo cris-axis-linux-gnu
5457 + crisv32:Linux:*:*)
5458 + echo crisv32-axis-linux-gnu
5461 + echo frv-unknown-linux-gnu
5464 - echo ${UNAME_MACHINE}-${VENDOR:-unknown}-linux-gnu
5466 + echo ${UNAME_MACHINE}-unknown-linux-gnu
5469 + echo ${UNAME_MACHINE}-unknown-linux-gnu
5472 echo ${UNAME_MACHINE}-unknown-linux-gnu
5476 eval $set_cc_for_build
5477 sed 's/^ //' << EOF >$dummy.c
5478 @@ -836,8 +882,12 @@ EOF
5482 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
5483 - test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
5484 + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
5489 + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
5492 eval $set_cc_for_build
5493 @@ -855,15 +905,22 @@ EOF
5497 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
5498 - test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
5499 + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
5504 + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
5507 + echo or32-unknown-linux-gnu
5510 - echo powerpc-${VENDOR:-unknown}-linux-gnu
5512 + echo powerpc-unknown-linux-gnu
5515 - echo powerpc64-${VENDOR:-unknown}-linux-gnu
5517 + echo powerpc64-unknown-linux-gnu
5520 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
5521 EV5) UNAME_MACHINE=alphaev5 ;;
5522 @@ -877,7 +934,7 @@ EOF
5523 objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
5524 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
5525 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
5528 parisc:Linux:*:* | hppa:Linux:*:*)
5529 # Look for CPU level
5530 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
5531 @@ -885,25 +942,31 @@ EOF
5532 PA8*) echo hppa2.0-unknown-linux-gnu ;;
5533 *) echo hppa-unknown-linux-gnu ;;
5537 parisc64:Linux:*:* | hppa64:Linux:*:*)
5538 echo hppa64-unknown-linux-gnu
5541 s390:Linux:*:* | s390x:Linux:*:*)
5542 - echo ${UNAME_MACHINE}-${VENDOR:-ibm}-linux-gnu
5544 + echo ${UNAME_MACHINE}-ibm-linux
5547 echo ${UNAME_MACHINE}-unknown-linux-gnu
5551 echo ${UNAME_MACHINE}-unknown-linux-gnu
5554 sparc:Linux:*:* | sparc64:Linux:*:*)
5555 echo ${UNAME_MACHINE}-unknown-linux-gnu
5559 + echo ${UNAME_MACHINE}-dec-linux-gnu
5562 - echo x86_64-${VENDOR:-unknown}-linux-gnu
5564 + echo x86_64-unknown-linux-gnu
5566 + xtensa*:Linux:*:*)
5567 + echo ${UNAME_MACHINE}-unknown-linux-gnu
5570 # The BFD linker knows what the default object file format is, so
5571 # first see if it will tell us. cd to the root directory to prevent
5572 @@ -921,15 +984,15 @@ EOF
5575 echo "${UNAME_MACHINE}-pc-linux-gnuaout"
5579 echo "${UNAME_MACHINE}-pc-linux-gnucoff"
5583 # Either a pre-BFD a.out linker (linux-gnuoldld) or
5584 # one that does not give us useful --help.
5585 echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
5589 # Determine whether the default compiler is a.out or elf
5590 eval $set_cc_for_build
5591 @@ -946,23 +1009,33 @@ EOF
5595 - #ifdef __INTEL_COMPILER
5596 + #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
5602 + #ifdef __dietlibc__
5606 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
5607 - test x"${LIBC}" != x && echo "${UNAME_MACHINE}-${VENDOR:-pc}-linux-${LIBC}" && exit 0
5608 - test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
5609 + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
5614 + test x"${LIBC}" != x && {
5615 + echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
5618 + test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
5620 i*86:DYNIX/ptx:4*:*)
5621 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
5622 # earlier versions are messed up and put the nodename in both
5623 # sysname and nodename.
5624 echo i386-sequent-sysv4
5627 i*86:UNIX_SV:4.2MP:2.*)
5628 # Unixware is an offshoot of SVR4, but it has its own version
5629 # number series starting with 2...
5630 @@ -970,24 +1043,27 @@ EOF
5631 # I just have to hope. -- rms.
5632 # Use sysv4.2uw... so that sysv4* matches it.
5633 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
5637 # If we were able to find `uname', then EMX Unix compatibility
5638 # is probably installed.
5639 echo ${UNAME_MACHINE}-pc-os2-emx
5642 i*86:XTS-300:*:STOP)
5643 echo ${UNAME_MACHINE}-unknown-stop
5647 echo ${UNAME_MACHINE}-unknown-atheos
5650 + i*86:syllable:*:*)
5651 + echo ${UNAME_MACHINE}-pc-syllable
5653 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
5654 echo i386-unknown-lynxos${UNAME_RELEASE}
5658 echo ${UNAME_MACHINE}-pc-msdosdjgpp
5661 i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
5662 UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
5663 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
5664 @@ -995,15 +1071,16 @@ EOF
5666 echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
5672 + # UnixWare 7.x, OpenUNIX and OpenServer 6.
5673 case `/bin/uname -X | grep "^Machine"` in
5674 *486*) UNAME_MACHINE=i486 ;;
5675 *Pentium) UNAME_MACHINE=i586 ;;
5676 *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
5678 echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
5682 if test -f /usr/options/cb.name; then
5683 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
5684 @@ -1021,73 +1098,73 @@ EOF
5686 echo ${UNAME_MACHINE}-pc-sysv32
5691 # Left here for compatibility:
5692 # uname -m prints for DJGPP always 'pc', but it prints nothing about
5693 # the processor, so we play safe by assuming i386.
5694 echo i386-pc-msdosdjgpp
5702 echo i860-intel-osf1
5705 i860:*:4.*:*) # i860-SVR4
5706 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
5707 echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
5708 else # Add other i860-SVR4 vendors below as they are discovered.
5709 echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
5715 echo m68010-convergent-sysv
5718 mc68k:UNIX:SYSTEM5:3.51m)
5719 echo m68k-convergent-sysv
5725 - M68*:*:R3V[567]*:*)
5726 - test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
5727 - 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)
5729 + M68*:*:R3V[5678]*:*)
5730 + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
5731 + 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)
5733 test -r /etc/.relid \
5734 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
5735 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
5736 - && echo i486-ncr-sysv4.3${OS_REL} && exit 0
5737 + && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
5738 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
5739 - && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
5740 + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
5741 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
5742 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
5743 - && echo i486-ncr-sysv4 && exit 0 ;;
5744 + && { echo i486-ncr-sysv4; exit; } ;;
5745 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
5746 echo m68k-unknown-lynxos${UNAME_RELEASE}
5749 mc68030:UNIX_System_V:4.*:*)
5750 echo m68k-atari-sysv4
5753 TSUNAMI:LynxOS:2.*:*)
5754 echo sparc-unknown-lynxos${UNAME_RELEASE}
5757 rs6000:LynxOS:2.*:*)
5758 echo rs6000-unknown-lynxos${UNAME_RELEASE}
5761 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
5762 echo powerpc-unknown-lynxos${UNAME_RELEASE}
5765 SM[BE]S:UNIX_SV:*:*)
5766 echo mips-dde-sysv${UNAME_RELEASE}
5769 RM*:ReliantUNIX-*:*:*)
5778 if uname -p 2>/dev/null >/dev/null ; then
5779 UNAME_MACHINE=`(uname -p) 2>/dev/null`
5780 @@ -1095,68 +1172,81 @@ EOF
5786 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
5787 # says <Richard.M.Bartel@ccMail.Census.GOV>
5788 echo i586-unisys-sysv4
5791 *:UNIX_System_V:4*:FTX*)
5792 # From Gerald Hewes <hewes@openmarket.com>.
5793 # How about differentiating between stratus architectures? -djm
5794 echo hppa1.1-stratus-sysv4
5798 # From seanf@swdc.stratus.com.
5799 echo i860-stratus-sysv4
5803 + # From Paul.Green@stratus.com.
5804 + echo ${UNAME_MACHINE}-stratus-vos
5807 # From Paul.Green@stratus.com.
5808 echo hppa1.1-stratus-vos
5812 echo m68k-apple-aux${UNAME_RELEASE}
5816 echo mips-sony-newsos6
5819 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
5820 if [ -d /usr/nec ]; then
5821 echo mips-nec-sysv${UNAME_RELEASE}
5823 echo mips-unknown-sysv${UNAME_RELEASE}
5827 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
5828 echo powerpc-be-beos
5831 BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
5832 echo powerpc-apple-beos
5835 BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
5840 echo sx4-nec-superux${UNAME_RELEASE}
5844 echo sx5-nec-superux${UNAME_RELEASE}
5848 echo sx6-nec-superux${UNAME_RELEASE}
5851 + SX-7:SUPER-UX:*:*)
5852 + echo sx7-nec-superux${UNAME_RELEASE}
5854 + SX-8:SUPER-UX:*:*)
5855 + echo sx8-nec-superux${UNAME_RELEASE}
5857 + SX-8R:SUPER-UX:*:*)
5858 + echo sx8r-nec-superux${UNAME_RELEASE}
5860 Power*:Rhapsody:*:*)
5861 echo powerpc-apple-rhapsody${UNAME_RELEASE}
5865 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
5869 - case `uname -p` in
5870 - *86) UNAME_PROCESSOR=i686 ;;
5871 - powerpc) UNAME_PROCESSOR=powerpc ;;
5872 + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
5873 + case $UNAME_PROCESSOR in
5874 + unknown) UNAME_PROCESSOR=powerpc ;;
5876 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
5879 *:procnto*:*:* | *:QNX:[0123456789]*:*)
5880 UNAME_PROCESSOR=`uname -p`
5881 if test "$UNAME_PROCESSOR" = "x86"; then
5882 @@ -1164,22 +1254,25 @@ EOF
5885 echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
5891 - NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
5893 + NSE-?:NONSTOP_KERNEL:*:*)
5894 + echo nse-tandem-nsk${UNAME_RELEASE}
5896 + NSR-?:NONSTOP_KERNEL:*:*)
5897 echo nsr-tandem-nsk${UNAME_RELEASE}
5901 echo mips-compaq-nonstopux
5905 echo bs2000-siemens-sysv
5908 DS/*:UNIX_System_V:*:*)
5909 echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
5913 # "uname -m" is not consistent, so use $cputype instead. 386
5914 # is converted to i386 for consistency with other x86
5915 @@ -1190,28 +1283,47 @@ EOF
5916 UNAME_MACHINE="$cputype"
5918 echo ${UNAME_MACHINE}-unknown-plan9
5922 echo pdp10-unknown-tops10
5926 echo pdp10-unknown-tenex
5929 KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
5930 echo pdp10-dec-tops20
5933 XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
5934 echo pdp10-xkl-tops20
5938 echo pdp10-unknown-tops20
5942 echo pdp10-unknown-its
5946 echo mips-sei-seiux${UNAME_RELEASE}
5950 + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
5953 + UNAME_MACHINE=`(uname -p) 2>/dev/null`
5954 + case "${UNAME_MACHINE}" in
5955 + A*) echo alpha-dec-vms ; exit ;;
5956 + I*) echo ia64-dec-vms ; exit ;;
5957 + V*) echo vax-dec-vms ; exit ;;
5960 + echo i386-pc-xenix
5963 + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
5966 + echo ${UNAME_MACHINE}-pc-rdos
5970 #echo '(No uname command or uname output not recognized.)' 1>&2
5971 @@ -1243,7 +1355,7 @@ main ()
5974 #if defined (__arm) && defined (__acorn) && defined (__unix)
5975 - printf ("arm-acorn-riscix"); exit (0);
5976 + printf ("arm-acorn-riscix\n"); exit (0);
5979 #if defined (hp300) && !defined (hpux)
5980 @@ -1332,11 +1444,12 @@ main ()
5984 -$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0
5985 +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
5986 + { echo "$SYSTEM_NAME"; exit; }
5988 # Apollos put the system type in the environment.
5990 -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
5991 +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
5993 # Convex versions that predate uname can use getsysinfo(1)
5995 @@ -1345,22 +1458,22 @@ then
5996 case `getsysinfo -f cpu_type` in
6002 if getsysinfo -f scalar_acc
6003 then echo c32-convex-bsd
6004 else echo c2-convex-bsd
6023 @@ -1371,7 +1484,9 @@ This script, last modified $timestamp, has failed to recognize
6024 the operating system you are using. It is advised that you
6025 download the most up to date version of the config scripts from
6027 - ftp://ftp.gnu.org/pub/gnu/config/
6028 + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
6030 + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
6032 If the version you run ($0) is already up to date, please
6033 send the following data and any information you think might be
6034 diff --git a/aux/config.sub b/aux/config.sub
6035 index 7cee3d6..6759825 100755
6036 --- a/aux/config.sub
6037 +++ b/aux/config.sub
6040 # Configuration validation subroutine script.
6041 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
6042 -# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
6043 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
6044 +# Free Software Foundation, Inc.
6046 -timestamp='2003-06-18'
6047 +timestamp='2008-01-16'
6049 # This file is (in principle) common to ALL GNU software.
6050 # The presence of a machine in this file suggests that SOME GNU software
6051 @@ -21,14 +22,15 @@ timestamp='2003-06-18'
6053 # You should have received a copy of the GNU General Public License
6054 # along with this program; if not, write to the Free Software
6055 -# Foundation, Inc., 59 Temple Place - Suite 330,
6056 -# Boston, MA 02111-1307, USA.
6058 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
6061 # As a special exception to the GNU General Public License, if you
6062 # distribute this file as part of a program that contains a
6063 # configuration script generated by Autoconf, you may include it under
6064 # the same distribution terms that you use for the rest of that program.
6067 # Please send patches to <config-patches@gnu.org>. Submit a context
6068 # diff and a properly formatted ChangeLog entry.
6070 @@ -70,8 +72,8 @@ Report bugs and patches to <config-patches@gnu.org>."
6072 GNU config.sub ($timestamp)
6074 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
6075 -Free Software Foundation, Inc.
6076 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
6077 +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6079 This is free software; see the source for copying conditions. There is NO
6080 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
6081 @@ -83,11 +85,11 @@ Try \`$me --help' for more information."
6082 while test $# -gt 0 ; do
6084 --time-stamp | --time* | -t )
6085 - echo "$timestamp" ; exit 0 ;;
6086 + echo "$timestamp" ; exit ;;
6088 - echo "$version" ; exit 0 ;;
6089 + echo "$version" ; exit ;;
6090 --help | --h* | -h )
6091 - echo "$usage"; exit 0 ;;
6092 + echo "$usage"; exit ;;
6093 -- ) # Stop option processing
6095 - ) # Use stdin as input.
6096 @@ -99,7 +101,7 @@ while test $# -gt 0 ; do
6098 # First pass through any local machine types.
6105 @@ -118,7 +120,9 @@ esac
6106 # Here we must recognize all the valid KERNEL-OS combinations.
6107 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
6109 - nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
6110 + nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
6111 + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
6112 + storm-chaos* | os2-emx* | rtmk-nova*)
6114 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
6116 @@ -144,7 +148,7 @@ case $os in
6117 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
6118 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
6119 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
6121 + -apple | -axis | -knuth | -cray)
6125 @@ -169,6 +173,10 @@ case $os in
6131 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
6135 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
6136 @@ -185,6 +193,10 @@ case $os in
6137 # Don't forget version if it is 3.2v4 or newer.
6138 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
6141 + # Don't forget version if it is 3.2v4 or newer.
6142 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
6146 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
6147 @@ -228,14 +240,17 @@ case $basic_machine in
6149 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
6150 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
6151 - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
6153 + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
6156 | d10v | d30v | dlx | dsp16xx \
6158 + | fido | fr30 | frv \
6159 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
6160 | i370 | i860 | i960 | ia64 \
6162 - | m32r | m68000 | m68k | m88k | mcore \
6164 + | m32c | m32r | m32rle | m68000 | m68k | m88k \
6165 + | maxq | mb | microblaze | mcore | mep \
6166 | mips | mipsbe | mipseb | mipsel | mipsle \
6168 | mips64 | mips64el \
6169 @@ -244,28 +259,33 @@ case $basic_machine in
6170 | mips64vr4100 | mips64vr4100el \
6171 | mips64vr4300 | mips64vr4300el \
6172 | mips64vr5000 | mips64vr5000el \
6173 + | mips64vr5900 | mips64vr5900el \
6174 | mipsisa32 | mipsisa32el \
6175 | mipsisa32r2 | mipsisa32r2el \
6176 | mipsisa64 | mipsisa64el \
6177 + | mipsisa64r2 | mipsisa64r2el \
6178 | mipsisa64sb1 | mipsisa64sb1el \
6179 | mipsisa64sr71k | mipsisa64sr71kel \
6180 | mipstx39 | mipstx39el \
6181 | mn10200 | mn10300 \
6186 - | openrisc | or32 \
6188 | pdp10 | pdp11 | pj | pjl \
6189 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
6192 - | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
6194 + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
6196 - | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
6198 + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
6199 + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
6200 + | spu | strongarm \
6201 | tahoe | thumb | tic4x | tic80 | tron \
6204 - | x86 | xscale | xstormy16 | xtensa \
6205 + | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
6207 basic_machine=$basic_machine-unknown
6209 @@ -276,6 +296,9 @@ case $basic_machine in
6211 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
6214 + basic_machine=mt-unknown
6217 # We use `pc' rather than `unknown'
6218 # because (1) that's what they normally are, and
6219 @@ -295,20 +318,20 @@ case $basic_machine in
6220 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
6221 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
6222 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
6225 + | avr-* | avr32-* \
6226 + | bfin-* | bs2000-* \
6227 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
6228 - | clipper-* | cydra-* \
6229 + | clipper-* | craynv-* | cydra-* \
6230 | d10v-* | d30v-* | dlx-* \
6232 - | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
6233 + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
6234 | h8300-* | h8500-* \
6235 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
6236 | i*86-* | i860-* | i960-* | ia64-* \
6239 + | ip2k-* | iq2000-* \
6240 + | m32c-* | m32r-* | m32rle-* \
6241 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
6242 - | m88110-* | m88k-* | mcore-* \
6243 + | m88110-* | m88k-* | maxq-* | mcore-* \
6244 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
6246 | mips64-* | mips64el-* \
6247 @@ -317,34 +340,43 @@ case $basic_machine in
6248 | mips64vr4100-* | mips64vr4100el-* \
6249 | mips64vr4300-* | mips64vr4300el-* \
6250 | mips64vr5000-* | mips64vr5000el-* \
6251 + | mips64vr5900-* | mips64vr5900el-* \
6252 | mipsisa32-* | mipsisa32el-* \
6253 | mipsisa32r2-* | mipsisa32r2el-* \
6254 | mipsisa64-* | mipsisa64el-* \
6255 + | mipsisa64r2-* | mipsisa64r2el-* \
6256 | mipsisa64sb1-* | mipsisa64sb1el-* \
6257 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
6258 | mipstx39-* | mipstx39el-* \
6262 - | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
6263 + | nios-* | nios2-* \
6264 + | none-* | np1-* | ns16k-* | ns32k-* \
6266 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
6267 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
6269 | romp-* | rs6000-* \
6270 - | s390-* | s390x-* \
6271 - | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
6272 + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
6273 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
6274 - | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
6275 - | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
6276 + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
6278 + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
6279 | tahoe-* | thumb-* \
6280 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
6282 | v850-* | v850e-* | vax-* \
6284 - | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
6286 + | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
6287 + | xstormy16-* | xtensa*-* \
6291 + # Recognize the basic CPU types without company name, with glob match.
6293 + basic_machine=$basic_machine-unknown
6295 # Recognize the various machine names and aliases which stand
6296 # for a CPU type and a company and sometimes even an OS.
6298 @@ -361,6 +393,9 @@ case $basic_machine in
6299 basic_machine=a29k-amd
6303 + basic_machine=abacus-unknown
6306 basic_machine=m68010-adobe
6308 @@ -378,6 +413,9 @@ case $basic_machine in
6310 basic_machine=x86_64-pc
6313 + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
6316 basic_machine=580-amdahl
6318 @@ -409,6 +447,14 @@ case $basic_machine in
6319 basic_machine=ns32k-sequent
6323 + basic_machine=bfin-unknown
6327 + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
6331 basic_machine=c90-cray
6333 @@ -437,12 +483,27 @@ case $basic_machine in
6334 basic_machine=j90-cray
6338 + basic_machine=craynv-cray
6342 + basic_machine=cr16-unknown
6346 basic_machine=m68k-crds
6348 + crisv32 | crisv32-* | etraxfs*)
6349 + basic_machine=crisv32-axis
6351 cris | cris-* | etrax*)
6352 basic_machine=cris-axis
6355 + basic_machine=crx-unknown
6359 basic_machine=m68k-da30
6361 @@ -465,6 +526,10 @@ case $basic_machine in
6362 basic_machine=m88k-motorola
6366 + basic_machine=i586-pc
6370 basic_machine=rs6000-bull
6372 @@ -615,6 +680,14 @@ case $basic_machine in
6373 basic_machine=m68k-isi
6377 + basic_machine=m68k-unknown
6381 + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
6385 basic_machine=m88k-omron
6387 @@ -630,6 +703,10 @@ case $basic_machine in
6388 basic_machine=i386-pc
6392 + basic_machine=arm-unknown
6396 basic_machine=m68000-convergent
6398 @@ -643,10 +720,6 @@ case $basic_machine in
6400 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
6403 - basic_machine=mmix-knuth
6407 basic_machine=m68k-rom68k
6409 @@ -659,6 +732,9 @@ case $basic_machine in
6410 basic_machine=i386-pc
6414 + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
6417 basic_machine=i370-ibm
6419 @@ -727,10 +803,6 @@ case $basic_machine in
6421 basic_machine=np1-gould
6424 - basic_machine=nv1-cray
6428 basic_machine=nsr-tandem
6430 @@ -738,9 +810,12 @@ case $basic_machine in
6431 basic_machine=hppa1.1-oki
6435 + openrisc | openrisc-*)
6436 basic_machine=or32-unknown
6440 + basic_machine=powerpc-ibm
6443 OSE68000 | ose68000)
6444 basic_machine=m68000-ericsson
6445 @@ -758,6 +833,14 @@ case $basic_machine in
6446 basic_machine=i860-intel
6450 + basic_machine=hppa-unknown
6454 + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
6458 basic_machine=sparc-tti
6460 @@ -767,6 +850,12 @@ case $basic_machine in
6462 basic_machine=ns32k-pc532
6465 + basic_machine=i386-pc
6468 + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
6470 pentium | p5 | k5 | k6 | nexgen | viac3)
6471 basic_machine=i586-pc
6473 @@ -823,6 +912,10 @@ case $basic_machine in
6474 basic_machine=i586-unknown
6478 + basic_machine=i386-pc
6482 basic_machine=m68k-rom68k
6484 @@ -833,6 +926,12 @@ case $basic_machine in
6486 basic_machine=romp-ibm
6489 + basic_machine=s390-ibm
6492 + basic_machine=s390x-ibm
6495 basic_machine=a29k-amd
6497 @@ -843,6 +942,10 @@ case $basic_machine in
6499 basic_machine=mipsisa64sb1el-unknown
6502 + basic_machine=mipsisa32-sde
6506 basic_machine=mips-sei
6508 @@ -854,6 +957,9 @@ case $basic_machine in
6509 basic_machine=sh-hitachi
6513 + basic_machine=sh5le-unknown
6516 basic_machine=sh64-unknown
6518 @@ -943,6 +1049,10 @@ case $basic_machine in
6519 basic_machine=tic6x-unknown
6523 + basic_machine=tile-unknown
6527 basic_machine=mipstx39-unknown
6529 @@ -956,6 +1066,10 @@ case $basic_machine in
6531 basic_machine=m68k-ncr
6534 + basic_machine=s390x-ibm
6538 basic_machine=a29k-amd
6540 @@ -999,6 +1113,10 @@ case $basic_machine in
6541 basic_machine=hppa1.1-winbond
6545 + basic_machine=i686-pc
6549 basic_machine=xps100-honeywell
6551 @@ -1029,6 +1147,9 @@ case $basic_machine in
6553 basic_machine=romp-ibm
6556 + basic_machine=mmix-knuth
6559 basic_machine=rs6000-ibm
6561 @@ -1045,13 +1166,10 @@ case $basic_machine in
6563 basic_machine=we32k-att
6565 - sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
6566 + sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
6567 basic_machine=sh-unknown
6570 - basic_machine=sh64-unknown
6572 - sparc | sparcv9 | sparcv9b)
6573 + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
6574 basic_machine=sparc-sun
6577 @@ -1124,19 +1242,23 @@ case $os in
6579 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
6580 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
6581 - | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
6582 - | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
6583 + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
6584 + | -openbsd* | -solidbsd* \
6585 + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
6586 + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
6587 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
6588 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
6589 | -chorusos* | -chorusrdb* \
6590 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
6591 - | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
6592 + | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
6593 + | -uxpv* | -beos* | -mpeix* | -udk* \
6594 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
6595 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
6596 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
6597 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
6598 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
6599 - | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
6600 + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
6601 + | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
6602 # Remember, each alternative MUST END IN *, to match a version number.
6605 @@ -1154,12 +1276,15 @@ case $os in
6606 os=`echo $os | sed -e 's|nto|nto-qnx|'`
6608 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
6609 - | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
6610 + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
6611 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
6614 os=`echo $os | sed -e 's|mac|macos|'`
6617 + os=-linux-dietlibc
6620 os=`echo $os | sed -e 's|linux|linux-gnu|'`
6622 @@ -1172,6 +1297,9 @@ case $os in
6632 @@ -1193,6 +1321,9 @@ case $os in
6642 @@ -1215,6 +1346,9 @@ case $os in
6652 @@ -1251,6 +1385,9 @@ case $os in
6662 @@ -1273,6 +1410,12 @@ else
6663 # system, and we'll never get to this point.
6665 case $basic_machine in
6675 @@ -1282,8 +1425,8 @@ case $basic_machine in
6684 # This must come before the *-dec entry.
6686 @@ -1310,6 +1453,9 @@ case $basic_machine in
6696 @@ -1328,9 +1474,15 @@ case $basic_machine in
6712 @@ -1463,9 +1615,15 @@ case $basic_machine in
6725 -vxsim* | -vxworks* | -windiss*)
6728 @@ -1490,7 +1648,7 @@ case $basic_machine in
6731 echo $basic_machine$os
6736 # eval: (add-hook 'write-file-hooks 'time-stamp)
6737 diff --git a/aux/ltmain.sh b/aux/ltmain.sh
6738 index 23f82e3..0bf3848 100644
6742 # ltmain.sh - Provide generalized library-building support services.
6743 # NOTE: Changing this file will not affect anything until you rerun configure.
6745 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004
6746 -# Free Software Foundation, Inc.
6747 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
6748 +# 2007, 2008 Free Software Foundation, Inc.
6749 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
6751 # This program is free software; you can redistribute it and/or modify
6754 # You should have received a copy of the GNU General Public License
6755 # along with this program; if not, write to the Free Software
6756 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
6757 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
6759 # As a special exception to the GNU General Public License, if you
6760 # distribute this file as part of a program that contains a
6761 @@ -33,9 +33,6 @@ basename="s,^.*/,,g"
6765 -# RH: define SED for historic ltconfig's generated by Libtool 1.3
6766 -[ -z "$SED" ] && SED=sed
6768 # The name of this program:
6769 progname=`echo "$progpath" | $SED $basename`
6770 modename="$progname"
6771 @@ -46,9 +43,22 @@ EXIT_FAILURE=1
6776 -TIMESTAMP=" (1.1220.2.95 2004/04/11 05:50:42)"
6778 +VERSION="1.5.26 Debian 1.5.26-4"
6779 +TIMESTAMP=" (1.1220.2.493 2008/02/01 16:58:18)"
6781 +# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
6782 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6785 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6786 + # is contrary to our usage. Disable this feature.
6787 + alias -g '${1+"$@"}'='"$@"'
6788 + setopt NO_GLOB_SUBST
6790 + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
6792 +BIN_SH=xpg4; export BIN_SH # for Tru64
6793 +DUALCASE=1; export DUALCASE # for MKS sh
6795 # Check that we have a working $echo.
6796 if test "X$1" = X--no-reexec; then
6797 @@ -86,14 +96,15 @@ rm="rm -f"
6798 Xsed="${SED}"' -e 1s/^X//'
6799 sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
6800 # test EBCDIC or ASCII
6801 -case `echo A|tr A '\301'` in
6802 - A) # EBCDIC based system
6803 - SP2NL="tr '\100' '\n'"
6804 - NL2SP="tr '\r\n' '\100\100'"
6805 +case `echo X|tr X '\101'` in
6806 + A) # ASCII based system
6807 + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6808 + SP2NL='tr \040 \012'
6809 + NL2SP='tr \015\012 \040\040'
6811 - *) # Assume ASCII based system
6812 - SP2NL="tr '\040' '\012'"
6813 - NL2SP="tr '\015\012' '\040\040'"
6814 + *) # EBCDIC based system
6815 + SP2NL='tr \100 \n'
6816 + NL2SP='tr \r\n \100\100'
6820 @@ -102,16 +113,25 @@ esac
6821 # These must not be set unconditionally because not all systems understand
6822 # e.g. LANG=C (notably SCO).
6823 # We save the old values to restore during execute mode.
6824 -if test "${LC_ALL+set}" = set; then
6825 - save_LC_ALL="$LC_ALL"; LC_ALL=C; export LC_ALL
6827 -if test "${LANG+set}" = set; then
6828 - save_LANG="$LANG"; LANG=C; export LANG
6830 +for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
6832 + eval "if test \"\${$lt_var+set}\" = set; then
6833 + save_$lt_var=\$$lt_var
6834 + lt_env=\"$lt_var=\$$lt_var \$lt_env\"
6840 +if test -n "$lt_env"; then
6841 + lt_env="env $lt_env"
6844 # Make sure IFS has a sensible default
6851 if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
6852 $echo "$modename: not configured to build any kind of library" 1>&2
6853 @@ -128,20 +148,62 @@ run=
6859 lo2o="s/\\.lo\$/.${objext}/"
6860 o2lo="s/\\.${objext}\$/.lo/"
6861 +extracted_archives=
6864 #####################################
6865 # Shell function definitions:
6866 # This seems to be the best place for them
6868 +# func_mktempdir [string]
6869 +# Make a temporary directory that won't clash with other running
6870 +# libtool processes, and avoids race conditions if possible. If
6871 +# given, STRING is the basename for that directory.
6874 + my_template="${TMPDIR-/tmp}/${1-$progname}"
6876 + if test "$run" = ":"; then
6877 + # Return a directory name, but don't create it in dry-run mode
6878 + my_tmpdir="${my_template}-$$"
6881 + # If mktemp works, use that first and foremost
6882 + my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
6884 + if test ! -d "$my_tmpdir"; then
6885 + # Failing that, at least try and use $RANDOM to avoid a race
6886 + my_tmpdir="${my_template}-${RANDOM-0}$$"
6888 + save_mktempdir_umask=`umask`
6890 + $mkdir "$my_tmpdir"
6891 + umask $save_mktempdir_umask
6894 + # If we're not in dry-run mode, bomb out on failure
6895 + test -d "$my_tmpdir" || {
6896 + $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2
6897 + exit $EXIT_FAILURE
6901 + $echo "X$my_tmpdir" | $Xsed
6905 # func_win32_libid arg
6906 # return the library type of file 'arg'
6908 # Need a lot of goo to handle *both* DLLs and import libs
6909 # Has to be a shell function in order to 'eat' the argument
6910 # that is supplied when $file_magic_command is called.
6911 -func_win32_libid () {
6912 +func_win32_libid ()
6914 win32_libid_type="unknown"
6915 win32_fileres=`file -L $1 2>/dev/null`
6916 case $win32_fileres in
6917 @@ -152,12 +214,17 @@ func_win32_libid () {
6918 if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
6919 $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
6920 win32_nmres=`eval $NM -f posix -A $1 | \
6921 - sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'`
6922 - if test "X$win32_nmres" = "Ximport" ; then
6923 - win32_libid_type="x86 archive import"
6925 - win32_libid_type="x86 archive static"
6927 + $SED -n -e '1,100{
6934 + case $win32_nmres in
6935 + import*) win32_libid_type="x86 archive import";;
6936 + *) win32_libid_type="x86 archive static";;
6941 @@ -181,7 +248,8 @@ func_win32_libid () {
6942 # Only attempt this if the compiler in the base compile
6943 # command doesn't match the default compiler.
6944 # arg is usually of the form 'gcc ...'
6945 -func_infer_tag () {
6948 if test -n "$available_tags" && test -z "$tagname"; then
6951 @@ -238,12 +306,126 @@ func_infer_tag () {
6957 +# func_extract_an_archive dir oldlib
6958 +func_extract_an_archive ()
6960 + f_ex_an_ar_dir="$1"; shift
6961 + f_ex_an_ar_oldlib="$1"
6963 + $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)"
6964 + $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $?
6965 + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
6968 + $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2
6969 + exit $EXIT_FAILURE
6973 +# func_extract_archives gentop oldlib ...
6974 +func_extract_archives ()
6976 + my_gentop="$1"; shift
6977 + my_oldlibs=${1+"$@"}
6984 + $show "${rm}r $my_gentop"
6985 + $run ${rm}r "$my_gentop"
6986 + $show "$mkdir $my_gentop"
6987 + $run $mkdir "$my_gentop"
6989 + if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then
6993 + for my_xlib in $my_oldlibs; do
6994 + # Extract the objects.
6996 + [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
6997 + *) my_xabs=`pwd`"/$my_xlib" ;;
6999 + my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'`
7000 + my_xlib_u=$my_xlib
7002 + case " $extracted_archives " in
7004 + extracted_serial=`expr $extracted_serial + 1`
7005 + my_xlib_u=lt$extracted_serial-$my_xlib ;;
7009 + extracted_archives="$extracted_archives $my_xlib_u"
7010 + my_xdir="$my_gentop/$my_xlib_u"
7012 + $show "${rm}r $my_xdir"
7013 + $run ${rm}r "$my_xdir"
7014 + $show "$mkdir $my_xdir"
7015 + $run $mkdir "$my_xdir"
7017 + if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then
7022 + $show "Extracting $my_xabs"
7023 + # Do not bother doing anything if just a dry run
7024 + if test -z "$run"; then
7025 + darwin_orig_dir=`pwd`
7026 + cd $my_xdir || exit $?
7027 + darwin_archive=$my_xabs
7028 + darwin_curdir=`pwd`
7029 + darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'`
7030 + darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null`
7031 + if test -n "$darwin_arches"; then
7032 + darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'`
7034 + $show "$darwin_base_archive has multiple architectures $darwin_arches"
7035 + for darwin_arch in $darwin_arches ; do
7036 + mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
7037 + lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
7038 + cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
7039 + func_extract_an_archive "`pwd`" "${darwin_base_archive}"
7040 + cd "$darwin_curdir"
7041 + $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
7042 + done # $darwin_arches
7043 + ## Okay now we have a bunch of thin objects, gotta fatten them up :)
7044 + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP`
7047 + for darwin_file in $darwin_filelist; do
7048 + darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
7049 + lipo -create -output "$darwin_file" $darwin_files
7050 + done # $darwin_filelist
7052 + cd "$darwin_orig_dir"
7054 + cd "$darwin_orig_dir"
7055 + func_extract_an_archive "$my_xdir" "$my_xabs"
7056 + fi # $darwin_arches
7060 + func_extract_an_archive "$my_xdir" "$my_xabs"
7063 + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
7065 + func_extract_archives_result="$my_oldobjs"
7067 # End of Shell function definitions
7068 #####################################
7071 eval std_shrext=\"$shrext_cmds\"
7075 # Parse our command line options once, thoroughly.
7076 while test "$#" -gt 0
7078 @@ -306,12 +488,13 @@ do
7082 - $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
7084 - $echo "Copyright (C) 2003 Free Software Foundation, Inc."
7085 - $echo "This is free software; see the source for copying conditions. There is NO"
7086 - $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
7087 - exit $EXIT_SUCCESS
7089 +$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP
7091 +Copyright (C) 2008 Free Software Foundation, Inc.
7092 +This is free software; see the source for copying conditions. There is NO
7093 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
7098 @@ -320,7 +503,7 @@ do
7099 for tagname in $taglist; do
7100 ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
7102 - exit $EXIT_SUCCESS
7107 @@ -345,7 +528,7 @@ do
7109 $echo "disable static libraries"
7111 - exit $EXIT_SUCCESS
7115 --finish) mode="finish" ;;
7116 @@ -360,7 +543,11 @@ do
7117 preserve_args="$preserve_args $arg"
7120 - --tag) prevopt="--tag" prev=tag ;;
7124 + preserve_args="$preserve_args --tag"
7127 set tag "$optarg" ${1+"$@"}
7129 @@ -392,6 +579,18 @@ if test -n "$prevopt"; then
7133 +case $disable_libs in
7137 + build_libtool_libs=no
7138 + build_old_libs=yes
7141 + build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
7145 # If this variable is set in any of the actions, the command in it
7146 # will be execed at the end. This prevents here-documents from being
7147 # left over by shells.
7148 @@ -402,7 +601,7 @@ if test -z "$show_help"; then
7149 # Infer the operation mode.
7150 if test -z "$mode"; then
7151 $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
7152 - $echo "*** Future versions of Libtool will require -mode=MODE be specified." 1>&2
7153 + $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2
7155 *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*)
7157 @@ -468,7 +667,7 @@ if test -z "$show_help"; then
7161 - case "$arg_mode" in
7164 # do not "continue". Instead, add this to base_compile
7166 @@ -550,7 +749,10 @@ if test -z "$show_help"; then
7168 # Double-quote args containing other shell metacharacters.
7169 # Many Bourne shells cannot handle close brackets correctly
7170 - # in scan sets, so we specify it separately.
7171 + # in scan sets, and some SunOS ksh mistreat backslash-escaping
7172 + # in scan sets (worked around with variable expansion),
7173 + # and furthermore cannot handle '|' '&' '(' ')' in scan sets
7174 + # at all, so we specify them separately.
7175 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
7176 lastarg="\"$lastarg\""
7178 @@ -588,9 +790,11 @@ if test -z "$show_help"; then
7179 *.class) xform=class ;;
7182 - *.f90) xform=f90 ;;
7183 + *.[fF][09]?) xform=[fF][09]. ;;
7185 *.java) xform=java ;;
7186 + *.obj) xform=obj ;;
7190 libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
7191 @@ -624,6 +828,14 @@ if test -z "$show_help"; then
7195 + qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"`
7197 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
7198 + qlibobj="\"$qlibobj\"" ;;
7200 + test "X$libobj" != "X$qlibobj" \
7201 + && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \
7202 + && $echo "$modename: libobj name \`$libobj' may not contain shell special characters."
7203 objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
7204 xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
7205 if test "X$xdir" = "X$obj"; then
7206 @@ -696,12 +908,17 @@ compiler."
7207 $run $rm $removelist
7210 - $echo $srcfile > "$lockfile"
7211 + $echo "$srcfile" > "$lockfile"
7214 if test -n "$fix_srcfile_path"; then
7215 eval srcfile=\"$fix_srcfile_path\"
7217 + qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"`
7219 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
7220 + qsrcfile="\"$qsrcfile\"" ;;
7223 $run $rm "$libobj" "${libobj}T"
7225 @@ -723,18 +940,18 @@ EOF
7226 fbsd_hideous_sh_bug=$base_compile
7228 if test "$pic_mode" != no; then
7229 - command="$base_compile $srcfile $pic_flag"
7230 + command="$base_compile $qsrcfile $pic_flag"
7232 # Don't build PIC code
7233 - command="$base_compile $srcfile"
7234 + command="$base_compile $qsrcfile"
7237 if test ! -d "${xdir}$objdir"; then
7238 $show "$mkdir ${xdir}$objdir"
7239 $run $mkdir ${xdir}$objdir
7241 - if test "$status" -ne 0 && test ! -d "${xdir}$objdir"; then
7244 + if test "$exit_status" -ne 0 && test ! -d "${xdir}$objdir"; then
7249 @@ -746,7 +963,7 @@ EOF
7250 $run $rm "$lobj" "$output_obj"
7253 - if $run eval "$command"; then :
7254 + if $run eval $lt_env "$command"; then :
7256 test -n "$output_obj" && $run $rm $removelist
7258 @@ -806,9 +1023,9 @@ EOF
7259 if test "$build_old_libs" = yes; then
7260 if test "$pic_mode" != yes; then
7261 # Don't build PIC code
7262 - command="$base_compile $srcfile"
7263 + command="$base_compile $qsrcfile"
7265 - command="$base_compile $srcfile $pic_flag"
7266 + command="$base_compile $qsrcfile $pic_flag"
7268 if test "$compiler_c_o" = yes; then
7269 command="$command -o $obj"
7270 @@ -818,7 +1035,7 @@ EOF
7271 command="$command$suppress_output"
7272 $run $rm "$obj" "$output_obj"
7274 - if $run eval "$command"; then :
7275 + if $run eval $lt_env "$command"; then :
7277 $run $rm $removelist
7279 @@ -937,6 +1154,7 @@ EOF
7283 + notinst_path= # paths that contain not-installed libtool libraries
7284 precious_files_regex=
7285 prefer_static_libs=no
7287 @@ -950,6 +1168,7 @@ EOF
7291 + single_module="${wl}-single_module"
7293 func_infer_tag $base_compile
7295 @@ -957,22 +1176,32 @@ EOF
7299 - -all-static | -static)
7300 - if test "X$arg" = "X-all-static"; then
7301 + -all-static | -static | -static-libtool-libs)
7304 if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
7305 $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
7307 if test -n "$link_static_flag"; then
7308 dlopen_self=$dlopen_self_static
7311 + prefer_static_libs=yes
7314 if test -z "$pic_flag" && test -n "$link_static_flag"; then
7315 dlopen_self=$dlopen_self_static
7318 + prefer_static_libs=built
7320 + -static-libtool-libs)
7321 + if test -z "$pic_flag" && test -n "$link_static_flag"; then
7322 + dlopen_self=$dlopen_self_static
7324 + prefer_static_libs=yes
7327 build_libtool_libs=no
7329 - prefer_static_libs=yes
7333 @@ -1147,6 +1376,11 @@ EOF
7334 if test -z "$pic_object" || test "$pic_object" = none ; then
7335 arg="$non_pic_object"
7338 + # If the PIC object exists, use it instead.
7339 + # $xdir was prepended to $pic_object above.
7340 + non_pic_object="$pic_object"
7341 + non_pic_objects="$non_pic_objects $non_pic_object"
7344 # Only an error if not doing a dry-run.
7345 @@ -1230,6 +1464,13 @@ EOF
7349 + darwin_framework|darwin_framework_skip)
7350 + test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg"
7351 + compile_command="$compile_command $arg"
7352 + finalize_command="$finalize_command $arg"
7357 eval "$prev=\"\$arg\""
7359 @@ -1288,6 +1529,18 @@ EOF
7363 + -framework|-arch|-isysroot)
7365 + *" ${arg} ${1} "* | *" ${arg} ${1} "*)
7366 + prev=darwin_framework_skip ;;
7367 + *) compiler_flags="$compiler_flags $arg"
7368 + prev=darwin_framework ;;
7370 + compile_command="$compile_command $arg"
7371 + finalize_command="$finalize_command $arg"
7378 @@ -1314,7 +1567,8 @@ EOF
7379 absdir=`cd "$dir" && pwd`
7380 if test -z "$absdir"; then
7381 $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
7382 - exit $EXIT_FAILURE
7384 + notinst_path="$notinst_path $dir"
7388 @@ -1328,10 +1582,15 @@ EOF
7391 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
7392 + testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'`
7393 case :$dllsearchpath: in
7395 *) dllsearchpath="$dllsearchpath:$dir";;
7397 + case :$dllsearchpath: in
7398 + *":$testbindir:"*) ;;
7399 + *) dllsearchpath="$dllsearchpath:$testbindir";;
7404 @@ -1340,15 +1599,15 @@ EOF
7406 if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
7408 - *-*-cygwin* | *-*-pw32* | *-*-beos*)
7409 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*)
7410 # These systems don't actually have a C or math library (as such)
7413 - *-*-mingw* | *-*-os2*)
7415 # These systems don't actually have a C library (as such)
7416 test "X$arg" = "X-lc" && continue
7418 - *-*-openbsd* | *-*-freebsd*)
7419 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
7420 # Do not include libc due to us having libc/libc_r.
7421 test "X$arg" = "X-lc" && continue
7423 @@ -1356,10 +1615,19 @@ EOF
7424 # Rhapsody C and math libraries are in the System framework
7425 deplibs="$deplibs -framework System"
7428 + *-*-sco3.2v5* | *-*-sco5v6*)
7429 + # Causes problems with __ctype
7430 + test "X$arg" = "X-lc" && continue
7432 + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
7433 + # Compiler inserts libc in the correct place for threads to work
7434 + test "X$arg" = "X-lc" && continue
7437 elif test "X$arg" = "X-lc_r"; then
7439 - *-*-openbsd* | *-*-freebsd*)
7440 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
7441 # Do not include libc_r directly, use -pthread flag.
7444 @@ -1369,8 +1637,25 @@ EOF
7448 - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
7449 - deplibs="$deplibs $arg"
7450 + # Tru64 UNIX uses -model [arg] to determine the layout of C++
7451 + # classes, name mangling, and exception handling.
7453 + compile_command="$compile_command $arg"
7454 + compiler_flags="$compiler_flags $arg"
7455 + finalize_command="$finalize_command $arg"
7460 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
7461 + compiler_flags="$compiler_flags $arg"
7462 + compile_command="$compile_command $arg"
7463 + finalize_command="$finalize_command $arg"
7468 + single_module="${wl}-multi_module"
7472 @@ -1379,13 +1664,20 @@ EOF
7476 - # gcc -m* arguments should be passed to the linker via $compiler_flags
7477 - # in order to pass architecture information to the linker
7478 - # (e.g. 32 vs 64-bit). This may also be accomplished via -Wl,-mfoo
7479 - # but this is not reliable with gcc because gcc may use -mfoo to
7480 - # select a different linker, different libraries, etc, while
7481 - # -Wl,-mfoo simply passes -mfoo to the linker.
7483 + # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
7484 + # -r[0-9][0-9]* specifies the processor on the SGI compiler
7485 + # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
7486 + # +DA*, +DD* enable 64-bit mode on the HP compiler
7487 + # -q* pass through compiler args for the IBM compiler
7488 + # -m* pass through architecture-specific compiler args for GCC
7489 + # -m*, -t[45]*, -txscale* pass through architecture-specific
7490 + # compiler args for GCC
7491 + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
7492 + # -F/path gives path to uninstalled frameworks, gcc on darwin
7493 + # @file GCC response files
7494 + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
7495 + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
7497 # Unknown arguments in both finalize_command and compile_command need
7498 # to be aesthetically quoted because they are evaled later.
7499 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
7500 @@ -1396,9 +1688,7 @@ EOF
7502 compile_command="$compile_command $arg"
7503 finalize_command="$finalize_command $arg"
7504 - if test "$with_gcc" = "yes" ; then
7505 - compiler_flags="$compiler_flags $arg"
7507 + compiler_flags="$compiler_flags $arg"
7511 @@ -1414,9 +1704,9 @@ EOF
7515 - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
7516 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin*)
7517 # The PATH hackery in wrapper scripts is required on Windows
7518 - # in order for the loader to find any dlls it needs.
7519 + # and Darwin in order for the loader to find any dlls it needs.
7520 $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
7521 $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
7523 @@ -1475,7 +1765,7 @@ EOF
7528 + -static | -static-libtool-libs)
7529 # The effects of -static are defined in a previous loop.
7530 # We used to do the same as -all-static on platforms that
7531 # didn't have a PIC flag, but the assumption that the effects
7532 @@ -1636,6 +1926,11 @@ EOF
7533 if test -z "$pic_object" || test "$pic_object" = none ; then
7534 arg="$non_pic_object"
7537 + # If the PIC object exists, use it instead.
7538 + # $xdir was prepended to $pic_object above.
7539 + non_pic_object="$pic_object"
7540 + non_pic_objects="$non_pic_objects $non_pic_object"
7543 # Only an error if not doing a dry-run.
7544 @@ -1741,9 +2036,9 @@ EOF
7545 if test ! -d "$output_objdir"; then
7546 $show "$mkdir $output_objdir"
7547 $run $mkdir $output_objdir
7549 - if test "$status" -ne 0 && test ! -d "$output_objdir"; then
7552 + if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then
7557 @@ -1806,7 +2101,6 @@ EOF
7559 need_relink=no # whether we're linking any uninstalled libtool libraries
7560 notinst_deplibs= # not-installed libtool libraries
7561 - notinst_path= # paths that contain not-installed libtool libraries
7565 @@ -1841,7 +2135,10 @@ EOF
7567 dlopen) libs="$dlfiles" ;;
7568 dlpreopen) libs="$dlprefiles" ;;
7569 - link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
7571 + libs="$deplibs %DEPLIBS%"
7572 + test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
7576 if test "$pass" = dlopen; then
7577 @@ -1853,12 +2150,12 @@ EOF
7581 - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
7582 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
7583 if test "$linkmode,$pass" = "prog,link"; then
7584 compile_deplibs="$deplib $compile_deplibs"
7585 finalize_deplibs="$deplib $finalize_deplibs"
7587 - deplibs="$deplib $deplibs"
7588 + compiler_flags="$compiler_flags $deplib"
7592 @@ -1867,12 +2164,13 @@ EOF
7593 $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
7596 - if test "$pass" = conv; then
7597 - deplibs="$deplib $deplibs"
7600 name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
7601 - for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
7602 + if test "$linkmode" = lib; then
7603 + searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
7605 + searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
7607 + for searchdir in $searchdirs; do
7608 for search_ext in .la $std_shrext .so .a; do
7609 # Search the libtool library
7610 lib="$searchdir/lib${name}${search_ext}"
7611 @@ -1981,7 +2279,22 @@ EOF
7615 - if test "$deplibs_check_method" != pass_all; then
7617 + case $deplibs_check_method in
7619 + set dummy $deplibs_check_method
7620 + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
7621 + if eval $echo \"$deplib\" 2>/dev/null \
7623 + | $EGREP "$match_pattern_regex" > /dev/null; then
7631 + if test "$valid_a_lib" != yes; then
7633 $echo "*** Warning: Trying to link with static lib archive $deplib."
7634 $echo "*** I have the capability to make that library automatically link in when"
7635 @@ -2031,7 +2344,7 @@ EOF
7637 if test "$found" = yes || test -f "$lib"; then :
7639 - $echo "$modename: cannot find the library \`$lib'" 1>&2
7640 + $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2
7644 @@ -2055,6 +2368,8 @@ EOF
7645 # it will not redefine variables installed, or shouldnotlink
7653 @@ -2153,11 +2468,19 @@ EOF
7657 + test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
7659 - dir="$ladir/$objdir"
7660 - absdir="$abs_ladir/$objdir"
7661 - # Remove this search path later
7662 - notinst_path="$notinst_path $abs_ladir"
7663 + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
7665 + absdir="$abs_ladir"
7666 + # Remove this search path later
7667 + notinst_path="$notinst_path $abs_ladir"
7669 + dir="$ladir/$objdir"
7670 + absdir="$abs_ladir/$objdir"
7671 + # Remove this search path later
7672 + notinst_path="$notinst_path $abs_ladir"
7674 fi # $installed = yes
7675 name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
7677 @@ -2228,14 +2551,16 @@ EOF
7679 if test "$linkmode,$pass" = "prog,link"; then
7680 if test -n "$library_names" &&
7681 - { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
7682 + { { test "$prefer_static_libs" = no ||
7683 + test "$prefer_static_libs,$installed" = "built,yes"; } ||
7684 + test -z "$old_library"; }; then
7685 # We need to hardcode the library path
7686 - if test -n "$shlibpath_var"; then
7687 + if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
7688 # Make sure the rpath contains only unique directories.
7689 case "$temp_rpath " in
7692 - *) temp_rpath="$temp_rpath $dir" ;;
7693 + *) temp_rpath="$temp_rpath $absdir" ;;
7697 @@ -2272,8 +2597,12 @@ EOF
7700 link_static=no # Whether the deplib will be linked statically
7701 + use_static_libs=$prefer_static_libs
7702 + if test "$use_static_libs" = built && test "$installed" = yes ; then
7703 + use_static_libs=no
7705 if test -n "$library_names" &&
7706 - { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
7707 + { test "$use_static_libs" = no || test -z "$old_library"; }; then
7708 if test "$installed" = no; then
7709 notinst_deplibs="$notinst_deplibs $lib"
7711 @@ -2386,11 +2715,15 @@ EOF
7712 if test "$hardcode_direct" = no; then
7715 - *-*-sco3.2v5* ) add_dir="-L$dir" ;;
7716 + *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
7717 + *-*-sysv4*uw2*) add_dir="-L$dir" ;;
7718 + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
7719 + *-*-unixware7*) add_dir="-L$dir" ;;
7721 # if the lib is a module then we can not link against
7722 # it, someone is ignoring the new warnings I added
7723 - if /usr/bin/file -L $add 2> /dev/null | $EGREP "bundle" >/dev/null ; then
7724 + if /usr/bin/file -L $add 2> /dev/null |
7725 + $EGREP ": [^:]* bundle" >/dev/null ; then
7726 $echo "** Warning, lib $linklib is a module, not a shared library"
7727 if test -z "$old_library" ; then
7729 @@ -2421,7 +2754,7 @@ EOF
7731 # Try looking first in the location we're being installed to.
7732 if test -n "$inst_prefix_dir"; then
7736 add_dir="$add_dir -L$inst_prefix_dir$libdir"
7738 @@ -2494,7 +2827,7 @@ EOF
7740 # Try looking first in the location we're being installed to.
7741 if test -n "$inst_prefix_dir"; then
7745 add_dir="$add_dir -L$inst_prefix_dir$libdir"
7747 @@ -2555,8 +2888,6 @@ EOF
7751 - convenience="$convenience $dir/$old_library"
7752 - old_convenience="$old_convenience $dir/$old_library"
7753 deplibs="$dir/$old_library $deplibs"
7756 @@ -2635,12 +2966,18 @@ EOF
7757 # we do not want to link against static libs,
7758 # but need to link against shared
7759 eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
7760 + eval deplibdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
7761 if test -n "$deplibrary_names" ; then
7762 for tmp in $deplibrary_names ; do
7765 - if test -f "$path/$depdepl" ; then
7766 + if test -f "$deplibdir/$depdepl" ; then
7767 + depdepl="$deplibdir/$depdepl"
7768 + elif test -f "$path/$depdepl" ; then
7769 depdepl="$path/$depdepl"
7771 + # Can't find it, oh well...
7774 # do not add paths which are already there
7775 case " $newlib_search_path " in
7776 @@ -2674,12 +3011,12 @@ EOF
7779 case " $deplibs " in
7780 - *" $depdepl "*) ;;
7781 - *) deplibs="$depdepl $deplibs" ;;
7783 + *) deplibs="$path $deplibs" ;;
7785 case " $deplibs " in
7787 - *) deplibs="$deplibs $path" ;;
7788 + *" $depdepl "*) ;;
7789 + *) deplibs="$depdepl $deplibs" ;;
7792 fi # link_all_deplibs != no
7793 @@ -2788,9 +3125,10 @@ EOF
7797 - if test -n "$deplibs"; then
7798 - $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
7800 + case " $deplibs" in
7802 + $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 ;;
7805 if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
7806 $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
7807 @@ -2918,7 +3256,7 @@ EOF
7808 # which has an extra 1 added just for fun
7810 case $version_type in
7811 - darwin|linux|osf|windows)
7812 + darwin|linux|osf|windows|none)
7813 current=`expr $number_major + $number_minor`
7815 revision="$number_revision"
7816 @@ -2929,9 +3267,15 @@ EOF
7820 - current=`expr $number_major + $number_minor - 1`
7821 + current=`expr $number_major + $number_minor`
7823 revision="$number_minor"
7824 + lt_irix_increment=no
7827 + $echo "$modename: unknown library version type \`$version_type'" 1>&2
7828 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
7829 + exit $EXIT_FAILURE
7833 @@ -2944,27 +3288,27 @@ EOF
7835 # Check that each of the things are valid numbers.
7838 + 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]) ;;
7840 - $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
7841 + $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2
7842 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
7849 + 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]) ;;
7851 - $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
7852 + $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2
7853 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
7860 + 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]) ;;
7862 - $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
7863 + $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2
7864 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
7867 @@ -2990,6 +3334,7 @@ EOF
7868 versuffix="$major.$age.$revision"
7869 # Darwin ld doesn't like 0 for these options...
7870 minor_current=`expr $current + 1`
7871 + xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
7872 verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
7875 @@ -3004,8 +3349,11 @@ EOF
7879 - major=`expr $current - $age + 1`
7881 + if test "X$lt_irix_increment" = "Xno"; then
7882 + major=`expr $current - $age`
7884 + major=`expr $current - $age + 1`
7886 case $version_type in
7887 nonstopux) verstring_prefix=nonstopux ;;
7888 *) verstring_prefix=sgi ;;
7889 @@ -3142,11 +3490,11 @@ EOF
7892 # Eliminate all temporary directories.
7893 - for path in $notinst_path; do
7894 - lib_search_path=`$echo "$lib_search_path " | ${SED} -e 's% $path % %g'`
7895 - deplibs=`$echo "$deplibs " | ${SED} -e 's% -L$path % %g'`
7896 - dependency_libs=`$echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'`
7898 + #for path in $notinst_path; do
7899 + # lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
7900 + # deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
7901 + # dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
7904 if test -n "$xrpath"; then
7905 # If the user specified any rpath flags, then add them.
7906 @@ -3196,9 +3544,14 @@ EOF
7908 # Don't link with libc until the a.out ld.so is fixed.
7910 - *-*-openbsd* | *-*-freebsd*)
7911 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
7912 # Do not include libc due to us having libc/libc_r.
7913 - test "X$arg" = "X-lc" && continue
7915 + *-*-sco3.2v5* | *-*-sco5v6*)
7916 + # Causes problems with __ctype
7918 + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
7919 + # Compiler inserts libc in the correct place for threads to work
7922 # Add libc to deplibs on all other systems if necessary.
7923 @@ -3242,13 +3595,12 @@ EOF
7924 int main() { return 0; }
7927 - $LTCC -o conftest conftest.c $deplibs
7928 - if test "$?" -eq 0 ; then
7929 + if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
7930 ldd_output=`ldd conftest`
7931 for i in $deplibs; do
7932 - name="`expr $i : '-l\(.*\)'`"
7933 + name=`expr $i : '-l\(.*\)'`
7934 # If $name is empty we are operating on a -L argument.
7935 - if test "$name" != "" && test "$name" -ne "0"; then
7936 + if test "$name" != "" && test "$name" != "0"; then
7937 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
7938 case " $predeps $postdeps " in
7940 @@ -3283,13 +3635,11 @@ EOF
7941 # Error occurred in the first compile. Let's try to salvage
7942 # the situation: Compile a separate program for each library.
7943 for i in $deplibs; do
7944 - name="`expr $i : '-l\(.*\)'`"
7945 + name=`expr $i : '-l\(.*\)'`
7946 # If $name is empty we are operating on a -L argument.
7947 if test "$name" != "" && test "$name" != "0"; then
7949 - $LTCC -o conftest conftest.c $i
7951 - if test "$?" -eq 0 ; then
7952 + if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
7953 ldd_output=`ldd conftest`
7954 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
7955 case " $predeps $postdeps " in
7956 @@ -3321,7 +3671,7 @@ EOF
7959 $echo "*** Warning! Library $i is needed by this library but I was not able to"
7960 - $echo "*** make it link in! You will probably need to install it or some"
7961 + $echo "*** make it link in! You will probably need to install it or some"
7962 $echo "*** library that it depends on before this library will be fully"
7963 $echo "*** functional. Installing it before continuing would be even better."
7965 @@ -3335,7 +3685,7 @@ EOF
7966 set dummy $deplibs_check_method
7967 file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
7968 for a_deplib in $deplibs; do
7969 - name="`expr $a_deplib : '-l\(.*\)'`"
7970 + name=`expr $a_deplib : '-l\(.*\)'`
7971 # If $name is empty we are operating on a -L argument.
7972 if test "$name" != "" && test "$name" != "0"; then
7973 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
7974 @@ -3404,7 +3754,7 @@ EOF
7975 set dummy $deplibs_check_method
7976 match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
7977 for a_deplib in $deplibs; do
7978 - name="`expr $a_deplib : '-l\(.*\)'`"
7979 + name=`expr $a_deplib : '-l\(.*\)'`
7980 # If $name is empty we are operating on a -L argument.
7981 if test -n "$name" && test "$name" != "0"; then
7982 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
7983 @@ -3534,6 +3884,35 @@ EOF
7988 + # move library search paths that coincide with paths to not yet
7989 + # installed libraries to the beginning of the library search list
7991 + for path in $notinst_path; do
7992 + case " $new_libs " in
7993 + *" -L$path/$objdir "*) ;;
7995 + case " $deplibs " in
7996 + *" -L$path/$objdir "*)
7997 + new_libs="$new_libs -L$path/$objdir" ;;
8002 + for deplib in $deplibs; do
8005 + case " $new_libs " in
8007 + *) new_libs="$new_libs $deplib" ;;
8010 + *) new_libs="$new_libs $deplib" ;;
8013 + deplibs="$new_libs"
8016 # All the library-specific variables (install_libdir is set above).
8019 @@ -3578,7 +3957,10 @@ EOF
8020 test -n "$hardcode_libdirs"; then
8021 libdir="$hardcode_libdirs"
8022 if test -n "$hardcode_libdir_flag_spec_ld"; then
8023 - eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
8024 + case $archive_cmds in
8025 + *\$LD*) eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" ;;
8026 + *) eval dep_rpath=\"$hardcode_libdir_flag_spec\" ;;
8029 eval dep_rpath=\"$hardcode_libdir_flag_spec\"
8031 @@ -3617,6 +3999,7 @@ EOF
8034 lib="$output_objdir/$realname"
8038 linknames="$linknames $link"
8039 @@ -3645,6 +4028,9 @@ EOF
8040 # The command line is too long to execute in one step.
8041 $show "using reloadable object file for export list..."
8043 + # Break out early, otherwise skipped_export may be
8044 + # set to false by a later but shorter cmd.
8049 @@ -3678,67 +4064,13 @@ EOF
8050 eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
8052 gentop="$output_objdir/${outputname}x"
8053 - $show "${rm}r $gentop"
8054 - $run ${rm}r "$gentop"
8055 - $show "$mkdir $gentop"
8056 - $run $mkdir "$gentop"
8058 - if test "$status" -ne 0 && test ! -d "$gentop"; then
8061 generated="$generated $gentop"
8063 - for xlib in $convenience; do
8064 - # Extract the objects.
8066 - [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
8067 - *) xabs=`pwd`"/$xlib" ;;
8069 - xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
8070 - xdir="$gentop/$xlib"
8072 - $show "${rm}r $xdir"
8073 - $run ${rm}r "$xdir"
8074 - $show "$mkdir $xdir"
8075 - $run $mkdir "$xdir"
8077 - if test "$status" -ne 0 && test ! -d "$xdir"; then
8080 - # We will extract separately just the conflicting names and we will no
8081 - # longer touch any unique names. It is faster to leave these extract
8082 - # automatically by $AR in one run.
8083 - $show "(cd $xdir && $AR x $xabs)"
8084 - $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
8085 - if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
8088 - $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
8089 - $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
8090 - $AR t "$xabs" | sort | uniq -cd | while read -r count name
8093 - while test "$i" -le "$count"
8095 - # Put our $i before any first dot (extension)
8096 - # Never overwrite any file
8098 - while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
8100 - name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
8102 - $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
8103 - $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
8109 - libobjs="$libobjs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
8111 + func_extract_archives $gentop $convenience
8112 + libobjs="$libobjs $func_extract_archives_result"
8117 if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
8118 eval flag=\"$thread_safe_flag_spec\"
8119 linker_flags="$linker_flags $flag"
8120 @@ -3768,7 +4100,8 @@ EOF
8124 - if test "X$skipped_export" != "X:" && len=`expr "X$test_cmds" : ".*"` &&
8125 + if test "X$skipped_export" != "X:" &&
8126 + len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
8127 test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
8130 @@ -3787,6 +4120,7 @@ EOF
8131 save_libobjs=$libobjs
8134 + output_la=`$echo "X$output" | $Xsed -e "$basename"`
8136 # Clear the reloadable object creation command queue and
8137 # initialize k to one.
8138 @@ -3796,13 +4130,13 @@ EOF
8142 - output=$output_objdir/$save_output-${k}.$objext
8143 + output=$output_objdir/$output_la-${k}.$objext
8144 # Loop over the list of objects to be linked.
8145 for obj in $save_libobjs
8147 eval test_cmds=\"$reload_cmds $objlist $last_robj\"
8148 if test "X$objlist" = X ||
8149 - { len=`expr "X$test_cmds" : ".*"` &&
8150 + { len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
8151 test "$len" -le "$max_cmd_len"; }; then
8152 objlist="$objlist $obj"
8154 @@ -3816,9 +4150,9 @@ EOF
8155 # the last one created.
8156 eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\"
8158 - last_robj=$output_objdir/$save_output-${k}.$objext
8159 + last_robj=$output_objdir/$output_la-${k}.$objext
8161 - output=$output_objdir/$save_output-${k}.$objext
8162 + output=$output_objdir/$output_la-${k}.$objext
8166 @@ -3838,13 +4172,13 @@ EOF
8167 eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\"
8170 - # Set up a command to remove the reloadale object files
8171 + # Set up a command to remove the reloadable object files
8172 # after they are used.
8174 while test "$i" -lt "$k"
8177 - delfiles="$delfiles $output_objdir/$save_output-${i}.$objext"
8178 + delfiles="$delfiles $output_objdir/$output_la-${i}.$objext"
8181 $echo "creating a temporary reloadable object file: $output"
8182 @@ -3892,13 +4226,30 @@ EOF
8186 - $run eval "$cmd" || exit $?
8187 + $run eval "$cmd" || {
8190 + # Restore the uninstalled library and exit
8191 + if test "$mode" = relink; then
8192 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
8200 # Restore the uninstalled library and exit
8201 if test "$mode" = relink; then
8202 $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
8204 + if test -n "$convenience"; then
8205 + if test -z "$whole_archive_flag_spec"; then
8206 + $show "${rm}r $gentop"
8207 + $run ${rm}r "$gentop"
8214 @@ -3919,9 +4270,10 @@ EOF
8218 - if test -n "$deplibs"; then
8219 - $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
8221 + case " $deplibs" in
8223 + $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 ;;
8226 if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
8227 $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
8228 @@ -3968,72 +4320,20 @@ EOF
8231 # reload_cmds runs $LD directly, so let us get rid of
8232 - # -Wl from whole_archive_flag_spec
8233 + # -Wl from whole_archive_flag_spec and hope we can get by with
8234 + # turning comma into space..
8237 if test -n "$convenience"; then
8238 if test -n "$whole_archive_flag_spec"; then
8239 - eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\"
8240 + eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
8241 + reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
8243 gentop="$output_objdir/${obj}x"
8244 - $show "${rm}r $gentop"
8245 - $run ${rm}r "$gentop"
8246 - $show "$mkdir $gentop"
8247 - $run $mkdir "$gentop"
8249 - if test "$status" -ne 0 && test ! -d "$gentop"; then
8252 generated="$generated $gentop"
8254 - for xlib in $convenience; do
8255 - # Extract the objects.
8257 - [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
8258 - *) xabs=`pwd`"/$xlib" ;;
8260 - xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
8261 - xdir="$gentop/$xlib"
8263 - $show "${rm}r $xdir"
8264 - $run ${rm}r "$xdir"
8265 - $show "$mkdir $xdir"
8266 - $run $mkdir "$xdir"
8268 - if test "$status" -ne 0 && test ! -d "$xdir"; then
8271 - # We will extract separately just the conflicting names and we will no
8272 - # longer touch any unique names. It is faster to leave these extract
8273 - # automatically by $AR in one run.
8274 - $show "(cd $xdir && $AR x $xabs)"
8275 - $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
8276 - if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
8279 - $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
8280 - $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
8281 - $AR t "$xabs" | sort | uniq -cd | while read -r count name
8284 - while test "$i" -le "$count"
8286 - # Put our $i before any first dot (extension)
8287 - # Never overwrite any file
8289 - while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
8291 - name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
8293 - $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
8294 - $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
8300 - reload_conv_objs="$reload_objs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
8302 + func_extract_archives $gentop $convenience
8303 + reload_conv_objs="$reload_objs $func_extract_archives_result"
8307 @@ -4134,6 +4434,35 @@ EOF
8312 + # move library search paths that coincide with paths to not yet
8313 + # installed libraries to the beginning of the library search list
8315 + for path in $notinst_path; do
8316 + case " $new_libs " in
8317 + *" -L$path/$objdir "*) ;;
8319 + case " $compile_deplibs " in
8320 + *" -L$path/$objdir "*)
8321 + new_libs="$new_libs -L$path/$objdir" ;;
8326 + for deplib in $compile_deplibs; do
8329 + case " $new_libs " in
8331 + *) new_libs="$new_libs $deplib" ;;
8334 + *) new_libs="$new_libs $deplib" ;;
8337 + compile_deplibs="$new_libs"
8340 compile_command="$compile_command $compile_deplibs"
8341 finalize_command="$finalize_command $finalize_deplibs"
8343 @@ -4178,10 +4507,15 @@ EOF
8346 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
8347 + testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'`
8348 case :$dllsearchpath: in
8350 *) dllsearchpath="$dllsearchpath:$libdir";;
8352 + case :$dllsearchpath: in
8353 + *":$testbindir:"*) ;;
8354 + *) dllsearchpath="$dllsearchpath:$testbindir";;
8359 @@ -4295,13 +4629,25 @@ extern \"C\" {
8361 # Prepare the list of exported symbols
8362 if test -z "$export_symbols"; then
8363 - export_symbols="$output_objdir/$output.exp"
8364 + export_symbols="$output_objdir/$outputname.exp"
8365 $run $rm $export_symbols
8366 - $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
8367 + $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
8369 + *cygwin* | *mingw* )
8370 + $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
8371 + $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
8375 - $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
8376 - $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T'
8377 + $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
8378 + $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
8379 $run eval 'mv "$nlist"T "$nlist"'
8381 + *cygwin* | *mingw* )
8382 + $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
8383 + $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
8389 @@ -4352,7 +4698,26 @@ extern \"C\" {
8392 /* The mapping between symbol names and symbols. */
8396 + *cygwin* | *mingw* )
8397 + $echo >> "$output_objdir/$dlsyms" "\
8398 +/* DATA imports from DLLs on WIN32 can't be const, because
8399 + runtime relocations are performed -- see ld's documentation
8400 + on pseudo-relocs */
8405 + $echo >> "$output_objdir/$dlsyms" "\
8412 + $echo >> "$output_objdir/$dlsyms" "\
8416 @@ -4399,16 +4764,29 @@ static const void *lt_preloaded_setup() {
8419 # Now compile the dynamic symbol file.
8420 - $show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
8421 - $run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
8422 + $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
8423 + $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
8425 # Clean up the generated files.
8426 $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
8427 $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
8429 # Transform the symbol file into the correct name.
8430 - compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
8431 - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
8433 + *cygwin* | *mingw* )
8434 + if test -f "$output_objdir/${outputname}.def" ; then
8435 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
8436 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
8438 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
8439 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
8443 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
8444 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
8449 $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
8450 @@ -4421,19 +4799,19 @@ static const void *lt_preloaded_setup() {
8451 # really was required.
8453 # Nullify the symbol file.
8454 - compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
8455 - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
8456 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
8457 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
8460 if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
8461 # Replace the output file specification.
8462 - compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
8463 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP`
8464 link_command="$compile_command$compile_rpath"
8466 # We have no uninstalled library dependencies, so finalize right now.
8467 $show "$link_command"
8468 $run eval "$link_command"
8472 # Delete the generated files.
8473 if test -n "$dlsyms"; then
8474 @@ -4441,7 +4819,7 @@ static const void *lt_preloaded_setup() {
8475 $run $rm "$output_objdir/${outputname}S.${objext}"
8482 if test -n "$shlibpath_var"; then
8483 @@ -4514,7 +4892,7 @@ static const void *lt_preloaded_setup() {
8484 if test "$fast_install" != no; then
8485 link_command="$finalize_var$compile_command$finalize_rpath"
8486 if test "$fast_install" = yes; then
8487 - relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
8488 + relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP`
8490 # fast_install is set to needless
8492 @@ -4551,7 +4929,7 @@ static const void *lt_preloaded_setup() {
8495 relink_command="(cd `pwd`; $relink_command)"
8496 - relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
8497 + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
8500 # Quote $echo for shipping.
8501 @@ -4581,10 +4959,12 @@ static const void *lt_preloaded_setup() {
8504 *cygwin* | *mingw* )
8505 - cwrappersource=`$echo ${objdir}/lt-${output}.c`
8506 - cwrapper=`$echo ${output}.exe`
8507 - $rm $cwrappersource $cwrapper
8508 - trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
8509 + output_name=`basename $output`
8510 + output_path=`dirname $output`
8511 + cwrappersource="$output_path/$objdir/lt-$output_name.c"
8512 + cwrapper="$output_path/$output_name.exe"
8513 + $rm $cwrappersource $cwrapper
8514 + trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
8516 cat > $cwrappersource <<EOF
8518 @@ -4609,6 +4989,9 @@ EOF
8522 +#include <string.h>
8524 +#include <sys/stat.h>
8526 #if defined(PATH_MAX)
8527 # define LT_PATHMAX PATH_MAX
8528 @@ -4619,15 +5002,19 @@ EOF
8531 #ifndef DIR_SEPARATOR
8532 -#define DIR_SEPARATOR '/'
8533 +# define DIR_SEPARATOR '/'
8534 +# define PATH_SEPARATOR ':'
8537 #if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
8539 -#define HAVE_DOS_BASED_FILE_SYSTEM
8540 -#ifndef DIR_SEPARATOR_2
8541 -#define DIR_SEPARATOR_2 '\\'
8543 +# define HAVE_DOS_BASED_FILE_SYSTEM
8544 +# ifndef DIR_SEPARATOR_2
8545 +# define DIR_SEPARATOR_2 '\\'
8547 +# ifndef PATH_SEPARATOR_2
8548 +# define PATH_SEPARATOR_2 ';'
8552 #ifndef DIR_SEPARATOR_2
8553 @@ -4637,17 +5024,32 @@ EOF
8554 (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
8555 #endif /* DIR_SEPARATOR_2 */
8557 +#ifndef PATH_SEPARATOR_2
8558 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
8559 +#else /* PATH_SEPARATOR_2 */
8560 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
8561 +#endif /* PATH_SEPARATOR_2 */
8563 #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
8564 #define XFREE(stale) do { \
8565 if (stale) { free ((void *) stale); stale = 0; } \
8568 +/* -DDEBUG is fairly common in CFLAGS. */
8570 +#if defined DEBUGWRAPPER
8571 +# define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__)
8573 +# define DEBUG(format, ...)
8576 const char *program_name = NULL;
8578 void * xmalloc (size_t num);
8579 char * xstrdup (const char *string);
8580 -char * basename (const char *name);
8581 -char * fnqualify(const char *path);
8582 +const char * base_name (const char *name);
8583 +char * find_executable(const char *wrapper);
8584 +int check_executable(const char *path);
8585 char * strendzap(char *str, const char *pat);
8586 void lt_fatal (const char *message, ...);
8588 @@ -4657,29 +5059,51 @@ main (int argc, char *argv[])
8592 - program_name = (char *) xstrdup ((char *) basename (argv[0]));
8593 + program_name = (char *) xstrdup (base_name (argv[0]));
8594 + DEBUG("(main) argv[0] : %s\n",argv[0]);
8595 + DEBUG("(main) program_name : %s\n",program_name);
8596 newargz = XMALLOC(char *, argc+2);
8599 - cat >> $cwrappersource <<EOF
8600 - newargz[0] = "$SHELL";
8601 + cat >> $cwrappersource <<EOF
8602 + newargz[0] = (char *) xstrdup("$SHELL");
8605 - cat >> $cwrappersource <<"EOF"
8606 - newargz[1] = fnqualify(argv[0]);
8607 + cat >> $cwrappersource <<"EOF"
8608 + newargz[1] = find_executable(argv[0]);
8609 + if (newargz[1] == NULL)
8610 + lt_fatal("Couldn't find %s", argv[0]);
8611 + DEBUG("(main) found exe at : %s\n",newargz[1]);
8612 /* we know the script has the same name, without the .exe */
8613 /* so make sure newargz[1] doesn't end in .exe */
8614 strendzap(newargz[1],".exe");
8615 for (i = 1; i < argc; i++)
8616 newargz[i+1] = xstrdup(argv[i]);
8617 newargz[argc+1] = NULL;
8619 + for (i=0; i<argc+1; i++)
8621 + DEBUG("(main) newargz[%d] : %s\n",i,newargz[i]);
8627 - cat >> $cwrappersource <<EOF
8630 + cat >> $cwrappersource <<EOF
8631 + execv("$SHELL",(char const **)newargz);
8635 + cat >> $cwrappersource <<EOF
8636 execv("$SHELL",newargz);
8641 - cat >> $cwrappersource <<"EOF"
8642 + cat >> $cwrappersource <<"EOF"
8647 @@ -4699,48 +5123,148 @@ xstrdup (const char *string)
8652 -basename (const char *name)
8654 +base_name (const char *name)
8658 #if defined (HAVE_DOS_BASED_FILE_SYSTEM)
8659 /* Skip over the disk name in MSDOS pathnames. */
8660 - if (isalpha (name[0]) && name[1] == ':')
8661 + if (isalpha ((unsigned char)name[0]) && name[1] == ':')
8665 for (base = name; *name; name++)
8666 if (IS_DIR_SEPARATOR (*name))
8668 - return (char *) base;
8673 +check_executable(const char * path)
8677 + DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!");
8678 + if ((!path) || (!*path))
8681 + if ((stat (path, &st) >= 0) &&
8683 + /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */
8684 +#if defined (S_IXOTH)
8685 + ((st.st_mode & S_IXOTH) == S_IXOTH) ||
8687 +#if defined (S_IXGRP)
8688 + ((st.st_mode & S_IXGRP) == S_IXGRP) ||
8690 + ((st.st_mode & S_IXUSR) == S_IXUSR))
8697 +/* Searches for the full path of the wrapper. Returns
8698 + newly allocated full path name if found, NULL otherwise */
8700 -fnqualify(const char *path)
8701 +find_executable (const char* wrapper)
8705 + int has_slash = 0;
8707 + const char* p_next;
8708 + /* static buffer for getcwd */
8709 char tmp[LT_PATHMAX + 1];
8711 + char* concat_name;
8713 + DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!");
8715 - assert(path != NULL);
8716 + if ((wrapper == NULL) || (*wrapper == '\0'))
8719 - /* Is it qualified already? */
8720 + /* Absolute path? */
8721 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
8722 + if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':')
8724 + concat_name = xstrdup (wrapper);
8725 + if (check_executable(concat_name))
8726 + return concat_name;
8727 + XFREE(concat_name);
8732 + if (IS_DIR_SEPARATOR (wrapper[0]))
8734 + concat_name = xstrdup (wrapper);
8735 + if (check_executable(concat_name))
8736 + return concat_name;
8737 + XFREE(concat_name);
8739 #if defined (HAVE_DOS_BASED_FILE_SYSTEM)
8740 - if (isalpha (path[0]) && path[1] == ':')
8741 - return xstrdup (path);
8744 - if (IS_DIR_SEPARATOR (path[0]))
8745 - return xstrdup (path);
8747 - /* prepend the current directory */
8748 - /* doesn't handle '~' */
8749 + for (p = wrapper; *p; p++)
8757 + /* no slashes; search PATH */
8758 + const char* path = getenv ("PATH");
8761 + for (p = path; *p; p = p_next)
8765 + for (q = p; *q; q++)
8766 + if (IS_PATH_SEPARATOR(*q))
8769 + p_next = (*q == '\0' ? q : q + 1);
8772 + /* empty path: current directory */
8773 + if (getcwd (tmp, LT_PATHMAX) == NULL)
8774 + lt_fatal ("getcwd failed");
8775 + tmp_len = strlen(tmp);
8776 + concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
8777 + memcpy (concat_name, tmp, tmp_len);
8778 + concat_name[tmp_len] = '/';
8779 + strcpy (concat_name + tmp_len + 1, wrapper);
8783 + concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1);
8784 + memcpy (concat_name, p, p_len);
8785 + concat_name[p_len] = '/';
8786 + strcpy (concat_name + p_len + 1, wrapper);
8788 + if (check_executable(concat_name))
8789 + return concat_name;
8790 + XFREE(concat_name);
8793 + /* not found in PATH; assume curdir */
8795 + /* Relative path | not found in path: prepend cwd */
8796 if (getcwd (tmp, LT_PATHMAX) == NULL)
8797 lt_fatal ("getcwd failed");
8798 - size = strlen(tmp) + 1 + strlen(path) + 1; /* +2 for '/' and '\0' */
8799 - p = XMALLOC(char, size);
8800 - sprintf(p, "%s%c%s", tmp, DIR_SEPARATOR, path);
8802 + tmp_len = strlen(tmp);
8803 + concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
8804 + memcpy (concat_name, tmp, tmp_len);
8805 + concat_name[tmp_len] = '/';
8806 + strcpy (concat_name + tmp_len + 1, wrapper);
8808 + if (check_executable(concat_name))
8809 + return concat_name;
8810 + XFREE(concat_name);
8815 @@ -4784,16 +5308,16 @@ lt_fatal (const char *message, ...)
8819 - # we should really use a build-platform specific compiler
8820 - # here, but OTOH, the wrappers (shell script and this C one)
8821 - # are only useful if you want to execute the "real" binary.
8822 - # Since the "real" binary is built for $host, then this
8823 - # wrapper might as well be built for $host, too.
8824 - $run $LTCC -s -o $cwrapper $cwrappersource
8828 - trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
8829 + # we should really use a build-platform specific compiler
8830 + # here, but OTOH, the wrappers (shell script and this C one)
8831 + # are only useful if you want to execute the "real" binary.
8832 + # Since the "real" binary is built for $host, then this
8833 + # wrapper might as well be built for $host, too.
8834 + $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource
8838 + trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
8842 @@ -4812,9 +5336,23 @@ EOF
8843 Xsed='${SED} -e 1s/^X//'
8844 sed_quote_subst='$sed_quote_subst'
8846 +# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
8847 +if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
8850 + # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
8851 + # is contrary to our usage. Disable this feature.
8852 + alias -g '\${1+\"\$@\"}'='\"\$@\"'
8853 + setopt NO_GLOB_SUBST
8855 + case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
8857 +BIN_SH=xpg4; export BIN_SH # for Tru64
8858 +DUALCASE=1; export DUALCASE # for MKS sh
8860 # The HP-UX ksh and POSIX shell print the target directory to stdout
8862 -if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi
8863 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8865 relink_command=\"$relink_command\"
8867 @@ -4943,23 +5481,23 @@ else
8868 # Backslashes separate directories on plain windows
8869 *-*-mingw | *-*-os2*)
8871 - exec \$progdir\\\\\$program \${1+\"\$@\"}
8872 + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
8878 - exec \$progdir/\$program \${1+\"\$@\"}
8879 + exec \"\$progdir/\$program\" \${1+\"\$@\"}
8884 - \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\"
8885 + \$echo \"\$0: cannot exec \$program \$*\"
8889 # The program doesn't exist.
8890 - \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2
8891 + \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
8892 \$echo \"This script is just a wrapper for \$program.\" 1>&2
8893 $echo \"See the $PACKAGE documentation for more information.\" 1>&2
8895 @@ -4991,71 +5529,73 @@ fi\
8897 if test -n "$addlibs"; then
8898 gentop="$output_objdir/${outputname}x"
8899 - $show "${rm}r $gentop"
8900 - $run ${rm}r "$gentop"
8901 - $show "$mkdir $gentop"
8902 - $run $mkdir "$gentop"
8904 - if test "$status" -ne 0 && test ! -d "$gentop"; then
8907 generated="$generated $gentop"
8909 - # Add in members from convenience archives.
8910 - for xlib in $addlibs; do
8911 - # Extract the objects.
8913 - [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
8914 - *) xabs=`pwd`"/$xlib" ;;
8916 - xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
8917 - xdir="$gentop/$xlib"
8919 - $show "${rm}r $xdir"
8920 - $run ${rm}r "$xdir"
8921 - $show "$mkdir $xdir"
8922 - $run $mkdir "$xdir"
8924 - if test "$status" -ne 0 && test ! -d "$xdir"; then
8927 - # We will extract separately just the conflicting names and we will no
8928 - # longer touch any unique names. It is faster to leave these extract
8929 - # automatically by $AR in one run.
8930 - $show "(cd $xdir && $AR x $xabs)"
8931 - $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
8932 - if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
8935 - $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
8936 - $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
8937 - $AR t "$xabs" | sort | uniq -cd | while read -r count name
8940 - while test "$i" -le "$count"
8942 - # Put our $i before any first dot (extension)
8943 - # Never overwrite any file
8945 - while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
8947 - name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
8949 - $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
8950 - $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
8956 - oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP`
8958 + func_extract_archives $gentop $addlibs
8959 + oldobjs="$oldobjs $func_extract_archives_result"
8962 # Do each command in the archive commands.
8963 if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
8964 cmds=$old_archive_from_new_cmds
8966 + # POSIX demands no paths to be encoded in archives. We have
8967 + # to avoid creating archives with duplicate basenames if we
8968 + # might have to extract them afterwards, e.g., when creating a
8969 + # static archive out of a convenience library, or when linking
8970 + # the entirety of a libtool archive into another (currently
8971 + # not supported by libtool).
8972 + if (for obj in $oldobjs
8974 + $echo "X$obj" | $Xsed -e 's%^.*/%%'
8975 + done | sort | sort -uc >/dev/null 2>&1); then
8978 + $echo "copying selected object files to avoid basename conflicts..."
8980 + if test -z "$gentop"; then
8981 + gentop="$output_objdir/${outputname}x"
8982 + generated="$generated $gentop"
8984 + $show "${rm}r $gentop"
8985 + $run ${rm}r "$gentop"
8986 + $show "$mkdir $gentop"
8987 + $run $mkdir "$gentop"
8989 + if test "$exit_status" -ne 0 && test ! -d "$gentop"; then
8994 + save_oldobjs=$oldobjs
8997 + for obj in $save_oldobjs
8999 + objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
9000 + case " $oldobjs " in
9001 + " ") oldobjs=$obj ;;
9002 + *[\ /]"$objbase "*)
9004 + # Make sure we don't pick an alternate name that also
9006 + newobj=lt$counter-$objbase
9007 + counter=`expr $counter + 1`
9008 + case " $oldobjs " in
9009 + *[\ /]"$newobj "*) ;;
9010 + *) if test ! -f "$gentop/$newobj"; then break; fi ;;
9013 + $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
9014 + $run ln "$obj" "$gentop/$newobj" ||
9015 + $run cp "$obj" "$gentop/$newobj"
9016 + oldobjs="$oldobjs $gentop/$newobj"
9018 + *) oldobjs="$oldobjs $obj" ;;
9023 eval cmds=\"$old_archive_cmds\"
9025 if len=`expr "X$cmds" : ".*"` &&
9026 @@ -5069,20 +5609,7 @@ fi\
9029 save_oldobjs=$oldobjs
9030 - # GNU ar 2.10+ was changed to match POSIX; thus no paths are
9031 - # encoded into archives. This makes 'ar r' malfunction in
9032 - # this piecewise linking case whenever conflicting object
9033 - # names appear in distinct ar calls; check, warn and compensate.
9034 - if (for obj in $save_oldobjs
9036 - $echo "X$obj" | $Xsed -e 's%^.*/%%'
9037 - done | sort | sort -uc >/dev/null 2>&1); then
9040 - $echo "$modename: warning: object name conflicts; overriding AR_FLAGS to 'cq'" 1>&2
9041 - $echo "$modename: warning: to ensure that POSIX-compatible ar will work" 1>&2
9045 # Is there a better way of finding the last object in the list?
9046 for obj in $save_oldobjs
9048 @@ -5093,7 +5620,7 @@ fi\
9049 oldobjs="$objlist $obj"
9050 objlist="$objlist $obj"
9051 eval test_cmds=\"$old_archive_cmds\"
9052 - if len=`expr "X$test_cmds" : ".*"` &&
9053 + if len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
9054 test "$len" -le "$max_cmd_len"; then
9057 @@ -5151,7 +5678,7 @@ fi\
9059 # Quote the link command for shipping.
9060 relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
9061 - relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
9062 + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
9063 if test "$hardcode_automatic" = yes ; then
9066 @@ -5290,11 +5817,11 @@ relink_command=\"$relink_command\""
9067 # install_prog (especially on Windows NT).
9068 if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
9069 # Allow the use of GNU shtool's install command.
9070 - $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then
9071 + $echo "X$nonopt" | grep shtool > /dev/null; then
9072 # Aesthetically quote it.
9073 arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
9075 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
9076 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
9080 @@ -5303,14 +5830,14 @@ relink_command=\"$relink_command\""
9088 # The real first argument should be the name of the installation program.
9089 # Aesthetically quote it.
9090 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
9092 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
9093 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
9097 @@ -5328,28 +5855,31 @@ relink_command=\"$relink_command\""
9099 if test -n "$dest"; then
9100 files="$files $dest"
9113 + case " $install_prog " in
9118 + -g | -m | -o) prev=$arg ;;
9128 # If the previous option needed an argument, then skip it.
9129 if test -n "$prev"; then
9137 @@ -5358,7 +5888,7 @@ relink_command=\"$relink_command\""
9138 # Aesthetically quote the argument.
9139 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
9141 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
9142 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
9146 @@ -5493,9 +6023,9 @@ relink_command=\"$relink_command\""
9148 if test -n "$inst_prefix_dir"; then
9149 # Stick the inst_prefix_dir data into the link command.
9150 - relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
9151 + relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP`
9153 - relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
9154 + relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP`
9157 $echo "$modename: warning: relinking \`$file'" 1>&2
9158 @@ -5527,11 +6057,14 @@ relink_command=\"$relink_command\""
9160 if test "$#" -gt 0; then
9161 # Delete the old symlinks, and create new ones.
9162 + # Try `ln -sf' first, because the `ln' binary might depend on
9163 + # the symlink we replace! Solaris /bin/ln does not understand -f,
9164 + # so we also need to try rm && ln -s.
9167 if test "$linkname" != "$realname"; then
9168 - $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
9169 - $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
9170 + $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
9171 + $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
9175 @@ -5544,7 +6077,16 @@ relink_command=\"$relink_command\""
9179 - $run eval "$cmd" || exit $?
9180 + $run eval "$cmd" || {
9183 + # Restore the uninstalled library and exit
9184 + if test "$mode" = relink; then
9185 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
9193 @@ -5638,17 +6180,15 @@ relink_command=\"$relink_command\""
9197 - # To insure that "foo" is sourced, and not "foo.exe",
9198 - # finese the cygwin/MSYS system by explicitly sourcing "foo."
9199 - # which disallows the automatic-append-.exe behavior.
9201 - *cygwin* | *mingw*) wrapperdot=${wrapper}. ;;
9202 - *) wrapperdot=${wrapper} ;;
9204 + # Note that it is not necessary on cygwin/mingw to append a dot to
9205 + # foo even if both foo and FILE.exe exist: automatic-append-.exe
9206 + # behavior happens only for exec(3), not for open(2)! Also, sourcing
9207 + # `FILE.' does not work on cygwin managed mounts.
9209 # If there is no directory component, then add one.
9211 - */* | *\\*) . ${wrapperdot} ;;
9212 - *) . ./${wrapperdot} ;;
9214 + */* | *\\*) . ${wrapper} ;;
9215 + *) . ./${wrapper} ;;
9218 # Check the variables that should have been set.
9219 @@ -5676,38 +6216,25 @@ relink_command=\"$relink_command\""
9223 - # To insure that "foo" is sourced, and not "foo.exe",
9224 - # finese the cygwin/MSYS system by explicitly sourcing "foo."
9225 - # which disallows the automatic-append-.exe behavior.
9227 - *cygwin* | *mingw*) wrapperdot=${wrapper}. ;;
9228 - *) wrapperdot=${wrapper} ;;
9230 + # Note that it is not necessary on cygwin/mingw to append a dot to
9231 + # foo even if both foo and FILE.exe exist: automatic-append-.exe
9232 + # behavior happens only for exec(3), not for open(2)! Also, sourcing
9233 + # `FILE.' does not work on cygwin managed mounts.
9235 # If there is no directory component, then add one.
9237 - */* | *\\*) . ${wrapperdot} ;;
9238 - *) . ./${wrapperdot} ;;
9240 + */* | *\\*) . ${wrapper} ;;
9241 + *) . ./${wrapper} ;;
9245 if test "$fast_install" = no && test -n "$relink_command"; then
9246 if test "$finalize" = yes && test -z "$run"; then
9248 - test -n "$TMPDIR" && tmpdir="$TMPDIR"
9249 - tmpdir="$tmpdir/libtool-$$"
9250 - save_umask=`umask`
9252 - if $mkdir "$tmpdir"; then
9256 - $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
9259 + tmpdir=`func_mktempdir`
9260 file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
9261 outputname="$tmpdir/$file"
9262 # Replace the output file specification.
9263 - relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
9264 + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP`
9266 $show "$relink_command"
9267 if $run eval "$relink_command"; then :
9268 @@ -5727,7 +6254,7 @@ relink_command=\"$relink_command\""
9271 # remove .exe since cygwin /usr/bin/install will append another
9274 case $install_prog,$host in
9275 */usr/bin/install*,*cygwin*)
9276 case $file:$destfile in
9277 @@ -5827,7 +6354,7 @@ relink_command=\"$relink_command\""
9278 # Exit here if they wanted silent mode.
9279 test "$show" = : && exit $EXIT_SUCCESS
9281 - $echo "----------------------------------------------------------------------"
9282 + $echo "X----------------------------------------------------------------------" | $Xsed
9283 $echo "Libraries have been installed in:"
9284 for libdir in $libdirs; do
9286 @@ -5860,7 +6387,7 @@ relink_command=\"$relink_command\""
9288 $echo "See any operating system documentation about shared libraries for"
9289 $echo "more information, such as the ld(1) and ld.so(8) manual pages."
9290 - $echo "----------------------------------------------------------------------"
9291 + $echo "X----------------------------------------------------------------------" | $Xsed
9295 @@ -5918,8 +6445,10 @@ relink_command=\"$relink_command\""
9296 if test -f "$dir/$objdir/$dlname"; then
9299 - $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
9300 - exit $EXIT_FAILURE
9301 + if test ! -f "$dir/$dlname"; then
9302 + $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
9303 + exit $EXIT_FAILURE
9308 @@ -5983,12 +6512,12 @@ relink_command=\"$relink_command\""
9311 # Restore saved environment variables
9312 - if test "${save_LC_ALL+set}" = set; then
9313 - LC_ALL="$save_LC_ALL"; export LC_ALL
9315 - if test "${save_LANG+set}" = set; then
9316 - LANG="$save_LANG"; export LANG
9318 + for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
9320 + eval "if test \"\${save_$lt_var+set}\" = set; then
9321 + $lt_var=\$save_$lt_var; export $lt_var
9325 # Now prepare to actually exec the command.
9326 exec_cmd="\$cmd$args"
9327 @@ -6077,9 +6606,17 @@ relink_command=\"$relink_command\""
9328 rmfiles="$rmfiles $objdir/$n"
9330 test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
9331 - test "$mode" = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
9333 - if test "$mode" = uninstall; then
9336 + case " $library_names " in
9337 + # " " in the beginning catches empty $dlname
9339 + *) rmfiles="$rmfiles $objdir/$dlname" ;;
9341 + test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
9344 if test -n "$library_names"; then
9345 # Do each command in the postuninstall commands.
9346 cmds=$postuninstall_cmds
9347 @@ -6112,7 +6649,8 @@ relink_command=\"$relink_command\""
9350 # FIXME: should reinstall the best remaining shared library.
9357 @@ -6336,9 +6874,9 @@ The following components of LINK-COMMAND are treated specially:
9358 -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
9359 -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
9360 -export-symbols SYMFILE
9361 - try to export only the symbols listed in SYMFILE
9362 + try to export only the symbols listed in SYMFILE
9363 -export-symbols-regex REGEX
9364 - try to export only the symbols matching REGEX
9365 + try to export only the symbols matching REGEX
9366 -LLIBDIR search LIBDIR for required installed libraries
9367 -lNAME OUTPUT-FILE requires the installed library libNAME
9368 -module build a library that can dlopened
9369 @@ -6352,9 +6890,11 @@ The following components of LINK-COMMAND are treated specially:
9370 -release RELEASE specify package release information
9371 -rpath LIBDIR the created library will eventually be installed in LIBDIR
9372 -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
9373 - -static do not do any dynamic linking of libtool libraries
9374 + -static do not do any dynamic linking of uninstalled libtool libraries
9375 + -static-libtool-libs
9376 + do not do any dynamic linking of libtool libraries
9377 -version-info CURRENT[:REVISION[:AGE]]
9378 - specify library version info [each variable defaults to 0]
9379 + specify library version info [each variable defaults to 0]
9381 All other options (arguments beginning with \`-') are ignored.
9383 @@ -6397,7 +6937,7 @@ esac
9385 $echo "Try \`$modename --help' for more information about other modes."
9390 # The TAGs below are defined such that we never get into a situation
9391 # in which we disable both kinds of libraries. Given conflicting
9392 @@ -6411,12 +6951,11 @@ exit $EXIT_SUCCESS
9393 # configuration. But we'll never go from static-only to shared-only.
9395 # ### BEGIN LIBTOOL TAG CONFIG: disable-shared
9396 -build_libtool_libs=no
9398 +disable_libs=shared
9399 # ### END LIBTOOL TAG CONFIG: disable-shared
9401 # ### BEGIN LIBTOOL TAG CONFIG: disable-static
9402 -build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac`
9403 +disable_libs=static
9404 # ### END LIBTOOL TAG CONFIG: disable-static
9407 diff --git a/configure b/configure
9408 index 977dba8..2935f10 100755
9413 # From configure.in Revision: 1.56 .
9414 # Guess values for system-dependent variables and create Makefiles.
9415 -# Generated by GNU Autoconf 2.59.
9416 +# Generated by GNU Autoconf 2.63.
9418 -# Copyright (C) 2003 Free Software Foundation, Inc.
9419 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9420 +# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9421 # This configure script is free software; the Free Software Foundation
9422 # gives unlimited permission to copy, distribute and modify it.
9423 ## --------------------- ##
9424 ## M4sh Initialization. ##
9425 ## --------------------- ##
9427 -# Be Bourne compatible
9428 +# Be more Bourne compatible
9429 +DUALCASE=1; export DUALCASE # for MKS sh
9430 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9433 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9434 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9435 # is contrary to our usage. Disable this feature.
9436 alias -g '${1+"$@"}'='"$@"'
9437 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9439 + setopt NO_GLOB_SUBST
9441 + case `(set -o) 2>/dev/null` in
9442 + *posix*) set -o posix ;;
9451 +# Avoid depending upon Character Ranges.
9452 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9453 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9454 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9455 +as_cr_digits='0123456789'
9456 +as_cr_alnum=$as_cr_Letters$as_cr_digits
9461 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
9462 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9463 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9464 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9465 +if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9466 + as_echo='printf %s\n'
9467 + as_echo_n='printf %s'
9469 + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9470 + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9471 + as_echo_n='/usr/ucb/echo -n'
9473 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9474 + as_echo_n_body='eval
9478 + expr "X$arg" : "X\\(.*\\)$as_nl";
9479 + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9481 + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9483 + export as_echo_n_body
9484 + as_echo_n='sh -c $as_echo_n_body as_echo'
9486 + export as_echo_body
9487 + as_echo='sh -c $as_echo_body as_echo'
9490 +# The user is always right.
9491 +if test "${PATH_SEPARATOR+set}" != set; then
9493 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9494 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9495 + PATH_SEPARATOR=';'
9498 -DUALCASE=1; export DUALCASE # for MKS sh
9500 # Support unset when possible.
9501 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9502 @@ -30,33 +87,60 @@ else
9507 +# We need space, tab and new line, in precisely that order. Quoting is
9508 +# there to prevent editors from complaining about space-tab.
9509 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
9510 +# splitting by setting IFS to empty value.)
9513 +# Find who we are. Look in the path if we contain no directory separator.
9515 + *[\\/]* ) as_myself=$0 ;;
9516 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9517 +for as_dir in $PATH
9520 + test -z "$as_dir" && as_dir=.
9521 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9527 +# We did not find ourselves, most probably we were run as `sh COMMAND'
9528 +# in which case we are not to be found in the path.
9529 +if test "x$as_myself" = x; then
9532 +if test ! -f "$as_myself"; then
9533 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9534 + { (exit 1); exit 1; }
9537 # Work around bugs in pre-3.0 UWIN ksh.
9538 -$as_unset ENV MAIL MAILPATH
9539 +for as_var in ENV MAIL MAILPATH
9540 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9548 - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9549 - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9550 - LC_TELEPHONE LC_TIME
9552 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9553 - eval $as_var=C; export $as_var
9563 # Required to use basename.
9564 -if expr a : '\(a\)' >/dev/null 2>&1; then
9565 +if expr a : '\(a\)' >/dev/null 2>&1 &&
9566 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
9572 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
9573 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9574 as_basename=basename
9577 @@ -64,157 +148,391 @@ fi
9580 # Name of the executable.
9581 -as_me=`$as_basename "$0" ||
9582 +as_me=`$as_basename -- "$0" ||
9583 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9584 X"$0" : 'X\(//\)$' \| \
9585 - X"$0" : 'X\(/\)$' \| \
9586 - . : '\(.\)' 2>/dev/null ||
9588 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9589 - /^X\/\(\/\/\)$/{ s//\1/; q; }
9590 - /^X\/\(\/\).*/{ s//\1/; q; }
9592 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9594 + sed '/^.*\/\([^/][^/]*\)\/*$/{
9611 -# PATH needs CR, and LINENO needs CR and PATH.
9612 -# Avoid depending upon Character Ranges.
9613 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9614 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9615 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9616 -as_cr_digits='0123456789'
9617 -as_cr_alnum=$as_cr_Letters$as_cr_digits
9619 -# The user is always right.
9620 -if test "${PATH_SEPARATOR+set}" != set; then
9621 - echo "#! /bin/sh" >conf$$.sh
9622 - echo "exit 0" >>conf$$.sh
9623 - chmod +x conf$$.sh
9624 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9625 - PATH_SEPARATOR=';'
9630 +if test "x$CONFIG_SHELL" = x; then
9631 + if (eval ":") 2>/dev/null; then
9632 + as_have_required=yes
9634 + as_have_required=no
9637 + if test $as_have_required = yes && (eval ":
9638 +(as_func_return () {
9641 +as_func_success () {
9644 +as_func_failure () {
9647 +as_func_ret_success () {
9650 +as_func_ret_failure () {
9654 - as_lineno_1=$LINENO
9655 - as_lineno_2=$LINENO
9656 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9657 - test "x$as_lineno_1" != "x$as_lineno_2" &&
9658 - test "x$as_lineno_3" = "x$as_lineno_2" || {
9659 - # Find who we are. Look in the path if we contain no path at all
9660 - # relative or not.
9662 - *[\\/]* ) as_myself=$0 ;;
9663 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9664 -for as_dir in $PATH
9667 - test -z "$as_dir" && as_dir=.
9668 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9671 +if as_func_success; then
9675 + echo as_func_success failed.
9680 - # We did not find ourselves, most probably we were run as `sh COMMAND'
9681 - # in which case we are not to be found in the path.
9682 - if test "x$as_myself" = x; then
9685 - if test ! -f "$as_myself"; then
9686 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
9687 - { (exit 1); exit 1; }; }
9689 - case $CONFIG_SHELL in
9691 +if as_func_failure; then
9693 + echo as_func_failure succeeded.
9696 +if as_func_ret_success; then
9700 + echo as_func_ret_success failed.
9703 +if as_func_ret_failure; then
9705 + echo as_func_ret_failure succeeded.
9708 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
9712 + echo positional parameters were not saved.
9715 +test \$exitcode = 0) || { (exit 1); exit 1; }
9718 + as_lineno_1=\$LINENO
9719 + as_lineno_2=\$LINENO
9720 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
9721 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
9722 +") 2> /dev/null; then
9725 + as_candidate_shells=
9726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9727 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
9730 test -z "$as_dir" && as_dir=.
9731 - for as_base in sh bash ksh sh5; do
9735 - if ("$as_dir/$as_base" -c '
9736 + for as_base in sh bash ksh sh5; do
9737 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
9744 + for as_shell in $as_candidate_shells $SHELL; do
9745 + # Try only shells that exist, to save several forks.
9746 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
9747 + { ("$as_shell") 2> /dev/null <<\_ASEOF
9748 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9751 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9752 + # is contrary to our usage. Disable this feature.
9753 + alias -g '${1+"$@"}'='"$@"'
9754 + setopt NO_GLOB_SUBST
9756 + case `(set -o) 2>/dev/null` in
9757 + *posix*) set -o posix ;;
9766 + CONFIG_SHELL=$as_shell
9767 + as_have_required=yes
9768 + if { "$as_shell" 2> /dev/null <<\_ASEOF
9769 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9772 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9773 + # is contrary to our usage. Disable this feature.
9774 + alias -g '${1+"$@"}'='"$@"'
9775 + setopt NO_GLOB_SUBST
9777 + case `(set -o) 2>/dev/null` in
9778 + *posix*) set -o posix ;;
9785 +(as_func_return () {
9788 +as_func_success () {
9791 +as_func_failure () {
9794 +as_func_ret_success () {
9797 +as_func_ret_failure () {
9802 +if as_func_success; then
9806 + echo as_func_success failed.
9809 +if as_func_failure; then
9811 + echo as_func_failure succeeded.
9814 +if as_func_ret_success; then
9818 + echo as_func_ret_success failed.
9821 +if as_func_ret_failure; then
9823 + echo as_func_ret_failure succeeded.
9826 +if ( set x; as_func_ret_success y && test x = "$1" ); then
9830 + echo positional parameters were not saved.
9833 +test $exitcode = 0) || { (exit 1); exit 1; }
9838 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9839 test "x$as_lineno_1" != "x$as_lineno_2" &&
9840 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
9841 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
9842 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
9843 - CONFIG_SHELL=$as_dir/$as_base
9844 - export CONFIG_SHELL
9845 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9852 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
9863 + if test "x$CONFIG_SHELL" != x; then
9864 + for as_var in BASH_ENV ENV
9865 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9867 + export CONFIG_SHELL
9868 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
9872 + if test $as_have_required = no; then
9873 + echo This script requires a shell more modern than all the
9874 + echo shells that I found on your system. Please install a
9875 + echo modern shell, or manually run the script under such a
9876 + echo shell if you do have one.
9877 + { (exit 1); exit 1; }
9887 +(eval "as_func_return () {
9890 +as_func_success () {
9893 +as_func_failure () {
9896 +as_func_ret_success () {
9899 +as_func_ret_failure () {
9904 +if as_func_success; then
9908 + echo as_func_success failed.
9911 +if as_func_failure; then
9913 + echo as_func_failure succeeded.
9916 +if as_func_ret_success; then
9920 + echo as_func_ret_success failed.
9923 +if as_func_ret_failure; then
9925 + echo as_func_ret_failure succeeded.
9928 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
9932 + echo positional parameters were not saved.
9935 +test \$exitcode = 0") || {
9936 + echo No shell found that supports shell functions.
9937 + echo Please tell bug-autoconf@gnu.org about your system,
9938 + echo including any error possibly output before this message.
9939 + echo This can help us improve future autoconf versions.
9940 + echo Configuration will now proceed without shell functions.
9945 + as_lineno_1=$LINENO
9946 + as_lineno_2=$LINENO
9947 + test "x$as_lineno_1" != "x$as_lineno_2" &&
9948 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
9950 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9951 # uniformly replaced by the line number. The first 'sed' inserts a
9952 - # line-number line before each line; the second 'sed' does the real
9953 - # work. The second script uses 'N' to pair each line-number line
9954 - # with the numbered line, and appends trailing '-' during
9955 - # substitution so that $LINENO is not a special case at line end.
9956 + # line-number line after each line using $LINENO; the second 'sed'
9957 + # does the real work. The second script uses 'N' to pair each
9958 + # line-number line with the line containing $LINENO, and appends
9959 + # trailing '-' during substitution so that $LINENO is not a special
9960 + # case at line end.
9961 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9962 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9963 - sed '=' <$as_myself |
9964 + # scripts with optimization help from Paolo Bonzini. Blame Lee
9965 + # E. McMahon (1931-1989) for sed's syntax. :-)
9978 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9980 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9983 - s,^['$as_cr_digits']*\n,,
9986 - chmod +x $as_me.lineno ||
9987 - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9988 + chmod +x "$as_me.lineno" ||
9989 + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9990 { (exit 1); exit 1; }; }
9992 # Don't try to exec as it changes $[0], causing all sort of problems
9993 # (the dirname of $[0] is not the place where we might find the
9994 - # original and so on. Autoconf is especially sensible to this).
9996 + # original and so on. Autoconf is especially sensitive to this).
9997 + . "./$as_me.lineno"
9998 # Exit status is that of the last command.
10003 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10004 - *c*,-n*) ECHO_N= ECHO_C='
10006 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
10007 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
10009 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10010 + as_dirname=dirname
10015 -if expr a : '\(a\)' >/dev/null 2>&1; then
10016 +ECHO_C= ECHO_N= ECHO_T=
10017 +case `echo -n x` in
10019 + case `echo 'x\c'` in
10020 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
10026 +if expr a : '\(a\)' >/dev/null 2>&1 &&
10027 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
10033 rm -f conf$$ conf$$.exe conf$$.file
10035 -if ln -s conf$$.file conf$$ 2>/dev/null; then
10036 - # We could just check for DJGPP; but this test a) works b) is more generic
10037 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10038 - if test -f conf$$.exe; then
10039 - # Don't use ln at all; we don't have any links
10042 +if test -d conf$$.dir; then
10043 + rm -f conf$$.dir/conf$$.file
10046 + mkdir conf$$.dir 2>/dev/null
10048 +if (echo >conf$$.file) 2>/dev/null; then
10049 + if ln -s conf$$.file conf$$ 2>/dev/null; then
10051 + # ... but there are two gotchas:
10052 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10053 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10054 + # In both cases, we have to default to `cp -p'.
10055 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10057 + elif ln conf$$.file conf$$ 2>/dev/null; then
10062 -elif ln conf$$.file conf$$ 2>/dev/null; then
10067 -rm -f conf$$ conf$$.exe conf$$.file
10068 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10069 +rmdir conf$$.dir 2>/dev/null
10071 if mkdir -p . 2>/dev/null; then
10073 @@ -223,7 +541,28 @@ else
10077 -as_executable_p="test -f"
10078 +if test -x / >/dev/null 2>&1; then
10079 + as_test_x='test -x'
10081 + if ls -dL / >/dev/null 2>&1; then
10088 + if test -d "$1"; then
10094 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10095 + ???[sx]*):;;*)false;;esac;fi
10099 +as_executable_p=$as_test_x
10101 # Sed expression to map a string onto a valid CPP name.
10102 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10103 @@ -232,15 +571,6 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10104 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10108 -# We need space, tab and new line, in precisely that order.
10118 # Check that we are running under the correct shell.
10119 @@ -279,15 +609,15 @@ fi
10121 # The HP-UX ksh and POSIX shell print the target directory to stdout
10122 # if CDPATH is set.
10123 -if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
10124 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10126 if test -z "$ECHO"; then
10127 if test "X${echo_test_string+set}" != Xset; then
10128 # find a string as large as possible, as long as the shell can cope with it
10129 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
10130 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
10131 - if (echo_test_string="`eval $cmd`") 2>/dev/null &&
10132 - echo_test_string="`eval $cmd`" &&
10133 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
10134 + echo_test_string=`eval $cmd` &&
10135 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
10138 @@ -396,29 +726,26 @@ tagnames=${tagnames+${tagnames},}CXX
10140 tagnames=${tagnames+${tagnames},}F77
10142 +exec 7<&0 </dev/null 6>&1
10144 # Name of the host.
10145 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
10146 # so uname gets run too.
10147 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
10154 ac_default_prefix=/usr/local
10156 ac_config_libobj_dir=.
10162 SHELL=${CONFIG_SHELL-/bin/sh}
10164 -# Maximum number of lines to put in a shell here document.
10165 -# This variable seems obsolete. It should probably be removed, and
10166 -# only ac_max_sed_lines should be used.
10167 -: ${ac_max_here_lines=38}
10169 # Identity of this package.
10172 @@ -431,46 +758,192 @@ ac_default_prefix=
10173 # Factoring default headers for most tests.
10174 ac_includes_default="\
10176 -#if HAVE_SYS_TYPES_H
10177 +#ifdef HAVE_SYS_TYPES_H
10178 # include <sys/types.h>
10180 -#if HAVE_SYS_STAT_H
10181 +#ifdef HAVE_SYS_STAT_H
10182 # include <sys/stat.h>
10185 +#ifdef STDC_HEADERS
10186 # include <stdlib.h>
10187 # include <stddef.h>
10189 -# if HAVE_STDLIB_H
10190 +# ifdef HAVE_STDLIB_H
10191 # include <stdlib.h>
10195 -# if !STDC_HEADERS && HAVE_MEMORY_H
10196 +#ifdef HAVE_STRING_H
10197 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
10198 # include <memory.h>
10200 # include <string.h>
10202 -#if HAVE_STRINGS_H
10203 +#ifdef HAVE_STRINGS_H
10204 # include <strings.h>
10206 -#if HAVE_INTTYPES_H
10207 +#ifdef HAVE_INTTYPES_H
10208 # include <inttypes.h>
10210 -# if HAVE_STDINT_H
10211 -# include <stdint.h>
10215 +#ifdef HAVE_STDINT_H
10216 +# include <stdint.h>
10218 +#ifdef HAVE_UNISTD_H
10219 # include <unistd.h>
10222 -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'
10223 +ac_subst_vars='LTLIBOBJS
10234 +am__fastdepCXX_FALSE
10235 +am__fastdepCXX_TRUE
10250 +am__fastdepCC_FALSE
10251 +am__fastdepCC_TRUE
10267 +MAINTAINER_MODE_FALSE
10268 +MAINTAINER_MODE_TRUE
10276 +INSTALL_STRIP_PROGRAM
10329 +program_transform_name
10341 +enable_option_checking
10342 +enable_maintainer_mode
10343 +enable_dependency_tracking
10346 +enable_fast_install
10348 +enable_libtool_lock
10354 + ac_precious_vars='build_alias
10371 # Initialize some variables set by options.
10373 ac_init_version=false
10374 +ac_unrecognized_opts=
10375 +ac_unrecognized_sep=
10376 # The variables have the same names as the options, with
10377 # dashes changed to underlines.
10378 cache_file=/dev/null
10379 @@ -493,34 +966,48 @@ x_libraries=NONE
10380 # and all the variables that are supposed to be based on exec_prefix
10381 # by default will actually change.
10382 # Use braces instead of parens because sh, perl, etc. also accept them.
10383 +# (The list follows the same order as the GNU Coding Standards.)
10384 bindir='${exec_prefix}/bin'
10385 sbindir='${exec_prefix}/sbin'
10386 libexecdir='${exec_prefix}/libexec'
10387 -datadir='${prefix}/share'
10388 +datarootdir='${prefix}/share'
10389 +datadir='${datarootdir}'
10390 sysconfdir='${prefix}/etc'
10391 sharedstatedir='${prefix}/com'
10392 localstatedir='${prefix}/var'
10393 -libdir='${exec_prefix}/lib'
10394 includedir='${prefix}/include'
10395 oldincludedir='/usr/include'
10396 -infodir='${prefix}/info'
10397 -mandir='${prefix}/man'
10398 +docdir='${datarootdir}/doc/${PACKAGE}'
10399 +infodir='${datarootdir}/info'
10400 +htmldir='${docdir}'
10401 +dvidir='${docdir}'
10402 +pdfdir='${docdir}'
10404 +libdir='${exec_prefix}/lib'
10405 +localedir='${datarootdir}/locale'
10406 +mandir='${datarootdir}/man'
10412 # If the previous option needs an argument, assign it.
10413 if test -n "$ac_prev"; then
10414 - eval "$ac_prev=\$ac_option"
10415 + eval $ac_prev=\$ac_option
10420 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
10421 + case $ac_option in
10422 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
10423 + *) ac_optarg=yes ;;
10426 # Accept the important Cygnus configure options, so we can diagnose typos.
10428 - case $ac_option in
10429 + case $ac_dashdash$ac_option in
10431 + ac_dashdash=yes ;;
10433 -bindir | --bindir | --bindi | --bind | --bin | --bi)
10435 @@ -542,33 +1029,61 @@ do
10436 --config-cache | -C)
10437 cache_file=config.cache ;;
10439 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
10440 + -datadir | --datadir | --datadi | --datad)
10442 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
10444 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
10445 datadir=$ac_optarg ;;
10447 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
10448 + | --dataroo | --dataro | --datar)
10449 + ac_prev=datarootdir ;;
10450 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
10451 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
10452 + datarootdir=$ac_optarg ;;
10454 -disable-* | --disable-*)
10455 - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
10456 + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
10457 # Reject names that are not valid shell variable names.
10458 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
10459 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
10460 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10461 + { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
10462 { (exit 1); exit 1; }; }
10463 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
10464 - eval "enable_$ac_feature=no" ;;
10465 + ac_useropt_orig=$ac_useropt
10466 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10467 + case $ac_user_opts in
10469 +"enable_$ac_useropt"
10471 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
10472 + ac_unrecognized_sep=', ';;
10474 + eval enable_$ac_useropt=no ;;
10476 + -docdir | --docdir | --docdi | --doc | --do)
10477 + ac_prev=docdir ;;
10478 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
10479 + docdir=$ac_optarg ;;
10481 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
10482 + ac_prev=dvidir ;;
10483 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
10484 + dvidir=$ac_optarg ;;
10486 -enable-* | --enable-*)
10487 - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
10488 + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
10489 # Reject names that are not valid shell variable names.
10490 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
10491 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
10492 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10493 + { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
10494 { (exit 1); exit 1; }; }
10495 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
10496 - case $ac_option in
10497 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
10498 - *) ac_optarg=yes ;;
10499 + ac_useropt_orig=$ac_useropt
10500 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10501 + case $ac_user_opts in
10503 +"enable_$ac_useropt"
10505 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
10506 + ac_unrecognized_sep=', ';;
10508 - eval "enable_$ac_feature='$ac_optarg'" ;;
10509 + eval enable_$ac_useropt=\$ac_optarg ;;
10511 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
10512 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
10513 @@ -595,6 +1110,12 @@ do
10514 -host=* | --host=* | --hos=* | --ho=*)
10515 host_alias=$ac_optarg ;;
10517 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
10518 + ac_prev=htmldir ;;
10519 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
10521 + htmldir=$ac_optarg ;;
10523 -includedir | --includedir | --includedi | --included | --include \
10524 | --includ | --inclu | --incl | --inc)
10525 ac_prev=includedir ;;
10526 @@ -619,13 +1140,16 @@ do
10527 | --libexe=* | --libex=* | --libe=*)
10528 libexecdir=$ac_optarg ;;
10530 + -localedir | --localedir | --localedi | --localed | --locale)
10531 + ac_prev=localedir ;;
10532 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
10533 + localedir=$ac_optarg ;;
10535 -localstatedir | --localstatedir | --localstatedi | --localstated \
10536 - | --localstate | --localstat | --localsta | --localst \
10537 - | --locals | --local | --loca | --loc | --lo)
10538 + | --localstate | --localstat | --localsta | --localst | --locals)
10539 ac_prev=localstatedir ;;
10540 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
10541 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
10542 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
10543 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
10544 localstatedir=$ac_optarg ;;
10546 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
10547 @@ -690,6 +1214,16 @@ do
10548 | --progr-tra=* | --program-tr=* | --program-t=*)
10549 program_transform_name=$ac_optarg ;;
10551 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
10552 + ac_prev=pdfdir ;;
10553 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
10554 + pdfdir=$ac_optarg ;;
10556 + -psdir | --psdir | --psdi | --psd | --ps)
10558 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
10559 + psdir=$ac_optarg ;;
10561 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10562 | -silent | --silent | --silen | --sile | --sil)
10564 @@ -740,26 +1274,38 @@ do
10565 ac_init_version=: ;;
10567 -with-* | --with-*)
10568 - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10569 + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10570 # Reject names that are not valid shell variable names.
10571 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
10572 - { echo "$as_me: error: invalid package name: $ac_package" >&2
10573 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10574 + { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
10575 { (exit 1); exit 1; }; }
10576 - ac_package=`echo $ac_package| sed 's/-/_/g'`
10577 - case $ac_option in
10578 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
10579 - *) ac_optarg=yes ;;
10580 + ac_useropt_orig=$ac_useropt
10581 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10582 + case $ac_user_opts in
10584 +"with_$ac_useropt"
10586 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
10587 + ac_unrecognized_sep=', ';;
10589 - eval "with_$ac_package='$ac_optarg'" ;;
10590 + eval with_$ac_useropt=\$ac_optarg ;;
10592 -without-* | --without-*)
10593 - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10594 + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10595 # Reject names that are not valid shell variable names.
10596 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
10597 - { echo "$as_me: error: invalid package name: $ac_package" >&2
10598 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10599 + { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
10600 { (exit 1); exit 1; }; }
10601 - ac_package=`echo $ac_package | sed 's/-/_/g'`
10602 - eval "with_$ac_package=no" ;;
10603 + ac_useropt_orig=$ac_useropt
10604 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10605 + case $ac_user_opts in
10607 +"with_$ac_useropt"
10609 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
10610 + ac_unrecognized_sep=', ';;
10612 + eval with_$ac_useropt=no ;;
10615 # Obsolete; use --with-x.
10616 @@ -779,7 +1325,7 @@ do
10617 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
10618 x_libraries=$ac_optarg ;;
10620 - -*) { echo "$as_me: error: unrecognized option: $ac_option
10621 + -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
10622 Try \`$0 --help' for more information." >&2
10623 { (exit 1); exit 1; }; }
10625 @@ -788,17 +1334,16 @@ Try \`$0 --help' for more information." >&2
10626 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
10627 # Reject names that are not valid shell variable names.
10628 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
10629 - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
10630 + { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
10631 { (exit 1); exit 1; }; }
10632 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
10633 - eval "$ac_envvar='$ac_optarg'"
10634 + eval $ac_envvar=\$ac_optarg
10635 export $ac_envvar ;;
10638 # FIXME: should be removed in autoconf 3.0.
10639 - echo "$as_me: WARNING: you should use --build, --host, --target" >&2
10640 + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
10641 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10642 - echo "$as_me: WARNING: invalid host type: $ac_option" >&2
10643 + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
10644 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
10647 @@ -807,31 +1352,39 @@ done
10649 if test -n "$ac_prev"; then
10650 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
10651 - { echo "$as_me: error: missing argument to $ac_option" >&2
10652 + { $as_echo "$as_me: error: missing argument to $ac_option" >&2
10653 { (exit 1); exit 1; }; }
10656 -# Be sure to have absolute paths.
10657 -for ac_var in exec_prefix prefix
10659 - eval ac_val=$`echo $ac_var`
10661 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
10662 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
10663 - { (exit 1); exit 1; }; };;
10664 +if test -n "$ac_unrecognized_opts"; then
10665 + case $enable_option_checking in
10667 + fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
10668 + { (exit 1); exit 1; }; } ;;
10669 + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
10674 -# Be sure to have absolute paths.
10675 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
10676 - localstatedir libdir includedir oldincludedir infodir mandir
10677 +# Check all directory arguments for consistency.
10678 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
10679 + datadir sysconfdir sharedstatedir localstatedir includedir \
10680 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
10681 + libdir localedir mandir
10683 - eval ac_val=$`echo $ac_var`
10684 + eval ac_val=\$$ac_var
10685 + # Remove trailing slashes.
10687 - [\\/$]* | ?:[\\/]* ) ;;
10688 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
10689 - { (exit 1); exit 1; }; };;
10691 + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
10692 + eval $ac_var=\$ac_val;;
10694 + # Be sure to have absolute directory names.
10696 + [\\/$]* | ?:[\\/]* ) continue;;
10697 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
10699 + { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
10700 + { (exit 1); exit 1; }; }
10703 # There might be people who depend on the old broken behavior: `$host'
10704 @@ -845,7 +1398,7 @@ target=$target_alias
10705 if test "x$host_alias" != x; then
10706 if test "x$build_alias" = x; then
10707 cross_compiling=maybe
10708 - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
10709 + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
10710 If a cross compiler is detected then cross compile mode will be used." >&2
10711 elif test "x$build_alias" != "x$host_alias"; then
10712 cross_compiling=yes
10713 @@ -858,94 +1411,76 @@ test -n "$host_alias" && ac_tool_prefix=$host_alias-
10714 test "$silent" = yes && exec 6>/dev/null
10717 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
10718 +ac_ls_di=`ls -di .` &&
10719 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
10720 + { $as_echo "$as_me: error: working directory cannot be determined" >&2
10721 + { (exit 1); exit 1; }; }
10722 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
10723 + { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
10724 + { (exit 1); exit 1; }; }
10727 # Find the source files, if location was not specified.
10728 if test -z "$srcdir"; then
10729 ac_srcdir_defaulted=yes
10730 - # Try the directory containing this script, then its parent.
10731 - ac_confdir=`(dirname "$0") 2>/dev/null ||
10732 -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10733 - X"$0" : 'X\(//\)[^/]' \| \
10734 - X"$0" : 'X\(//\)$' \| \
10735 - X"$0" : 'X\(/\)' \| \
10736 - . : '\(.\)' 2>/dev/null ||
10738 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10739 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10740 - /^X\(\/\/\)$/{ s//\1/; q; }
10741 - /^X\(\/\).*/{ s//\1/; q; }
10743 + # Try the directory containing this script, then the parent directory.
10744 + ac_confdir=`$as_dirname -- "$as_myself" ||
10745 +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10746 + X"$as_myself" : 'X\(//\)[^/]' \| \
10747 + X"$as_myself" : 'X\(//\)$' \| \
10748 + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
10749 +$as_echo X"$as_myself" |
10750 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10754 + /^X\(\/\/\)[^/].*/{
10768 - if test ! -r $srcdir/$ac_unique_file; then
10769 + if test ! -r "$srcdir/$ac_unique_file"; then
10773 ac_srcdir_defaulted=no
10775 -if test ! -r $srcdir/$ac_unique_file; then
10776 - if test "$ac_srcdir_defaulted" = yes; then
10777 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
10778 - { (exit 1); exit 1; }; }
10780 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
10781 +if test ! -r "$srcdir/$ac_unique_file"; then
10782 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
10783 + { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
10784 { (exit 1); exit 1; }; }
10787 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
10788 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
10789 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
10791 + cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
10792 { (exit 1); exit 1; }; }
10793 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
10794 -ac_env_build_alias_set=${build_alias+set}
10795 -ac_env_build_alias_value=$build_alias
10796 -ac_cv_env_build_alias_set=${build_alias+set}
10797 -ac_cv_env_build_alias_value=$build_alias
10798 -ac_env_host_alias_set=${host_alias+set}
10799 -ac_env_host_alias_value=$host_alias
10800 -ac_cv_env_host_alias_set=${host_alias+set}
10801 -ac_cv_env_host_alias_value=$host_alias
10802 -ac_env_target_alias_set=${target_alias+set}
10803 -ac_env_target_alias_value=$target_alias
10804 -ac_cv_env_target_alias_set=${target_alias+set}
10805 -ac_cv_env_target_alias_value=$target_alias
10806 -ac_env_CC_set=${CC+set}
10807 -ac_env_CC_value=$CC
10808 -ac_cv_env_CC_set=${CC+set}
10809 -ac_cv_env_CC_value=$CC
10810 -ac_env_CFLAGS_set=${CFLAGS+set}
10811 -ac_env_CFLAGS_value=$CFLAGS
10812 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
10813 -ac_cv_env_CFLAGS_value=$CFLAGS
10814 -ac_env_LDFLAGS_set=${LDFLAGS+set}
10815 -ac_env_LDFLAGS_value=$LDFLAGS
10816 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
10817 -ac_cv_env_LDFLAGS_value=$LDFLAGS
10818 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
10819 -ac_env_CPPFLAGS_value=$CPPFLAGS
10820 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
10821 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
10822 -ac_env_CPP_set=${CPP+set}
10823 -ac_env_CPP_value=$CPP
10824 -ac_cv_env_CPP_set=${CPP+set}
10825 -ac_cv_env_CPP_value=$CPP
10826 -ac_env_CXX_set=${CXX+set}
10827 -ac_env_CXX_value=$CXX
10828 -ac_cv_env_CXX_set=${CXX+set}
10829 -ac_cv_env_CXX_value=$CXX
10830 -ac_env_CXXFLAGS_set=${CXXFLAGS+set}
10831 -ac_env_CXXFLAGS_value=$CXXFLAGS
10832 -ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
10833 -ac_cv_env_CXXFLAGS_value=$CXXFLAGS
10834 -ac_env_CXXCPP_set=${CXXCPP+set}
10835 -ac_env_CXXCPP_value=$CXXCPP
10836 -ac_cv_env_CXXCPP_set=${CXXCPP+set}
10837 -ac_cv_env_CXXCPP_value=$CXXCPP
10838 -ac_env_F77_set=${F77+set}
10839 -ac_env_F77_value=$F77
10840 -ac_cv_env_F77_set=${F77+set}
10841 -ac_cv_env_F77_value=$F77
10842 -ac_env_FFLAGS_set=${FFLAGS+set}
10843 -ac_env_FFLAGS_value=$FFLAGS
10844 -ac_cv_env_FFLAGS_set=${FFLAGS+set}
10845 -ac_cv_env_FFLAGS_value=$FFLAGS
10847 +# When building in place, set srcdir=.
10848 +if test "$ac_abs_confdir" = "$ac_pwd"; then
10851 +# Remove unnecessary trailing slashes from srcdir.
10852 +# Double slashes in file names in object file debugging info
10853 +# mess up M-x gdb in Emacs.
10855 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
10857 +for ac_var in $ac_precious_vars; do
10858 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
10859 + eval ac_env_${ac_var}_value=\$${ac_var}
10860 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
10861 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
10865 # Report the --help message.
10866 @@ -974,14 +1509,11 @@ Configuration:
10867 -n, --no-create do not create output files
10868 --srcdir=DIR find the sources in DIR [configure dir or \`..']
10873 Installation directories:
10874 --prefix=PREFIX install architecture-independent files in PREFIX
10875 - [$ac_default_prefix]
10876 + [$ac_default_prefix]
10877 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
10881 By default, \`make install' will install all the files in
10882 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
10883 @@ -991,18 +1523,25 @@ for instance \`--prefix=\$HOME'.
10884 For better control, use the options below.
10886 Fine tuning of the installation directories:
10887 - --bindir=DIR user executables [EPREFIX/bin]
10888 - --sbindir=DIR system admin executables [EPREFIX/sbin]
10889 - --libexecdir=DIR program executables [EPREFIX/libexec]
10890 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
10891 - --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
10892 - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
10893 - --localstatedir=DIR modifiable single-machine data [PREFIX/var]
10894 - --libdir=DIR object code libraries [EPREFIX/lib]
10895 - --includedir=DIR C header files [PREFIX/include]
10896 - --oldincludedir=DIR C header files for non-gcc [/usr/include]
10897 - --infodir=DIR info documentation [PREFIX/info]
10898 - --mandir=DIR man documentation [PREFIX/man]
10899 + --bindir=DIR user executables [EPREFIX/bin]
10900 + --sbindir=DIR system admin executables [EPREFIX/sbin]
10901 + --libexecdir=DIR program executables [EPREFIX/libexec]
10902 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
10903 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
10904 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
10905 + --libdir=DIR object code libraries [EPREFIX/lib]
10906 + --includedir=DIR C header files [PREFIX/include]
10907 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
10908 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
10909 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
10910 + --infodir=DIR info documentation [DATAROOTDIR/info]
10911 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
10912 + --mandir=DIR man documentation [DATAROOTDIR/man]
10913 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
10914 + --htmldir=DIR html documentation [DOCDIR]
10915 + --dvidir=DIR dvi documentation [DOCDIR]
10916 + --pdfdir=DIR pdf documentation [DOCDIR]
10917 + --psdir=DIR ps documentation [DOCDIR]
10921 @@ -1024,16 +1563,15 @@ if test -n "$ac_init_help"; then
10925 + --disable-option-checking ignore unrecognized --enable/--with options
10926 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
10927 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
10928 --enable-maintainer-mode enable make rules and dependencies not useful
10929 (and sometimes confusing) to the casual installer
10930 --disable-dependency-tracking speeds up one-time build
10931 --enable-dependency-tracking do not reject slow dependency extractors
10932 - --enable-static[=PKGS]
10933 - build static libraries [default=no]
10934 - --enable-shared[=PKGS]
10935 - build shared libraries [default=yes]
10936 + --enable-static[=PKGS] build static libraries [default=no]
10937 + --enable-shared[=PKGS] build shared libraries [default=yes]
10938 --enable-fast-install[=PKGS]
10939 optimize for fast installation [default=yes]
10940 --disable-libtool-lock avoid locking (might break parallel builds)
10941 @@ -1045,8 +1583,7 @@ Optional Packages:
10942 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
10943 --with-pic try to use only PIC/non-PIC objects [default=use
10945 - --with-tags[=TAGS]
10946 - include additional configurations [automatic]
10947 + --with-tags[=TAGS] include additional configurations [automatic]
10948 --with-mysql=DIR Location of your MySQL installation
10950 Some influential environment variables:
10951 @@ -1054,8 +1591,9 @@ Some influential environment variables:
10952 CFLAGS C compiler flags
10953 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
10954 nonstandard directory <lib dir>
10955 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
10956 - headers in a nonstandard directory <include dir>
10957 + LIBS libraries to pass to the linker, e.g. -l<library>
10958 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
10959 + you have headers in a nonstandard directory <include dir>
10961 CXX C++ compiler command
10962 CXXFLAGS C++ compiler flags
10963 @@ -1067,118 +1605,88 @@ Use these variables to override the choices made by `configure' or to help
10964 it to find libraries and programs with nonstandard names/locations.
10970 if test "$ac_init_help" = "recursive"; then
10971 # If there are subdirs, report their specific --help.
10973 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
10974 - test -d $ac_dir || continue
10975 + test -d "$ac_dir" ||
10976 + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
10980 -if test "$ac_dir" != .; then
10981 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10982 - # A "../" for each directory in $ac_dir_suffix.
10983 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10985 - ac_dir_suffix= ac_top_builddir=
10988 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10990 + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10991 + # A ".." for each directory in $ac_dir_suffix.
10992 + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10993 + case $ac_top_builddir_sub in
10994 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10995 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10998 +ac_abs_top_builddir=$ac_pwd
10999 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
11000 +# for backward compatibility:
11001 +ac_top_builddir=$ac_top_build_prefix
11004 - .) # No --srcdir option. We are building in place.
11005 + .) # We are building in place.
11007 - if test -z "$ac_top_builddir"; then
11010 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11012 - [\\/]* | ?:[\\/]* ) # Absolute path.
11013 + ac_top_srcdir=$ac_top_builddir_sub
11014 + ac_abs_top_srcdir=$ac_pwd ;;
11015 + [\\/]* | ?:[\\/]* ) # Absolute name.
11016 ac_srcdir=$srcdir$ac_dir_suffix;
11017 - ac_top_srcdir=$srcdir ;;
11018 - *) # Relative path.
11019 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11020 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
11021 + ac_top_srcdir=$srcdir
11022 + ac_abs_top_srcdir=$srcdir ;;
11023 + *) # Relative name.
11024 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11025 + ac_top_srcdir=$ac_top_build_prefix$srcdir
11026 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11029 -# Do not use `cd foo && pwd` to compute absolute paths, because
11030 -# the directories may not exist.
11032 -.) ac_abs_builddir="$ac_dir";;
11034 - case "$ac_dir" in
11035 - .) ac_abs_builddir=`pwd`;;
11036 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11037 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
11040 -case $ac_abs_builddir in
11041 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
11043 - case ${ac_top_builddir}. in
11044 - .) ac_abs_top_builddir=$ac_abs_builddir;;
11045 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11046 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11049 -case $ac_abs_builddir in
11050 -.) ac_abs_srcdir=$ac_srcdir;;
11052 - case $ac_srcdir in
11053 - .) ac_abs_srcdir=$ac_abs_builddir;;
11054 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11055 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11058 -case $ac_abs_builddir in
11059 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
11061 - case $ac_top_srcdir in
11062 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
11063 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11064 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11069 - # Check for guested configure; otherwise get Cygnus style configure.
11070 - if test -f $ac_srcdir/configure.gnu; then
11072 - $SHELL $ac_srcdir/configure.gnu --help=recursive
11073 - elif test -f $ac_srcdir/configure; then
11075 - $SHELL $ac_srcdir/configure --help=recursive
11076 - elif test -f $ac_srcdir/configure.ac ||
11077 - test -f $ac_srcdir/configure.in; then
11079 - $ac_configure --help
11080 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11082 + cd "$ac_dir" || { ac_status=$?; continue; }
11083 + # Check for guested configure.
11084 + if test -f "$ac_srcdir/configure.gnu"; then
11086 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
11087 + elif test -f "$ac_srcdir/configure"; then
11089 + $SHELL "$ac_srcdir/configure" --help=recursive
11091 - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
11094 + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
11095 + fi || ac_status=$?
11096 + cd "$ac_pwd" || { ac_status=$?; break; }
11100 -test -n "$ac_init_help" && exit 0
11101 +test -n "$ac_init_help" && exit $ac_status
11102 if $ac_init_version; then
11105 +generated by GNU Autoconf 2.63
11107 -Copyright (C) 2003 Free Software Foundation, Inc.
11108 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
11109 +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
11110 This configure script is free software; the Free Software Foundation
11111 gives unlimited permission to copy, distribute and modify it.
11118 +cat >config.log <<_ACEOF
11119 This file contains any messages produced by compilers while
11120 running configure, to aid debugging if configure makes a mistake.
11122 It was created by $as_me, which was
11123 -generated by GNU Autoconf 2.59. Invocation command line was
11124 +generated by GNU Autoconf 2.63. Invocation command line was
11129 +exec 5>>config.log
11133 @@ -1197,7 +1705,7 @@ uname -v = `(uname -v) 2>/dev/null || echo unknown`
11134 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
11135 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
11136 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
11137 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
11138 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
11139 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
11140 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
11141 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
11142 @@ -1209,8 +1717,9 @@ for as_dir in $PATH
11145 test -z "$as_dir" && as_dir=.
11146 - echo "PATH: $as_dir"
11147 + $as_echo "PATH: $as_dir"
11153 @@ -1232,7 +1741,6 @@ _ACEOF
11155 ac_configure_args0=
11156 ac_configure_args1=
11158 ac_must_keep_next=false
11161 @@ -1243,8 +1751,8 @@ do
11162 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11163 | -silent | --silent | --silen | --sile | --sil)
11165 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
11166 - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11168 + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11171 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
11172 @@ -1265,9 +1773,7 @@ do
11173 -* ) ac_must_keep_next=true ;;
11176 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
11177 - # Get rid of the leading space.
11179 + ac_configure_args="$ac_configure_args '$ac_arg'"
11183 @@ -1278,8 +1784,8 @@ $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_
11184 # When interrupted or exit'd, cleanup temporary files, and complete
11185 # config.log. We remove comments because anyway the quotes in there
11186 # would cause problems or look ugly.
11187 -# WARNING: Be sure not to use single quotes in there, as some shells,
11188 -# such as our DU 5.0 friend, will then `close' the trap.
11189 +# WARNING: Use '\'' to represent an apostrophe within the trap.
11190 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
11191 trap 'exit_status=$?
11192 # Save into config.log some information that might help in debugging.
11194 @@ -1292,20 +1798,35 @@ trap 'exit_status=$?
11197 # The following way of writing the cache mishandles newlines in values,
11200 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
11201 + eval ac_val=\$$ac_var
11202 + case $ac_val in #(
11204 + case $ac_var in #(
11205 + *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
11206 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11208 + case $ac_var in #(
11209 + _ | IFS | as_nl) ;; #(
11210 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11211 + *) $as_unset $ac_var ;;
11216 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
11218 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
11219 + *${as_nl}ac_space=\ *)
11221 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
11222 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
11224 + "s/'\''/'\''\\\\'\'''\''/g;
11225 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
11229 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11230 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11240 @@ -1316,22 +1837,28 @@ _ASBOX
11242 for ac_var in $ac_subst_vars
11244 - eval ac_val=$`echo $ac_var`
11245 - echo "$ac_var='"'"'$ac_val'"'"'"
11246 + eval ac_val=\$$ac_var
11248 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
11250 + $as_echo "$ac_var='\''$ac_val'\''"
11254 if test -n "$ac_subst_files"; then
11256 -## ------------- ##
11257 -## Output files. ##
11258 -## ------------- ##
11259 +## ------------------- ##
11260 +## File substitutions. ##
11261 +## ------------------- ##
11264 for ac_var in $ac_subst_files
11266 - eval ac_val=$`echo $ac_var`
11267 - echo "$ac_var='"'"'$ac_val'"'"'"
11268 + eval ac_val=\$$ac_var
11270 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
11272 + $as_echo "$ac_var='\''$ac_val'\''"
11276 @@ -1343,26 +1870,24 @@ _ASBOX
11280 - sed "/^$/d" confdefs.h | sort
11284 test "$ac_signal" != 0 &&
11285 - echo "$as_me: caught signal $ac_signal"
11286 - echo "$as_me: exit $exit_status"
11287 + $as_echo "$as_me: caught signal $ac_signal"
11288 + $as_echo "$as_me: exit $exit_status"
11290 - rm -f core *.core &&
11291 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
11292 + rm -f core *.core core.conftest.* &&
11293 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
11297 for ac_signal in 1 2 13 15; do
11298 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
11302 # confdefs.h avoids OS command line length limits that DEFS can exceed.
11303 -rm -rf conftest* confdefs.h
11304 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
11306 +rm -f -r conftest* confdefs.h
11308 # Predefined preprocessor variables.
11310 @@ -1392,18 +1917,24 @@ _ACEOF
11313 # Let the site file select an alternate cache file if it wants to.
11314 -# Prefer explicitly selected file to automatically selected ones.
11315 -if test -z "$CONFIG_SITE"; then
11316 - if test "x$prefix" != xNONE; then
11317 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
11319 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
11322 -for ac_site_file in $CONFIG_SITE; do
11323 +# Prefer an explicitly selected file to automatically selected ones.
11324 +ac_site_file1=NONE
11325 +ac_site_file2=NONE
11326 +if test -n "$CONFIG_SITE"; then
11327 + ac_site_file1=$CONFIG_SITE
11328 +elif test "x$prefix" != xNONE; then
11329 + ac_site_file1=$prefix/share/config.site
11330 + ac_site_file2=$prefix/etc/config.site
11332 + ac_site_file1=$ac_default_prefix/share/config.site
11333 + ac_site_file2=$ac_default_prefix/etc/config.site
11335 +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
11337 + test "x$ac_site_file" = xNONE && continue
11338 if test -r "$ac_site_file"; then
11339 - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
11340 -echo "$as_me: loading site script $ac_site_file" >&6;}
11341 + { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
11342 +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
11343 sed 's/^/| /' "$ac_site_file" >&5
11346 @@ -1413,54 +1944,61 @@ if test -r "$cache_file"; then
11347 # Some versions of bash will fail to source /dev/null (special
11348 # files actually), so we avoid doing that.
11349 if test -f "$cache_file"; then
11350 - { echo "$as_me:$LINENO: loading cache $cache_file" >&5
11351 -echo "$as_me: loading cache $cache_file" >&6;}
11352 + { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
11353 +$as_echo "$as_me: loading cache $cache_file" >&6;}
11354 case $cache_file in
11355 - [\\/]* | ?:[\\/]* ) . $cache_file;;
11356 - *) . ./$cache_file;;
11357 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
11358 + *) . "./$cache_file";;
11362 - { echo "$as_me:$LINENO: creating cache $cache_file" >&5
11363 -echo "$as_me: creating cache $cache_file" >&6;}
11364 + { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
11365 +$as_echo "$as_me: creating cache $cache_file" >&6;}
11369 # Check that the precious variables saved in the cache have kept the same
11371 ac_cache_corrupted=false
11372 -for ac_var in `(set) 2>&1 |
11373 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
11374 +for ac_var in $ac_precious_vars; do
11375 eval ac_old_set=\$ac_cv_env_${ac_var}_set
11376 eval ac_new_set=\$ac_env_${ac_var}_set
11377 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
11378 - eval ac_new_val="\$ac_env_${ac_var}_value"
11379 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
11380 + eval ac_new_val=\$ac_env_${ac_var}_value
11381 case $ac_old_set,$ac_new_set in
11383 - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
11384 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
11385 + { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
11386 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
11387 ac_cache_corrupted=: ;;
11389 - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
11390 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
11391 + { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
11392 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
11393 ac_cache_corrupted=: ;;
11396 if test "x$ac_old_val" != "x$ac_new_val"; then
11397 - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
11398 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
11399 - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
11400 -echo "$as_me: former value: $ac_old_val" >&2;}
11401 - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
11402 -echo "$as_me: current value: $ac_new_val" >&2;}
11403 - ac_cache_corrupted=:
11404 + # differences in whitespace do not lead to failure.
11405 + ac_old_val_w=`echo x $ac_old_val`
11406 + ac_new_val_w=`echo x $ac_new_val`
11407 + if test "$ac_old_val_w" != "$ac_new_val_w"; then
11408 + { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
11409 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
11410 + ac_cache_corrupted=:
11412 + { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
11413 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
11414 + eval $ac_var=\$ac_old_val
11416 + { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
11417 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
11418 + { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
11419 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
11422 # Pass precious variables to config.status.
11423 if test "$ac_new_set" = set; then
11424 case $ac_new_val in
11425 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
11426 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
11427 + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
11428 *) ac_arg=$ac_var=$ac_new_val ;;
11430 case " $ac_configure_args " in
11431 @@ -1470,19 +2008,15 @@ echo "$as_me: current value: $ac_new_val" >&2;}
11434 if $ac_cache_corrupted; then
11435 - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
11436 -echo "$as_me: error: changes in the environment can compromise the build" >&2;}
11437 - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
11438 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
11439 + { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11440 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11441 + { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
11442 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
11443 + { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
11444 +$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
11445 { (exit 1); exit 1; }; }
11449 -ac_cpp='$CPP $CPPFLAGS'
11450 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11451 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11452 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
11457 @@ -1499,109 +2033,164 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
11462 +ac_cpp='$CPP $CPPFLAGS'
11463 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11464 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11465 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11469 -for ac_dir in aux $srcdir/aux; do
11470 - if test -f $ac_dir/install-sh; then
11471 +for ac_dir in aux "$srcdir"/aux; do
11472 + if test -f "$ac_dir/install-sh"; then
11474 ac_install_sh="$ac_aux_dir/install-sh -c"
11476 - elif test -f $ac_dir/install.sh; then
11477 + elif test -f "$ac_dir/install.sh"; then
11479 ac_install_sh="$ac_aux_dir/install.sh -c"
11481 - elif test -f $ac_dir/shtool; then
11482 + elif test -f "$ac_dir/shtool"; then
11484 ac_install_sh="$ac_aux_dir/shtool install -c"
11488 if test -z "$ac_aux_dir"; then
11489 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in aux $srcdir/aux" >&5
11490 -echo "$as_me: error: cannot find install-sh or install.sh in aux $srcdir/aux" >&2;}
11491 + { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in aux \"$srcdir\"/aux" >&5
11492 +$as_echo "$as_me: error: cannot find install-sh or install.sh in aux \"$srcdir\"/aux" >&2;}
11493 { (exit 1); exit 1; }; }
11495 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
11496 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
11497 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
11499 +# These three variables are undocumented and unsupported,
11500 +# and are intended to be withdrawn in a future Autoconf release.
11501 +# They can cause serious problems if a builder's source tree is in a directory
11502 +# whose full name contains unusual characters.
11503 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
11504 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
11505 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
11510 # Make sure we can run config.sub.
11511 -$ac_config_sub sun4 >/dev/null 2>&1 ||
11512 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
11513 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
11514 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
11515 + { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
11516 +$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
11517 { (exit 1); exit 1; }; }
11519 -echo "$as_me:$LINENO: checking build system type" >&5
11520 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
11521 +{ $as_echo "$as_me:$LINENO: checking build system type" >&5
11522 +$as_echo_n "checking build system type... " >&6; }
11523 if test "${ac_cv_build+set}" = set; then
11524 - echo $ECHO_N "(cached) $ECHO_C" >&6
11526 - ac_cv_build_alias=$build_alias
11527 -test -z "$ac_cv_build_alias" &&
11528 - ac_cv_build_alias=`$ac_config_guess`
11529 -test -z "$ac_cv_build_alias" &&
11530 - { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
11531 -echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
11532 + $as_echo_n "(cached) " >&6
11534 + ac_build_alias=$build_alias
11535 +test "x$ac_build_alias" = x &&
11536 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
11537 +test "x$ac_build_alias" = x &&
11538 + { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
11539 +$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
11540 { (exit 1); exit 1; }; }
11541 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
11542 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
11543 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
11544 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
11545 + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
11546 +$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
11547 { (exit 1); exit 1; }; }
11550 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
11551 -echo "${ECHO_T}$ac_cv_build" >&6
11552 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
11553 +$as_echo "$ac_cv_build" >&6; }
11554 +case $ac_cv_build in
11556 +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
11557 +$as_echo "$as_me: error: invalid value of canonical build" >&2;}
11558 + { (exit 1); exit 1; }; };;
11561 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
11562 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
11563 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
11566 -echo "$as_me:$LINENO: checking host system type" >&5
11567 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
11568 +ac_save_IFS=$IFS; IFS='-'
11569 +set x $ac_cv_build
11574 +# Remember, the first character of IFS is used to create $*,
11575 +# except with old shells:
11578 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
11581 +{ $as_echo "$as_me:$LINENO: checking host system type" >&5
11582 +$as_echo_n "checking host system type... " >&6; }
11583 if test "${ac_cv_host+set}" = set; then
11584 - echo $ECHO_N "(cached) $ECHO_C" >&6
11586 - ac_cv_host_alias=$host_alias
11587 -test -z "$ac_cv_host_alias" &&
11588 - ac_cv_host_alias=$ac_cv_build_alias
11589 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
11590 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
11591 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
11592 + $as_echo_n "(cached) " >&6
11594 + if test "x$host_alias" = x; then
11595 + ac_cv_host=$ac_cv_build
11597 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
11598 + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
11599 +$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
11600 { (exit 1); exit 1; }; }
11604 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
11605 -echo "${ECHO_T}$ac_cv_host" >&6
11606 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
11607 +$as_echo "$ac_cv_host" >&6; }
11608 +case $ac_cv_host in
11610 +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
11611 +$as_echo "$as_me: error: invalid value of canonical host" >&2;}
11612 + { (exit 1); exit 1; }; };;
11615 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
11616 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
11617 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
11620 -echo "$as_me:$LINENO: checking target system type" >&5
11621 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
11622 +ac_save_IFS=$IFS; IFS='-'
11628 +# Remember, the first character of IFS is used to create $*,
11629 +# except with old shells:
11632 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
11635 +{ $as_echo "$as_me:$LINENO: checking target system type" >&5
11636 +$as_echo_n "checking target system type... " >&6; }
11637 if test "${ac_cv_target+set}" = set; then
11638 - echo $ECHO_N "(cached) $ECHO_C" >&6
11640 - ac_cv_target_alias=$target_alias
11641 -test "x$ac_cv_target_alias" = "x" &&
11642 - ac_cv_target_alias=$ac_cv_host_alias
11643 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
11644 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
11645 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
11646 + $as_echo_n "(cached) " >&6
11648 + if test "x$target_alias" = x; then
11649 + ac_cv_target=$ac_cv_host
11651 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
11652 + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
11653 +$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
11654 { (exit 1); exit 1; }; }
11658 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
11659 -echo "${ECHO_T}$ac_cv_target" >&6
11660 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
11661 +$as_echo "$ac_cv_target" >&6; }
11662 +case $ac_cv_target in
11664 +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
11665 +$as_echo "$as_me: error: invalid value of canonical target" >&2;}
11666 + { (exit 1); exit 1; }; };;
11668 target=$ac_cv_target
11669 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
11670 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
11671 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
11672 +ac_save_IFS=$IFS; IFS='-'
11673 +set x $ac_cv_target
11678 +# Remember, the first character of IFS is used to create $*,
11679 +# except with old shells:
11682 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
11685 # The aliases save the names the user supplied, while $host etc.
11686 @@ -1625,11 +2214,12 @@ am__api_version="1.9"
11687 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11688 # OS/2's system install, which has a completely different semantic
11689 # ./install, which can be erroneously created by make from ./install.sh.
11690 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11691 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11692 +# Reject install programs that cannot install multiple files.
11693 +{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11694 +$as_echo_n "checking for a BSD-compatible install... " >&6; }
11695 if test -z "$INSTALL"; then
11696 if test "${ac_cv_path_install+set}" = set; then
11697 - echo $ECHO_N "(cached) $ECHO_C" >&6
11698 + $as_echo_n "(cached) " >&6
11700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11701 for as_dir in $PATH
11702 @@ -1648,7 +2238,7 @@ case $as_dir/ in
11704 for ac_prog in ginstall scoinst install; do
11705 for ac_exec_ext in '' $ac_executable_extensions; do
11706 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11707 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
11708 if test $ac_prog = install &&
11709 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11710 # AIX install. It has an incompatible calling convention.
11711 @@ -1658,30 +2248,43 @@ case $as_dir/ in
11712 # program-specific install script used by HP pwplus--don't use.
11715 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11717 + rm -rf conftest.one conftest.two conftest.dir
11718 + echo one > conftest.one
11719 + echo two > conftest.two
11720 + mkdir conftest.dir
11721 + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
11722 + test -s conftest.one && test -s conftest.two &&
11723 + test -s conftest.dir/conftest.one &&
11724 + test -s conftest.dir/conftest.two
11726 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11739 +rm -rf conftest.one conftest.two conftest.dir
11742 if test "${ac_cv_path_install+set}" = set; then
11743 INSTALL=$ac_cv_path_install
11745 - # As a last resort, use the slow shell script. We don't cache a
11746 - # path for INSTALL within a source directory, because that will
11747 + # As a last resort, use the slow shell script. Don't cache a
11748 + # value for INSTALL within a source directory, because that will
11749 # break other packages using the cache if that directory is
11750 - # removed, or if the path is relative.
11751 + # removed, or if the value is a relative name.
11752 INSTALL=$ac_install_sh
11755 -echo "$as_me:$LINENO: result: $INSTALL" >&5
11756 -echo "${ECHO_T}$INSTALL" >&6
11757 +{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
11758 +$as_echo "$INSTALL" >&6; }
11760 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11761 # It thinks the first close brace ends the variable substitution.
11762 @@ -1691,8 +2294,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11764 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11766 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
11767 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
11768 +{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
11769 +$as_echo_n "checking whether build environment is sane... " >&6; }
11772 echo timestamp > conftest.file
11773 @@ -1715,9 +2318,9 @@ if (
11774 # if, for instance, CONFIG_SHELL is bash and it inherits a
11775 # broken ls alias from the environment. This has actually
11776 # happened. Such a system could not be considered "sane".
11777 - { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
11778 + { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
11779 alias in your environment" >&5
11780 -echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
11781 +$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
11782 alias in your environment" >&2;}
11783 { (exit 1); exit 1; }; }
11785 @@ -1728,26 +2331,23 @@ then
11789 - { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
11790 + { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
11791 Check your system clock" >&5
11792 -echo "$as_me: error: newly created file is older than distributed files!
11793 +$as_echo "$as_me: error: newly created file is older than distributed files!
11794 Check your system clock" >&2;}
11795 { (exit 1); exit 1; }; }
11797 -echo "$as_me:$LINENO: result: yes" >&5
11798 -echo "${ECHO_T}yes" >&6
11799 +{ $as_echo "$as_me:$LINENO: result: yes" >&5
11800 +$as_echo "yes" >&6; }
11801 test "$program_prefix" != NONE &&
11802 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
11803 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
11804 # Use a double $ so make ignores it.
11805 test "$program_suffix" != NONE &&
11806 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
11807 -# Double any \ or $. echo might interpret backslashes.
11808 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
11809 +# Double any \ or $.
11810 # By default was `s,x,x', remove it if useless.
11811 -cat <<\_ACEOF >conftest.sed
11812 -s/[\\$]/&&/g;s/;s,x,x,$//
11814 -program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
11816 +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
11817 +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
11819 # expand $ac_aux_dir to an absolute path
11820 am_aux_dir=`cd $ac_aux_dir && pwd`
11821 @@ -1758,8 +2358,8 @@ if eval "$MISSING --run true"; then
11822 am_missing_run="$MISSING --run "
11825 - { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
11826 -echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
11827 + { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
11828 +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
11831 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
11832 @@ -1799,10 +2399,10 @@ for ac_prog in gawk mawk nawk awk
11834 # Extract the first word of "$ac_prog", so it can be a program name with args.
11835 set dummy $ac_prog; ac_word=$2
11836 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11837 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11838 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11839 +$as_echo_n "checking for $ac_word... " >&6; }
11840 if test "${ac_cv_prog_AWK+set}" = set; then
11841 - echo $ECHO_N "(cached) $ECHO_C" >&6
11842 + $as_echo_n "(cached) " >&6
11844 if test -n "$AWK"; then
11845 ac_cv_prog_AWK="$AWK" # Let the user override the test.
11846 @@ -1813,54 +2413,58 @@ do
11848 test -z "$as_dir" && as_dir=.
11849 for ac_exec_ext in '' $ac_executable_extensions; do
11850 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11851 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11852 ac_cv_prog_AWK="$ac_prog"
11853 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11854 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11863 AWK=$ac_cv_prog_AWK
11864 if test -n "$AWK"; then
11865 - echo "$as_me:$LINENO: result: $AWK" >&5
11866 -echo "${ECHO_T}$AWK" >&6
11867 + { $as_echo "$as_me:$LINENO: result: $AWK" >&5
11868 +$as_echo "$AWK" >&6; }
11870 - echo "$as_me:$LINENO: result: no" >&5
11871 -echo "${ECHO_T}no" >&6
11872 + { $as_echo "$as_me:$LINENO: result: no" >&5
11873 +$as_echo "no" >&6; }
11877 test -n "$AWK" && break
11880 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
11881 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
11882 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
11883 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
11884 - echo $ECHO_N "(cached) $ECHO_C" >&6
11885 +{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
11886 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
11887 +set x ${MAKE-make}
11888 +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
11889 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
11890 + $as_echo_n "(cached) " >&6
11892 cat >conftest.make <<\_ACEOF
11895 - @echo 'ac_maketemp="$(MAKE)"'
11896 + @echo '@@@%%%=$(MAKE)=@@@%%%'
11898 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11899 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
11900 -if test -n "$ac_maketemp"; then
11901 - eval ac_cv_prog_make_${ac_make}_set=yes
11903 - eval ac_cv_prog_make_${ac_make}_set=no
11905 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
11906 + *@@@%%%=?*=@@@%%%*)
11907 + eval ac_cv_prog_make_${ac_make}_set=yes;;
11909 + eval ac_cv_prog_make_${ac_make}_set=no;;
11911 rm -f conftest.make
11913 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
11914 - echo "$as_me:$LINENO: result: yes" >&5
11915 -echo "${ECHO_T}yes" >&6
11916 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
11917 + { $as_echo "$as_me:$LINENO: result: yes" >&5
11918 +$as_echo "yes" >&6; }
11921 - echo "$as_me:$LINENO: result: no" >&5
11922 -echo "${ECHO_T}no" >&6
11923 + { $as_echo "$as_me:$LINENO: result: no" >&5
11924 +$as_echo "no" >&6; }
11925 SET_MAKE="MAKE=${MAKE-make}"
11928 @@ -1876,8 +2480,8 @@ rmdir .tst 2>/dev/null
11929 # test to see if srcdir already configured
11930 if test "`cd $srcdir && pwd`" != "`pwd`" &&
11931 test -f $srcdir/config.status; then
11932 - { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
11933 -echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
11934 + { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
11935 +$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
11936 { (exit 1); exit 1; }; }
11939 @@ -1931,10 +2535,10 @@ if test "$cross_compiling" != no; then
11940 if test -n "$ac_tool_prefix"; then
11941 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
11942 set dummy ${ac_tool_prefix}strip; ac_word=$2
11943 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11944 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11945 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11946 +$as_echo_n "checking for $ac_word... " >&6; }
11947 if test "${ac_cv_prog_STRIP+set}" = set; then
11948 - echo $ECHO_N "(cached) $ECHO_C" >&6
11949 + $as_echo_n "(cached) " >&6
11951 if test -n "$STRIP"; then
11952 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11953 @@ -1945,34 +2549,36 @@ do
11955 test -z "$as_dir" && as_dir=.
11956 for ac_exec_ext in '' $ac_executable_extensions; do
11957 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11958 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11959 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
11960 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11961 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11970 STRIP=$ac_cv_prog_STRIP
11971 if test -n "$STRIP"; then
11972 - echo "$as_me:$LINENO: result: $STRIP" >&5
11973 -echo "${ECHO_T}$STRIP" >&6
11974 + { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
11975 +$as_echo "$STRIP" >&6; }
11977 - echo "$as_me:$LINENO: result: no" >&5
11978 -echo "${ECHO_T}no" >&6
11979 + { $as_echo "$as_me:$LINENO: result: no" >&5
11980 +$as_echo "no" >&6; }
11985 if test -z "$ac_cv_prog_STRIP"; then
11987 # Extract the first word of "strip", so it can be a program name with args.
11988 set dummy strip; ac_word=$2
11989 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11990 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11991 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11992 +$as_echo_n "checking for $ac_word... " >&6; }
11993 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
11994 - echo $ECHO_N "(cached) $ECHO_C" >&6
11995 + $as_echo_n "(cached) " >&6
11997 if test -n "$ac_ct_STRIP"; then
11998 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
11999 @@ -1983,27 +2589,37 @@ do
12001 test -z "$as_dir" && as_dir=.
12002 for ac_exec_ext in '' $ac_executable_extensions; do
12003 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12004 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12005 ac_cv_prog_ac_ct_STRIP="strip"
12006 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12007 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12014 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
12017 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
12018 if test -n "$ac_ct_STRIP"; then
12019 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
12020 -echo "${ECHO_T}$ac_ct_STRIP" >&6
12021 + { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
12022 +$as_echo "$ac_ct_STRIP" >&6; }
12024 - echo "$as_me:$LINENO: result: no" >&5
12025 -echo "${ECHO_T}no" >&6
12026 + { $as_echo "$as_me:$LINENO: result: no" >&5
12027 +$as_echo "no" >&6; }
12030 - STRIP=$ac_ct_STRIP
12031 + if test "x$ac_ct_STRIP" = x; then
12034 + case $cross_compiling:$ac_tool_warned in
12036 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12037 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12038 +ac_tool_warned=yes ;;
12040 + STRIP=$ac_ct_STRIP
12043 STRIP="$ac_cv_prog_STRIP"
12045 @@ -2023,19 +2639,19 @@ am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
12049 - ac_config_headers="$ac_config_headers config.h"
12050 +ac_config_headers="$ac_config_headers config.h"
12052 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
12053 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
12054 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
12055 +{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
12056 +$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
12057 + # Check whether --enable-maintainer-mode was given.
12058 if test "${enable_maintainer_mode+set}" = set; then
12059 - enableval="$enable_maintainer_mode"
12060 - USE_MAINTAINER_MODE=$enableval
12061 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
12063 USE_MAINTAINER_MODE=no
12065 - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
12066 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
12069 + { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
12070 +$as_echo "$USE_MAINTAINER_MODE" >&6; }
12073 if test $USE_MAINTAINER_MODE = yes; then
12074 @@ -2058,10 +2674,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
12075 if test -n "$ac_tool_prefix"; then
12076 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12077 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12078 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12079 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12080 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12081 +$as_echo_n "checking for $ac_word... " >&6; }
12082 if test "${ac_cv_prog_CC+set}" = set; then
12083 - echo $ECHO_N "(cached) $ECHO_C" >&6
12084 + $as_echo_n "(cached) " >&6
12086 if test -n "$CC"; then
12087 ac_cv_prog_CC="$CC" # Let the user override the test.
12088 @@ -2072,34 +2688,36 @@ do
12090 test -z "$as_dir" && as_dir=.
12091 for ac_exec_ext in '' $ac_executable_extensions; do
12092 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12093 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12094 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12095 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12096 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12106 if test -n "$CC"; then
12107 - echo "$as_me:$LINENO: result: $CC" >&5
12108 -echo "${ECHO_T}$CC" >&6
12109 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
12110 +$as_echo "$CC" >&6; }
12112 - echo "$as_me:$LINENO: result: no" >&5
12113 -echo "${ECHO_T}no" >&6
12114 + { $as_echo "$as_me:$LINENO: result: no" >&5
12115 +$as_echo "no" >&6; }
12120 if test -z "$ac_cv_prog_CC"; then
12122 # Extract the first word of "gcc", so it can be a program name with args.
12123 set dummy gcc; ac_word=$2
12124 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12125 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12126 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12127 +$as_echo_n "checking for $ac_word... " >&6; }
12128 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12129 - echo $ECHO_N "(cached) $ECHO_C" >&6
12130 + $as_echo_n "(cached) " >&6
12132 if test -n "$ac_ct_CC"; then
12133 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12134 @@ -2110,38 +2728,49 @@ do
12136 test -z "$as_dir" && as_dir=.
12137 for ac_exec_ext in '' $ac_executable_extensions; do
12138 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12139 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12140 ac_cv_prog_ac_ct_CC="gcc"
12141 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12142 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12151 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12152 if test -n "$ac_ct_CC"; then
12153 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12154 -echo "${ECHO_T}$ac_ct_CC" >&6
12155 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12156 +$as_echo "$ac_ct_CC" >&6; }
12158 - echo "$as_me:$LINENO: result: no" >&5
12159 -echo "${ECHO_T}no" >&6
12160 + { $as_echo "$as_me:$LINENO: result: no" >&5
12161 +$as_echo "no" >&6; }
12165 + if test "x$ac_ct_CC" = x; then
12168 + case $cross_compiling:$ac_tool_warned in
12170 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12171 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12172 +ac_tool_warned=yes ;;
12177 CC="$ac_cv_prog_CC"
12180 if test -z "$CC"; then
12181 - if test -n "$ac_tool_prefix"; then
12182 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12183 + if test -n "$ac_tool_prefix"; then
12184 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12185 set dummy ${ac_tool_prefix}cc; ac_word=$2
12186 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12187 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12188 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12189 +$as_echo_n "checking for $ac_word... " >&6; }
12190 if test "${ac_cv_prog_CC+set}" = set; then
12191 - echo $ECHO_N "(cached) $ECHO_C" >&6
12192 + $as_echo_n "(cached) " >&6
12194 if test -n "$CC"; then
12195 ac_cv_prog_CC="$CC" # Let the user override the test.
12196 @@ -2152,76 +2781,36 @@ do
12198 test -z "$as_dir" && as_dir=.
12199 for ac_exec_ext in '' $ac_executable_extensions; do
12200 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12201 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12202 ac_cv_prog_CC="${ac_tool_prefix}cc"
12203 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12204 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12214 if test -n "$CC"; then
12215 - echo "$as_me:$LINENO: result: $CC" >&5
12216 -echo "${ECHO_T}$CC" >&6
12217 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
12218 +$as_echo "$CC" >&6; }
12220 - echo "$as_me:$LINENO: result: no" >&5
12221 -echo "${ECHO_T}no" >&6
12222 + { $as_echo "$as_me:$LINENO: result: no" >&5
12223 +$as_echo "no" >&6; }
12227 -if test -z "$ac_cv_prog_CC"; then
12229 - # Extract the first word of "cc", so it can be a program name with args.
12230 -set dummy cc; ac_word=$2
12231 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12232 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12233 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12234 - echo $ECHO_N "(cached) $ECHO_C" >&6
12236 - if test -n "$ac_ct_CC"; then
12237 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12239 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12240 -for as_dir in $PATH
12243 - test -z "$as_dir" && as_dir=.
12244 - for ac_exec_ext in '' $ac_executable_extensions; do
12245 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12246 - ac_cv_prog_ac_ct_CC="cc"
12247 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12255 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
12256 -if test -n "$ac_ct_CC"; then
12257 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12258 -echo "${ECHO_T}$ac_ct_CC" >&6
12260 - echo "$as_me:$LINENO: result: no" >&5
12261 -echo "${ECHO_T}no" >&6
12266 - CC="$ac_cv_prog_CC"
12271 if test -z "$CC"; then
12272 # Extract the first word of "cc", so it can be a program name with args.
12273 set dummy cc; ac_word=$2
12274 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12275 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12276 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12277 +$as_echo_n "checking for $ac_word... " >&6; }
12278 if test "${ac_cv_prog_CC+set}" = set; then
12279 - echo $ECHO_N "(cached) $ECHO_C" >&6
12280 + $as_echo_n "(cached) " >&6
12282 if test -n "$CC"; then
12283 ac_cv_prog_CC="$CC" # Let the user override the test.
12284 @@ -2233,17 +2822,18 @@ do
12286 test -z "$as_dir" && as_dir=.
12287 for ac_exec_ext in '' $ac_executable_extensions; do
12288 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12289 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12290 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12291 ac_prog_rejected=yes
12295 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12296 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12303 if test $ac_prog_rejected = yes; then
12304 # We found a bogon in the path, so make sure we never use it.
12305 @@ -2261,24 +2851,25 @@ fi
12308 if test -n "$CC"; then
12309 - echo "$as_me:$LINENO: result: $CC" >&5
12310 -echo "${ECHO_T}$CC" >&6
12311 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
12312 +$as_echo "$CC" >&6; }
12314 - echo "$as_me:$LINENO: result: no" >&5
12315 -echo "${ECHO_T}no" >&6
12316 + { $as_echo "$as_me:$LINENO: result: no" >&5
12317 +$as_echo "no" >&6; }
12322 if test -z "$CC"; then
12323 if test -n "$ac_tool_prefix"; then
12324 - for ac_prog in cl
12325 + for ac_prog in cl.exe
12327 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12328 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12329 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12330 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12331 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12332 +$as_echo_n "checking for $ac_word... " >&6; }
12333 if test "${ac_cv_prog_CC+set}" = set; then
12334 - echo $ECHO_N "(cached) $ECHO_C" >&6
12335 + $as_echo_n "(cached) " >&6
12337 if test -n "$CC"; then
12338 ac_cv_prog_CC="$CC" # Let the user override the test.
12339 @@ -2289,38 +2880,40 @@ do
12341 test -z "$as_dir" && as_dir=.
12342 for ac_exec_ext in '' $ac_executable_extensions; do
12343 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12344 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12345 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12346 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12347 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12357 if test -n "$CC"; then
12358 - echo "$as_me:$LINENO: result: $CC" >&5
12359 -echo "${ECHO_T}$CC" >&6
12360 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
12361 +$as_echo "$CC" >&6; }
12363 - echo "$as_me:$LINENO: result: no" >&5
12364 -echo "${ECHO_T}no" >&6
12365 + { $as_echo "$as_me:$LINENO: result: no" >&5
12366 +$as_echo "no" >&6; }
12370 test -n "$CC" && break
12373 if test -z "$CC"; then
12375 - for ac_prog in cl
12376 + for ac_prog in cl.exe
12378 # Extract the first word of "$ac_prog", so it can be a program name with args.
12379 set dummy $ac_prog; ac_word=$2
12380 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12381 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12382 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12383 +$as_echo_n "checking for $ac_word... " >&6; }
12384 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12385 - echo $ECHO_N "(cached) $ECHO_C" >&6
12386 + $as_echo_n "(cached) " >&6
12388 if test -n "$ac_ct_CC"; then
12389 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12390 @@ -2331,58 +2924,90 @@ do
12392 test -z "$as_dir" && as_dir=.
12393 for ac_exec_ext in '' $ac_executable_extensions; do
12394 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12395 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12396 ac_cv_prog_ac_ct_CC="$ac_prog"
12397 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12398 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12407 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12408 if test -n "$ac_ct_CC"; then
12409 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12410 -echo "${ECHO_T}$ac_ct_CC" >&6
12411 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12412 +$as_echo "$ac_ct_CC" >&6; }
12414 - echo "$as_me:$LINENO: result: no" >&5
12415 -echo "${ECHO_T}no" >&6
12416 + { $as_echo "$as_me:$LINENO: result: no" >&5
12417 +$as_echo "no" >&6; }
12421 test -n "$ac_ct_CC" && break
12425 + if test "x$ac_ct_CC" = x; then
12428 + case $cross_compiling:$ac_tool_warned in
12430 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12431 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12432 +ac_tool_warned=yes ;;
12441 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12442 +test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12443 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12444 +{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12445 See \`config.log' for more details." >&5
12446 -echo "$as_me: error: no acceptable C compiler found in \$PATH
12447 +$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
12448 See \`config.log' for more details." >&2;}
12449 - { (exit 1); exit 1; }; }
12450 + { (exit 1); exit 1; }; }; }
12452 # Provide some information about the compiler.
12453 -echo "$as_me:$LINENO:" \
12454 - "checking for C compiler version" >&5
12455 -ac_compiler=`set X $ac_compile; echo $2`
12456 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12457 - (eval $ac_compiler --version </dev/null >&5) 2>&5
12458 +$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
12461 +{ (ac_try="$ac_compiler --version >&5"
12462 +case "(($ac_try" in
12463 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12464 + *) ac_try_echo=$ac_try;;
12466 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12467 +$as_echo "$ac_try_echo") >&5
12468 + (eval "$ac_compiler --version >&5") 2>&5
12470 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12472 (exit $ac_status); }
12473 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12474 - (eval $ac_compiler -v </dev/null >&5) 2>&5
12475 +{ (ac_try="$ac_compiler -v >&5"
12476 +case "(($ac_try" in
12477 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12478 + *) ac_try_echo=$ac_try;;
12480 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12481 +$as_echo "$ac_try_echo") >&5
12482 + (eval "$ac_compiler -v >&5") 2>&5
12484 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12485 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12486 (exit $ac_status); }
12487 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12488 - (eval $ac_compiler -V </dev/null >&5) 2>&5
12489 +{ (ac_try="$ac_compiler -V >&5"
12490 +case "(($ac_try" in
12491 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12492 + *) ac_try_echo=$ac_try;;
12494 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12495 +$as_echo "$ac_try_echo") >&5
12496 + (eval "$ac_compiler -V >&5") 2>&5
12498 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12499 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12500 (exit $ac_status); }
12502 cat >conftest.$ac_ext <<_ACEOF
12503 @@ -2401,111 +3026,150 @@ main ()
12506 ac_clean_files_save=$ac_clean_files
12507 -ac_clean_files="$ac_clean_files a.out a.exe b.out"
12508 +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
12509 # Try to create an executable without -o first, disregard a.out.
12510 # It will help us diagnose broken compilers, and finding out an intuition
12512 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12513 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12514 -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12515 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12516 - (eval $ac_link_default) 2>&5
12517 +{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12518 +$as_echo_n "checking for C compiler default output file name... " >&6; }
12519 +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12521 +# The possible output files:
12522 +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
12525 +for ac_file in $ac_files
12528 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
12529 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
12534 +if { (ac_try="$ac_link_default"
12535 +case "(($ac_try" in
12536 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12537 + *) ac_try_echo=$ac_try;;
12539 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12540 +$as_echo "$ac_try_echo") >&5
12541 + (eval "$ac_link_default") 2>&5
12543 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12544 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); }; then
12546 - # Find the output, starting from the most likely. This scheme is
12547 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
12550 -# Be careful to initialize this variable, since it used to be cached.
12551 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12553 -# b.out is created by i960 compilers.
12554 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12555 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
12556 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
12557 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
12558 +# so that the user can short-circuit this test for compilers unknown to
12560 +for ac_file in $ac_files ''
12562 test -f "$ac_file" || continue
12564 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12566 - conftest.$ac_ext )
12567 - # This is the source file.
12568 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
12571 # We found the default executable, but exeext='' is most
12575 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12576 - # FIXME: I believe we export ac_cv_exeext for Libtool,
12577 - # but it would be cool to find out if it's true. Does anybody
12578 - # maintain Libtool? --akim.
12579 - export ac_cv_exeext
12580 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
12582 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12584 + # We set ac_cv_exeext here because the later test for it is not
12585 + # safe: cross compilers may not add the suffix if given an `-o'
12586 + # argument, so we may need to know it at that point already.
12587 + # Even if this section looks crufty: it has the advantage of
12588 + # actually working.
12594 +test "$ac_cv_exeext" = no && ac_cv_exeext=
12597 - echo "$as_me: failed program was:" >&5
12601 +{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
12602 +$as_echo "$ac_file" >&6; }
12603 +if test -z "$ac_file"; then
12604 + $as_echo "$as_me: failed program was:" >&5
12605 sed 's/^/| /' conftest.$ac_ext >&5
12607 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
12608 +{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12609 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12610 +{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
12611 See \`config.log' for more details." >&5
12612 -echo "$as_me: error: C compiler cannot create executables
12613 +$as_echo "$as_me: error: C compiler cannot create executables
12614 See \`config.log' for more details." >&2;}
12615 - { (exit 77); exit 77; }; }
12616 + { (exit 77); exit 77; }; }; }
12619 ac_exeext=$ac_cv_exeext
12620 -echo "$as_me:$LINENO: result: $ac_file" >&5
12621 -echo "${ECHO_T}$ac_file" >&6
12623 -# Check the compiler produces executables we can run. If not, either
12624 +# Check that the compiler produces executables we can run. If not, either
12625 # the compiler is broken, or we cross compile.
12626 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12627 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12628 +{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12629 +$as_echo_n "checking whether the C compiler works... " >&6; }
12630 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12631 # If not cross compiling, check that we can run a simple program.
12632 if test "$cross_compiling" != yes; then
12633 if { ac_try='./$ac_file'
12634 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12635 - (eval $ac_try) 2>&5
12636 + { (case "(($ac_try" in
12637 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12638 + *) ac_try_echo=$ac_try;;
12640 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12641 +$as_echo "$ac_try_echo") >&5
12642 + (eval "$ac_try") 2>&5
12644 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); }; }; then
12649 if test "$cross_compiling" = maybe; then
12650 cross_compiling=yes
12652 - { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12653 + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12654 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12655 +{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
12656 If you meant to cross compile, use \`--host'.
12657 See \`config.log' for more details." >&5
12658 -echo "$as_me: error: cannot run C compiled programs.
12659 +$as_echo "$as_me: error: cannot run C compiled programs.
12660 If you meant to cross compile, use \`--host'.
12661 See \`config.log' for more details." >&2;}
12662 - { (exit 1); exit 1; }; }
12663 + { (exit 1); exit 1; }; }; }
12667 -echo "$as_me:$LINENO: result: yes" >&5
12668 -echo "${ECHO_T}yes" >&6
12669 +{ $as_echo "$as_me:$LINENO: result: yes" >&5
12670 +$as_echo "yes" >&6; }
12672 -rm -f a.out a.exe conftest$ac_cv_exeext b.out
12673 +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
12674 ac_clean_files=$ac_clean_files_save
12675 -# Check the compiler produces executables we can run. If not, either
12676 +# Check that the compiler produces executables we can run. If not, either
12677 # the compiler is broken, or we cross compile.
12678 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12679 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12680 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
12681 -echo "${ECHO_T}$cross_compiling" >&6
12683 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
12684 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12685 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12686 - (eval $ac_link) 2>&5
12687 +{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12688 +$as_echo_n "checking whether we are cross compiling... " >&6; }
12689 +{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
12690 +$as_echo "$cross_compiling" >&6; }
12692 +{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
12693 +$as_echo_n "checking for suffix of executables... " >&6; }
12694 +if { (ac_try="$ac_link"
12695 +case "(($ac_try" in
12696 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12697 + *) ac_try_echo=$ac_try;;
12699 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12700 +$as_echo "$ac_try_echo") >&5
12701 + (eval "$ac_link") 2>&5
12703 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12704 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12705 (exit $ac_status); }; then
12706 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12707 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12708 @@ -2514,32 +3178,33 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12709 for ac_file in conftest.exe conftest conftest.*; do
12710 test -f "$ac_file" || continue
12712 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12713 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
12714 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12715 - export ac_cv_exeext
12721 - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12722 + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12723 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12724 +{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12725 See \`config.log' for more details." >&5
12726 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12727 +$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12728 See \`config.log' for more details." >&2;}
12729 - { (exit 1); exit 1; }; }
12730 + { (exit 1); exit 1; }; }; }
12733 rm -f conftest$ac_cv_exeext
12734 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12735 -echo "${ECHO_T}$ac_cv_exeext" >&6
12736 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12737 +$as_echo "$ac_cv_exeext" >&6; }
12739 rm -f conftest.$ac_ext
12740 EXEEXT=$ac_cv_exeext
12742 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
12743 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12744 +{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
12745 +$as_echo_n "checking for suffix of object files... " >&6; }
12746 if test "${ac_cv_objext+set}" = set; then
12747 - echo $ECHO_N "(cached) $ECHO_C" >&6
12748 + $as_echo_n "(cached) " >&6
12750 cat >conftest.$ac_ext <<_ACEOF
12752 @@ -2557,39 +3222,48 @@ main ()
12755 rm -f conftest.o conftest.obj
12756 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12757 - (eval $ac_compile) 2>&5
12758 +if { (ac_try="$ac_compile"
12759 +case "(($ac_try" in
12760 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12761 + *) ac_try_echo=$ac_try;;
12763 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12764 +$as_echo "$ac_try_echo") >&5
12765 + (eval "$ac_compile") 2>&5
12767 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769 (exit $ac_status); }; then
12770 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12771 + for ac_file in conftest.o conftest.obj conftest.*; do
12772 + test -f "$ac_file" || continue;
12774 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12775 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
12776 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12781 - echo "$as_me: failed program was:" >&5
12782 + $as_echo "$as_me: failed program was:" >&5
12783 sed 's/^/| /' conftest.$ac_ext >&5
12785 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12786 +{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12787 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12788 +{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12789 See \`config.log' for more details." >&5
12790 -echo "$as_me: error: cannot compute suffix of object files: cannot compile
12791 +$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
12792 See \`config.log' for more details." >&2;}
12793 - { (exit 1); exit 1; }; }
12794 + { (exit 1); exit 1; }; }; }
12797 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12799 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12800 -echo "${ECHO_T}$ac_cv_objext" >&6
12801 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12802 +$as_echo "$ac_cv_objext" >&6; }
12803 OBJEXT=$ac_cv_objext
12805 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12806 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12807 +{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12808 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12809 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12810 - echo $ECHO_N "(cached) $ECHO_C" >&6
12811 + $as_echo_n "(cached) " >&6
12813 cat >conftest.$ac_ext <<_ACEOF
12815 @@ -2610,50 +3284,54 @@ main ()
12818 rm -f conftest.$ac_objext
12819 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12820 - (eval $ac_compile) 2>conftest.er1
12821 +if { (ac_try="$ac_compile"
12822 +case "(($ac_try" in
12823 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12824 + *) ac_try_echo=$ac_try;;
12826 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12827 +$as_echo "$ac_try_echo") >&5
12828 + (eval "$ac_compile") 2>conftest.er1
12830 grep -v '^ *+' conftest.er1 >conftest.err
12832 cat conftest.err >&5
12833 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12834 - (exit $ac_status); } &&
12835 - { ac_try='test -z "$ac_c_werror_flag"
12836 - || test ! -s conftest.err'
12837 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12838 - (eval $ac_try) 2>&5
12840 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12841 - (exit $ac_status); }; } &&
12842 - { ac_try='test -s conftest.$ac_objext'
12843 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12844 - (eval $ac_try) 2>&5
12846 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12847 - (exit $ac_status); }; }; then
12848 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 + (exit $ac_status); } && {
12850 + test -z "$ac_c_werror_flag" ||
12851 + test ! -s conftest.err
12852 + } && test -s conftest.$ac_objext; then
12853 ac_compiler_gnu=yes
12855 - echo "$as_me: failed program was:" >&5
12856 + $as_echo "$as_me: failed program was:" >&5
12857 sed 's/^/| /' conftest.$ac_ext >&5
12859 -ac_compiler_gnu=no
12860 + ac_compiler_gnu=no
12862 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12864 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12865 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12868 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12869 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12870 -GCC=`test $ac_compiler_gnu = yes && echo yes`
12871 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12872 +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
12873 +if test $ac_compiler_gnu = yes; then
12878 ac_test_CFLAGS=${CFLAGS+set}
12879 ac_save_CFLAGS=$CFLAGS
12881 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12882 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12883 +{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12884 +$as_echo_n "checking whether $CC accepts -g... " >&6; }
12885 if test "${ac_cv_prog_cc_g+set}" = set; then
12886 - echo $ECHO_N "(cached) $ECHO_C" >&6
12887 + $as_echo_n "(cached) " >&6
12889 - cat >conftest.$ac_ext <<_ACEOF
12890 + ac_save_c_werror_flag=$ac_c_werror_flag
12891 + ac_c_werror_flag=yes
12892 + ac_cv_prog_cc_g=no
12894 + cat >conftest.$ac_ext <<_ACEOF
12897 cat confdefs.h >>conftest.$ac_ext
12898 @@ -2669,38 +3347,121 @@ main ()
12901 rm -f conftest.$ac_objext
12902 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12903 - (eval $ac_compile) 2>conftest.er1
12904 +if { (ac_try="$ac_compile"
12905 +case "(($ac_try" in
12906 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12907 + *) ac_try_echo=$ac_try;;
12909 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12910 +$as_echo "$ac_try_echo") >&5
12911 + (eval "$ac_compile") 2>conftest.er1
12913 grep -v '^ *+' conftest.er1 >conftest.err
12915 cat conftest.err >&5
12916 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917 - (exit $ac_status); } &&
12918 - { ac_try='test -z "$ac_c_werror_flag"
12919 - || test ! -s conftest.err'
12920 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12921 - (eval $ac_try) 2>&5
12922 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12923 + (exit $ac_status); } && {
12924 + test -z "$ac_c_werror_flag" ||
12925 + test ! -s conftest.err
12926 + } && test -s conftest.$ac_objext; then
12927 + ac_cv_prog_cc_g=yes
12929 + $as_echo "$as_me: failed program was:" >&5
12930 +sed 's/^/| /' conftest.$ac_ext >&5
12933 + cat >conftest.$ac_ext <<_ACEOF
12936 +cat confdefs.h >>conftest.$ac_ext
12937 +cat >>conftest.$ac_ext <<_ACEOF
12938 +/* end confdefs.h. */
12948 +rm -f conftest.$ac_objext
12949 +if { (ac_try="$ac_compile"
12950 +case "(($ac_try" in
12951 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12952 + *) ac_try_echo=$ac_try;;
12954 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12955 +$as_echo "$ac_try_echo") >&5
12956 + (eval "$ac_compile") 2>conftest.er1
12958 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959 - (exit $ac_status); }; } &&
12960 - { ac_try='test -s conftest.$ac_objext'
12961 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12962 - (eval $ac_try) 2>&5
12963 + grep -v '^ *+' conftest.er1 >conftest.err
12964 + rm -f conftest.er1
12965 + cat conftest.err >&5
12966 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12967 + (exit $ac_status); } && {
12968 + test -z "$ac_c_werror_flag" ||
12969 + test ! -s conftest.err
12970 + } && test -s conftest.$ac_objext; then
12973 + $as_echo "$as_me: failed program was:" >&5
12974 +sed 's/^/| /' conftest.$ac_ext >&5
12976 + ac_c_werror_flag=$ac_save_c_werror_flag
12978 + cat >conftest.$ac_ext <<_ACEOF
12981 +cat confdefs.h >>conftest.$ac_ext
12982 +cat >>conftest.$ac_ext <<_ACEOF
12983 +/* end confdefs.h. */
12993 +rm -f conftest.$ac_objext
12994 +if { (ac_try="$ac_compile"
12995 +case "(($ac_try" in
12996 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12997 + *) ac_try_echo=$ac_try;;
12999 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13000 +$as_echo "$ac_try_echo") >&5
13001 + (eval "$ac_compile") 2>conftest.er1
13003 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13004 - (exit $ac_status); }; }; then
13005 + grep -v '^ *+' conftest.er1 >conftest.err
13006 + rm -f conftest.er1
13007 + cat conftest.err >&5
13008 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13009 + (exit $ac_status); } && {
13010 + test -z "$ac_c_werror_flag" ||
13011 + test ! -s conftest.err
13012 + } && test -s conftest.$ac_objext; then
13013 ac_cv_prog_cc_g=yes
13015 - echo "$as_me: failed program was:" >&5
13016 + $as_echo "$as_me: failed program was:" >&5
13017 sed 's/^/| /' conftest.$ac_ext >&5
13019 -ac_cv_prog_cc_g=no
13023 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13026 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13028 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13030 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13031 + ac_c_werror_flag=$ac_save_c_werror_flag
13033 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13034 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13035 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13036 +$as_echo "$ac_cv_prog_cc_g" >&6; }
13037 if test "$ac_test_CFLAGS" = set; then
13038 CFLAGS=$ac_save_CFLAGS
13039 elif test $ac_cv_prog_cc_g = yes; then
13040 @@ -2716,12 +3477,12 @@ else
13044 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
13045 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
13046 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
13047 - echo $ECHO_N "(cached) $ECHO_C" >&6
13048 +{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13049 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13050 +if test "${ac_cv_prog_cc_c89+set}" = set; then
13051 + $as_echo_n "(cached) " >&6
13053 - ac_cv_prog_cc_stdc=no
13054 + ac_cv_prog_cc_c89=no
13056 cat >conftest.$ac_ext <<_ACEOF
13058 @@ -2755,12 +3516,17 @@ static char *f (char * (*g) (char **, int), char **p, ...)
13059 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13060 function prototypes and stuff, but not '\xHH' hex character constants.
13061 These don't provoke an error unfortunately, instead are silently treated
13062 - as 'x'. The following induces an error, until -std1 is added to get
13063 + as 'x'. The following induces an error, until -std is added to get
13064 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13065 array size at least. It's necessary to write '\x00'==0 to get something
13066 - that's true only with -std1. */
13067 + that's true only with -std. */
13068 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13070 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13071 + inside strings and character constants. */
13072 +#define FOO(x) 'x'
13073 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13075 int test (int i, double x);
13076 struct s1 {int (*f) (int a);};
13077 struct s2 {int (*f) (double a);};
13078 @@ -2775,205 +3541,58 @@ return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13082 -# Don't try gcc -ansi; that turns off useful extensions and
13083 -# breaks some systems' header files.
13084 -# AIX -qlanglvl=ansi
13085 -# Ultrix and OSF/1 -std1
13086 -# HP-UX 10.20 and later -Ae
13087 -# HP-UX older versions -Aa -D_HPUX_SOURCE
13088 -# SVR4 -Xc -D__EXTENSIONS__
13089 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13090 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13091 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13093 CC="$ac_save_CC $ac_arg"
13094 rm -f conftest.$ac_objext
13095 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13096 - (eval $ac_compile) 2>conftest.er1
13097 +if { (ac_try="$ac_compile"
13098 +case "(($ac_try" in
13099 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13100 + *) ac_try_echo=$ac_try;;
13102 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13103 +$as_echo "$ac_try_echo") >&5
13104 + (eval "$ac_compile") 2>conftest.er1
13106 grep -v '^ *+' conftest.er1 >conftest.err
13108 cat conftest.err >&5
13109 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 - (exit $ac_status); } &&
13111 - { ac_try='test -z "$ac_c_werror_flag"
13112 - || test ! -s conftest.err'
13113 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13114 - (eval $ac_try) 2>&5
13116 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 - (exit $ac_status); }; } &&
13118 - { ac_try='test -s conftest.$ac_objext'
13119 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13120 - (eval $ac_try) 2>&5
13122 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13123 - (exit $ac_status); }; }; then
13124 - ac_cv_prog_cc_stdc=$ac_arg
13127 - echo "$as_me: failed program was:" >&5
13128 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129 + (exit $ac_status); } && {
13130 + test -z "$ac_c_werror_flag" ||
13131 + test ! -s conftest.err
13132 + } && test -s conftest.$ac_objext; then
13133 + ac_cv_prog_cc_c89=$ac_arg
13135 + $as_echo "$as_me: failed program was:" >&5
13136 sed 's/^/| /' conftest.$ac_ext >&5
13140 -rm -f conftest.err conftest.$ac_objext
13142 +rm -f core conftest.err conftest.$ac_objext
13143 + test "x$ac_cv_prog_cc_c89" != "xno" && break
13145 -rm -f conftest.$ac_ext conftest.$ac_objext
13146 +rm -f conftest.$ac_ext
13151 -case "x$ac_cv_prog_cc_stdc" in
13153 - echo "$as_me:$LINENO: result: none needed" >&5
13154 -echo "${ECHO_T}none needed" >&6 ;;
13156 +case "x$ac_cv_prog_cc_c89" in
13158 + { $as_echo "$as_me:$LINENO: result: none needed" >&5
13159 +$as_echo "none needed" >&6; } ;;
13161 + { $as_echo "$as_me:$LINENO: result: unsupported" >&5
13162 +$as_echo "unsupported" >&6; } ;;
13164 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
13165 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
13166 - CC="$CC $ac_cv_prog_cc_stdc" ;;
13167 + CC="$CC $ac_cv_prog_cc_c89"
13168 + { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13169 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13172 -# Some people use a C++ compiler to compile C. Since we use `exit',
13173 -# in C++ we need to declare it. In case someone uses the same compiler
13174 -# for both compiling C and C++ we need to have the C++ compiler decide
13175 -# the declaration of exit, since it's the most demanding environment.
13176 -cat >conftest.$ac_ext <<_ACEOF
13177 -#ifndef __cplusplus
13181 -rm -f conftest.$ac_objext
13182 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13183 - (eval $ac_compile) 2>conftest.er1
13185 - grep -v '^ *+' conftest.er1 >conftest.err
13186 - rm -f conftest.er1
13187 - cat conftest.err >&5
13188 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13189 - (exit $ac_status); } &&
13190 - { ac_try='test -z "$ac_c_werror_flag"
13191 - || test ! -s conftest.err'
13192 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13193 - (eval $ac_try) 2>&5
13195 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13196 - (exit $ac_status); }; } &&
13197 - { ac_try='test -s conftest.$ac_objext'
13198 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13199 - (eval $ac_try) 2>&5
13201 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13202 - (exit $ac_status); }; }; then
13203 - for ac_declaration in \
13205 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
13206 - 'extern "C" void std::exit (int); using std::exit;' \
13207 - 'extern "C" void exit (int) throw ();' \
13208 - 'extern "C" void exit (int);' \
13209 - 'void exit (int);'
13211 - cat >conftest.$ac_ext <<_ACEOF
13214 -cat confdefs.h >>conftest.$ac_ext
13215 -cat >>conftest.$ac_ext <<_ACEOF
13216 -/* end confdefs.h. */
13218 -#include <stdlib.h>
13227 -rm -f conftest.$ac_objext
13228 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13229 - (eval $ac_compile) 2>conftest.er1
13231 - grep -v '^ *+' conftest.er1 >conftest.err
13232 - rm -f conftest.er1
13233 - cat conftest.err >&5
13234 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13235 - (exit $ac_status); } &&
13236 - { ac_try='test -z "$ac_c_werror_flag"
13237 - || test ! -s conftest.err'
13238 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13239 - (eval $ac_try) 2>&5
13241 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 - (exit $ac_status); }; } &&
13243 - { ac_try='test -s conftest.$ac_objext'
13244 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13245 - (eval $ac_try) 2>&5
13247 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 - (exit $ac_status); }; }; then
13251 - echo "$as_me: failed program was:" >&5
13252 -sed 's/^/| /' conftest.$ac_ext >&5
13256 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13257 - cat >conftest.$ac_ext <<_ACEOF
13260 -cat confdefs.h >>conftest.$ac_ext
13261 -cat >>conftest.$ac_ext <<_ACEOF
13262 -/* end confdefs.h. */
13272 -rm -f conftest.$ac_objext
13273 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13274 - (eval $ac_compile) 2>conftest.er1
13276 - grep -v '^ *+' conftest.er1 >conftest.err
13277 - rm -f conftest.er1
13278 - cat conftest.err >&5
13279 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 - (exit $ac_status); } &&
13281 - { ac_try='test -z "$ac_c_werror_flag"
13282 - || test ! -s conftest.err'
13283 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13284 - (eval $ac_try) 2>&5
13286 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13287 - (exit $ac_status); }; } &&
13288 - { ac_try='test -s conftest.$ac_objext'
13289 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13290 - (eval $ac_try) 2>&5
13292 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293 - (exit $ac_status); }; }; then
13296 - echo "$as_me: failed program was:" >&5
13297 -sed 's/^/| /' conftest.$ac_ext >&5
13300 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13303 -if test -n "$ac_declaration"; then
13304 - echo '#ifdef __cplusplus' >>confdefs.h
13305 - echo $ac_declaration >>confdefs.h
13306 - echo '#endif' >>confdefs.h
13310 - echo "$as_me: failed program was:" >&5
13311 -sed 's/^/| /' conftest.$ac_ext >&5
13314 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13316 ac_cpp='$CPP $CPPFLAGS'
13317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13318 @@ -2981,7 +3600,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
13319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13320 DEPDIR="${am__leading_dot}deps"
13322 - ac_config_commands="$ac_config_commands depfiles"
13323 +ac_config_commands="$ac_config_commands depfiles"
13326 am_make=${MAKE-make}
13327 @@ -2991,8 +3610,8 @@ am__doit:
13330 # If we don't find an include directive, just comment out the code.
13331 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
13332 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
13333 +{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
13334 +$as_echo_n "checking for style of include used by $am_make... " >&6; }
13338 @@ -3019,15 +3638,15 @@ if test "$am__include" = "#"; then
13342 -echo "$as_me:$LINENO: result: $_am_result" >&5
13343 -echo "${ECHO_T}$_am_result" >&6
13344 +{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
13345 +$as_echo "$_am_result" >&6; }
13346 rm -f confinc confmf
13348 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
13349 +# Check whether --enable-dependency-tracking was given.
13350 if test "${enable_dependency_tracking+set}" = set; then
13351 - enableval="$enable_dependency_tracking"
13352 + enableval=$enable_dependency_tracking;
13356 if test "x$enable_dependency_tracking" != xno; then
13357 am_depcomp="$ac_aux_dir/depcomp"
13359 @@ -3047,10 +3666,10 @@ fi
13361 depcc="$CC" am_compiler_list=
13363 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13364 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
13365 +{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13366 +$as_echo_n "checking dependency style of $depcc... " >&6; }
13367 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
13368 - echo $ECHO_N "(cached) $ECHO_C" >&6
13369 + $as_echo_n "(cached) " >&6
13371 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13372 # We make a subdir and do the tests there. Otherwise we can end up
13373 @@ -3137,8 +3756,8 @@ else
13377 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
13378 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
13379 +{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
13380 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13381 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13384 @@ -3155,10 +3774,9 @@ fi
13388 -# Check whether --enable-static or --disable-static was given.
13389 +# Check whether --enable-static was given.
13390 if test "${enable_static+set}" = set; then
13391 - enableval="$enable_static"
13392 - p=${PACKAGE-default}
13393 + enableval=$enable_static; p=${PACKAGE-default}
13395 yes) enable_static=yes ;;
13396 no) enable_static=no ;;
13397 @@ -3177,13 +3795,13 @@ if test "${enable_static+set}" = set; then
13405 -# Check whether --enable-shared or --disable-shared was given.
13407 +# Check whether --enable-shared was given.
13408 if test "${enable_shared+set}" = set; then
13409 - enableval="$enable_shared"
13410 - p=${PACKAGE-default}
13411 + enableval=$enable_shared; p=${PACKAGE-default}
13413 yes) enable_shared=yes ;;
13414 no) enable_shared=no ;;
13415 @@ -3202,12 +3820,12 @@ if test "${enable_shared+set}" = set; then
13422 -# Check whether --enable-fast-install or --disable-fast-install was given.
13424 +# Check whether --enable-fast-install was given.
13425 if test "${enable_fast_install+set}" = set; then
13426 - enableval="$enable_fast_install"
13427 - p=${PACKAGE-default}
13428 + enableval=$enable_fast_install; p=${PACKAGE-default}
13430 yes) enable_fast_install=yes ;;
13431 no) enable_fast_install=no ;;
13432 @@ -3226,12 +3844,13 @@ if test "${enable_fast_install+set}" = set; then
13435 enable_fast_install=yes
13439 -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
13440 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
13442 +{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
13443 +$as_echo_n "checking for a sed that does not truncate output... " >&6; }
13444 if test "${lt_cv_path_SED+set}" = set; then
13445 - echo $ECHO_N "(cached) $ECHO_C" >&6
13446 + $as_echo_n "(cached) " >&6
13448 # Loop through the user's path and test for sed and gsed.
13449 # Then use that list of sed's as ones to test for truncation.
13450 @@ -3242,18 +3861,19 @@ do
13451 test -z "$as_dir" && as_dir=.
13452 for lt_ac_prog in sed gsed; do
13453 for ac_exec_ext in '' $ac_executable_extensions; do
13454 - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
13455 + if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
13456 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
13464 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
13465 # along with /bin/sed that truncates output.
13466 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
13467 - test ! -f $lt_ac_sed && break
13468 + test ! -f $lt_ac_sed && continue
13469 cat /dev/null > conftest.in
13471 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
13472 @@ -3278,41 +3898,161 @@ for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
13479 SED=$lt_cv_path_SED
13481 +{ $as_echo "$as_me:$LINENO: result: $SED" >&5
13482 +$as_echo "$SED" >&6; }
13484 +{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
13485 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
13486 +if test "${ac_cv_path_GREP+set}" = set; then
13487 + $as_echo_n "(cached) " >&6
13489 + if test -z "$GREP"; then
13490 + ac_path_GREP_found=false
13491 + # Loop through the user's path and test for each of PROGNAME-LIST
13492 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13493 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
13496 + test -z "$as_dir" && as_dir=.
13497 + for ac_prog in grep ggrep; do
13498 + for ac_exec_ext in '' $ac_executable_extensions; do
13499 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
13500 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
13501 +# Check for GNU ac_path_GREP and select it if it is found.
13502 + # Check for GNU $ac_path_GREP
13503 +case `"$ac_path_GREP" --version 2>&1` in
13505 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
13508 + $as_echo_n 0123456789 >"conftest.in"
13511 + cat "conftest.in" "conftest.in" >"conftest.tmp"
13512 + mv "conftest.tmp" "conftest.in"
13513 + cp "conftest.in" "conftest.nl"
13514 + $as_echo 'GREP' >> "conftest.nl"
13515 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
13516 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
13517 + ac_count=`expr $ac_count + 1`
13518 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
13519 + # Best one so far, save it but keep looking for a better one
13520 + ac_cv_path_GREP="$ac_path_GREP"
13521 + ac_path_GREP_max=$ac_count
13523 + # 10*(2^10) chars as input seems more than enough
13524 + test $ac_count -gt 10 && break
13526 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
13529 + $ac_path_GREP_found && break 3
13534 + if test -z "$ac_cv_path_GREP"; then
13535 + { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
13536 +$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
13537 + { (exit 1); exit 1; }; }
13540 + ac_cv_path_GREP=$GREP
13543 -echo "$as_me:$LINENO: result: $SED" >&5
13544 -echo "${ECHO_T}$SED" >&6
13546 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
13547 +$as_echo "$ac_cv_path_GREP" >&6; }
13548 + GREP="$ac_cv_path_GREP"
13550 -echo "$as_me:$LINENO: checking for egrep" >&5
13551 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13552 -if test "${ac_cv_prog_egrep+set}" = set; then
13553 - echo $ECHO_N "(cached) $ECHO_C" >&6
13555 +{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
13556 +$as_echo_n "checking for egrep... " >&6; }
13557 +if test "${ac_cv_path_EGREP+set}" = set; then
13558 + $as_echo_n "(cached) " >&6
13560 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13561 - then ac_cv_prog_egrep='grep -E'
13562 - else ac_cv_prog_egrep='egrep'
13563 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
13564 + then ac_cv_path_EGREP="$GREP -E"
13566 + if test -z "$EGREP"; then
13567 + ac_path_EGREP_found=false
13568 + # Loop through the user's path and test for each of PROGNAME-LIST
13569 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13570 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
13573 + test -z "$as_dir" && as_dir=.
13574 + for ac_prog in egrep; do
13575 + for ac_exec_ext in '' $ac_executable_extensions; do
13576 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
13577 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
13578 +# Check for GNU ac_path_EGREP and select it if it is found.
13579 + # Check for GNU $ac_path_EGREP
13580 +case `"$ac_path_EGREP" --version 2>&1` in
13582 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
13585 + $as_echo_n 0123456789 >"conftest.in"
13588 + cat "conftest.in" "conftest.in" >"conftest.tmp"
13589 + mv "conftest.tmp" "conftest.in"
13590 + cp "conftest.in" "conftest.nl"
13591 + $as_echo 'EGREP' >> "conftest.nl"
13592 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
13593 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
13594 + ac_count=`expr $ac_count + 1`
13595 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
13596 + # Best one so far, save it but keep looking for a better one
13597 + ac_cv_path_EGREP="$ac_path_EGREP"
13598 + ac_path_EGREP_max=$ac_count
13600 + # 10*(2^10) chars as input seems more than enough
13601 + test $ac_count -gt 10 && break
13603 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
13606 + $ac_path_EGREP_found && break 3
13611 + if test -z "$ac_cv_path_EGREP"; then
13612 + { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
13613 +$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
13614 + { (exit 1); exit 1; }; }
13617 + ac_cv_path_EGREP=$EGREP
13619 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13620 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13621 - EGREP=$ac_cv_prog_egrep
13625 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
13626 +$as_echo "$ac_cv_path_EGREP" >&6; }
13627 + EGREP="$ac_cv_path_EGREP"
13631 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
13632 +# Check whether --with-gnu-ld was given.
13633 if test "${with_gnu_ld+set}" = set; then
13634 - withval="$with_gnu_ld"
13635 - test "$withval" = no || with_gnu_ld=yes
13636 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13643 if test "$GCC" = yes; then
13644 # Check if gcc -print-prog-name=ld gives a path.
13645 - echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13646 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
13647 + { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13648 +$as_echo_n "checking for ld used by $CC... " >&6; }
13651 # gcc leaves a trailing carriage return which upsets mingw
13652 @@ -3341,14 +4081,14 @@ echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
13655 elif test "$with_gnu_ld" = yes; then
13656 - echo "$as_me:$LINENO: checking for GNU ld" >&5
13657 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
13658 + { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
13659 +$as_echo_n "checking for GNU ld... " >&6; }
13661 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13662 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
13663 + { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13664 +$as_echo_n "checking for non-GNU ld... " >&6; }
13666 if test "${lt_cv_path_LD+set}" = set; then
13667 - echo $ECHO_N "(cached) $ECHO_C" >&6
13668 + $as_echo_n "(cached) " >&6
13670 if test -z "$LD"; then
13671 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13672 @@ -3358,7 +4098,7 @@ else
13673 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13674 lt_cv_path_LD="$ac_dir/$ac_prog"
13675 # Check to see if the program is GNU ld. I'd rather use --version,
13676 - # but apparently some GNU ld's only accept -v.
13677 + # but apparently some variants of GNU ld only accept -v.
13678 # Break only if it was the GNU/non-GNU ld that we prefer.
13679 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13680 *GNU* | *'with BFD'*)
13681 @@ -3378,21 +4118,21 @@ fi
13683 LD="$lt_cv_path_LD"
13684 if test -n "$LD"; then
13685 - echo "$as_me:$LINENO: result: $LD" >&5
13686 -echo "${ECHO_T}$LD" >&6
13687 + { $as_echo "$as_me:$LINENO: result: $LD" >&5
13688 +$as_echo "$LD" >&6; }
13690 - echo "$as_me:$LINENO: result: no" >&5
13691 -echo "${ECHO_T}no" >&6
13692 + { $as_echo "$as_me:$LINENO: result: no" >&5
13693 +$as_echo "no" >&6; }
13695 -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13696 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13697 +test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13698 +$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13699 { (exit 1); exit 1; }; }
13700 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13701 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
13702 +{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13703 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13704 if test "${lt_cv_prog_gnu_ld+set}" = set; then
13705 - echo $ECHO_N "(cached) $ECHO_C" >&6
13706 + $as_echo_n "(cached) " >&6
13708 - # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13709 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
13710 case `$LD -v 2>&1 </dev/null` in
13711 *GNU* | *'with BFD'*)
13712 lt_cv_prog_gnu_ld=yes
13713 @@ -3402,88 +4142,104 @@ case `$LD -v 2>&1 </dev/null` in
13717 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13718 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
13719 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13720 +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
13721 with_gnu_ld=$lt_cv_prog_gnu_ld
13724 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
13725 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
13726 +{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
13727 +$as_echo_n "checking for $LD option to reload object files... " >&6; }
13728 if test "${lt_cv_ld_reload_flag+set}" = set; then
13729 - echo $ECHO_N "(cached) $ECHO_C" >&6
13730 + $as_echo_n "(cached) " >&6
13732 lt_cv_ld_reload_flag='-r'
13734 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
13735 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
13736 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
13737 +$as_echo "$lt_cv_ld_reload_flag" >&6; }
13738 reload_flag=$lt_cv_ld_reload_flag
13739 case $reload_flag in
13741 *) reload_flag=" $reload_flag" ;;
13743 reload_cmds='$LD$reload_flag -o $output$reload_objs'
13746 + if test "$GCC" = yes; then
13747 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
13749 + reload_cmds='$LD$reload_flag -o $output$reload_objs'
13754 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
13755 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
13756 +{ $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
13757 +$as_echo_n "checking for BSD-compatible nm... " >&6; }
13758 if test "${lt_cv_path_NM+set}" = set; then
13759 - echo $ECHO_N "(cached) $ECHO_C" >&6
13760 + $as_echo_n "(cached) " >&6
13762 if test -n "$NM"; then
13763 # Let the user override the test.
13764 lt_cv_path_NM="$NM"
13766 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13767 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
13768 - IFS="$lt_save_ifs"
13769 - test -z "$ac_dir" && ac_dir=.
13770 - tmp_nm="$ac_dir/${ac_tool_prefix}nm"
13771 - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
13772 - # Check to see if the nm accepts a BSD-compat flag.
13773 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
13774 - # nm: unknown option "B" ignored
13775 - # Tru64's nm complains that /dev/null is an invalid object file
13776 - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
13777 - */dev/null* | *'Invalid file or object type'*)
13778 - lt_cv_path_NM="$tmp_nm -B"
13782 - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
13784 - lt_cv_path_NM="$tmp_nm -p"
13785 + lt_nm_to_check="${ac_tool_prefix}nm"
13786 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
13787 + lt_nm_to_check="$lt_nm_to_check nm"
13789 + for lt_tmp_nm in $lt_nm_to_check; do
13790 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13791 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
13792 + IFS="$lt_save_ifs"
13793 + test -z "$ac_dir" && ac_dir=.
13794 + tmp_nm="$ac_dir/$lt_tmp_nm"
13795 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
13796 + # Check to see if the nm accepts a BSD-compat flag.
13797 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
13798 + # nm: unknown option "B" ignored
13799 + # Tru64's nm complains that /dev/null is an invalid object file
13800 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
13801 + */dev/null* | *'Invalid file or object type'*)
13802 + lt_cv_path_NM="$tmp_nm -B"
13806 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
13807 - continue # so that we can try to find one that supports BSD flags
13808 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
13810 + lt_cv_path_NM="$tmp_nm -p"
13814 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
13815 + continue # so that we can try to find one that supports BSD flags
13824 + IFS="$lt_save_ifs"
13826 - IFS="$lt_save_ifs"
13827 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
13830 -echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
13831 -echo "${ECHO_T}$lt_cv_path_NM" >&6
13832 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
13833 +$as_echo "$lt_cv_path_NM" >&6; }
13834 NM="$lt_cv_path_NM"
13836 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
13837 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13838 +{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
13839 +$as_echo_n "checking whether ln -s works... " >&6; }
13841 if test "$LN_S" = "ln -s"; then
13842 - echo "$as_me:$LINENO: result: yes" >&5
13843 -echo "${ECHO_T}yes" >&6
13844 + { $as_echo "$as_me:$LINENO: result: yes" >&5
13845 +$as_echo "yes" >&6; }
13847 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13848 -echo "${ECHO_T}no, using $LN_S" >&6
13849 + { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13850 +$as_echo "no, using $LN_S" >&6; }
13853 -echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
13854 -echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
13855 +{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
13856 +$as_echo_n "checking how to recognize dependent libraries... " >&6; }
13857 if test "${lt_cv_deplibs_check_method+set}" = set; then
13858 - echo $ECHO_N "(cached) $ECHO_C" >&6
13859 + $as_echo_n "(cached) " >&6
13861 lt_cv_file_magic_cmd='$MAGIC_CMD'
13862 lt_cv_file_magic_test_file=
13863 @@ -3500,7 +4256,7 @@ lt_cv_deplibs_check_method='unknown'
13864 # whether `pass_all' will *always* work, you probably want this one.
13869 lt_cv_deplibs_check_method=pass_all
13872 @@ -3508,7 +4264,7 @@ beos*)
13873 lt_cv_deplibs_check_method=pass_all
13878 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
13879 lt_cv_file_magic_cmd='/usr/bin/file -L'
13880 lt_cv_file_magic_test_file=/shlib/libc.so
13881 @@ -3522,22 +4278,28 @@ cygwin*)
13884 # Base MSYS/MinGW do not provide the 'file' command needed by
13885 - # func_win32_libid shell function, so use a weaker test based on 'objdump'.
13886 - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
13887 - lt_cv_file_magic_cmd='$OBJDUMP -f'
13888 + # func_win32_libid shell function, so use a weaker test based on 'objdump',
13889 + # unless we find 'file', for example because we are cross-compiling.
13890 + if ( file / ) >/dev/null 2>&1; then
13891 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
13892 + lt_cv_file_magic_cmd='func_win32_libid'
13894 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
13895 + lt_cv_file_magic_cmd='$OBJDUMP -f'
13899 darwin* | rhapsody*)
13900 lt_cv_deplibs_check_method=pass_all
13903 -freebsd* | kfreebsd*-gnu)
13904 +freebsd* | dragonfly*)
13905 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
13908 # Not sure whether the presence of OpenBSD here was a mistake.
13909 # Let's accept both of them until this is cleared up.
13910 - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
13911 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
13912 lt_cv_file_magic_cmd=/usr/bin/file
13913 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
13915 @@ -3553,7 +4315,7 @@ gnu*)
13917 hpux10.20* | hpux11*)
13918 lt_cv_file_magic_cmd=/usr/bin/file
13919 - case "$host_cpu" in
13920 + case $host_cpu in
13922 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
13923 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
13924 @@ -3569,6 +4331,11 @@ hpux10.20* | hpux11*)
13929 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
13930 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
13933 irix5* | irix6* | nonstopux*)
13935 *-32|*"-32 ") libmagic=32-bit;;
13936 @@ -3580,20 +4347,11 @@ irix5* | irix6* | nonstopux*)
13939 # This must be Linux ELF.
13941 - case $host_cpu in
13942 - alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*)
13943 - lt_cv_deplibs_check_method=pass_all ;;
13945 - # glibc up to 2.1.1 does not perform some relocations on ARM
13946 - # this will be overridden with pass_all, but let us keep it just in case
13947 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
13949 - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
13950 +linux* | k*bsd*-gnu)
13951 lt_cv_deplibs_check_method=pass_all
13955 +netbsd* | netbsdelf*-gnu)
13956 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
13957 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
13959 @@ -3612,12 +4370,10 @@ nto-qnx*)
13963 - lt_cv_file_magic_cmd=/usr/bin/file
13964 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
13965 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13966 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
13967 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
13969 - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
13970 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
13974 @@ -3625,7 +4381,7 @@ osf3* | osf4* | osf5*)
13975 lt_cv_deplibs_check_method=pass_all
13980 lt_cv_deplibs_check_method=pass_all
13983 @@ -3633,7 +4389,7 @@ solaris*)
13984 lt_cv_deplibs_check_method=pass_all
13987 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13989 case $host_vendor in
13991 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]'
13992 @@ -3654,17 +4410,20 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13994 lt_cv_deplibs_check_method=pass_all
13997 + lt_cv_deplibs_check_method=pass_all
14002 -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
14003 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14004 lt_cv_deplibs_check_method=pass_all
14009 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
14010 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
14011 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
14012 +$as_echo "$lt_cv_deplibs_check_method" >&6; }
14013 file_magic_cmd=$lt_cv_file_magic_cmd
14014 deplibs_check_method=$lt_cv_deplibs_check_method
14015 test -z "$deplibs_check_method" && deplibs_check_method=unknown
14016 @@ -3675,15 +4434,18 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
14017 # If no C compiler was specified, use CC.
14020 +# If no C compiler flags were specified, use CFLAGS.
14021 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14023 # Allow CC to be a program name with arguments.
14027 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
14028 +# Check whether --enable-libtool-lock was given.
14029 if test "${enable_libtool_lock+set}" = set; then
14030 - enableval="$enable_libtool_lock"
14031 + enableval=$enable_libtool_lock;
14035 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
14037 # Some flags need to be propagated to the compiler or linker for good
14038 @@ -3695,7 +4457,7 @@ ia64-*-hpux*)
14039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14040 (eval $ac_compile) 2>&5
14042 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044 (exit $ac_status); }; then
14045 case `/usr/bin/file conftest.$ac_objext` in
14047 @@ -3710,11 +4472,11 @@ ia64-*-hpux*)
14050 # Find out which ABI we are using.
14051 - echo '#line 3713 "configure"' > conftest.$ac_ext
14052 + echo '#line 4475 "configure"' > conftest.$ac_ext
14053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14054 (eval $ac_compile) 2>&5
14056 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14057 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14058 (exit $ac_status); }; then
14059 if test "$lt_cv_prog_gnu_ld" = yes; then
14060 case `/usr/bin/file conftest.$ac_objext` in
14061 @@ -3745,17 +4507,21 @@ ia64-*-hpux*)
14065 -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
14066 +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
14067 +s390*-*linux*|sparc*-*linux*)
14068 # Find out which ABI we are using.
14069 echo 'int i;' > conftest.$ac_ext
14070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14071 (eval $ac_compile) 2>&5
14073 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14074 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14075 (exit $ac_status); }; then
14076 - case "`/usr/bin/file conftest.o`" in
14077 + case `/usr/bin/file conftest.o` in
14080 + x86_64-*kfreebsd*-gnu)
14081 + LD="${LD-ld} -m elf_i386_fbsd"
14084 LD="${LD-ld} -m elf_i386"
14086 @@ -3772,6 +4538,9 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
14090 + x86_64-*kfreebsd*-gnu)
14091 + LD="${LD-ld} -m elf_x86_64_fbsd"
14094 LD="${LD-ld} -m elf_x86_64"
14096 @@ -3795,10 +4564,10 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
14097 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
14098 SAVE_CFLAGS="$CFLAGS"
14099 CFLAGS="$CFLAGS -belf"
14100 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
14101 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
14102 + { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
14103 +$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
14104 if test "${lt_cv_cc_needs_belf+set}" = set; then
14105 - echo $ECHO_N "(cached) $ECHO_C" >&6
14106 + $as_echo_n "(cached) " >&6
14109 ac_cpp='$CPP $CPPFLAGS'
14110 @@ -3822,35 +4591,36 @@ main ()
14113 rm -f conftest.$ac_objext conftest$ac_exeext
14114 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14115 - (eval $ac_link) 2>conftest.er1
14116 +if { (ac_try="$ac_link"
14117 +case "(($ac_try" in
14118 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14119 + *) ac_try_echo=$ac_try;;
14121 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14122 +$as_echo "$ac_try_echo") >&5
14123 + (eval "$ac_link") 2>conftest.er1
14125 grep -v '^ *+' conftest.er1 >conftest.err
14127 cat conftest.err >&5
14128 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14129 - (exit $ac_status); } &&
14130 - { ac_try='test -z "$ac_c_werror_flag"
14131 - || test ! -s conftest.err'
14132 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14133 - (eval $ac_try) 2>&5
14135 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14136 - (exit $ac_status); }; } &&
14137 - { ac_try='test -s conftest$ac_exeext'
14138 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14139 - (eval $ac_try) 2>&5
14141 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142 - (exit $ac_status); }; }; then
14143 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14144 + (exit $ac_status); } && {
14145 + test -z "$ac_c_werror_flag" ||
14146 + test ! -s conftest.err
14147 + } && test -s conftest$ac_exeext && {
14148 + test "$cross_compiling" = yes ||
14149 + $as_test_x conftest$ac_exeext
14151 lt_cv_cc_needs_belf=yes
14153 - echo "$as_me: failed program was:" >&5
14154 + $as_echo "$as_me: failed program was:" >&5
14155 sed 's/^/| /' conftest.$ac_ext >&5
14157 -lt_cv_cc_needs_belf=no
14158 + lt_cv_cc_needs_belf=no
14160 -rm -f conftest.err conftest.$ac_objext \
14162 +rm -rf conftest.dSYM
14163 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14164 conftest$ac_exeext conftest.$ac_ext
14166 ac_cpp='$CPP $CPPFLAGS'
14167 @@ -3859,13 +4629,37 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
14168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14171 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
14172 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
14173 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
14174 +$as_echo "$lt_cv_cc_needs_belf" >&6; }
14175 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
14176 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
14177 CFLAGS="$SAVE_CFLAGS"
14181 + # Find out which ABI we are using.
14182 + echo 'int i;' > conftest.$ac_ext
14183 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14184 + (eval $ac_compile) 2>&5
14186 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14187 + (exit $ac_status); }; then
14188 + case `/usr/bin/file conftest.o` in
14190 + case $lt_cv_prog_gnu_ld in
14191 + yes*) LD="${LD-ld} -m elf64_sparc" ;;
14193 + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
14194 + LD="${LD-ld} -64"
14207 @@ -3877,15 +4671,15 @@ ac_cpp='$CPP $CPPFLAGS'
14208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14211 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14212 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
14213 +{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14214 +$as_echo_n "checking how to run the C preprocessor... " >&6; }
14215 # On Suns, sometimes $CPP names a directory.
14216 if test -n "$CPP" && test -d "$CPP"; then
14219 if test -z "$CPP"; then
14220 if test "${ac_cv_prog_CPP+set}" = set; then
14221 - echo $ECHO_N "(cached) $ECHO_C" >&6
14222 + $as_echo_n "(cached) " >&6
14224 # Double quotes because CPP needs to be expanded
14225 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14226 @@ -3912,35 +4706,35 @@ cat >>conftest.$ac_ext <<_ACEOF
14230 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14231 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14232 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14233 +case "(($ac_try" in
14234 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14235 + *) ac_try_echo=$ac_try;;
14237 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14238 +$as_echo "$ac_try_echo") >&5
14239 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14241 grep -v '^ *+' conftest.er1 >conftest.err
14243 cat conftest.err >&5
14244 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14245 - (exit $ac_status); } >/dev/null; then
14246 - if test -s conftest.err; then
14247 - ac_cpp_err=$ac_c_preproc_warn_flag
14248 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14255 -if test -z "$ac_cpp_err"; then
14256 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14257 + (exit $ac_status); } >/dev/null && {
14258 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14259 + test ! -s conftest.err
14263 - echo "$as_me: failed program was:" >&5
14264 + $as_echo "$as_me: failed program was:" >&5
14265 sed 's/^/| /' conftest.$ac_ext >&5
14267 # Broken: fails on valid input.
14271 rm -f conftest.err conftest.$ac_ext
14273 - # OK, works on sane cases. Now check whether non-existent headers
14274 + # OK, works on sane cases. Now check whether nonexistent headers
14275 # can be detected and how.
14276 cat >conftest.$ac_ext <<_ACEOF
14278 @@ -3950,34 +4744,34 @@ cat >>conftest.$ac_ext <<_ACEOF
14279 /* end confdefs.h. */
14280 #include <ac_nonexistent.h>
14282 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14283 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14284 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14285 +case "(($ac_try" in
14286 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14287 + *) ac_try_echo=$ac_try;;
14289 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14290 +$as_echo "$ac_try_echo") >&5
14291 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14293 grep -v '^ *+' conftest.er1 >conftest.err
14295 cat conftest.err >&5
14296 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 - (exit $ac_status); } >/dev/null; then
14298 - if test -s conftest.err; then
14299 - ac_cpp_err=$ac_c_preproc_warn_flag
14300 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14307 -if test -z "$ac_cpp_err"; then
14308 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14309 + (exit $ac_status); } >/dev/null && {
14310 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14311 + test ! -s conftest.err
14313 # Broken: success on invalid input.
14316 - echo "$as_me: failed program was:" >&5
14317 + $as_echo "$as_me: failed program was:" >&5
14318 sed 's/^/| /' conftest.$ac_ext >&5
14320 # Passes both tests.
14325 rm -f conftest.err conftest.$ac_ext
14328 @@ -3995,8 +4789,8 @@ fi
14330 ac_cv_prog_CPP=$CPP
14332 -echo "$as_me:$LINENO: result: $CPP" >&5
14333 -echo "${ECHO_T}$CPP" >&6
14334 +{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
14335 +$as_echo "$CPP" >&6; }
14336 ac_preproc_ok=false
14337 for ac_c_preproc_warn_flag in '' yes
14339 @@ -4019,35 +4813,35 @@ cat >>conftest.$ac_ext <<_ACEOF
14343 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14344 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14345 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14346 +case "(($ac_try" in
14347 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14348 + *) ac_try_echo=$ac_try;;
14350 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14351 +$as_echo "$ac_try_echo") >&5
14352 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14354 grep -v '^ *+' conftest.er1 >conftest.err
14356 cat conftest.err >&5
14357 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14358 - (exit $ac_status); } >/dev/null; then
14359 - if test -s conftest.err; then
14360 - ac_cpp_err=$ac_c_preproc_warn_flag
14361 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14368 -if test -z "$ac_cpp_err"; then
14369 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 + (exit $ac_status); } >/dev/null && {
14371 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14372 + test ! -s conftest.err
14376 - echo "$as_me: failed program was:" >&5
14377 + $as_echo "$as_me: failed program was:" >&5
14378 sed 's/^/| /' conftest.$ac_ext >&5
14380 # Broken: fails on valid input.
14384 rm -f conftest.err conftest.$ac_ext
14386 - # OK, works on sane cases. Now check whether non-existent headers
14387 + # OK, works on sane cases. Now check whether nonexistent headers
14388 # can be detected and how.
14389 cat >conftest.$ac_ext <<_ACEOF
14391 @@ -4057,34 +4851,34 @@ cat >>conftest.$ac_ext <<_ACEOF
14392 /* end confdefs.h. */
14393 #include <ac_nonexistent.h>
14395 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14396 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14397 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14398 +case "(($ac_try" in
14399 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14400 + *) ac_try_echo=$ac_try;;
14402 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14403 +$as_echo "$ac_try_echo") >&5
14404 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14406 grep -v '^ *+' conftest.er1 >conftest.err
14408 cat conftest.err >&5
14409 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14410 - (exit $ac_status); } >/dev/null; then
14411 - if test -s conftest.err; then
14412 - ac_cpp_err=$ac_c_preproc_warn_flag
14413 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14420 -if test -z "$ac_cpp_err"; then
14421 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14422 + (exit $ac_status); } >/dev/null && {
14423 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14424 + test ! -s conftest.err
14426 # Broken: success on invalid input.
14429 - echo "$as_me: failed program was:" >&5
14430 + $as_echo "$as_me: failed program was:" >&5
14431 sed 's/^/| /' conftest.$ac_ext >&5
14433 # Passes both tests.
14438 rm -f conftest.err conftest.$ac_ext
14441 @@ -4093,11 +4887,13 @@ rm -f conftest.err conftest.$ac_ext
14442 if $ac_preproc_ok; then
14445 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14446 + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14447 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14448 +{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14449 See \`config.log' for more details." >&5
14450 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14451 +$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14452 See \`config.log' for more details." >&2;}
14453 - { (exit 1); exit 1; }; }
14454 + { (exit 1); exit 1; }; }; }
14458 @@ -4107,10 +4903,10 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
14459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14462 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14463 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
14464 +{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14465 +$as_echo_n "checking for ANSI C header files... " >&6; }
14466 if test "${ac_cv_header_stdc+set}" = set; then
14467 - echo $ECHO_N "(cached) $ECHO_C" >&6
14468 + $as_echo_n "(cached) " >&6
14470 cat >conftest.$ac_ext <<_ACEOF
14472 @@ -4132,35 +4928,32 @@ main ()
14475 rm -f conftest.$ac_objext
14476 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14477 - (eval $ac_compile) 2>conftest.er1
14478 +if { (ac_try="$ac_compile"
14479 +case "(($ac_try" in
14480 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14481 + *) ac_try_echo=$ac_try;;
14483 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14484 +$as_echo "$ac_try_echo") >&5
14485 + (eval "$ac_compile") 2>conftest.er1
14487 grep -v '^ *+' conftest.er1 >conftest.err
14489 cat conftest.err >&5
14490 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14491 - (exit $ac_status); } &&
14492 - { ac_try='test -z "$ac_c_werror_flag"
14493 - || test ! -s conftest.err'
14494 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14495 - (eval $ac_try) 2>&5
14497 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 - (exit $ac_status); }; } &&
14499 - { ac_try='test -s conftest.$ac_objext'
14500 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14501 - (eval $ac_try) 2>&5
14503 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 - (exit $ac_status); }; }; then
14505 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14506 + (exit $ac_status); } && {
14507 + test -z "$ac_c_werror_flag" ||
14508 + test ! -s conftest.err
14509 + } && test -s conftest.$ac_objext; then
14510 ac_cv_header_stdc=yes
14512 - echo "$as_me: failed program was:" >&5
14513 + $as_echo "$as_me: failed program was:" >&5
14514 sed 's/^/| /' conftest.$ac_ext >&5
14516 -ac_cv_header_stdc=no
14517 + ac_cv_header_stdc=no
14519 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14521 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14523 if test $ac_cv_header_stdc = yes; then
14524 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14525 @@ -4216,6 +5009,7 @@ cat confdefs.h >>conftest.$ac_ext
14526 cat >>conftest.$ac_ext <<_ACEOF
14527 /* end confdefs.h. */
14529 +#include <stdlib.h>
14530 #if ((' ' & 0x0FF) == 0x020)
14531 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14532 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14533 @@ -4235,36 +5029,50 @@ main ()
14534 for (i = 0; i < 256; i++)
14535 if (XOR (islower (i), ISLOWER (i))
14536 || toupper (i) != TOUPPER (i))
14543 rm -f conftest$ac_exeext
14544 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14545 - (eval $ac_link) 2>&5
14546 +if { (ac_try="$ac_link"
14547 +case "(($ac_try" in
14548 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14549 + *) ac_try_echo=$ac_try;;
14551 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14552 +$as_echo "$ac_try_echo") >&5
14553 + (eval "$ac_link") 2>&5
14555 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14556 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14557 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14558 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14559 - (eval $ac_try) 2>&5
14560 + { (case "(($ac_try" in
14561 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14562 + *) ac_try_echo=$ac_try;;
14564 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14565 +$as_echo "$ac_try_echo") >&5
14566 + (eval "$ac_try") 2>&5
14568 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); }; }; then
14573 - echo "$as_me: program exited with status $ac_status" >&5
14574 -echo "$as_me: failed program was:" >&5
14575 + $as_echo "$as_me: program exited with status $ac_status" >&5
14576 +$as_echo "$as_me: failed program was:" >&5
14577 sed 's/^/| /' conftest.$ac_ext >&5
14579 ( exit $ac_status )
14580 ac_cv_header_stdc=no
14582 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14583 +rm -rf conftest.dSYM
14584 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14590 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14591 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
14592 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14593 +$as_echo "$ac_cv_header_stdc" >&6; }
14594 if test $ac_cv_header_stdc = yes; then
14596 cat >>confdefs.h <<\_ACEOF
14597 @@ -4286,11 +5094,11 @@ fi
14598 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
14599 inttypes.h stdint.h unistd.h
14601 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14602 -echo "$as_me:$LINENO: checking for $ac_header" >&5
14603 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14604 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14605 - echo $ECHO_N "(cached) $ECHO_C" >&6
14606 +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14607 +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14608 +$as_echo_n "checking for $ac_header... " >&6; }
14609 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14610 + $as_echo_n "(cached) " >&6
14612 cat >conftest.$ac_ext <<_ACEOF
14614 @@ -4303,41 +5111,42 @@ $ac_includes_default
14615 #include <$ac_header>
14617 rm -f conftest.$ac_objext
14618 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14619 - (eval $ac_compile) 2>conftest.er1
14620 +if { (ac_try="$ac_compile"
14621 +case "(($ac_try" in
14622 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14623 + *) ac_try_echo=$ac_try;;
14625 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14626 +$as_echo "$ac_try_echo") >&5
14627 + (eval "$ac_compile") 2>conftest.er1
14629 grep -v '^ *+' conftest.er1 >conftest.err
14631 cat conftest.err >&5
14632 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 - (exit $ac_status); } &&
14634 - { ac_try='test -z "$ac_c_werror_flag"
14635 - || test ! -s conftest.err'
14636 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14637 - (eval $ac_try) 2>&5
14639 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 - (exit $ac_status); }; } &&
14641 - { ac_try='test -s conftest.$ac_objext'
14642 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14643 - (eval $ac_try) 2>&5
14645 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 - (exit $ac_status); }; }; then
14647 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14648 + (exit $ac_status); } && {
14649 + test -z "$ac_c_werror_flag" ||
14650 + test ! -s conftest.err
14651 + } && test -s conftest.$ac_objext; then
14652 eval "$as_ac_Header=yes"
14654 - echo "$as_me: failed program was:" >&5
14655 + $as_echo "$as_me: failed program was:" >&5
14656 sed 's/^/| /' conftest.$ac_ext >&5
14658 -eval "$as_ac_Header=no"
14659 + eval "$as_ac_Header=no"
14661 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14663 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14665 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14666 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14667 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
14668 +ac_res=`eval 'as_val=${'$as_ac_Header'}
14669 + $as_echo "$as_val"'`
14670 + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14671 +$as_echo "$ac_res" >&6; }
14672 +as_val=`eval 'as_val=${'$as_ac_Header'}
14673 + $as_echo "$as_val"'`
14674 + if test "x$as_val" = x""yes; then
14675 cat >>confdefs.h <<_ACEOF
14676 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14677 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14681 @@ -4348,19 +5157,21 @@ done
14683 for ac_header in dlfcn.h
14685 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14686 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14687 - echo "$as_me:$LINENO: checking for $ac_header" >&5
14688 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14689 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14690 - echo $ECHO_N "(cached) $ECHO_C" >&6
14692 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14693 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14694 +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14695 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14696 + { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14697 +$as_echo_n "checking for $ac_header... " >&6; }
14698 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14699 + $as_echo_n "(cached) " >&6
14701 +ac_res=`eval 'as_val=${'$as_ac_Header'}
14702 + $as_echo "$as_val"'`
14703 + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14704 +$as_echo "$ac_res" >&6; }
14706 # Is the header compilable?
14707 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
14708 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14709 +{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14710 +$as_echo_n "checking $ac_header usability... " >&6; }
14711 cat >conftest.$ac_ext <<_ACEOF
14714 @@ -4371,41 +5182,38 @@ $ac_includes_default
14715 #include <$ac_header>
14717 rm -f conftest.$ac_objext
14718 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14719 - (eval $ac_compile) 2>conftest.er1
14720 +if { (ac_try="$ac_compile"
14721 +case "(($ac_try" in
14722 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14723 + *) ac_try_echo=$ac_try;;
14725 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14726 +$as_echo "$ac_try_echo") >&5
14727 + (eval "$ac_compile") 2>conftest.er1
14729 grep -v '^ *+' conftest.er1 >conftest.err
14731 cat conftest.err >&5
14732 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14733 - (exit $ac_status); } &&
14734 - { ac_try='test -z "$ac_c_werror_flag"
14735 - || test ! -s conftest.err'
14736 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14737 - (eval $ac_try) 2>&5
14739 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14740 - (exit $ac_status); }; } &&
14741 - { ac_try='test -s conftest.$ac_objext'
14742 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14743 - (eval $ac_try) 2>&5
14745 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746 - (exit $ac_status); }; }; then
14747 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 + (exit $ac_status); } && {
14749 + test -z "$ac_c_werror_flag" ||
14750 + test ! -s conftest.err
14751 + } && test -s conftest.$ac_objext; then
14752 ac_header_compiler=yes
14754 - echo "$as_me: failed program was:" >&5
14755 + $as_echo "$as_me: failed program was:" >&5
14756 sed 's/^/| /' conftest.$ac_ext >&5
14758 -ac_header_compiler=no
14759 + ac_header_compiler=no
14761 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14762 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14763 -echo "${ECHO_T}$ac_header_compiler" >&6
14765 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14766 +{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14767 +$as_echo "$ac_header_compiler" >&6; }
14769 # Is the header present?
14770 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
14771 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14772 +{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14773 +$as_echo_n "checking $ac_header presence... " >&6; }
14774 cat >conftest.$ac_ext <<_ACEOF
14777 @@ -4414,101 +5222,102 @@ cat >>conftest.$ac_ext <<_ACEOF
14778 /* end confdefs.h. */
14779 #include <$ac_header>
14781 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14782 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14783 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14784 +case "(($ac_try" in
14785 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14786 + *) ac_try_echo=$ac_try;;
14788 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14789 +$as_echo "$ac_try_echo") >&5
14790 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14792 grep -v '^ *+' conftest.er1 >conftest.err
14794 cat conftest.err >&5
14795 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14796 - (exit $ac_status); } >/dev/null; then
14797 - if test -s conftest.err; then
14798 - ac_cpp_err=$ac_c_preproc_warn_flag
14799 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14806 -if test -z "$ac_cpp_err"; then
14807 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 + (exit $ac_status); } >/dev/null && {
14809 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14810 + test ! -s conftest.err
14812 ac_header_preproc=yes
14814 - echo "$as_me: failed program was:" >&5
14815 + $as_echo "$as_me: failed program was:" >&5
14816 sed 's/^/| /' conftest.$ac_ext >&5
14818 ac_header_preproc=no
14821 rm -f conftest.err conftest.$ac_ext
14822 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14823 -echo "${ECHO_T}$ac_header_preproc" >&6
14824 +{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14825 +$as_echo "$ac_header_preproc" >&6; }
14827 # So? What about this header?
14828 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14830 - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14831 -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14832 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14833 -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14834 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14835 +$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14836 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14837 +$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14838 ac_header_preproc=yes
14841 - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14842 -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14843 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14844 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14845 - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14846 -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14847 - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14848 -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14849 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14850 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14851 - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14852 -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14855 -## ------------------------------------------ ##
14856 -## Report this to the AC_PACKAGE_NAME lists. ##
14857 -## ------------------------------------------ ##
14860 - sed "s/^/$as_me: WARNING: /" >&2
14861 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14862 +$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14863 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14864 +$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14865 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14866 +$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14867 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14868 +$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14869 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14870 +$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14871 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14872 +$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14876 -echo "$as_me:$LINENO: checking for $ac_header" >&5
14877 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14878 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14879 - echo $ECHO_N "(cached) $ECHO_C" >&6
14880 +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14881 +$as_echo_n "checking for $ac_header... " >&6; }
14882 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14883 + $as_echo_n "(cached) " >&6
14885 eval "$as_ac_Header=\$ac_header_preproc"
14887 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14888 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14889 +ac_res=`eval 'as_val=${'$as_ac_Header'}
14890 + $as_echo "$as_val"'`
14891 + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14892 +$as_echo "$ac_res" >&6; }
14895 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
14896 +as_val=`eval 'as_val=${'$as_ac_Header'}
14897 + $as_echo "$as_val"'`
14898 + if test "x$as_val" = x""yes; then
14899 cat >>confdefs.h <<_ACEOF
14900 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14901 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14910 ac_cpp='$CXXCPP $CPPFLAGS'
14911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14914 -if test -n "$ac_tool_prefix"; then
14915 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14916 +if test -z "$CXX"; then
14917 + if test -n "$CCC"; then
14920 + if test -n "$ac_tool_prefix"; then
14921 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
14923 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14924 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14925 -echo "$as_me:$LINENO: checking for $ac_word" >&5
14926 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14927 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14928 +$as_echo_n "checking for $ac_word... " >&6; }
14929 if test "${ac_cv_prog_CXX+set}" = set; then
14930 - echo $ECHO_N "(cached) $ECHO_C" >&6
14931 + $as_echo_n "(cached) " >&6
14933 if test -n "$CXX"; then
14934 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14935 @@ -4519,38 +5328,40 @@ do
14937 test -z "$as_dir" && as_dir=.
14938 for ac_exec_ext in '' $ac_executable_extensions; do
14939 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14940 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14941 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14942 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14943 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14952 CXX=$ac_cv_prog_CXX
14953 if test -n "$CXX"; then
14954 - echo "$as_me:$LINENO: result: $CXX" >&5
14955 -echo "${ECHO_T}$CXX" >&6
14956 + { $as_echo "$as_me:$LINENO: result: $CXX" >&5
14957 +$as_echo "$CXX" >&6; }
14959 - echo "$as_me:$LINENO: result: no" >&5
14960 -echo "${ECHO_T}no" >&6
14961 + { $as_echo "$as_me:$LINENO: result: no" >&5
14962 +$as_echo "no" >&6; }
14966 test -n "$CXX" && break
14969 if test -z "$CXX"; then
14971 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14972 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
14974 # Extract the first word of "$ac_prog", so it can be a program name with args.
14975 set dummy $ac_prog; ac_word=$2
14976 -echo "$as_me:$LINENO: checking for $ac_word" >&5
14977 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14978 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14979 +$as_echo_n "checking for $ac_word... " >&6; }
14980 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14981 - echo $ECHO_N "(cached) $ECHO_C" >&6
14982 + $as_echo_n "(cached) " >&6
14984 if test -n "$ac_ct_CXX"; then
14985 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14986 @@ -4561,57 +5372,87 @@ do
14988 test -z "$as_dir" && as_dir=.
14989 for ac_exec_ext in '' $ac_executable_extensions; do
14990 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14991 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14992 ac_cv_prog_ac_ct_CXX="$ac_prog"
14993 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14994 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15003 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15004 if test -n "$ac_ct_CXX"; then
15005 - echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15006 -echo "${ECHO_T}$ac_ct_CXX" >&6
15007 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15008 +$as_echo "$ac_ct_CXX" >&6; }
15010 - echo "$as_me:$LINENO: result: no" >&5
15011 -echo "${ECHO_T}no" >&6
15012 + { $as_echo "$as_me:$LINENO: result: no" >&5
15013 +$as_echo "no" >&6; }
15017 test -n "$ac_ct_CXX" && break
15019 -test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
15022 + if test "x$ac_ct_CXX" = x; then
15025 + case $cross_compiling:$ac_tool_warned in
15027 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
15028 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15029 +ac_tool_warned=yes ;;
15038 # Provide some information about the compiler.
15039 -echo "$as_me:$LINENO:" \
15040 - "checking for C++ compiler version" >&5
15041 -ac_compiler=`set X $ac_compile; echo $2`
15042 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
15043 - (eval $ac_compiler --version </dev/null >&5) 2>&5
15044 +$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15047 +{ (ac_try="$ac_compiler --version >&5"
15048 +case "(($ac_try" in
15049 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15050 + *) ac_try_echo=$ac_try;;
15052 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15053 +$as_echo "$ac_try_echo") >&5
15054 + (eval "$ac_compiler --version >&5") 2>&5
15056 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058 (exit $ac_status); }
15059 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
15060 - (eval $ac_compiler -v </dev/null >&5) 2>&5
15061 +{ (ac_try="$ac_compiler -v >&5"
15062 +case "(($ac_try" in
15063 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15064 + *) ac_try_echo=$ac_try;;
15066 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15067 +$as_echo "$ac_try_echo") >&5
15068 + (eval "$ac_compiler -v >&5") 2>&5
15070 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15071 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); }
15073 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
15074 - (eval $ac_compiler -V </dev/null >&5) 2>&5
15075 +{ (ac_try="$ac_compiler -V >&5"
15076 +case "(($ac_try" in
15077 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15078 + *) ac_try_echo=$ac_try;;
15080 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15081 +$as_echo "$ac_try_echo") >&5
15082 + (eval "$ac_compiler -V >&5") 2>&5
15084 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15085 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 (exit $ac_status); }
15088 -echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15089 -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
15090 +{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15091 +$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
15092 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15093 - echo $ECHO_N "(cached) $ECHO_C" >&6
15094 + $as_echo_n "(cached) " >&6
15096 cat >conftest.$ac_ext <<_ACEOF
15098 @@ -4632,50 +5473,54 @@ main ()
15101 rm -f conftest.$ac_objext
15102 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15103 - (eval $ac_compile) 2>conftest.er1
15104 +if { (ac_try="$ac_compile"
15105 +case "(($ac_try" in
15106 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15107 + *) ac_try_echo=$ac_try;;
15109 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15110 +$as_echo "$ac_try_echo") >&5
15111 + (eval "$ac_compile") 2>conftest.er1
15113 grep -v '^ *+' conftest.er1 >conftest.err
15115 cat conftest.err >&5
15116 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15117 - (exit $ac_status); } &&
15118 - { ac_try='test -z "$ac_cxx_werror_flag"
15119 - || test ! -s conftest.err'
15120 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15121 - (eval $ac_try) 2>&5
15123 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124 - (exit $ac_status); }; } &&
15125 - { ac_try='test -s conftest.$ac_objext'
15126 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15127 - (eval $ac_try) 2>&5
15129 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15130 - (exit $ac_status); }; }; then
15131 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15132 + (exit $ac_status); } && {
15133 + test -z "$ac_cxx_werror_flag" ||
15134 + test ! -s conftest.err
15135 + } && test -s conftest.$ac_objext; then
15136 ac_compiler_gnu=yes
15138 - echo "$as_me: failed program was:" >&5
15139 + $as_echo "$as_me: failed program was:" >&5
15140 sed 's/^/| /' conftest.$ac_ext >&5
15142 -ac_compiler_gnu=no
15143 + ac_compiler_gnu=no
15145 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15147 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15148 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15151 -echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15152 -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
15153 -GXX=`test $ac_compiler_gnu = yes && echo yes`
15154 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15155 +$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
15156 +if test $ac_compiler_gnu = yes; then
15161 ac_test_CXXFLAGS=${CXXFLAGS+set}
15162 ac_save_CXXFLAGS=$CXXFLAGS
15164 -echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15165 -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
15166 +{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15167 +$as_echo_n "checking whether $CXX accepts -g... " >&6; }
15168 if test "${ac_cv_prog_cxx_g+set}" = set; then
15169 - echo $ECHO_N "(cached) $ECHO_C" >&6
15170 + $as_echo_n "(cached) " >&6
15172 - cat >conftest.$ac_ext <<_ACEOF
15173 + ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15174 + ac_cxx_werror_flag=yes
15175 + ac_cv_prog_cxx_g=no
15177 + cat >conftest.$ac_ext <<_ACEOF
15180 cat confdefs.h >>conftest.$ac_ext
15181 @@ -4691,160 +5536,137 @@ main ()
15184 rm -f conftest.$ac_objext
15185 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15186 - (eval $ac_compile) 2>conftest.er1
15187 +if { (ac_try="$ac_compile"
15188 +case "(($ac_try" in
15189 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15190 + *) ac_try_echo=$ac_try;;
15192 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15193 +$as_echo "$ac_try_echo") >&5
15194 + (eval "$ac_compile") 2>conftest.er1
15196 grep -v '^ *+' conftest.er1 >conftest.err
15198 cat conftest.err >&5
15199 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15200 - (exit $ac_status); } &&
15201 - { ac_try='test -z "$ac_cxx_werror_flag"
15202 - || test ! -s conftest.err'
15203 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15204 - (eval $ac_try) 2>&5
15206 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15207 - (exit $ac_status); }; } &&
15208 - { ac_try='test -s conftest.$ac_objext'
15209 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15210 - (eval $ac_try) 2>&5
15212 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213 - (exit $ac_status); }; }; then
15214 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215 + (exit $ac_status); } && {
15216 + test -z "$ac_cxx_werror_flag" ||
15217 + test ! -s conftest.err
15218 + } && test -s conftest.$ac_objext; then
15219 ac_cv_prog_cxx_g=yes
15221 - echo "$as_me: failed program was:" >&5
15222 + $as_echo "$as_me: failed program was:" >&5
15223 sed 's/^/| /' conftest.$ac_ext >&5
15225 -ac_cv_prog_cxx_g=no
15227 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15229 -echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15230 -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
15231 -if test "$ac_test_CXXFLAGS" = set; then
15232 - CXXFLAGS=$ac_save_CXXFLAGS
15233 -elif test $ac_cv_prog_cxx_g = yes; then
15234 - if test "$GXX" = yes; then
15235 - CXXFLAGS="-g -O2"
15240 - if test "$GXX" = yes; then
15246 -for ac_declaration in \
15248 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
15249 - 'extern "C" void std::exit (int); using std::exit;' \
15250 - 'extern "C" void exit (int) throw ();' \
15251 - 'extern "C" void exit (int);' \
15252 - 'void exit (int);'
15254 - cat >conftest.$ac_ext <<_ACEOF
15256 + cat >conftest.$ac_ext <<_ACEOF
15259 cat confdefs.h >>conftest.$ac_ext
15260 cat >>conftest.$ac_ext <<_ACEOF
15261 /* end confdefs.h. */
15263 -#include <stdlib.h>
15274 rm -f conftest.$ac_objext
15275 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15276 - (eval $ac_compile) 2>conftest.er1
15277 +if { (ac_try="$ac_compile"
15278 +case "(($ac_try" in
15279 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15280 + *) ac_try_echo=$ac_try;;
15282 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15283 +$as_echo "$ac_try_echo") >&5
15284 + (eval "$ac_compile") 2>conftest.er1
15286 grep -v '^ *+' conftest.er1 >conftest.err
15288 cat conftest.err >&5
15289 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15290 - (exit $ac_status); } &&
15291 - { ac_try='test -z "$ac_cxx_werror_flag"
15292 - || test ! -s conftest.err'
15293 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15294 - (eval $ac_try) 2>&5
15296 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15297 - (exit $ac_status); }; } &&
15298 - { ac_try='test -s conftest.$ac_objext'
15299 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15300 - (eval $ac_try) 2>&5
15302 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 - (exit $ac_status); }; }; then
15304 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 + (exit $ac_status); } && {
15306 + test -z "$ac_cxx_werror_flag" ||
15307 + test ! -s conftest.err
15308 + } && test -s conftest.$ac_objext; then
15311 - echo "$as_me: failed program was:" >&5
15312 + $as_echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.$ac_ext >&5
15317 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15318 - cat >conftest.$ac_ext <<_ACEOF
15319 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15321 + cat >conftest.$ac_ext <<_ACEOF
15324 cat confdefs.h >>conftest.$ac_ext
15325 cat >>conftest.$ac_ext <<_ACEOF
15326 /* end confdefs.h. */
15338 rm -f conftest.$ac_objext
15339 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15340 - (eval $ac_compile) 2>conftest.er1
15341 +if { (ac_try="$ac_compile"
15342 +case "(($ac_try" in
15343 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15344 + *) ac_try_echo=$ac_try;;
15346 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15347 +$as_echo "$ac_try_echo") >&5
15348 + (eval "$ac_compile") 2>conftest.er1
15350 grep -v '^ *+' conftest.er1 >conftest.err
15352 cat conftest.err >&5
15353 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15354 - (exit $ac_status); } &&
15355 - { ac_try='test -z "$ac_cxx_werror_flag"
15356 - || test ! -s conftest.err'
15357 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15358 - (eval $ac_try) 2>&5
15360 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 - (exit $ac_status); }; } &&
15362 - { ac_try='test -s conftest.$ac_objext'
15363 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15364 - (eval $ac_try) 2>&5
15366 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 - (exit $ac_status); }; }; then
15369 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15370 + (exit $ac_status); } && {
15371 + test -z "$ac_cxx_werror_flag" ||
15372 + test ! -s conftest.err
15373 + } && test -s conftest.$ac_objext; then
15374 + ac_cv_prog_cxx_g=yes
15376 - echo "$as_me: failed program was:" >&5
15377 + $as_echo "$as_me: failed program was:" >&5
15378 sed 's/^/| /' conftest.$ac_ext >&5
15382 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15385 -if test -n "$ac_declaration"; then
15386 - echo '#ifdef __cplusplus' >>confdefs.h
15387 - echo $ac_declaration >>confdefs.h
15388 - echo '#endif' >>confdefs.h
15390 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15394 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15397 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15398 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15400 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15401 +$as_echo "$ac_cv_prog_cxx_g" >&6; }
15402 +if test "$ac_test_CXXFLAGS" = set; then
15403 + CXXFLAGS=$ac_save_CXXFLAGS
15404 +elif test $ac_cv_prog_cxx_g = yes; then
15405 + if test "$GXX" = yes; then
15406 + CXXFLAGS="-g -O2"
15411 + if test "$GXX" = yes; then
15418 ac_cpp='$CXXCPP $CPPFLAGS'
15419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15421 @@ -4852,10 +5674,10 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15423 depcc="$CXX" am_compiler_list=
15425 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15426 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
15427 +{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15428 +$as_echo_n "checking dependency style of $depcc... " >&6; }
15429 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
15430 - echo $ECHO_N "(cached) $ECHO_C" >&6
15431 + $as_echo_n "(cached) " >&6
15433 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15434 # We make a subdir and do the tests there. Otherwise we can end up
15435 @@ -4942,8 +5764,8 @@ else
15439 -echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
15440 -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
15441 +{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
15442 +$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
15443 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
15446 @@ -4959,16 +5781,21 @@ else
15453 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
15454 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
15455 + (test "X$CXX" != "Xg++"))) ; then
15457 ac_cpp='$CXXCPP $CPPFLAGS'
15458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15461 -echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15462 -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15463 +{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15464 +$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
15465 if test -z "$CXXCPP"; then
15466 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15467 - echo $ECHO_N "(cached) $ECHO_C" >&6
15468 + $as_echo_n "(cached) " >&6
15470 # Double quotes because CXXCPP needs to be expanded
15471 for CXXCPP in "$CXX -E" "/lib/cpp"
15472 @@ -4995,35 +5822,35 @@ cat >>conftest.$ac_ext <<_ACEOF
15476 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15477 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15478 +if { (ac_try="$ac_cpp conftest.$ac_ext"
15479 +case "(($ac_try" in
15480 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15481 + *) ac_try_echo=$ac_try;;
15483 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15484 +$as_echo "$ac_try_echo") >&5
15485 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15487 grep -v '^ *+' conftest.er1 >conftest.err
15489 cat conftest.err >&5
15490 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 - (exit $ac_status); } >/dev/null; then
15492 - if test -s conftest.err; then
15493 - ac_cpp_err=$ac_cxx_preproc_warn_flag
15494 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15501 -if test -z "$ac_cpp_err"; then
15502 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 + (exit $ac_status); } >/dev/null && {
15504 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
15505 + test ! -s conftest.err
15509 - echo "$as_me: failed program was:" >&5
15510 + $as_echo "$as_me: failed program was:" >&5
15511 sed 's/^/| /' conftest.$ac_ext >&5
15513 # Broken: fails on valid input.
15517 rm -f conftest.err conftest.$ac_ext
15519 - # OK, works on sane cases. Now check whether non-existent headers
15520 + # OK, works on sane cases. Now check whether nonexistent headers
15521 # can be detected and how.
15522 cat >conftest.$ac_ext <<_ACEOF
15524 @@ -5033,34 +5860,34 @@ cat >>conftest.$ac_ext <<_ACEOF
15525 /* end confdefs.h. */
15526 #include <ac_nonexistent.h>
15528 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15529 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15530 +if { (ac_try="$ac_cpp conftest.$ac_ext"
15531 +case "(($ac_try" in
15532 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15533 + *) ac_try_echo=$ac_try;;
15535 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15536 +$as_echo "$ac_try_echo") >&5
15537 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15539 grep -v '^ *+' conftest.er1 >conftest.err
15541 cat conftest.err >&5
15542 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 - (exit $ac_status); } >/dev/null; then
15544 - if test -s conftest.err; then
15545 - ac_cpp_err=$ac_cxx_preproc_warn_flag
15546 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15553 -if test -z "$ac_cpp_err"; then
15554 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 + (exit $ac_status); } >/dev/null && {
15556 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
15557 + test ! -s conftest.err
15559 # Broken: success on invalid input.
15562 - echo "$as_me: failed program was:" >&5
15563 + $as_echo "$as_me: failed program was:" >&5
15564 sed 's/^/| /' conftest.$ac_ext >&5
15566 # Passes both tests.
15571 rm -f conftest.err conftest.$ac_ext
15574 @@ -5078,8 +5905,8 @@ fi
15576 ac_cv_prog_CXXCPP=$CXXCPP
15578 -echo "$as_me:$LINENO: result: $CXXCPP" >&5
15579 -echo "${ECHO_T}$CXXCPP" >&6
15580 +{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
15581 +$as_echo "$CXXCPP" >&6; }
15582 ac_preproc_ok=false
15583 for ac_cxx_preproc_warn_flag in '' yes
15585 @@ -5102,35 +5929,35 @@ cat >>conftest.$ac_ext <<_ACEOF
15589 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15590 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15591 +if { (ac_try="$ac_cpp conftest.$ac_ext"
15592 +case "(($ac_try" in
15593 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15594 + *) ac_try_echo=$ac_try;;
15596 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15597 +$as_echo "$ac_try_echo") >&5
15598 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15600 grep -v '^ *+' conftest.er1 >conftest.err
15602 cat conftest.err >&5
15603 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15604 - (exit $ac_status); } >/dev/null; then
15605 - if test -s conftest.err; then
15606 - ac_cpp_err=$ac_cxx_preproc_warn_flag
15607 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15614 -if test -z "$ac_cpp_err"; then
15615 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15616 + (exit $ac_status); } >/dev/null && {
15617 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
15618 + test ! -s conftest.err
15622 - echo "$as_me: failed program was:" >&5
15623 + $as_echo "$as_me: failed program was:" >&5
15624 sed 's/^/| /' conftest.$ac_ext >&5
15626 # Broken: fails on valid input.
15630 rm -f conftest.err conftest.$ac_ext
15632 - # OK, works on sane cases. Now check whether non-existent headers
15633 + # OK, works on sane cases. Now check whether nonexistent headers
15634 # can be detected and how.
15635 cat >conftest.$ac_ext <<_ACEOF
15637 @@ -5140,34 +5967,34 @@ cat >>conftest.$ac_ext <<_ACEOF
15638 /* end confdefs.h. */
15639 #include <ac_nonexistent.h>
15641 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15642 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15643 +if { (ac_try="$ac_cpp conftest.$ac_ext"
15644 +case "(($ac_try" in
15645 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15646 + *) ac_try_echo=$ac_try;;
15648 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15649 +$as_echo "$ac_try_echo") >&5
15650 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15652 grep -v '^ *+' conftest.er1 >conftest.err
15654 cat conftest.err >&5
15655 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 - (exit $ac_status); } >/dev/null; then
15657 - if test -s conftest.err; then
15658 - ac_cpp_err=$ac_cxx_preproc_warn_flag
15659 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15666 -if test -z "$ac_cpp_err"; then
15667 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668 + (exit $ac_status); } >/dev/null && {
15669 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
15670 + test ! -s conftest.err
15672 # Broken: success on invalid input.
15675 - echo "$as_me: failed program was:" >&5
15676 + $as_echo "$as_me: failed program was:" >&5
15677 sed 's/^/| /' conftest.$ac_ext >&5
15679 # Passes both tests.
15684 rm -f conftest.err conftest.$ac_ext
15687 @@ -5176,33 +6003,37 @@ rm -f conftest.err conftest.$ac_ext
15688 if $ac_preproc_ok; then
15691 - { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15692 + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15693 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15694 +{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15695 See \`config.log' for more details." >&5
15696 -echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15697 +$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15698 See \`config.log' for more details." >&2;}
15699 - { (exit 1); exit 1; }; }
15700 + { (exit 1); exit 1; }; }; }
15705 ac_cpp='$CXXCPP $CPPFLAGS'
15706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15714 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15715 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15716 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15717 if test -n "$ac_tool_prefix"; then
15718 - for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
15719 + 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
15721 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15722 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15723 -echo "$as_me:$LINENO: checking for $ac_word" >&5
15724 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15725 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15726 +$as_echo_n "checking for $ac_word... " >&6; }
15727 if test "${ac_cv_prog_F77+set}" = set; then
15728 - echo $ECHO_N "(cached) $ECHO_C" >&6
15729 + $as_echo_n "(cached) " >&6
15731 if test -n "$F77"; then
15732 ac_cv_prog_F77="$F77" # Let the user override the test.
15733 @@ -5213,38 +6044,40 @@ do
15735 test -z "$as_dir" && as_dir=.
15736 for ac_exec_ext in '' $ac_executable_extensions; do
15737 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15738 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15739 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
15740 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15741 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15750 F77=$ac_cv_prog_F77
15751 if test -n "$F77"; then
15752 - echo "$as_me:$LINENO: result: $F77" >&5
15753 -echo "${ECHO_T}$F77" >&6
15754 + { $as_echo "$as_me:$LINENO: result: $F77" >&5
15755 +$as_echo "$F77" >&6; }
15757 - echo "$as_me:$LINENO: result: no" >&5
15758 -echo "${ECHO_T}no" >&6
15759 + { $as_echo "$as_me:$LINENO: result: no" >&5
15760 +$as_echo "no" >&6; }
15764 test -n "$F77" && break
15767 if test -z "$F77"; then
15769 - for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
15770 + 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
15772 # Extract the first word of "$ac_prog", so it can be a program name with args.
15773 set dummy $ac_prog; ac_word=$2
15774 -echo "$as_me:$LINENO: checking for $ac_word" >&5
15775 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15776 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15777 +$as_echo_n "checking for $ac_word... " >&6; }
15778 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
15779 - echo $ECHO_N "(cached) $ECHO_C" >&6
15780 + $as_echo_n "(cached) " >&6
15782 if test -n "$ac_ct_F77"; then
15783 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
15784 @@ -5255,50 +6088,80 @@ do
15786 test -z "$as_dir" && as_dir=.
15787 for ac_exec_ext in '' $ac_executable_extensions; do
15788 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15789 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15790 ac_cv_prog_ac_ct_F77="$ac_prog"
15791 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15792 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15801 ac_ct_F77=$ac_cv_prog_ac_ct_F77
15802 if test -n "$ac_ct_F77"; then
15803 - echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
15804 -echo "${ECHO_T}$ac_ct_F77" >&6
15805 + { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
15806 +$as_echo "$ac_ct_F77" >&6; }
15808 - echo "$as_me:$LINENO: result: no" >&5
15809 -echo "${ECHO_T}no" >&6
15810 + { $as_echo "$as_me:$LINENO: result: no" >&5
15811 +$as_echo "no" >&6; }
15815 test -n "$ac_ct_F77" && break
15819 + if test "x$ac_ct_F77" = x; then
15822 + case $cross_compiling:$ac_tool_warned in
15824 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
15825 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15826 +ac_tool_warned=yes ;;
15833 # Provide some information about the compiler.
15834 -echo "$as_me:5285:" \
15835 - "checking for Fortran 77 compiler version" >&5
15836 -ac_compiler=`set X $ac_compile; echo $2`
15837 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
15838 - (eval $ac_compiler --version </dev/null >&5) 2>&5
15839 +$as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
15842 +{ (ac_try="$ac_compiler --version >&5"
15843 +case "(($ac_try" in
15844 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15845 + *) ac_try_echo=$ac_try;;
15847 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15848 +$as_echo "$ac_try_echo") >&5
15849 + (eval "$ac_compiler --version >&5") 2>&5
15851 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15852 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853 (exit $ac_status); }
15854 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
15855 - (eval $ac_compiler -v </dev/null >&5) 2>&5
15856 +{ (ac_try="$ac_compiler -v >&5"
15857 +case "(($ac_try" in
15858 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15859 + *) ac_try_echo=$ac_try;;
15861 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15862 +$as_echo "$ac_try_echo") >&5
15863 + (eval "$ac_compiler -v >&5") 2>&5
15865 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15866 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867 (exit $ac_status); }
15868 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
15869 - (eval $ac_compiler -V </dev/null >&5) 2>&5
15870 +{ (ac_try="$ac_compiler -V >&5"
15871 +case "(($ac_try" in
15872 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15873 + *) ac_try_echo=$ac_try;;
15875 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15876 +$as_echo "$ac_try_echo") >&5
15877 + (eval "$ac_compiler -V >&5") 2>&5
15879 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15880 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); }
15884 @@ -5306,10 +6169,10 @@ rm -f a.out
15885 # input file. (Note that this only needs to work for GNU compilers.)
15886 ac_save_ext=$ac_ext
15888 -echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
15889 -echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
15890 +{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
15891 +$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
15892 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
15893 - echo $ECHO_N "(cached) $ECHO_C" >&6
15894 + $as_echo_n "(cached) " >&6
15896 cat >conftest.$ac_ext <<_ACEOF
15898 @@ -5320,48 +6183,45 @@ else
15901 rm -f conftest.$ac_objext
15902 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15903 - (eval $ac_compile) 2>conftest.er1
15904 +if { (ac_try="$ac_compile"
15905 +case "(($ac_try" in
15906 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15907 + *) ac_try_echo=$ac_try;;
15909 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15910 +$as_echo "$ac_try_echo") >&5
15911 + (eval "$ac_compile") 2>conftest.er1
15913 grep -v '^ *+' conftest.er1 >conftest.err
15915 cat conftest.err >&5
15916 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15917 - (exit $ac_status); } &&
15918 - { ac_try='test -z "$ac_f77_werror_flag"
15919 - || test ! -s conftest.err'
15920 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15921 - (eval $ac_try) 2>&5
15923 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15924 - (exit $ac_status); }; } &&
15925 - { ac_try='test -s conftest.$ac_objext'
15926 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15927 - (eval $ac_try) 2>&5
15929 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15930 - (exit $ac_status); }; }; then
15931 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 + (exit $ac_status); } && {
15933 + test -z "$ac_f77_werror_flag" ||
15934 + test ! -s conftest.err
15935 + } && test -s conftest.$ac_objext; then
15936 ac_compiler_gnu=yes
15938 - echo "$as_me: failed program was:" >&5
15939 + $as_echo "$as_me: failed program was:" >&5
15940 sed 's/^/| /' conftest.$ac_ext >&5
15942 -ac_compiler_gnu=no
15943 + ac_compiler_gnu=no
15945 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15947 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15948 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
15951 -echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
15952 -echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
15953 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
15954 +$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
15955 ac_ext=$ac_save_ext
15956 ac_test_FFLAGS=${FFLAGS+set}
15957 ac_save_FFLAGS=$FFLAGS
15959 -echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
15960 -echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
15961 +{ $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
15962 +$as_echo_n "checking whether $F77 accepts -g... " >&6; }
15963 if test "${ac_cv_prog_f77_g+set}" = set; then
15964 - echo $ECHO_N "(cached) $ECHO_C" >&6
15965 + $as_echo_n "(cached) " >&6
15968 cat >conftest.$ac_ext <<_ACEOF
15969 @@ -5370,39 +6230,36 @@ cat >conftest.$ac_ext <<_ACEOF
15972 rm -f conftest.$ac_objext
15973 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15974 - (eval $ac_compile) 2>conftest.er1
15975 +if { (ac_try="$ac_compile"
15976 +case "(($ac_try" in
15977 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15978 + *) ac_try_echo=$ac_try;;
15980 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15981 +$as_echo "$ac_try_echo") >&5
15982 + (eval "$ac_compile") 2>conftest.er1
15984 grep -v '^ *+' conftest.er1 >conftest.err
15986 cat conftest.err >&5
15987 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 - (exit $ac_status); } &&
15989 - { ac_try='test -z "$ac_f77_werror_flag"
15990 - || test ! -s conftest.err'
15991 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15992 - (eval $ac_try) 2>&5
15994 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15995 - (exit $ac_status); }; } &&
15996 - { ac_try='test -s conftest.$ac_objext'
15997 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15998 - (eval $ac_try) 2>&5
16000 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001 - (exit $ac_status); }; }; then
16002 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 + (exit $ac_status); } && {
16004 + test -z "$ac_f77_werror_flag" ||
16005 + test ! -s conftest.err
16006 + } && test -s conftest.$ac_objext; then
16007 ac_cv_prog_f77_g=yes
16009 - echo "$as_me: failed program was:" >&5
16010 + $as_echo "$as_me: failed program was:" >&5
16011 sed 's/^/| /' conftest.$ac_ext >&5
16013 -ac_cv_prog_f77_g=no
16014 + ac_cv_prog_f77_g=no
16016 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16018 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16021 -echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
16022 -echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
16023 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
16024 +$as_echo "$ac_cv_prog_f77_g" >&6; }
16025 if test "$ac_test_FFLAGS" = set; then
16026 FFLAGS=$ac_save_FFLAGS
16027 elif test $ac_cv_prog_f77_g = yes; then
16028 @@ -5419,7 +6276,11 @@ else
16032 -G77=`test $ac_compiler_gnu = yes && echo yes`
16033 +if test $ac_compiler_gnu = yes; then
16039 ac_cpp='$CPP $CPPFLAGS'
16040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16041 @@ -5429,12 +6290,11 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
16044 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
16046 # find the maximum length of command line arguments
16047 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
16048 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
16049 +{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
16050 +$as_echo_n "checking the maximum length of command line arguments... " >&6; }
16051 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
16052 - echo $ECHO_N "(cached) $ECHO_C" >&6
16053 + $as_echo_n "(cached) " >&6
16057 @@ -5472,45 +6332,93 @@ else
16058 lt_cv_sys_max_cmd_len=8192;
16062 - # If test is not a shell built-in, we'll probably end up computing a
16063 - # maximum length that is only half of the actual maximum length, but
16065 - while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
16066 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
16067 + # This has been around since 386BSD, at least. Likely further.
16068 + if test -x /sbin/sysctl; then
16069 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
16070 + elif test -x /usr/sbin/sysctl; then
16071 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
16073 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
16075 + # And add a safety zone
16076 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
16077 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
16081 + # We know the value 262144 and hardcode it with a safety zone (like BSD)
16082 + lt_cv_sys_max_cmd_len=196608
16086 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
16087 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
16088 + # nice to cause kernel panics so lets avoid the loop below.
16089 + # First set a reasonable default.
16090 + lt_cv_sys_max_cmd_len=16384
16092 + if test -x /sbin/sysconfig; then
16093 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
16094 + *1*) lt_cv_sys_max_cmd_len=-1 ;;
16099 + lt_cv_sys_max_cmd_len=102400
16101 + sysv5* | sco5v6* | sysv4.2uw2*)
16102 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
16103 + if test -n "$kargmax"; then
16104 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
16106 + lt_cv_sys_max_cmd_len=32768
16110 + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
16111 + if test -n "$lt_cv_sys_max_cmd_len"; then
16112 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
16113 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
16115 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
16116 + while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
16117 = "XX$teststring") >/dev/null 2>&1 &&
16118 - new_result=`expr "X$teststring" : ".*" 2>&1` &&
16119 - lt_cv_sys_max_cmd_len=$new_result &&
16120 - test $i != 17 # 1/2 MB should be enough
16123 - teststring=$teststring$teststring
16126 - # Add a significant safety factor because C++ compilers can tack on massive
16127 - # amounts of additional arguments before passing them to the linker.
16128 - # It appears as though 1/2 is a usable value.
16129 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
16130 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
16131 + lt_cv_sys_max_cmd_len=$new_result &&
16132 + test $i != 17 # 1/2 MB should be enough
16135 + teststring=$teststring$teststring
16138 + # Add a significant safety factor because C++ compilers can tack on massive
16139 + # amounts of additional arguments before passing them to the linker.
16140 + # It appears as though 1/2 is a usable value.
16141 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
16148 if test -n $lt_cv_sys_max_cmd_len ; then
16149 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
16150 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
16151 + { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
16152 +$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
16154 - echo "$as_me:$LINENO: result: none" >&5
16155 -echo "${ECHO_T}none" >&6
16156 + { $as_echo "$as_me:$LINENO: result: none" >&5
16157 +$as_echo "none" >&6; }
16164 # Check for command to grab the raw symbol name followed by C symbol from nm.
16165 -echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
16166 -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
16167 +{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
16168 +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
16169 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
16170 - echo $ECHO_N "(cached) $ECHO_C" >&6
16171 + $as_echo_n "(cached) " >&6
16174 # These are sane defaults that work on at least a few old systems.
16175 @@ -5522,9 +6430,6 @@ symcode='[BCDEGRST]'
16176 # Regexp to match symbols that can be accessed directly from C.
16177 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
16179 -# Transform the above into a raw symbol and a C symbol.
16180 -symxfrm='\1 \2\3 \3'
16182 # Transform an extracted symbol line into a proper C declaration
16183 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
16185 @@ -5546,15 +6451,31 @@ hpux*) # Its linker distinguishes data from code symbols
16186 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
16187 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'"
16189 +linux* | k*bsd*-gnu)
16190 + if test "$host_cpu" = ia64; then
16191 + symcode='[ABCDGIRSTW]'
16192 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
16193 + 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'"
16196 irix* | nonstopux*)
16197 symcode='[BCDEGRST]'
16200 symcode='[BCDEGQRST]'
16202 -solaris* | sysv5*)
16212 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
16218 @@ -5577,8 +6498,11 @@ esac
16219 # Try without a prefix undercore, then with it.
16220 for ac_symprfx in "" "_"; do
16222 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
16223 + symxfrm="\\1 $ac_symprfx\\2 \\2"
16225 # Write the raw and C identifiers.
16226 - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
16227 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
16229 # Check to see that the pipe works correctly.
16231 @@ -5599,14 +6523,14 @@ EOF
16232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16233 (eval $ac_compile) 2>&5
16235 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16237 (exit $ac_status); }; then
16238 # Now try to grab the symbols.
16240 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
16241 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
16243 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); } && test -s "$nlist"; then
16246 # Try sorting and uniquifying the output.
16247 if sort "$nlist" | uniq > "$nlist"T; then
16248 @@ -5661,7 +6585,7 @@ EOF
16249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16250 (eval $ac_link) 2>&5
16252 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); } && test -s conftest${ac_exeext}; then
16257 @@ -5680,7 +6604,7 @@ EOF
16258 echo "$progname: failed program was:" >&5
16259 cat conftest.$ac_ext >&5
16261 - rm -f conftest* conftst*
16262 + rm -rf conftest* conftst*
16264 # Do not use the global_symbol_pipe unless it works.
16265 if test "$pipe_works" = yes; then
16266 @@ -5696,17 +6620,17 @@ if test -z "$lt_cv_sys_global_symbol_pipe"; then
16267 lt_cv_sys_global_symbol_to_cdecl=
16269 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
16270 - echo "$as_me:$LINENO: result: failed" >&5
16271 -echo "${ECHO_T}failed" >&6
16272 + { $as_echo "$as_me:$LINENO: result: failed" >&5
16273 +$as_echo "failed" >&6; }
16275 - echo "$as_me:$LINENO: result: ok" >&5
16276 -echo "${ECHO_T}ok" >&6
16277 + { $as_echo "$as_me:$LINENO: result: ok" >&5
16278 +$as_echo "ok" >&6; }
16281 -echo "$as_me:$LINENO: checking for objdir" >&5
16282 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6
16283 +{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
16284 +$as_echo_n "checking for objdir... " >&6; }
16285 if test "${lt_cv_objdir+set}" = set; then
16286 - echo $ECHO_N "(cached) $ECHO_C" >&6
16287 + $as_echo_n "(cached) " >&6
16289 rm -f .libs 2>/dev/null
16290 mkdir .libs 2>/dev/null
16291 @@ -5718,8 +6642,8 @@ else
16293 rmdir .libs 2>/dev/null
16295 -echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
16296 -echo "${ECHO_T}$lt_cv_objdir" >&6
16297 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
16298 +$as_echo "$lt_cv_objdir" >&6; }
16299 objdir=$lt_cv_objdir
16302 @@ -5740,7 +6664,7 @@ esac
16304 # Sed substitution that helps us do robust quoting. It backslashifies
16305 # metacharacters that are still active within double-quoted strings.
16306 -Xsed='sed -e s/^X//'
16307 +Xsed='sed -e 1s/^X//'
16308 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
16310 # Same as above, but do not quote variable references.
16311 @@ -5760,7 +6684,7 @@ rm="rm -f"
16312 default_ofile=libtool
16313 can_build_shared=yes
16315 -# All known linkers require a `.a' archive for static linking (except M$VC,
16316 +# All known linkers require a `.a' archive for static linking (except MSVC,
16317 # which needs '.lib').
16319 ltmain="$ac_aux_dir/ltmain.sh"
16320 @@ -5770,10 +6694,10 @@ with_gnu_ld="$lt_cv_prog_gnu_ld"
16321 if test -n "$ac_tool_prefix"; then
16322 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16323 set dummy ${ac_tool_prefix}ar; ac_word=$2
16324 -echo "$as_me:$LINENO: checking for $ac_word" >&5
16325 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16326 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16327 +$as_echo_n "checking for $ac_word... " >&6; }
16328 if test "${ac_cv_prog_AR+set}" = set; then
16329 - echo $ECHO_N "(cached) $ECHO_C" >&6
16330 + $as_echo_n "(cached) " >&6
16332 if test -n "$AR"; then
16333 ac_cv_prog_AR="$AR" # Let the user override the test.
16334 @@ -5784,34 +6708,36 @@ do
16336 test -z "$as_dir" && as_dir=.
16337 for ac_exec_ext in '' $ac_executable_extensions; do
16338 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16339 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16340 ac_cv_prog_AR="${ac_tool_prefix}ar"
16341 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16342 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16352 if test -n "$AR"; then
16353 - echo "$as_me:$LINENO: result: $AR" >&5
16354 -echo "${ECHO_T}$AR" >&6
16355 + { $as_echo "$as_me:$LINENO: result: $AR" >&5
16356 +$as_echo "$AR" >&6; }
16358 - echo "$as_me:$LINENO: result: no" >&5
16359 -echo "${ECHO_T}no" >&6
16360 + { $as_echo "$as_me:$LINENO: result: no" >&5
16361 +$as_echo "no" >&6; }
16366 if test -z "$ac_cv_prog_AR"; then
16368 # Extract the first word of "ar", so it can be a program name with args.
16369 set dummy ar; ac_word=$2
16370 -echo "$as_me:$LINENO: checking for $ac_word" >&5
16371 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16372 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16373 +$as_echo_n "checking for $ac_word... " >&6; }
16374 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16375 - echo $ECHO_N "(cached) $ECHO_C" >&6
16376 + $as_echo_n "(cached) " >&6
16378 if test -n "$ac_ct_AR"; then
16379 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16380 @@ -5822,27 +6748,37 @@ do
16382 test -z "$as_dir" && as_dir=.
16383 for ac_exec_ext in '' $ac_executable_extensions; do
16384 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16385 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16386 ac_cv_prog_ac_ct_AR="ar"
16387 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16388 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16395 - test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
16398 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16399 if test -n "$ac_ct_AR"; then
16400 - echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16401 -echo "${ECHO_T}$ac_ct_AR" >&6
16402 + { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16403 +$as_echo "$ac_ct_AR" >&6; }
16405 - echo "$as_me:$LINENO: result: no" >&5
16406 -echo "${ECHO_T}no" >&6
16407 + { $as_echo "$as_me:$LINENO: result: no" >&5
16408 +$as_echo "no" >&6; }
16412 + if test "x$ac_ct_AR" = x; then
16415 + case $cross_compiling:$ac_tool_warned in
16417 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
16418 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16419 +ac_tool_warned=yes ;;
16424 AR="$ac_cv_prog_AR"
16426 @@ -5850,10 +6786,10 @@ fi
16427 if test -n "$ac_tool_prefix"; then
16428 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16429 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16430 -echo "$as_me:$LINENO: checking for $ac_word" >&5
16431 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16432 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16433 +$as_echo_n "checking for $ac_word... " >&6; }
16434 if test "${ac_cv_prog_RANLIB+set}" = set; then
16435 - echo $ECHO_N "(cached) $ECHO_C" >&6
16436 + $as_echo_n "(cached) " >&6
16438 if test -n "$RANLIB"; then
16439 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16440 @@ -5864,34 +6800,36 @@ do
16442 test -z "$as_dir" && as_dir=.
16443 for ac_exec_ext in '' $ac_executable_extensions; do
16444 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16445 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16446 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16447 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16448 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16457 RANLIB=$ac_cv_prog_RANLIB
16458 if test -n "$RANLIB"; then
16459 - echo "$as_me:$LINENO: result: $RANLIB" >&5
16460 -echo "${ECHO_T}$RANLIB" >&6
16461 + { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
16462 +$as_echo "$RANLIB" >&6; }
16464 - echo "$as_me:$LINENO: result: no" >&5
16465 -echo "${ECHO_T}no" >&6
16466 + { $as_echo "$as_me:$LINENO: result: no" >&5
16467 +$as_echo "no" >&6; }
16472 if test -z "$ac_cv_prog_RANLIB"; then
16473 ac_ct_RANLIB=$RANLIB
16474 # Extract the first word of "ranlib", so it can be a program name with args.
16475 set dummy ranlib; ac_word=$2
16476 -echo "$as_me:$LINENO: checking for $ac_word" >&5
16477 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16478 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16479 +$as_echo_n "checking for $ac_word... " >&6; }
16480 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16481 - echo $ECHO_N "(cached) $ECHO_C" >&6
16482 + $as_echo_n "(cached) " >&6
16484 if test -n "$ac_ct_RANLIB"; then
16485 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16486 @@ -5902,27 +6840,37 @@ do
16488 test -z "$as_dir" && as_dir=.
16489 for ac_exec_ext in '' $ac_executable_extensions; do
16490 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16491 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16492 ac_cv_prog_ac_ct_RANLIB="ranlib"
16493 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16494 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16501 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
16504 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16505 if test -n "$ac_ct_RANLIB"; then
16506 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16507 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
16508 + { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16509 +$as_echo "$ac_ct_RANLIB" >&6; }
16511 - echo "$as_me:$LINENO: result: no" >&5
16512 -echo "${ECHO_T}no" >&6
16513 + { $as_echo "$as_me:$LINENO: result: no" >&5
16514 +$as_echo "no" >&6; }
16517 - RANLIB=$ac_ct_RANLIB
16518 + if test "x$ac_ct_RANLIB" = x; then
16521 + case $cross_compiling:$ac_tool_warned in
16523 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
16524 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16525 +ac_tool_warned=yes ;;
16527 + RANLIB=$ac_ct_RANLIB
16530 RANLIB="$ac_cv_prog_RANLIB"
16532 @@ -5930,10 +6878,10 @@ fi
16533 if test -n "$ac_tool_prefix"; then
16534 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16535 set dummy ${ac_tool_prefix}strip; ac_word=$2
16536 -echo "$as_me:$LINENO: checking for $ac_word" >&5
16537 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16538 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16539 +$as_echo_n "checking for $ac_word... " >&6; }
16540 if test "${ac_cv_prog_STRIP+set}" = set; then
16541 - echo $ECHO_N "(cached) $ECHO_C" >&6
16542 + $as_echo_n "(cached) " >&6
16544 if test -n "$STRIP"; then
16545 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16546 @@ -5944,34 +6892,36 @@ do
16548 test -z "$as_dir" && as_dir=.
16549 for ac_exec_ext in '' $ac_executable_extensions; do
16550 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16551 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16552 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16553 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16554 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16563 STRIP=$ac_cv_prog_STRIP
16564 if test -n "$STRIP"; then
16565 - echo "$as_me:$LINENO: result: $STRIP" >&5
16566 -echo "${ECHO_T}$STRIP" >&6
16567 + { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
16568 +$as_echo "$STRIP" >&6; }
16570 - echo "$as_me:$LINENO: result: no" >&5
16571 -echo "${ECHO_T}no" >&6
16572 + { $as_echo "$as_me:$LINENO: result: no" >&5
16573 +$as_echo "no" >&6; }
16578 if test -z "$ac_cv_prog_STRIP"; then
16580 # Extract the first word of "strip", so it can be a program name with args.
16581 set dummy strip; ac_word=$2
16582 -echo "$as_me:$LINENO: checking for $ac_word" >&5
16583 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16584 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16585 +$as_echo_n "checking for $ac_word... " >&6; }
16586 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16587 - echo $ECHO_N "(cached) $ECHO_C" >&6
16588 + $as_echo_n "(cached) " >&6
16590 if test -n "$ac_ct_STRIP"; then
16591 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16592 @@ -5982,27 +6932,37 @@ do
16594 test -z "$as_dir" && as_dir=.
16595 for ac_exec_ext in '' $ac_executable_extensions; do
16596 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16597 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16598 ac_cv_prog_ac_ct_STRIP="strip"
16599 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16600 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16607 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
16610 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16611 if test -n "$ac_ct_STRIP"; then
16612 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16613 -echo "${ECHO_T}$ac_ct_STRIP" >&6
16614 + { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16615 +$as_echo "$ac_ct_STRIP" >&6; }
16617 - echo "$as_me:$LINENO: result: no" >&5
16618 -echo "${ECHO_T}no" >&6
16619 + { $as_echo "$as_me:$LINENO: result: no" >&5
16620 +$as_echo "no" >&6; }
16623 - STRIP=$ac_ct_STRIP
16624 + if test "x$ac_ct_STRIP" = x; then
16627 + case $cross_compiling:$ac_tool_warned in
16629 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
16630 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16631 +ac_tool_warned=yes ;;
16633 + STRIP=$ac_ct_STRIP
16636 STRIP="$ac_cv_prog_STRIP"
16638 @@ -6017,6 +6977,7 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
16639 test -z "$AS" && AS=as
16640 test -z "$CC" && CC=cc
16641 test -z "$LTCC" && LTCC=$CC
16642 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
16643 test -z "$DLLTOOL" && DLLTOOL=dlltool
16644 test -z "$LD" && LD=ld
16645 test -z "$LN_S" && LN_S="ln -s"
16646 @@ -6029,30 +6990,41 @@ test -z "$STRIP" && STRIP=:
16647 test -z "$ac_objext" && ac_objext=o
16649 # Determine commands to create old-style static archives.
16650 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
16651 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
16652 old_postinstall_cmds='chmod 644 $oldlib'
16653 old_postuninstall_cmds=
16655 if test -n "$RANLIB"; then
16658 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
16659 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
16662 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
16663 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
16666 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
16669 +for cc_temp in $compiler""; do
16671 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16672 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16677 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16680 # Only perform the check for file, if the check method requires it
16681 case $deplibs_check_method in
16683 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
16684 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
16685 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
16686 + { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
16687 +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
16688 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
16689 - echo $ECHO_N "(cached) $ECHO_C" >&6
16690 + $as_echo_n "(cached) " >&6
16694 @@ -6070,7 +7042,7 @@ else
16695 if test -n "$file_magic_test_file"; then
16696 case $deplibs_check_method in
16698 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
16699 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
16700 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
16701 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
16702 $EGREP "$file_magic_regex" > /dev/null; then
16703 @@ -6102,19 +7074,19 @@ fi
16705 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
16706 if test -n "$MAGIC_CMD"; then
16707 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
16708 -echo "${ECHO_T}$MAGIC_CMD" >&6
16709 + { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
16710 +$as_echo "$MAGIC_CMD" >&6; }
16712 - echo "$as_me:$LINENO: result: no" >&5
16713 -echo "${ECHO_T}no" >&6
16714 + { $as_echo "$as_me:$LINENO: result: no" >&5
16715 +$as_echo "no" >&6; }
16718 if test -z "$lt_cv_path_MAGIC_CMD"; then
16719 if test -n "$ac_tool_prefix"; then
16720 - echo "$as_me:$LINENO: checking for file" >&5
16721 -echo $ECHO_N "checking for file... $ECHO_C" >&6
16722 + { $as_echo "$as_me:$LINENO: checking for file" >&5
16723 +$as_echo_n "checking for file... " >&6; }
16724 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
16725 - echo $ECHO_N "(cached) $ECHO_C" >&6
16726 + $as_echo_n "(cached) " >&6
16730 @@ -6132,7 +7104,7 @@ else
16731 if test -n "$file_magic_test_file"; then
16732 case $deplibs_check_method in
16734 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
16735 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
16736 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
16737 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
16738 $EGREP "$file_magic_regex" > /dev/null; then
16739 @@ -6164,11 +7136,11 @@ fi
16741 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
16742 if test -n "$MAGIC_CMD"; then
16743 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
16744 -echo "${ECHO_T}$MAGIC_CMD" >&6
16745 + { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
16746 +$as_echo "$MAGIC_CMD" >&6; }
16748 - echo "$as_me:$LINENO: result: no" >&5
16749 -echo "${ECHO_T}no" >&6
16750 + { $as_echo "$as_me:$LINENO: result: no" >&5
16751 +$as_echo "no" >&6; }
16755 @@ -6180,24 +7152,332 @@ fi
16761 + rhapsody* | darwin*)
16762 + if test -n "$ac_tool_prefix"; then
16763 + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
16764 +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
16765 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16766 +$as_echo_n "checking for $ac_word... " >&6; }
16767 +if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
16768 + $as_echo_n "(cached) " >&6
16770 + if test -n "$DSYMUTIL"; then
16771 + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
16773 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16774 +for as_dir in $PATH
16777 + test -z "$as_dir" && as_dir=.
16778 + for ac_exec_ext in '' $ac_executable_extensions; do
16779 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16780 + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
16781 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16790 +DSYMUTIL=$ac_cv_prog_DSYMUTIL
16791 +if test -n "$DSYMUTIL"; then
16792 + { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
16793 +$as_echo "$DSYMUTIL" >&6; }
16795 + { $as_echo "$as_me:$LINENO: result: no" >&5
16796 +$as_echo "no" >&6; }
16801 +if test -z "$ac_cv_prog_DSYMUTIL"; then
16802 + ac_ct_DSYMUTIL=$DSYMUTIL
16803 + # Extract the first word of "dsymutil", so it can be a program name with args.
16804 +set dummy dsymutil; ac_word=$2
16805 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16806 +$as_echo_n "checking for $ac_word... " >&6; }
16807 +if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
16808 + $as_echo_n "(cached) " >&6
16810 + if test -n "$ac_ct_DSYMUTIL"; then
16811 + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
16813 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16814 +for as_dir in $PATH
16817 + test -z "$as_dir" && as_dir=.
16818 + for ac_exec_ext in '' $ac_executable_extensions; do
16819 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16820 + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
16821 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16830 +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
16831 +if test -n "$ac_ct_DSYMUTIL"; then
16832 + { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
16833 +$as_echo "$ac_ct_DSYMUTIL" >&6; }
16835 + { $as_echo "$as_me:$LINENO: result: no" >&5
16836 +$as_echo "no" >&6; }
16839 + if test "x$ac_ct_DSYMUTIL" = x; then
16842 + case $cross_compiling:$ac_tool_warned in
16844 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
16845 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16846 +ac_tool_warned=yes ;;
16848 + DSYMUTIL=$ac_ct_DSYMUTIL
16851 + DSYMUTIL="$ac_cv_prog_DSYMUTIL"
16854 + if test -n "$ac_tool_prefix"; then
16855 + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
16856 +set dummy ${ac_tool_prefix}nmedit; ac_word=$2
16857 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16858 +$as_echo_n "checking for $ac_word... " >&6; }
16859 +if test "${ac_cv_prog_NMEDIT+set}" = set; then
16860 + $as_echo_n "(cached) " >&6
16862 + if test -n "$NMEDIT"; then
16863 + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
16865 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16866 +for as_dir in $PATH
16869 + test -z "$as_dir" && as_dir=.
16870 + for ac_exec_ext in '' $ac_executable_extensions; do
16871 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16872 + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
16873 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16882 +NMEDIT=$ac_cv_prog_NMEDIT
16883 +if test -n "$NMEDIT"; then
16884 + { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
16885 +$as_echo "$NMEDIT" >&6; }
16887 + { $as_echo "$as_me:$LINENO: result: no" >&5
16888 +$as_echo "no" >&6; }
16893 +if test -z "$ac_cv_prog_NMEDIT"; then
16894 + ac_ct_NMEDIT=$NMEDIT
16895 + # Extract the first word of "nmedit", so it can be a program name with args.
16896 +set dummy nmedit; ac_word=$2
16897 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16898 +$as_echo_n "checking for $ac_word... " >&6; }
16899 +if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
16900 + $as_echo_n "(cached) " >&6
16902 + if test -n "$ac_ct_NMEDIT"; then
16903 + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
16905 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16906 +for as_dir in $PATH
16909 + test -z "$as_dir" && as_dir=.
16910 + for ac_exec_ext in '' $ac_executable_extensions; do
16911 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16912 + ac_cv_prog_ac_ct_NMEDIT="nmedit"
16913 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16922 +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
16923 +if test -n "$ac_ct_NMEDIT"; then
16924 + { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
16925 +$as_echo "$ac_ct_NMEDIT" >&6; }
16927 + { $as_echo "$as_me:$LINENO: result: no" >&5
16928 +$as_echo "no" >&6; }
16931 + if test "x$ac_ct_NMEDIT" = x; then
16934 + case $cross_compiling:$ac_tool_warned in
16936 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
16937 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16938 +ac_tool_warned=yes ;;
16940 + NMEDIT=$ac_ct_NMEDIT
16943 + NMEDIT="$ac_cv_prog_NMEDIT"
16947 + { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
16948 +$as_echo_n "checking for -single_module linker flag... " >&6; }
16949 +if test "${lt_cv_apple_cc_single_mod+set}" = set; then
16950 + $as_echo_n "(cached) " >&6
16952 + lt_cv_apple_cc_single_mod=no
16953 + if test -z "${LT_MULTI_MODULE}"; then
16954 + # By default we will add the -single_module flag. You can override
16955 + # by either setting the environment variable LT_MULTI_MODULE
16956 + # non-empty at configure time, or by adding -multi_module to the
16958 + echo "int foo(void){return 1;}" > conftest.c
16959 + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
16960 + -dynamiclib ${wl}-single_module conftest.c
16961 + if test -f libconftest.dylib; then
16962 + lt_cv_apple_cc_single_mod=yes
16963 + rm -rf libconftest.dylib*
16968 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
16969 +$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
16970 + { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
16971 +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
16972 +if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
16973 + $as_echo_n "(cached) " >&6
16975 + lt_cv_ld_exported_symbols_list=no
16976 + save_LDFLAGS=$LDFLAGS
16977 + echo "_main" > conftest.sym
16978 + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
16979 + cat >conftest.$ac_ext <<_ACEOF
16982 +cat confdefs.h >>conftest.$ac_ext
16983 +cat >>conftest.$ac_ext <<_ACEOF
16984 +/* end confdefs.h. */
16994 +rm -f conftest.$ac_objext conftest$ac_exeext
16995 +if { (ac_try="$ac_link"
16996 +case "(($ac_try" in
16997 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16998 + *) ac_try_echo=$ac_try;;
17000 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17001 +$as_echo "$ac_try_echo") >&5
17002 + (eval "$ac_link") 2>conftest.er1
17004 + grep -v '^ *+' conftest.er1 >conftest.err
17005 + rm -f conftest.er1
17006 + cat conftest.err >&5
17007 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 + (exit $ac_status); } && {
17009 + test -z "$ac_c_werror_flag" ||
17010 + test ! -s conftest.err
17011 + } && test -s conftest$ac_exeext && {
17012 + test "$cross_compiling" = yes ||
17013 + $as_test_x conftest$ac_exeext
17015 + lt_cv_ld_exported_symbols_list=yes
17017 + $as_echo "$as_me: failed program was:" >&5
17018 +sed 's/^/| /' conftest.$ac_ext >&5
17020 + lt_cv_ld_exported_symbols_list=no
17023 +rm -rf conftest.dSYM
17024 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17025 + conftest$ac_exeext conftest.$ac_ext
17026 + LDFLAGS="$save_LDFLAGS"
17029 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
17030 +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
17032 + rhapsody* | darwin1.[0123])
17033 + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
17035 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
17037 + # if running on 10.5 or later, the deployment target defaults
17038 + # to the OS version, if on x86, and 10.4, the deployment
17039 + # target defaults to 10.4. Don't you love it?
17040 + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
17041 + 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
17042 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
17044 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
17046 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
17050 + if test "$lt_cv_apple_cc_single_mod" = "yes"; then
17051 + _lt_dar_single_mod='$single_module'
17053 + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
17054 + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
17056 + _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
17058 + if test "$DSYMUTIL" != ":"; then
17059 + _lt_dsymutil="~$DSYMUTIL \$lib || :"
17068 enable_win32_dll=no
17070 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
17071 +# Check whether --enable-libtool-lock was given.
17072 if test "${enable_libtool_lock+set}" = set; then
17073 - enableval="$enable_libtool_lock"
17074 + enableval=$enable_libtool_lock;
17078 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
17081 -# Check whether --with-pic or --without-pic was given.
17082 +# Check whether --with-pic was given.
17083 if test "${with_pic+set}" = set; then
17084 - withval="$with_pic"
17085 - pic_mode="$withval"
17086 + withval=$with_pic; pic_mode="$withval"
17092 test -z "$pic_mode" && pic_mode=default
17094 # Use C for the default configuration in the libtool script
17095 @@ -6218,77 +7498,34 @@ objext=o
17098 # Code to be used in simple compile tests
17099 -lt_simple_compile_test_code="int some_variable = 0;\n"
17100 +lt_simple_compile_test_code="int some_variable = 0;"
17102 # Code to be used in simple link tests
17103 -lt_simple_link_test_code='int main(){return(0);}\n'
17104 +lt_simple_link_test_code='int main(){return(0);}'
17107 # If no C compiler was specified, use CC.
17110 +# If no C compiler flags were specified, use CFLAGS.
17111 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17113 # Allow CC to be a program name with arguments.
17118 -# Check for any special shared library compilation flags.
17121 -if test "$GCC" = no; then
17124 - lt_prog_cc_shlib='-belf'
17128 -if test -n "$lt_prog_cc_shlib"; then
17129 - { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
17130 -echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
17131 - if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
17133 - { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
17134 -echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
17135 - lt_cv_prog_cc_can_build_shared=no
17141 -# Check to make sure the static flag actually works.
17143 -echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
17144 -echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
17145 -if test "${lt_prog_compiler_static_works+set}" = set; then
17146 - echo $ECHO_N "(cached) $ECHO_C" >&6
17148 - lt_prog_compiler_static_works=no
17149 - save_LDFLAGS="$LDFLAGS"
17150 - LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
17151 - printf "$lt_simple_link_test_code" > conftest.$ac_ext
17152 - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17153 - # The compiler can only warn and ignore the option if not recognized
17154 - # So say no if there are warnings
17155 - if test -s conftest.err; then
17156 - # Append any errors to the config.log.
17157 - cat conftest.err 1>&5
17159 - lt_prog_compiler_static_works=yes
17163 - LDFLAGS="$save_LDFLAGS"
17166 -echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
17167 -echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
17169 -if test x"$lt_prog_compiler_static_works" = xyes; then
17172 - lt_prog_compiler_static=
17174 +# save warnings/boilerplate of simple test code
17175 +ac_outfile=conftest.$ac_objext
17176 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17177 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17178 +_lt_compiler_boilerplate=`cat conftest.err`
17181 +ac_outfile=conftest.$ac_objext
17182 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
17183 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17184 +_lt_linker_boilerplate=`cat conftest.err`
17189 @@ -6298,14 +7535,14 @@ if test "$GCC" = yes; then
17190 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
17193 -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17194 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
17195 +{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17196 +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
17197 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17198 - echo $ECHO_N "(cached) $ECHO_C" >&6
17199 + $as_echo_n "(cached) " >&6
17201 lt_cv_prog_compiler_rtti_exceptions=no
17202 ac_outfile=conftest.$ac_objext
17203 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17204 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17205 lt_compiler_flag="-fno-rtti -fno-exceptions"
17206 # Insert the option either (1) after the last *FLAGS variable, or
17207 # (2) before a word containing "conftest.", or (3) at the end.
17208 @@ -6313,26 +7550,28 @@ else
17209 # with a dollar sign (not a hyphen), so the echo should work correctly.
17210 # The option is referenced via a variable to avoid confusing sed.
17211 lt_compile=`echo "$ac_compile" | $SED \
17212 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17213 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17214 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17215 -e 's:$: $lt_compiler_flag:'`
17216 - (eval echo "\"\$as_me:6319: $lt_compile\"" >&5)
17217 + (eval echo "\"\$as_me:7556: $lt_compile\"" >&5)
17218 (eval "$lt_compile" 2>conftest.err)
17220 cat conftest.err >&5
17221 - echo "$as_me:6323: \$? = $ac_status" >&5
17222 + echo "$as_me:7560: \$? = $ac_status" >&5
17223 if (exit $ac_status) && test -s "$ac_outfile"; then
17224 # The compiler can only warn and ignore the option if not recognized
17225 - # So say no if there are warnings
17226 - if test ! -s conftest.err; then
17227 + # So say no if there are warnings other than the usual output.
17228 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17229 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17230 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17231 lt_cv_prog_compiler_rtti_exceptions=yes
17237 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17238 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
17239 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17240 +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17242 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17243 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
17244 @@ -6346,8 +7585,8 @@ lt_prog_compiler_wl=
17245 lt_prog_compiler_pic=
17246 lt_prog_compiler_static=
17248 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17249 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17250 +{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17251 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17253 if test "$GCC" = yes; then
17254 lt_prog_compiler_wl='-Wl,'
17255 @@ -6369,13 +7608,15 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17256 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
17259 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17260 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17261 # PIC is the default for these OSes.
17264 - mingw* | pw32* | os2*)
17265 + mingw* | cygwin* | pw32* | os2*)
17266 # This hack is so that the source file can tell whether it is being
17267 # built for inclusion in a dll (and should export symbols for example).
17268 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
17269 + # (--disable-auto-import) libraries
17270 lt_prog_compiler_pic='-DDLL_EXPORT'
17273 @@ -6385,6 +7626,11 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17274 lt_prog_compiler_pic='-fno-common'
17278 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17279 + # Instead, we relocate shared libraries at runtime.
17283 # Just because we use GCC doesn't mean we suddenly get shared libraries
17284 # on systems that don't support them.
17285 @@ -6401,7 +7647,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17287 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17288 # not for PA HP-UX.
17289 - case "$host_cpu" in
17290 + case $host_cpu in
17294 @@ -6427,8 +7673,18 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17295 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
17299 + # PIC is the default on this platform
17300 + # Common symbols not allowed in MH_DYLIB files
17301 + case $cc_basename in
17303 + lt_prog_compiler_pic='-qnocommon'
17304 + lt_prog_compiler_wl='-Wl,'
17309 - mingw* | pw32* | os2*)
17310 + mingw* | cygwin* | pw32* | os2*)
17311 # This hack is so that the source file can tell whether it is being
17312 # built for inclusion in a dll (and should export symbols for example).
17313 lt_prog_compiler_pic='-DDLL_EXPORT'
17314 @@ -6438,7 +7694,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17315 lt_prog_compiler_wl='-Wl,'
17316 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17317 # not for PA HP-UX.
17318 - case "$host_cpu" in
17319 + case $host_cpu in
17323 @@ -6461,18 +7717,41 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17324 lt_prog_compiler_static='-Bstatic'
17329 + linux* | k*bsd*-gnu)
17330 + case $cc_basename in
17332 lt_prog_compiler_wl='-Wl,'
17333 lt_prog_compiler_pic='-KPIC'
17334 lt_prog_compiler_static='-static'
17336 + pgcc* | pgf77* | pgf90* | pgf95*)
17337 + # Portland Group compilers (*not* the Pentium gcc compiler,
17338 + # which looks to be a dead project)
17339 + lt_prog_compiler_wl='-Wl,'
17340 + lt_prog_compiler_pic='-fpic'
17341 + lt_prog_compiler_static='-Bstatic'
17344 lt_prog_compiler_wl='-Wl,'
17345 # All Alpha code is PIC.
17346 lt_prog_compiler_static='-non_shared'
17349 + case `$CC -V 2>&1 | sed 5q` in
17352 + lt_prog_compiler_pic='-KPIC'
17353 + lt_prog_compiler_static='-Bstatic'
17354 + lt_prog_compiler_wl='-Wl,'
17357 + # Sun Fortran 8.3 passes all unrecognized flags to the linker
17358 + lt_prog_compiler_pic='-KPIC'
17359 + lt_prog_compiler_static='-Bstatic'
17360 + lt_prog_compiler_wl=''
17367 @@ -6482,15 +7761,19 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17368 lt_prog_compiler_static='-non_shared'
17372 - lt_prog_compiler_pic='-Kpic'
17373 - lt_prog_compiler_static='-dn'
17375 + lt_prog_compiler_static='-non_shared'
17379 - lt_prog_compiler_wl='-Wl,'
17380 lt_prog_compiler_pic='-KPIC'
17381 lt_prog_compiler_static='-Bstatic'
17382 + case $cc_basename in
17383 + f77* | f90* | f95*)
17384 + lt_prog_compiler_wl='-Qoption ld ';;
17386 + lt_prog_compiler_wl='-Wl,';;
17391 @@ -6499,7 +7782,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17392 lt_prog_compiler_static='-Bstatic'
17395 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
17396 + sysv4 | sysv4.2uw2* | sysv4.3*)
17397 lt_prog_compiler_wl='-Wl,'
17398 lt_prog_compiler_pic='-KPIC'
17399 lt_prog_compiler_static='-Bstatic'
17400 @@ -6512,6 +7795,17 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17404 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17405 + lt_prog_compiler_wl='-Wl,'
17406 + lt_prog_compiler_pic='-KPIC'
17407 + lt_prog_compiler_static='-Bstatic'
17411 + lt_prog_compiler_wl='-Wl,'
17412 + lt_prog_compiler_can_build_shared=no
17416 lt_prog_compiler_pic='-pic'
17417 lt_prog_compiler_static='-Bstatic'
17418 @@ -6523,22 +7817,22 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17422 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
17423 -echo "${ECHO_T}$lt_prog_compiler_pic" >&6
17424 +{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
17425 +$as_echo "$lt_prog_compiler_pic" >&6; }
17428 # Check to make sure the PIC flag actually works.
17430 if test -n "$lt_prog_compiler_pic"; then
17432 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
17433 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
17434 -if test "${lt_prog_compiler_pic_works+set}" = set; then
17435 - echo $ECHO_N "(cached) $ECHO_C" >&6
17436 +{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
17437 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
17438 +if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
17439 + $as_echo_n "(cached) " >&6
17441 - lt_prog_compiler_pic_works=no
17442 + lt_cv_prog_compiler_pic_works=no
17443 ac_outfile=conftest.$ac_objext
17444 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17445 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17446 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
17447 # Insert the option either (1) after the last *FLAGS variable, or
17448 # (2) before a word containing "conftest.", or (3) at the end.
17449 @@ -6546,28 +7840,30 @@ else
17450 # with a dollar sign (not a hyphen), so the echo should work correctly.
17451 # The option is referenced via a variable to avoid confusing sed.
17452 lt_compile=`echo "$ac_compile" | $SED \
17453 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17454 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17455 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17456 -e 's:$: $lt_compiler_flag:'`
17457 - (eval echo "\"\$as_me:6552: $lt_compile\"" >&5)
17458 + (eval echo "\"\$as_me:7846: $lt_compile\"" >&5)
17459 (eval "$lt_compile" 2>conftest.err)
17461 cat conftest.err >&5
17462 - echo "$as_me:6556: \$? = $ac_status" >&5
17463 + echo "$as_me:7850: \$? = $ac_status" >&5
17464 if (exit $ac_status) && test -s "$ac_outfile"; then
17465 # The compiler can only warn and ignore the option if not recognized
17466 - # So say no if there are warnings
17467 - if test ! -s conftest.err; then
17468 - lt_prog_compiler_pic_works=yes
17469 + # So say no if there are warnings other than the usual output.
17470 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17471 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17472 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17473 + lt_cv_prog_compiler_pic_works=yes
17479 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
17480 -echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
17481 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
17482 +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
17484 -if test x"$lt_prog_compiler_pic_works" = xyes; then
17485 +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
17486 case $lt_prog_compiler_pic in
17488 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
17489 @@ -6578,7 +7874,7 @@ else
17493 -case "$host_os" in
17495 # For platforms which do not support PIC, -DPIC is meaningless:
17497 lt_prog_compiler_pic=
17498 @@ -6588,17 +7884,59 @@ case "$host_os" in
17502 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17503 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
17505 +# Check to make sure the static flag actually works.
17507 +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
17508 +{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17509 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17510 +if test "${lt_cv_prog_compiler_static_works+set}" = set; then
17511 + $as_echo_n "(cached) " >&6
17513 + lt_cv_prog_compiler_static_works=no
17514 + save_LDFLAGS="$LDFLAGS"
17515 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17516 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
17517 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17518 + # The linker can only warn and ignore the option if not recognized
17519 + # So say no if there are warnings
17520 + if test -s conftest.err; then
17521 + # Append any errors to the config.log.
17522 + cat conftest.err 1>&5
17523 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17524 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17525 + if diff conftest.exp conftest.er2 >/dev/null; then
17526 + lt_cv_prog_compiler_static_works=yes
17529 + lt_cv_prog_compiler_static_works=yes
17533 + LDFLAGS="$save_LDFLAGS"
17536 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
17537 +$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
17539 +if test x"$lt_cv_prog_compiler_static_works" = xyes; then
17542 + lt_prog_compiler_static=
17546 +{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17547 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17548 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
17549 - echo $ECHO_N "(cached) $ECHO_C" >&6
17550 + $as_echo_n "(cached) " >&6
17552 lt_cv_prog_compiler_c_o=no
17553 $rm -r conftest 2>/dev/null
17557 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17558 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17560 lt_compiler_flag="-o out/conftest2.$ac_objext"
17561 # Insert the option either (1) after the last *FLAGS variable, or
17562 @@ -6606,23 +7944,25 @@ else
17563 # Note that $ac_compile itself does not contain backslashes and begins
17564 # with a dollar sign (not a hyphen), so the echo should work correctly.
17565 lt_compile=`echo "$ac_compile" | $SED \
17566 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17567 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17568 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17569 -e 's:$: $lt_compiler_flag:'`
17570 - (eval echo "\"\$as_me:6612: $lt_compile\"" >&5)
17571 + (eval echo "\"\$as_me:7950: $lt_compile\"" >&5)
17572 (eval "$lt_compile" 2>out/conftest.err)
17574 cat out/conftest.err >&5
17575 - echo "$as_me:6616: \$? = $ac_status" >&5
17576 + echo "$as_me:7954: \$? = $ac_status" >&5
17577 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17579 # The compiler can only warn and ignore the option if not recognized
17580 # So say no if there are warnings
17581 - if test ! -s out/conftest.err; then
17582 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17583 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17584 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17585 lt_cv_prog_compiler_c_o=yes
17591 # SGI C++ compiler will create directory out/ii_files/ for
17592 # template instantiation
17593 @@ -6633,34 +7973,34 @@ else
17597 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
17598 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
17599 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
17600 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
17603 hard_links="nottested"
17604 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
17605 # do not overwrite the value of need_locks provided by the user
17606 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17607 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
17608 + { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17609 +$as_echo_n "checking if we can lock with hard links... " >&6; }
17612 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17614 ln conftest.a conftest.b 2>&5 || hard_links=no
17615 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17616 - echo "$as_me:$LINENO: result: $hard_links" >&5
17617 -echo "${ECHO_T}$hard_links" >&6
17618 + { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
17619 +$as_echo "$hard_links" >&6; }
17620 if test "$hard_links" = no; then
17621 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17622 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17623 + { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17624 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17631 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17632 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
17633 +{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17634 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17637 allow_undefined_flag=
17638 @@ -6691,13 +8031,24 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
17639 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17640 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17641 # as well as any symbol that contains `d'.
17642 - exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
17643 + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17644 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17645 # platforms (ab)use it in PIC code, but their linkers get confused if
17646 # the symbol is explicitly referenced. Since portable code cannot
17647 # rely on this symbol name, it's probably fine to never include it in
17648 # preloaded symbol tables.
17649 + # Exclude shared library initialization/finalization symbols.
17650 extract_expsyms_cmds=
17651 + # Just being paranoid about ensuring that cc_basename is set.
17652 + for cc_temp in $compiler""; do
17654 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17655 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17660 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17663 cygwin* | mingw* | pw32*)
17664 @@ -6708,6 +8059,10 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
17669 + # we just hope/assume this is gcc and not c89 (= MSVC++)
17675 @@ -6718,9 +8073,30 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
17676 # If archive_cmds runs LD, not CC, wlarc should be empty
17679 + # Set some defaults for GNU ld with shared library support. These
17680 + # are reset later if shared libraries are not supported. Putting them
17681 + # here allows them to be overridden if necessary.
17682 + runpath_var=LD_RUN_PATH
17683 + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
17684 + export_dynamic_flag_spec='${wl}--export-dynamic'
17685 + # ancient GNU ld didn't support --whole-archive et. al.
17686 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17687 + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17689 + whole_archive_flag_spec=
17691 + supports_anon_versioning=no
17692 + case `$LD -v 2>/dev/null` in
17693 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17694 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17695 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17696 + *\ 2.11.*) ;; # other 2.11 versions
17697 + *) supports_anon_versioning=yes ;;
17700 # See if GNU ld supports shared libraries.
17702 - aix3* | aix4* | aix5*)
17704 # On AIX/PPC, the GNU linker is very broken
17705 if test "$host_cpu" != ia64; then
17707 @@ -6768,10 +8144,10 @@ EOF
17708 allow_undefined_flag=unsupported
17709 always_export_symbols=no
17710 enable_shared_with_static_runtimes=yes
17711 - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17712 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17714 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17715 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17716 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17717 # If the export-symbols file already is a .def file (1st line
17718 # is EXPORTS), use it as is; otherwise, prepend...
17719 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17720 @@ -6780,13 +8156,69 @@ EOF
17721 echo EXPORTS > $output_objdir/$soname.def;
17722 cat $export_symbols >> $output_objdir/$soname.def;
17724 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17725 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17732 + hardcode_direct=no
17733 + hardcode_shlibpath_var=no
17734 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
17735 + export_dynamic_flag_spec='${wl}-E'
17736 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17737 + # Instead, shared libraries are loaded at an image base (0x10000000 by
17738 + # default) and relocated if they conflict, which is a slow very memory
17739 + # consuming and fragmenting process. To avoid this, we pick a random,
17740 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17741 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17742 + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17743 + 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'
17746 + gnu* | linux* | k*bsd*-gnu)
17747 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17749 + case $cc_basename,$host_cpu in
17750 + pgcc*) # Portland Group C compiler
17751 + 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'
17752 + tmp_addflag=' $pic_flag'
17754 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
17755 + 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'
17756 + tmp_addflag=' $pic_flag -Mnomain' ;;
17757 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
17758 + tmp_addflag=' -i_dynamic' ;;
17759 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
17760 + tmp_addflag=' -i_dynamic -nofor_main' ;;
17761 + ifc* | ifort*) # Intel Fortran compiler
17762 + tmp_addflag=' -nofor_main' ;;
17764 + case `$CC -V 2>&1 | sed 5q` in
17765 + *Sun\ C*) # Sun C 5.9
17766 + 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'
17767 + tmp_sharedflag='-G' ;;
17768 + *Sun\ F*) # Sun Fortran 8.3
17769 + tmp_sharedflag='-G' ;;
17771 + tmp_sharedflag='-shared' ;;
17773 + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17775 + if test $supports_anon_versioning = yes; then
17776 + archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
17777 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17778 + $echo "local: *; };" >> $output_objdir/$libname.ver~
17779 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17781 + link_all_deplibs=no
17788 + netbsd* | netbsdelf*-gnu)
17789 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17790 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17792 @@ -6796,7 +8228,7 @@ EOF
17796 - solaris* | sysv5*)
17798 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17801 @@ -6817,6 +8249,33 @@ EOF
17805 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17806 + case `$LD -v 2>&1` in
17807 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17809 + cat <<_LT_EOF 1>&2
17811 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17812 +*** reliably create shared libraries on SCO systems. Therefore, libtool
17813 +*** is disabling shared libraries support. We urge you to upgrade GNU
17814 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17815 +*** your PATH or compiler configuration so that the native linker is
17816 +*** used, and then restart.
17821 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17822 + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17823 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17824 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17833 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17835 @@ -6824,31 +8283,6 @@ EOF
17836 hardcode_shlibpath_var=no
17840 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17841 - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17842 - archive_cmds="$tmp_archive_cmds"
17843 - supports_anon_versioning=no
17844 - case `$LD -v 2>/dev/null` in
17845 - *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17846 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17847 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17848 - *\ 2.11.*) ;; # other 2.11 versions
17849 - *) supports_anon_versioning=yes ;;
17851 - if test $supports_anon_versioning = yes; then
17852 - archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
17853 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17854 -$echo "local: *; };" >> $output_objdir/$libname.ver~
17855 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17857 - archive_expsym_cmds="$tmp_archive_cmds"
17865 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17866 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17867 @@ -6859,16 +8293,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
17871 - if test "$ld_shlibs" = yes; then
17872 - runpath_var=LD_RUN_PATH
17873 - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
17874 - export_dynamic_flag_spec='${wl}--export-dynamic'
17875 - # ancient GNU ld didn't support --whole-archive et. al.
17876 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17877 - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17879 - whole_archive_flag_spec=
17881 + if test "$ld_shlibs" = no; then
17883 + hardcode_libdir_flag_spec=
17884 + export_dynamic_flag_spec=
17885 + whole_archive_flag_spec=
17888 # PORTME fill in a description of your system's linker (not GNU ld)
17889 @@ -6880,14 +8309,14 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
17890 # Note: this linker hardcodes the directories in LIBPATH if there
17891 # are no directories specified by -L.
17892 hardcode_minus_L=yes
17893 - if test "$GCC" = yes && test -z "$link_static_flag"; then
17894 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17895 # Neither direct hardcoding nor static linking is supported with a
17897 hardcode_direct=unsupported
17903 if test "$host_cpu" = ia64; then
17904 # On IA64, the linker does run time linking by default, so we don't
17905 # have to do anything special.
17906 @@ -6907,13 +8336,14 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
17907 # Test if we are trying to use run time linking or normal
17908 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17909 # need to do runtime linking.
17910 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
17911 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17912 for ld_flag in $LDFLAGS; do
17913 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17914 aix_use_runtimelinking=yes
17921 exp_sym_flag='-bexport'
17922 @@ -6932,7 +8362,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
17923 link_all_deplibs=yes
17925 if test "$GCC" = yes; then
17926 - case $host_os in aix4.012|aix4.012.*)
17927 + case $host_os in aix4.[012]|aix4.[012].*)
17928 # We only want to do this on AIX 4.2 and lower, the check
17929 # below for broken collect2 doesn't work under 4.3+
17930 collect2name=`${CC} -print-prog-name=collect2`
17931 @@ -6940,7 +8370,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
17932 strings "$collect2name" | grep resolve_lib_name >/dev/null
17934 # We have reworked collect2
17935 - hardcode_direct=yes
17938 # We have old collect2
17939 hardcode_direct=unsupported
17940 @@ -6951,8 +8381,12 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
17941 hardcode_libdir_flag_spec='-L$libdir'
17942 hardcode_libdir_separator=
17946 shared_flag='-shared'
17947 + if test "$aix_use_runtimelinking" = yes; then
17948 + shared_flag="$shared_flag "'${wl}-G'
17952 if test "$host_cpu" = ia64; then
17953 @@ -6960,11 +8394,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
17954 # chokes on -Wl,-G. The following line is correct:
17957 - if test "$aix_use_runtimelinking" = yes; then
17958 + if test "$aix_use_runtimelinking" = yes; then
17959 shared_flag='${wl}-G'
17961 shared_flag='${wl}-bM:SRE'
17967 @@ -6992,49 +8426,58 @@ main ()
17970 rm -f conftest.$ac_objext conftest$ac_exeext
17971 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17972 - (eval $ac_link) 2>conftest.er1
17973 +if { (ac_try="$ac_link"
17974 +case "(($ac_try" in
17975 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17976 + *) ac_try_echo=$ac_try;;
17978 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17979 +$as_echo "$ac_try_echo") >&5
17980 + (eval "$ac_link") 2>conftest.er1
17982 grep -v '^ *+' conftest.er1 >conftest.err
17984 cat conftest.err >&5
17985 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 - (exit $ac_status); } &&
17987 - { ac_try='test -z "$ac_c_werror_flag"
17988 - || test ! -s conftest.err'
17989 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17990 - (eval $ac_try) 2>&5
17992 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 - (exit $ac_status); }; } &&
17994 - { ac_try='test -s conftest$ac_exeext'
17995 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17996 - (eval $ac_try) 2>&5
17998 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17999 - (exit $ac_status); }; }; then
18001 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18003 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18004 + (exit $ac_status); } && {
18005 + test -z "$ac_c_werror_flag" ||
18006 + test ! -s conftest.err
18007 + } && test -s conftest$ac_exeext && {
18008 + test "$cross_compiling" = yes ||
18009 + $as_test_x conftest$ac_exeext
18012 +lt_aix_libpath_sed='
18013 + /Import File Strings/,/^$/ {
18015 + s/^0 *\(.*\)$/\1/
18019 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18020 # Check for a 64-bit object if we didn't find anything.
18021 -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; }
18023 +if test -z "$aix_libpath"; then
18024 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18027 - echo "$as_me: failed program was:" >&5
18028 + $as_echo "$as_me: failed program was:" >&5
18029 sed 's/^/| /' conftest.$ac_ext >&5
18033 -rm -f conftest.err conftest.$ac_objext \
18035 +rm -rf conftest.dSYM
18036 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18037 conftest$ac_exeext conftest.$ac_ext
18038 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18040 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
18041 - 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"
18042 + 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"
18044 if test "$host_cpu" = ia64; then
18045 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
18046 allow_undefined_flag="-z nodefs"
18047 - 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"
18048 + 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"
18050 # Determine the default libpath from the value encoded in an empty executable.
18051 cat >conftest.$ac_ext <<_ACEOF
18052 @@ -7053,39 +8496,48 @@ main ()
18055 rm -f conftest.$ac_objext conftest$ac_exeext
18056 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18057 - (eval $ac_link) 2>conftest.er1
18058 +if { (ac_try="$ac_link"
18059 +case "(($ac_try" in
18060 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18061 + *) ac_try_echo=$ac_try;;
18063 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18064 +$as_echo "$ac_try_echo") >&5
18065 + (eval "$ac_link") 2>conftest.er1
18067 grep -v '^ *+' conftest.er1 >conftest.err
18069 cat conftest.err >&5
18070 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071 - (exit $ac_status); } &&
18072 - { ac_try='test -z "$ac_c_werror_flag"
18073 - || test ! -s conftest.err'
18074 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075 - (eval $ac_try) 2>&5
18077 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 - (exit $ac_status); }; } &&
18079 - { ac_try='test -s conftest$ac_exeext'
18080 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18081 - (eval $ac_try) 2>&5
18083 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 - (exit $ac_status); }; }; then
18086 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18088 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 + (exit $ac_status); } && {
18090 + test -z "$ac_c_werror_flag" ||
18091 + test ! -s conftest.err
18092 + } && test -s conftest$ac_exeext && {
18093 + test "$cross_compiling" = yes ||
18094 + $as_test_x conftest$ac_exeext
18097 +lt_aix_libpath_sed='
18098 + /Import File Strings/,/^$/ {
18100 + s/^0 *\(.*\)$/\1/
18104 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18105 # Check for a 64-bit object if we didn't find anything.
18106 -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; }
18108 +if test -z "$aix_libpath"; then
18109 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18112 - echo "$as_me: failed program was:" >&5
18113 + $as_echo "$as_me: failed program was:" >&5
18114 sed 's/^/| /' conftest.$ac_ext >&5
18118 -rm -f conftest.err conftest.$ac_objext \
18120 +rm -rf conftest.dSYM
18121 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18122 conftest$ac_exeext conftest.$ac_ext
18123 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18125 @@ -7094,13 +8546,11 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18126 # -berok will link without error, but may produce a broken library.
18127 no_undefined_flag=' ${wl}-bernotok'
18128 allow_undefined_flag=' ${wl}-berok'
18129 - # -bexpall does not export symbols beginning with underscore (_)
18130 - always_export_symbols=yes
18131 # Exported symbols can be pulled into shared objects from archives
18132 - whole_archive_flag_spec=' '
18133 + whole_archive_flag_spec='$convenience'
18134 archive_cmds_need_lc=yes
18135 - # This is similar to how AIX traditionally builds it's shared libraries.
18136 - 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'
18137 + # This is similar to how AIX traditionally builds its shared libraries.
18138 + 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'
18142 @@ -7113,7 +8563,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18148 export_dynamic_flag_spec=-rdynamic
18151 @@ -7133,58 +8583,57 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18152 # The linker will automatically build a .lib file if we build a DLL.
18153 old_archive_From_new_cmds='true'
18154 # FIXME: Should let the user specify the lib program.
18155 - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
18156 + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
18157 fix_srcfile_path='`cygpath -w "$srcfile"`'
18158 enable_shared_with_static_runtimes=yes
18161 darwin* | rhapsody*)
18162 - if test "$GXX" = yes ; then
18163 - archive_cmds_need_lc=no
18164 - case "$host_os" in
18165 - rhapsody* | darwin1.[012])
18166 - allow_undefined_flag='-undefined suppress'
18168 - *) # Darwin 1.3 on
18169 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18170 - allow_undefined_flag='-flat_namespace -undefined suppress'
18172 - case ${MACOSX_DEPLOYMENT_TARGET} in
18174 - allow_undefined_flag='-flat_namespace -undefined suppress'
18177 - allow_undefined_flag='-undefined dynamic_lookup'
18183 + rhapsody* | darwin1.[012])
18184 + allow_undefined_flag='${wl}-undefined ${wl}suppress'
18186 + *) # Darwin 1.3 on
18187 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18188 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18190 + case ${MACOSX_DEPLOYMENT_TARGET} in
18192 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18195 + allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
18201 - lt_int_apple_cc_single_mod=no
18202 - output_verbose_link_cmd='echo'
18203 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
18204 - lt_int_apple_cc_single_mod=yes
18206 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18207 - archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18209 - 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'
18211 - module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18212 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
18213 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18214 - 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}'
18216 - 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}'
18218 - 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}'
18219 + archive_cmds_need_lc=no
18221 hardcode_automatic=yes
18222 hardcode_shlibpath_var=unsupported
18223 - whole_archive_flag_spec='-all_load $convenience'
18224 + whole_archive_flag_spec=''
18225 link_all_deplibs=yes
18226 + if test "$GCC" = yes ; then
18227 + output_verbose_link_cmd='echo'
18228 + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18229 + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18230 + 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}"
18231 + 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}"
18234 + case $cc_basename in
18236 + output_verbose_link_cmd='echo'
18237 + archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18238 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18239 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18240 + 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}'
18241 + 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}'
18250 @@ -7218,7 +8667,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18253 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18254 - freebsd* | kfreebsd*-gnu)
18255 + freebsd* | dragonfly*)
18256 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18257 hardcode_libdir_flag_spec='-R$libdir'
18258 hardcode_direct=yes
18259 @@ -7241,47 +8690,62 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18260 export_dynamic_flag_spec='${wl}-E'
18263 - hpux10* | hpux11*)
18265 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18266 - case "$host_cpu" in
18268 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18270 + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18272 + if test "$with_gnu_ld" = no; then
18273 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
18274 + hardcode_libdir_separator=:
18276 + hardcode_direct=yes
18277 + export_dynamic_flag_spec='${wl}-E'
18279 + # hardcode_minus_L: Not really in the search PATH,
18280 + # but as the default location of the library.
18281 + hardcode_minus_L=yes
18286 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18287 + case $host_cpu in
18289 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18292 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18295 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18299 - case "$host_cpu" in
18301 - archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
18302 + case $host_cpu in
18304 + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18307 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18310 - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18311 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18315 if test "$with_gnu_ld" = no; then
18316 - case "$host_cpu" in
18318 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
18319 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
18320 + hardcode_libdir_separator=:
18322 + case $host_cpu in
18324 hardcode_libdir_flag_spec_ld='+b $libdir'
18325 - hardcode_libdir_separator=:
18326 - hardcode_direct=no
18327 - hardcode_shlibpath_var=no
18330 - hardcode_libdir_flag_spec='-L$libdir'
18332 hardcode_shlibpath_var=no
18334 - # hardcode_minus_L: Not really in the search PATH,
18335 - # but as the default location of the library.
18336 - hardcode_minus_L=yes
18339 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
18340 - hardcode_libdir_separator=:
18341 hardcode_direct=yes
18342 export_dynamic_flag_spec='${wl}-E'
18344 @@ -7305,7 +8769,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18345 link_all_deplibs=yes
18349 + netbsd* | netbsdelf*-gnu)
18350 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18351 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18353 @@ -7325,23 +8789,28 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18357 - hardcode_direct=yes
18358 - hardcode_shlibpath_var=no
18359 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18360 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18361 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
18362 - export_dynamic_flag_spec='${wl}-E'
18363 + if test -f /usr/libexec/ld.so; then
18364 + hardcode_direct=yes
18365 + hardcode_shlibpath_var=no
18366 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18367 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18368 + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18369 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
18370 + export_dynamic_flag_spec='${wl}-E'
18373 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18374 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18375 + hardcode_libdir_flag_spec='-R$libdir'
18378 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18379 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
18385 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18386 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18387 - hardcode_libdir_flag_spec='-R$libdir'
18390 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18391 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
18398 @@ -7374,7 +8843,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18399 allow_undefined_flag=' -expect_unresolved \*'
18400 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'
18401 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
18402 - $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'
18403 + $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'
18405 # Both c and cxx compiler support -rpath directly
18406 hardcode_libdir_flag_spec='-rpath $libdir'
18407 @@ -7382,21 +8851,15 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18408 hardcode_libdir_separator=:
18412 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18413 - hardcode_shlibpath_var=no
18414 - export_dynamic_flag_spec='${wl}-Bexport'
18415 - runpath_var=LD_RUN_PATH
18416 - hardcode_runpath_var=yes
18420 no_undefined_flag=' -z text'
18421 if test "$GCC" = yes; then
18423 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18424 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18425 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18428 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18429 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18430 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18431 @@ -7405,8 +8868,17 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18432 hardcode_shlibpath_var=no
18434 solaris2.[0-5] | solaris2.[0-5].*) ;;
18435 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
18436 - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
18438 + # The compiler driver will combine and reorder linker options,
18439 + # but understands `-z linker_flag'. GCC discards it without `$wl',
18440 + # but is careful enough not to reorder.
18441 + # Supported since Solaris 2.6 (maybe 2.5.1?)
18442 + if test "$GCC" = yes; then
18443 + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18445 + whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
18449 link_all_deplibs=yes
18451 @@ -7463,36 +8935,45 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18456 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18457 - hardcode_direct=yes
18458 - hardcode_minus_L=no
18459 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18460 + no_undefined_flag='${wl}-z,text'
18461 + archive_cmds_need_lc=no
18462 hardcode_shlibpath_var=no
18463 - hardcode_runpath_var=yes
18464 - runpath_var=LD_RUN_PATH
18466 + runpath_var='LD_RUN_PATH'
18468 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
18469 - no_undefined_flag='${wl}-z ${wl}text'
18470 if test "$GCC" = yes; then
18471 - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18472 + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18473 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18475 - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18476 + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18477 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18479 - runpath_var='LD_RUN_PATH'
18480 - hardcode_shlibpath_var=no
18484 - no_undefined_flag=' -z text'
18485 - # $CC -shared without GNU ld will not create a library from C++
18486 - # object files and a static libstdc++, better avoid it by now
18487 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18488 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18489 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18490 - hardcode_libdir_flag_spec=
18491 + sysv5* | sco3.2v5* | sco5v6*)
18492 + # Note: We can NOT use -z defs as we might desire, because we do not
18493 + # link with -lc, and that would cause any symbols used from libc to
18494 + # always be unresolved, which means just about no library would
18495 + # ever link correctly. If we're not using GNU ld we use -z text
18496 + # though, which does catch some bad symbols but isn't as heavy-handed
18498 + no_undefined_flag='${wl}-z,text'
18499 + allow_undefined_flag='${wl}-z,nodefs'
18500 + archive_cmds_need_lc=no
18501 hardcode_shlibpath_var=no
18502 + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18503 + hardcode_libdir_separator=':'
18504 + link_all_deplibs=yes
18505 + export_dynamic_flag_spec='${wl}-Bexport'
18506 runpath_var='LD_RUN_PATH'
18508 + if test "$GCC" = yes; then
18509 + archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18510 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18512 + archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18513 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18518 @@ -7507,15 +8988,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18522 -echo "$as_me:$LINENO: result: $ld_shlibs" >&5
18523 -echo "${ECHO_T}$ld_shlibs" >&6
18524 +{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
18525 +$as_echo "$ld_shlibs" >&6; }
18526 test "$ld_shlibs" = no && can_build_shared=no
18528 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18529 -if test "$GCC" = yes; then
18530 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18534 # Do we need to explicitly link libc?
18536 @@ -7533,21 +9009,22 @@ x|xyes)
18537 # Test whether the compiler implicitly links with -lc since on some
18538 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18539 # to ld, don't add -lc before -lgcc.
18540 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18541 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
18542 + { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18543 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18545 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18546 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18549 (eval $ac_compile) 2>&5
18551 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18553 (exit $ac_status); } 2>conftest.err; then
18556 libobjs=conftest.$ac_objext
18558 wl=$lt_prog_compiler_wl
18559 + pic_flag=$lt_prog_compiler_pic
18563 @@ -7558,7 +9035,7 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
18564 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18565 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18567 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18568 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); }
18571 archive_cmds_need_lc=no
18572 @@ -7570,16 +9047,16 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
18573 cat conftest.err 1>&5
18576 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
18577 -echo "${ECHO_T}$archive_cmds_need_lc" >&6
18578 + { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
18579 +$as_echo "$archive_cmds_need_lc" >&6; }
18586 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18587 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
18588 +{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18589 +$as_echo_n "checking dynamic linker characteristics... " >&6; }
18590 library_names_spec=
18591 libname_spec='lib$name'
18593 @@ -7593,17 +9070,55 @@ shlibpath_overrides_runpath=unknown
18595 dynamic_linker="$host_os ld.so"
18596 sys_lib_dlsearch_path_spec="/lib /usr/lib"
18598 if test "$GCC" = yes; then
18599 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18600 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
18602 + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
18603 + *) lt_awk_arg="/^libraries:/" ;;
18605 + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18606 + if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
18607 # if the path contains ";" then we assume it to be the separator
18608 # otherwise default to the standard path separator (i.e. ":") - it is
18609 # assumed that no part of a normal pathname contains ";" but that should
18610 # okay in the real world where ";" in dirpaths is itself problematic.
18611 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18612 + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
18614 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18615 + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18617 + # Ok, now we have the path, separated by spaces, we can step through it
18618 + # and add multilib dir if necessary.
18619 + lt_tmp_lt_search_path_spec=
18620 + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
18621 + for lt_sys_path in $lt_search_path_spec; do
18622 + if test -d "$lt_sys_path/$lt_multi_os_dir"; then
18623 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
18625 + test -d "$lt_sys_path" && \
18626 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
18629 + lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
18630 +BEGIN {RS=" "; FS="/|\n";} {
18633 + for (lt_i = NF; lt_i > 0; lt_i--) {
18634 + if ($lt_i != "" && $lt_i != ".") {
18635 + if ($lt_i == "..") {
18638 + if (lt_count == 0) {
18639 + lt_foo="/" $lt_i lt_foo;
18646 + if (lt_foo != "") { lt_freq[lt_foo]++; }
18647 + if (lt_freq[lt_foo] == 1) { print lt_foo; }
18649 + sys_lib_search_path_spec=`echo $lt_search_path_spec`
18651 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18653 @@ -7624,7 +9139,7 @@ aix3*)
18654 soname_spec='${libname}${release}${shared_ext}$major'
18662 @@ -7680,7 +9195,7 @@ beos*)
18663 shlibpath_var=LIBRARY_PATH
18670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18671 @@ -7708,7 +9223,8 @@ cygwin* | mingw* | pw32*)
18672 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18673 dldir=$destdir/`dirname \$dlpath`~
18674 test -d \$dldir || mkdir -p \$dldir~
18675 - $install_prog $dir/$dlname \$dldir/$dlname'
18676 + $install_prog $dir/$dlname \$dldir/$dlname~
18677 + chmod a+x \$dldir/$dlname'
18678 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18679 dlpath=$dir/\$dldll~
18681 @@ -7738,7 +9254,7 @@ cygwin* | mingw* | pw32*)
18684 # pw32 DLLs use 'pw' prefix rather than 'lib'
18685 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
18686 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18690 @@ -7761,13 +9277,9 @@ darwin* | rhapsody*)
18691 soname_spec='${libname}${release}${major}$shared_ext'
18692 shlibpath_overrides_runpath=yes
18693 shlibpath_var=DYLD_LIBRARY_PATH
18694 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
18695 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18696 - if test "$GCC" = yes; then
18697 - 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"`
18699 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18701 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18703 + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
18704 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18707 @@ -7784,20 +9296,17 @@ freebsd1*)
18712 - version_type=linux
18713 - need_lib_prefix=no
18715 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18716 - soname_spec='${libname}${release}${shared_ext}$major'
18717 - shlibpath_var=LD_LIBRARY_PATH
18718 - shlibpath_overrides_runpath=no
18719 - hardcode_into_libs=yes
18720 - dynamic_linker='GNU ld.so'
18724 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
18725 +freebsd* | dragonfly*)
18726 + # DragonFly does not have aout. When/if they implement a new
18727 + # versioning mechanism, adjust this.
18728 + if test -x /usr/bin/objformat; then
18729 + objformat=`/usr/bin/objformat`
18732 + freebsd[123]*) objformat=aout ;;
18733 + *) objformat=elf ;;
18736 version_type=freebsd-$objformat
18737 case $version_type in
18739 @@ -7815,14 +9324,19 @@ freebsd*)
18741 shlibpath_overrides_runpath=yes
18743 - freebsd3.01* | freebsdelf3.01*)
18744 + freebsd3.[01]* | freebsdelf3.[01]*)
18745 shlibpath_overrides_runpath=yes
18746 hardcode_into_libs=yes
18749 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18750 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18751 shlibpath_overrides_runpath=no
18752 hardcode_into_libs=yes
18754 + *) # from 4.6 on, and DragonFly
18755 + shlibpath_overrides_runpath=yes
18756 + hardcode_into_libs=yes
18761 @@ -7842,7 +9356,7 @@ hpux9* | hpux10* | hpux11*)
18765 - case "$host_cpu" in
18766 + case $host_cpu in
18769 hardcode_into_libs=yes
18770 @@ -7882,6 +9396,18 @@ hpux9* | hpux10* | hpux11*)
18771 postinstall_cmds='chmod 555 $lib'
18775 + version_type=linux
18776 + need_lib_prefix=no
18778 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18779 + soname_spec='${libname}${release}${shared_ext}$major'
18780 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18781 + shlibpath_var=LD_LIBRARY_PATH
18782 + shlibpath_overrides_runpath=no
18783 + hardcode_into_libs=yes
18786 irix5* | irix6* | nonstopux*)
18788 nonstopux*) version_type=nonstopux ;;
18789 @@ -7925,7 +9451,7 @@ linux*oldld* | linux*aout* | linux*coff*)
18792 # This must be Linux ELF.
18794 +linux* | k*bsd*-gnu)
18798 @@ -7939,31 +9465,10 @@ linux*)
18799 # before this can be enabled.
18800 hardcode_into_libs=yes
18802 - # find out which ABI we are using
18804 - case "$host_cpu" in
18805 - x86_64*|s390x*|powerpc64*)
18806 - echo '#line 7946 "configure"' > conftest.$ac_ext
18807 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18808 - (eval $ac_compile) 2>&5
18810 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 - (exit $ac_status); }; then
18812 - case `/usr/bin/file conftest.$ac_objext` in
18815 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18823 # Append ld.so.conf contents to the search path
18824 if test -f /etc/ld.so.conf; then
18825 - lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
18826 - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18827 + 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' ' '`
18828 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18831 # We used to test for /lib/ld.so.1 and disable shared libraries on
18832 @@ -7975,7 +9480,7 @@ linux*)
18833 dynamic_linker='GNU/Linux ld.so'
18841 @@ -7984,7 +9489,7 @@ knetbsd*-gnu)
18842 shlibpath_var=LD_LIBRARY_PATH
18843 shlibpath_overrides_runpath=no
18844 hardcode_into_libs=yes
18845 - dynamic_linker='GNU ld.so'
18846 + dynamic_linker='NetBSD ld.elf_so'
18850 @@ -8024,8 +9529,13 @@ nto-qnx*)
18854 + sys_lib_dlsearch_path_spec="/usr/lib"
18857 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18859 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18860 + *) need_version=no ;;
18862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18863 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18864 shlibpath_var=LD_LIBRARY_PATH
18865 @@ -8063,11 +9573,8 @@ osf3* | osf4* | osf5*)
18866 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18871 - soname_spec='${libname}${release}${shared_ext}$major'
18872 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18873 - shlibpath_var=LD_LIBRARY_PATH
18875 + dynamic_linker=no
18879 @@ -8095,7 +9602,7 @@ sunos4*)
18883 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18887 soname_spec='${libname}${release}${shared_ext}$major'
18888 @@ -8128,6 +9635,29 @@ sysv4*MP*)
18892 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18893 + version_type=freebsd-elf
18894 + need_lib_prefix=no
18896 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18897 + soname_spec='${libname}${release}${shared_ext}$major'
18898 + shlibpath_var=LD_LIBRARY_PATH
18899 + hardcode_into_libs=yes
18900 + if test "$with_gnu_ld" = yes; then
18901 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18902 + shlibpath_overrides_runpath=no
18904 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18905 + shlibpath_overrides_runpath=yes
18908 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18912 + sys_lib_dlsearch_path_spec='/usr/lib'
18917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18918 @@ -8139,16 +9669,36 @@ uts4*)
18922 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18923 -echo "${ECHO_T}$dynamic_linker" >&6
18924 +{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18925 +$as_echo "$dynamic_linker" >&6; }
18926 test "$dynamic_linker" = no && can_build_shared=no
18928 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18929 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18930 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18931 + $as_echo_n "(cached) " >&6
18933 + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
18936 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
18937 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18938 + $as_echo_n "(cached) " >&6
18940 + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
18943 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
18945 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18946 +if test "$GCC" = yes; then
18947 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18950 +{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18951 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18953 if test -n "$hardcode_libdir_flag_spec" || \
18954 - test -n "$runpath_var " || \
18955 - test "X$hardcode_automatic"="Xyes" ; then
18956 + test -n "$runpath_var" || \
18957 + test "X$hardcode_automatic" = "Xyes" ; then
18959 # We can hardcode non-existant directories.
18960 if test "$hardcode_direct" != no &&
18961 @@ -8168,8 +9718,8 @@ else
18963 hardcode_action=unsupported
18965 -echo "$as_me:$LINENO: result: $hardcode_action" >&5
18966 -echo "${ECHO_T}$hardcode_action" >&6
18967 +{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
18968 +$as_echo "$hardcode_action" >&6; }
18970 if test "$hardcode_action" = relink; then
18971 # Fast installation is not supported
18972 @@ -8182,29 +9732,30 @@ fi
18976 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18977 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
18978 +{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18979 +$as_echo_n "checking whether stripping libraries is possible... " >&6; }
18980 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
18981 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
18982 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
18983 - echo "$as_me:$LINENO: result: yes" >&5
18984 -echo "${ECHO_T}yes" >&6
18985 + { $as_echo "$as_me:$LINENO: result: yes" >&5
18986 +$as_echo "yes" >&6; }
18988 # FIXME - insert some real tests, host_os isn't really good enough
18991 if test -n "$STRIP" ; then
18992 striplib="$STRIP -x"
18993 - echo "$as_me:$LINENO: result: yes" >&5
18994 -echo "${ECHO_T}yes" >&6
18995 + old_striplib="$STRIP -S"
18996 + { $as_echo "$as_me:$LINENO: result: yes" >&5
18997 +$as_echo "yes" >&6; }
18999 - echo "$as_me:$LINENO: result: no" >&5
19000 -echo "${ECHO_T}no" >&6
19001 + { $as_echo "$as_me:$LINENO: result: no" >&5
19002 +$as_echo "no" >&6; }
19006 - echo "$as_me:$LINENO: result: no" >&5
19007 -echo "${ECHO_T}no" >&6
19008 + { $as_echo "$as_me:$LINENO: result: no" >&5
19009 +$as_echo "no" >&6; }
19013 @@ -8236,10 +9787,10 @@ else
19016 # if libdl is installed we need to link against it
19017 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19018 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19019 + { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19020 +$as_echo_n "checking for dlopen in -ldl... " >&6; }
19021 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19022 - echo $ECHO_N "(cached) $ECHO_C" >&6
19023 + $as_echo_n "(cached) " >&6
19025 ac_check_lib_save_LIBS=$LIBS
19027 @@ -8250,57 +9801,58 @@ cat confdefs.h >>conftest.$ac_ext
19028 cat >>conftest.$ac_ext <<_ACEOF
19029 /* end confdefs.h. */
19031 -/* Override any gcc2 internal prototype to avoid an error. */
19032 +/* Override any GCC internal prototype to avoid an error.
19033 + Use char because int might match the return type of a GCC
19034 + builtin and then its argument prototype would still apply. */
19038 -/* We use char because int might match the return type of a gcc2
19039 - builtin and then its argument prototype would still apply. */
19050 rm -f conftest.$ac_objext conftest$ac_exeext
19051 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19052 - (eval $ac_link) 2>conftest.er1
19053 +if { (ac_try="$ac_link"
19054 +case "(($ac_try" in
19055 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19056 + *) ac_try_echo=$ac_try;;
19058 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19059 +$as_echo "$ac_try_echo") >&5
19060 + (eval "$ac_link") 2>conftest.er1
19062 grep -v '^ *+' conftest.er1 >conftest.err
19064 cat conftest.err >&5
19065 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 - (exit $ac_status); } &&
19067 - { ac_try='test -z "$ac_c_werror_flag"
19068 - || test ! -s conftest.err'
19069 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19070 - (eval $ac_try) 2>&5
19072 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 - (exit $ac_status); }; } &&
19074 - { ac_try='test -s conftest$ac_exeext'
19075 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19076 - (eval $ac_try) 2>&5
19078 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 - (exit $ac_status); }; }; then
19080 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 + (exit $ac_status); } && {
19082 + test -z "$ac_c_werror_flag" ||
19083 + test ! -s conftest.err
19084 + } && test -s conftest$ac_exeext && {
19085 + test "$cross_compiling" = yes ||
19086 + $as_test_x conftest$ac_exeext
19088 ac_cv_lib_dl_dlopen=yes
19090 - echo "$as_me: failed program was:" >&5
19091 + $as_echo "$as_me: failed program was:" >&5
19092 sed 's/^/| /' conftest.$ac_ext >&5
19094 -ac_cv_lib_dl_dlopen=no
19095 + ac_cv_lib_dl_dlopen=no
19097 -rm -f conftest.err conftest.$ac_objext \
19099 +rm -rf conftest.dSYM
19100 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19101 conftest$ac_exeext conftest.$ac_ext
19102 LIBS=$ac_check_lib_save_LIBS
19104 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19105 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19106 -if test $ac_cv_lib_dl_dlopen = yes; then
19107 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19108 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
19109 +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
19110 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19113 @@ -8313,10 +9865,10 @@ fi
19117 - echo "$as_me:$LINENO: checking for shl_load" >&5
19118 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
19119 + { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
19120 +$as_echo_n "checking for shl_load... " >&6; }
19121 if test "${ac_cv_func_shl_load+set}" = set; then
19122 - echo $ECHO_N "(cached) $ECHO_C" >&6
19123 + $as_echo_n "(cached) " >&6
19125 cat >conftest.$ac_ext <<_ACEOF
19127 @@ -8341,75 +9893,70 @@ cat >>conftest.$ac_ext <<_ACEOF
19131 -/* Override any gcc2 internal prototype to avoid an error. */
19132 +/* Override any GCC internal prototype to avoid an error.
19133 + Use char because int might match the return type of a GCC
19134 + builtin and then its argument prototype would still apply. */
19139 -/* We use char because int might match the return type of a gcc2
19140 - builtin and then its argument prototype would still apply. */
19142 /* The GNU C library defines this for functions which it implements
19143 to always fail with ENOSYS. Some functions are actually named
19144 something starting with __ and the normal name is an alias. */
19145 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
19146 +#if defined __stub_shl_load || defined __stub___shl_load
19149 -char (*f) () = shl_load;
19151 -#ifdef __cplusplus
19158 -return f != shl_load;
19159 +return shl_load ();
19164 rm -f conftest.$ac_objext conftest$ac_exeext
19165 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19166 - (eval $ac_link) 2>conftest.er1
19167 +if { (ac_try="$ac_link"
19168 +case "(($ac_try" in
19169 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19170 + *) ac_try_echo=$ac_try;;
19172 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19173 +$as_echo "$ac_try_echo") >&5
19174 + (eval "$ac_link") 2>conftest.er1
19176 grep -v '^ *+' conftest.er1 >conftest.err
19178 cat conftest.err >&5
19179 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19180 - (exit $ac_status); } &&
19181 - { ac_try='test -z "$ac_c_werror_flag"
19182 - || test ! -s conftest.err'
19183 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19184 - (eval $ac_try) 2>&5
19186 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187 - (exit $ac_status); }; } &&
19188 - { ac_try='test -s conftest$ac_exeext'
19189 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19190 - (eval $ac_try) 2>&5
19192 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 - (exit $ac_status); }; }; then
19194 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 + (exit $ac_status); } && {
19196 + test -z "$ac_c_werror_flag" ||
19197 + test ! -s conftest.err
19198 + } && test -s conftest$ac_exeext && {
19199 + test "$cross_compiling" = yes ||
19200 + $as_test_x conftest$ac_exeext
19202 ac_cv_func_shl_load=yes
19204 - echo "$as_me: failed program was:" >&5
19205 + $as_echo "$as_me: failed program was:" >&5
19206 sed 's/^/| /' conftest.$ac_ext >&5
19208 -ac_cv_func_shl_load=no
19209 + ac_cv_func_shl_load=no
19211 -rm -f conftest.err conftest.$ac_objext \
19213 +rm -rf conftest.dSYM
19214 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19215 conftest$ac_exeext conftest.$ac_ext
19217 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
19218 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
19219 -if test $ac_cv_func_shl_load = yes; then
19220 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
19221 +$as_echo "$ac_cv_func_shl_load" >&6; }
19222 +if test "x$ac_cv_func_shl_load" = x""yes; then
19223 lt_cv_dlopen="shl_load"
19225 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
19226 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
19227 + { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
19228 +$as_echo_n "checking for shl_load in -ldld... " >&6; }
19229 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
19230 - echo $ECHO_N "(cached) $ECHO_C" >&6
19231 + $as_echo_n "(cached) " >&6
19233 ac_check_lib_save_LIBS=$LIBS
19235 @@ -8420,63 +9967,64 @@ cat confdefs.h >>conftest.$ac_ext
19236 cat >>conftest.$ac_ext <<_ACEOF
19237 /* end confdefs.h. */
19239 -/* Override any gcc2 internal prototype to avoid an error. */
19240 +/* Override any GCC internal prototype to avoid an error.
19241 + Use char because int might match the return type of a GCC
19242 + builtin and then its argument prototype would still apply. */
19246 -/* We use char because int might match the return type of a gcc2
19247 - builtin and then its argument prototype would still apply. */
19253 +return shl_load ();
19258 rm -f conftest.$ac_objext conftest$ac_exeext
19259 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19260 - (eval $ac_link) 2>conftest.er1
19261 +if { (ac_try="$ac_link"
19262 +case "(($ac_try" in
19263 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19264 + *) ac_try_echo=$ac_try;;
19266 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19267 +$as_echo "$ac_try_echo") >&5
19268 + (eval "$ac_link") 2>conftest.er1
19270 grep -v '^ *+' conftest.er1 >conftest.err
19272 cat conftest.err >&5
19273 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19274 - (exit $ac_status); } &&
19275 - { ac_try='test -z "$ac_c_werror_flag"
19276 - || test ! -s conftest.err'
19277 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19278 - (eval $ac_try) 2>&5
19280 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 - (exit $ac_status); }; } &&
19282 - { ac_try='test -s conftest$ac_exeext'
19283 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19284 - (eval $ac_try) 2>&5
19286 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19287 - (exit $ac_status); }; }; then
19288 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 + (exit $ac_status); } && {
19290 + test -z "$ac_c_werror_flag" ||
19291 + test ! -s conftest.err
19292 + } && test -s conftest$ac_exeext && {
19293 + test "$cross_compiling" = yes ||
19294 + $as_test_x conftest$ac_exeext
19296 ac_cv_lib_dld_shl_load=yes
19298 - echo "$as_me: failed program was:" >&5
19299 + $as_echo "$as_me: failed program was:" >&5
19300 sed 's/^/| /' conftest.$ac_ext >&5
19302 -ac_cv_lib_dld_shl_load=no
19303 + ac_cv_lib_dld_shl_load=no
19305 -rm -f conftest.err conftest.$ac_objext \
19307 +rm -rf conftest.dSYM
19308 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19309 conftest$ac_exeext conftest.$ac_ext
19310 LIBS=$ac_check_lib_save_LIBS
19312 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
19313 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
19314 -if test $ac_cv_lib_dld_shl_load = yes; then
19315 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
19316 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
19317 +$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
19318 +if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
19319 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
19321 - echo "$as_me:$LINENO: checking for dlopen" >&5
19322 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
19323 + { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
19324 +$as_echo_n "checking for dlopen... " >&6; }
19325 if test "${ac_cv_func_dlopen+set}" = set; then
19326 - echo $ECHO_N "(cached) $ECHO_C" >&6
19327 + $as_echo_n "(cached) " >&6
19329 cat >conftest.$ac_ext <<_ACEOF
19331 @@ -8501,75 +10049,70 @@ cat >>conftest.$ac_ext <<_ACEOF
19335 -/* Override any gcc2 internal prototype to avoid an error. */
19336 +/* Override any GCC internal prototype to avoid an error.
19337 + Use char because int might match the return type of a GCC
19338 + builtin and then its argument prototype would still apply. */
19343 -/* We use char because int might match the return type of a gcc2
19344 - builtin and then its argument prototype would still apply. */
19346 /* The GNU C library defines this for functions which it implements
19347 to always fail with ENOSYS. Some functions are actually named
19348 something starting with __ and the normal name is an alias. */
19349 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
19350 +#if defined __stub_dlopen || defined __stub___dlopen
19353 -char (*f) () = dlopen;
19355 -#ifdef __cplusplus
19362 -return f != dlopen;
19368 rm -f conftest.$ac_objext conftest$ac_exeext
19369 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19370 - (eval $ac_link) 2>conftest.er1
19371 +if { (ac_try="$ac_link"
19372 +case "(($ac_try" in
19373 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19374 + *) ac_try_echo=$ac_try;;
19376 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19377 +$as_echo "$ac_try_echo") >&5
19378 + (eval "$ac_link") 2>conftest.er1
19380 grep -v '^ *+' conftest.er1 >conftest.err
19382 cat conftest.err >&5
19383 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384 - (exit $ac_status); } &&
19385 - { ac_try='test -z "$ac_c_werror_flag"
19386 - || test ! -s conftest.err'
19387 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19388 - (eval $ac_try) 2>&5
19390 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19391 - (exit $ac_status); }; } &&
19392 - { ac_try='test -s conftest$ac_exeext'
19393 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19394 - (eval $ac_try) 2>&5
19396 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19397 - (exit $ac_status); }; }; then
19398 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 + (exit $ac_status); } && {
19400 + test -z "$ac_c_werror_flag" ||
19401 + test ! -s conftest.err
19402 + } && test -s conftest$ac_exeext && {
19403 + test "$cross_compiling" = yes ||
19404 + $as_test_x conftest$ac_exeext
19406 ac_cv_func_dlopen=yes
19408 - echo "$as_me: failed program was:" >&5
19409 + $as_echo "$as_me: failed program was:" >&5
19410 sed 's/^/| /' conftest.$ac_ext >&5
19412 -ac_cv_func_dlopen=no
19413 + ac_cv_func_dlopen=no
19415 -rm -f conftest.err conftest.$ac_objext \
19417 +rm -rf conftest.dSYM
19418 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19419 conftest$ac_exeext conftest.$ac_ext
19421 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
19422 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
19423 -if test $ac_cv_func_dlopen = yes; then
19424 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
19425 +$as_echo "$ac_cv_func_dlopen" >&6; }
19426 +if test "x$ac_cv_func_dlopen" = x""yes; then
19427 lt_cv_dlopen="dlopen"
19429 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19430 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19431 + { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19432 +$as_echo_n "checking for dlopen in -ldl... " >&6; }
19433 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19434 - echo $ECHO_N "(cached) $ECHO_C" >&6
19435 + $as_echo_n "(cached) " >&6
19437 ac_check_lib_save_LIBS=$LIBS
19439 @@ -8580,63 +10123,64 @@ cat confdefs.h >>conftest.$ac_ext
19440 cat >>conftest.$ac_ext <<_ACEOF
19441 /* end confdefs.h. */
19443 -/* Override any gcc2 internal prototype to avoid an error. */
19444 +/* Override any GCC internal prototype to avoid an error.
19445 + Use char because int might match the return type of a GCC
19446 + builtin and then its argument prototype would still apply. */
19450 -/* We use char because int might match the return type of a gcc2
19451 - builtin and then its argument prototype would still apply. */
19462 rm -f conftest.$ac_objext conftest$ac_exeext
19463 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19464 - (eval $ac_link) 2>conftest.er1
19465 +if { (ac_try="$ac_link"
19466 +case "(($ac_try" in
19467 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19468 + *) ac_try_echo=$ac_try;;
19470 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19471 +$as_echo "$ac_try_echo") >&5
19472 + (eval "$ac_link") 2>conftest.er1
19474 grep -v '^ *+' conftest.er1 >conftest.err
19476 cat conftest.err >&5
19477 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 - (exit $ac_status); } &&
19479 - { ac_try='test -z "$ac_c_werror_flag"
19480 - || test ! -s conftest.err'
19481 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19482 - (eval $ac_try) 2>&5
19484 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 - (exit $ac_status); }; } &&
19486 - { ac_try='test -s conftest$ac_exeext'
19487 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19488 - (eval $ac_try) 2>&5
19490 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19491 - (exit $ac_status); }; }; then
19492 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 + (exit $ac_status); } && {
19494 + test -z "$ac_c_werror_flag" ||
19495 + test ! -s conftest.err
19496 + } && test -s conftest$ac_exeext && {
19497 + test "$cross_compiling" = yes ||
19498 + $as_test_x conftest$ac_exeext
19500 ac_cv_lib_dl_dlopen=yes
19502 - echo "$as_me: failed program was:" >&5
19503 + $as_echo "$as_me: failed program was:" >&5
19504 sed 's/^/| /' conftest.$ac_ext >&5
19506 -ac_cv_lib_dl_dlopen=no
19507 + ac_cv_lib_dl_dlopen=no
19509 -rm -f conftest.err conftest.$ac_objext \
19511 +rm -rf conftest.dSYM
19512 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19513 conftest$ac_exeext conftest.$ac_ext
19514 LIBS=$ac_check_lib_save_LIBS
19516 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19517 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19518 -if test $ac_cv_lib_dl_dlopen = yes; then
19519 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19520 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
19521 +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
19522 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19524 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
19525 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
19526 + { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
19527 +$as_echo_n "checking for dlopen in -lsvld... " >&6; }
19528 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
19529 - echo $ECHO_N "(cached) $ECHO_C" >&6
19530 + $as_echo_n "(cached) " >&6
19532 ac_check_lib_save_LIBS=$LIBS
19533 LIBS="-lsvld $LIBS"
19534 @@ -8647,63 +10191,64 @@ cat confdefs.h >>conftest.$ac_ext
19535 cat >>conftest.$ac_ext <<_ACEOF
19536 /* end confdefs.h. */
19538 -/* Override any gcc2 internal prototype to avoid an error. */
19539 +/* Override any GCC internal prototype to avoid an error.
19540 + Use char because int might match the return type of a GCC
19541 + builtin and then its argument prototype would still apply. */
19545 -/* We use char because int might match the return type of a gcc2
19546 - builtin and then its argument prototype would still apply. */
19557 rm -f conftest.$ac_objext conftest$ac_exeext
19558 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19559 - (eval $ac_link) 2>conftest.er1
19560 +if { (ac_try="$ac_link"
19561 +case "(($ac_try" in
19562 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19563 + *) ac_try_echo=$ac_try;;
19565 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19566 +$as_echo "$ac_try_echo") >&5
19567 + (eval "$ac_link") 2>conftest.er1
19569 grep -v '^ *+' conftest.er1 >conftest.err
19571 cat conftest.err >&5
19572 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19573 - (exit $ac_status); } &&
19574 - { ac_try='test -z "$ac_c_werror_flag"
19575 - || test ! -s conftest.err'
19576 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19577 - (eval $ac_try) 2>&5
19579 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 - (exit $ac_status); }; } &&
19581 - { ac_try='test -s conftest$ac_exeext'
19582 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19583 - (eval $ac_try) 2>&5
19585 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 - (exit $ac_status); }; }; then
19587 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588 + (exit $ac_status); } && {
19589 + test -z "$ac_c_werror_flag" ||
19590 + test ! -s conftest.err
19591 + } && test -s conftest$ac_exeext && {
19592 + test "$cross_compiling" = yes ||
19593 + $as_test_x conftest$ac_exeext
19595 ac_cv_lib_svld_dlopen=yes
19597 - echo "$as_me: failed program was:" >&5
19598 + $as_echo "$as_me: failed program was:" >&5
19599 sed 's/^/| /' conftest.$ac_ext >&5
19601 -ac_cv_lib_svld_dlopen=no
19602 + ac_cv_lib_svld_dlopen=no
19604 -rm -f conftest.err conftest.$ac_objext \
19606 +rm -rf conftest.dSYM
19607 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19608 conftest$ac_exeext conftest.$ac_ext
19609 LIBS=$ac_check_lib_save_LIBS
19611 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
19612 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
19613 -if test $ac_cv_lib_svld_dlopen = yes; then
19614 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
19615 +$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
19616 +if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
19617 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
19619 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
19620 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
19621 + { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
19622 +$as_echo_n "checking for dld_link in -ldld... " >&6; }
19623 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
19624 - echo $ECHO_N "(cached) $ECHO_C" >&6
19625 + $as_echo_n "(cached) " >&6
19627 ac_check_lib_save_LIBS=$LIBS
19629 @@ -8714,58 +10259,59 @@ cat confdefs.h >>conftest.$ac_ext
19630 cat >>conftest.$ac_ext <<_ACEOF
19631 /* end confdefs.h. */
19633 -/* Override any gcc2 internal prototype to avoid an error. */
19634 +/* Override any GCC internal prototype to avoid an error.
19635 + Use char because int might match the return type of a GCC
19636 + builtin and then its argument prototype would still apply. */
19640 -/* We use char because int might match the return type of a gcc2
19641 - builtin and then its argument prototype would still apply. */
19647 +return dld_link ();
19652 rm -f conftest.$ac_objext conftest$ac_exeext
19653 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19654 - (eval $ac_link) 2>conftest.er1
19655 +if { (ac_try="$ac_link"
19656 +case "(($ac_try" in
19657 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19658 + *) ac_try_echo=$ac_try;;
19660 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19661 +$as_echo "$ac_try_echo") >&5
19662 + (eval "$ac_link") 2>conftest.er1
19664 grep -v '^ *+' conftest.er1 >conftest.err
19666 cat conftest.err >&5
19667 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668 - (exit $ac_status); } &&
19669 - { ac_try='test -z "$ac_c_werror_flag"
19670 - || test ! -s conftest.err'
19671 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19672 - (eval $ac_try) 2>&5
19674 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 - (exit $ac_status); }; } &&
19676 - { ac_try='test -s conftest$ac_exeext'
19677 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19678 - (eval $ac_try) 2>&5
19680 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 - (exit $ac_status); }; }; then
19682 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 + (exit $ac_status); } && {
19684 + test -z "$ac_c_werror_flag" ||
19685 + test ! -s conftest.err
19686 + } && test -s conftest$ac_exeext && {
19687 + test "$cross_compiling" = yes ||
19688 + $as_test_x conftest$ac_exeext
19690 ac_cv_lib_dld_dld_link=yes
19692 - echo "$as_me: failed program was:" >&5
19693 + $as_echo "$as_me: failed program was:" >&5
19694 sed 's/^/| /' conftest.$ac_ext >&5
19696 -ac_cv_lib_dld_dld_link=no
19697 + ac_cv_lib_dld_dld_link=no
19699 -rm -f conftest.err conftest.$ac_objext \
19701 +rm -rf conftest.dSYM
19702 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19703 conftest$ac_exeext conftest.$ac_ext
19704 LIBS=$ac_check_lib_save_LIBS
19706 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
19707 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
19708 -if test $ac_cv_lib_dld_dld_link = yes; then
19709 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
19710 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
19711 +$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
19712 +if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
19713 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
19717 @@ -8798,15 +10344,15 @@ fi
19718 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
19720 save_LDFLAGS="$LDFLAGS"
19721 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
19722 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
19725 LIBS="$lt_cv_dlopen_libs $LIBS"
19727 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
19728 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
19729 + { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
19730 +$as_echo_n "checking whether a program can dlopen itself... " >&6; }
19731 if test "${lt_cv_dlopen_self+set}" = set; then
19732 - echo $ECHO_N "(cached) $ECHO_C" >&6
19733 + $as_echo_n "(cached) " >&6
19735 if test "$cross_compiling" = yes; then :
19736 lt_cv_dlopen_self=cross
19737 @@ -8814,7 +10360,7 @@ else
19738 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19739 lt_status=$lt_dlunknown
19740 cat > conftest.$ac_ext <<EOF
19741 -#line 8817 "configure"
19742 +#line 10363 "configure"
19743 #include "confdefs.h"
19746 @@ -8871,6 +10417,8 @@ int main ()
19747 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19748 /* dlclose (self); */
19751 + puts (dlerror ());
19755 @@ -8878,14 +10426,14 @@ EOF
19756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19757 (eval $ac_link) 2>&5
19759 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19760 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19762 - (./conftest; exit; ) 2>/dev/null
19763 + (./conftest; exit; ) >&5 2>/dev/null
19765 case x$lt_status in
19766 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
19767 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
19768 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
19769 + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
19772 # compilation failed
19773 @@ -8896,15 +10444,15 @@ rm -fr conftest*
19777 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
19778 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
19779 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
19780 +$as_echo "$lt_cv_dlopen_self" >&6; }
19782 if test "x$lt_cv_dlopen_self" = xyes; then
19783 - LDFLAGS="$LDFLAGS $link_static_flag"
19784 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
19785 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
19786 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
19787 + { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
19788 +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
19789 if test "${lt_cv_dlopen_self_static+set}" = set; then
19790 - echo $ECHO_N "(cached) $ECHO_C" >&6
19791 + $as_echo_n "(cached) " >&6
19793 if test "$cross_compiling" = yes; then :
19794 lt_cv_dlopen_self_static=cross
19795 @@ -8912,7 +10460,7 @@ else
19796 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19797 lt_status=$lt_dlunknown
19798 cat > conftest.$ac_ext <<EOF
19799 -#line 8915 "configure"
19800 +#line 10463 "configure"
19801 #include "confdefs.h"
19804 @@ -8969,6 +10517,8 @@ int main ()
19805 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19806 /* dlclose (self); */
19809 + puts (dlerror ());
19813 @@ -8976,14 +10526,14 @@ EOF
19814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19815 (eval $ac_link) 2>&5
19817 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19818 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19820 - (./conftest; exit; ) 2>/dev/null
19821 + (./conftest; exit; ) >&5 2>/dev/null
19823 case x$lt_status in
19824 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
19825 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
19826 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
19827 + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
19830 # compilation failed
19831 @@ -8994,8 +10544,8 @@ rm -fr conftest*
19835 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19836 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
19837 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19838 +$as_echo "$lt_cv_dlopen_self_static" >&6; }
19841 CPPFLAGS="$save_CPPFLAGS"
19842 @@ -9016,19 +10566,19 @@ echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
19846 -# Report which librarie types wil actually be built
19847 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
19848 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
19849 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
19850 -echo "${ECHO_T}$can_build_shared" >&6
19851 +# Report which library types will actually be built
19852 +{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
19853 +$as_echo_n "checking if libtool supports shared libraries... " >&6; }
19854 +{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
19855 +$as_echo "$can_build_shared" >&6; }
19857 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
19858 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
19859 +{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
19860 +$as_echo_n "checking whether to build shared libraries... " >&6; }
19861 test "$can_build_shared" = "no" && enable_shared=no
19863 # On AIX, shared libraries and static libraries use the same namespace, and
19864 # are all built from PIC.
19865 -case "$host_os" in
19868 test "$enable_shared" = yes && enable_static=no
19869 if test -n "$RANLIB"; then
19870 @@ -9037,58 +10587,21 @@ aix3*)
19876 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
19877 test "$enable_shared" = yes && enable_static=no
19880 - darwin* | rhapsody*)
19881 - if test "$GCC" = yes; then
19882 - archive_cmds_need_lc=no
19883 - case "$host_os" in
19884 - rhapsody* | darwin1.[012])
19885 - allow_undefined_flag='-undefined suppress'
19887 - *) # Darwin 1.3 on
19888 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19889 - allow_undefined_flag='-flat_namespace -undefined suppress'
19891 - case ${MACOSX_DEPLOYMENT_TARGET} in
19893 - allow_undefined_flag='-flat_namespace -undefined suppress'
19896 - allow_undefined_flag='-undefined dynamic_lookup'
19902 - output_verbose_link_cmd='echo'
19903 - archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
19904 - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19905 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
19906 - 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}'
19907 - 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}'
19908 - hardcode_direct=no
19909 - hardcode_automatic=yes
19910 - hardcode_shlibpath_var=unsupported
19911 - whole_archive_flag_spec='-all_load $convenience'
19912 - link_all_deplibs=yes
19918 -echo "$as_me:$LINENO: result: $enable_shared" >&5
19919 -echo "${ECHO_T}$enable_shared" >&6
19920 +{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
19921 +$as_echo "$enable_shared" >&6; }
19923 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
19924 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
19925 +{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
19926 +$as_echo_n "checking whether to build static libraries... " >&6; }
19927 # Make sure either enable_shared or enable_static is yes.
19928 test "$enable_shared" = yes || enable_static=yes
19929 -echo "$as_me:$LINENO: result: $enable_static" >&5
19930 -echo "${ECHO_T}$enable_static" >&6
19931 +{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
19932 +$as_echo "$enable_static" >&6; }
19934 # The else clause should only fire when bootstrapping the
19935 # libtool distribution, otherwise you forgot to ship ltmain.sh
19936 @@ -9103,7 +10616,7 @@ if test -f "$ltmain"; then
19937 # Now quote all the things that may contain metacharacters while being
19938 # careful not to overquote the AC_SUBSTed values. We take copies of the
19939 # variables and quote the copies for generation of the libtool script.
19940 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19941 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19943 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19944 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19945 @@ -9130,6 +10643,7 @@ if test -f "$ltmain"; then
19948 compiler_lib_search_path \
19949 + compiler_lib_search_dirs \
19951 archive_expsym_cmds \
19953 @@ -9145,6 +10659,7 @@ if test -f "$ltmain"; then
19955 module_expsym_cmds \
19956 lt_cv_prog_compiler_c_o \
19957 + fix_srcfile_path \
19959 include_expsyms; do
19961 @@ -9179,8 +10694,8 @@ if test -f "$ltmain"; then
19962 cfgfile="${ofile}T"
19963 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
19965 - { echo "$as_me:$LINENO: creating $ofile" >&5
19966 -echo "$as_me: creating $ofile" >&6;}
19967 + { $as_echo "$as_me:$LINENO: creating $ofile" >&5
19968 +$as_echo "$as_me: creating $ofile" >&6;}
19970 cat <<__EOF__ >> "$cfgfile"
19972 @@ -9189,7 +10704,7 @@ echo "$as_me: creating $ofile" >&6;}
19973 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
19974 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19976 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
19977 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
19978 # Free Software Foundation, Inc.
19980 # This file is part of GNU Libtool:
19981 @@ -9207,7 +10722,7 @@ echo "$as_me: creating $ofile" >&6;}
19983 # You should have received a copy of the GNU General Public License
19984 # along with this program; if not, write to the Free Software
19985 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19986 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19988 # As a special exception to the GNU General Public License, if you
19989 # distribute this file as part of a program that contains a
19990 @@ -9218,11 +10733,11 @@ echo "$as_me: creating $ofile" >&6;}
19993 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19994 -Xsed="$SED -e s/^X//"
19995 +Xsed="$SED -e 1s/^X//"
19997 # The HP-UX ksh and POSIX shell print the target directory to stdout
19998 # if CDPATH is set.
19999 -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
20000 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20002 # The names of the tagged configurations supported by this script.
20004 @@ -9252,6 +10767,12 @@ fast_install=$enable_fast_install
20006 host_alias=$host_alias
20010 +# The build system.
20011 +build_alias=$build_alias
20013 +build_os=$build_os
20015 # An echo program that does not interpret backslashes.
20017 @@ -9263,6 +10784,9 @@ AR_FLAGS=$lt_AR_FLAGS
20021 +# LTCC compiler flags.
20022 +LTCFLAGS=$lt_LTCFLAGS
20024 # A language-specific compiler.
20027 @@ -9328,7 +10852,7 @@ max_cmd_len=$lt_cv_sys_max_cmd_len
20028 # Does compiler simultaneously support -c and -o options?
20029 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20031 -# Must we lock files when doing compilation ?
20032 +# Must we lock files when doing compilation?
20033 need_locks=$lt_need_locks
20035 # Do we need the lib prefix for modules?
20036 @@ -9416,6 +10940,10 @@ predeps=$lt_predeps
20038 postdeps=$lt_postdeps
20040 +# The directories searched by this compiler when creating a shared
20042 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20044 # The library search path used internally by the compiler when linking
20045 # a shared library.
20046 compiler_lib_search_path=$lt_compiler_lib_search_path
20047 @@ -9504,7 +11032,7 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20048 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20050 # Fix the shell variable \$srcfile for the compiler.
20051 -fix_srcfile_path="$fix_srcfile_path"
20052 +fix_srcfile_path=$lt_fix_srcfile_path
20054 # Set to yes if exported symbols are required.
20055 always_export_symbols=$always_export_symbols
20056 @@ -9571,28 +11099,31 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
20060 -# Check whether --with-tags or --without-tags was given.
20061 +# Check whether --with-tags was given.
20062 if test "${with_tags+set}" = set; then
20063 - withval="$with_tags"
20064 - tagnames="$withval"
20066 + withval=$with_tags; tagnames="$withval"
20070 if test -f "$ltmain" && test -n "$tagnames"; then
20071 if test ! -f "${ofile}"; then
20072 - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
20073 -echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
20074 + { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
20075 +$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
20078 if test -z "$LTCC"; then
20079 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
20080 if test -z "$LTCC"; then
20081 - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
20082 -echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
20083 + { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
20084 +$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
20086 - { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
20087 -echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
20088 + { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
20089 +$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
20092 + if test -z "$LTCFLAGS"; then
20093 + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
20096 # Extract list of available tagged configurations in $ofile.
20097 # Note that this assumes the entire list is on one line.
20098 @@ -9604,16 +11135,16 @@ echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
20099 # Check whether tagname contains only valid characters
20100 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
20102 - *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
20103 -echo "$as_me: error: invalid tag name: $tagname" >&2;}
20104 + *) { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
20105 +$as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
20106 { (exit 1); exit 1; }; }
20110 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
20112 - { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
20113 -echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
20114 + { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
20115 +$as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
20116 { (exit 1); exit 1; }; }
20119 @@ -9623,8 +11154,10 @@ echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
20123 - if test -n "$CXX" && test "X$CXX" != "Xno"; then
20125 + if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
20126 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
20127 + (test "X$CXX" != "Xg++"))) ; then
20129 ac_cpp='$CXXCPP $CPPFLAGS'
20130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20132 @@ -9643,6 +11176,7 @@ hardcode_libdir_flag_spec_CXX=
20133 hardcode_libdir_flag_spec_ld_CXX=
20134 hardcode_libdir_separator_CXX=
20135 hardcode_minus_L_CXX=no
20136 +hardcode_shlibpath_var_CXX=unsupported
20137 hardcode_automatic_CXX=no
20139 module_expsym_cmds_CXX=
20140 @@ -9658,29 +11192,47 @@ postdep_objects_CXX=
20143 compiler_lib_search_path_CXX=
20144 +compiler_lib_search_dirs_CXX=
20146 # Source file extension for C++ test sources.
20150 # Object file extension for compiled C++ test sources.
20154 # Code to be used in simple compile tests
20155 -lt_simple_compile_test_code="int some_variable = 0;\n"
20156 +lt_simple_compile_test_code="int some_variable = 0;"
20158 # Code to be used in simple link tests
20159 -lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
20160 +lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
20162 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20164 # If no C compiler was specified, use CC.
20167 +# If no C compiler flags were specified, use CFLAGS.
20168 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
20170 # Allow CC to be a program name with arguments.
20174 +# save warnings/boilerplate of simple test code
20175 +ac_outfile=conftest.$ac_objext
20176 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20177 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20178 +_lt_compiler_boilerplate=`cat conftest.err`
20181 +ac_outfile=conftest.$ac_objext
20182 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
20183 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20184 +_lt_linker_boilerplate=`cat conftest.err`
20188 # Allow CC to be a program name with arguments.
20191 @@ -9691,18 +11243,27 @@ lt_save_path_LD=$lt_cv_path_LD
20192 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
20193 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
20195 - unset lt_cv_prog_gnu_ld
20196 + $as_unset lt_cv_prog_gnu_ld
20198 if test -n "${lt_cv_path_LDCXX+set}"; then
20199 lt_cv_path_LD=$lt_cv_path_LDCXX
20201 - unset lt_cv_path_LD
20202 + $as_unset lt_cv_path_LD
20204 test -z "${LDCXX+set}" || LD=$LDCXX
20208 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
20209 +for cc_temp in $compiler""; do
20211 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20212 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20217 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20220 # We don't want -fno-exception wen compiling C++ code, so set the
20221 # no_builtin_flag separately
20222 @@ -9716,18 +11277,18 @@ if test "$GXX" = yes; then
20223 # Set up default GNU C++ configuration
20226 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
20227 +# Check whether --with-gnu-ld was given.
20228 if test "${with_gnu_ld+set}" = set; then
20229 - withval="$with_gnu_ld"
20230 - test "$withval" = no || with_gnu_ld=yes
20231 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20238 if test "$GCC" = yes; then
20239 # Check if gcc -print-prog-name=ld gives a path.
20240 - echo "$as_me:$LINENO: checking for ld used by $CC" >&5
20241 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
20242 + { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
20243 +$as_echo_n "checking for ld used by $CC... " >&6; }
20246 # gcc leaves a trailing carriage return which upsets mingw
20247 @@ -9756,14 +11317,14 @@ echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
20250 elif test "$with_gnu_ld" = yes; then
20251 - echo "$as_me:$LINENO: checking for GNU ld" >&5
20252 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
20253 + { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
20254 +$as_echo_n "checking for GNU ld... " >&6; }
20256 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
20257 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
20258 + { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
20259 +$as_echo_n "checking for non-GNU ld... " >&6; }
20261 if test "${lt_cv_path_LD+set}" = set; then
20262 - echo $ECHO_N "(cached) $ECHO_C" >&6
20263 + $as_echo_n "(cached) " >&6
20265 if test -z "$LD"; then
20266 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20267 @@ -9773,7 +11334,7 @@ else
20268 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20269 lt_cv_path_LD="$ac_dir/$ac_prog"
20270 # Check to see if the program is GNU ld. I'd rather use --version,
20271 - # but apparently some GNU ld's only accept -v.
20272 + # but apparently some variants of GNU ld only accept -v.
20273 # Break only if it was the GNU/non-GNU ld that we prefer.
20274 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20275 *GNU* | *'with BFD'*)
20276 @@ -9793,21 +11354,21 @@ fi
20278 LD="$lt_cv_path_LD"
20279 if test -n "$LD"; then
20280 - echo "$as_me:$LINENO: result: $LD" >&5
20281 -echo "${ECHO_T}$LD" >&6
20282 + { $as_echo "$as_me:$LINENO: result: $LD" >&5
20283 +$as_echo "$LD" >&6; }
20285 - echo "$as_me:$LINENO: result: no" >&5
20286 -echo "${ECHO_T}no" >&6
20287 + { $as_echo "$as_me:$LINENO: result: no" >&5
20288 +$as_echo "no" >&6; }
20290 -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
20291 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
20292 +test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
20293 +$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
20294 { (exit 1); exit 1; }; }
20295 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
20296 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
20297 +{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
20298 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20299 if test "${lt_cv_prog_gnu_ld+set}" = set; then
20300 - echo $ECHO_N "(cached) $ECHO_C" >&6
20301 + $as_echo_n "(cached) " >&6
20303 - # I'd rather use --version here, but apparently some GNU ld's only accept -v.
20304 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
20305 case `$LD -v 2>&1 </dev/null` in
20306 *GNU* | *'with BFD'*)
20307 lt_cv_prog_gnu_ld=yes
20308 @@ -9817,8 +11378,8 @@ case `$LD -v 2>&1 </dev/null` in
20312 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
20313 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
20314 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
20315 +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
20316 with_gnu_ld=$lt_cv_prog_gnu_ld
20319 @@ -9868,15 +11429,15 @@ else
20322 # PORTME: fill in a description of your system's C++ link characteristics
20323 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20324 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
20325 +{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20326 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
20330 # FIXME: insert proper C++ library support
20335 if test "$host_cpu" = ia64; then
20336 # On IA64, the linker does run time linking by default, so we don't
20337 # have to do anything special.
20338 @@ -9889,7 +11450,7 @@ case $host_os in
20339 # Test if we are trying to use run time linking or normal
20340 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
20341 # need to do runtime linking.
20342 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
20343 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
20344 for ld_flag in $LDFLAGS; do
20347 @@ -9898,6 +11459,7 @@ case $host_os in
20354 exp_sym_flag='-bexport'
20355 @@ -9916,7 +11478,7 @@ case $host_os in
20356 link_all_deplibs_CXX=yes
20358 if test "$GXX" = yes; then
20359 - case $host_os in aix4.012|aix4.012.*)
20360 + case $host_os in aix4.[012]|aix4.[012].*)
20361 # We only want to do this on AIX 4.2 and lower, the check
20362 # below for broken collect2 doesn't work under 4.3+
20363 collect2name=`${CC} -print-prog-name=collect2`
20364 @@ -9924,7 +11486,7 @@ case $host_os in
20365 strings "$collect2name" | grep resolve_lib_name >/dev/null
20367 # We have reworked collect2
20368 - hardcode_direct_CXX=yes
20371 # We have old collect2
20372 hardcode_direct_CXX=unsupported
20373 @@ -9935,8 +11497,12 @@ case $host_os in
20374 hardcode_libdir_flag_spec_CXX='-L$libdir'
20375 hardcode_libdir_separator_CXX=
20379 shared_flag='-shared'
20380 + if test "$aix_use_runtimelinking" = yes; then
20381 + shared_flag="$shared_flag "'${wl}-G'
20385 if test "$host_cpu" = ia64; then
20386 @@ -9976,50 +11542,59 @@ main ()
20389 rm -f conftest.$ac_objext conftest$ac_exeext
20390 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20391 - (eval $ac_link) 2>conftest.er1
20392 +if { (ac_try="$ac_link"
20393 +case "(($ac_try" in
20394 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20395 + *) ac_try_echo=$ac_try;;
20397 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20398 +$as_echo "$ac_try_echo") >&5
20399 + (eval "$ac_link") 2>conftest.er1
20401 grep -v '^ *+' conftest.er1 >conftest.err
20403 cat conftest.err >&5
20404 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20405 - (exit $ac_status); } &&
20406 - { ac_try='test -z "$ac_cxx_werror_flag"
20407 - || test ! -s conftest.err'
20408 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20409 - (eval $ac_try) 2>&5
20411 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412 - (exit $ac_status); }; } &&
20413 - { ac_try='test -s conftest$ac_exeext'
20414 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20415 - (eval $ac_try) 2>&5
20417 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 - (exit $ac_status); }; }; then
20420 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
20422 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 + (exit $ac_status); } && {
20424 + test -z "$ac_cxx_werror_flag" ||
20425 + test ! -s conftest.err
20426 + } && test -s conftest$ac_exeext && {
20427 + test "$cross_compiling" = yes ||
20428 + $as_test_x conftest$ac_exeext
20431 +lt_aix_libpath_sed='
20432 + /Import File Strings/,/^$/ {
20434 + s/^0 *\(.*\)$/\1/
20438 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20439 # Check for a 64-bit object if we didn't find anything.
20440 -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; }
20442 +if test -z "$aix_libpath"; then
20443 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20446 - echo "$as_me: failed program was:" >&5
20447 + $as_echo "$as_me: failed program was:" >&5
20448 sed 's/^/| /' conftest.$ac_ext >&5
20452 -rm -f conftest.err conftest.$ac_objext \
20454 +rm -rf conftest.dSYM
20455 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20456 conftest$ac_exeext conftest.$ac_ext
20457 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20459 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
20461 - 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"
20462 + 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"
20464 if test "$host_cpu" = ia64; then
20465 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
20466 allow_undefined_flag_CXX="-z nodefs"
20467 - 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"
20468 + 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"
20470 # Determine the default libpath from the value encoded in an empty executable.
20471 cat >conftest.$ac_ext <<_ACEOF
20472 @@ -10038,39 +11613,48 @@ main ()
20475 rm -f conftest.$ac_objext conftest$ac_exeext
20476 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20477 - (eval $ac_link) 2>conftest.er1
20478 +if { (ac_try="$ac_link"
20479 +case "(($ac_try" in
20480 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20481 + *) ac_try_echo=$ac_try;;
20483 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20484 +$as_echo "$ac_try_echo") >&5
20485 + (eval "$ac_link") 2>conftest.er1
20487 grep -v '^ *+' conftest.er1 >conftest.err
20489 cat conftest.err >&5
20490 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 - (exit $ac_status); } &&
20492 - { ac_try='test -z "$ac_cxx_werror_flag"
20493 - || test ! -s conftest.err'
20494 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20495 - (eval $ac_try) 2>&5
20497 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20498 - (exit $ac_status); }; } &&
20499 - { ac_try='test -s conftest$ac_exeext'
20500 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20501 - (eval $ac_try) 2>&5
20503 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20504 - (exit $ac_status); }; }; then
20506 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
20508 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 + (exit $ac_status); } && {
20510 + test -z "$ac_cxx_werror_flag" ||
20511 + test ! -s conftest.err
20512 + } && test -s conftest$ac_exeext && {
20513 + test "$cross_compiling" = yes ||
20514 + $as_test_x conftest$ac_exeext
20517 +lt_aix_libpath_sed='
20518 + /Import File Strings/,/^$/ {
20520 + s/^0 *\(.*\)$/\1/
20524 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20525 # Check for a 64-bit object if we didn't find anything.
20526 -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; }
20528 +if test -z "$aix_libpath"; then
20529 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20532 - echo "$as_me: failed program was:" >&5
20533 + $as_echo "$as_me: failed program was:" >&5
20534 sed 's/^/| /' conftest.$ac_ext >&5
20538 -rm -f conftest.err conftest.$ac_objext \
20540 +rm -rf conftest.dSYM
20541 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20542 conftest$ac_exeext conftest.$ac_ext
20543 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20545 @@ -10079,16 +11663,26 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20546 # -berok will link without error, but may produce a broken library.
20547 no_undefined_flag_CXX=' ${wl}-bernotok'
20548 allow_undefined_flag_CXX=' ${wl}-berok'
20549 - # -bexpall does not export symbols beginning with underscore (_)
20550 - always_export_symbols_CXX=yes
20551 # Exported symbols can be pulled into shared objects from archives
20552 - whole_archive_flag_spec_CXX=' '
20553 + whole_archive_flag_spec_CXX='$convenience'
20554 archive_cmds_need_lc_CXX=yes
20555 - # This is similar to how AIX traditionally builds it's shared libraries.
20556 - 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'
20557 + # This is similar to how AIX traditionally builds its shared libraries.
20558 + 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'
20564 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20565 + allow_undefined_flag_CXX=unsupported
20566 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
20567 + # support --undefined. This deserves some investigation. FIXME
20568 + archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20575 case $cc_basename in
20577 @@ -10107,7 +11701,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20578 enable_shared_with_static_runtimes_CXX=yes
20580 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
20581 - 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'
20582 + 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'
20583 # If the export-symbols file already is a .def file (1st line
20584 # is EXPORTS), use it as is; otherwise, prepend...
20585 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
20586 @@ -10116,70 +11710,53 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20587 echo EXPORTS > $output_objdir/$soname.def;
20588 cat $export_symbols >> $output_objdir/$soname.def;
20590 - $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'
20591 + $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'
20597 - darwin* | rhapsody*)
20598 - if test "$GXX" = yes; then
20599 - archive_cmds_need_lc_CXX=no
20600 - case "$host_os" in
20601 - rhapsody* | darwin1.[012])
20602 - allow_undefined_flag_CXX='-undefined suppress'
20604 - *) # Darwin 1.3 on
20605 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
20606 - allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
20607 + darwin* | rhapsody*)
20608 + archive_cmds_need_lc_CXX=no
20609 + hardcode_direct_CXX=no
20610 + hardcode_automatic_CXX=yes
20611 + hardcode_shlibpath_var_CXX=unsupported
20612 + whole_archive_flag_spec_CXX=''
20613 + link_all_deplibs_CXX=yes
20614 + allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
20615 + if test "$GXX" = yes ; then
20616 + output_verbose_link_cmd='echo'
20617 + 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}"
20618 + module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
20619 + 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}"
20620 + 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}"
20621 + if test "$lt_cv_apple_cc_single_mod" != "yes"; then
20622 + 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}"
20623 + 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}"
20626 - case ${MACOSX_DEPLOYMENT_TARGET} in
20628 - allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
20631 - allow_undefined_flag_CXX='-undefined dynamic_lookup'
20634 + case $cc_basename in
20636 + output_verbose_link_cmd='echo'
20637 + 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'
20638 + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
20639 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
20640 + 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}'
20641 + 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}'
20650 - lt_int_apple_cc_single_mod=no
20651 - output_verbose_link_cmd='echo'
20652 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
20653 - lt_int_apple_cc_single_mod=yes
20655 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
20656 - archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
20658 - 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'
20660 - module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
20662 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
20663 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
20664 - 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}'
20666 - 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}'
20668 - 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}'
20669 - hardcode_direct_CXX=no
20670 - hardcode_automatic_CXX=yes
20671 - hardcode_shlibpath_var_CXX=unsupported
20672 - whole_archive_flag_spec_CXX='-all_load $convenience'
20673 - link_all_deplibs_CXX=yes
20681 case $cc_basename in
20684 # FIXME: insert proper C++ library support
20689 # Green Hills C++ Compiler
20690 # FIXME: insert proper C++ library support
20692 @@ -10190,14 +11767,14 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20698 # C++ shared libraries reported to be fairly broken before switch to ELF
20702 archive_cmds_need_lc_CXX=no
20704 - freebsd* | kfreebsd*-gnu)
20705 + freebsd* | dragonfly*)
20706 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
20709 @@ -10214,11 +11791,11 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20710 # location of the library.
20712 case $cc_basename in
20715 # FIXME: insert proper C++ library support
20720 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'
20721 # Commands to make compiler produce verbose output that lists
20722 # what "hidden" libraries, object files and flags are used when
20723 @@ -10228,7 +11805,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20724 # explicitly linking system object files so we need to strip them
20725 # from the output so that they don't get included in the library
20727 - 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 + 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'
20731 if test "$GXX" = yes; then
20732 @@ -10242,33 +11819,20 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20735 if test $with_gnu_ld = no; then
20736 - case "$host_cpu" in
20738 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
20739 - hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
20740 - hardcode_libdir_separator_CXX=:
20743 - hardcode_libdir_flag_spec_CXX='-L$libdir'
20745 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
20746 + hardcode_libdir_separator_CXX=:
20748 + case $host_cpu in
20749 + hppa*64*|ia64*) ;;
20751 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
20752 - hardcode_libdir_separator_CXX=:
20753 export_dynamic_flag_spec_CXX='${wl}-E'
20757 - case "$host_cpu" in
20759 - hardcode_direct_CXX=no
20760 - hardcode_shlibpath_var_CXX=no
20763 + case $host_cpu in
20765 hardcode_direct_CXX=no
20766 hardcode_shlibpath_var_CXX=no
20767 - hardcode_minus_L_CXX=yes # Not in the search PATH,
20768 - # but as the default
20769 - # location of the library.
20772 hardcode_direct_CXX=yes
20773 @@ -10279,14 +11843,17 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20776 case $cc_basename in
20779 # FIXME: insert proper C++ library support
20783 - case "$host_cpu" in
20785 - archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
20787 + case $host_cpu in
20789 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20792 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20795 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20796 @@ -10305,9 +11872,12 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20798 if test "$GXX" = yes; then
20799 if test $with_gnu_ld = no; then
20800 - case "$host_cpu" in
20802 - archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
20803 + case $host_cpu in
20805 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20808 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20811 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'
20812 @@ -10321,11 +11891,25 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20817 + hardcode_direct_CXX=no
20818 + hardcode_shlibpath_var_CXX=no
20819 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
20820 + export_dynamic_flag_spec_CXX='${wl}-E'
20821 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
20822 + # Instead, shared libraries are loaded at an image base (0x10000000 by
20823 + # default) and relocated if they conflict, which is a slow very memory
20824 + # consuming and fragmenting process. To avoid this, we pick a random,
20825 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
20826 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
20827 + 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'
20828 + 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'
20831 case $cc_basename in
20835 - 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'
20836 + 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'
20838 # Archives containing C++ object files must be created using
20839 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
20840 @@ -10336,7 +11920,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20842 if test "$GXX" = yes; then
20843 if test "$with_gnu_ld" = no; then
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` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
20845 + 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'
20847 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'
20849 @@ -10347,9 +11931,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20850 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
20851 hardcode_libdir_separator_CXX=:
20854 + linux* | k*bsd*-gnu)
20855 case $cc_basename in
20858 # Kuck and Associates, Inc. (KAI) C++ Compiler
20860 # KCC will only create a shared library if the output file
20861 @@ -10374,17 +11958,41 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20862 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
20863 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
20869 + # version 8.0 and above of icpc choke on multiply defined symbols
20870 + # if we add $predep_objects and $postdep_objects, however 7.1 and
20871 + # earlier do not add the objects themselves.
20872 + case `$CC -V 2>&1` in
20874 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
20875 + 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'
20877 + *) # Version 8.0 or newer
20879 + case $host_cpu in
20880 + ia64*) tmp_idyn=' -i_dynamic';;
20882 + archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20883 + 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'
20886 archive_cmds_need_lc_CXX=no
20887 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
20888 - 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'
20889 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
20890 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
20891 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
20895 + # Portland Group C++ compiler
20896 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
20897 + 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'
20899 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
20900 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
20901 + 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'
20905 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
20906 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'
20907 @@ -10403,6 +12011,29 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20909 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'
20912 + case `$CC -V 2>&1 | sed 5q` in
20915 + no_undefined_flag_CXX=' -zdefs'
20916 + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20917 + 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'
20918 + hardcode_libdir_flag_spec_CXX='-R$libdir'
20919 + 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'
20921 + # Not sure whether something based on
20922 + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
20923 + # would be better.
20924 + output_verbose_link_cmd='echo'
20926 + # Archives containing C++ object files must be created using
20927 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
20928 + # necessary to make sure instantiated templates are included
20929 + # in the archive.
20930 + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
20937 @@ -10415,7 +12046,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20940 case $cc_basename in
20943 # FIXME: insert proper C++ library support
20946 @@ -10425,7 +12056,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20951 + netbsd* | netbsdelf*-gnu)
20952 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20953 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
20955 @@ -10436,9 +12067,29 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20956 # Workaround some broken pre-1.5 toolchains
20957 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
20960 + # C++ shared libraries are fairly broken
20964 + if test -f /usr/libexec/ld.so; then
20965 + hardcode_direct_CXX=yes
20966 + hardcode_shlibpath_var_CXX=no
20967 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
20968 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
20969 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20970 + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
20971 + export_dynamic_flag_spec_CXX='${wl}-E'
20972 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
20974 + output_verbose_link_cmd='echo'
20980 case $cc_basename in
20983 # Kuck and Associates, Inc. (KAI) C++ Compiler
20985 # KCC will only create a shared library if the output file
20986 @@ -10454,14 +12105,14 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20987 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
20992 # Rational C++ 2.4.1
20993 # FIXME: insert proper C++ library support
20998 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
20999 - 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'
21000 + 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'
21002 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
21003 hardcode_libdir_separator_CXX=:
21004 @@ -10479,7 +12130,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21006 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
21007 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
21008 - 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'
21009 + 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'
21011 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
21012 hardcode_libdir_separator_CXX=:
21013 @@ -10498,7 +12149,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21016 case $cc_basename in
21019 # Kuck and Associates, Inc. (KAI) C++ Compiler
21021 # KCC will only create a shared library if the output file
21022 @@ -10513,17 +12164,17 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21023 # the KAI C++ compiler.
21024 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
21028 # Rational C++ 2.4.1
21029 # FIXME: insert proper C++ library support
21034 allow_undefined_flag_CXX=' -expect_unresolved \*'
21035 - 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'
21036 + 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'
21037 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
21038 echo "-hidden">> $lib.exp~
21039 - $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~
21040 + $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~
21043 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
21044 @@ -10542,7 +12193,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21046 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
21047 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
21048 - 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'
21049 + 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'
21051 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
21052 hardcode_libdir_separator_CXX=:
21053 @@ -10563,27 +12214,14 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21054 # FIXME: insert proper C++ library support
21058 - archive_cmds_need_lc_CXX=no
21059 - case $cc_basename in
21061 - # FIXME: insert proper C++ library support
21065 - # FIXME: insert proper C++ library support
21071 case $cc_basename in
21075 # FIXME: insert proper C++ library support
21081 # FIXME: insert proper C++ library support
21083 @@ -10596,36 +12234,28 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21086 case $cc_basename in
21089 # Sun C++ 4.2, 5.x and Centerline C++
21090 + archive_cmds_need_lc_CXX=yes
21091 no_undefined_flag_CXX=' -zdefs'
21092 - archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
21093 + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
21094 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21095 - $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'
21096 + $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'
21098 hardcode_libdir_flag_spec_CXX='-R$libdir'
21099 hardcode_shlibpath_var_CXX=no
21101 - solaris2.0-5 | solaris2.0-5.*) ;;
21102 + solaris2.[0-5] | solaris2.[0-5].*) ;;
21104 - # The C++ compiler is used as linker so we must use $wl
21105 - # flag to pass the commands to the underlying system
21107 + # The compiler driver will combine and reorder linker options,
21108 + # but understands `-z linker_flag'.
21109 # Supported since Solaris 2.6 (maybe 2.5.1?)
21110 - whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
21111 + whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
21114 link_all_deplibs_CXX=yes
21116 - # Commands to make compiler produce verbose output that lists
21117 - # what "hidden" libraries, object files and flags are used when
21118 - # linking a shared library.
21120 - # There doesn't appear to be a way to prevent this compiler from
21121 - # explicitly linking system object files so we need to strip them
21122 - # from the output so that they don't get included in the library
21124 - 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'
21125 + output_verbose_link_cmd='echo'
21127 # Archives containing C++ object files must be created using
21128 # "CC -xar", where "CC" is the Sun C++ compiler. This is
21129 @@ -10633,7 +12263,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21131 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
21135 # Green Hills C++ Compiler
21136 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
21138 @@ -10667,16 +12297,73 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21141 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
21143 + solaris2.[0-5] | solaris2.[0-5].*) ;;
21145 + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
21152 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
21153 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
21154 + no_undefined_flag_CXX='${wl}-z,text'
21155 + archive_cmds_need_lc_CXX=no
21156 + hardcode_shlibpath_var_CXX=no
21157 + runpath_var='LD_RUN_PATH'
21159 + case $cc_basename in
21161 + archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21162 + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21165 + archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21166 + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21170 + sysv5* | sco3.2v5* | sco5v6*)
21171 + # Note: We can NOT use -z defs as we might desire, because we do not
21172 + # link with -lc, and that would cause any symbols used from libc to
21173 + # always be unresolved, which means just about no library would
21174 + # ever link correctly. If we're not using GNU ld we use -z text
21175 + # though, which does catch some bad symbols but isn't as heavy-handed
21177 + # For security reasons, it is highly recommended that you always
21178 + # use absolute paths for naming shared libraries, and exclude the
21179 + # DT_RUNPATH tag from executables and libraries. But doing so
21180 + # requires that you compile everything twice, which is a pain.
21181 + # So that behaviour is only enabled if SCOABSPATH is set to a
21182 + # non-empty value in the environment. Most likely only useful for
21183 + # creating official distributions of packages.
21184 + # This is a hack until libtool officially supports absolute path
21185 + # names for shared libraries.
21186 + no_undefined_flag_CXX='${wl}-z,text'
21187 + allow_undefined_flag_CXX='${wl}-z,nodefs'
21188 archive_cmds_need_lc_CXX=no
21189 + hardcode_shlibpath_var_CXX=no
21190 + hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
21191 + hardcode_libdir_separator_CXX=':'
21192 + link_all_deplibs_CXX=yes
21193 + export_dynamic_flag_spec_CXX='${wl}-Bexport'
21194 + runpath_var='LD_RUN_PATH'
21196 + case $cc_basename in
21198 + archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21199 + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21202 + archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21203 + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21208 case $cc_basename in
21211 # NonStop-UX NCC 3.20
21212 # FIXME: insert proper C++ library support
21214 @@ -10696,14 +12383,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21218 -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
21219 -echo "${ECHO_T}$ld_shlibs_CXX" >&6
21220 +{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
21221 +$as_echo "$ld_shlibs_CXX" >&6; }
21222 test "$ld_shlibs_CXX" = no && can_build_shared=no
21228 cat > conftest.$ac_ext <<EOF
21231 @@ -10717,7 +12403,7 @@ EOF
21232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21233 (eval $ac_compile) 2>&5
21235 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21237 (exit $ac_status); }; then
21238 # Parse the compiler output and extract the necessary
21239 # objects, libraries and library flags.
21240 @@ -10729,7 +12415,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21241 # The `*' in the case matches for architectures that use `case' in
21242 # $output_verbose_cmd can trigger glob expansion during the loop
21243 # eval without this substitution.
21244 - output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
21245 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
21247 for p in `eval $output_verbose_link_cmd`; do
21249 @@ -10805,6 +12491,66 @@ fi
21251 $rm -f confest.$objext
21253 +compiler_lib_search_dirs_CXX=
21254 +if test -n "$compiler_lib_search_path_CXX"; then
21255 + compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
21258 +# PORTME: override above test on systems where it is broken
21261 + # Interix 3.5 installs completely hosed .la files for C++, so rather than
21262 + # hack all around it, let's just trust "g++" to DTRT.
21263 + predep_objects_CXX=
21264 + postdep_objects_CXX=
21269 + case `$CC -V 2>&1 | sed 5q` in
21273 + # The more standards-conforming stlport4 library is
21274 + # incompatible with the Cstd library. Avoid specifying
21275 + # it if it's in CXXFLAGS. Ignore libCrun as
21276 + # -library=stlport4 depends on it.
21277 + case " $CXX $CXXFLAGS " in
21278 + *" -library=stlport4 "*)
21279 + solaris_use_stlport4=yes
21282 + if test "$solaris_use_stlport4" != yes; then
21283 + postdeps_CXX='-library=Cstd -library=Crun'
21290 + case $cc_basename in
21292 + # The more standards-conforming stlport4 library is
21293 + # incompatible with the Cstd library. Avoid specifying
21294 + # it if it's in CXXFLAGS. Ignore libCrun as
21295 + # -library=stlport4 depends on it.
21296 + case " $CXX $CXXFLAGS " in
21297 + *" -library=stlport4 "*)
21298 + solaris_use_stlport4=yes
21302 + # Adding this requires a known-good setup of shared libraries for
21303 + # Sun compiler versions before 5.6, else PIC objects from an old
21304 + # archive will be linked into the output, leading to subtle bugs.
21305 + if test "$solaris_use_stlport4" != yes; then
21306 + postdeps_CXX='-library=Cstd -library=Crun'
21313 case " $postdeps_CXX " in
21314 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
21316 @@ -10813,8 +12559,8 @@ lt_prog_compiler_wl_CXX=
21317 lt_prog_compiler_pic_CXX=
21318 lt_prog_compiler_static_CXX=
21320 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21321 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21322 +{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21323 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
21325 # C++ specific cases for pic, static, wl, etc.
21326 if test "$GXX" = yes; then
21327 @@ -10835,12 +12581,14 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21329 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
21331 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
21332 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
21333 # PIC is the default for these OSes.
21335 - mingw* | os2* | pw32*)
21336 + mingw* | cygwin* | os2* | pw32*)
21337 # This hack is so that the source file can tell whether it is being
21338 # built for inclusion in a dll (and should export symbols for example).
21339 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
21340 + # (--disable-auto-import) libraries
21341 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
21343 darwin* | rhapsody*)
21344 @@ -10852,6 +12600,10 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21345 # DJGPP does not support shared libraries at all
21346 lt_prog_compiler_pic_CXX=
21349 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21350 + # Instead, we relocate shared libraries at runtime.
21353 if test -d /usr/nec; then
21354 lt_prog_compiler_pic_CXX=-Kconform_pic
21355 @@ -10860,7 +12612,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21357 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21358 # not for PA HP-UX.
21359 - case "$host_cpu" in
21360 + case $host_cpu in
21364 @@ -10874,7 +12626,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21370 # All AIX code is PIC.
21371 if test "$host_cpu" = ia64; then
21372 # AIX 5 now supports IA64 processor
21373 @@ -10885,18 +12637,28 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21376 case $cc_basename in
21379 # Green Hills C++ Compiler
21380 # _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"
21385 + # PIC is the default on this platform
21386 + # Common symbols not allowed in MH_DYLIB files
21387 + case $cc_basename in
21389 + lt_prog_compiler_pic_CXX='-qnocommon'
21390 + lt_prog_compiler_wl_CXX='-Wl,'
21395 case $cc_basename in
21398 lt_prog_compiler_pic_CXX='-KPIC'
21402 # Green Hills C++ Compiler
21403 lt_prog_compiler_pic_CXX='-pic'
21405 @@ -10904,22 +12666,22 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21409 - freebsd* | kfreebsd*-gnu)
21410 + freebsd* | dragonfly*)
21411 # FreeBSD uses GNU C++
21413 hpux9* | hpux10* | hpux11*)
21414 case $cc_basename in
21417 lt_prog_compiler_wl_CXX='-Wl,'
21418 - lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
21419 + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
21420 if test "$host_cpu" != ia64; then
21421 lt_prog_compiler_pic_CXX='+Z'
21426 lt_prog_compiler_wl_CXX='-Wl,'
21427 - lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
21428 - case "$host_cpu" in
21429 + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
21430 + case $host_cpu in
21434 @@ -10932,9 +12694,13 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21439 + # This is c89, which is MS Visual C++ (no shared libs)
21440 + # Anyone wants to do a port?
21442 irix5* | irix6* | nonstopux*)
21443 case $cc_basename in
21446 lt_prog_compiler_wl_CXX='-Wl,'
21447 lt_prog_compiler_static_CXX='-non_shared'
21448 # CC pic flag -KPIC is the default.
21449 @@ -10943,20 +12709,26 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21454 + linux* | k*bsd*-gnu)
21455 case $cc_basename in
21459 lt_prog_compiler_wl_CXX='--backend -Wl,'
21460 lt_prog_compiler_pic_CXX='-fPIC'
21465 lt_prog_compiler_wl_CXX='-Wl,'
21466 lt_prog_compiler_pic_CXX='-KPIC'
21467 lt_prog_compiler_static_CXX='-static'
21471 + # Portland Group C++ compiler.
21472 + lt_prog_compiler_wl_CXX='-Wl,'
21473 + lt_prog_compiler_pic_CXX='-fpic'
21474 + lt_prog_compiler_static_CXX='-Bstatic'
21478 # Make sure the PIC flag is empty. It appears that all Alpha
21479 # Linux and Compaq Tru64 Unix objects are PIC.
21480 @@ -10964,6 +12736,14 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21481 lt_prog_compiler_static_CXX='-non_shared'
21484 + case `$CC -V 2>&1 | sed 5q` in
21487 + lt_prog_compiler_pic_CXX='-KPIC'
21488 + lt_prog_compiler_static_CXX='-Bstatic'
21489 + lt_prog_compiler_wl_CXX='-Qoption ld '
21495 @@ -10973,25 +12753,25 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21498 case $cc_basename in
21501 lt_prog_compiler_pic_CXX='-W c,exportall'
21508 + netbsd* | netbsdelf*-gnu)
21510 osf3* | osf4* | osf5*)
21511 case $cc_basename in
21514 lt_prog_compiler_wl_CXX='--backend -Wl,'
21518 # Rational C++ 2.4.1
21519 lt_prog_compiler_pic_CXX='-pic'
21523 # Digital/Compaq C++
21524 lt_prog_compiler_wl_CXX='-Wl,'
21525 # Make sure the PIC flag is empty. It appears that all Alpha
21526 @@ -11005,24 +12785,15 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21531 - case $cc_basename in
21533 - lt_prog_compiler_pic_CXX='-fPIC'
21540 case $cc_basename in
21543 # Sun C++ 4.2, 5.x and Centerline C++
21544 lt_prog_compiler_pic_CXX='-KPIC'
21545 lt_prog_compiler_static_CXX='-Bstatic'
21546 lt_prog_compiler_wl_CXX='-Qoption ld '
21550 # Green Hills C++ Compiler
21551 lt_prog_compiler_pic_CXX='-PIC'
21553 @@ -11032,12 +12803,12 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21556 case $cc_basename in
21560 lt_prog_compiler_pic_CXX='-pic'
21561 lt_prog_compiler_static_CXX='-Bstatic'
21566 lt_prog_compiler_pic_CXX='-pic'
21568 @@ -11047,7 +12818,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21571 case $cc_basename in
21574 # NonStop-UX NCC 3.20
21575 lt_prog_compiler_pic_CXX='-KPIC'
21577 @@ -11055,7 +12826,14 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21582 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
21583 + case $cc_basename in
21585 + lt_prog_compiler_wl_CXX='-Wl,'
21586 + lt_prog_compiler_pic_CXX='-KPIC'
21587 + lt_prog_compiler_static_CXX='-Bstatic'
21593 @@ -11065,22 +12843,22 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21597 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
21598 -echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
21599 +{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
21600 +$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
21603 # Check to make sure the PIC flag actually works.
21605 if test -n "$lt_prog_compiler_pic_CXX"; then
21607 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
21608 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
21609 -if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
21610 - echo $ECHO_N "(cached) $ECHO_C" >&6
21611 +{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
21612 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
21613 +if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
21614 + $as_echo_n "(cached) " >&6
21616 - lt_prog_compiler_pic_works_CXX=no
21617 + lt_cv_prog_compiler_pic_works_CXX=no
21618 ac_outfile=conftest.$ac_objext
21619 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21620 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21621 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
21622 # Insert the option either (1) after the last *FLAGS variable, or
21623 # (2) before a word containing "conftest.", or (3) at the end.
21624 @@ -11088,28 +12866,30 @@ else
21625 # with a dollar sign (not a hyphen), so the echo should work correctly.
21626 # The option is referenced via a variable to avoid confusing sed.
21627 lt_compile=`echo "$ac_compile" | $SED \
21628 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
21629 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21630 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21631 -e 's:$: $lt_compiler_flag:'`
21632 - (eval echo "\"\$as_me:11094: $lt_compile\"" >&5)
21633 + (eval echo "\"\$as_me:12872: $lt_compile\"" >&5)
21634 (eval "$lt_compile" 2>conftest.err)
21636 cat conftest.err >&5
21637 - echo "$as_me:11098: \$? = $ac_status" >&5
21638 + echo "$as_me:12876: \$? = $ac_status" >&5
21639 if (exit $ac_status) && test -s "$ac_outfile"; then
21640 # The compiler can only warn and ignore the option if not recognized
21641 - # So say no if there are warnings
21642 - if test ! -s conftest.err; then
21643 - lt_prog_compiler_pic_works_CXX=yes
21644 + # So say no if there are warnings other than the usual output.
21645 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
21646 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21647 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
21648 + lt_cv_prog_compiler_pic_works_CXX=yes
21654 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
21655 -echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
21656 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
21657 +$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
21659 -if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
21660 +if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
21661 case $lt_prog_compiler_pic_CXX in
21663 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
21664 @@ -11120,7 +12900,7 @@ else
21668 -case "$host_os" in
21670 # For platforms which do not support PIC, -DPIC is meaningless:
21672 lt_prog_compiler_pic_CXX=
21673 @@ -11130,17 +12910,59 @@ case "$host_os" in
21677 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21678 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
21680 +# Check to make sure the static flag actually works.
21682 +wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
21683 +{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21684 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
21685 +if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
21686 + $as_echo_n "(cached) " >&6
21688 + lt_cv_prog_compiler_static_works_CXX=no
21689 + save_LDFLAGS="$LDFLAGS"
21690 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
21691 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
21692 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
21693 + # The linker can only warn and ignore the option if not recognized
21694 + # So say no if there are warnings
21695 + if test -s conftest.err; then
21696 + # Append any errors to the config.log.
21697 + cat conftest.err 1>&5
21698 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
21699 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21700 + if diff conftest.exp conftest.er2 >/dev/null; then
21701 + lt_cv_prog_compiler_static_works_CXX=yes
21704 + lt_cv_prog_compiler_static_works_CXX=yes
21708 + LDFLAGS="$save_LDFLAGS"
21711 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
21712 +$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
21714 +if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
21717 + lt_prog_compiler_static_CXX=
21721 +{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21722 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
21723 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
21724 - echo $ECHO_N "(cached) $ECHO_C" >&6
21725 + $as_echo_n "(cached) " >&6
21727 lt_cv_prog_compiler_c_o_CXX=no
21728 $rm -r conftest 2>/dev/null
21732 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21733 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21735 lt_compiler_flag="-o out/conftest2.$ac_objext"
21736 # Insert the option either (1) after the last *FLAGS variable, or
21737 @@ -11148,23 +12970,25 @@ else
21738 # Note that $ac_compile itself does not contain backslashes and begins
21739 # with a dollar sign (not a hyphen), so the echo should work correctly.
21740 lt_compile=`echo "$ac_compile" | $SED \
21741 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
21742 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21743 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21744 -e 's:$: $lt_compiler_flag:'`
21745 - (eval echo "\"\$as_me:11154: $lt_compile\"" >&5)
21746 + (eval echo "\"\$as_me:12976: $lt_compile\"" >&5)
21747 (eval "$lt_compile" 2>out/conftest.err)
21749 cat out/conftest.err >&5
21750 - echo "$as_me:11158: \$? = $ac_status" >&5
21751 + echo "$as_me:12980: \$? = $ac_status" >&5
21752 if (exit $ac_status) && test -s out/conftest2.$ac_objext
21754 # The compiler can only warn and ignore the option if not recognized
21755 # So say no if there are warnings
21756 - if test ! -s out/conftest.err; then
21757 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
21758 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
21759 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
21760 lt_cv_prog_compiler_c_o_CXX=yes
21766 # SGI C++ compiler will create directory out/ii_files/ for
21767 # template instantiation
21768 @@ -11175,38 +12999,38 @@ else
21772 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
21773 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
21774 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
21775 +$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
21778 hard_links="nottested"
21779 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
21780 # do not overwrite the value of need_locks provided by the user
21781 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21782 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
21783 + { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21784 +$as_echo_n "checking if we can lock with hard links... " >&6; }
21787 ln conftest.a conftest.b 2>/dev/null && hard_links=no
21789 ln conftest.a conftest.b 2>&5 || hard_links=no
21790 ln conftest.a conftest.b 2>/dev/null && hard_links=no
21791 - echo "$as_me:$LINENO: result: $hard_links" >&5
21792 -echo "${ECHO_T}$hard_links" >&6
21793 + { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
21794 +$as_echo "$hard_links" >&6; }
21795 if test "$hard_links" = no; then
21796 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21797 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21798 + { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21799 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21806 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21807 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
21808 +{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21809 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
21811 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21815 # If we're using GNU nm, then we don't want the "-C" option.
21816 # -C means demangle to AIX nm, but means don't demangle with GNU nm
21817 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
21818 @@ -11219,22 +13043,21 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
21819 export_symbols_cmds_CXX="$ltdll_cmds"
21822 - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
21823 + 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'
21825 + linux* | k*bsd*-gnu)
21826 + link_all_deplibs_CXX=no
21829 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21832 + exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
21834 -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
21835 -echo "${ECHO_T}$ld_shlibs_CXX" >&6
21836 +{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
21837 +$as_echo "$ld_shlibs_CXX" >&6; }
21838 test "$ld_shlibs_CXX" = no && can_build_shared=no
21840 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
21841 -if test "$GCC" = yes; then
21842 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21846 # Do we need to explicitly link libc?
21848 @@ -11252,21 +13075,22 @@ x|xyes)
21849 # Test whether the compiler implicitly links with -lc since on some
21850 # systems, -lgcc has to come before -lc. If gcc already passes -lc
21851 # to ld, don't add -lc before -lgcc.
21852 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
21853 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
21854 + { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
21855 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
21857 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21858 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21861 (eval $ac_compile) 2>&5
21863 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21864 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); } 2>conftest.err; then
21868 libobjs=conftest.$ac_objext
21870 wl=$lt_prog_compiler_wl_CXX
21871 + pic_flag=$lt_prog_compiler_pic_CXX
21875 @@ -11277,7 +13101,7 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
21876 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
21877 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
21879 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21880 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21881 (exit $ac_status); }
21883 archive_cmds_need_lc_CXX=no
21884 @@ -11289,16 +13113,16 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
21885 cat conftest.err 1>&5
21888 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
21889 -echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
21890 + { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
21891 +$as_echo "$archive_cmds_need_lc_CXX" >&6; }
21898 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
21899 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
21900 +{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
21901 +$as_echo_n "checking dynamic linker characteristics... " >&6; }
21902 library_names_spec=
21903 libname_spec='lib$name'
21905 @@ -11312,20 +13136,7 @@ shlibpath_overrides_runpath=unknown
21907 dynamic_linker="$host_os ld.so"
21908 sys_lib_dlsearch_path_spec="/lib /usr/lib"
21909 -if test "$GCC" = yes; then
21910 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
21911 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
21912 - # if the path contains ";" then we assume it to be the separator
21913 - # otherwise default to the standard path separator (i.e. ":") - it is
21914 - # assumed that no part of a normal pathname contains ";" but that should
21915 - # okay in the real world where ";" in dirpaths is itself problematic.
21916 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
21918 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21921 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
21924 need_lib_prefix=unknown
21925 hardcode_into_libs=no
21927 @@ -11343,7 +13154,7 @@ aix3*)
21928 soname_spec='${libname}${release}${shared_ext}$major'
21936 @@ -11399,7 +13210,7 @@ beos*)
21937 shlibpath_var=LIBRARY_PATH
21944 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21945 @@ -11427,7 +13238,8 @@ cygwin* | mingw* | pw32*)
21946 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
21947 dldir=$destdir/`dirname \$dlpath`~
21948 test -d \$dldir || mkdir -p \$dldir~
21949 - $install_prog $dir/$dlname \$dldir/$dlname'
21950 + $install_prog $dir/$dlname \$dldir/$dlname~
21951 + chmod a+x \$dldir/$dlname'
21952 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
21953 dlpath=$dir/\$dldll~
21955 @@ -11457,7 +13269,7 @@ cygwin* | mingw* | pw32*)
21958 # pw32 DLLs use 'pw' prefix rather than 'lib'
21959 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
21960 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21964 @@ -11480,13 +13292,8 @@ darwin* | rhapsody*)
21965 soname_spec='${libname}${release}${major}$shared_ext'
21966 shlibpath_overrides_runpath=yes
21967 shlibpath_var=DYLD_LIBRARY_PATH
21968 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
21969 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
21970 - if test "$GCC" = yes; then
21971 - 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"`
21973 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
21975 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
21977 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
21980 @@ -11503,20 +13310,17 @@ freebsd1*)
21985 - version_type=linux
21986 - need_lib_prefix=no
21988 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21989 - soname_spec='${libname}${release}${shared_ext}$major'
21990 - shlibpath_var=LD_LIBRARY_PATH
21991 - shlibpath_overrides_runpath=no
21992 - hardcode_into_libs=yes
21993 - dynamic_linker='GNU ld.so'
21997 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
21998 +freebsd* | dragonfly*)
21999 + # DragonFly does not have aout. When/if they implement a new
22000 + # versioning mechanism, adjust this.
22001 + if test -x /usr/bin/objformat; then
22002 + objformat=`/usr/bin/objformat`
22005 + freebsd[123]*) objformat=aout ;;
22006 + *) objformat=elf ;;
22009 version_type=freebsd-$objformat
22010 case $version_type in
22012 @@ -11534,14 +13338,19 @@ freebsd*)
22014 shlibpath_overrides_runpath=yes
22016 - freebsd3.01* | freebsdelf3.01*)
22017 + freebsd3.[01]* | freebsdelf3.[01]*)
22018 shlibpath_overrides_runpath=yes
22019 hardcode_into_libs=yes
22022 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
22023 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
22024 shlibpath_overrides_runpath=no
22025 hardcode_into_libs=yes
22027 + *) # from 4.6 on, and DragonFly
22028 + shlibpath_overrides_runpath=yes
22029 + hardcode_into_libs=yes
22034 @@ -11561,7 +13370,7 @@ hpux9* | hpux10* | hpux11*)
22038 - case "$host_cpu" in
22039 + case $host_cpu in
22042 hardcode_into_libs=yes
22043 @@ -11601,6 +13410,18 @@ hpux9* | hpux10* | hpux11*)
22044 postinstall_cmds='chmod 555 $lib'
22048 + version_type=linux
22049 + need_lib_prefix=no
22051 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22052 + soname_spec='${libname}${release}${shared_ext}$major'
22053 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
22054 + shlibpath_var=LD_LIBRARY_PATH
22055 + shlibpath_overrides_runpath=no
22056 + hardcode_into_libs=yes
22059 irix5* | irix6* | nonstopux*)
22061 nonstopux*) version_type=nonstopux ;;
22062 @@ -11644,7 +13465,7 @@ linux*oldld* | linux*aout* | linux*coff*)
22065 # This must be Linux ELF.
22067 +linux* | k*bsd*-gnu)
22071 @@ -11658,31 +13479,10 @@ linux*)
22072 # before this can be enabled.
22073 hardcode_into_libs=yes
22075 - # find out which ABI we are using
22077 - case "$host_cpu" in
22078 - x86_64*|s390x*|powerpc64*)
22079 - echo '#line 11665 "configure"' > conftest.$ac_ext
22080 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22081 - (eval $ac_compile) 2>&5
22083 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22084 - (exit $ac_status); }; then
22085 - case `/usr/bin/file conftest.$ac_objext` in
22088 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
22096 # Append ld.so.conf contents to the search path
22097 if test -f /etc/ld.so.conf; then
22098 - lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
22099 - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
22100 + 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' ' '`
22101 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
22104 # We used to test for /lib/ld.so.1 and disable shared libraries on
22105 @@ -11694,7 +13494,7 @@ linux*)
22106 dynamic_linker='GNU/Linux ld.so'
22114 @@ -11703,7 +13503,7 @@ knetbsd*-gnu)
22115 shlibpath_var=LD_LIBRARY_PATH
22116 shlibpath_overrides_runpath=no
22117 hardcode_into_libs=yes
22118 - dynamic_linker='GNU ld.so'
22119 + dynamic_linker='NetBSD ld.elf_so'
22123 @@ -11743,8 +13543,13 @@ nto-qnx*)
22127 + sys_lib_dlsearch_path_spec="/usr/lib"
22130 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
22132 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
22133 + *) need_version=no ;;
22135 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22136 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22137 shlibpath_var=LD_LIBRARY_PATH
22138 @@ -11782,11 +13587,8 @@ osf3* | osf4* | osf5*)
22139 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
22144 - soname_spec='${libname}${release}${shared_ext}$major'
22145 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22146 - shlibpath_var=LD_LIBRARY_PATH
22148 + dynamic_linker=no
22152 @@ -11814,7 +13616,7 @@ sunos4*)
22156 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
22159 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22160 soname_spec='${libname}${release}${shared_ext}$major'
22161 @@ -11847,6 +13649,29 @@ sysv4*MP*)
22165 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
22166 + version_type=freebsd-elf
22167 + need_lib_prefix=no
22169 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22170 + soname_spec='${libname}${release}${shared_ext}$major'
22171 + shlibpath_var=LD_LIBRARY_PATH
22172 + hardcode_into_libs=yes
22173 + if test "$with_gnu_ld" = yes; then
22174 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
22175 + shlibpath_overrides_runpath=no
22177 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
22178 + shlibpath_overrides_runpath=yes
22181 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
22185 + sys_lib_dlsearch_path_spec='/usr/lib'
22190 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22191 @@ -11858,16 +13683,36 @@ uts4*)
22195 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
22196 -echo "${ECHO_T}$dynamic_linker" >&6
22197 +{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
22198 +$as_echo "$dynamic_linker" >&6; }
22199 test "$dynamic_linker" = no && can_build_shared=no
22201 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
22202 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
22203 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
22204 + $as_echo_n "(cached) " >&6
22206 + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
22209 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
22210 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
22211 + $as_echo_n "(cached) " >&6
22213 + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
22216 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
22218 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
22219 +if test "$GCC" = yes; then
22220 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
22223 +{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
22224 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
22225 hardcode_action_CXX=
22226 if test -n "$hardcode_libdir_flag_spec_CXX" || \
22227 - test -n "$runpath_var CXX" || \
22228 - test "X$hardcode_automatic_CXX"="Xyes" ; then
22229 + test -n "$runpath_var_CXX" || \
22230 + test "X$hardcode_automatic_CXX" = "Xyes" ; then
22232 # We can hardcode non-existant directories.
22233 if test "$hardcode_direct_CXX" != no &&
22234 @@ -11887,8 +13732,8 @@ else
22236 hardcode_action_CXX=unsupported
22238 -echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
22239 -echo "${ECHO_T}$hardcode_action_CXX" >&6
22240 +{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
22241 +$as_echo "$hardcode_action_CXX" >&6; }
22243 if test "$hardcode_action_CXX" = relink; then
22244 # Fast installation is not supported
22245 @@ -11899,841 +13744,6 @@ elif test "$shlibpath_overrides_runpath" = yes ||
22246 enable_fast_install=needless
22251 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
22252 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
22253 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
22254 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
22255 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
22256 - echo "$as_me:$LINENO: result: yes" >&5
22257 -echo "${ECHO_T}yes" >&6
22259 -# FIXME - insert some real tests, host_os isn't really good enough
22262 - if test -n "$STRIP" ; then
22263 - striplib="$STRIP -x"
22264 - echo "$as_me:$LINENO: result: yes" >&5
22265 -echo "${ECHO_T}yes" >&6
22267 - echo "$as_me:$LINENO: result: no" >&5
22268 -echo "${ECHO_T}no" >&6
22272 - echo "$as_me:$LINENO: result: no" >&5
22273 -echo "${ECHO_T}no" >&6
22278 -if test "x$enable_dlopen" != xyes; then
22279 - enable_dlopen=unknown
22280 - enable_dlopen_self=unknown
22281 - enable_dlopen_self_static=unknown
22284 - lt_cv_dlopen_libs=
22288 - lt_cv_dlopen="load_add_on"
22289 - lt_cv_dlopen_libs=
22290 - lt_cv_dlopen_self=yes
22294 - lt_cv_dlopen="LoadLibrary"
22295 - lt_cv_dlopen_libs=
22299 - lt_cv_dlopen="dlopen"
22300 - lt_cv_dlopen_libs=
22304 - # if libdl is installed we need to link against it
22305 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
22306 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
22307 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
22308 - echo $ECHO_N "(cached) $ECHO_C" >&6
22310 - ac_check_lib_save_LIBS=$LIBS
22312 -cat >conftest.$ac_ext <<_ACEOF
22315 -cat confdefs.h >>conftest.$ac_ext
22316 -cat >>conftest.$ac_ext <<_ACEOF
22317 -/* end confdefs.h. */
22319 -/* Override any gcc2 internal prototype to avoid an error. */
22320 -#ifdef __cplusplus
22323 -/* We use char because int might match the return type of a gcc2
22324 - builtin and then its argument prototype would still apply. */
22334 -rm -f conftest.$ac_objext conftest$ac_exeext
22335 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22336 - (eval $ac_link) 2>conftest.er1
22338 - grep -v '^ *+' conftest.er1 >conftest.err
22339 - rm -f conftest.er1
22340 - cat conftest.err >&5
22341 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342 - (exit $ac_status); } &&
22343 - { ac_try='test -z "$ac_cxx_werror_flag"
22344 - || test ! -s conftest.err'
22345 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22346 - (eval $ac_try) 2>&5
22348 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22349 - (exit $ac_status); }; } &&
22350 - { ac_try='test -s conftest$ac_exeext'
22351 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22352 - (eval $ac_try) 2>&5
22354 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 - (exit $ac_status); }; }; then
22356 - ac_cv_lib_dl_dlopen=yes
22358 - echo "$as_me: failed program was:" >&5
22359 -sed 's/^/| /' conftest.$ac_ext >&5
22361 -ac_cv_lib_dl_dlopen=no
22363 -rm -f conftest.err conftest.$ac_objext \
22364 - conftest$ac_exeext conftest.$ac_ext
22365 -LIBS=$ac_check_lib_save_LIBS
22367 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
22368 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
22369 -if test $ac_cv_lib_dl_dlopen = yes; then
22370 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
22373 - lt_cv_dlopen="dyld"
22374 - lt_cv_dlopen_libs=
22375 - lt_cv_dlopen_self=yes
22382 - echo "$as_me:$LINENO: checking for shl_load" >&5
22383 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
22384 -if test "${ac_cv_func_shl_load+set}" = set; then
22385 - echo $ECHO_N "(cached) $ECHO_C" >&6
22387 - cat >conftest.$ac_ext <<_ACEOF
22390 -cat confdefs.h >>conftest.$ac_ext
22391 -cat >>conftest.$ac_ext <<_ACEOF
22392 -/* end confdefs.h. */
22393 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
22394 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
22395 -#define shl_load innocuous_shl_load
22397 -/* System header to define __stub macros and hopefully few prototypes,
22398 - which can conflict with char shl_load (); below.
22399 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22400 - <limits.h> exists even on freestanding compilers. */
22403 -# include <limits.h>
22405 -# include <assert.h>
22410 -/* Override any gcc2 internal prototype to avoid an error. */
22411 -#ifdef __cplusplus
22415 -/* We use char because int might match the return type of a gcc2
22416 - builtin and then its argument prototype would still apply. */
22418 -/* The GNU C library defines this for functions which it implements
22419 - to always fail with ENOSYS. Some functions are actually named
22420 - something starting with __ and the normal name is an alias. */
22421 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
22424 -char (*f) () = shl_load;
22426 -#ifdef __cplusplus
22433 -return f != shl_load;
22438 -rm -f conftest.$ac_objext conftest$ac_exeext
22439 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22440 - (eval $ac_link) 2>conftest.er1
22442 - grep -v '^ *+' conftest.er1 >conftest.err
22443 - rm -f conftest.er1
22444 - cat conftest.err >&5
22445 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 - (exit $ac_status); } &&
22447 - { ac_try='test -z "$ac_cxx_werror_flag"
22448 - || test ! -s conftest.err'
22449 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22450 - (eval $ac_try) 2>&5
22452 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453 - (exit $ac_status); }; } &&
22454 - { ac_try='test -s conftest$ac_exeext'
22455 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22456 - (eval $ac_try) 2>&5
22458 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459 - (exit $ac_status); }; }; then
22460 - ac_cv_func_shl_load=yes
22462 - echo "$as_me: failed program was:" >&5
22463 -sed 's/^/| /' conftest.$ac_ext >&5
22465 -ac_cv_func_shl_load=no
22467 -rm -f conftest.err conftest.$ac_objext \
22468 - conftest$ac_exeext conftest.$ac_ext
22470 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
22471 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
22472 -if test $ac_cv_func_shl_load = yes; then
22473 - lt_cv_dlopen="shl_load"
22475 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
22476 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
22477 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
22478 - echo $ECHO_N "(cached) $ECHO_C" >&6
22480 - ac_check_lib_save_LIBS=$LIBS
22481 -LIBS="-ldld $LIBS"
22482 -cat >conftest.$ac_ext <<_ACEOF
22485 -cat confdefs.h >>conftest.$ac_ext
22486 -cat >>conftest.$ac_ext <<_ACEOF
22487 -/* end confdefs.h. */
22489 -/* Override any gcc2 internal prototype to avoid an error. */
22490 -#ifdef __cplusplus
22493 -/* We use char because int might match the return type of a gcc2
22494 - builtin and then its argument prototype would still apply. */
22504 -rm -f conftest.$ac_objext conftest$ac_exeext
22505 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22506 - (eval $ac_link) 2>conftest.er1
22508 - grep -v '^ *+' conftest.er1 >conftest.err
22509 - rm -f conftest.er1
22510 - cat conftest.err >&5
22511 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 - (exit $ac_status); } &&
22513 - { ac_try='test -z "$ac_cxx_werror_flag"
22514 - || test ! -s conftest.err'
22515 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22516 - (eval $ac_try) 2>&5
22518 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22519 - (exit $ac_status); }; } &&
22520 - { ac_try='test -s conftest$ac_exeext'
22521 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22522 - (eval $ac_try) 2>&5
22524 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 - (exit $ac_status); }; }; then
22526 - ac_cv_lib_dld_shl_load=yes
22528 - echo "$as_me: failed program was:" >&5
22529 -sed 's/^/| /' conftest.$ac_ext >&5
22531 -ac_cv_lib_dld_shl_load=no
22533 -rm -f conftest.err conftest.$ac_objext \
22534 - conftest$ac_exeext conftest.$ac_ext
22535 -LIBS=$ac_check_lib_save_LIBS
22537 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
22538 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
22539 -if test $ac_cv_lib_dld_shl_load = yes; then
22540 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
22542 - echo "$as_me:$LINENO: checking for dlopen" >&5
22543 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
22544 -if test "${ac_cv_func_dlopen+set}" = set; then
22545 - echo $ECHO_N "(cached) $ECHO_C" >&6
22547 - cat >conftest.$ac_ext <<_ACEOF
22550 -cat confdefs.h >>conftest.$ac_ext
22551 -cat >>conftest.$ac_ext <<_ACEOF
22552 -/* end confdefs.h. */
22553 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
22554 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
22555 -#define dlopen innocuous_dlopen
22557 -/* System header to define __stub macros and hopefully few prototypes,
22558 - which can conflict with char dlopen (); below.
22559 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22560 - <limits.h> exists even on freestanding compilers. */
22563 -# include <limits.h>
22565 -# include <assert.h>
22570 -/* Override any gcc2 internal prototype to avoid an error. */
22571 -#ifdef __cplusplus
22575 -/* We use char because int might match the return type of a gcc2
22576 - builtin and then its argument prototype would still apply. */
22578 -/* The GNU C library defines this for functions which it implements
22579 - to always fail with ENOSYS. Some functions are actually named
22580 - something starting with __ and the normal name is an alias. */
22581 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
22584 -char (*f) () = dlopen;
22586 -#ifdef __cplusplus
22593 -return f != dlopen;
22598 -rm -f conftest.$ac_objext conftest$ac_exeext
22599 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22600 - (eval $ac_link) 2>conftest.er1
22602 - grep -v '^ *+' conftest.er1 >conftest.err
22603 - rm -f conftest.er1
22604 - cat conftest.err >&5
22605 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22606 - (exit $ac_status); } &&
22607 - { ac_try='test -z "$ac_cxx_werror_flag"
22608 - || test ! -s conftest.err'
22609 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22610 - (eval $ac_try) 2>&5
22612 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613 - (exit $ac_status); }; } &&
22614 - { ac_try='test -s conftest$ac_exeext'
22615 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22616 - (eval $ac_try) 2>&5
22618 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22619 - (exit $ac_status); }; }; then
22620 - ac_cv_func_dlopen=yes
22622 - echo "$as_me: failed program was:" >&5
22623 -sed 's/^/| /' conftest.$ac_ext >&5
22625 -ac_cv_func_dlopen=no
22627 -rm -f conftest.err conftest.$ac_objext \
22628 - conftest$ac_exeext conftest.$ac_ext
22630 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
22631 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
22632 -if test $ac_cv_func_dlopen = yes; then
22633 - lt_cv_dlopen="dlopen"
22635 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
22636 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
22637 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
22638 - echo $ECHO_N "(cached) $ECHO_C" >&6
22640 - ac_check_lib_save_LIBS=$LIBS
22642 -cat >conftest.$ac_ext <<_ACEOF
22645 -cat confdefs.h >>conftest.$ac_ext
22646 -cat >>conftest.$ac_ext <<_ACEOF
22647 -/* end confdefs.h. */
22649 -/* Override any gcc2 internal prototype to avoid an error. */
22650 -#ifdef __cplusplus
22653 -/* We use char because int might match the return type of a gcc2
22654 - builtin and then its argument prototype would still apply. */
22664 -rm -f conftest.$ac_objext conftest$ac_exeext
22665 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22666 - (eval $ac_link) 2>conftest.er1
22668 - grep -v '^ *+' conftest.er1 >conftest.err
22669 - rm -f conftest.er1
22670 - cat conftest.err >&5
22671 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22672 - (exit $ac_status); } &&
22673 - { ac_try='test -z "$ac_cxx_werror_flag"
22674 - || test ! -s conftest.err'
22675 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22676 - (eval $ac_try) 2>&5
22678 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22679 - (exit $ac_status); }; } &&
22680 - { ac_try='test -s conftest$ac_exeext'
22681 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22682 - (eval $ac_try) 2>&5
22684 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22685 - (exit $ac_status); }; }; then
22686 - ac_cv_lib_dl_dlopen=yes
22688 - echo "$as_me: failed program was:" >&5
22689 -sed 's/^/| /' conftest.$ac_ext >&5
22691 -ac_cv_lib_dl_dlopen=no
22693 -rm -f conftest.err conftest.$ac_objext \
22694 - conftest$ac_exeext conftest.$ac_ext
22695 -LIBS=$ac_check_lib_save_LIBS
22697 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
22698 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
22699 -if test $ac_cv_lib_dl_dlopen = yes; then
22700 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
22702 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
22703 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
22704 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
22705 - echo $ECHO_N "(cached) $ECHO_C" >&6
22707 - ac_check_lib_save_LIBS=$LIBS
22708 -LIBS="-lsvld $LIBS"
22709 -cat >conftest.$ac_ext <<_ACEOF
22712 -cat confdefs.h >>conftest.$ac_ext
22713 -cat >>conftest.$ac_ext <<_ACEOF
22714 -/* end confdefs.h. */
22716 -/* Override any gcc2 internal prototype to avoid an error. */
22717 -#ifdef __cplusplus
22720 -/* We use char because int might match the return type of a gcc2
22721 - builtin and then its argument prototype would still apply. */
22731 -rm -f conftest.$ac_objext conftest$ac_exeext
22732 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22733 - (eval $ac_link) 2>conftest.er1
22735 - grep -v '^ *+' conftest.er1 >conftest.err
22736 - rm -f conftest.er1
22737 - cat conftest.err >&5
22738 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22739 - (exit $ac_status); } &&
22740 - { ac_try='test -z "$ac_cxx_werror_flag"
22741 - || test ! -s conftest.err'
22742 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22743 - (eval $ac_try) 2>&5
22745 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22746 - (exit $ac_status); }; } &&
22747 - { ac_try='test -s conftest$ac_exeext'
22748 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22749 - (eval $ac_try) 2>&5
22751 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22752 - (exit $ac_status); }; }; then
22753 - ac_cv_lib_svld_dlopen=yes
22755 - echo "$as_me: failed program was:" >&5
22756 -sed 's/^/| /' conftest.$ac_ext >&5
22758 -ac_cv_lib_svld_dlopen=no
22760 -rm -f conftest.err conftest.$ac_objext \
22761 - conftest$ac_exeext conftest.$ac_ext
22762 -LIBS=$ac_check_lib_save_LIBS
22764 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
22765 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
22766 -if test $ac_cv_lib_svld_dlopen = yes; then
22767 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
22769 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
22770 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
22771 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
22772 - echo $ECHO_N "(cached) $ECHO_C" >&6
22774 - ac_check_lib_save_LIBS=$LIBS
22775 -LIBS="-ldld $LIBS"
22776 -cat >conftest.$ac_ext <<_ACEOF
22779 -cat confdefs.h >>conftest.$ac_ext
22780 -cat >>conftest.$ac_ext <<_ACEOF
22781 -/* end confdefs.h. */
22783 -/* Override any gcc2 internal prototype to avoid an error. */
22784 -#ifdef __cplusplus
22787 -/* We use char because int might match the return type of a gcc2
22788 - builtin and then its argument prototype would still apply. */
22798 -rm -f conftest.$ac_objext conftest$ac_exeext
22799 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22800 - (eval $ac_link) 2>conftest.er1
22802 - grep -v '^ *+' conftest.er1 >conftest.err
22803 - rm -f conftest.er1
22804 - cat conftest.err >&5
22805 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806 - (exit $ac_status); } &&
22807 - { ac_try='test -z "$ac_cxx_werror_flag"
22808 - || test ! -s conftest.err'
22809 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22810 - (eval $ac_try) 2>&5
22812 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22813 - (exit $ac_status); }; } &&
22814 - { ac_try='test -s conftest$ac_exeext'
22815 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22816 - (eval $ac_try) 2>&5
22818 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 - (exit $ac_status); }; }; then
22820 - ac_cv_lib_dld_dld_link=yes
22822 - echo "$as_me: failed program was:" >&5
22823 -sed 's/^/| /' conftest.$ac_ext >&5
22825 -ac_cv_lib_dld_dld_link=no
22827 -rm -f conftest.err conftest.$ac_objext \
22828 - conftest$ac_exeext conftest.$ac_ext
22829 -LIBS=$ac_check_lib_save_LIBS
22831 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
22832 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
22833 -if test $ac_cv_lib_dld_dld_link = yes; then
22834 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
22855 - if test "x$lt_cv_dlopen" != xno; then
22856 - enable_dlopen=yes
22861 - case $lt_cv_dlopen in
22863 - save_CPPFLAGS="$CPPFLAGS"
22864 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
22866 - save_LDFLAGS="$LDFLAGS"
22867 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
22869 - save_LIBS="$LIBS"
22870 - LIBS="$lt_cv_dlopen_libs $LIBS"
22872 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
22873 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
22874 -if test "${lt_cv_dlopen_self+set}" = set; then
22875 - echo $ECHO_N "(cached) $ECHO_C" >&6
22877 - if test "$cross_compiling" = yes; then :
22878 - lt_cv_dlopen_self=cross
22880 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
22881 - lt_status=$lt_dlunknown
22882 - cat > conftest.$ac_ext <<EOF
22883 -#line 12536 "configure"
22884 -#include "confdefs.h"
22887 -#include <dlfcn.h>
22890 -#include <stdio.h>
22892 -#ifdef RTLD_GLOBAL
22893 -# define LT_DLGLOBAL RTLD_GLOBAL
22896 -# define LT_DLGLOBAL DL_GLOBAL
22898 -# define LT_DLGLOBAL 0
22902 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
22903 - find out it does not work in some platform. */
22904 -#ifndef LT_DLLAZY_OR_NOW
22906 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
22909 -# define LT_DLLAZY_OR_NOW DL_LAZY
22912 -# define LT_DLLAZY_OR_NOW RTLD_NOW
22915 -# define LT_DLLAZY_OR_NOW DL_NOW
22917 -# define LT_DLLAZY_OR_NOW 0
22924 -#ifdef __cplusplus
22925 -extern "C" void exit (int);
22928 -void fnord() { int i=42;}
22931 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
22932 - int status = $lt_dlunknown;
22936 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
22937 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
22938 - /* dlclose (self); */
22944 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22945 - (eval $ac_link) 2>&5
22947 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
22949 - (./conftest; exit; ) 2>/dev/null
22951 - case x$lt_status in
22952 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
22953 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
22954 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
22957 - # compilation failed
22958 - lt_cv_dlopen_self=no
22965 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
22966 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
22968 - if test "x$lt_cv_dlopen_self" = xyes; then
22969 - LDFLAGS="$LDFLAGS $link_static_flag"
22970 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
22971 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
22972 -if test "${lt_cv_dlopen_self_static+set}" = set; then
22973 - echo $ECHO_N "(cached) $ECHO_C" >&6
22975 - if test "$cross_compiling" = yes; then :
22976 - lt_cv_dlopen_self_static=cross
22978 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
22979 - lt_status=$lt_dlunknown
22980 - cat > conftest.$ac_ext <<EOF
22981 -#line 12634 "configure"
22982 -#include "confdefs.h"
22985 -#include <dlfcn.h>
22988 -#include <stdio.h>
22990 -#ifdef RTLD_GLOBAL
22991 -# define LT_DLGLOBAL RTLD_GLOBAL
22994 -# define LT_DLGLOBAL DL_GLOBAL
22996 -# define LT_DLGLOBAL 0
23000 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
23001 - find out it does not work in some platform. */
23002 -#ifndef LT_DLLAZY_OR_NOW
23004 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
23007 -# define LT_DLLAZY_OR_NOW DL_LAZY
23010 -# define LT_DLLAZY_OR_NOW RTLD_NOW
23013 -# define LT_DLLAZY_OR_NOW DL_NOW
23015 -# define LT_DLLAZY_OR_NOW 0
23022 -#ifdef __cplusplus
23023 -extern "C" void exit (int);
23026 -void fnord() { int i=42;}
23029 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
23030 - int status = $lt_dlunknown;
23034 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
23035 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
23036 - /* dlclose (self); */
23042 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23043 - (eval $ac_link) 2>&5
23045 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
23047 - (./conftest; exit; ) 2>/dev/null
23049 - case x$lt_status in
23050 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
23051 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
23052 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
23055 - # compilation failed
23056 - lt_cv_dlopen_self_static=no
23063 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
23064 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
23067 - CPPFLAGS="$save_CPPFLAGS"
23068 - LDFLAGS="$save_LDFLAGS"
23069 - LIBS="$save_LIBS"
23073 - case $lt_cv_dlopen_self in
23074 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
23075 - *) enable_dlopen_self=unknown ;;
23078 - case $lt_cv_dlopen_self_static in
23079 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
23080 - *) enable_dlopen_self_static=unknown ;;
23085 # The else clause should only fire when bootstrapping the
23086 # libtool distribution, otherwise you forgot to ship ltmain.sh
23087 @@ -12748,7 +13758,7 @@ if test -f "$ltmain"; then
23088 # Now quote all the things that may contain metacharacters while being
23089 # careful not to overquote the AC_SUBSTed values. We take copies of the
23090 # variables and quote the copies for generation of the libtool script.
23091 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
23092 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23094 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23095 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23096 @@ -12775,6 +13785,7 @@ if test -f "$ltmain"; then
23099 compiler_lib_search_path_CXX \
23100 + compiler_lib_search_dirs_CXX \
23102 archive_expsym_cmds_CXX \
23103 postinstall_cmds_CXX \
23104 @@ -12790,6 +13801,7 @@ if test -f "$ltmain"; then
23106 module_expsym_cmds_CXX \
23107 lt_cv_prog_compiler_c_o_CXX \
23108 + fix_srcfile_path_CXX \
23109 exclude_expsyms_CXX \
23110 include_expsyms_CXX; do
23112 @@ -12849,6 +13861,12 @@ fast_install=$enable_fast_install
23114 host_alias=$host_alias
23118 +# The build system.
23119 +build_alias=$build_alias
23121 +build_os=$build_os
23123 # An echo program that does not interpret backslashes.
23125 @@ -12860,6 +13878,9 @@ AR_FLAGS=$lt_AR_FLAGS
23129 +# LTCC compiler flags.
23130 +LTCFLAGS=$lt_LTCFLAGS
23132 # A language-specific compiler.
23133 CC=$lt_compiler_CXX
23135 @@ -12925,7 +13946,7 @@ max_cmd_len=$lt_cv_sys_max_cmd_len
23136 # Does compiler simultaneously support -c and -o options?
23137 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23139 -# Must we lock files when doing compilation ?
23140 +# Must we lock files when doing compilation?
23141 need_locks=$lt_need_locks
23143 # Do we need the lib prefix for modules?
23144 @@ -13013,6 +14034,10 @@ predeps=$lt_predeps_CXX
23146 postdeps=$lt_postdeps_CXX
23148 +# The directories searched by this compiler when creating a shared
23150 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23152 # The library search path used internally by the compiler when linking
23153 # a shared library.
23154 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23155 @@ -13101,7 +14126,7 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23156 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23158 # Fix the shell variable \$srcfile for the compiler.
23159 -fix_srcfile_path="$fix_srcfile_path_CXX"
23160 +fix_srcfile_path=$lt_fix_srcfile_path
23162 # Set to yes if exported symbols are required.
23163 always_export_symbols=$always_export_symbols_CXX
23164 @@ -13192,39 +14217,72 @@ objext=o
23167 # Code to be used in simple compile tests
23168 -lt_simple_compile_test_code=" subroutine t\n return\n end\n"
23169 +lt_simple_compile_test_code="\
23175 # Code to be used in simple link tests
23176 -lt_simple_link_test_code=" program t\n end\n"
23177 +lt_simple_link_test_code="\
23182 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
23184 # If no C compiler was specified, use CC.
23187 +# If no C compiler flags were specified, use CFLAGS.
23188 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
23190 # Allow CC to be a program name with arguments.
23194 +# save warnings/boilerplate of simple test code
23195 +ac_outfile=conftest.$ac_objext
23196 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
23197 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23198 +_lt_compiler_boilerplate=`cat conftest.err`
23201 +ac_outfile=conftest.$ac_objext
23202 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
23203 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23204 +_lt_linker_boilerplate=`cat conftest.err`
23208 # Allow CC to be a program name with arguments.
23213 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
23214 +for cc_temp in $compiler""; do
23216 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23217 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23222 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23225 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
23226 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
23227 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
23228 -echo "${ECHO_T}$can_build_shared" >&6
23229 +{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
23230 +$as_echo_n "checking if libtool supports shared libraries... " >&6; }
23231 +{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
23232 +$as_echo "$can_build_shared" >&6; }
23234 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
23235 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
23236 +{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
23237 +$as_echo_n "checking whether to build shared libraries... " >&6; }
23238 test "$can_build_shared" = "no" && enable_shared=no
23240 # On AIX, shared libraries and static libraries use the same namespace, and
23241 # are all built from PIC.
23242 -case "$host_os" in
23245 test "$enable_shared" = yes && enable_static=no
23246 if test -n "$RANLIB"; then
23247 @@ -13232,21 +14290,21 @@ aix3*)
23248 postinstall_cmds='$RANLIB $lib'
23252 - test "$enable_shared" = yes && enable_static=no
23254 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
23255 + test "$enable_shared" = yes && enable_static=no
23259 -echo "$as_me:$LINENO: result: $enable_shared" >&5
23260 -echo "${ECHO_T}$enable_shared" >&6
23261 +{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
23262 +$as_echo "$enable_shared" >&6; }
23264 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
23265 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
23266 +{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
23267 +$as_echo_n "checking whether to build static libraries... " >&6; }
23268 # Make sure either enable_shared or enable_static is yes.
23269 test "$enable_shared" = yes || enable_static=yes
23270 -echo "$as_me:$LINENO: result: $enable_static" >&5
23271 -echo "${ECHO_T}$enable_static" >&6
23273 -test "$ld_shlibs_F77" = no && can_build_shared=no
23274 +{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
23275 +$as_echo "$enable_static" >&6; }
23279 @@ -13255,8 +14313,8 @@ lt_prog_compiler_wl_F77=
23280 lt_prog_compiler_pic_F77=
23281 lt_prog_compiler_static_F77=
23283 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
23284 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23285 +{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
23286 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
23288 if test "$GCC" = yes; then
23289 lt_prog_compiler_wl_F77='-Wl,'
23290 @@ -13278,13 +14336,15 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23291 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
23294 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
23295 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
23296 # PIC is the default for these OSes.
23299 - mingw* | pw32* | os2*)
23300 + mingw* | cygwin* | pw32* | os2*)
23301 # This hack is so that the source file can tell whether it is being
23302 # built for inclusion in a dll (and should export symbols for example).
23303 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
23304 + # (--disable-auto-import) libraries
23305 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
23308 @@ -13294,6 +14354,11 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23309 lt_prog_compiler_pic_F77='-fno-common'
23313 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
23314 + # Instead, we relocate shared libraries at runtime.
23318 # Just because we use GCC doesn't mean we suddenly get shared libraries
23319 # on systems that don't support them.
23320 @@ -13310,7 +14375,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23322 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23323 # not for PA HP-UX.
23324 - case "$host_cpu" in
23325 + case $host_cpu in
23329 @@ -13336,8 +14401,18 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23330 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
23334 + # PIC is the default on this platform
23335 + # Common symbols not allowed in MH_DYLIB files
23336 + case $cc_basename in
23338 + lt_prog_compiler_pic_F77='-qnocommon'
23339 + lt_prog_compiler_wl_F77='-Wl,'
23344 - mingw* | pw32* | os2*)
23345 + mingw* | cygwin* | pw32* | os2*)
23346 # This hack is so that the source file can tell whether it is being
23347 # built for inclusion in a dll (and should export symbols for example).
23348 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
23349 @@ -13347,7 +14422,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23350 lt_prog_compiler_wl_F77='-Wl,'
23351 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23352 # not for PA HP-UX.
23353 - case "$host_cpu" in
23354 + case $host_cpu in
23358 @@ -13370,18 +14445,41 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23359 lt_prog_compiler_static_F77='-Bstatic'
23364 + linux* | k*bsd*-gnu)
23365 + case $cc_basename in
23367 lt_prog_compiler_wl_F77='-Wl,'
23368 lt_prog_compiler_pic_F77='-KPIC'
23369 lt_prog_compiler_static_F77='-static'
23371 + pgcc* | pgf77* | pgf90* | pgf95*)
23372 + # Portland Group compilers (*not* the Pentium gcc compiler,
23373 + # which looks to be a dead project)
23374 + lt_prog_compiler_wl_F77='-Wl,'
23375 + lt_prog_compiler_pic_F77='-fpic'
23376 + lt_prog_compiler_static_F77='-Bstatic'
23379 lt_prog_compiler_wl_F77='-Wl,'
23380 # All Alpha code is PIC.
23381 lt_prog_compiler_static_F77='-non_shared'
23384 + case `$CC -V 2>&1 | sed 5q` in
23387 + lt_prog_compiler_pic_F77='-KPIC'
23388 + lt_prog_compiler_static_F77='-Bstatic'
23389 + lt_prog_compiler_wl_F77='-Wl,'
23392 + # Sun Fortran 8.3 passes all unrecognized flags to the linker
23393 + lt_prog_compiler_pic_F77='-KPIC'
23394 + lt_prog_compiler_static_F77='-Bstatic'
23395 + lt_prog_compiler_wl_F77=''
23402 @@ -13391,15 +14489,19 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23403 lt_prog_compiler_static_F77='-non_shared'
23407 - lt_prog_compiler_pic_F77='-Kpic'
23408 - lt_prog_compiler_static_F77='-dn'
23410 + lt_prog_compiler_static_F77='-non_shared'
23414 - lt_prog_compiler_wl_F77='-Wl,'
23415 lt_prog_compiler_pic_F77='-KPIC'
23416 lt_prog_compiler_static_F77='-Bstatic'
23417 + case $cc_basename in
23418 + f77* | f90* | f95*)
23419 + lt_prog_compiler_wl_F77='-Qoption ld ';;
23421 + lt_prog_compiler_wl_F77='-Wl,';;
23426 @@ -13408,7 +14510,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23427 lt_prog_compiler_static_F77='-Bstatic'
23430 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
23431 + sysv4 | sysv4.2uw2* | sysv4.3*)
23432 lt_prog_compiler_wl_F77='-Wl,'
23433 lt_prog_compiler_pic_F77='-KPIC'
23434 lt_prog_compiler_static_F77='-Bstatic'
23435 @@ -13421,6 +14523,17 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23439 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
23440 + lt_prog_compiler_wl_F77='-Wl,'
23441 + lt_prog_compiler_pic_F77='-KPIC'
23442 + lt_prog_compiler_static_F77='-Bstatic'
23446 + lt_prog_compiler_wl_F77='-Wl,'
23447 + lt_prog_compiler_can_build_shared_F77=no
23451 lt_prog_compiler_pic_F77='-pic'
23452 lt_prog_compiler_static_F77='-Bstatic'
23453 @@ -13432,22 +14545,22 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23457 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
23458 -echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
23459 +{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
23460 +$as_echo "$lt_prog_compiler_pic_F77" >&6; }
23463 # Check to make sure the PIC flag actually works.
23465 if test -n "$lt_prog_compiler_pic_F77"; then
23467 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
23468 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
23469 -if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
23470 - echo $ECHO_N "(cached) $ECHO_C" >&6
23471 +{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
23472 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
23473 +if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
23474 + $as_echo_n "(cached) " >&6
23476 - lt_prog_compiler_pic_works_F77=no
23477 + lt_cv_prog_compiler_pic_works_F77=no
23478 ac_outfile=conftest.$ac_objext
23479 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
23480 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
23481 lt_compiler_flag="$lt_prog_compiler_pic_F77"
23482 # Insert the option either (1) after the last *FLAGS variable, or
23483 # (2) before a word containing "conftest.", or (3) at the end.
23484 @@ -13455,28 +14568,30 @@ else
23485 # with a dollar sign (not a hyphen), so the echo should work correctly.
23486 # The option is referenced via a variable to avoid confusing sed.
23487 lt_compile=`echo "$ac_compile" | $SED \
23488 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
23489 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23490 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23491 -e 's:$: $lt_compiler_flag:'`
23492 - (eval echo "\"\$as_me:13461: $lt_compile\"" >&5)
23493 + (eval echo "\"\$as_me:14574: $lt_compile\"" >&5)
23494 (eval "$lt_compile" 2>conftest.err)
23496 cat conftest.err >&5
23497 - echo "$as_me:13465: \$? = $ac_status" >&5
23498 + echo "$as_me:14578: \$? = $ac_status" >&5
23499 if (exit $ac_status) && test -s "$ac_outfile"; then
23500 # The compiler can only warn and ignore the option if not recognized
23501 - # So say no if there are warnings
23502 - if test ! -s conftest.err; then
23503 - lt_prog_compiler_pic_works_F77=yes
23504 + # So say no if there are warnings other than the usual output.
23505 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
23506 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23507 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
23508 + lt_cv_prog_compiler_pic_works_F77=yes
23514 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
23515 -echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
23516 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
23517 +$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
23519 -if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
23520 +if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
23521 case $lt_prog_compiler_pic_F77 in
23523 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
23524 @@ -13487,7 +14602,7 @@ else
23528 -case "$host_os" in
23530 # For platforms which do not support PIC, -DPIC is meaningless:
23532 lt_prog_compiler_pic_F77=
23533 @@ -13497,17 +14612,59 @@ case "$host_os" in
23537 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
23538 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
23540 +# Check to make sure the static flag actually works.
23542 +wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
23543 +{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
23544 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
23545 +if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
23546 + $as_echo_n "(cached) " >&6
23548 + lt_cv_prog_compiler_static_works_F77=no
23549 + save_LDFLAGS="$LDFLAGS"
23550 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
23551 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
23552 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
23553 + # The linker can only warn and ignore the option if not recognized
23554 + # So say no if there are warnings
23555 + if test -s conftest.err; then
23556 + # Append any errors to the config.log.
23557 + cat conftest.err 1>&5
23558 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
23559 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23560 + if diff conftest.exp conftest.er2 >/dev/null; then
23561 + lt_cv_prog_compiler_static_works_F77=yes
23564 + lt_cv_prog_compiler_static_works_F77=yes
23568 + LDFLAGS="$save_LDFLAGS"
23571 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
23572 +$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
23574 +if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
23577 + lt_prog_compiler_static_F77=
23581 +{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
23582 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
23583 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
23584 - echo $ECHO_N "(cached) $ECHO_C" >&6
23585 + $as_echo_n "(cached) " >&6
23587 lt_cv_prog_compiler_c_o_F77=no
23588 $rm -r conftest 2>/dev/null
23592 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
23593 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
23595 lt_compiler_flag="-o out/conftest2.$ac_objext"
23596 # Insert the option either (1) after the last *FLAGS variable, or
23597 @@ -13515,23 +14672,25 @@ else
23598 # Note that $ac_compile itself does not contain backslashes and begins
23599 # with a dollar sign (not a hyphen), so the echo should work correctly.
23600 lt_compile=`echo "$ac_compile" | $SED \
23601 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
23602 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23603 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23604 -e 's:$: $lt_compiler_flag:'`
23605 - (eval echo "\"\$as_me:13521: $lt_compile\"" >&5)
23606 + (eval echo "\"\$as_me:14678: $lt_compile\"" >&5)
23607 (eval "$lt_compile" 2>out/conftest.err)
23609 cat out/conftest.err >&5
23610 - echo "$as_me:13525: \$? = $ac_status" >&5
23611 + echo "$as_me:14682: \$? = $ac_status" >&5
23612 if (exit $ac_status) && test -s out/conftest2.$ac_objext
23614 # The compiler can only warn and ignore the option if not recognized
23615 # So say no if there are warnings
23616 - if test ! -s out/conftest.err; then
23617 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
23618 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
23619 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
23620 lt_cv_prog_compiler_c_o_F77=yes
23626 # SGI C++ compiler will create directory out/ii_files/ for
23627 # template instantiation
23628 @@ -13542,34 +14701,34 @@ else
23632 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
23633 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
23634 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
23635 +$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
23638 hard_links="nottested"
23639 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
23640 # do not overwrite the value of need_locks provided by the user
23641 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
23642 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
23643 + { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
23644 +$as_echo_n "checking if we can lock with hard links... " >&6; }
23647 ln conftest.a conftest.b 2>/dev/null && hard_links=no
23649 ln conftest.a conftest.b 2>&5 || hard_links=no
23650 ln conftest.a conftest.b 2>/dev/null && hard_links=no
23651 - echo "$as_me:$LINENO: result: $hard_links" >&5
23652 -echo "${ECHO_T}$hard_links" >&6
23653 + { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
23654 +$as_echo "$hard_links" >&6; }
23655 if test "$hard_links" = no; then
23656 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
23657 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
23658 + { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
23659 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
23666 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
23667 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
23668 +{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
23669 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
23672 allow_undefined_flag_F77=
23673 @@ -13600,13 +14759,24 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
23674 # it will be wrapped by ` (' and `)$', so one must not match beginning or
23675 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
23676 # as well as any symbol that contains `d'.
23677 - exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
23678 + exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
23679 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
23680 # platforms (ab)use it in PIC code, but their linkers get confused if
23681 # the symbol is explicitly referenced. Since portable code cannot
23682 # rely on this symbol name, it's probably fine to never include it in
23683 # preloaded symbol tables.
23684 + # Exclude shared library initialization/finalization symbols.
23685 extract_expsyms_cmds=
23686 + # Just being paranoid about ensuring that cc_basename is set.
23687 + for cc_temp in $compiler""; do
23689 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23690 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23695 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23698 cygwin* | mingw* | pw32*)
23699 @@ -13617,6 +14787,10 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
23704 + # we just hope/assume this is gcc and not c89 (= MSVC++)
23710 @@ -13627,9 +14801,30 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
23711 # If archive_cmds runs LD, not CC, wlarc should be empty
23714 + # Set some defaults for GNU ld with shared library support. These
23715 + # are reset later if shared libraries are not supported. Putting them
23716 + # here allows them to be overridden if necessary.
23717 + runpath_var=LD_RUN_PATH
23718 + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
23719 + export_dynamic_flag_spec_F77='${wl}--export-dynamic'
23720 + # ancient GNU ld didn't support --whole-archive et. al.
23721 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
23722 + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
23724 + whole_archive_flag_spec_F77=
23726 + supports_anon_versioning=no
23727 + case `$LD -v 2>/dev/null` in
23728 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
23729 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
23730 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
23731 + *\ 2.11.*) ;; # other 2.11 versions
23732 + *) supports_anon_versioning=yes ;;
23735 # See if GNU ld supports shared libraries.
23737 - aix3* | aix4* | aix5*)
23739 # On AIX/PPC, the GNU linker is very broken
23740 if test "$host_cpu" != ia64; then
23742 @@ -13677,10 +14872,10 @@ EOF
23743 allow_undefined_flag_F77=unsupported
23744 always_export_symbols_F77=no
23745 enable_shared_with_static_runtimes_F77=yes
23746 - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
23747 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
23749 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
23750 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
23751 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
23752 # If the export-symbols file already is a .def file (1st line
23753 # is EXPORTS), use it as is; otherwise, prepend...
23754 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
23755 @@ -13689,13 +14884,69 @@ EOF
23756 echo EXPORTS > $output_objdir/$soname.def;
23757 cat $export_symbols >> $output_objdir/$soname.def;
23759 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
23760 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
23769 + hardcode_direct_F77=no
23770 + hardcode_shlibpath_var_F77=no
23771 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
23772 + export_dynamic_flag_spec_F77='${wl}-E'
23773 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
23774 + # Instead, shared libraries are loaded at an image base (0x10000000 by
23775 + # default) and relocated if they conflict, which is a slow very memory
23776 + # consuming and fragmenting process. To avoid this, we pick a random,
23777 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
23778 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
23779 + 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'
23780 + 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'
23783 + gnu* | linux* | k*bsd*-gnu)
23784 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
23786 + case $cc_basename,$host_cpu in
23787 + pgcc*) # Portland Group C compiler
23788 + 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'
23789 + tmp_addflag=' $pic_flag'
23791 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
23792 + 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'
23793 + tmp_addflag=' $pic_flag -Mnomain' ;;
23794 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
23795 + tmp_addflag=' -i_dynamic' ;;
23796 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
23797 + tmp_addflag=' -i_dynamic -nofor_main' ;;
23798 + ifc* | ifort*) # Intel Fortran compiler
23799 + tmp_addflag=' -nofor_main' ;;
23801 + case `$CC -V 2>&1 | sed 5q` in
23802 + *Sun\ C*) # Sun C 5.9
23803 + 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'
23804 + tmp_sharedflag='-G' ;;
23805 + *Sun\ F*) # Sun Fortran 8.3
23806 + tmp_sharedflag='-G' ;;
23808 + tmp_sharedflag='-shared' ;;
23810 + archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23812 + if test $supports_anon_versioning = yes; then
23813 + archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
23814 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
23815 + $echo "local: *; };" >> $output_objdir/$libname.ver~
23816 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
23818 + link_all_deplibs_F77=no
23824 + netbsd* | netbsdelf*-gnu)
23825 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23826 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
23828 @@ -13705,7 +14956,7 @@ EOF
23832 - solaris* | sysv5*)
23834 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
23837 @@ -13726,6 +14977,33 @@ EOF
23841 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
23842 + case `$LD -v 2>&1` in
23843 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
23845 + cat <<_LT_EOF 1>&2
23847 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
23848 +*** reliably create shared libraries on SCO systems. Therefore, libtool
23849 +*** is disabling shared libraries support. We urge you to upgrade GNU
23850 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
23851 +*** your PATH or compiler configuration so that the native linker is
23852 +*** used, and then restart.
23857 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
23858 + hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
23859 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
23860 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
23869 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
23871 @@ -13733,31 +15011,6 @@ EOF
23872 hardcode_shlibpath_var_F77=no
23876 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
23877 - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23878 - archive_cmds_F77="$tmp_archive_cmds"
23879 - supports_anon_versioning=no
23880 - case `$LD -v 2>/dev/null` in
23881 - *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
23882 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
23883 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
23884 - *\ 2.11.*) ;; # other 2.11 versions
23885 - *) supports_anon_versioning=yes ;;
23887 - if test $supports_anon_versioning = yes; then
23888 - archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
23889 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
23890 -$echo "local: *; };" >> $output_objdir/$libname.ver~
23891 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
23893 - archive_expsym_cmds_F77="$tmp_archive_cmds"
23901 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
23902 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23903 @@ -13768,16 +15021,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
23907 - if test "$ld_shlibs_F77" = yes; then
23908 - runpath_var=LD_RUN_PATH
23909 - hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
23910 - export_dynamic_flag_spec_F77='${wl}--export-dynamic'
23911 - # ancient GNU ld didn't support --whole-archive et. al.
23912 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
23913 - whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
23915 - whole_archive_flag_spec_F77=
23917 + if test "$ld_shlibs_F77" = no; then
23919 + hardcode_libdir_flag_spec_F77=
23920 + export_dynamic_flag_spec_F77=
23921 + whole_archive_flag_spec_F77=
23924 # PORTME fill in a description of your system's linker (not GNU ld)
23925 @@ -13789,14 +15037,14 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
23926 # Note: this linker hardcodes the directories in LIBPATH if there
23927 # are no directories specified by -L.
23928 hardcode_minus_L_F77=yes
23929 - if test "$GCC" = yes && test -z "$link_static_flag"; then
23930 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
23931 # Neither direct hardcoding nor static linking is supported with a
23933 hardcode_direct_F77=unsupported
23939 if test "$host_cpu" = ia64; then
23940 # On IA64, the linker does run time linking by default, so we don't
23941 # have to do anything special.
23942 @@ -13816,13 +15064,14 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
23943 # Test if we are trying to use run time linking or normal
23944 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
23945 # need to do runtime linking.
23946 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
23947 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
23948 for ld_flag in $LDFLAGS; do
23949 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
23950 aix_use_runtimelinking=yes
23957 exp_sym_flag='-bexport'
23958 @@ -13841,7 +15090,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
23959 link_all_deplibs_F77=yes
23961 if test "$GCC" = yes; then
23962 - case $host_os in aix4.012|aix4.012.*)
23963 + case $host_os in aix4.[012]|aix4.[012].*)
23964 # We only want to do this on AIX 4.2 and lower, the check
23965 # below for broken collect2 doesn't work under 4.3+
23966 collect2name=`${CC} -print-prog-name=collect2`
23967 @@ -13849,7 +15098,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
23968 strings "$collect2name" | grep resolve_lib_name >/dev/null
23970 # We have reworked collect2
23971 - hardcode_direct_F77=yes
23974 # We have old collect2
23975 hardcode_direct_F77=unsupported
23976 @@ -13860,8 +15109,12 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
23977 hardcode_libdir_flag_spec_F77='-L$libdir'
23978 hardcode_libdir_separator_F77=
23982 shared_flag='-shared'
23983 + if test "$aix_use_runtimelinking" = yes; then
23984 + shared_flag="$shared_flag "'${wl}-G'
23988 if test "$host_cpu" = ia64; then
23989 @@ -13869,11 +15122,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
23990 # chokes on -Wl,-G. The following line is correct:
23993 - if test "$aix_use_runtimelinking" = yes; then
23994 + if test "$aix_use_runtimelinking" = yes; then
23995 shared_flag='${wl}-G'
23997 shared_flag='${wl}-bM:SRE'
24003 @@ -13891,49 +15144,58 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
24006 rm -f conftest.$ac_objext conftest$ac_exeext
24007 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24008 - (eval $ac_link) 2>conftest.er1
24009 +if { (ac_try="$ac_link"
24010 +case "(($ac_try" in
24011 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24012 + *) ac_try_echo=$ac_try;;
24014 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24015 +$as_echo "$ac_try_echo") >&5
24016 + (eval "$ac_link") 2>conftest.er1
24018 grep -v '^ *+' conftest.er1 >conftest.err
24020 cat conftest.err >&5
24021 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24022 - (exit $ac_status); } &&
24023 - { ac_try='test -z "$ac_f77_werror_flag"
24024 - || test ! -s conftest.err'
24025 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24026 - (eval $ac_try) 2>&5
24028 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24029 - (exit $ac_status); }; } &&
24030 - { ac_try='test -s conftest$ac_exeext'
24031 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24032 - (eval $ac_try) 2>&5
24034 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24035 - (exit $ac_status); }; }; then
24037 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24039 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24040 + (exit $ac_status); } && {
24041 + test -z "$ac_f77_werror_flag" ||
24042 + test ! -s conftest.err
24043 + } && test -s conftest$ac_exeext && {
24044 + test "$cross_compiling" = yes ||
24045 + $as_test_x conftest$ac_exeext
24048 +lt_aix_libpath_sed='
24049 + /Import File Strings/,/^$/ {
24051 + s/^0 *\(.*\)$/\1/
24055 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24056 # Check for a 64-bit object if we didn't find anything.
24057 -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; }
24059 +if test -z "$aix_libpath"; then
24060 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24063 - echo "$as_me: failed program was:" >&5
24064 + $as_echo "$as_me: failed program was:" >&5
24065 sed 's/^/| /' conftest.$ac_ext >&5
24069 -rm -f conftest.err conftest.$ac_objext \
24071 +rm -rf conftest.dSYM
24072 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24073 conftest$ac_exeext conftest.$ac_ext
24074 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24076 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
24077 - 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"
24078 + 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"
24080 if test "$host_cpu" = ia64; then
24081 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
24082 allow_undefined_flag_F77="-z nodefs"
24083 - 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"
24084 + 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"
24086 # Determine the default libpath from the value encoded in an empty executable.
24087 cat >conftest.$ac_ext <<_ACEOF
24088 @@ -13942,39 +15204,48 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24091 rm -f conftest.$ac_objext conftest$ac_exeext
24092 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24093 - (eval $ac_link) 2>conftest.er1
24094 +if { (ac_try="$ac_link"
24095 +case "(($ac_try" in
24096 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24097 + *) ac_try_echo=$ac_try;;
24099 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24100 +$as_echo "$ac_try_echo") >&5
24101 + (eval "$ac_link") 2>conftest.er1
24103 grep -v '^ *+' conftest.er1 >conftest.err
24105 cat conftest.err >&5
24106 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24107 - (exit $ac_status); } &&
24108 - { ac_try='test -z "$ac_f77_werror_flag"
24109 - || test ! -s conftest.err'
24110 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24111 - (eval $ac_try) 2>&5
24113 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114 - (exit $ac_status); }; } &&
24115 - { ac_try='test -s conftest$ac_exeext'
24116 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24117 - (eval $ac_try) 2>&5
24119 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24120 - (exit $ac_status); }; }; then
24122 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24124 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24125 + (exit $ac_status); } && {
24126 + test -z "$ac_f77_werror_flag" ||
24127 + test ! -s conftest.err
24128 + } && test -s conftest$ac_exeext && {
24129 + test "$cross_compiling" = yes ||
24130 + $as_test_x conftest$ac_exeext
24133 +lt_aix_libpath_sed='
24134 + /Import File Strings/,/^$/ {
24136 + s/^0 *\(.*\)$/\1/
24140 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24141 # Check for a 64-bit object if we didn't find anything.
24142 -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; }
24144 +if test -z "$aix_libpath"; then
24145 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24148 - echo "$as_me: failed program was:" >&5
24149 + $as_echo "$as_me: failed program was:" >&5
24150 sed 's/^/| /' conftest.$ac_ext >&5
24154 -rm -f conftest.err conftest.$ac_objext \
24156 +rm -rf conftest.dSYM
24157 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24158 conftest$ac_exeext conftest.$ac_ext
24159 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24161 @@ -13983,13 +15254,11 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24162 # -berok will link without error, but may produce a broken library.
24163 no_undefined_flag_F77=' ${wl}-bernotok'
24164 allow_undefined_flag_F77=' ${wl}-berok'
24165 - # -bexpall does not export symbols beginning with underscore (_)
24166 - always_export_symbols_F77=yes
24167 # Exported symbols can be pulled into shared objects from archives
24168 - whole_archive_flag_spec_F77=' '
24169 + whole_archive_flag_spec_F77='$convenience'
24170 archive_cmds_need_lc_F77=yes
24171 - # This is similar to how AIX traditionally builds it's shared libraries.
24172 - 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'
24173 + # This is similar to how AIX traditionally builds its shared libraries.
24174 + 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'
24178 @@ -14002,7 +15271,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24184 export_dynamic_flag_spec_F77=-rdynamic
24187 @@ -14022,58 +15291,57 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24188 # The linker will automatically build a .lib file if we build a DLL.
24189 old_archive_From_new_cmds_F77='true'
24190 # FIXME: Should let the user specify the lib program.
24191 - old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
24192 - fix_srcfile_path='`cygpath -w "$srcfile"`'
24193 + old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
24194 + fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
24195 enable_shared_with_static_runtimes_F77=yes
24198 darwin* | rhapsody*)
24199 - if test "$GXX" = yes ; then
24200 - archive_cmds_need_lc_F77=no
24201 - case "$host_os" in
24202 - rhapsody* | darwin1.[012])
24203 - allow_undefined_flag_F77='-undefined suppress'
24205 - *) # Darwin 1.3 on
24206 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
24207 - allow_undefined_flag_F77='-flat_namespace -undefined suppress'
24209 - case ${MACOSX_DEPLOYMENT_TARGET} in
24211 - allow_undefined_flag_F77='-flat_namespace -undefined suppress'
24214 - allow_undefined_flag_F77='-undefined dynamic_lookup'
24220 + rhapsody* | darwin1.[012])
24221 + allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
24223 + *) # Darwin 1.3 on
24224 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
24225 + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24227 + case ${MACOSX_DEPLOYMENT_TARGET} in
24229 + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24232 + allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
24238 - lt_int_apple_cc_single_mod=no
24239 - output_verbose_link_cmd='echo'
24240 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
24241 - lt_int_apple_cc_single_mod=yes
24243 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
24244 - archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
24246 - 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'
24248 - module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24249 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
24250 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
24251 - 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}'
24253 - 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}'
24255 - 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}'
24256 + archive_cmds_need_lc_F77=no
24257 hardcode_direct_F77=no
24258 hardcode_automatic_F77=yes
24259 hardcode_shlibpath_var_F77=unsupported
24260 - whole_archive_flag_spec_F77='-all_load $convenience'
24261 + whole_archive_flag_spec_F77=''
24262 link_all_deplibs_F77=yes
24263 + if test "$GCC" = yes ; then
24264 + output_verbose_link_cmd='echo'
24265 + 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}"
24266 + module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
24267 + 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}"
24268 + 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}"
24271 + case $cc_basename in
24273 + output_verbose_link_cmd='echo'
24274 + archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
24275 + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24276 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24277 + 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}'
24278 + 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}'
24287 @@ -14107,7 +15375,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24290 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
24291 - freebsd* | kfreebsd*-gnu)
24292 + freebsd* | dragonfly*)
24293 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
24294 hardcode_libdir_flag_spec_F77='-R$libdir'
24295 hardcode_direct_F77=yes
24296 @@ -14130,47 +15398,62 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24297 export_dynamic_flag_spec_F77='${wl}-E'
24300 - hpux10* | hpux11*)
24302 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
24303 - case "$host_cpu" in
24305 + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24307 + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
24309 + if test "$with_gnu_ld" = no; then
24310 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
24311 + hardcode_libdir_separator_F77=:
24313 + hardcode_direct_F77=yes
24314 + export_dynamic_flag_spec_F77='${wl}-E'
24316 + # hardcode_minus_L: Not really in the search PATH,
24317 + # but as the default location of the library.
24318 + hardcode_minus_L_F77=yes
24323 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
24324 + case $host_cpu in
24326 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24329 + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24332 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24336 - case "$host_cpu" in
24338 - archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
24339 + case $host_cpu in
24341 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24344 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24347 - archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
24348 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24352 if test "$with_gnu_ld" = no; then
24353 - case "$host_cpu" in
24355 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
24356 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
24357 + hardcode_libdir_separator_F77=:
24359 + case $host_cpu in
24361 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
24362 - hardcode_libdir_separator_F77=:
24363 hardcode_direct_F77=no
24364 hardcode_shlibpath_var_F77=no
24367 - hardcode_libdir_flag_spec_F77='-L$libdir'
24368 - hardcode_direct_F77=no
24369 - hardcode_shlibpath_var_F77=no
24371 - # hardcode_minus_L: Not really in the search PATH,
24372 - # but as the default location of the library.
24373 - hardcode_minus_L_F77=yes
24376 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
24377 - hardcode_libdir_separator_F77=:
24378 hardcode_direct_F77=yes
24379 export_dynamic_flag_spec_F77='${wl}-E'
24381 @@ -14194,7 +15477,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24382 link_all_deplibs_F77=yes
24386 + netbsd* | netbsdelf*-gnu)
24387 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
24388 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
24390 @@ -14214,23 +15497,28 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24394 - hardcode_direct_F77=yes
24395 - hardcode_shlibpath_var_F77=no
24396 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24397 - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24398 - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
24399 - export_dynamic_flag_spec_F77='${wl}-E'
24400 + if test -f /usr/libexec/ld.so; then
24401 + hardcode_direct_F77=yes
24402 + hardcode_shlibpath_var_F77=no
24403 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24404 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24405 + archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
24406 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
24407 + export_dynamic_flag_spec_F77='${wl}-E'
24410 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
24411 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24412 + hardcode_libdir_flag_spec_F77='-R$libdir'
24415 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24416 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
24422 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
24423 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24424 - hardcode_libdir_flag_spec_F77='-R$libdir'
24427 - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24428 - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
24435 @@ -14263,7 +15551,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24436 allow_undefined_flag_F77=' -expect_unresolved \*'
24437 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'
24438 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~
24439 - $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'
24440 + $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'
24442 # Both c and cxx compiler support -rpath directly
24443 hardcode_libdir_flag_spec_F77='-rpath $libdir'
24444 @@ -14271,21 +15559,15 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24445 hardcode_libdir_separator_F77=:
24449 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24450 - hardcode_shlibpath_var_F77=no
24451 - export_dynamic_flag_spec_F77='${wl}-Bexport'
24452 - runpath_var=LD_RUN_PATH
24453 - hardcode_runpath_var=yes
24457 no_undefined_flag_F77=' -z text'
24458 if test "$GCC" = yes; then
24460 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24461 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24462 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
24465 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
24466 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24467 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
24468 @@ -14294,8 +15576,17 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24469 hardcode_shlibpath_var_F77=no
24471 solaris2.[0-5] | solaris2.[0-5].*) ;;
24472 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
24473 - whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
24475 + # The compiler driver will combine and reorder linker options,
24476 + # but understands `-z linker_flag'. GCC discards it without `$wl',
24477 + # but is careful enough not to reorder.
24478 + # Supported since Solaris 2.6 (maybe 2.5.1?)
24479 + if test "$GCC" = yes; then
24480 + whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
24482 + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
24486 link_all_deplibs_F77=yes
24488 @@ -14352,36 +15643,45 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24493 - archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
24494 - hardcode_direct_F77=yes
24495 - hardcode_minus_L_F77=no
24496 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
24497 + no_undefined_flag_F77='${wl}-z,text'
24498 + archive_cmds_need_lc_F77=no
24499 hardcode_shlibpath_var_F77=no
24500 - hardcode_runpath_var=yes
24501 - runpath_var=LD_RUN_PATH
24503 + runpath_var='LD_RUN_PATH'
24505 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
24506 - no_undefined_flag_F77='${wl}-z ${wl}text'
24507 if test "$GCC" = yes; then
24508 - archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24509 + archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24510 + archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24512 - archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24513 + archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24514 + archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24516 - runpath_var='LD_RUN_PATH'
24517 - hardcode_shlibpath_var_F77=no
24521 - no_undefined_flag_F77=' -z text'
24522 - # $CC -shared without GNU ld will not create a library from C++
24523 - # object files and a static libstdc++, better avoid it by now
24524 - archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
24525 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24526 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
24527 - hardcode_libdir_flag_spec_F77=
24528 + sysv5* | sco3.2v5* | sco5v6*)
24529 + # Note: We can NOT use -z defs as we might desire, because we do not
24530 + # link with -lc, and that would cause any symbols used from libc to
24531 + # always be unresolved, which means just about no library would
24532 + # ever link correctly. If we're not using GNU ld we use -z text
24533 + # though, which does catch some bad symbols but isn't as heavy-handed
24535 + no_undefined_flag_F77='${wl}-z,text'
24536 + allow_undefined_flag_F77='${wl}-z,nodefs'
24537 + archive_cmds_need_lc_F77=no
24538 hardcode_shlibpath_var_F77=no
24539 + hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
24540 + hardcode_libdir_separator_F77=':'
24541 + link_all_deplibs_F77=yes
24542 + export_dynamic_flag_spec_F77='${wl}-Bexport'
24543 runpath_var='LD_RUN_PATH'
24545 + if test "$GCC" = yes; then
24546 + archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24547 + archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24549 + archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24550 + archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24555 @@ -14396,15 +15696,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24559 -echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
24560 -echo "${ECHO_T}$ld_shlibs_F77" >&6
24561 +{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
24562 +$as_echo "$ld_shlibs_F77" >&6; }
24563 test "$ld_shlibs_F77" = no && can_build_shared=no
24565 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
24566 -if test "$GCC" = yes; then
24567 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
24571 # Do we need to explicitly link libc?
24573 @@ -14422,21 +15717,22 @@ x|xyes)
24574 # Test whether the compiler implicitly links with -lc since on some
24575 # systems, -lgcc has to come before -lc. If gcc already passes -lc
24576 # to ld, don't add -lc before -lgcc.
24577 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
24578 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
24579 + { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
24580 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
24582 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
24583 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
24585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24586 (eval $ac_compile) 2>&5
24588 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24589 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24590 (exit $ac_status); } 2>conftest.err; then
24593 libobjs=conftest.$ac_objext
24595 wl=$lt_prog_compiler_wl_F77
24596 + pic_flag=$lt_prog_compiler_pic_F77
24600 @@ -14447,7 +15743,7 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
24601 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
24602 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
24604 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24605 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606 (exit $ac_status); }
24608 archive_cmds_need_lc_F77=no
24609 @@ -14459,16 +15755,16 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
24610 cat conftest.err 1>&5
24613 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
24614 -echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
24615 + { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
24616 +$as_echo "$archive_cmds_need_lc_F77" >&6; }
24623 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
24624 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
24625 +{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
24626 +$as_echo_n "checking dynamic linker characteristics... " >&6; }
24627 library_names_spec=
24628 libname_spec='lib$name'
24630 @@ -14482,20 +15778,7 @@ shlibpath_overrides_runpath=unknown
24632 dynamic_linker="$host_os ld.so"
24633 sys_lib_dlsearch_path_spec="/lib /usr/lib"
24634 -if test "$GCC" = yes; then
24635 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
24636 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
24637 - # if the path contains ";" then we assume it to be the separator
24638 - # otherwise default to the standard path separator (i.e. ":") - it is
24639 - # assumed that no part of a normal pathname contains ";" but that should
24640 - # okay in the real world where ";" in dirpaths is itself problematic.
24641 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
24643 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
24646 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
24649 need_lib_prefix=unknown
24650 hardcode_into_libs=no
24652 @@ -14513,7 +15796,7 @@ aix3*)
24653 soname_spec='${libname}${release}${shared_ext}$major'
24661 @@ -14569,7 +15852,7 @@ beos*)
24662 shlibpath_var=LIBRARY_PATH
24669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24670 @@ -14597,7 +15880,8 @@ cygwin* | mingw* | pw32*)
24671 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
24672 dldir=$destdir/`dirname \$dlpath`~
24673 test -d \$dldir || mkdir -p \$dldir~
24674 - $install_prog $dir/$dlname \$dldir/$dlname'
24675 + $install_prog $dir/$dlname \$dldir/$dlname~
24676 + chmod a+x \$dldir/$dlname'
24677 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
24678 dlpath=$dir/\$dldll~
24680 @@ -14627,7 +15911,7 @@ cygwin* | mingw* | pw32*)
24683 # pw32 DLLs use 'pw' prefix rather than 'lib'
24684 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
24685 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
24689 @@ -14650,13 +15934,8 @@ darwin* | rhapsody*)
24690 soname_spec='${libname}${release}${major}$shared_ext'
24691 shlibpath_overrides_runpath=yes
24692 shlibpath_var=DYLD_LIBRARY_PATH
24693 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
24694 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
24695 - if test "$GCC" = yes; then
24696 - 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"`
24698 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
24700 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
24702 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
24705 @@ -14673,20 +15952,17 @@ freebsd1*)
24710 - version_type=linux
24711 - need_lib_prefix=no
24713 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
24714 - soname_spec='${libname}${release}${shared_ext}$major'
24715 - shlibpath_var=LD_LIBRARY_PATH
24716 - shlibpath_overrides_runpath=no
24717 - hardcode_into_libs=yes
24718 - dynamic_linker='GNU ld.so'
24722 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
24723 +freebsd* | dragonfly*)
24724 + # DragonFly does not have aout. When/if they implement a new
24725 + # versioning mechanism, adjust this.
24726 + if test -x /usr/bin/objformat; then
24727 + objformat=`/usr/bin/objformat`
24730 + freebsd[123]*) objformat=aout ;;
24731 + *) objformat=elf ;;
24734 version_type=freebsd-$objformat
24735 case $version_type in
24737 @@ -14704,14 +15980,19 @@ freebsd*)
24739 shlibpath_overrides_runpath=yes
24741 - freebsd3.01* | freebsdelf3.01*)
24742 + freebsd3.[01]* | freebsdelf3.[01]*)
24743 shlibpath_overrides_runpath=yes
24744 hardcode_into_libs=yes
24747 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
24748 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
24749 shlibpath_overrides_runpath=no
24750 hardcode_into_libs=yes
24752 + *) # from 4.6 on, and DragonFly
24753 + shlibpath_overrides_runpath=yes
24754 + hardcode_into_libs=yes
24759 @@ -14731,7 +16012,7 @@ hpux9* | hpux10* | hpux11*)
24763 - case "$host_cpu" in
24764 + case $host_cpu in
24767 hardcode_into_libs=yes
24768 @@ -14771,6 +16052,18 @@ hpux9* | hpux10* | hpux11*)
24769 postinstall_cmds='chmod 555 $lib'
24773 + version_type=linux
24774 + need_lib_prefix=no
24776 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
24777 + soname_spec='${libname}${release}${shared_ext}$major'
24778 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
24779 + shlibpath_var=LD_LIBRARY_PATH
24780 + shlibpath_overrides_runpath=no
24781 + hardcode_into_libs=yes
24784 irix5* | irix6* | nonstopux*)
24786 nonstopux*) version_type=nonstopux ;;
24787 @@ -14814,7 +16107,7 @@ linux*oldld* | linux*aout* | linux*coff*)
24790 # This must be Linux ELF.
24792 +linux* | k*bsd*-gnu)
24796 @@ -14828,31 +16121,10 @@ linux*)
24797 # before this can be enabled.
24798 hardcode_into_libs=yes
24800 - # find out which ABI we are using
24802 - case "$host_cpu" in
24803 - x86_64*|s390x*|powerpc64*)
24804 - echo '#line 14835 "configure"' > conftest.$ac_ext
24805 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24806 - (eval $ac_compile) 2>&5
24808 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24809 - (exit $ac_status); }; then
24810 - case `/usr/bin/file conftest.$ac_objext` in
24813 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
24821 # Append ld.so.conf contents to the search path
24822 if test -f /etc/ld.so.conf; then
24823 - lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
24824 - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
24825 + 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' ' '`
24826 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
24829 # We used to test for /lib/ld.so.1 and disable shared libraries on
24830 @@ -14864,7 +16136,7 @@ linux*)
24831 dynamic_linker='GNU/Linux ld.so'
24839 @@ -14873,7 +16145,7 @@ knetbsd*-gnu)
24840 shlibpath_var=LD_LIBRARY_PATH
24841 shlibpath_overrides_runpath=no
24842 hardcode_into_libs=yes
24843 - dynamic_linker='GNU ld.so'
24844 + dynamic_linker='NetBSD ld.elf_so'
24848 @@ -14913,8 +16185,13 @@ nto-qnx*)
24852 + sys_lib_dlsearch_path_spec="/usr/lib"
24855 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
24857 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
24858 + *) need_version=no ;;
24860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
24861 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
24862 shlibpath_var=LD_LIBRARY_PATH
24863 @@ -14952,11 +16229,8 @@ osf3* | osf4* | osf5*)
24864 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
24869 - soname_spec='${libname}${release}${shared_ext}$major'
24870 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24871 - shlibpath_var=LD_LIBRARY_PATH
24873 + dynamic_linker=no
24877 @@ -14984,7 +16258,7 @@ sunos4*)
24881 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
24884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24885 soname_spec='${libname}${release}${shared_ext}$major'
24886 @@ -15017,6 +16291,29 @@ sysv4*MP*)
24890 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
24891 + version_type=freebsd-elf
24892 + need_lib_prefix=no
24894 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
24895 + soname_spec='${libname}${release}${shared_ext}$major'
24896 + shlibpath_var=LD_LIBRARY_PATH
24897 + hardcode_into_libs=yes
24898 + if test "$with_gnu_ld" = yes; then
24899 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
24900 + shlibpath_overrides_runpath=no
24902 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
24903 + shlibpath_overrides_runpath=yes
24906 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
24910 + sys_lib_dlsearch_path_spec='/usr/lib'
24915 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24916 @@ -15028,16 +16325,36 @@ uts4*)
24920 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
24921 -echo "${ECHO_T}$dynamic_linker" >&6
24922 +{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
24923 +$as_echo "$dynamic_linker" >&6; }
24924 test "$dynamic_linker" = no && can_build_shared=no
24926 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
24927 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
24928 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
24929 + $as_echo_n "(cached) " >&6
24931 + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
24934 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
24935 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
24936 + $as_echo_n "(cached) " >&6
24938 + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
24941 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
24943 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
24944 +if test "$GCC" = yes; then
24945 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
24948 +{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
24949 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
24950 hardcode_action_F77=
24951 if test -n "$hardcode_libdir_flag_spec_F77" || \
24952 - test -n "$runpath_var F77" || \
24953 - test "X$hardcode_automatic_F77"="Xyes" ; then
24954 + test -n "$runpath_var_F77" || \
24955 + test "X$hardcode_automatic_F77" = "Xyes" ; then
24957 # We can hardcode non-existant directories.
24958 if test "$hardcode_direct_F77" != no &&
24959 @@ -15057,8 +16374,8 @@ else
24961 hardcode_action_F77=unsupported
24963 -echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
24964 -echo "${ECHO_T}$hardcode_action_F77" >&6
24965 +{ $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
24966 +$as_echo "$hardcode_action_F77" >&6; }
24968 if test "$hardcode_action_F77" = relink; then
24969 # Fast installation is not supported
24970 @@ -15069,36 +16386,6 @@ elif test "$shlibpath_overrides_runpath" = yes ||
24971 enable_fast_install=needless
24976 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
24977 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
24978 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
24979 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
24980 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
24981 - echo "$as_me:$LINENO: result: yes" >&5
24982 -echo "${ECHO_T}yes" >&6
24984 -# FIXME - insert some real tests, host_os isn't really good enough
24987 - if test -n "$STRIP" ; then
24988 - striplib="$STRIP -x"
24989 - echo "$as_me:$LINENO: result: yes" >&5
24990 -echo "${ECHO_T}yes" >&6
24992 - echo "$as_me:$LINENO: result: no" >&5
24993 -echo "${ECHO_T}no" >&6
24997 - echo "$as_me:$LINENO: result: no" >&5
24998 -echo "${ECHO_T}no" >&6
25005 # The else clause should only fire when bootstrapping the
25006 # libtool distribution, otherwise you forgot to ship ltmain.sh
25007 @@ -15113,7 +16400,7 @@ if test -f "$ltmain"; then
25008 # Now quote all the things that may contain metacharacters while being
25009 # careful not to overquote the AC_SUBSTed values. We take copies of the
25010 # variables and quote the copies for generation of the libtool script.
25011 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
25012 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
25014 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25015 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25016 @@ -15140,6 +16427,7 @@ if test -f "$ltmain"; then
25019 compiler_lib_search_path_F77 \
25020 + compiler_lib_search_dirs_F77 \
25022 archive_expsym_cmds_F77 \
25023 postinstall_cmds_F77 \
25024 @@ -15155,6 +16443,7 @@ if test -f "$ltmain"; then
25026 module_expsym_cmds_F77 \
25027 lt_cv_prog_compiler_c_o_F77 \
25028 + fix_srcfile_path_F77 \
25029 exclude_expsyms_F77 \
25030 include_expsyms_F77; do
25032 @@ -15214,6 +16503,12 @@ fast_install=$enable_fast_install
25034 host_alias=$host_alias
25038 +# The build system.
25039 +build_alias=$build_alias
25041 +build_os=$build_os
25043 # An echo program that does not interpret backslashes.
25045 @@ -15225,6 +16520,9 @@ AR_FLAGS=$lt_AR_FLAGS
25049 +# LTCC compiler flags.
25050 +LTCFLAGS=$lt_LTCFLAGS
25052 # A language-specific compiler.
25053 CC=$lt_compiler_F77
25055 @@ -15290,7 +16588,7 @@ max_cmd_len=$lt_cv_sys_max_cmd_len
25056 # Does compiler simultaneously support -c and -o options?
25057 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
25059 -# Must we lock files when doing compilation ?
25060 +# Must we lock files when doing compilation?
25061 need_locks=$lt_need_locks
25063 # Do we need the lib prefix for modules?
25064 @@ -15378,6 +16676,10 @@ predeps=$lt_predeps_F77
25066 postdeps=$lt_postdeps_F77
25068 +# The directories searched by this compiler when creating a shared
25070 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
25072 # The library search path used internally by the compiler when linking
25073 # a shared library.
25074 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
25075 @@ -15466,7 +16768,7 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25076 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25078 # Fix the shell variable \$srcfile for the compiler.
25079 -fix_srcfile_path="$fix_srcfile_path_F77"
25080 +fix_srcfile_path=$lt_fix_srcfile_path
25082 # Set to yes if exported symbols are required.
25083 always_export_symbols=$always_export_symbols_F77
25084 @@ -15516,7 +16818,6 @@ CC="$lt_save_CC"
25085 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
25089 # Source file extension for Java test sources.
25092 @@ -15525,29 +16826,58 @@ objext=o
25095 # Code to be used in simple compile tests
25096 -lt_simple_compile_test_code="class foo {}\n"
25097 +lt_simple_compile_test_code="class foo {}"
25099 # Code to be used in simple link tests
25100 -lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
25101 +lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
25103 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
25105 # If no C compiler was specified, use CC.
25108 +# If no C compiler flags were specified, use CFLAGS.
25109 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
25111 # Allow CC to be a program name with arguments.
25115 +# save warnings/boilerplate of simple test code
25116 +ac_outfile=conftest.$ac_objext
25117 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
25118 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
25119 +_lt_compiler_boilerplate=`cat conftest.err`
25122 +ac_outfile=conftest.$ac_objext
25123 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
25124 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
25125 +_lt_linker_boilerplate=`cat conftest.err`
25129 # Allow CC to be a program name with arguments.
25134 +for cc_temp in $compiler""; do
25136 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
25137 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
25142 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
25145 # GCJ did not exist at the time GCC didn't implicitly link libc in.
25146 archive_cmds_need_lc_GCJ=no
25148 +old_archive_cmds_GCJ=$old_archive_cmds
25151 lt_prog_compiler_no_builtin_flag_GCJ=
25153 @@ -15555,14 +16885,14 @@ if test "$GCC" = yes; then
25154 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
25157 -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
25158 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
25159 +{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
25160 +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
25161 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
25162 - echo $ECHO_N "(cached) $ECHO_C" >&6
25163 + $as_echo_n "(cached) " >&6
25165 lt_cv_prog_compiler_rtti_exceptions=no
25166 ac_outfile=conftest.$ac_objext
25167 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
25168 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25169 lt_compiler_flag="-fno-rtti -fno-exceptions"
25170 # Insert the option either (1) after the last *FLAGS variable, or
25171 # (2) before a word containing "conftest.", or (3) at the end.
25172 @@ -15570,26 +16900,28 @@ else
25173 # with a dollar sign (not a hyphen), so the echo should work correctly.
25174 # The option is referenced via a variable to avoid confusing sed.
25175 lt_compile=`echo "$ac_compile" | $SED \
25176 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
25177 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
25178 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25179 -e 's:$: $lt_compiler_flag:'`
25180 - (eval echo "\"\$as_me:15576: $lt_compile\"" >&5)
25181 + (eval echo "\"\$as_me:16906: $lt_compile\"" >&5)
25182 (eval "$lt_compile" 2>conftest.err)
25184 cat conftest.err >&5
25185 - echo "$as_me:15580: \$? = $ac_status" >&5
25186 + echo "$as_me:16910: \$? = $ac_status" >&5
25187 if (exit $ac_status) && test -s "$ac_outfile"; then
25188 # The compiler can only warn and ignore the option if not recognized
25189 - # So say no if there are warnings
25190 - if test ! -s conftest.err; then
25191 + # So say no if there are warnings other than the usual output.
25192 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
25193 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
25194 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
25195 lt_cv_prog_compiler_rtti_exceptions=yes
25201 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
25202 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
25203 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
25204 +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
25206 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
25207 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
25208 @@ -15603,8 +16935,8 @@ lt_prog_compiler_wl_GCJ=
25209 lt_prog_compiler_pic_GCJ=
25210 lt_prog_compiler_static_GCJ=
25212 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
25213 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25214 +{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
25215 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
25217 if test "$GCC" = yes; then
25218 lt_prog_compiler_wl_GCJ='-Wl,'
25219 @@ -15626,14 +16958,16 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25220 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
25223 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
25224 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
25225 # PIC is the default for these OSes.
25228 - mingw* | pw32* | os2*)
25229 + mingw* | cygwin* | pw32* | os2*)
25230 # This hack is so that the source file can tell whether it is being
25231 # built for inclusion in a dll (and should export symbols for example).
25232 - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
25233 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
25234 + # (--disable-auto-import) libraries
25238 darwin* | rhapsody*)
25239 @@ -15642,6 +16976,11 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25240 lt_prog_compiler_pic_GCJ='-fno-common'
25244 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
25245 + # Instead, we relocate shared libraries at runtime.
25249 # Just because we use GCC doesn't mean we suddenly get shared libraries
25250 # on systems that don't support them.
25251 @@ -15658,7 +16997,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25253 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
25254 # not for PA HP-UX.
25255 - case "$host_cpu" in
25256 + case $host_cpu in
25260 @@ -15684,18 +17023,28 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25261 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
25265 + # PIC is the default on this platform
25266 + # Common symbols not allowed in MH_DYLIB files
25267 + case $cc_basename in
25269 + lt_prog_compiler_pic_GCJ='-qnocommon'
25270 + lt_prog_compiler_wl_GCJ='-Wl,'
25275 - mingw* | pw32* | os2*)
25276 + mingw* | cygwin* | pw32* | os2*)
25277 # This hack is so that the source file can tell whether it is being
25278 # built for inclusion in a dll (and should export symbols for example).
25279 - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
25283 hpux9* | hpux10* | hpux11*)
25284 lt_prog_compiler_wl_GCJ='-Wl,'
25285 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
25286 # not for PA HP-UX.
25287 - case "$host_cpu" in
25288 + case $host_cpu in
25292 @@ -15718,18 +17067,41 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25293 lt_prog_compiler_static_GCJ='-Bstatic'
25298 + linux* | k*bsd*-gnu)
25299 + case $cc_basename in
25301 lt_prog_compiler_wl_GCJ='-Wl,'
25302 lt_prog_compiler_pic_GCJ='-KPIC'
25303 lt_prog_compiler_static_GCJ='-static'
25305 + pgcc* | pgf77* | pgf90* | pgf95*)
25306 + # Portland Group compilers (*not* the Pentium gcc compiler,
25307 + # which looks to be a dead project)
25308 + lt_prog_compiler_wl_GCJ='-Wl,'
25309 + lt_prog_compiler_pic_GCJ='-fpic'
25310 + lt_prog_compiler_static_GCJ='-Bstatic'
25313 lt_prog_compiler_wl_GCJ='-Wl,'
25314 # All Alpha code is PIC.
25315 lt_prog_compiler_static_GCJ='-non_shared'
25318 + case `$CC -V 2>&1 | sed 5q` in
25321 + lt_prog_compiler_pic_GCJ='-KPIC'
25322 + lt_prog_compiler_static_GCJ='-Bstatic'
25323 + lt_prog_compiler_wl_GCJ='-Wl,'
25326 + # Sun Fortran 8.3 passes all unrecognized flags to the linker
25327 + lt_prog_compiler_pic_GCJ='-KPIC'
25328 + lt_prog_compiler_static_GCJ='-Bstatic'
25329 + lt_prog_compiler_wl_GCJ=''
25336 @@ -15739,15 +17111,19 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25337 lt_prog_compiler_static_GCJ='-non_shared'
25341 - lt_prog_compiler_pic_GCJ='-Kpic'
25342 - lt_prog_compiler_static_GCJ='-dn'
25344 + lt_prog_compiler_static_GCJ='-non_shared'
25348 - lt_prog_compiler_wl_GCJ='-Wl,'
25349 lt_prog_compiler_pic_GCJ='-KPIC'
25350 lt_prog_compiler_static_GCJ='-Bstatic'
25351 + case $cc_basename in
25352 + f77* | f90* | f95*)
25353 + lt_prog_compiler_wl_GCJ='-Qoption ld ';;
25355 + lt_prog_compiler_wl_GCJ='-Wl,';;
25360 @@ -15756,7 +17132,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25361 lt_prog_compiler_static_GCJ='-Bstatic'
25364 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
25365 + sysv4 | sysv4.2uw2* | sysv4.3*)
25366 lt_prog_compiler_wl_GCJ='-Wl,'
25367 lt_prog_compiler_pic_GCJ='-KPIC'
25368 lt_prog_compiler_static_GCJ='-Bstatic'
25369 @@ -15769,6 +17145,17 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25373 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
25374 + lt_prog_compiler_wl_GCJ='-Wl,'
25375 + lt_prog_compiler_pic_GCJ='-KPIC'
25376 + lt_prog_compiler_static_GCJ='-Bstatic'
25380 + lt_prog_compiler_wl_GCJ='-Wl,'
25381 + lt_prog_compiler_can_build_shared_GCJ=no
25385 lt_prog_compiler_pic_GCJ='-pic'
25386 lt_prog_compiler_static_GCJ='-Bstatic'
25387 @@ -15780,22 +17167,22 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25391 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
25392 -echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
25393 +{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
25394 +$as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
25397 # Check to make sure the PIC flag actually works.
25399 if test -n "$lt_prog_compiler_pic_GCJ"; then
25401 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
25402 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
25403 -if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
25404 - echo $ECHO_N "(cached) $ECHO_C" >&6
25405 +{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
25406 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
25407 +if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
25408 + $as_echo_n "(cached) " >&6
25410 - lt_prog_compiler_pic_works_GCJ=no
25411 + lt_cv_prog_compiler_pic_works_GCJ=no
25412 ac_outfile=conftest.$ac_objext
25413 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
25414 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25415 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
25416 # Insert the option either (1) after the last *FLAGS variable, or
25417 # (2) before a word containing "conftest.", or (3) at the end.
25418 @@ -15803,28 +17190,30 @@ else
25419 # with a dollar sign (not a hyphen), so the echo should work correctly.
25420 # The option is referenced via a variable to avoid confusing sed.
25421 lt_compile=`echo "$ac_compile" | $SED \
25422 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
25423 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
25424 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25425 -e 's:$: $lt_compiler_flag:'`
25426 - (eval echo "\"\$as_me:15809: $lt_compile\"" >&5)
25427 + (eval echo "\"\$as_me:17196: $lt_compile\"" >&5)
25428 (eval "$lt_compile" 2>conftest.err)
25430 cat conftest.err >&5
25431 - echo "$as_me:15813: \$? = $ac_status" >&5
25432 + echo "$as_me:17200: \$? = $ac_status" >&5
25433 if (exit $ac_status) && test -s "$ac_outfile"; then
25434 # The compiler can only warn and ignore the option if not recognized
25435 - # So say no if there are warnings
25436 - if test ! -s conftest.err; then
25437 - lt_prog_compiler_pic_works_GCJ=yes
25438 + # So say no if there are warnings other than the usual output.
25439 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
25440 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
25441 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
25442 + lt_cv_prog_compiler_pic_works_GCJ=yes
25448 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
25449 -echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
25450 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
25451 +$as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
25453 -if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
25454 +if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
25455 case $lt_prog_compiler_pic_GCJ in
25457 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
25458 @@ -15835,7 +17224,7 @@ else
25462 -case "$host_os" in
25464 # For platforms which do not support PIC, -DPIC is meaningless:
25466 lt_prog_compiler_pic_GCJ=
25467 @@ -15845,17 +17234,59 @@ case "$host_os" in
25471 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
25472 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
25474 +# Check to make sure the static flag actually works.
25476 +wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
25477 +{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
25478 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
25479 +if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
25480 + $as_echo_n "(cached) " >&6
25482 + lt_cv_prog_compiler_static_works_GCJ=no
25483 + save_LDFLAGS="$LDFLAGS"
25484 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
25485 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
25486 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
25487 + # The linker can only warn and ignore the option if not recognized
25488 + # So say no if there are warnings
25489 + if test -s conftest.err; then
25490 + # Append any errors to the config.log.
25491 + cat conftest.err 1>&5
25492 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
25493 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
25494 + if diff conftest.exp conftest.er2 >/dev/null; then
25495 + lt_cv_prog_compiler_static_works_GCJ=yes
25498 + lt_cv_prog_compiler_static_works_GCJ=yes
25502 + LDFLAGS="$save_LDFLAGS"
25505 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
25506 +$as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
25508 +if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
25511 + lt_prog_compiler_static_GCJ=
25515 +{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
25516 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
25517 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
25518 - echo $ECHO_N "(cached) $ECHO_C" >&6
25519 + $as_echo_n "(cached) " >&6
25521 lt_cv_prog_compiler_c_o_GCJ=no
25522 $rm -r conftest 2>/dev/null
25526 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
25527 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25529 lt_compiler_flag="-o out/conftest2.$ac_objext"
25530 # Insert the option either (1) after the last *FLAGS variable, or
25531 @@ -15863,23 +17294,25 @@ else
25532 # Note that $ac_compile itself does not contain backslashes and begins
25533 # with a dollar sign (not a hyphen), so the echo should work correctly.
25534 lt_compile=`echo "$ac_compile" | $SED \
25535 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
25536 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
25537 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25538 -e 's:$: $lt_compiler_flag:'`
25539 - (eval echo "\"\$as_me:15869: $lt_compile\"" >&5)
25540 + (eval echo "\"\$as_me:17300: $lt_compile\"" >&5)
25541 (eval "$lt_compile" 2>out/conftest.err)
25543 cat out/conftest.err >&5
25544 - echo "$as_me:15873: \$? = $ac_status" >&5
25545 + echo "$as_me:17304: \$? = $ac_status" >&5
25546 if (exit $ac_status) && test -s out/conftest2.$ac_objext
25548 # The compiler can only warn and ignore the option if not recognized
25549 # So say no if there are warnings
25550 - if test ! -s out/conftest.err; then
25551 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
25552 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
25553 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
25554 lt_cv_prog_compiler_c_o_GCJ=yes
25560 # SGI C++ compiler will create directory out/ii_files/ for
25561 # template instantiation
25562 @@ -15890,34 +17323,34 @@ else
25566 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
25567 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
25568 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
25569 +$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
25572 hard_links="nottested"
25573 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
25574 # do not overwrite the value of need_locks provided by the user
25575 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
25576 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
25577 + { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
25578 +$as_echo_n "checking if we can lock with hard links... " >&6; }
25581 ln conftest.a conftest.b 2>/dev/null && hard_links=no
25583 ln conftest.a conftest.b 2>&5 || hard_links=no
25584 ln conftest.a conftest.b 2>/dev/null && hard_links=no
25585 - echo "$as_me:$LINENO: result: $hard_links" >&5
25586 -echo "${ECHO_T}$hard_links" >&6
25587 + { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
25588 +$as_echo "$hard_links" >&6; }
25589 if test "$hard_links" = no; then
25590 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
25591 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
25592 + { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
25593 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
25600 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
25601 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
25602 +{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
25603 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
25606 allow_undefined_flag_GCJ=
25607 @@ -15948,13 +17381,24 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
25608 # it will be wrapped by ` (' and `)$', so one must not match beginning or
25609 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
25610 # as well as any symbol that contains `d'.
25611 - exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
25612 + exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
25613 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
25614 # platforms (ab)use it in PIC code, but their linkers get confused if
25615 # the symbol is explicitly referenced. Since portable code cannot
25616 # rely on this symbol name, it's probably fine to never include it in
25617 # preloaded symbol tables.
25618 + # Exclude shared library initialization/finalization symbols.
25619 extract_expsyms_cmds=
25620 + # Just being paranoid about ensuring that cc_basename is set.
25621 + for cc_temp in $compiler""; do
25623 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
25624 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
25629 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
25632 cygwin* | mingw* | pw32*)
25633 @@ -15965,6 +17409,10 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
25638 + # we just hope/assume this is gcc and not c89 (= MSVC++)
25644 @@ -15975,9 +17423,30 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
25645 # If archive_cmds runs LD, not CC, wlarc should be empty
25648 + # Set some defaults for GNU ld with shared library support. These
25649 + # are reset later if shared libraries are not supported. Putting them
25650 + # here allows them to be overridden if necessary.
25651 + runpath_var=LD_RUN_PATH
25652 + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
25653 + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
25654 + # ancient GNU ld didn't support --whole-archive et. al.
25655 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
25656 + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
25658 + whole_archive_flag_spec_GCJ=
25660 + supports_anon_versioning=no
25661 + case `$LD -v 2>/dev/null` in
25662 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
25663 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
25664 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
25665 + *\ 2.11.*) ;; # other 2.11 versions
25666 + *) supports_anon_versioning=yes ;;
25669 # See if GNU ld supports shared libraries.
25671 - aix3* | aix4* | aix5*)
25673 # On AIX/PPC, the GNU linker is very broken
25674 if test "$host_cpu" != ia64; then
25676 @@ -16025,10 +17494,10 @@ EOF
25677 allow_undefined_flag_GCJ=unsupported
25678 always_export_symbols_GCJ=no
25679 enable_shared_with_static_runtimes_GCJ=yes
25680 - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
25681 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
25683 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
25684 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
25685 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
25686 # If the export-symbols file already is a .def file (1st line
25687 # is EXPORTS), use it as is; otherwise, prepend...
25688 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
25689 @@ -16037,13 +17506,69 @@ EOF
25690 echo EXPORTS > $output_objdir/$soname.def;
25691 cat $export_symbols >> $output_objdir/$soname.def;
25693 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
25694 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
25702 + hardcode_direct_GCJ=no
25703 + hardcode_shlibpath_var_GCJ=no
25704 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
25705 + export_dynamic_flag_spec_GCJ='${wl}-E'
25706 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
25707 + # Instead, shared libraries are loaded at an image base (0x10000000 by
25708 + # default) and relocated if they conflict, which is a slow very memory
25709 + # consuming and fragmenting process. To avoid this, we pick a random,
25710 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
25711 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
25712 + 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'
25713 + 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'
25716 + gnu* | linux* | k*bsd*-gnu)
25717 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
25719 + case $cc_basename,$host_cpu in
25720 + pgcc*) # Portland Group C compiler
25721 + 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'
25722 + tmp_addflag=' $pic_flag'
25724 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
25725 + 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'
25726 + tmp_addflag=' $pic_flag -Mnomain' ;;
25727 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
25728 + tmp_addflag=' -i_dynamic' ;;
25729 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
25730 + tmp_addflag=' -i_dynamic -nofor_main' ;;
25731 + ifc* | ifort*) # Intel Fortran compiler
25732 + tmp_addflag=' -nofor_main' ;;
25734 + case `$CC -V 2>&1 | sed 5q` in
25735 + *Sun\ C*) # Sun C 5.9
25736 + 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'
25737 + tmp_sharedflag='-G' ;;
25738 + *Sun\ F*) # Sun Fortran 8.3
25739 + tmp_sharedflag='-G' ;;
25741 + tmp_sharedflag='-shared' ;;
25743 + archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25745 + if test $supports_anon_versioning = yes; then
25746 + archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
25747 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
25748 + $echo "local: *; };" >> $output_objdir/$libname.ver~
25749 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
25751 + link_all_deplibs_GCJ=no
25758 + netbsd* | netbsdelf*-gnu)
25759 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
25760 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
25762 @@ -16053,7 +17578,7 @@ EOF
25766 - solaris* | sysv5*)
25768 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
25771 @@ -16074,6 +17599,33 @@ EOF
25775 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
25776 + case `$LD -v 2>&1` in
25777 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
25779 + cat <<_LT_EOF 1>&2
25781 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
25782 +*** reliably create shared libraries on SCO systems. Therefore, libtool
25783 +*** is disabling shared libraries support. We urge you to upgrade GNU
25784 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
25785 +*** your PATH or compiler configuration so that the native linker is
25786 +*** used, and then restart.
25791 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
25792 + hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
25793 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
25794 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
25803 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25805 @@ -16081,31 +17633,6 @@ EOF
25806 hardcode_shlibpath_var_GCJ=no
25810 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
25811 - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25812 - archive_cmds_GCJ="$tmp_archive_cmds"
25813 - supports_anon_versioning=no
25814 - case `$LD -v 2>/dev/null` in
25815 - *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
25816 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
25817 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
25818 - *\ 2.11.*) ;; # other 2.11 versions
25819 - *) supports_anon_versioning=yes ;;
25821 - if test $supports_anon_versioning = yes; then
25822 - archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
25823 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
25824 -$echo "local: *; };" >> $output_objdir/$libname.ver~
25825 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
25827 - archive_expsym_cmds_GCJ="$tmp_archive_cmds"
25835 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
25836 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25837 @@ -16116,16 +17643,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
25841 - if test "$ld_shlibs_GCJ" = yes; then
25842 - runpath_var=LD_RUN_PATH
25843 - hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
25844 - export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
25845 - # ancient GNU ld didn't support --whole-archive et. al.
25846 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
25847 - whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
25849 - whole_archive_flag_spec_GCJ=
25851 + if test "$ld_shlibs_GCJ" = no; then
25853 + hardcode_libdir_flag_spec_GCJ=
25854 + export_dynamic_flag_spec_GCJ=
25855 + whole_archive_flag_spec_GCJ=
25858 # PORTME fill in a description of your system's linker (not GNU ld)
25859 @@ -16137,14 +17659,14 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
25860 # Note: this linker hardcodes the directories in LIBPATH if there
25861 # are no directories specified by -L.
25862 hardcode_minus_L_GCJ=yes
25863 - if test "$GCC" = yes && test -z "$link_static_flag"; then
25864 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
25865 # Neither direct hardcoding nor static linking is supported with a
25867 hardcode_direct_GCJ=unsupported
25873 if test "$host_cpu" = ia64; then
25874 # On IA64, the linker does run time linking by default, so we don't
25875 # have to do anything special.
25876 @@ -16164,13 +17686,14 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
25877 # Test if we are trying to use run time linking or normal
25878 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
25879 # need to do runtime linking.
25880 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
25881 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
25882 for ld_flag in $LDFLAGS; do
25883 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
25884 aix_use_runtimelinking=yes
25891 exp_sym_flag='-bexport'
25892 @@ -16189,7 +17712,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
25893 link_all_deplibs_GCJ=yes
25895 if test "$GCC" = yes; then
25896 - case $host_os in aix4.012|aix4.012.*)
25897 + case $host_os in aix4.[012]|aix4.[012].*)
25898 # We only want to do this on AIX 4.2 and lower, the check
25899 # below for broken collect2 doesn't work under 4.3+
25900 collect2name=`${CC} -print-prog-name=collect2`
25901 @@ -16197,7 +17720,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
25902 strings "$collect2name" | grep resolve_lib_name >/dev/null
25904 # We have reworked collect2
25905 - hardcode_direct_GCJ=yes
25908 # We have old collect2
25909 hardcode_direct_GCJ=unsupported
25910 @@ -16208,8 +17731,12 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
25911 hardcode_libdir_flag_spec_GCJ='-L$libdir'
25912 hardcode_libdir_separator_GCJ=
25916 shared_flag='-shared'
25917 + if test "$aix_use_runtimelinking" = yes; then
25918 + shared_flag="$shared_flag "'${wl}-G'
25922 if test "$host_cpu" = ia64; then
25923 @@ -16217,11 +17744,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
25924 # chokes on -Wl,-G. The following line is correct:
25927 - if test "$aix_use_runtimelinking" = yes; then
25928 + if test "$aix_use_runtimelinking" = yes; then
25929 shared_flag='${wl}-G'
25931 shared_flag='${wl}-bM:SRE'
25937 @@ -16249,49 +17776,58 @@ main ()
25940 rm -f conftest.$ac_objext conftest$ac_exeext
25941 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25942 - (eval $ac_link) 2>conftest.er1
25943 +if { (ac_try="$ac_link"
25944 +case "(($ac_try" in
25945 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25946 + *) ac_try_echo=$ac_try;;
25948 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25949 +$as_echo "$ac_try_echo") >&5
25950 + (eval "$ac_link") 2>conftest.er1
25952 grep -v '^ *+' conftest.er1 >conftest.err
25954 cat conftest.err >&5
25955 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
25956 - (exit $ac_status); } &&
25957 - { ac_try='test -z "$ac_c_werror_flag"
25958 - || test ! -s conftest.err'
25959 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25960 - (eval $ac_try) 2>&5
25962 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
25963 - (exit $ac_status); }; } &&
25964 - { ac_try='test -s conftest$ac_exeext'
25965 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25966 - (eval $ac_try) 2>&5
25968 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
25969 - (exit $ac_status); }; }; then
25971 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
25973 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25974 + (exit $ac_status); } && {
25975 + test -z "$ac_c_werror_flag" ||
25976 + test ! -s conftest.err
25977 + } && test -s conftest$ac_exeext && {
25978 + test "$cross_compiling" = yes ||
25979 + $as_test_x conftest$ac_exeext
25982 +lt_aix_libpath_sed='
25983 + /Import File Strings/,/^$/ {
25985 + s/^0 *\(.*\)$/\1/
25989 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
25990 # Check for a 64-bit object if we didn't find anything.
25991 -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; }
25993 +if test -z "$aix_libpath"; then
25994 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
25997 - echo "$as_me: failed program was:" >&5
25998 + $as_echo "$as_me: failed program was:" >&5
25999 sed 's/^/| /' conftest.$ac_ext >&5
26003 -rm -f conftest.err conftest.$ac_objext \
26005 +rm -rf conftest.dSYM
26006 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26007 conftest$ac_exeext conftest.$ac_ext
26008 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26010 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
26011 - 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"
26012 + 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"
26014 if test "$host_cpu" = ia64; then
26015 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
26016 allow_undefined_flag_GCJ="-z nodefs"
26017 - 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"
26018 + 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"
26020 # Determine the default libpath from the value encoded in an empty executable.
26021 cat >conftest.$ac_ext <<_ACEOF
26022 @@ -16310,39 +17846,48 @@ main ()
26025 rm -f conftest.$ac_objext conftest$ac_exeext
26026 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26027 - (eval $ac_link) 2>conftest.er1
26028 +if { (ac_try="$ac_link"
26029 +case "(($ac_try" in
26030 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26031 + *) ac_try_echo=$ac_try;;
26033 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26034 +$as_echo "$ac_try_echo") >&5
26035 + (eval "$ac_link") 2>conftest.er1
26037 grep -v '^ *+' conftest.er1 >conftest.err
26039 cat conftest.err >&5
26040 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26041 - (exit $ac_status); } &&
26042 - { ac_try='test -z "$ac_c_werror_flag"
26043 - || test ! -s conftest.err'
26044 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26045 - (eval $ac_try) 2>&5
26047 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048 - (exit $ac_status); }; } &&
26049 - { ac_try='test -s conftest$ac_exeext'
26050 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26051 - (eval $ac_try) 2>&5
26053 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 - (exit $ac_status); }; }; then
26056 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
26058 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26059 + (exit $ac_status); } && {
26060 + test -z "$ac_c_werror_flag" ||
26061 + test ! -s conftest.err
26062 + } && test -s conftest$ac_exeext && {
26063 + test "$cross_compiling" = yes ||
26064 + $as_test_x conftest$ac_exeext
26067 +lt_aix_libpath_sed='
26068 + /Import File Strings/,/^$/ {
26070 + s/^0 *\(.*\)$/\1/
26074 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
26075 # Check for a 64-bit object if we didn't find anything.
26076 -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; }
26078 +if test -z "$aix_libpath"; then
26079 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
26082 - echo "$as_me: failed program was:" >&5
26083 + $as_echo "$as_me: failed program was:" >&5
26084 sed 's/^/| /' conftest.$ac_ext >&5
26088 -rm -f conftest.err conftest.$ac_objext \
26090 +rm -rf conftest.dSYM
26091 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26092 conftest$ac_exeext conftest.$ac_ext
26093 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26095 @@ -16351,13 +17896,11 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26096 # -berok will link without error, but may produce a broken library.
26097 no_undefined_flag_GCJ=' ${wl}-bernotok'
26098 allow_undefined_flag_GCJ=' ${wl}-berok'
26099 - # -bexpall does not export symbols beginning with underscore (_)
26100 - always_export_symbols_GCJ=yes
26101 # Exported symbols can be pulled into shared objects from archives
26102 - whole_archive_flag_spec_GCJ=' '
26103 + whole_archive_flag_spec_GCJ='$convenience'
26104 archive_cmds_need_lc_GCJ=yes
26105 - # This is similar to how AIX traditionally builds it's shared libraries.
26106 - 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'
26107 + # This is similar to how AIX traditionally builds its shared libraries.
26108 + 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'
26112 @@ -16370,7 +17913,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26118 export_dynamic_flag_spec_GCJ=-rdynamic
26121 @@ -16390,58 +17933,57 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26122 # The linker will automatically build a .lib file if we build a DLL.
26123 old_archive_From_new_cmds_GCJ='true'
26124 # FIXME: Should let the user specify the lib program.
26125 - old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
26126 - fix_srcfile_path='`cygpath -w "$srcfile"`'
26127 + old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
26128 + fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
26129 enable_shared_with_static_runtimes_GCJ=yes
26132 darwin* | rhapsody*)
26133 - if test "$GXX" = yes ; then
26134 - archive_cmds_need_lc_GCJ=no
26135 - case "$host_os" in
26136 - rhapsody* | darwin1.[012])
26137 - allow_undefined_flag_GCJ='-undefined suppress'
26139 - *) # Darwin 1.3 on
26140 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
26141 - allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
26143 - case ${MACOSX_DEPLOYMENT_TARGET} in
26145 - allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
26148 - allow_undefined_flag_GCJ='-undefined dynamic_lookup'
26154 + rhapsody* | darwin1.[012])
26155 + allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
26157 + *) # Darwin 1.3 on
26158 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
26159 + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
26161 + case ${MACOSX_DEPLOYMENT_TARGET} in
26163 + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
26166 + allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
26172 - lt_int_apple_cc_single_mod=no
26173 - output_verbose_link_cmd='echo'
26174 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
26175 - lt_int_apple_cc_single_mod=yes
26177 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
26178 - archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
26180 - 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'
26182 - module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
26183 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
26184 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
26185 - 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}'
26187 - 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}'
26189 - 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}'
26190 + archive_cmds_need_lc_GCJ=no
26191 hardcode_direct_GCJ=no
26192 hardcode_automatic_GCJ=yes
26193 hardcode_shlibpath_var_GCJ=unsupported
26194 - whole_archive_flag_spec_GCJ='-all_load $convenience'
26195 + whole_archive_flag_spec_GCJ=''
26196 link_all_deplibs_GCJ=yes
26197 + if test "$GCC" = yes ; then
26198 + output_verbose_link_cmd='echo'
26199 + 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}"
26200 + module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
26201 + 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}"
26202 + 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}"
26205 + case $cc_basename in
26207 + output_verbose_link_cmd='echo'
26208 + archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
26209 + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
26210 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
26211 + 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}'
26212 + 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}'
26221 @@ -16475,7 +18017,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26224 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
26225 - freebsd* | kfreebsd*-gnu)
26226 + freebsd* | dragonfly*)
26227 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
26228 hardcode_libdir_flag_spec_GCJ='-R$libdir'
26229 hardcode_direct_GCJ=yes
26230 @@ -16498,47 +18040,62 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26231 export_dynamic_flag_spec_GCJ='${wl}-E'
26234 - hpux10* | hpux11*)
26236 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
26237 - case "$host_cpu" in
26239 + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
26241 + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
26243 + if test "$with_gnu_ld" = no; then
26244 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
26245 + hardcode_libdir_separator_GCJ=:
26247 + hardcode_direct_GCJ=yes
26248 + export_dynamic_flag_spec_GCJ='${wl}-E'
26250 + # hardcode_minus_L: Not really in the search PATH,
26251 + # but as the default location of the library.
26252 + hardcode_minus_L_GCJ=yes
26257 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
26258 + case $host_cpu in
26260 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
26263 + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
26266 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
26270 - case "$host_cpu" in
26272 - archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
26273 + case $host_cpu in
26275 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
26278 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
26281 - archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
26282 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
26286 if test "$with_gnu_ld" = no; then
26287 - case "$host_cpu" in
26289 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
26290 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
26291 + hardcode_libdir_separator_GCJ=:
26293 + case $host_cpu in
26295 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
26296 - hardcode_libdir_separator_GCJ=:
26297 - hardcode_direct_GCJ=no
26298 - hardcode_shlibpath_var_GCJ=no
26301 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
26302 hardcode_direct_GCJ=no
26303 hardcode_shlibpath_var_GCJ=no
26305 - # hardcode_minus_L: Not really in the search PATH,
26306 - # but as the default location of the library.
26307 - hardcode_minus_L_GCJ=yes
26310 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
26311 - hardcode_libdir_separator_GCJ=:
26312 hardcode_direct_GCJ=yes
26313 export_dynamic_flag_spec_GCJ='${wl}-E'
26315 @@ -16562,7 +18119,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26316 link_all_deplibs_GCJ=yes
26320 + netbsd* | netbsdelf*-gnu)
26321 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
26322 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
26324 @@ -16582,23 +18139,28 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26328 - hardcode_direct_GCJ=yes
26329 - hardcode_shlibpath_var_GCJ=no
26330 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
26331 - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26332 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
26333 - export_dynamic_flag_spec_GCJ='${wl}-E'
26334 + if test -f /usr/libexec/ld.so; then
26335 + hardcode_direct_GCJ=yes
26336 + hardcode_shlibpath_var_GCJ=no
26337 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
26338 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26339 + archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
26340 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
26341 + export_dynamic_flag_spec_GCJ='${wl}-E'
26344 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
26345 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
26346 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
26349 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26350 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
26356 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
26357 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
26358 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
26361 - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26362 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
26369 @@ -16631,7 +18193,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26370 allow_undefined_flag_GCJ=' -expect_unresolved \*'
26371 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'
26372 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~
26373 - $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'
26374 + $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'
26376 # Both c and cxx compiler support -rpath directly
26377 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
26378 @@ -16639,21 +18201,15 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26379 hardcode_libdir_separator_GCJ=:
26383 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26384 - hardcode_shlibpath_var_GCJ=no
26385 - export_dynamic_flag_spec_GCJ='${wl}-Bexport'
26386 - runpath_var=LD_RUN_PATH
26387 - hardcode_runpath_var=yes
26391 no_undefined_flag_GCJ=' -z text'
26392 if test "$GCC" = yes; then
26394 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
26395 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
26396 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
26399 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
26400 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
26401 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
26402 @@ -16662,8 +18218,17 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26403 hardcode_shlibpath_var_GCJ=no
26405 solaris2.[0-5] | solaris2.[0-5].*) ;;
26406 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
26407 - whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
26409 + # The compiler driver will combine and reorder linker options,
26410 + # but understands `-z linker_flag'. GCC discards it without `$wl',
26411 + # but is careful enough not to reorder.
26412 + # Supported since Solaris 2.6 (maybe 2.5.1?)
26413 + if test "$GCC" = yes; then
26414 + whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
26416 + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
26420 link_all_deplibs_GCJ=yes
26422 @@ -16720,36 +18285,45 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26427 - archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
26428 - hardcode_direct_GCJ=yes
26429 - hardcode_minus_L_GCJ=no
26430 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
26431 + no_undefined_flag_GCJ='${wl}-z,text'
26432 + archive_cmds_need_lc_GCJ=no
26433 hardcode_shlibpath_var_GCJ=no
26434 - hardcode_runpath_var=yes
26435 - runpath_var=LD_RUN_PATH
26437 + runpath_var='LD_RUN_PATH'
26439 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
26440 - no_undefined_flag_GCJ='${wl}-z ${wl}text'
26441 if test "$GCC" = yes; then
26442 - archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
26443 + archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26444 + archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26446 - archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
26447 + archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26448 + archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26450 - runpath_var='LD_RUN_PATH'
26451 - hardcode_shlibpath_var_GCJ=no
26455 - no_undefined_flag_GCJ=' -z text'
26456 - # $CC -shared without GNU ld will not create a library from C++
26457 - # object files and a static libstdc++, better avoid it by now
26458 - archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
26459 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
26460 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
26461 - hardcode_libdir_flag_spec_GCJ=
26462 + sysv5* | sco3.2v5* | sco5v6*)
26463 + # Note: We can NOT use -z defs as we might desire, because we do not
26464 + # link with -lc, and that would cause any symbols used from libc to
26465 + # always be unresolved, which means just about no library would
26466 + # ever link correctly. If we're not using GNU ld we use -z text
26467 + # though, which does catch some bad symbols but isn't as heavy-handed
26469 + no_undefined_flag_GCJ='${wl}-z,text'
26470 + allow_undefined_flag_GCJ='${wl}-z,nodefs'
26471 + archive_cmds_need_lc_GCJ=no
26472 hardcode_shlibpath_var_GCJ=no
26473 + hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
26474 + hardcode_libdir_separator_GCJ=':'
26475 + link_all_deplibs_GCJ=yes
26476 + export_dynamic_flag_spec_GCJ='${wl}-Bexport'
26477 runpath_var='LD_RUN_PATH'
26479 + if test "$GCC" = yes; then
26480 + archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
26481 + archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
26483 + archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
26484 + archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
26489 @@ -16764,15 +18338,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26493 -echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
26494 -echo "${ECHO_T}$ld_shlibs_GCJ" >&6
26495 +{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
26496 +$as_echo "$ld_shlibs_GCJ" >&6; }
26497 test "$ld_shlibs_GCJ" = no && can_build_shared=no
26499 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
26500 -if test "$GCC" = yes; then
26501 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
26505 # Do we need to explicitly link libc?
26507 @@ -16790,21 +18359,22 @@ x|xyes)
26508 # Test whether the compiler implicitly links with -lc since on some
26509 # systems, -lgcc has to come before -lc. If gcc already passes -lc
26510 # to ld, don't add -lc before -lgcc.
26511 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
26512 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
26513 + { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
26514 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
26516 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
26517 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
26519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26520 (eval $ac_compile) 2>&5
26522 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26523 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26524 (exit $ac_status); } 2>conftest.err; then
26527 libobjs=conftest.$ac_objext
26529 wl=$lt_prog_compiler_wl_GCJ
26530 + pic_flag=$lt_prog_compiler_pic_GCJ
26534 @@ -16815,7 +18385,7 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
26535 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
26536 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
26538 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26539 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26540 (exit $ac_status); }
26542 archive_cmds_need_lc_GCJ=no
26543 @@ -16827,16 +18397,16 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
26544 cat conftest.err 1>&5
26547 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
26548 -echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
26549 + { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
26550 +$as_echo "$archive_cmds_need_lc_GCJ" >&6; }
26557 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
26558 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
26559 +{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
26560 +$as_echo_n "checking dynamic linker characteristics... " >&6; }
26561 library_names_spec=
26562 libname_spec='lib$name'
26564 @@ -16850,20 +18420,7 @@ shlibpath_overrides_runpath=unknown
26566 dynamic_linker="$host_os ld.so"
26567 sys_lib_dlsearch_path_spec="/lib /usr/lib"
26568 -if test "$GCC" = yes; then
26569 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
26570 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
26571 - # if the path contains ";" then we assume it to be the separator
26572 - # otherwise default to the standard path separator (i.e. ":") - it is
26573 - # assumed that no part of a normal pathname contains ";" but that should
26574 - # okay in the real world where ";" in dirpaths is itself problematic.
26575 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
26577 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
26580 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
26583 need_lib_prefix=unknown
26584 hardcode_into_libs=no
26586 @@ -16881,7 +18438,7 @@ aix3*)
26587 soname_spec='${libname}${release}${shared_ext}$major'
26595 @@ -16937,7 +18494,7 @@ beos*)
26596 shlibpath_var=LIBRARY_PATH
26603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26604 @@ -16965,7 +18522,8 @@ cygwin* | mingw* | pw32*)
26605 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
26606 dldir=$destdir/`dirname \$dlpath`~
26607 test -d \$dldir || mkdir -p \$dldir~
26608 - $install_prog $dir/$dlname \$dldir/$dlname'
26609 + $install_prog $dir/$dlname \$dldir/$dlname~
26610 + chmod a+x \$dldir/$dlname'
26611 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
26612 dlpath=$dir/\$dldll~
26614 @@ -16995,7 +18553,7 @@ cygwin* | mingw* | pw32*)
26617 # pw32 DLLs use 'pw' prefix rather than 'lib'
26618 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
26619 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
26623 @@ -17018,13 +18576,8 @@ darwin* | rhapsody*)
26624 soname_spec='${libname}${release}${major}$shared_ext'
26625 shlibpath_overrides_runpath=yes
26626 shlibpath_var=DYLD_LIBRARY_PATH
26627 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
26628 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
26629 - if test "$GCC" = yes; then
26630 - 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"`
26632 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
26634 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
26636 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
26639 @@ -17041,20 +18594,17 @@ freebsd1*)
26644 - version_type=linux
26645 - need_lib_prefix=no
26647 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26648 - soname_spec='${libname}${release}${shared_ext}$major'
26649 - shlibpath_var=LD_LIBRARY_PATH
26650 - shlibpath_overrides_runpath=no
26651 - hardcode_into_libs=yes
26652 - dynamic_linker='GNU ld.so'
26656 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
26657 +freebsd* | dragonfly*)
26658 + # DragonFly does not have aout. When/if they implement a new
26659 + # versioning mechanism, adjust this.
26660 + if test -x /usr/bin/objformat; then
26661 + objformat=`/usr/bin/objformat`
26664 + freebsd[123]*) objformat=aout ;;
26665 + *) objformat=elf ;;
26668 version_type=freebsd-$objformat
26669 case $version_type in
26671 @@ -17072,14 +18622,19 @@ freebsd*)
26673 shlibpath_overrides_runpath=yes
26675 - freebsd3.01* | freebsdelf3.01*)
26676 + freebsd3.[01]* | freebsdelf3.[01]*)
26677 shlibpath_overrides_runpath=yes
26678 hardcode_into_libs=yes
26681 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
26682 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
26683 shlibpath_overrides_runpath=no
26684 hardcode_into_libs=yes
26686 + *) # from 4.6 on, and DragonFly
26687 + shlibpath_overrides_runpath=yes
26688 + hardcode_into_libs=yes
26693 @@ -17099,7 +18654,7 @@ hpux9* | hpux10* | hpux11*)
26697 - case "$host_cpu" in
26698 + case $host_cpu in
26701 hardcode_into_libs=yes
26702 @@ -17139,6 +18694,18 @@ hpux9* | hpux10* | hpux11*)
26703 postinstall_cmds='chmod 555 $lib'
26707 + version_type=linux
26708 + need_lib_prefix=no
26710 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26711 + soname_spec='${libname}${release}${shared_ext}$major'
26712 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
26713 + shlibpath_var=LD_LIBRARY_PATH
26714 + shlibpath_overrides_runpath=no
26715 + hardcode_into_libs=yes
26718 irix5* | irix6* | nonstopux*)
26720 nonstopux*) version_type=nonstopux ;;
26721 @@ -17182,7 +18749,7 @@ linux*oldld* | linux*aout* | linux*coff*)
26724 # This must be Linux ELF.
26726 +linux* | k*bsd*-gnu)
26730 @@ -17196,31 +18763,10 @@ linux*)
26731 # before this can be enabled.
26732 hardcode_into_libs=yes
26734 - # find out which ABI we are using
26736 - case "$host_cpu" in
26737 - x86_64*|s390x*|powerpc64*)
26738 - echo '#line 17203 "configure"' > conftest.$ac_ext
26739 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26740 - (eval $ac_compile) 2>&5
26742 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26743 - (exit $ac_status); }; then
26744 - case `/usr/bin/file conftest.$ac_objext` in
26747 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
26755 # Append ld.so.conf contents to the search path
26756 if test -f /etc/ld.so.conf; then
26757 - lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
26758 - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
26759 + 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' ' '`
26760 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
26763 # We used to test for /lib/ld.so.1 and disable shared libraries on
26764 @@ -17232,7 +18778,7 @@ linux*)
26765 dynamic_linker='GNU/Linux ld.so'
26773 @@ -17241,7 +18787,7 @@ knetbsd*-gnu)
26774 shlibpath_var=LD_LIBRARY_PATH
26775 shlibpath_overrides_runpath=no
26776 hardcode_into_libs=yes
26777 - dynamic_linker='GNU ld.so'
26778 + dynamic_linker='NetBSD ld.elf_so'
26782 @@ -17281,8 +18827,13 @@ nto-qnx*)
26786 + sys_lib_dlsearch_path_spec="/usr/lib"
26789 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
26791 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
26792 + *) need_version=no ;;
26794 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26795 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
26796 shlibpath_var=LD_LIBRARY_PATH
26797 @@ -17320,11 +18871,8 @@ osf3* | osf4* | osf5*)
26798 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
26803 - soname_spec='${libname}${release}${shared_ext}$major'
26804 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26805 - shlibpath_var=LD_LIBRARY_PATH
26807 + dynamic_linker=no
26811 @@ -17352,7 +18900,7 @@ sunos4*)
26815 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
26818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26819 soname_spec='${libname}${release}${shared_ext}$major'
26820 @@ -17385,6 +18933,29 @@ sysv4*MP*)
26824 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
26825 + version_type=freebsd-elf
26826 + need_lib_prefix=no
26828 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
26829 + soname_spec='${libname}${release}${shared_ext}$major'
26830 + shlibpath_var=LD_LIBRARY_PATH
26831 + hardcode_into_libs=yes
26832 + if test "$with_gnu_ld" = yes; then
26833 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
26834 + shlibpath_overrides_runpath=no
26836 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
26837 + shlibpath_overrides_runpath=yes
26840 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
26844 + sys_lib_dlsearch_path_spec='/usr/lib'
26849 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26850 @@ -17396,16 +18967,36 @@ uts4*)
26854 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
26855 -echo "${ECHO_T}$dynamic_linker" >&6
26856 +{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
26857 +$as_echo "$dynamic_linker" >&6; }
26858 test "$dynamic_linker" = no && can_build_shared=no
26860 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
26861 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
26862 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
26863 + $as_echo_n "(cached) " >&6
26865 + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
26868 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
26869 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
26870 + $as_echo_n "(cached) " >&6
26872 + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
26875 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
26877 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
26878 +if test "$GCC" = yes; then
26879 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
26882 +{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
26883 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
26884 hardcode_action_GCJ=
26885 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
26886 - test -n "$runpath_var GCJ" || \
26887 - test "X$hardcode_automatic_GCJ"="Xyes" ; then
26888 + test -n "$runpath_var_GCJ" || \
26889 + test "X$hardcode_automatic_GCJ" = "Xyes" ; then
26891 # We can hardcode non-existant directories.
26892 if test "$hardcode_direct_GCJ" != no &&
26893 @@ -17425,8 +19016,8 @@ else
26895 hardcode_action_GCJ=unsupported
26897 -echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
26898 -echo "${ECHO_T}$hardcode_action_GCJ" >&6
26899 +{ $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
26900 +$as_echo "$hardcode_action_GCJ" >&6; }
26902 if test "$hardcode_action_GCJ" = relink; then
26903 # Fast installation is not supported
26904 @@ -17437,841 +19028,6 @@ elif test "$shlibpath_overrides_runpath" = yes ||
26905 enable_fast_install=needless
26910 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
26911 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
26912 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
26913 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
26914 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
26915 - echo "$as_me:$LINENO: result: yes" >&5
26916 -echo "${ECHO_T}yes" >&6
26918 -# FIXME - insert some real tests, host_os isn't really good enough
26921 - if test -n "$STRIP" ; then
26922 - striplib="$STRIP -x"
26923 - echo "$as_me:$LINENO: result: yes" >&5
26924 -echo "${ECHO_T}yes" >&6
26926 - echo "$as_me:$LINENO: result: no" >&5
26927 -echo "${ECHO_T}no" >&6
26931 - echo "$as_me:$LINENO: result: no" >&5
26932 -echo "${ECHO_T}no" >&6
26937 -if test "x$enable_dlopen" != xyes; then
26938 - enable_dlopen=unknown
26939 - enable_dlopen_self=unknown
26940 - enable_dlopen_self_static=unknown
26943 - lt_cv_dlopen_libs=
26947 - lt_cv_dlopen="load_add_on"
26948 - lt_cv_dlopen_libs=
26949 - lt_cv_dlopen_self=yes
26953 - lt_cv_dlopen="LoadLibrary"
26954 - lt_cv_dlopen_libs=
26958 - lt_cv_dlopen="dlopen"
26959 - lt_cv_dlopen_libs=
26963 - # if libdl is installed we need to link against it
26964 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
26965 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
26966 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
26967 - echo $ECHO_N "(cached) $ECHO_C" >&6
26969 - ac_check_lib_save_LIBS=$LIBS
26971 -cat >conftest.$ac_ext <<_ACEOF
26974 -cat confdefs.h >>conftest.$ac_ext
26975 -cat >>conftest.$ac_ext <<_ACEOF
26976 -/* end confdefs.h. */
26978 -/* Override any gcc2 internal prototype to avoid an error. */
26979 -#ifdef __cplusplus
26982 -/* We use char because int might match the return type of a gcc2
26983 - builtin and then its argument prototype would still apply. */
26993 -rm -f conftest.$ac_objext conftest$ac_exeext
26994 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26995 - (eval $ac_link) 2>conftest.er1
26997 - grep -v '^ *+' conftest.er1 >conftest.err
26998 - rm -f conftest.er1
26999 - cat conftest.err >&5
27000 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27001 - (exit $ac_status); } &&
27002 - { ac_try='test -z "$ac_c_werror_flag"
27003 - || test ! -s conftest.err'
27004 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27005 - (eval $ac_try) 2>&5
27007 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27008 - (exit $ac_status); }; } &&
27009 - { ac_try='test -s conftest$ac_exeext'
27010 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27011 - (eval $ac_try) 2>&5
27013 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27014 - (exit $ac_status); }; }; then
27015 - ac_cv_lib_dl_dlopen=yes
27017 - echo "$as_me: failed program was:" >&5
27018 -sed 's/^/| /' conftest.$ac_ext >&5
27020 -ac_cv_lib_dl_dlopen=no
27022 -rm -f conftest.err conftest.$ac_objext \
27023 - conftest$ac_exeext conftest.$ac_ext
27024 -LIBS=$ac_check_lib_save_LIBS
27026 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
27027 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
27028 -if test $ac_cv_lib_dl_dlopen = yes; then
27029 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
27032 - lt_cv_dlopen="dyld"
27033 - lt_cv_dlopen_libs=
27034 - lt_cv_dlopen_self=yes
27041 - echo "$as_me:$LINENO: checking for shl_load" >&5
27042 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
27043 -if test "${ac_cv_func_shl_load+set}" = set; then
27044 - echo $ECHO_N "(cached) $ECHO_C" >&6
27046 - cat >conftest.$ac_ext <<_ACEOF
27049 -cat confdefs.h >>conftest.$ac_ext
27050 -cat >>conftest.$ac_ext <<_ACEOF
27051 -/* end confdefs.h. */
27052 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
27053 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
27054 -#define shl_load innocuous_shl_load
27056 -/* System header to define __stub macros and hopefully few prototypes,
27057 - which can conflict with char shl_load (); below.
27058 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27059 - <limits.h> exists even on freestanding compilers. */
27062 -# include <limits.h>
27064 -# include <assert.h>
27069 -/* Override any gcc2 internal prototype to avoid an error. */
27070 -#ifdef __cplusplus
27074 -/* We use char because int might match the return type of a gcc2
27075 - builtin and then its argument prototype would still apply. */
27077 -/* The GNU C library defines this for functions which it implements
27078 - to always fail with ENOSYS. Some functions are actually named
27079 - something starting with __ and the normal name is an alias. */
27080 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
27083 -char (*f) () = shl_load;
27085 -#ifdef __cplusplus
27092 -return f != shl_load;
27097 -rm -f conftest.$ac_objext conftest$ac_exeext
27098 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27099 - (eval $ac_link) 2>conftest.er1
27101 - grep -v '^ *+' conftest.er1 >conftest.err
27102 - rm -f conftest.er1
27103 - cat conftest.err >&5
27104 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27105 - (exit $ac_status); } &&
27106 - { ac_try='test -z "$ac_c_werror_flag"
27107 - || test ! -s conftest.err'
27108 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27109 - (eval $ac_try) 2>&5
27111 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27112 - (exit $ac_status); }; } &&
27113 - { ac_try='test -s conftest$ac_exeext'
27114 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27115 - (eval $ac_try) 2>&5
27117 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27118 - (exit $ac_status); }; }; then
27119 - ac_cv_func_shl_load=yes
27121 - echo "$as_me: failed program was:" >&5
27122 -sed 's/^/| /' conftest.$ac_ext >&5
27124 -ac_cv_func_shl_load=no
27126 -rm -f conftest.err conftest.$ac_objext \
27127 - conftest$ac_exeext conftest.$ac_ext
27129 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
27130 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
27131 -if test $ac_cv_func_shl_load = yes; then
27132 - lt_cv_dlopen="shl_load"
27134 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
27135 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
27136 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
27137 - echo $ECHO_N "(cached) $ECHO_C" >&6
27139 - ac_check_lib_save_LIBS=$LIBS
27140 -LIBS="-ldld $LIBS"
27141 -cat >conftest.$ac_ext <<_ACEOF
27144 -cat confdefs.h >>conftest.$ac_ext
27145 -cat >>conftest.$ac_ext <<_ACEOF
27146 -/* end confdefs.h. */
27148 -/* Override any gcc2 internal prototype to avoid an error. */
27149 -#ifdef __cplusplus
27152 -/* We use char because int might match the return type of a gcc2
27153 - builtin and then its argument prototype would still apply. */
27163 -rm -f conftest.$ac_objext conftest$ac_exeext
27164 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27165 - (eval $ac_link) 2>conftest.er1
27167 - grep -v '^ *+' conftest.er1 >conftest.err
27168 - rm -f conftest.er1
27169 - cat conftest.err >&5
27170 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27171 - (exit $ac_status); } &&
27172 - { ac_try='test -z "$ac_c_werror_flag"
27173 - || test ! -s conftest.err'
27174 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27175 - (eval $ac_try) 2>&5
27177 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27178 - (exit $ac_status); }; } &&
27179 - { ac_try='test -s conftest$ac_exeext'
27180 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27181 - (eval $ac_try) 2>&5
27183 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27184 - (exit $ac_status); }; }; then
27185 - ac_cv_lib_dld_shl_load=yes
27187 - echo "$as_me: failed program was:" >&5
27188 -sed 's/^/| /' conftest.$ac_ext >&5
27190 -ac_cv_lib_dld_shl_load=no
27192 -rm -f conftest.err conftest.$ac_objext \
27193 - conftest$ac_exeext conftest.$ac_ext
27194 -LIBS=$ac_check_lib_save_LIBS
27196 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
27197 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
27198 -if test $ac_cv_lib_dld_shl_load = yes; then
27199 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
27201 - echo "$as_me:$LINENO: checking for dlopen" >&5
27202 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
27203 -if test "${ac_cv_func_dlopen+set}" = set; then
27204 - echo $ECHO_N "(cached) $ECHO_C" >&6
27206 - cat >conftest.$ac_ext <<_ACEOF
27209 -cat confdefs.h >>conftest.$ac_ext
27210 -cat >>conftest.$ac_ext <<_ACEOF
27211 -/* end confdefs.h. */
27212 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
27213 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
27214 -#define dlopen innocuous_dlopen
27216 -/* System header to define __stub macros and hopefully few prototypes,
27217 - which can conflict with char dlopen (); below.
27218 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27219 - <limits.h> exists even on freestanding compilers. */
27222 -# include <limits.h>
27224 -# include <assert.h>
27229 -/* Override any gcc2 internal prototype to avoid an error. */
27230 -#ifdef __cplusplus
27234 -/* We use char because int might match the return type of a gcc2
27235 - builtin and then its argument prototype would still apply. */
27237 -/* The GNU C library defines this for functions which it implements
27238 - to always fail with ENOSYS. Some functions are actually named
27239 - something starting with __ and the normal name is an alias. */
27240 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
27243 -char (*f) () = dlopen;
27245 -#ifdef __cplusplus
27252 -return f != dlopen;
27257 -rm -f conftest.$ac_objext conftest$ac_exeext
27258 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27259 - (eval $ac_link) 2>conftest.er1
27261 - grep -v '^ *+' conftest.er1 >conftest.err
27262 - rm -f conftest.er1
27263 - cat conftest.err >&5
27264 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 - (exit $ac_status); } &&
27266 - { ac_try='test -z "$ac_c_werror_flag"
27267 - || test ! -s conftest.err'
27268 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27269 - (eval $ac_try) 2>&5
27271 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27272 - (exit $ac_status); }; } &&
27273 - { ac_try='test -s conftest$ac_exeext'
27274 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27275 - (eval $ac_try) 2>&5
27277 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27278 - (exit $ac_status); }; }; then
27279 - ac_cv_func_dlopen=yes
27281 - echo "$as_me: failed program was:" >&5
27282 -sed 's/^/| /' conftest.$ac_ext >&5
27284 -ac_cv_func_dlopen=no
27286 -rm -f conftest.err conftest.$ac_objext \
27287 - conftest$ac_exeext conftest.$ac_ext
27289 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
27290 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
27291 -if test $ac_cv_func_dlopen = yes; then
27292 - lt_cv_dlopen="dlopen"
27294 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
27295 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
27296 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
27297 - echo $ECHO_N "(cached) $ECHO_C" >&6
27299 - ac_check_lib_save_LIBS=$LIBS
27301 -cat >conftest.$ac_ext <<_ACEOF
27304 -cat confdefs.h >>conftest.$ac_ext
27305 -cat >>conftest.$ac_ext <<_ACEOF
27306 -/* end confdefs.h. */
27308 -/* Override any gcc2 internal prototype to avoid an error. */
27309 -#ifdef __cplusplus
27312 -/* We use char because int might match the return type of a gcc2
27313 - builtin and then its argument prototype would still apply. */
27323 -rm -f conftest.$ac_objext conftest$ac_exeext
27324 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27325 - (eval $ac_link) 2>conftest.er1
27327 - grep -v '^ *+' conftest.er1 >conftest.err
27328 - rm -f conftest.er1
27329 - cat conftest.err >&5
27330 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27331 - (exit $ac_status); } &&
27332 - { ac_try='test -z "$ac_c_werror_flag"
27333 - || test ! -s conftest.err'
27334 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27335 - (eval $ac_try) 2>&5
27337 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27338 - (exit $ac_status); }; } &&
27339 - { ac_try='test -s conftest$ac_exeext'
27340 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27341 - (eval $ac_try) 2>&5
27343 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27344 - (exit $ac_status); }; }; then
27345 - ac_cv_lib_dl_dlopen=yes
27347 - echo "$as_me: failed program was:" >&5
27348 -sed 's/^/| /' conftest.$ac_ext >&5
27350 -ac_cv_lib_dl_dlopen=no
27352 -rm -f conftest.err conftest.$ac_objext \
27353 - conftest$ac_exeext conftest.$ac_ext
27354 -LIBS=$ac_check_lib_save_LIBS
27356 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
27357 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
27358 -if test $ac_cv_lib_dl_dlopen = yes; then
27359 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
27361 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
27362 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
27363 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
27364 - echo $ECHO_N "(cached) $ECHO_C" >&6
27366 - ac_check_lib_save_LIBS=$LIBS
27367 -LIBS="-lsvld $LIBS"
27368 -cat >conftest.$ac_ext <<_ACEOF
27371 -cat confdefs.h >>conftest.$ac_ext
27372 -cat >>conftest.$ac_ext <<_ACEOF
27373 -/* end confdefs.h. */
27375 -/* Override any gcc2 internal prototype to avoid an error. */
27376 -#ifdef __cplusplus
27379 -/* We use char because int might match the return type of a gcc2
27380 - builtin and then its argument prototype would still apply. */
27390 -rm -f conftest.$ac_objext conftest$ac_exeext
27391 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27392 - (eval $ac_link) 2>conftest.er1
27394 - grep -v '^ *+' conftest.er1 >conftest.err
27395 - rm -f conftest.er1
27396 - cat conftest.err >&5
27397 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27398 - (exit $ac_status); } &&
27399 - { ac_try='test -z "$ac_c_werror_flag"
27400 - || test ! -s conftest.err'
27401 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27402 - (eval $ac_try) 2>&5
27404 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27405 - (exit $ac_status); }; } &&
27406 - { ac_try='test -s conftest$ac_exeext'
27407 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27408 - (eval $ac_try) 2>&5
27410 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27411 - (exit $ac_status); }; }; then
27412 - ac_cv_lib_svld_dlopen=yes
27414 - echo "$as_me: failed program was:" >&5
27415 -sed 's/^/| /' conftest.$ac_ext >&5
27417 -ac_cv_lib_svld_dlopen=no
27419 -rm -f conftest.err conftest.$ac_objext \
27420 - conftest$ac_exeext conftest.$ac_ext
27421 -LIBS=$ac_check_lib_save_LIBS
27423 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
27424 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
27425 -if test $ac_cv_lib_svld_dlopen = yes; then
27426 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
27428 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
27429 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
27430 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
27431 - echo $ECHO_N "(cached) $ECHO_C" >&6
27433 - ac_check_lib_save_LIBS=$LIBS
27434 -LIBS="-ldld $LIBS"
27435 -cat >conftest.$ac_ext <<_ACEOF
27438 -cat confdefs.h >>conftest.$ac_ext
27439 -cat >>conftest.$ac_ext <<_ACEOF
27440 -/* end confdefs.h. */
27442 -/* Override any gcc2 internal prototype to avoid an error. */
27443 -#ifdef __cplusplus
27446 -/* We use char because int might match the return type of a gcc2
27447 - builtin and then its argument prototype would still apply. */
27457 -rm -f conftest.$ac_objext conftest$ac_exeext
27458 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27459 - (eval $ac_link) 2>conftest.er1
27461 - grep -v '^ *+' conftest.er1 >conftest.err
27462 - rm -f conftest.er1
27463 - cat conftest.err >&5
27464 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27465 - (exit $ac_status); } &&
27466 - { ac_try='test -z "$ac_c_werror_flag"
27467 - || test ! -s conftest.err'
27468 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27469 - (eval $ac_try) 2>&5
27471 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27472 - (exit $ac_status); }; } &&
27473 - { ac_try='test -s conftest$ac_exeext'
27474 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27475 - (eval $ac_try) 2>&5
27477 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27478 - (exit $ac_status); }; }; then
27479 - ac_cv_lib_dld_dld_link=yes
27481 - echo "$as_me: failed program was:" >&5
27482 -sed 's/^/| /' conftest.$ac_ext >&5
27484 -ac_cv_lib_dld_dld_link=no
27486 -rm -f conftest.err conftest.$ac_objext \
27487 - conftest$ac_exeext conftest.$ac_ext
27488 -LIBS=$ac_check_lib_save_LIBS
27490 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
27491 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
27492 -if test $ac_cv_lib_dld_dld_link = yes; then
27493 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
27514 - if test "x$lt_cv_dlopen" != xno; then
27515 - enable_dlopen=yes
27520 - case $lt_cv_dlopen in
27522 - save_CPPFLAGS="$CPPFLAGS"
27523 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
27525 - save_LDFLAGS="$LDFLAGS"
27526 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
27528 - save_LIBS="$LIBS"
27529 - LIBS="$lt_cv_dlopen_libs $LIBS"
27531 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
27532 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
27533 -if test "${lt_cv_dlopen_self+set}" = set; then
27534 - echo $ECHO_N "(cached) $ECHO_C" >&6
27536 - if test "$cross_compiling" = yes; then :
27537 - lt_cv_dlopen_self=cross
27539 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
27540 - lt_status=$lt_dlunknown
27541 - cat > conftest.$ac_ext <<EOF
27542 -#line 18074 "configure"
27543 -#include "confdefs.h"
27546 -#include <dlfcn.h>
27549 -#include <stdio.h>
27551 -#ifdef RTLD_GLOBAL
27552 -# define LT_DLGLOBAL RTLD_GLOBAL
27555 -# define LT_DLGLOBAL DL_GLOBAL
27557 -# define LT_DLGLOBAL 0
27561 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
27562 - find out it does not work in some platform. */
27563 -#ifndef LT_DLLAZY_OR_NOW
27565 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
27568 -# define LT_DLLAZY_OR_NOW DL_LAZY
27571 -# define LT_DLLAZY_OR_NOW RTLD_NOW
27574 -# define LT_DLLAZY_OR_NOW DL_NOW
27576 -# define LT_DLLAZY_OR_NOW 0
27583 -#ifdef __cplusplus
27584 -extern "C" void exit (int);
27587 -void fnord() { int i=42;}
27590 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
27591 - int status = $lt_dlunknown;
27595 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
27596 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
27597 - /* dlclose (self); */
27603 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27604 - (eval $ac_link) 2>&5
27606 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27607 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
27608 - (./conftest; exit; ) 2>/dev/null
27610 - case x$lt_status in
27611 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
27612 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
27613 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
27616 - # compilation failed
27617 - lt_cv_dlopen_self=no
27624 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
27625 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
27627 - if test "x$lt_cv_dlopen_self" = xyes; then
27628 - LDFLAGS="$LDFLAGS $link_static_flag"
27629 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
27630 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
27631 -if test "${lt_cv_dlopen_self_static+set}" = set; then
27632 - echo $ECHO_N "(cached) $ECHO_C" >&6
27634 - if test "$cross_compiling" = yes; then :
27635 - lt_cv_dlopen_self_static=cross
27637 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
27638 - lt_status=$lt_dlunknown
27639 - cat > conftest.$ac_ext <<EOF
27640 -#line 18172 "configure"
27641 -#include "confdefs.h"
27644 -#include <dlfcn.h>
27647 -#include <stdio.h>
27649 -#ifdef RTLD_GLOBAL
27650 -# define LT_DLGLOBAL RTLD_GLOBAL
27653 -# define LT_DLGLOBAL DL_GLOBAL
27655 -# define LT_DLGLOBAL 0
27659 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
27660 - find out it does not work in some platform. */
27661 -#ifndef LT_DLLAZY_OR_NOW
27663 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
27666 -# define LT_DLLAZY_OR_NOW DL_LAZY
27669 -# define LT_DLLAZY_OR_NOW RTLD_NOW
27672 -# define LT_DLLAZY_OR_NOW DL_NOW
27674 -# define LT_DLLAZY_OR_NOW 0
27681 -#ifdef __cplusplus
27682 -extern "C" void exit (int);
27685 -void fnord() { int i=42;}
27688 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
27689 - int status = $lt_dlunknown;
27693 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
27694 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
27695 - /* dlclose (self); */
27701 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27702 - (eval $ac_link) 2>&5
27704 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27705 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
27706 - (./conftest; exit; ) 2>/dev/null
27708 - case x$lt_status in
27709 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
27710 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
27711 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
27714 - # compilation failed
27715 - lt_cv_dlopen_self_static=no
27722 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
27723 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
27726 - CPPFLAGS="$save_CPPFLAGS"
27727 - LDFLAGS="$save_LDFLAGS"
27728 - LIBS="$save_LIBS"
27732 - case $lt_cv_dlopen_self in
27733 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
27734 - *) enable_dlopen_self=unknown ;;
27737 - case $lt_cv_dlopen_self_static in
27738 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
27739 - *) enable_dlopen_self_static=unknown ;;
27744 # The else clause should only fire when bootstrapping the
27745 # libtool distribution, otherwise you forgot to ship ltmain.sh
27746 @@ -18286,7 +19042,7 @@ if test -f "$ltmain"; then
27747 # Now quote all the things that may contain metacharacters while being
27748 # careful not to overquote the AC_SUBSTed values. We take copies of the
27749 # variables and quote the copies for generation of the libtool script.
27750 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
27751 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
27753 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
27754 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
27755 @@ -18313,6 +19069,7 @@ if test -f "$ltmain"; then
27758 compiler_lib_search_path_GCJ \
27759 + compiler_lib_search_dirs_GCJ \
27761 archive_expsym_cmds_GCJ \
27762 postinstall_cmds_GCJ \
27763 @@ -18328,6 +19085,7 @@ if test -f "$ltmain"; then
27765 module_expsym_cmds_GCJ \
27766 lt_cv_prog_compiler_c_o_GCJ \
27767 + fix_srcfile_path_GCJ \
27768 exclude_expsyms_GCJ \
27769 include_expsyms_GCJ; do
27771 @@ -18387,6 +19145,12 @@ fast_install=$enable_fast_install
27773 host_alias=$host_alias
27777 +# The build system.
27778 +build_alias=$build_alias
27780 +build_os=$build_os
27782 # An echo program that does not interpret backslashes.
27784 @@ -18398,6 +19162,9 @@ AR_FLAGS=$lt_AR_FLAGS
27788 +# LTCC compiler flags.
27789 +LTCFLAGS=$lt_LTCFLAGS
27791 # A language-specific compiler.
27792 CC=$lt_compiler_GCJ
27794 @@ -18463,7 +19230,7 @@ max_cmd_len=$lt_cv_sys_max_cmd_len
27795 # Does compiler simultaneously support -c and -o options?
27796 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
27798 -# Must we lock files when doing compilation ?
27799 +# Must we lock files when doing compilation?
27800 need_locks=$lt_need_locks
27802 # Do we need the lib prefix for modules?
27803 @@ -18551,6 +19318,10 @@ predeps=$lt_predeps_GCJ
27805 postdeps=$lt_postdeps_GCJ
27807 +# The directories searched by this compiler when creating a shared
27809 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
27811 # The library search path used internally by the compiler when linking
27812 # a shared library.
27813 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
27814 @@ -18639,7 +19410,7 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27815 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27817 # Fix the shell variable \$srcfile for the compiler.
27818 -fix_srcfile_path="$fix_srcfile_path_GCJ"
27819 +fix_srcfile_path=$lt_fix_srcfile_path
27821 # Set to yes if exported symbols are required.
27822 always_export_symbols=$always_export_symbols_GCJ
27823 @@ -18688,7 +19459,6 @@ CC="$lt_save_CC"
27828 # Source file extension for RC test sources.
27831 @@ -18697,7 +19467,7 @@ objext=o
27834 # Code to be used in simple compile tests
27835 -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
27836 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
27838 # Code to be used in simple link tests
27839 lt_simple_link_test_code="$lt_simple_compile_test_code"
27840 @@ -18707,15 +19477,42 @@ lt_simple_link_test_code="$lt_simple_compile_test_code"
27841 # If no C compiler was specified, use CC.
27844 +# If no C compiler flags were specified, use CFLAGS.
27845 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
27847 # Allow CC to be a program name with arguments.
27851 +# save warnings/boilerplate of simple test code
27852 +ac_outfile=conftest.$ac_objext
27853 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
27854 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
27855 +_lt_compiler_boilerplate=`cat conftest.err`
27858 +ac_outfile=conftest.$ac_objext
27859 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
27860 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
27861 +_lt_linker_boilerplate=`cat conftest.err`
27865 # Allow CC to be a program name with arguments.
27870 +for cc_temp in $compiler""; do
27872 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
27873 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
27878 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
27880 lt_cv_prog_compiler_c_o_RC=yes
27882 # The else clause should only fire when bootstrapping the
27883 @@ -18731,7 +19528,7 @@ if test -f "$ltmain"; then
27884 # Now quote all the things that may contain metacharacters while being
27885 # careful not to overquote the AC_SUBSTed values. We take copies of the
27886 # variables and quote the copies for generation of the libtool script.
27887 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
27888 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
27890 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
27891 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
27892 @@ -18758,6 +19555,7 @@ if test -f "$ltmain"; then
27895 compiler_lib_search_path_RC \
27896 + compiler_lib_search_dirs_RC \
27898 archive_expsym_cmds_RC \
27899 postinstall_cmds_RC \
27900 @@ -18773,6 +19571,7 @@ if test -f "$ltmain"; then
27902 module_expsym_cmds_RC \
27903 lt_cv_prog_compiler_c_o_RC \
27904 + fix_srcfile_path_RC \
27905 exclude_expsyms_RC \
27906 include_expsyms_RC; do
27908 @@ -18832,6 +19631,12 @@ fast_install=$enable_fast_install
27910 host_alias=$host_alias
27914 +# The build system.
27915 +build_alias=$build_alias
27917 +build_os=$build_os
27919 # An echo program that does not interpret backslashes.
27921 @@ -18843,6 +19648,9 @@ AR_FLAGS=$lt_AR_FLAGS
27925 +# LTCC compiler flags.
27926 +LTCFLAGS=$lt_LTCFLAGS
27928 # A language-specific compiler.
27931 @@ -18908,7 +19716,7 @@ max_cmd_len=$lt_cv_sys_max_cmd_len
27932 # Does compiler simultaneously support -c and -o options?
27933 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
27935 -# Must we lock files when doing compilation ?
27936 +# Must we lock files when doing compilation?
27937 need_locks=$lt_need_locks
27939 # Do we need the lib prefix for modules?
27940 @@ -18996,6 +19804,10 @@ predeps=$lt_predeps_RC
27942 postdeps=$lt_postdeps_RC
27944 +# The directories searched by this compiler when creating a shared
27946 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
27948 # The library search path used internally by the compiler when linking
27949 # a shared library.
27950 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
27951 @@ -19084,7 +19896,7 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27952 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27954 # Fix the shell variable \$srcfile for the compiler.
27955 -fix_srcfile_path="$fix_srcfile_path_RC"
27956 +fix_srcfile_path=$lt_fix_srcfile_path
27958 # Set to yes if exported symbols are required.
27959 always_export_symbols=$always_export_symbols_RC
27960 @@ -19128,8 +19940,8 @@ CC="$lt_save_CC"
27964 - { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
27965 -echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
27966 + { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
27967 +$as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
27968 { (exit 1); exit 1; }; }
27971 @@ -19148,8 +19960,8 @@ echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
27975 - { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
27976 -echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
27977 + { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
27978 +$as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
27979 { (exit 1); exit 1; }; }
27982 @@ -19185,20 +19997,20 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
27986 -# Check whether --with-mysql or --without-mysql was given.
27987 +# Check whether --with-mysql was given.
27988 if test "${with_mysql+set}" = set; then
27989 - withval="$with_mysql"
27990 + withval=$with_mysql;
27994 -# Check whether --enable-debug or --disable-debug was given.
27995 +# Check whether --enable-debug was given.
27996 if test "${enable_debug+set}" = set; then
27997 - enableval="$enable_debug"
27999 + enableval=$enable_debug;
28000 cat >>confdefs.h <<\_ACEOF
28008 case "$target_os" in
28010 @@ -19237,10 +20049,10 @@ else
28014 -echo "$as_me:$LINENO: checking whether the linker accepts -znodelete" >&5
28015 -echo $ECHO_N "checking whether the linker accepts -znodelete... $ECHO_C" >&6
28016 +{ $as_echo "$as_me:$LINENO: checking whether the linker accepts -znodelete" >&5
28017 +$as_echo_n "checking whether the linker accepts -znodelete... " >&6; }
28018 if test "${nss_mysql_cv_cc_znodelete+set}" = set; then
28019 - echo $ECHO_N "(cached) $ECHO_C" >&6
28020 + $as_echo_n "(cached) " >&6
28024 @@ -19261,40 +20073,41 @@ main ()
28027 rm -f conftest.$ac_objext conftest$ac_exeext
28028 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28029 - (eval $ac_link) 2>conftest.er1
28030 +if { (ac_try="$ac_link"
28031 +case "(($ac_try" in
28032 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28033 + *) ac_try_echo=$ac_try;;
28035 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28036 +$as_echo "$ac_try_echo") >&5
28037 + (eval "$ac_link") 2>conftest.er1
28039 grep -v '^ *+' conftest.er1 >conftest.err
28041 cat conftest.err >&5
28042 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28043 - (exit $ac_status); } &&
28044 - { ac_try='test -z "$ac_c_werror_flag"
28045 - || test ! -s conftest.err'
28046 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28047 - (eval $ac_try) 2>&5
28049 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28050 - (exit $ac_status); }; } &&
28051 - { ac_try='test -s conftest$ac_exeext'
28052 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28053 - (eval $ac_try) 2>&5
28055 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28056 - (exit $ac_status); }; }; then
28057 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28058 + (exit $ac_status); } && {
28059 + test -z "$ac_c_werror_flag" ||
28060 + test ! -s conftest.err
28061 + } && test -s conftest$ac_exeext && {
28062 + test "$cross_compiling" = yes ||
28063 + $as_test_x conftest$ac_exeext
28065 nss_mysql_cv_cc_znodelete=yes
28067 - echo "$as_me: failed program was:" >&5
28068 + $as_echo "$as_me: failed program was:" >&5
28069 sed 's/^/| /' conftest.$ac_ext >&5
28071 -nss_mysql_cv_cc_znodelete=no
28072 + nss_mysql_cv_cc_znodelete=no
28074 -rm -f conftest.err conftest.$ac_objext \
28076 +rm -rf conftest.dSYM
28077 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28078 conftest$ac_exeext conftest.$ac_ext
28081 -echo "$as_me:$LINENO: result: $nss_mysql_cv_cc_znodelete" >&5
28082 -echo "${ECHO_T}$nss_mysql_cv_cc_znodelete" >&6
28083 +{ $as_echo "$as_me:$LINENO: result: $nss_mysql_cv_cc_znodelete" >&5
28084 +$as_echo "$nss_mysql_cv_cc_znodelete" >&6; }
28085 if test $nss_mysql_cv_cc_znodelete = "yes"; then
28086 LIBS="-Wl,-znodelete $SAVELIBS"
28088 @@ -19311,8 +20124,8 @@ baselist="$with_mysql \
28092 -echo "$as_me:$LINENO: checking for MySQL headers" >&5
28093 -echo $ECHO_N "checking for MySQL headers... $ECHO_C" >&6
28094 +{ $as_echo "$as_me:$LINENO: checking for MySQL headers" >&5
28095 +$as_echo_n "checking for MySQL headers... " >&6; }
28096 for f in $baselist; do
28097 if test -f "$f/include/mysql/mysql.h"
28099 @@ -19329,17 +20142,17 @@ done
28101 if test -n "$MYSQL_INC_DIR"
28103 - echo "$as_me:$LINENO: result: $MYSQL_INC_DIR" >&5
28104 -echo "${ECHO_T}$MYSQL_INC_DIR" >&6
28105 + { $as_echo "$as_me:$LINENO: result: $MYSQL_INC_DIR" >&5
28106 +$as_echo "$MYSQL_INC_DIR" >&6; }
28107 CPPFLAGS="-I $MYSQL_INC_DIR $CPPFLAGS"
28109 - { { echo "$as_me:$LINENO: error: Cannot locate MySQL headers. Try using --with-mysql=DIR" >&5
28110 -echo "$as_me: error: Cannot locate MySQL headers. Try using --with-mysql=DIR" >&2;}
28111 + { { $as_echo "$as_me:$LINENO: error: Cannot locate MySQL headers. Try using --with-mysql=DIR" >&5
28112 +$as_echo "$as_me: error: Cannot locate MySQL headers. Try using --with-mysql=DIR" >&2;}
28113 { (exit 1); exit 1; }; }
28116 -echo "$as_me:$LINENO: checking for MySQL libraries" >&5
28117 -echo $ECHO_N "checking for MySQL libraries... $ECHO_C" >&6
28118 +{ $as_echo "$as_me:$LINENO: checking for MySQL libraries" >&5
28119 +$as_echo_n "checking for MySQL libraries... " >&6; }
28120 for f in $baselist; do
28121 if test -f "$f/lib/libmysqlclient.so"
28123 @@ -19370,22 +20183,22 @@ done
28125 if test -n "$MYSQL_LIB_DIR"
28127 - echo "$as_me:$LINENO: result: $MYSQL_LIB_DIR" >&5
28128 -echo "${ECHO_T}$MYSQL_LIB_DIR" >&6
28129 + { $as_echo "$as_me:$LINENO: result: $MYSQL_LIB_DIR" >&5
28130 +$as_echo "$MYSQL_LIB_DIR" >&6; }
28131 LDFLAGS="-L$MYSQL_LIB_DIR $LDFLAGS"
28133 - { { echo "$as_me:$LINENO: error: Cannot locate MySQL libraries. Try using --with-mysql=DIR" >&5
28134 -echo "$as_me: error: Cannot locate MySQL libraries. Try using --with-mysql=DIR" >&2;}
28135 + { { $as_echo "$as_me:$LINENO: error: Cannot locate MySQL libraries. Try using --with-mysql=DIR" >&5
28136 +$as_echo "$as_me: error: Cannot locate MySQL libraries. Try using --with-mysql=DIR" >&2;}
28137 { (exit 1); exit 1; }; }
28143 -echo "$as_me:$LINENO: checking for getsockname in -lsocket" >&5
28144 -echo $ECHO_N "checking for getsockname in -lsocket... $ECHO_C" >&6
28145 +{ $as_echo "$as_me:$LINENO: checking for getsockname in -lsocket" >&5
28146 +$as_echo_n "checking for getsockname in -lsocket... " >&6; }
28147 if test "${ac_cv_lib_socket_getsockname+set}" = set; then
28148 - echo $ECHO_N "(cached) $ECHO_C" >&6
28149 + $as_echo_n "(cached) " >&6
28151 ac_check_lib_save_LIBS=$LIBS
28152 LIBS="-lsocket $LIBS"
28153 @@ -19396,57 +20209,58 @@ cat confdefs.h >>conftest.$ac_ext
28154 cat >>conftest.$ac_ext <<_ACEOF
28155 /* end confdefs.h. */
28157 -/* Override any gcc2 internal prototype to avoid an error. */
28158 +/* Override any GCC internal prototype to avoid an error.
28159 + Use char because int might match the return type of a GCC
28160 + builtin and then its argument prototype would still apply. */
28164 -/* We use char because int might match the return type of a gcc2
28165 - builtin and then its argument prototype would still apply. */
28166 char getsockname ();
28171 +return getsockname ();
28176 rm -f conftest.$ac_objext conftest$ac_exeext
28177 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28178 - (eval $ac_link) 2>conftest.er1
28179 +if { (ac_try="$ac_link"
28180 +case "(($ac_try" in
28181 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28182 + *) ac_try_echo=$ac_try;;
28184 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28185 +$as_echo "$ac_try_echo") >&5
28186 + (eval "$ac_link") 2>conftest.er1
28188 grep -v '^ *+' conftest.er1 >conftest.err
28190 cat conftest.err >&5
28191 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28192 - (exit $ac_status); } &&
28193 - { ac_try='test -z "$ac_c_werror_flag"
28194 - || test ! -s conftest.err'
28195 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28196 - (eval $ac_try) 2>&5
28198 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28199 - (exit $ac_status); }; } &&
28200 - { ac_try='test -s conftest$ac_exeext'
28201 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28202 - (eval $ac_try) 2>&5
28204 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28205 - (exit $ac_status); }; }; then
28206 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207 + (exit $ac_status); } && {
28208 + test -z "$ac_c_werror_flag" ||
28209 + test ! -s conftest.err
28210 + } && test -s conftest$ac_exeext && {
28211 + test "$cross_compiling" = yes ||
28212 + $as_test_x conftest$ac_exeext
28214 ac_cv_lib_socket_getsockname=yes
28216 - echo "$as_me: failed program was:" >&5
28217 + $as_echo "$as_me: failed program was:" >&5
28218 sed 's/^/| /' conftest.$ac_ext >&5
28220 -ac_cv_lib_socket_getsockname=no
28221 + ac_cv_lib_socket_getsockname=no
28223 -rm -f conftest.err conftest.$ac_objext \
28225 +rm -rf conftest.dSYM
28226 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28227 conftest$ac_exeext conftest.$ac_ext
28228 LIBS=$ac_check_lib_save_LIBS
28230 -echo "$as_me:$LINENO: result: $ac_cv_lib_socket_getsockname" >&5
28231 -echo "${ECHO_T}$ac_cv_lib_socket_getsockname" >&6
28232 -if test $ac_cv_lib_socket_getsockname = yes; then
28233 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_getsockname" >&5
28234 +$as_echo "$ac_cv_lib_socket_getsockname" >&6; }
28235 +if test "x$ac_cv_lib_socket_getsockname" = x""yes; then
28236 cat >>confdefs.h <<_ACEOF
28237 #define HAVE_LIBSOCKET 1
28239 @@ -19456,10 +20270,10 @@ _ACEOF
28243 -echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28244 -echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28245 +{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28246 +$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
28247 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28248 - echo $ECHO_N "(cached) $ECHO_C" >&6
28249 + $as_echo_n "(cached) " >&6
28251 ac_check_lib_save_LIBS=$LIBS
28253 @@ -19470,57 +20284,58 @@ cat confdefs.h >>conftest.$ac_ext
28254 cat >>conftest.$ac_ext <<_ACEOF
28255 /* end confdefs.h. */
28257 -/* Override any gcc2 internal prototype to avoid an error. */
28258 +/* Override any GCC internal prototype to avoid an error.
28259 + Use char because int might match the return type of a GCC
28260 + builtin and then its argument prototype would still apply. */
28264 -/* We use char because int might match the return type of a gcc2
28265 - builtin and then its argument prototype would still apply. */
28266 char gethostbyname ();
28271 +return gethostbyname ();
28276 rm -f conftest.$ac_objext conftest$ac_exeext
28277 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28278 - (eval $ac_link) 2>conftest.er1
28279 +if { (ac_try="$ac_link"
28280 +case "(($ac_try" in
28281 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28282 + *) ac_try_echo=$ac_try;;
28284 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28285 +$as_echo "$ac_try_echo") >&5
28286 + (eval "$ac_link") 2>conftest.er1
28288 grep -v '^ *+' conftest.er1 >conftest.err
28290 cat conftest.err >&5
28291 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28292 - (exit $ac_status); } &&
28293 - { ac_try='test -z "$ac_c_werror_flag"
28294 - || test ! -s conftest.err'
28295 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28296 - (eval $ac_try) 2>&5
28298 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28299 - (exit $ac_status); }; } &&
28300 - { ac_try='test -s conftest$ac_exeext'
28301 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28302 - (eval $ac_try) 2>&5
28304 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28305 - (exit $ac_status); }; }; then
28306 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28307 + (exit $ac_status); } && {
28308 + test -z "$ac_c_werror_flag" ||
28309 + test ! -s conftest.err
28310 + } && test -s conftest$ac_exeext && {
28311 + test "$cross_compiling" = yes ||
28312 + $as_test_x conftest$ac_exeext
28314 ac_cv_lib_nsl_gethostbyname=yes
28316 - echo "$as_me: failed program was:" >&5
28317 + $as_echo "$as_me: failed program was:" >&5
28318 sed 's/^/| /' conftest.$ac_ext >&5
28320 -ac_cv_lib_nsl_gethostbyname=no
28321 + ac_cv_lib_nsl_gethostbyname=no
28323 -rm -f conftest.err conftest.$ac_objext \
28325 +rm -rf conftest.dSYM
28326 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28327 conftest$ac_exeext conftest.$ac_ext
28328 LIBS=$ac_check_lib_save_LIBS
28330 -echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28331 -echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28332 -if test $ac_cv_lib_nsl_gethostbyname = yes; then
28333 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28334 +$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
28335 +if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
28336 cat >>confdefs.h <<_ACEOF
28337 #define HAVE_LIBNSL 1
28339 @@ -19530,10 +20345,10 @@ _ACEOF
28343 -echo "$as_me:$LINENO: checking for floor in -lm" >&5
28344 -echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
28345 +{ $as_echo "$as_me:$LINENO: checking for floor in -lm" >&5
28346 +$as_echo_n "checking for floor in -lm... " >&6; }
28347 if test "${ac_cv_lib_m_floor+set}" = set; then
28348 - echo $ECHO_N "(cached) $ECHO_C" >&6
28349 + $as_echo_n "(cached) " >&6
28351 ac_check_lib_save_LIBS=$LIBS
28353 @@ -19544,57 +20359,58 @@ cat confdefs.h >>conftest.$ac_ext
28354 cat >>conftest.$ac_ext <<_ACEOF
28355 /* end confdefs.h. */
28357 -/* Override any gcc2 internal prototype to avoid an error. */
28358 +/* Override any GCC internal prototype to avoid an error.
28359 + Use char because int might match the return type of a GCC
28360 + builtin and then its argument prototype would still apply. */
28364 -/* We use char because int might match the return type of a gcc2
28365 - builtin and then its argument prototype would still apply. */
28376 rm -f conftest.$ac_objext conftest$ac_exeext
28377 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28378 - (eval $ac_link) 2>conftest.er1
28379 +if { (ac_try="$ac_link"
28380 +case "(($ac_try" in
28381 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28382 + *) ac_try_echo=$ac_try;;
28384 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28385 +$as_echo "$ac_try_echo") >&5
28386 + (eval "$ac_link") 2>conftest.er1
28388 grep -v '^ *+' conftest.er1 >conftest.err
28390 cat conftest.err >&5
28391 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28392 - (exit $ac_status); } &&
28393 - { ac_try='test -z "$ac_c_werror_flag"
28394 - || test ! -s conftest.err'
28395 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28396 - (eval $ac_try) 2>&5
28398 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28399 - (exit $ac_status); }; } &&
28400 - { ac_try='test -s conftest$ac_exeext'
28401 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28402 - (eval $ac_try) 2>&5
28404 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28405 - (exit $ac_status); }; }; then
28406 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28407 + (exit $ac_status); } && {
28408 + test -z "$ac_c_werror_flag" ||
28409 + test ! -s conftest.err
28410 + } && test -s conftest$ac_exeext && {
28411 + test "$cross_compiling" = yes ||
28412 + $as_test_x conftest$ac_exeext
28414 ac_cv_lib_m_floor=yes
28416 - echo "$as_me: failed program was:" >&5
28417 + $as_echo "$as_me: failed program was:" >&5
28418 sed 's/^/| /' conftest.$ac_ext >&5
28420 -ac_cv_lib_m_floor=no
28421 + ac_cv_lib_m_floor=no
28423 -rm -f conftest.err conftest.$ac_objext \
28425 +rm -rf conftest.dSYM
28426 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28427 conftest$ac_exeext conftest.$ac_ext
28428 LIBS=$ac_check_lib_save_LIBS
28430 -echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
28431 -echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
28432 -if test $ac_cv_lib_m_floor = yes; then
28433 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
28434 +$as_echo "$ac_cv_lib_m_floor" >&6; }
28435 +if test "x$ac_cv_lib_m_floor" = x""yes; then
28436 cat >>confdefs.h <<_ACEOF
28437 #define HAVE_LIBM 1
28439 @@ -19604,10 +20420,10 @@ _ACEOF
28443 -echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
28444 -echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
28445 +{ $as_echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
28446 +$as_echo_n "checking for dlsym in -ldl... " >&6; }
28447 if test "${ac_cv_lib_dl_dlsym+set}" = set; then
28448 - echo $ECHO_N "(cached) $ECHO_C" >&6
28449 + $as_echo_n "(cached) " >&6
28451 ac_check_lib_save_LIBS=$LIBS
28453 @@ -19618,57 +20434,58 @@ cat confdefs.h >>conftest.$ac_ext
28454 cat >>conftest.$ac_ext <<_ACEOF
28455 /* end confdefs.h. */
28457 -/* Override any gcc2 internal prototype to avoid an error. */
28458 +/* Override any GCC internal prototype to avoid an error.
28459 + Use char because int might match the return type of a GCC
28460 + builtin and then its argument prototype would still apply. */
28464 -/* We use char because int might match the return type of a gcc2
28465 - builtin and then its argument prototype would still apply. */
28476 rm -f conftest.$ac_objext conftest$ac_exeext
28477 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28478 - (eval $ac_link) 2>conftest.er1
28479 +if { (ac_try="$ac_link"
28480 +case "(($ac_try" in
28481 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28482 + *) ac_try_echo=$ac_try;;
28484 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28485 +$as_echo "$ac_try_echo") >&5
28486 + (eval "$ac_link") 2>conftest.er1
28488 grep -v '^ *+' conftest.er1 >conftest.err
28490 cat conftest.err >&5
28491 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28492 - (exit $ac_status); } &&
28493 - { ac_try='test -z "$ac_c_werror_flag"
28494 - || test ! -s conftest.err'
28495 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28496 - (eval $ac_try) 2>&5
28498 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28499 - (exit $ac_status); }; } &&
28500 - { ac_try='test -s conftest$ac_exeext'
28501 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28502 - (eval $ac_try) 2>&5
28504 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28505 - (exit $ac_status); }; }; then
28506 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28507 + (exit $ac_status); } && {
28508 + test -z "$ac_c_werror_flag" ||
28509 + test ! -s conftest.err
28510 + } && test -s conftest$ac_exeext && {
28511 + test "$cross_compiling" = yes ||
28512 + $as_test_x conftest$ac_exeext
28514 ac_cv_lib_dl_dlsym=yes
28516 - echo "$as_me: failed program was:" >&5
28517 + $as_echo "$as_me: failed program was:" >&5
28518 sed 's/^/| /' conftest.$ac_ext >&5
28520 -ac_cv_lib_dl_dlsym=no
28521 + ac_cv_lib_dl_dlsym=no
28523 -rm -f conftest.err conftest.$ac_objext \
28525 +rm -rf conftest.dSYM
28526 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28527 conftest$ac_exeext conftest.$ac_ext
28528 LIBS=$ac_check_lib_save_LIBS
28530 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
28531 -echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6
28532 -if test $ac_cv_lib_dl_dlsym = yes; then
28533 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
28534 +$as_echo "$ac_cv_lib_dl_dlsym" >&6; }
28535 +if test "x$ac_cv_lib_dl_dlsym" = x""yes; then
28536 cat >>confdefs.h <<_ACEOF
28537 #define HAVE_LIBDL 1
28539 @@ -19678,10 +20495,10 @@ _ACEOF
28543 -echo "$as_me:$LINENO: checking for compress in -lz" >&5
28544 -echo $ECHO_N "checking for compress in -lz... $ECHO_C" >&6
28545 +{ $as_echo "$as_me:$LINENO: checking for compress in -lz" >&5
28546 +$as_echo_n "checking for compress in -lz... " >&6; }
28547 if test "${ac_cv_lib_z_compress+set}" = set; then
28548 - echo $ECHO_N "(cached) $ECHO_C" >&6
28549 + $as_echo_n "(cached) " >&6
28551 ac_check_lib_save_LIBS=$LIBS
28553 @@ -19692,57 +20509,58 @@ cat confdefs.h >>conftest.$ac_ext
28554 cat >>conftest.$ac_ext <<_ACEOF
28555 /* end confdefs.h. */
28557 -/* Override any gcc2 internal prototype to avoid an error. */
28558 +/* Override any GCC internal prototype to avoid an error.
28559 + Use char because int might match the return type of a GCC
28560 + builtin and then its argument prototype would still apply. */
28564 -/* We use char because int might match the return type of a gcc2
28565 - builtin and then its argument prototype would still apply. */
28571 +return compress ();
28576 rm -f conftest.$ac_objext conftest$ac_exeext
28577 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28578 - (eval $ac_link) 2>conftest.er1
28579 +if { (ac_try="$ac_link"
28580 +case "(($ac_try" in
28581 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28582 + *) ac_try_echo=$ac_try;;
28584 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28585 +$as_echo "$ac_try_echo") >&5
28586 + (eval "$ac_link") 2>conftest.er1
28588 grep -v '^ *+' conftest.er1 >conftest.err
28590 cat conftest.err >&5
28591 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28592 - (exit $ac_status); } &&
28593 - { ac_try='test -z "$ac_c_werror_flag"
28594 - || test ! -s conftest.err'
28595 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28596 - (eval $ac_try) 2>&5
28598 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28599 - (exit $ac_status); }; } &&
28600 - { ac_try='test -s conftest$ac_exeext'
28601 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28602 - (eval $ac_try) 2>&5
28604 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28605 - (exit $ac_status); }; }; then
28606 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28607 + (exit $ac_status); } && {
28608 + test -z "$ac_c_werror_flag" ||
28609 + test ! -s conftest.err
28610 + } && test -s conftest$ac_exeext && {
28611 + test "$cross_compiling" = yes ||
28612 + $as_test_x conftest$ac_exeext
28614 ac_cv_lib_z_compress=yes
28616 - echo "$as_me: failed program was:" >&5
28617 + $as_echo "$as_me: failed program was:" >&5
28618 sed 's/^/| /' conftest.$ac_ext >&5
28620 -ac_cv_lib_z_compress=no
28621 + ac_cv_lib_z_compress=no
28623 -rm -f conftest.err conftest.$ac_objext \
28625 +rm -rf conftest.dSYM
28626 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28627 conftest$ac_exeext conftest.$ac_ext
28628 LIBS=$ac_check_lib_save_LIBS
28630 -echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress" >&5
28631 -echo "${ECHO_T}$ac_cv_lib_z_compress" >&6
28632 -if test $ac_cv_lib_z_compress = yes; then
28633 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress" >&5
28634 +$as_echo "$ac_cv_lib_z_compress" >&6; }
28635 +if test "x$ac_cv_lib_z_compress" = x""yes; then
28636 cat >>confdefs.h <<_ACEOF
28637 #define HAVE_LIBZ 1
28639 @@ -19753,10 +20571,10 @@ fi
28643 -echo "$as_me:$LINENO: checking for main in -lmysqlclient" >&5
28644 -echo $ECHO_N "checking for main in -lmysqlclient... $ECHO_C" >&6
28645 +{ $as_echo "$as_me:$LINENO: checking for main in -lmysqlclient" >&5
28646 +$as_echo_n "checking for main in -lmysqlclient... " >&6; }
28647 if test "${ac_cv_lib_mysqlclient_main+set}" = set; then
28648 - echo $ECHO_N "(cached) $ECHO_C" >&6
28649 + $as_echo_n "(cached) " >&6
28651 ac_check_lib_save_LIBS=$LIBS
28652 LIBS="-lmysqlclient $LIBS"
28653 @@ -19771,47 +20589,48 @@ cat >>conftest.$ac_ext <<_ACEOF
28663 rm -f conftest.$ac_objext conftest$ac_exeext
28664 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28665 - (eval $ac_link) 2>conftest.er1
28666 +if { (ac_try="$ac_link"
28667 +case "(($ac_try" in
28668 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28669 + *) ac_try_echo=$ac_try;;
28671 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28672 +$as_echo "$ac_try_echo") >&5
28673 + (eval "$ac_link") 2>conftest.er1
28675 grep -v '^ *+' conftest.er1 >conftest.err
28677 cat conftest.err >&5
28678 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28679 - (exit $ac_status); } &&
28680 - { ac_try='test -z "$ac_c_werror_flag"
28681 - || test ! -s conftest.err'
28682 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28683 - (eval $ac_try) 2>&5
28685 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28686 - (exit $ac_status); }; } &&
28687 - { ac_try='test -s conftest$ac_exeext'
28688 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28689 - (eval $ac_try) 2>&5
28691 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28692 - (exit $ac_status); }; }; then
28693 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28694 + (exit $ac_status); } && {
28695 + test -z "$ac_c_werror_flag" ||
28696 + test ! -s conftest.err
28697 + } && test -s conftest$ac_exeext && {
28698 + test "$cross_compiling" = yes ||
28699 + $as_test_x conftest$ac_exeext
28701 ac_cv_lib_mysqlclient_main=yes
28703 - echo "$as_me: failed program was:" >&5
28704 + $as_echo "$as_me: failed program was:" >&5
28705 sed 's/^/| /' conftest.$ac_ext >&5
28707 -ac_cv_lib_mysqlclient_main=no
28708 + ac_cv_lib_mysqlclient_main=no
28710 -rm -f conftest.err conftest.$ac_objext \
28712 +rm -rf conftest.dSYM
28713 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28714 conftest$ac_exeext conftest.$ac_ext
28715 LIBS=$ac_check_lib_save_LIBS
28717 -echo "$as_me:$LINENO: result: $ac_cv_lib_mysqlclient_main" >&5
28718 -echo "${ECHO_T}$ac_cv_lib_mysqlclient_main" >&6
28719 -if test $ac_cv_lib_mysqlclient_main = yes; then
28720 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mysqlclient_main" >&5
28721 +$as_echo "$ac_cv_lib_mysqlclient_main" >&6; }
28722 +if test "x$ac_cv_lib_mysqlclient_main" = x""yes; then
28723 cat >>confdefs.h <<_ACEOF
28724 #define HAVE_LIBMYSQLCLIENT 1
28726 @@ -19819,16 +20638,16 @@ _ACEOF
28727 LIBS="-lmysqlclient $LIBS"
28730 - { { echo "$as_me:$LINENO: error: Unable find a functioning MySQL library" >&5
28731 -echo "$as_me: error: Unable find a functioning MySQL library" >&2;}
28732 + { { $as_echo "$as_me:$LINENO: error: Unable find a functioning MySQL library" >&5
28733 +$as_echo "$as_me: error: Unable find a functioning MySQL library" >&2;}
28734 { (exit 1); exit 1; }; }
28738 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
28739 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
28740 +{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
28741 +$as_echo_n "checking for ANSI C header files... " >&6; }
28742 if test "${ac_cv_header_stdc+set}" = set; then
28743 - echo $ECHO_N "(cached) $ECHO_C" >&6
28744 + $as_echo_n "(cached) " >&6
28746 cat >conftest.$ac_ext <<_ACEOF
28748 @@ -19850,35 +20669,32 @@ main ()
28751 rm -f conftest.$ac_objext
28752 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28753 - (eval $ac_compile) 2>conftest.er1
28754 +if { (ac_try="$ac_compile"
28755 +case "(($ac_try" in
28756 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28757 + *) ac_try_echo=$ac_try;;
28759 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28760 +$as_echo "$ac_try_echo") >&5
28761 + (eval "$ac_compile") 2>conftest.er1
28763 grep -v '^ *+' conftest.er1 >conftest.err
28765 cat conftest.err >&5
28766 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28767 - (exit $ac_status); } &&
28768 - { ac_try='test -z "$ac_c_werror_flag"
28769 - || test ! -s conftest.err'
28770 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28771 - (eval $ac_try) 2>&5
28773 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28774 - (exit $ac_status); }; } &&
28775 - { ac_try='test -s conftest.$ac_objext'
28776 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28777 - (eval $ac_try) 2>&5
28779 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28780 - (exit $ac_status); }; }; then
28781 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28782 + (exit $ac_status); } && {
28783 + test -z "$ac_c_werror_flag" ||
28784 + test ! -s conftest.err
28785 + } && test -s conftest.$ac_objext; then
28786 ac_cv_header_stdc=yes
28788 - echo "$as_me: failed program was:" >&5
28789 + $as_echo "$as_me: failed program was:" >&5
28790 sed 's/^/| /' conftest.$ac_ext >&5
28792 -ac_cv_header_stdc=no
28793 + ac_cv_header_stdc=no
28795 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28797 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28799 if test $ac_cv_header_stdc = yes; then
28800 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
28801 @@ -19934,6 +20750,7 @@ cat confdefs.h >>conftest.$ac_ext
28802 cat >>conftest.$ac_ext <<_ACEOF
28803 /* end confdefs.h. */
28805 +#include <stdlib.h>
28806 #if ((' ' & 0x0FF) == 0x020)
28807 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
28808 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
28809 @@ -19953,36 +20770,50 @@ main ()
28810 for (i = 0; i < 256; i++)
28811 if (XOR (islower (i), ISLOWER (i))
28812 || toupper (i) != TOUPPER (i))
28819 rm -f conftest$ac_exeext
28820 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28821 - (eval $ac_link) 2>&5
28822 +if { (ac_try="$ac_link"
28823 +case "(($ac_try" in
28824 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28825 + *) ac_try_echo=$ac_try;;
28827 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28828 +$as_echo "$ac_try_echo") >&5
28829 + (eval "$ac_link") 2>&5
28831 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28832 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28833 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28834 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28835 - (eval $ac_try) 2>&5
28836 + { (case "(($ac_try" in
28837 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28838 + *) ac_try_echo=$ac_try;;
28840 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28841 +$as_echo "$ac_try_echo") >&5
28842 + (eval "$ac_try") 2>&5
28844 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28845 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28846 (exit $ac_status); }; }; then
28849 - echo "$as_me: program exited with status $ac_status" >&5
28850 -echo "$as_me: failed program was:" >&5
28851 + $as_echo "$as_me: program exited with status $ac_status" >&5
28852 +$as_echo "$as_me: failed program was:" >&5
28853 sed 's/^/| /' conftest.$ac_ext >&5
28855 ( exit $ac_status )
28856 ac_cv_header_stdc=no
28858 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28859 +rm -rf conftest.dSYM
28860 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28866 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
28867 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
28868 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
28869 +$as_echo "$ac_cv_header_stdc" >&6; }
28870 if test $ac_cv_header_stdc = yes; then
28872 cat >>confdefs.h <<\_ACEOF
28873 @@ -19992,17 +20823,17 @@ _ACEOF
28876 if test "${ac_cv_header_mysql_h+set}" = set; then
28877 - echo "$as_me:$LINENO: checking for mysql.h" >&5
28878 -echo $ECHO_N "checking for mysql.h... $ECHO_C" >&6
28879 + { $as_echo "$as_me:$LINENO: checking for mysql.h" >&5
28880 +$as_echo_n "checking for mysql.h... " >&6; }
28881 if test "${ac_cv_header_mysql_h+set}" = set; then
28882 - echo $ECHO_N "(cached) $ECHO_C" >&6
28883 + $as_echo_n "(cached) " >&6
28885 -echo "$as_me:$LINENO: result: $ac_cv_header_mysql_h" >&5
28886 -echo "${ECHO_T}$ac_cv_header_mysql_h" >&6
28887 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_mysql_h" >&5
28888 +$as_echo "$ac_cv_header_mysql_h" >&6; }
28890 # Is the header compilable?
28891 -echo "$as_me:$LINENO: checking mysql.h usability" >&5
28892 -echo $ECHO_N "checking mysql.h usability... $ECHO_C" >&6
28893 +{ $as_echo "$as_me:$LINENO: checking mysql.h usability" >&5
28894 +$as_echo_n "checking mysql.h usability... " >&6; }
28895 cat >conftest.$ac_ext <<_ACEOF
28898 @@ -20013,41 +20844,38 @@ $ac_includes_default
28901 rm -f conftest.$ac_objext
28902 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28903 - (eval $ac_compile) 2>conftest.er1
28904 +if { (ac_try="$ac_compile"
28905 +case "(($ac_try" in
28906 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28907 + *) ac_try_echo=$ac_try;;
28909 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28910 +$as_echo "$ac_try_echo") >&5
28911 + (eval "$ac_compile") 2>conftest.er1
28913 grep -v '^ *+' conftest.er1 >conftest.err
28915 cat conftest.err >&5
28916 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28917 - (exit $ac_status); } &&
28918 - { ac_try='test -z "$ac_c_werror_flag"
28919 - || test ! -s conftest.err'
28920 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28921 - (eval $ac_try) 2>&5
28923 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28924 - (exit $ac_status); }; } &&
28925 - { ac_try='test -s conftest.$ac_objext'
28926 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28927 - (eval $ac_try) 2>&5
28929 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28930 - (exit $ac_status); }; }; then
28931 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28932 + (exit $ac_status); } && {
28933 + test -z "$ac_c_werror_flag" ||
28934 + test ! -s conftest.err
28935 + } && test -s conftest.$ac_objext; then
28936 ac_header_compiler=yes
28938 - echo "$as_me: failed program was:" >&5
28939 + $as_echo "$as_me: failed program was:" >&5
28940 sed 's/^/| /' conftest.$ac_ext >&5
28942 -ac_header_compiler=no
28943 + ac_header_compiler=no
28945 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28946 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28947 -echo "${ECHO_T}$ac_header_compiler" >&6
28949 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28950 +{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28951 +$as_echo "$ac_header_compiler" >&6; }
28953 # Is the header present?
28954 -echo "$as_me:$LINENO: checking mysql.h presence" >&5
28955 -echo $ECHO_N "checking mysql.h presence... $ECHO_C" >&6
28956 +{ $as_echo "$as_me:$LINENO: checking mysql.h presence" >&5
28957 +$as_echo_n "checking mysql.h presence... " >&6; }
28958 cat >conftest.$ac_ext <<_ACEOF
28961 @@ -20056,83 +20884,76 @@ cat >>conftest.$ac_ext <<_ACEOF
28962 /* end confdefs.h. */
28965 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28966 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28967 +if { (ac_try="$ac_cpp conftest.$ac_ext"
28968 +case "(($ac_try" in
28969 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28970 + *) ac_try_echo=$ac_try;;
28972 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28973 +$as_echo "$ac_try_echo") >&5
28974 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28976 grep -v '^ *+' conftest.er1 >conftest.err
28978 cat conftest.err >&5
28979 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28980 - (exit $ac_status); } >/dev/null; then
28981 - if test -s conftest.err; then
28982 - ac_cpp_err=$ac_c_preproc_warn_flag
28983 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28990 -if test -z "$ac_cpp_err"; then
28991 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28992 + (exit $ac_status); } >/dev/null && {
28993 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28994 + test ! -s conftest.err
28996 ac_header_preproc=yes
28998 - echo "$as_me: failed program was:" >&5
28999 + $as_echo "$as_me: failed program was:" >&5
29000 sed 's/^/| /' conftest.$ac_ext >&5
29002 ac_header_preproc=no
29005 rm -f conftest.err conftest.$ac_ext
29006 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29007 -echo "${ECHO_T}$ac_header_preproc" >&6
29008 +{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29009 +$as_echo "$ac_header_preproc" >&6; }
29011 # So? What about this header?
29012 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29014 - { echo "$as_me:$LINENO: WARNING: mysql.h: accepted by the compiler, rejected by the preprocessor!" >&5
29015 -echo "$as_me: WARNING: mysql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29016 - { echo "$as_me:$LINENO: WARNING: mysql.h: proceeding with the compiler's result" >&5
29017 -echo "$as_me: WARNING: mysql.h: proceeding with the compiler's result" >&2;}
29018 + { $as_echo "$as_me:$LINENO: WARNING: mysql.h: accepted by the compiler, rejected by the preprocessor!" >&5
29019 +$as_echo "$as_me: WARNING: mysql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29020 + { $as_echo "$as_me:$LINENO: WARNING: mysql.h: proceeding with the compiler's result" >&5
29021 +$as_echo "$as_me: WARNING: mysql.h: proceeding with the compiler's result" >&2;}
29022 ac_header_preproc=yes
29025 - { echo "$as_me:$LINENO: WARNING: mysql.h: present but cannot be compiled" >&5
29026 -echo "$as_me: WARNING: mysql.h: present but cannot be compiled" >&2;}
29027 - { echo "$as_me:$LINENO: WARNING: mysql.h: check for missing prerequisite headers?" >&5
29028 -echo "$as_me: WARNING: mysql.h: check for missing prerequisite headers?" >&2;}
29029 - { echo "$as_me:$LINENO: WARNING: mysql.h: see the Autoconf documentation" >&5
29030 -echo "$as_me: WARNING: mysql.h: see the Autoconf documentation" >&2;}
29031 - { echo "$as_me:$LINENO: WARNING: mysql.h: section \"Present But Cannot Be Compiled\"" >&5
29032 -echo "$as_me: WARNING: mysql.h: section \"Present But Cannot Be Compiled\"" >&2;}
29033 - { echo "$as_me:$LINENO: WARNING: mysql.h: proceeding with the preprocessor's result" >&5
29034 -echo "$as_me: WARNING: mysql.h: proceeding with the preprocessor's result" >&2;}
29035 - { echo "$as_me:$LINENO: WARNING: mysql.h: in the future, the compiler will take precedence" >&5
29036 -echo "$as_me: WARNING: mysql.h: in the future, the compiler will take precedence" >&2;}
29039 -## ------------------------------------------ ##
29040 -## Report this to the AC_PACKAGE_NAME lists. ##
29041 -## ------------------------------------------ ##
29044 - sed "s/^/$as_me: WARNING: /" >&2
29045 + { $as_echo "$as_me:$LINENO: WARNING: mysql.h: present but cannot be compiled" >&5
29046 +$as_echo "$as_me: WARNING: mysql.h: present but cannot be compiled" >&2;}
29047 + { $as_echo "$as_me:$LINENO: WARNING: mysql.h: check for missing prerequisite headers?" >&5
29048 +$as_echo "$as_me: WARNING: mysql.h: check for missing prerequisite headers?" >&2;}
29049 + { $as_echo "$as_me:$LINENO: WARNING: mysql.h: see the Autoconf documentation" >&5
29050 +$as_echo "$as_me: WARNING: mysql.h: see the Autoconf documentation" >&2;}
29051 + { $as_echo "$as_me:$LINENO: WARNING: mysql.h: section \"Present But Cannot Be Compiled\"" >&5
29052 +$as_echo "$as_me: WARNING: mysql.h: section \"Present But Cannot Be Compiled\"" >&2;}
29053 + { $as_echo "$as_me:$LINENO: WARNING: mysql.h: proceeding with the preprocessor's result" >&5
29054 +$as_echo "$as_me: WARNING: mysql.h: proceeding with the preprocessor's result" >&2;}
29055 + { $as_echo "$as_me:$LINENO: WARNING: mysql.h: in the future, the compiler will take precedence" >&5
29056 +$as_echo "$as_me: WARNING: mysql.h: in the future, the compiler will take precedence" >&2;}
29060 -echo "$as_me:$LINENO: checking for mysql.h" >&5
29061 -echo $ECHO_N "checking for mysql.h... $ECHO_C" >&6
29062 +{ $as_echo "$as_me:$LINENO: checking for mysql.h" >&5
29063 +$as_echo_n "checking for mysql.h... " >&6; }
29064 if test "${ac_cv_header_mysql_h+set}" = set; then
29065 - echo $ECHO_N "(cached) $ECHO_C" >&6
29066 + $as_echo_n "(cached) " >&6
29068 ac_cv_header_mysql_h=$ac_header_preproc
29070 -echo "$as_me:$LINENO: result: $ac_cv_header_mysql_h" >&5
29071 -echo "${ECHO_T}$ac_cv_header_mysql_h" >&6
29072 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_mysql_h" >&5
29073 +$as_echo "$ac_cv_header_mysql_h" >&6; }
29076 -if test $ac_cv_header_mysql_h = yes; then
29077 +if test "x$ac_cv_header_mysql_h" = x""yes; then
29080 - { { echo "$as_me:$LINENO: error: Unable to find mysql.h" >&5
29081 -echo "$as_me: error: Unable to find mysql.h" >&2;}
29082 + { { $as_echo "$as_me:$LINENO: error: Unable to find mysql.h" >&5
29083 +$as_echo "$as_me: error: Unable to find mysql.h" >&2;}
29084 { (exit 1); exit 1; }; }
29087 @@ -20144,19 +20965,21 @@ fi
29089 for ac_header in syslog.h stdint.h nss.h nss_common.h shadow.h
29091 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29092 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
29093 - echo "$as_me:$LINENO: checking for $ac_header" >&5
29094 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29095 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
29096 - echo $ECHO_N "(cached) $ECHO_C" >&6
29098 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29099 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29100 +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
29101 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29102 + { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
29103 +$as_echo_n "checking for $ac_header... " >&6; }
29104 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29105 + $as_echo_n "(cached) " >&6
29107 +ac_res=`eval 'as_val=${'$as_ac_Header'}
29108 + $as_echo "$as_val"'`
29109 + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29110 +$as_echo "$ac_res" >&6; }
29112 # Is the header compilable?
29113 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
29114 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29115 +{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
29116 +$as_echo_n "checking $ac_header usability... " >&6; }
29117 cat >conftest.$ac_ext <<_ACEOF
29120 @@ -20167,41 +20990,38 @@ $ac_includes_default
29121 #include <$ac_header>
29123 rm -f conftest.$ac_objext
29124 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29125 - (eval $ac_compile) 2>conftest.er1
29126 +if { (ac_try="$ac_compile"
29127 +case "(($ac_try" in
29128 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29129 + *) ac_try_echo=$ac_try;;
29131 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29132 +$as_echo "$ac_try_echo") >&5
29133 + (eval "$ac_compile") 2>conftest.er1
29135 grep -v '^ *+' conftest.er1 >conftest.err
29137 cat conftest.err >&5
29138 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29139 - (exit $ac_status); } &&
29140 - { ac_try='test -z "$ac_c_werror_flag"
29141 - || test ! -s conftest.err'
29142 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29143 - (eval $ac_try) 2>&5
29145 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29146 - (exit $ac_status); }; } &&
29147 - { ac_try='test -s conftest.$ac_objext'
29148 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29149 - (eval $ac_try) 2>&5
29151 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29152 - (exit $ac_status); }; }; then
29153 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29154 + (exit $ac_status); } && {
29155 + test -z "$ac_c_werror_flag" ||
29156 + test ! -s conftest.err
29157 + } && test -s conftest.$ac_objext; then
29158 ac_header_compiler=yes
29160 - echo "$as_me: failed program was:" >&5
29161 + $as_echo "$as_me: failed program was:" >&5
29162 sed 's/^/| /' conftest.$ac_ext >&5
29164 -ac_header_compiler=no
29165 + ac_header_compiler=no
29167 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29168 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29169 -echo "${ECHO_T}$ac_header_compiler" >&6
29171 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29172 +{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29173 +$as_echo "$ac_header_compiler" >&6; }
29175 # Is the header present?
29176 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
29177 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29178 +{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
29179 +$as_echo_n "checking $ac_header presence... " >&6; }
29180 cat >conftest.$ac_ext <<_ACEOF
29183 @@ -20210,81 +21030,78 @@ cat >>conftest.$ac_ext <<_ACEOF
29184 /* end confdefs.h. */
29185 #include <$ac_header>
29187 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29188 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29189 +if { (ac_try="$ac_cpp conftest.$ac_ext"
29190 +case "(($ac_try" in
29191 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29192 + *) ac_try_echo=$ac_try;;
29194 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29195 +$as_echo "$ac_try_echo") >&5
29196 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29198 grep -v '^ *+' conftest.er1 >conftest.err
29200 cat conftest.err >&5
29201 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29202 - (exit $ac_status); } >/dev/null; then
29203 - if test -s conftest.err; then
29204 - ac_cpp_err=$ac_c_preproc_warn_flag
29205 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29212 -if test -z "$ac_cpp_err"; then
29213 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29214 + (exit $ac_status); } >/dev/null && {
29215 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29216 + test ! -s conftest.err
29218 ac_header_preproc=yes
29220 - echo "$as_me: failed program was:" >&5
29221 + $as_echo "$as_me: failed program was:" >&5
29222 sed 's/^/| /' conftest.$ac_ext >&5
29224 ac_header_preproc=no
29227 rm -f conftest.err conftest.$ac_ext
29228 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29229 -echo "${ECHO_T}$ac_header_preproc" >&6
29230 +{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29231 +$as_echo "$ac_header_preproc" >&6; }
29233 # So? What about this header?
29234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29236 - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29237 -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29238 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29239 -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29240 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29241 +$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29242 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29243 +$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29244 ac_header_preproc=yes
29247 - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29248 -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29249 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29250 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29251 - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29252 -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29253 - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29254 -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29255 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29256 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29257 - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29258 -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29261 -## ------------------------------------------ ##
29262 -## Report this to the AC_PACKAGE_NAME lists. ##
29263 -## ------------------------------------------ ##
29266 - sed "s/^/$as_me: WARNING: /" >&2
29267 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29268 +$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29269 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29270 +$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29271 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29272 +$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29273 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29274 +$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29275 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29276 +$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29277 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29278 +$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29282 -echo "$as_me:$LINENO: checking for $ac_header" >&5
29283 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29284 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
29285 - echo $ECHO_N "(cached) $ECHO_C" >&6
29286 +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
29287 +$as_echo_n "checking for $ac_header... " >&6; }
29288 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29289 + $as_echo_n "(cached) " >&6
29291 eval "$as_ac_Header=\$ac_header_preproc"
29293 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29294 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29295 +ac_res=`eval 'as_val=${'$as_ac_Header'}
29296 + $as_echo "$as_val"'`
29297 + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29298 +$as_echo "$ac_res" >&6; }
29301 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
29302 +as_val=`eval 'as_val=${'$as_ac_Header'}
29303 + $as_echo "$as_val"'`
29304 + if test "x$as_val" = x""yes; then
29305 cat >>confdefs.h <<_ACEOF
29306 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29307 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
29311 @@ -20292,10 +21109,10 @@ fi
29315 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
29316 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
29317 +{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
29318 +$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
29319 if test "${ac_cv_c_const+set}" = set; then
29320 - echo $ECHO_N "(cached) $ECHO_C" >&6
29321 + $as_echo_n "(cached) " >&6
29323 cat >conftest.$ac_ext <<_ACEOF
29325 @@ -20311,10 +21128,10 @@ main ()
29326 #ifndef __cplusplus
29327 /* Ultrix mips cc rejects this. */
29328 typedef int charset[2];
29330 + const charset cs;
29331 /* SunOS 4.1.1 cc rejects this. */
29332 - char const *const *ccp;
29334 + char const *const *pcpcc;
29336 /* NEC SVR4.0.2 mips cc rejects this. */
29337 struct point {int x, y;};
29338 static struct point const zero = {0,0};
29339 @@ -20323,16 +21140,17 @@ main ()
29340 an arm of an if-expression whose if-part is not a constant
29342 const char *g = "string";
29343 - ccp = &g + (g ? g-g : 0);
29344 + pcpcc = &g + (g ? g-g : 0);
29345 /* HPUX 7.0 cc rejects these. */
29347 - p = (char**) ccp;
29348 - ccp = (char const *const *) p;
29350 + ppc = (char**) pcpcc;
29351 + pcpcc = (char const *const *) ppc;
29352 { /* SCO 3.2v4 cc rejects this. */
29354 char const *s = 0 ? (char *) 0 : (char const *) 0;
29359 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
29360 int x[] = {25, 17};
29361 @@ -20351,7 +21169,9 @@ main ()
29363 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
29364 const int foo = 10;
29365 + if (!foo) return 0;
29367 + return !cs[0] && !zero.x;
29371 @@ -20359,50 +21179,47 @@ main ()
29374 rm -f conftest.$ac_objext
29375 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29376 - (eval $ac_compile) 2>conftest.er1
29377 +if { (ac_try="$ac_compile"
29378 +case "(($ac_try" in
29379 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29380 + *) ac_try_echo=$ac_try;;
29382 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29383 +$as_echo "$ac_try_echo") >&5
29384 + (eval "$ac_compile") 2>conftest.er1
29386 grep -v '^ *+' conftest.er1 >conftest.err
29388 cat conftest.err >&5
29389 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29390 - (exit $ac_status); } &&
29391 - { ac_try='test -z "$ac_c_werror_flag"
29392 - || test ! -s conftest.err'
29393 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29394 - (eval $ac_try) 2>&5
29396 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29397 - (exit $ac_status); }; } &&
29398 - { ac_try='test -s conftest.$ac_objext'
29399 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29400 - (eval $ac_try) 2>&5
29402 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29403 - (exit $ac_status); }; }; then
29404 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29405 + (exit $ac_status); } && {
29406 + test -z "$ac_c_werror_flag" ||
29407 + test ! -s conftest.err
29408 + } && test -s conftest.$ac_objext; then
29411 - echo "$as_me: failed program was:" >&5
29412 + $as_echo "$as_me: failed program was:" >&5
29413 sed 's/^/| /' conftest.$ac_ext >&5
29418 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29420 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29422 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
29423 -echo "${ECHO_T}$ac_cv_c_const" >&6
29424 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
29425 +$as_echo "$ac_cv_c_const" >&6; }
29426 if test $ac_cv_c_const = no; then
29428 cat >>confdefs.h <<\_ACEOF
29430 +#define const /**/
29435 -echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
29436 -echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
29437 +{ $as_echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
29438 +$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
29439 if test "${ac_cv_type_uid_t+set}" = set; then
29440 - echo $ECHO_N "(cached) $ECHO_C" >&6
29441 + $as_echo_n "(cached) " >&6
29443 cat >conftest.$ac_ext <<_ACEOF
29445 @@ -20422,8 +21239,8 @@ fi
29449 -echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29450 -echo "${ECHO_T}$ac_cv_type_uid_t" >&6
29451 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29452 +$as_echo "$ac_cv_type_uid_t" >&6; }
29453 if test $ac_cv_type_uid_t = no; then
29455 cat >>confdefs.h <<\_ACEOF
29456 @@ -20437,12 +21254,13 @@ _ACEOF
29460 -echo "$as_me:$LINENO: checking for size_t" >&5
29461 -echo $ECHO_N "checking for size_t... $ECHO_C" >&6
29462 +{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
29463 +$as_echo_n "checking for size_t... " >&6; }
29464 if test "${ac_cv_type_size_t+set}" = set; then
29465 - echo $ECHO_N "(cached) $ECHO_C" >&6
29466 + $as_echo_n "(cached) " >&6
29468 - cat >conftest.$ac_ext <<_ACEOF
29469 + ac_cv_type_size_t=no
29470 +cat >conftest.$ac_ext <<_ACEOF
29473 cat confdefs.h >>conftest.$ac_ext
29474 @@ -20452,63 +21270,101 @@ $ac_includes_default
29480 if (sizeof (size_t))
29487 rm -f conftest.$ac_objext
29488 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29489 - (eval $ac_compile) 2>conftest.er1
29490 +if { (ac_try="$ac_compile"
29491 +case "(($ac_try" in
29492 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29493 + *) ac_try_echo=$ac_try;;
29495 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29496 +$as_echo "$ac_try_echo") >&5
29497 + (eval "$ac_compile") 2>conftest.er1
29499 grep -v '^ *+' conftest.er1 >conftest.err
29501 cat conftest.err >&5
29502 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29503 - (exit $ac_status); } &&
29504 - { ac_try='test -z "$ac_c_werror_flag"
29505 - || test ! -s conftest.err'
29506 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29507 - (eval $ac_try) 2>&5
29509 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29510 - (exit $ac_status); }; } &&
29511 - { ac_try='test -s conftest.$ac_objext'
29512 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29513 - (eval $ac_try) 2>&5
29514 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29515 + (exit $ac_status); } && {
29516 + test -z "$ac_c_werror_flag" ||
29517 + test ! -s conftest.err
29518 + } && test -s conftest.$ac_objext; then
29519 + cat >conftest.$ac_ext <<_ACEOF
29522 +cat confdefs.h >>conftest.$ac_ext
29523 +cat >>conftest.$ac_ext <<_ACEOF
29524 +/* end confdefs.h. */
29525 +$ac_includes_default
29529 +if (sizeof ((size_t)))
29535 +rm -f conftest.$ac_objext
29536 +if { (ac_try="$ac_compile"
29537 +case "(($ac_try" in
29538 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29539 + *) ac_try_echo=$ac_try;;
29541 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29542 +$as_echo "$ac_try_echo") >&5
29543 + (eval "$ac_compile") 2>conftest.er1
29545 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29546 - (exit $ac_status); }; }; then
29547 - ac_cv_type_size_t=yes
29548 + grep -v '^ *+' conftest.er1 >conftest.err
29549 + rm -f conftest.er1
29550 + cat conftest.err >&5
29551 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29552 + (exit $ac_status); } && {
29553 + test -z "$ac_c_werror_flag" ||
29554 + test ! -s conftest.err
29555 + } && test -s conftest.$ac_objext; then
29558 - echo "$as_me: failed program was:" >&5
29559 + $as_echo "$as_me: failed program was:" >&5
29560 sed 's/^/| /' conftest.$ac_ext >&5
29562 -ac_cv_type_size_t=no
29563 + ac_cv_type_size_t=yes
29565 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29567 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29569 + $as_echo "$as_me: failed program was:" >&5
29570 +sed 's/^/| /' conftest.$ac_ext >&5
29575 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29577 -echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29578 -echo "${ECHO_T}$ac_cv_type_size_t" >&6
29579 -if test $ac_cv_type_size_t = yes; then
29580 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29581 +$as_echo "$ac_cv_type_size_t" >&6; }
29582 +if test "x$ac_cv_type_size_t" = x""yes; then
29586 cat >>confdefs.h <<_ACEOF
29587 -#define size_t unsigned
29588 +#define size_t unsigned int
29593 -echo "$as_me:$LINENO: checking for socklen_t" >&5
29594 -echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
29595 +{ $as_echo "$as_me:$LINENO: checking for socklen_t" >&5
29596 +$as_echo_n "checking for socklen_t... " >&6; }
29597 if test "${ac_cv_type_socklen_t+set}" = set; then
29598 - echo $ECHO_N "(cached) $ECHO_C" >&6
29599 + $as_echo_n "(cached) " >&6
29601 - cat >conftest.$ac_ext <<_ACEOF
29602 + ac_cv_type_socklen_t=no
29603 +cat >conftest.$ac_ext <<_ACEOF
29606 cat confdefs.h >>conftest.$ac_ext
29607 @@ -20522,48 +21378,89 @@ cat >>conftest.$ac_ext <<_ACEOF
29611 -if ((socklen_t *) 0)
29613 if (sizeof (socklen_t))
29620 rm -f conftest.$ac_objext
29621 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29622 - (eval $ac_compile) 2>conftest.er1
29623 +if { (ac_try="$ac_compile"
29624 +case "(($ac_try" in
29625 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29626 + *) ac_try_echo=$ac_try;;
29628 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29629 +$as_echo "$ac_try_echo") >&5
29630 + (eval "$ac_compile") 2>conftest.er1
29632 grep -v '^ *+' conftest.er1 >conftest.err
29634 cat conftest.err >&5
29635 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29636 - (exit $ac_status); } &&
29637 - { ac_try='test -z "$ac_c_werror_flag"
29638 - || test ! -s conftest.err'
29639 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29640 - (eval $ac_try) 2>&5
29642 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29643 - (exit $ac_status); }; } &&
29644 - { ac_try='test -s conftest.$ac_objext'
29645 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29646 - (eval $ac_try) 2>&5
29647 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29648 + (exit $ac_status); } && {
29649 + test -z "$ac_c_werror_flag" ||
29650 + test ! -s conftest.err
29651 + } && test -s conftest.$ac_objext; then
29652 + cat >conftest.$ac_ext <<_ACEOF
29655 +cat confdefs.h >>conftest.$ac_ext
29656 +cat >>conftest.$ac_ext <<_ACEOF
29657 +/* end confdefs.h. */
29659 +#include <unistd.h>
29660 +#include <sys/socket.h>
29666 +if (sizeof ((socklen_t)))
29672 +rm -f conftest.$ac_objext
29673 +if { (ac_try="$ac_compile"
29674 +case "(($ac_try" in
29675 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29676 + *) ac_try_echo=$ac_try;;
29678 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29679 +$as_echo "$ac_try_echo") >&5
29680 + (eval "$ac_compile") 2>conftest.er1
29682 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29683 - (exit $ac_status); }; }; then
29684 - ac_cv_type_socklen_t=yes
29685 + grep -v '^ *+' conftest.er1 >conftest.err
29686 + rm -f conftest.er1
29687 + cat conftest.err >&5
29688 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29689 + (exit $ac_status); } && {
29690 + test -z "$ac_c_werror_flag" ||
29691 + test ! -s conftest.err
29692 + } && test -s conftest.$ac_objext; then
29695 + $as_echo "$as_me: failed program was:" >&5
29696 +sed 's/^/| /' conftest.$ac_ext >&5
29698 + ac_cv_type_socklen_t=yes
29701 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29703 - echo "$as_me: failed program was:" >&5
29704 + $as_echo "$as_me: failed program was:" >&5
29705 sed 's/^/| /' conftest.$ac_ext >&5
29707 -ac_cv_type_socklen_t=no
29710 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29712 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29714 -echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
29715 -echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
29716 -if test $ac_cv_type_socklen_t = yes; then
29717 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
29718 +$as_echo "$ac_cv_type_socklen_t" >&6; }
29719 +if test "x$ac_cv_type_socklen_t" = x""yes; then
29721 cat >>confdefs.h <<_ACEOF
29722 #define HAVE_SOCKLEN_T 1
29723 @@ -20585,7 +21482,7 @@ cat >>confdefs.h <<_ACEOF
29727 - ac_config_files="$ac_config_files Makefile src/Makefile src/version.c"
29728 +ac_config_files="$ac_config_files Makefile src/Makefile src/version.c"
29730 cat >confcache <<\_ACEOF
29731 # This file is a shell script that caches the results of configure
29732 @@ -20605,39 +21502,59 @@ _ACEOF
29734 # The following way of writing the cache mishandles newlines in values,
29735 # but we know of no workaround that is simple, portable, and efficient.
29736 -# So, don't put newlines in cache variables' values.
29737 +# So, we kill variables containing newlines.
29738 # Ultrix sh set writes to stderr and can't be redirected directly,
29739 # and sets the high bit in the cache file unless we assign to the vars.
29742 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
29743 + eval ac_val=\$$ac_var
29744 + case $ac_val in #(
29746 + case $ac_var in #(
29747 + *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
29748 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
29750 + case $ac_var in #(
29751 + _ | IFS | as_nl) ;; #(
29752 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
29753 + *) $as_unset $ac_var ;;
29759 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
29761 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
29762 + *${as_nl}ac_space=\ *)
29763 # `set' does not quote correctly, so add quotes (double-quote
29764 # substitution turns \\\\ into \\, and sed turns \\ into \).
29767 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29771 # `set' quotes correctly as required by POSIX, so do not add quotes.
29773 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29774 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
29782 + /^ac_cv_env_/b end
29786 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29788 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29789 - : end' >>confcache
29790 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
29791 - if test -w $cache_file; then
29792 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29793 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29794 + :end' >>confcache
29795 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
29796 + if test -w "$cache_file"; then
29797 + test "x$cache_file" != "x/dev/null" &&
29798 + { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
29799 +$as_echo "$as_me: updating cache $cache_file" >&6;}
29800 cat confcache >$cache_file
29802 - echo "not updating unwritable cache $cache_file"
29803 + { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
29804 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
29808 @@ -20646,32 +21563,18 @@ test "x$prefix" = xNONE && prefix=$ac_default_prefix
29809 # Let make expand exec_prefix.
29810 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
29812 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
29813 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
29814 -# trailing colons and then remove the whole line if VPATH becomes empty
29815 -# (actually we leave an empty line to preserve line numbers).
29816 -if test "x$srcdir" = x.; then
29817 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
29818 -s/:*\$(srcdir):*/:/;
29819 -s/:*\${srcdir}:*/:/;
29820 -s/:*@srcdir@:*/:/;
29821 -s/^\([^=]*=[ ]*\):*/\1/;
29827 DEFS=-DHAVE_CONFIG_H
29831 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
29832 # 1. Remove the extension, and $U if already installed.
29833 - ac_i=`echo "$ac_i" |
29834 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
29836 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
29837 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
29838 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
29839 + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
29840 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
29841 + # will be set to the directory where LIBOBJS objects are built.
29842 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
29843 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
29845 LIBOBJS=$ac_libobjs
29847 @@ -20679,47 +21582,48 @@ LTLIBOBJS=$ac_ltlibobjs
29850 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
29851 - { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
29852 + { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
29853 Usually this means the macro was only invoked conditionally." >&5
29854 -echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
29855 +$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
29856 Usually this means the macro was only invoked conditionally." >&2;}
29857 { (exit 1); exit 1; }; }
29859 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
29860 - { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
29861 + { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
29862 Usually this means the macro was only invoked conditionally." >&5
29863 -echo "$as_me: error: conditional \"AMDEP\" was never defined.
29864 +$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
29865 Usually this means the macro was only invoked conditionally." >&2;}
29866 { (exit 1); exit 1; }; }
29868 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
29869 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
29870 + { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
29871 Usually this means the macro was only invoked conditionally." >&5
29872 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
29873 +$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
29874 Usually this means the macro was only invoked conditionally." >&2;}
29875 { (exit 1); exit 1; }; }
29877 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
29878 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
29879 + { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
29880 Usually this means the macro was only invoked conditionally." >&5
29881 -echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
29882 +$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
29883 Usually this means the macro was only invoked conditionally." >&2;}
29884 { (exit 1); exit 1; }; }
29886 if test -z "${RENAME_TRUE}" && test -z "${RENAME_FALSE}"; then
29887 - { { echo "$as_me:$LINENO: error: conditional \"RENAME\" was never defined.
29888 + { { $as_echo "$as_me:$LINENO: error: conditional \"RENAME\" was never defined.
29889 Usually this means the macro was only invoked conditionally." >&5
29890 -echo "$as_me: error: conditional \"RENAME\" was never defined.
29891 +$as_echo "$as_me: error: conditional \"RENAME\" was never defined.
29892 Usually this means the macro was only invoked conditionally." >&2;}
29893 { (exit 1); exit 1; }; }
29896 : ${CONFIG_STATUS=./config.status}
29898 ac_clean_files_save=$ac_clean_files
29899 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
29900 -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
29901 -echo "$as_me: creating $CONFIG_STATUS" >&6;}
29902 -cat >$CONFIG_STATUS <<_ACEOF
29903 +{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
29904 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
29905 +cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29907 # Generated by $as_me.
29908 # Run this file to recreate the current configuration.
29909 @@ -20732,22 +21636,78 @@ ac_cs_silent=false
29910 SHELL=\${CONFIG_SHELL-$SHELL}
29913 -cat >>$CONFIG_STATUS <<\_ACEOF
29914 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29915 ## --------------------- ##
29916 ## M4sh Initialization. ##
29917 ## --------------------- ##
29919 -# Be Bourne compatible
29920 +# Be more Bourne compatible
29921 +DUALCASE=1; export DUALCASE # for MKS sh
29922 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
29925 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
29926 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
29927 # is contrary to our usage. Disable this feature.
29928 alias -g '${1+"$@"}'='"$@"'
29929 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
29931 + setopt NO_GLOB_SUBST
29933 + case `(set -o) 2>/dev/null` in
29934 + *posix*) set -o posix ;;
29943 +# Avoid depending upon Character Ranges.
29944 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
29945 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
29946 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
29947 +as_cr_digits='0123456789'
29948 +as_cr_alnum=$as_cr_Letters$as_cr_digits
29953 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
29954 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
29955 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
29956 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
29957 +if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
29958 + as_echo='printf %s\n'
29959 + as_echo_n='printf %s'
29961 + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
29962 + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
29963 + as_echo_n='/usr/ucb/echo -n'
29965 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
29966 + as_echo_n_body='eval
29970 + expr "X$arg" : "X\\(.*\\)$as_nl";
29971 + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
29973 + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
29975 + export as_echo_n_body
29976 + as_echo_n='sh -c $as_echo_n_body as_echo'
29978 + export as_echo_body
29979 + as_echo='sh -c $as_echo_body as_echo'
29982 +# The user is always right.
29983 +if test "${PATH_SEPARATOR+set}" != set; then
29985 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
29986 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
29987 + PATH_SEPARATOR=';'
29990 -DUALCASE=1; export DUALCASE # for MKS sh
29992 # Support unset when possible.
29993 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29994 @@ -20757,33 +21717,60 @@ else
29999 +# We need space, tab and new line, in precisely that order. Quoting is
30000 +# there to prevent editors from complaining about space-tab.
30001 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
30002 +# splitting by setting IFS to empty value.)
30005 +# Find who we are. Look in the path if we contain no directory separator.
30007 + *[\\/]* ) as_myself=$0 ;;
30008 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30009 +for as_dir in $PATH
30012 + test -z "$as_dir" && as_dir=.
30013 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
30019 +# We did not find ourselves, most probably we were run as `sh COMMAND'
30020 +# in which case we are not to be found in the path.
30021 +if test "x$as_myself" = x; then
30024 +if test ! -f "$as_myself"; then
30025 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
30026 + { (exit 1); exit 1; }
30029 # Work around bugs in pre-3.0 UWIN ksh.
30030 -$as_unset ENV MAIL MAILPATH
30031 +for as_var in ENV MAIL MAILPATH
30032 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
30040 - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
30041 - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
30042 - LC_TELEPHONE LC_TIME
30044 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
30045 - eval $as_var=C; export $as_var
30047 - $as_unset $as_var
30055 # Required to use basename.
30056 -if expr a : '\(a\)' >/dev/null 2>&1; then
30057 +if expr a : '\(a\)' >/dev/null 2>&1 &&
30058 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
30064 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
30065 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
30066 as_basename=basename
30069 @@ -20791,159 +21778,122 @@ fi
30072 # Name of the executable.
30073 -as_me=`$as_basename "$0" ||
30074 +as_me=`$as_basename -- "$0" ||
30075 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
30076 X"$0" : 'X\(//\)$' \| \
30077 - X"$0" : 'X\(/\)$' \| \
30078 - . : '\(.\)' 2>/dev/null ||
30080 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
30081 - /^X\/\(\/\/\)$/{ s//\1/; q; }
30082 - /^X\/\(\/\).*/{ s//\1/; q; }
30085 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
30087 + sed '/^.*\/\([^/][^/]*\)\/*$/{
30101 -# PATH needs CR, and LINENO needs CR and PATH.
30102 -# Avoid depending upon Character Ranges.
30103 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
30104 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
30105 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
30106 -as_cr_digits='0123456789'
30107 -as_cr_alnum=$as_cr_Letters$as_cr_digits
30111 -# The user is always right.
30112 -if test "${PATH_SEPARATOR+set}" != set; then
30113 - echo "#! /bin/sh" >conf$$.sh
30114 - echo "exit 0" >>conf$$.sh
30115 - chmod +x conf$$.sh
30116 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
30117 - PATH_SEPARATOR=';'
30125 as_lineno_1=$LINENO
30126 as_lineno_2=$LINENO
30127 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
30128 test "x$as_lineno_1" != "x$as_lineno_2" &&
30129 - test "x$as_lineno_3" = "x$as_lineno_2" || {
30130 - # Find who we are. Look in the path if we contain no path at all
30131 - # relative or not.
30133 - *[\\/]* ) as_myself=$0 ;;
30134 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30135 -for as_dir in $PATH
30138 - test -z "$as_dir" && as_dir=.
30139 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
30144 - # We did not find ourselves, most probably we were run as `sh COMMAND'
30145 - # in which case we are not to be found in the path.
30146 - if test "x$as_myself" = x; then
30149 - if test ! -f "$as_myself"; then
30150 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
30151 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
30152 - { (exit 1); exit 1; }; }
30154 - case $CONFIG_SHELL in
30156 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30157 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
30160 - test -z "$as_dir" && as_dir=.
30161 - for as_base in sh bash ksh sh5; do
30164 - if ("$as_dir/$as_base" -c '
30165 - as_lineno_1=$LINENO
30166 - as_lineno_2=$LINENO
30167 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
30168 - test "x$as_lineno_1" != "x$as_lineno_2" &&
30169 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
30170 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
30171 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
30172 - CONFIG_SHELL=$as_dir/$as_base
30173 - export CONFIG_SHELL
30174 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
30181 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
30183 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
30184 # uniformly replaced by the line number. The first 'sed' inserts a
30185 - # line-number line before each line; the second 'sed' does the real
30186 - # work. The second script uses 'N' to pair each line-number line
30187 - # with the numbered line, and appends trailing '-' during
30188 - # substitution so that $LINENO is not a special case at line end.
30189 + # line-number line after each line using $LINENO; the second 'sed'
30190 + # does the real work. The second script uses 'N' to pair each
30191 + # line-number line with the line containing $LINENO, and appends
30192 + # trailing '-' during substitution so that $LINENO is not a special
30193 + # case at line end.
30194 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
30195 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
30196 - sed '=' <$as_myself |
30197 + # scripts with optimization help from Paolo Bonzini. Blame Lee
30198 + # E. McMahon (1931-1989) for sed's syntax. :-)
30204 + s/[$]LINENO.*/&-/
30211 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
30213 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
30216 - s,^['$as_cr_digits']*\n,,
30218 ' >$as_me.lineno &&
30219 - chmod +x $as_me.lineno ||
30220 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
30221 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
30222 + chmod +x "$as_me.lineno" ||
30223 + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
30224 { (exit 1); exit 1; }; }
30226 # Don't try to exec as it changes $[0], causing all sort of problems
30227 # (the dirname of $[0] is not the place where we might find the
30228 - # original and so on. Autoconf is especially sensible to this).
30229 - . ./$as_me.lineno
30230 + # original and so on. Autoconf is especially sensitive to this).
30231 + . "./$as_me.lineno"
30232 # Exit status is that of the last command.
30237 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
30238 - *c*,-n*) ECHO_N= ECHO_C='
30240 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
30241 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
30243 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
30244 + as_dirname=dirname
30249 -if expr a : '\(a\)' >/dev/null 2>&1; then
30250 +ECHO_C= ECHO_N= ECHO_T=
30251 +case `echo -n x` in
30253 + case `echo 'x\c'` in
30254 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
30260 +if expr a : '\(a\)' >/dev/null 2>&1 &&
30261 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
30267 rm -f conf$$ conf$$.exe conf$$.file
30269 -if ln -s conf$$.file conf$$ 2>/dev/null; then
30270 - # We could just check for DJGPP; but this test a) works b) is more generic
30271 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
30272 - if test -f conf$$.exe; then
30273 - # Don't use ln at all; we don't have any links
30276 +if test -d conf$$.dir; then
30277 + rm -f conf$$.dir/conf$$.file
30280 + mkdir conf$$.dir 2>/dev/null
30282 +if (echo >conf$$.file) 2>/dev/null; then
30283 + if ln -s conf$$.file conf$$ 2>/dev/null; then
30285 + # ... but there are two gotchas:
30286 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
30287 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
30288 + # In both cases, we have to default to `cp -p'.
30289 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
30291 + elif ln conf$$.file conf$$ 2>/dev/null; then
30296 -elif ln conf$$.file conf$$ 2>/dev/null; then
30301 -rm -f conf$$ conf$$.exe conf$$.file
30302 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
30303 +rmdir conf$$.dir 2>/dev/null
30305 if mkdir -p . 2>/dev/null; then
30307 @@ -20952,7 +21902,28 @@ else
30311 -as_executable_p="test -f"
30312 +if test -x / >/dev/null 2>&1; then
30313 + as_test_x='test -x'
30315 + if ls -dL / >/dev/null 2>&1; then
30322 + if test -d "$1"; then
30328 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
30329 + ???[sx]*):;;*)false;;esac;fi
30333 +as_executable_p=$as_test_x
30335 # Sed expression to map a string onto a valid CPP name.
30336 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
30337 @@ -20961,31 +21932,14 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
30338 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
30342 -# We need space, tab and new line, in precisely that order.
30352 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
30353 +# Save the log message, to keep $[0] and so on meaningful, and to
30354 # report actual input values of CONFIG_FILES etc. instead of their
30355 -# values after options handling. Logging --version etc. is OK.
30356 -exec 5>>config.log
30359 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
30360 -## Running $as_me. ##
30365 +# values after options handling.
30367 This file was extended by $as_me, which was
30368 -generated by GNU Autoconf 2.59. Invocation command line was
30369 +generated by GNU Autoconf 2.63. Invocation command line was
30371 CONFIG_FILES = $CONFIG_FILES
30372 CONFIG_HEADERS = $CONFIG_HEADERS
30373 @@ -20993,45 +21947,45 @@ generated by GNU Autoconf 2.59. Invocation command line was
30374 CONFIG_COMMANDS = $CONFIG_COMMANDS
30378 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
30380 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
30385 -# Files that config.status was made for.
30386 -if test -n "$ac_config_files"; then
30387 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
30389 +case $ac_config_files in *"
30390 +"*) set x $ac_config_files; shift; ac_config_files=$*;;
30393 -if test -n "$ac_config_headers"; then
30394 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
30396 +case $ac_config_headers in *"
30397 +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
30400 -if test -n "$ac_config_links"; then
30401 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
30404 -if test -n "$ac_config_commands"; then
30405 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
30407 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30408 +# Files that config.status was made for.
30409 +config_files="$ac_config_files"
30410 +config_headers="$ac_config_headers"
30411 +config_commands="$ac_config_commands"
30413 -cat >>$CONFIG_STATUS <<\_ACEOF
30416 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30418 \`$as_me' instantiates files from templates according to the
30419 current configuration.
30421 -Usage: $0 [OPTIONS] [FILE]...
30422 +Usage: $0 [OPTION]... [FILE]...
30424 -h, --help print this help, then exit
30425 - -V, --version print version number, then exit
30426 - -q, --quiet do not print progress messages
30427 + -V, --version print version number and configuration settings, then exit
30428 + -q, --quiet, --silent
30429 + do not print progress messages
30430 -d, --debug don't remove temporary files
30431 --recheck update $as_me by reconfiguring in the same conditions
30432 - --file=FILE[:TEMPLATE]
30433 - instantiate the configuration file FILE
30434 - --header=FILE[:TEMPLATE]
30435 - instantiate the configuration header FILE
30436 + --file=FILE[:TEMPLATE]
30437 + instantiate the configuration file FILE
30438 + --header=FILE[:TEMPLATE]
30439 + instantiate the configuration header FILE
30441 Configuration files:
30443 @@ -21043,83 +21997,83 @@ Configuration commands:
30446 Report bugs to <bug-autoconf@gnu.org>."
30449 -cat >>$CONFIG_STATUS <<_ACEOF
30451 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30454 -configured by $0, generated by GNU Autoconf 2.59,
30455 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
30456 +configured by $0, generated by GNU Autoconf 2.63,
30457 + with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
30459 -Copyright (C) 2003 Free Software Foundation, Inc.
30460 +Copyright (C) 2008 Free Software Foundation, Inc.
30461 This config.status script is free software; the Free Software Foundation
30462 gives unlimited permission to copy, distribute and modify it."
30464 -INSTALL="$INSTALL"
30468 +INSTALL='$INSTALL'
30470 +test -n "\$AWK" || AWK=awk
30473 -cat >>$CONFIG_STATUS <<\_ACEOF
30474 -# If no file are specified by the user, then we need to provide default
30475 -# value. By we need to know if files were specified by the user.
30476 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30477 +# The default lists apply if the user does not specify any file.
30483 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
30484 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
30485 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
30486 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
30495 - *) # This is not an option, so the user has probably given explicit
30498 - ac_need_defaults=false;;
30502 # Handling of the options.
30504 -cat >>$CONFIG_STATUS <<\_ACEOF
30505 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
30507 - --version | --vers* | -V )
30508 - echo "$ac_cs_version"; exit 0 ;;
30510 - # Conflict between --help and --header
30511 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
30512 -Try \`$0 --help' for more information." >&5
30513 -echo "$as_me: error: ambiguous option: $1
30514 -Try \`$0 --help' for more information." >&2;}
30515 - { (exit 1); exit 1; }; };;
30516 - --help | --hel | -h )
30517 - echo "$ac_cs_usage"; exit 0 ;;
30518 - --debug | --d* | -d )
30519 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
30520 + $as_echo "$ac_cs_version"; exit ;;
30521 + --debug | --debu | --deb | --de | --d | -d )
30523 --file | --fil | --fi | --f )
30525 - CONFIG_FILES="$CONFIG_FILES $ac_optarg"
30526 + case $ac_optarg in
30527 + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
30529 + CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
30530 ac_need_defaults=false;;
30531 --header | --heade | --head | --hea )
30533 - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
30534 + case $ac_optarg in
30535 + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
30537 + CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
30538 ac_need_defaults=false;;
30540 + # Conflict between --help and --header
30541 + { $as_echo "$as_me: error: ambiguous option: $1
30542 +Try \`$0 --help' for more information." >&2
30543 + { (exit 1); exit 1; }; };;
30544 + --help | --hel | -h )
30545 + $as_echo "$ac_cs_usage"; exit ;;
30546 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
30547 | -silent | --silent | --silen | --sile | --sil | --si | --s)
30550 # This is an error.
30551 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
30552 -Try \`$0 --help' for more information." >&5
30553 -echo "$as_me: error: unrecognized option: $1
30554 -Try \`$0 --help' for more information." >&2;}
30555 + -*) { $as_echo "$as_me: error: unrecognized option: $1
30556 +Try \`$0 --help' for more information." >&2
30557 { (exit 1); exit 1; }; } ;;
30559 - *) ac_config_targets="$ac_config_targets $1" ;;
30560 + *) ac_config_targets="$ac_config_targets $1"
30561 + ac_need_defaults=false ;;
30565 @@ -21133,41 +22087,55 @@ if $ac_cs_silent; then
30569 -cat >>$CONFIG_STATUS <<_ACEOF
30570 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30571 if \$ac_cs_recheck; then
30572 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
30573 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
30574 + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
30576 + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
30577 + CONFIG_SHELL='$SHELL'
30578 + export CONFIG_SHELL
30583 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30584 +exec 5>>config.log
30587 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
30588 +## Running $as_me. ##
30590 + $as_echo "$ac_log"
30593 -cat >>$CONFIG_STATUS <<_ACEOF
30595 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30597 -# INIT-COMMANDS section.
30601 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
30605 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30608 -cat >>$CONFIG_STATUS <<\_ACEOF
30609 +# Handling of arguments.
30610 for ac_config_target in $ac_config_targets
30612 - case "$ac_config_target" in
30613 - # Handling of arguments.
30614 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
30615 - "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
30616 - "src/version.c" ) CONFIG_FILES="$CONFIG_FILES src/version.c" ;;
30617 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
30618 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
30619 - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
30620 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
30621 + case $ac_config_target in
30622 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
30623 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
30624 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
30625 + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
30626 + "src/version.c") CONFIG_FILES="$CONFIG_FILES src/version.c" ;;
30628 + *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
30629 +$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
30630 { (exit 1); exit 1; }; };;
30635 # If the user did not use the arguments to specify the items to instantiate,
30636 # then the envvar interface is used. Set only those that are not.
30637 # We use the long form for the default assignment because of an extremely
30638 @@ -21179,750 +22147,635 @@ if $ac_need_defaults; then
30641 # Have a temporary directory for convenience. Make it in the build tree
30642 -# simply because there is no reason to put it here, and in addition,
30643 +# simply because there is no reason against having it here, and in addition,
30644 # creating and moving files from /tmp can sometimes cause problems.
30645 -# Create a temporary directory, and hook for its removal unless debugging.
30646 +# Hook for its removal unless debugging.
30647 +# Note that there is a small window in which the directory will not be cleaned:
30648 +# after its creation but before its name has been assigned to `$tmp'.
30651 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
30653 + trap 'exit_status=$?
30654 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
30656 trap '{ (exit 1); exit 1; }' 1 2 13 15
30659 # Create a (secure) tmp directory for tmp files.
30662 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
30663 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
30664 test -n "$tmp" && test -d "$tmp"
30667 - tmp=./confstat$$-$RANDOM
30668 - (umask 077 && mkdir $tmp)
30669 + tmp=./conf$$-$RANDOM
30670 + (umask 077 && mkdir "$tmp")
30673 - echo "$me: cannot create a temporary directory in ." >&2
30674 + $as_echo "$as_me: cannot create a temporary directory in ." >&2
30675 { (exit 1); exit 1; }
30678 +# Set up the scripts for CONFIG_FILES section.
30679 +# No need to generate them if there are no CONFIG_FILES.
30680 +# This happens for instance with `./config.status config.h'.
30681 +if test -n "$CONFIG_FILES"; then
30685 +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
30686 +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
30687 + ac_cs_awk_cr='\\r'
30689 + ac_cs_awk_cr=$ac_cr
30692 +echo 'BEGIN {' >"$tmp/subs1.awk" &&
30695 -cat >>$CONFIG_STATUS <<_ACEOF
30698 -# CONFIG_FILES section.
30701 + echo "cat >conf$$subs.awk <<_ACEOF" &&
30702 + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
30704 +} >conf$$subs.sh ||
30705 + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30706 +$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30707 + { (exit 1); exit 1; }; }
30708 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
30710 +for ac_last_try in false false false false false :; do
30711 + . ./conf$$subs.sh ||
30712 + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30713 +$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30714 + { (exit 1); exit 1; }; }
30716 -# No need to generate the scripts if there are no CONFIG_FILES.
30717 -# This happens for instance when ./config.status config.h
30718 -if test -n "\$CONFIG_FILES"; then
30719 - # Protect against being on the right side of a sed subst in config.status.
30720 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
30721 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
30722 -s,@SHELL@,$SHELL,;t t
30723 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
30724 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
30725 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
30726 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
30727 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
30728 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
30729 -s,@exec_prefix@,$exec_prefix,;t t
30730 -s,@prefix@,$prefix,;t t
30731 -s,@program_transform_name@,$program_transform_name,;t t
30732 -s,@bindir@,$bindir,;t t
30733 -s,@sbindir@,$sbindir,;t t
30734 -s,@libexecdir@,$libexecdir,;t t
30735 -s,@datadir@,$datadir,;t t
30736 -s,@sysconfdir@,$sysconfdir,;t t
30737 -s,@sharedstatedir@,$sharedstatedir,;t t
30738 -s,@localstatedir@,$localstatedir,;t t
30739 -s,@libdir@,$libdir,;t t
30740 -s,@includedir@,$includedir,;t t
30741 -s,@oldincludedir@,$oldincludedir,;t t
30742 -s,@infodir@,$infodir,;t t
30743 -s,@mandir@,$mandir,;t t
30744 -s,@build_alias@,$build_alias,;t t
30745 -s,@host_alias@,$host_alias,;t t
30746 -s,@target_alias@,$target_alias,;t t
30747 -s,@DEFS@,$DEFS,;t t
30748 -s,@ECHO_C@,$ECHO_C,;t t
30749 -s,@ECHO_N@,$ECHO_N,;t t
30750 -s,@ECHO_T@,$ECHO_T,;t t
30751 -s,@LIBS@,$LIBS,;t t
30752 -s,@build@,$build,;t t
30753 -s,@build_cpu@,$build_cpu,;t t
30754 -s,@build_vendor@,$build_vendor,;t t
30755 -s,@build_os@,$build_os,;t t
30756 -s,@host@,$host,;t t
30757 -s,@host_cpu@,$host_cpu,;t t
30758 -s,@host_vendor@,$host_vendor,;t t
30759 -s,@host_os@,$host_os,;t t
30760 -s,@target@,$target,;t t
30761 -s,@target_cpu@,$target_cpu,;t t
30762 -s,@target_vendor@,$target_vendor,;t t
30763 -s,@target_os@,$target_os,;t t
30764 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
30765 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
30766 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
30767 -s,@CYGPATH_W@,$CYGPATH_W,;t t
30768 -s,@PACKAGE@,$PACKAGE,;t t
30769 -s,@VERSION@,$VERSION,;t t
30770 -s,@ACLOCAL@,$ACLOCAL,;t t
30771 -s,@AUTOCONF@,$AUTOCONF,;t t
30772 -s,@AUTOMAKE@,$AUTOMAKE,;t t
30773 -s,@AUTOHEADER@,$AUTOHEADER,;t t
30774 -s,@MAKEINFO@,$MAKEINFO,;t t
30775 -s,@install_sh@,$install_sh,;t t
30776 -s,@STRIP@,$STRIP,;t t
30777 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
30778 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
30779 -s,@mkdir_p@,$mkdir_p,;t t
30781 -s,@SET_MAKE@,$SET_MAKE,;t t
30782 -s,@am__leading_dot@,$am__leading_dot,;t t
30783 -s,@AMTAR@,$AMTAR,;t t
30784 -s,@am__tar@,$am__tar,;t t
30785 -s,@am__untar@,$am__untar,;t t
30786 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
30787 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
30788 -s,@MAINT@,$MAINT,;t t
30790 -s,@CFLAGS@,$CFLAGS,;t t
30791 -s,@LDFLAGS@,$LDFLAGS,;t t
30792 -s,@CPPFLAGS@,$CPPFLAGS,;t t
30793 -s,@ac_ct_CC@,$ac_ct_CC,;t t
30794 -s,@EXEEXT@,$EXEEXT,;t t
30795 -s,@OBJEXT@,$OBJEXT,;t t
30796 -s,@DEPDIR@,$DEPDIR,;t t
30797 -s,@am__include@,$am__include,;t t
30798 -s,@am__quote@,$am__quote,;t t
30799 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
30800 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
30801 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
30802 -s,@CCDEPMODE@,$CCDEPMODE,;t t
30803 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
30804 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
30805 -s,@EGREP@,$EGREP,;t t
30806 -s,@LN_S@,$LN_S,;t t
30807 -s,@ECHO@,$ECHO,;t t
30809 -s,@ac_ct_AR@,$ac_ct_AR,;t t
30810 -s,@RANLIB@,$RANLIB,;t t
30811 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
30814 -s,@CXXFLAGS@,$CXXFLAGS,;t t
30815 -s,@ac_ct_CXX@,$ac_ct_CXX,;t t
30816 -s,@CXXDEPMODE@,$CXXDEPMODE,;t t
30817 -s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
30818 -s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
30819 -s,@CXXCPP@,$CXXCPP,;t t
30821 -s,@FFLAGS@,$FFLAGS,;t t
30822 -s,@ac_ct_F77@,$ac_ct_F77,;t t
30823 -s,@LIBTOOL@,$LIBTOOL,;t t
30824 -s,@RENAME_TRUE@,$RENAME_TRUE,;t t
30825 -s,@RENAME_FALSE@,$RENAME_FALSE,;t t
30826 -s,@LIBVER@,$LIBVER,;t t
30828 -s,@LIBOBJS@,$LIBOBJS,;t t
30829 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
30831 + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
30832 + if test $ac_delim_n = $ac_delim_num; then
30834 + elif $ac_last_try; then
30835 + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30836 +$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30837 + { (exit 1); exit 1; }; }
30839 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30842 +rm -f conf$$subs.sh
30844 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30845 +cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
30849 +s/^/S["/; s/!.*/"]=/
30855 +s/'"$ac_delim"'$//
30859 +s/\(.\{148\}\).*/\1/
30861 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
30866 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
30873 +s/\(.\{148\}\).*/\1/
30875 +s/["\\]/\\&/g; s/^/"/; s/$/"/
30879 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
30884 +' <conf$$subs.awk | sed '
30889 +' >>$CONFIG_STATUS || ac_write_fail=1
30890 +rm -f conf$$subs.awk
30891 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30893 +cat >>"\$tmp/subs1.awk" <<_ACAWK &&
30894 + for (key in S) S_is_set[key] = 1
30897 - cat >>$CONFIG_STATUS <<\_ACEOF
30898 - # Split the substitutions into bite-sized pieces for seds with
30899 - # small command number limits, like on Digital OSF/1 and HP-UX.
30900 - ac_max_sed_lines=48
30901 - ac_sed_frag=1 # Number of current file.
30902 - ac_beg=1 # First line for current file.
30903 - ac_end=$ac_max_sed_lines # Line after last line for current file.
30906 - while $ac_more_lines; do
30907 - if test $ac_beg -gt 1; then
30908 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
30910 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
30912 - if test ! -s $tmp/subs.frag; then
30913 - ac_more_lines=false
30915 - # The purpose of the label and of the branching condition is to
30916 - # speed up the sed processing (if there are no `@' at all, there
30917 - # is no need to browse any of the substitutions).
30918 - # These are the two extra sed commands mentioned above.
30920 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
30921 - if test -z "$ac_sed_cmds"; then
30922 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
30924 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
30926 - ac_sed_frag=`expr $ac_sed_frag + 1`
30928 - ac_end=`expr $ac_end + $ac_max_sed_lines`
30931 - if test -z "$ac_sed_cmds"; then
30937 + nfields = split(line, field, "@")
30939 + len = length(field[1])
30940 + for (i = 2; i < nfields; i++) {
30942 + keylen = length(key)
30943 + if (S_is_set[key]) {
30945 + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
30946 + len += length(value) + length(field[++i])
30949 + len += 1 + keylen
30957 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30958 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
30959 + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
30962 +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
30963 + || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
30964 +$as_echo "$as_me: error: could not setup config files machinery" >&2;}
30965 + { (exit 1); exit 1; }; }
30968 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
30969 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
30970 +# trailing colons and then remove the whole line if VPATH becomes empty
30971 +# (actually we leave an empty line to preserve line numbers).
30972 +if test "x$srcdir" = x.; then
30973 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
30974 +s/:*\$(srcdir):*/:/
30975 +s/:*\${srcdir}:*/:/
30977 +s/^\([^=]*=[ ]*\):*/\1/
30983 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30984 fi # test -n "$CONFIG_FILES"
30986 +# Set up the scripts for CONFIG_HEADERS section.
30987 +# No need to generate them if there are no CONFIG_HEADERS.
30988 +# This happens for instance with `./config.status Makefile'.
30989 +if test -n "$CONFIG_HEADERS"; then
30990 +cat >"$tmp/defines.awk" <<\_ACAWK ||
30993 -cat >>$CONFIG_STATUS <<\_ACEOF
30994 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
30995 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
30997 - - | *:- | *:-:* ) # input from stdin
30999 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
31000 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
31001 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
31002 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
31003 - * ) ac_file_in=$ac_file.in ;;
31005 +# Transform confdefs.h into an awk script `defines.awk', embedded as
31006 +# here-document in config.status, that substitutes the proper values into
31007 +# config.h.in to produce config.h.
31009 +# Create a delimiter string that does not exist in confdefs.h, to ease
31010 +# handling of long lines.
31012 +for ac_last_try in false false :; do
31013 + ac_t=`sed -n "/$ac_delim/p" confdefs.h`
31014 + if test -z "$ac_t"; then
31016 + elif $ac_last_try; then
31017 + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
31018 +$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
31019 + { (exit 1); exit 1; }; }
31021 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
31025 +# For the awk script, D is an array of macro values keyed by name,
31026 +# likewise P contains macro parameters if any. Preserve backslash
31027 +# newline sequences.
31029 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
31031 +s/.\{148\}/&'"$ac_delim"'/g
31034 +s/^[ ]*#[ ]*define[ ][ ]*/ /
31041 +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
31043 +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
31047 +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
31048 +D["\1"]=" \3\\\\\\n"\\/p
31050 +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
31055 +s/.\{148\}/&'"$ac_delim"'/g
31060 +s/["\\]/\\&/g; s/^/"/; s/$/"/p
31063 +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
31065 +' <confdefs.h | sed '
31066 +s/'"$ac_delim"'/"\\\
31067 +"/g' >>$CONFIG_STATUS || ac_write_fail=1
31069 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31070 + for (key in D) D_is_set[key] = 1
31073 +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
31075 + split(line, arg, " ")
31076 + if (arg[1] == "#") {
31077 + defundef = arg[2]
31080 + defundef = substr(arg[1], 2)
31083 + split(mac1, mac2, "(") #)
31085 + prefix = substr(line, 1, index(line, defundef) - 1)
31086 + if (D_is_set[macro]) {
31087 + # Preserve the white space surrounding the "#".
31088 + print prefix "define", macro P[macro] D[macro]
31091 + # Replace #undef with comments. This is necessary, for example,
31092 + # in the case of _POSIX_SOURCE, which is predefined and required
31093 + # on some systems where configure will not decide to define it.
31094 + if (defundef == "undef") {
31095 + print "/*", prefix defundef, macro, "*/"
31103 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31104 + { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
31105 +$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
31106 + { (exit 1); exit 1; }; }
31107 +fi # test -n "$CONFIG_HEADERS"
31110 +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
31115 + :[FHLC]) ac_mode=$ac_tag; continue;;
31117 + case $ac_mode$ac_tag in
31119 + :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
31120 +$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
31121 + { (exit 1); exit 1; }; };;
31122 + :[FH]-) ac_tag=-:-;;
31123 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
31134 + :L) ac_source=$1;;
31140 + -) ac_f="$tmp/stdin";;
31141 + *) # Look for the file first in the build tree, then in the source tree
31142 + # (if the path is not absolute). The absolute path cannot be DOS-style,
31143 + # because $ac_f cannot contain `:'.
31144 + test -f "$ac_f" ||
31147 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
31149 + { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
31150 +$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
31151 + { (exit 1); exit 1; }; };;
31153 + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
31154 + ac_file_inputs="$ac_file_inputs '$ac_f'"
31157 + # Let's still pretend it is `configure' which instantiates (i.e., don't
31158 + # use $as_me), people would be surprised to read:
31159 + # /* config.h. Generated by config.status. */
31160 + configure_input='Generated from '`
31161 + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
31162 + `' by configure.'
31163 + if test x"$ac_file" != x-; then
31164 + configure_input="$ac_file. $configure_input"
31165 + { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
31166 +$as_echo "$as_me: creating $ac_file" >&6;}
31168 + # Neutralize special characters interpreted by sed in replacement strings.
31169 + case $configure_input in #(
31170 + *\&* | *\|* | *\\* )
31171 + ac_sed_conf_input=`$as_echo "$configure_input" |
31172 + sed 's/[\\\\&|]/\\\\&/g'`;; #(
31173 + *) ac_sed_conf_input=$configure_input;;
31177 + *:-:* | *:-) cat >"$tmp/stdin" \
31178 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
31179 +$as_echo "$as_me: error: could not create $ac_file" >&2;}
31180 + { (exit 1); exit 1; }; } ;;
31185 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
31186 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
31187 + ac_dir=`$as_dirname -- "$ac_file" ||
31188 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31189 X"$ac_file" : 'X\(//\)[^/]' \| \
31190 X"$ac_file" : 'X\(//\)$' \| \
31191 - X"$ac_file" : 'X\(/\)' \| \
31192 - . : '\(.\)' 2>/dev/null ||
31193 -echo X"$ac_file" |
31194 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31195 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31196 - /^X\(\/\/\)$/{ s//\1/; q; }
31197 - /^X\(\/\).*/{ s//\1/; q; }
31199 - { if $as_mkdir_p; then
31200 - mkdir -p "$ac_dir"
31203 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
31204 +$as_echo X"$ac_file" |
31205 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31209 + /^X\(\/\/\)[^/].*/{
31222 + { as_dir="$ac_dir"
31223 + case $as_dir in #(
31224 + -*) as_dir=./$as_dir;;
31226 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
31228 - while test ! -d "$as_dir"; do
31229 - as_dirs="$as_dir $as_dirs"
31230 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
31232 + case $as_dir in #(
31233 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
31234 + *) as_qdir=$as_dir;;
31236 + as_dirs="'$as_qdir' $as_dirs"
31237 + as_dir=`$as_dirname -- "$as_dir" ||
31238 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31239 X"$as_dir" : 'X\(//\)[^/]' \| \
31240 X"$as_dir" : 'X\(//\)$' \| \
31241 - X"$as_dir" : 'X\(/\)' \| \
31242 - . : '\(.\)' 2>/dev/null ||
31244 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31245 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31246 - /^X\(\/\/\)$/{ s//\1/; q; }
31247 - /^X\(\/\).*/{ s//\1/; q; }
31249 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
31250 +$as_echo X"$as_dir" |
31251 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31255 + /^X\(\/\/\)[^/].*/{
31268 + test -d "$as_dir" && break
31270 - test ! -n "$as_dirs" || mkdir $as_dirs
31271 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31272 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31273 + test -z "$as_dirs" || eval "mkdir $as_dirs"
31274 + } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
31275 +$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
31276 { (exit 1); exit 1; }; }; }
31280 -if test "$ac_dir" != .; then
31281 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31282 - # A "../" for each directory in $ac_dir_suffix.
31283 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31285 - ac_dir_suffix= ac_top_builddir=
31288 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
31290 + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
31291 + # A ".." for each directory in $ac_dir_suffix.
31292 + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
31293 + case $ac_top_builddir_sub in
31294 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
31295 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
31298 +ac_abs_top_builddir=$ac_pwd
31299 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
31300 +# for backward compatibility:
31301 +ac_top_builddir=$ac_top_build_prefix
31304 - .) # No --srcdir option. We are building in place.
31305 + .) # We are building in place.
31307 - if test -z "$ac_top_builddir"; then
31310 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
31312 - [\\/]* | ?:[\\/]* ) # Absolute path.
31313 + ac_top_srcdir=$ac_top_builddir_sub
31314 + ac_abs_top_srcdir=$ac_pwd ;;
31315 + [\\/]* | ?:[\\/]* ) # Absolute name.
31316 ac_srcdir=$srcdir$ac_dir_suffix;
31317 - ac_top_srcdir=$srcdir ;;
31318 - *) # Relative path.
31319 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
31320 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
31321 + ac_top_srcdir=$srcdir
31322 + ac_abs_top_srcdir=$srcdir ;;
31323 + *) # Relative name.
31324 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
31325 + ac_top_srcdir=$ac_top_build_prefix$srcdir
31326 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
31328 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
31330 -# Do not use `cd foo && pwd` to compute absolute paths, because
31331 -# the directories may not exist.
31333 -.) ac_abs_builddir="$ac_dir";;
31335 - case "$ac_dir" in
31336 - .) ac_abs_builddir=`pwd`;;
31337 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
31338 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
31341 -case $ac_abs_builddir in
31342 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
31344 - case ${ac_top_builddir}. in
31345 - .) ac_abs_top_builddir=$ac_abs_builddir;;
31346 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
31347 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
31350 -case $ac_abs_builddir in
31351 -.) ac_abs_srcdir=$ac_srcdir;;
31353 - case $ac_srcdir in
31354 - .) ac_abs_srcdir=$ac_abs_builddir;;
31355 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
31356 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
31359 -case $ac_abs_builddir in
31360 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
31362 - case $ac_top_srcdir in
31363 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
31364 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
31365 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
31376 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
31377 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
31378 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
31382 - if test x"$ac_file" != x-; then
31383 - { echo "$as_me:$LINENO: creating $ac_file" >&5
31384 -echo "$as_me: creating $ac_file" >&6;}
31387 - # Let's still pretend it is `configure' which instantiates (i.e., don't
31388 - # use $as_me), people would be surprised to read:
31389 - # /* config.h. Generated by config.status. */
31390 - if test x"$ac_file" = x-; then
31393 - configure_input="$ac_file. "
31395 - configure_input=$configure_input"Generated from `echo $ac_file_in |
31396 - sed 's,.*/,,'` by configure."
31398 - # First look for the input files in the build tree, otherwise in the
31400 - ac_file_inputs=`IFS=:
31401 - for f in $ac_file_in; do
31403 - -) echo $tmp/stdin ;;
31405 - # Absolute (can't be DOS-style, as IFS=:)
31406 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31407 -echo "$as_me: error: cannot find input file: $f" >&2;}
31408 - { (exit 1); exit 1; }; }
31411 - if test -f "$f"; then
31414 - elif test -f "$srcdir/$f"; then
31416 - echo "$srcdir/$f"
31419 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31420 -echo "$as_me: error: cannot find input file: $f" >&2;}
31421 - { (exit 1); exit 1; }; }
31424 - done` || { (exit 1); exit 1; }
31425 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31426 +# If the template does not know about datarootdir, expand it.
31427 +# FIXME: This hack should be removed a few years after 2.60.
31428 +ac_datarootdir_hack=; ac_datarootdir_seen=
31441 +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
31442 +*datarootdir*) ac_datarootdir_seen=yes;;
31443 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
31444 + { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
31445 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
31447 -cat >>$CONFIG_STATUS <<_ACEOF
31449 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31450 + ac_datarootdir_hack='
31451 + s&@datadir@&$datadir&g
31452 + s&@docdir@&$docdir&g
31453 + s&@infodir@&$infodir&g
31454 + s&@localedir@&$localedir&g
31455 + s&@mandir@&$mandir&g
31456 + s&\\\${datarootdir}&$datarootdir&g' ;;
31460 +# Neutralize VPATH when `$srcdir' = `.'.
31461 +# Shell code in configure.ac might set extrasub.
31462 +# FIXME: do we really want to maintain this feature?
31463 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31464 +ac_sed_extra="$ac_vpsub
31467 -cat >>$CONFIG_STATUS <<\_ACEOF
31468 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31470 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
31471 -s,@configure_input@,$configure_input,;t t
31472 -s,@srcdir@,$ac_srcdir,;t t
31473 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
31474 -s,@top_srcdir@,$ac_top_srcdir,;t t
31475 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
31476 -s,@builddir@,$ac_builddir,;t t
31477 -s,@abs_builddir@,$ac_abs_builddir,;t t
31478 -s,@top_builddir@,$ac_top_builddir,;t t
31479 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
31480 -s,@INSTALL@,$ac_INSTALL,;t t
31481 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
31483 - if test x"$ac_file" != x-; then
31484 - mv $tmp/out $ac_file
31492 -cat >>$CONFIG_STATUS <<\_ACEOF
31493 +s|@configure_input@|$ac_sed_conf_input|;t t
31494 +s&@top_builddir@&$ac_top_builddir_sub&;t t
31495 +s&@top_build_prefix@&$ac_top_build_prefix&;t t
31496 +s&@srcdir@&$ac_srcdir&;t t
31497 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
31498 +s&@top_srcdir@&$ac_top_srcdir&;t t
31499 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
31500 +s&@builddir@&$ac_builddir&;t t
31501 +s&@abs_builddir@&$ac_abs_builddir&;t t
31502 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
31503 +s&@INSTALL@&$ac_INSTALL&;t t
31504 +$ac_datarootdir_hack
31506 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
31507 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
31508 +$as_echo "$as_me: error: could not create $ac_file" >&2;}
31509 + { (exit 1); exit 1; }; }
31512 -# CONFIG_HEADER section.
31514 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
31515 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
31516 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
31517 + { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
31518 +which seems to be undefined. Please make sure it is defined." >&5
31519 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
31520 +which seems to be undefined. Please make sure it is defined." >&2;}
31522 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
31523 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
31525 -# ac_d sets the value in "#define NAME VALUE" lines.
31526 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
31527 -ac_dB='[ ].*$,\1#\2'
31530 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
31531 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
31532 -ac_uB='$,\1#\2define\3'
31536 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
31537 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
31538 + rm -f "$tmp/stdin"
31540 - - | *:- | *:-:* ) # input from stdin
31542 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
31543 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
31544 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
31545 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
31546 - * ) ac_file_in=$ac_file.in ;;
31549 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
31550 -echo "$as_me: creating $ac_file" >&6;}
31552 - # First look for the input files in the build tree, otherwise in the
31554 - ac_file_inputs=`IFS=:
31555 - for f in $ac_file_in; do
31557 - -) echo $tmp/stdin ;;
31559 - # Absolute (can't be DOS-style, as IFS=:)
31560 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31561 -echo "$as_me: error: cannot find input file: $f" >&2;}
31562 - { (exit 1); exit 1; }; }
31563 - # Do quote $f, to prevent DOS paths from being IFS'd.
31566 - if test -f "$f"; then
31569 - elif test -f "$srcdir/$f"; then
31571 - echo "$srcdir/$f"
31574 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31575 -echo "$as_me: error: cannot find input file: $f" >&2;}
31576 + -) cat "$tmp/out" && rm -f "$tmp/out";;
31577 + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
31579 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
31580 +$as_echo "$as_me: error: could not create $ac_file" >&2;}
31581 { (exit 1); exit 1; }; }
31584 - done` || { (exit 1); exit 1; }
31585 - # Remove the trailing spaces.
31586 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
31590 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
31591 -# `conftest.undefs', that substitutes the proper values into
31592 -# config.h.in to produce config.h. The first handles `#define'
31593 -# templates, and the second `#undef' templates.
31594 -# And first: Protect against being on the right side of a sed subst in
31595 -# config.status. Protect against being in an unquoted here document
31596 -# in config.status.
31597 -rm -f conftest.defines conftest.undefs
31598 -# Using a here document instead of a string reduces the quoting nightmare.
31599 -# Putting comments in sed scripts is not portable.
31601 -# `end' is used to avoid that the second main sed command (meant for
31602 -# 0-ary CPP macros) applies to n-ary macro definitions.
31603 -# See the Autoconf documentation for `clear'.
31604 -cat >confdef2sed.sed <<\_ACEOF
31609 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
31611 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
31614 -# If some macros were called several times there might be several times
31615 -# the same #defines, which is useless. Nevertheless, we may not want to
31616 -# sort them, since we want the *last* AC-DEFINE to be honored.
31617 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
31618 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
31619 -rm -f confdef2sed.sed
31621 -# This sed command replaces #undef with comments. This is necessary, for
31622 -# example, in the case of _POSIX_SOURCE, which is predefined and required
31623 -# on some systems where configure will not decide to define it.
31624 -cat >>conftest.undefs <<\_ACEOF
31625 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
31628 -# Break up conftest.defines because some shells have a limit on the size
31629 -# of here documents, and old seds have small limits too (100 cmds).
31630 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
31631 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
31632 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
31633 -echo ' :' >>$CONFIG_STATUS
31634 -rm -f conftest.tail
31635 -while grep . conftest.defines >/dev/null
31637 - # Write a limited-size here document to $tmp/defines.sed.
31638 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
31639 - # Speed up: don't consider the non `#define' lines.
31640 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
31641 - # Work around the forget-to-reset-the-flag bug.
31642 - echo 't clr' >>$CONFIG_STATUS
31643 - echo ': clr' >>$CONFIG_STATUS
31644 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
31646 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
31648 - mv $tmp/out $tmp/in
31649 -' >>$CONFIG_STATUS
31650 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
31651 - rm -f conftest.defines
31652 - mv conftest.tail conftest.defines
31654 -rm -f conftest.defines
31655 -echo ' fi # grep' >>$CONFIG_STATUS
31656 -echo >>$CONFIG_STATUS
31658 -# Break up conftest.undefs because some shells have a limit on the size
31659 -# of here documents, and old seds have small limits too (100 cmds).
31660 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
31661 -rm -f conftest.tail
31662 -while grep . conftest.undefs >/dev/null
31664 - # Write a limited-size here document to $tmp/undefs.sed.
31665 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
31666 - # Speed up: don't consider the non `#undef'
31667 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
31668 - # Work around the forget-to-reset-the-flag bug.
31669 - echo 't clr' >>$CONFIG_STATUS
31670 - echo ': clr' >>$CONFIG_STATUS
31671 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
31673 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
31675 - mv $tmp/out $tmp/in
31676 -' >>$CONFIG_STATUS
31677 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
31678 - rm -f conftest.undefs
31679 - mv conftest.tail conftest.undefs
31681 -rm -f conftest.undefs
31683 -cat >>$CONFIG_STATUS <<\_ACEOF
31684 - # Let's still pretend it is `configure' which instantiates (i.e., don't
31685 - # use $as_me), people would be surprised to read:
31686 - # /* config.h. Generated by config.status. */
31687 - if test x"$ac_file" = x-; then
31688 - echo "/* Generated by configure. */" >$tmp/config.h
31690 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
31692 - cat $tmp/in >>$tmp/config.h
31699 if test x"$ac_file" != x-; then
31700 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
31701 - { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
31702 -echo "$as_me: $ac_file is unchanged" >&6;}
31704 + $as_echo "/* $configure_input */" \
31705 + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
31706 + } >"$tmp/config.h" \
31707 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
31708 +$as_echo "$as_me: error: could not create $ac_file" >&2;}
31709 + { (exit 1); exit 1; }; }
31710 + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
31711 + { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
31712 +$as_echo "$as_me: $ac_file is unchanged" >&6;}
31714 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
31715 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31716 - X"$ac_file" : 'X\(//\)[^/]' \| \
31717 - X"$ac_file" : 'X\(//\)$' \| \
31718 - X"$ac_file" : 'X\(/\)' \| \
31719 - . : '\(.\)' 2>/dev/null ||
31720 -echo X"$ac_file" |
31721 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31722 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31723 - /^X\(\/\/\)$/{ s//\1/; q; }
31724 - /^X\(\/\).*/{ s//\1/; q; }
31726 - { if $as_mkdir_p; then
31727 - mkdir -p "$ac_dir"
31731 - while test ! -d "$as_dir"; do
31732 - as_dirs="$as_dir $as_dirs"
31733 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
31734 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31735 - X"$as_dir" : 'X\(//\)[^/]' \| \
31736 - X"$as_dir" : 'X\(//\)$' \| \
31737 - X"$as_dir" : 'X\(/\)' \| \
31738 - . : '\(.\)' 2>/dev/null ||
31740 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31741 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31742 - /^X\(\/\/\)$/{ s//\1/; q; }
31743 - /^X\(\/\).*/{ s//\1/; q; }
31746 - test ! -n "$as_dirs" || mkdir $as_dirs
31747 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31748 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31749 - { (exit 1); exit 1; }; }; }
31752 - mv $tmp/config.h $ac_file
31754 + mv "$tmp/config.h" "$ac_file" \
31755 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
31756 +$as_echo "$as_me: error: could not create $ac_file" >&2;}
31757 + { (exit 1); exit 1; }; }
31760 - cat $tmp/config.h
31761 - rm -f $tmp/config.h
31762 + $as_echo "/* $configure_input */" \
31763 + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
31764 + || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
31765 +$as_echo "$as_me: error: could not create -" >&2;}
31766 + { (exit 1); exit 1; }; }
31768 -# Compute $ac_file's index in $config_headers.
31769 +# Compute "$ac_file"'s index in $config_headers.
31771 for _am_header in $config_headers :; do
31772 case $_am_header in
31773 - $ac_file | $ac_file:* )
31774 + "$ac_file" | "$ac_file":* )
31777 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
31780 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
31781 -$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31782 - X$ac_file : 'X\(//\)[^/]' \| \
31783 - X$ac_file : 'X\(//\)$' \| \
31784 - X$ac_file : 'X\(/\)' \| \
31785 - . : '\(.\)' 2>/dev/null ||
31787 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31788 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31789 - /^X\(\/\/\)$/{ s//\1/; q; }
31790 - /^X\(\/\).*/{ s//\1/; q; }
31791 - s/.*/./; q'`/stamp-h$_am_stamp_count
31794 -cat >>$CONFIG_STATUS <<\_ACEOF
31797 -# CONFIG_COMMANDS section.
31799 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
31800 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
31801 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
31802 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
31803 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31804 - X"$ac_dest" : 'X\(//\)[^/]' \| \
31805 - X"$ac_dest" : 'X\(//\)$' \| \
31806 - X"$ac_dest" : 'X\(/\)' \| \
31807 - . : '\(.\)' 2>/dev/null ||
31808 -echo X"$ac_dest" |
31809 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31810 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31811 - /^X\(\/\/\)$/{ s//\1/; q; }
31812 - /^X\(\/\).*/{ s//\1/; q; }
31814 - { if $as_mkdir_p; then
31815 - mkdir -p "$ac_dir"
31819 - while test ! -d "$as_dir"; do
31820 - as_dirs="$as_dir $as_dirs"
31821 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
31822 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31823 - X"$as_dir" : 'X\(//\)[^/]' \| \
31824 - X"$as_dir" : 'X\(//\)$' \| \
31825 - X"$as_dir" : 'X\(/\)' \| \
31826 - . : '\(.\)' 2>/dev/null ||
31828 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31829 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31830 - /^X\(\/\/\)$/{ s//\1/; q; }
31831 - /^X\(\/\).*/{ s//\1/; q; }
31834 - test ! -n "$as_dirs" || mkdir $as_dirs
31835 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31836 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31837 - { (exit 1); exit 1; }; }; }
31841 -if test "$ac_dir" != .; then
31842 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31843 - # A "../" for each directory in $ac_dir_suffix.
31844 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31846 - ac_dir_suffix= ac_top_builddir=
31850 - .) # No --srcdir option. We are building in place.
31852 - if test -z "$ac_top_builddir"; then
31855 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
31857 - [\\/]* | ?:[\\/]* ) # Absolute path.
31858 - ac_srcdir=$srcdir$ac_dir_suffix;
31859 - ac_top_srcdir=$srcdir ;;
31860 - *) # Relative path.
31861 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
31862 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
31864 +echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
31865 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31866 + X"$ac_file" : 'X\(//\)[^/]' \| \
31867 + X"$ac_file" : 'X\(//\)$' \| \
31868 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
31869 +$as_echo X"$ac_file" |
31870 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31874 + /^X\(\/\/\)[^/].*/{
31886 + s/.*/./; q'`/stamp-h$_am_stamp_count
31889 -# Do not use `cd foo && pwd` to compute absolute paths, because
31890 -# the directories may not exist.
31892 -.) ac_abs_builddir="$ac_dir";;
31894 - case "$ac_dir" in
31895 - .) ac_abs_builddir=`pwd`;;
31896 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
31897 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
31900 -case $ac_abs_builddir in
31901 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
31903 - case ${ac_top_builddir}. in
31904 - .) ac_abs_top_builddir=$ac_abs_builddir;;
31905 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
31906 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
31909 -case $ac_abs_builddir in
31910 -.) ac_abs_srcdir=$ac_srcdir;;
31912 - case $ac_srcdir in
31913 - .) ac_abs_srcdir=$ac_abs_builddir;;
31914 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
31915 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
31918 -case $ac_abs_builddir in
31919 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
31921 - case $ac_top_srcdir in
31922 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
31923 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
31924 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
31927 + :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
31928 +$as_echo "$as_me: executing $ac_file commands" >&6;}
31933 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
31934 -echo "$as_me: executing $ac_dest commands" >&6;}
31936 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
31937 + case $ac_file$ac_mode in
31938 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
31939 # Strip MF so we end up with the name of the file.
31940 mf=`echo "$mf" | sed -e 's/:.*$//'`
31941 # Check whether this is an Automake generated Makefile or not.
31942 @@ -21932,18 +22785,29 @@ echo "$as_me: executing $ac_dest commands" >&6;}
31943 # each Makefile.in and add a new line on top of each file to say so.
31944 # So let's grep whole file.
31945 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
31946 - dirpart=`(dirname "$mf") 2>/dev/null ||
31947 + dirpart=`$as_dirname -- "$mf" ||
31948 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31949 X"$mf" : 'X\(//\)[^/]' \| \
31950 X"$mf" : 'X\(//\)$' \| \
31951 - X"$mf" : 'X\(/\)' \| \
31952 - . : '\(.\)' 2>/dev/null ||
31954 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31955 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31956 - /^X\(\/\/\)$/{ s//\1/; q; }
31957 - /^X\(\/\).*/{ s//\1/; q; }
31959 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
31961 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31965 + /^X\(\/\/\)[^/].*/{
31981 @@ -21965,59 +22829,90 @@ echo X"$mf" |
31982 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
31983 # Make sure the directory exists.
31984 test -f "$dirpart/$file" && continue
31985 - fdir=`(dirname "$file") 2>/dev/null ||
31986 + fdir=`$as_dirname -- "$file" ||
31987 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31988 X"$file" : 'X\(//\)[^/]' \| \
31989 X"$file" : 'X\(//\)$' \| \
31990 - X"$file" : 'X\(/\)' \| \
31991 - . : '\(.\)' 2>/dev/null ||
31993 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31994 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31995 - /^X\(\/\/\)$/{ s//\1/; q; }
31996 - /^X\(\/\).*/{ s//\1/; q; }
31998 - { if $as_mkdir_p; then
31999 - mkdir -p $dirpart/$fdir
32001 - as_dir=$dirpart/$fdir
32002 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
32003 +$as_echo X"$file" |
32004 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32008 + /^X\(\/\/\)[^/].*/{
32021 + { as_dir=$dirpart/$fdir
32022 + case $as_dir in #(
32023 + -*) as_dir=./$as_dir;;
32025 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
32027 - while test ! -d "$as_dir"; do
32028 - as_dirs="$as_dir $as_dirs"
32029 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
32031 + case $as_dir in #(
32032 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
32033 + *) as_qdir=$as_dir;;
32035 + as_dirs="'$as_qdir' $as_dirs"
32036 + as_dir=`$as_dirname -- "$as_dir" ||
32037 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32038 X"$as_dir" : 'X\(//\)[^/]' \| \
32039 X"$as_dir" : 'X\(//\)$' \| \
32040 - X"$as_dir" : 'X\(/\)' \| \
32041 - . : '\(.\)' 2>/dev/null ||
32043 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32044 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32045 - /^X\(\/\/\)$/{ s//\1/; q; }
32046 - /^X\(\/\).*/{ s//\1/; q; }
32048 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
32049 +$as_echo X"$as_dir" |
32050 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32054 + /^X\(\/\/\)[^/].*/{
32067 + test -d "$as_dir" && break
32069 - test ! -n "$as_dirs" || mkdir $as_dirs
32070 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
32071 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
32072 + test -z "$as_dirs" || eval "mkdir $as_dirs"
32073 + } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
32074 +$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
32075 { (exit 1); exit 1; }; }; }
32077 # echo "creating $dirpart/$file"
32078 echo '# dummy' > "$dirpart/$file"
32088 -cat >>$CONFIG_STATUS <<\_ACEOF
32090 { (exit 0); exit 0; }
32092 chmod +x $CONFIG_STATUS
32093 ac_clean_files=$ac_clean_files_save
32095 +test $ac_write_fail = 0 ||
32096 + { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
32097 +$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
32098 + { (exit 1); exit 1; }; }
32101 # configure is writing to config.log, and then calls config.status.
32102 # config.status does its own redirection, appending to config.log.
32103 @@ -22039,4 +22934,8 @@ if test "$no_create" != yes; then
32104 # would make configure fail if this is the last instruction.
32105 $ac_cs_success || { (exit 1); exit 1; }
32107 +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
32108 + { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
32109 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}