1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 02_autotools.dpatch by <elacour@home-dn.net>
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Autotools update (aclocal, libtoolize -c -f, autoconf, automake)
11 -# Makefile.in generated by automake 1.9.2 from Makefile.am.
12 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
15 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
16 -# 2003, 2004 Free Software Foundation, Inc.
17 +# 2003, 2004, 2005 Free Software Foundation, Inc.
18 # This Makefile.in is free software; the Free Software Foundation
19 # gives unlimited permission to copy and/or distribute it,
20 # with or without modifications, as long as this notice is preserved.
21 @@ -97,6 +97,7 @@ CXXFLAGS = @CXXFLAGS@
22 CYGPATH_W = @CYGPATH_W@
25 +DSYMUTIL = @DSYMUTIL@
29 @@ -105,6 +106,7 @@ EGREP = @EGREP@
34 INSTALL_DATA = @INSTALL_DATA@
35 INSTALL_PROGRAM = @INSTALL_PROGRAM@
36 INSTALL_SCRIPT = @INSTALL_SCRIPT@
37 @@ -120,6 +122,7 @@ MAINT = @MAINT@
38 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
39 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
45 @@ -132,16 +135,14 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
47 RENAME_FALSE = @RENAME_FALSE@
48 RENAME_TRUE = @RENAME_TRUE@
54 -ac_ct_AR = @ac_ct_AR@
56 ac_ct_CXX = @ac_ct_CXX@
57 ac_ct_F77 = @ac_ct_F77@
58 -ac_ct_RANLIB = @ac_ct_RANLIB@
59 -ac_ct_STRIP = @ac_ct_STRIP@
60 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
61 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
62 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
63 @@ -158,23 +159,30 @@ build_cpu = @build_cpu@
65 build_vendor = @build_vendor@
67 +datarootdir = @datarootdir@
70 exec_prefix = @exec_prefix@
72 host_alias = @host_alias@
75 host_vendor = @host_vendor@
77 includedir = @includedir@
79 install_sh = @install_sh@
81 libexecdir = @libexecdir@
82 +localedir = @localedir@
83 localstatedir = @localstatedir@
86 oldincludedir = @oldincludedir@
89 program_transform_name = @program_transform_name@
92 sharedstatedir = @sharedstatedir@
93 sysconfdir = @sysconfdir@
94 @@ -261,7 +269,13 @@ uninstall-info-am:
95 # (which will cause the Makefiles to be regenerated when you run `make');
96 # (2) otherwise, pass the desired values on the `make' command line.
98 - @set fnord $$MAKEFLAGS; amf=$$2; \
99 + @failcom='exit 1'; \
100 + for f in x $$MAKEFLAGS; do \
103 + *k*) failcom='fail=yes';; \
107 target=`echo $@ | sed s/-recursive//`; \
108 list='$(SUBDIRS)'; for subdir in $$list; do \
109 @@ -273,7 +287,7 @@ $(RECURSIVE_TARGETS):
110 local_target="$$target"; \
112 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
113 - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
114 + || eval $$failcom; \
116 if test "$$dot_seen" = "no"; then \
117 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
118 @@ -281,7 +295,13 @@ $(RECURSIVE_TARGETS):
120 mostlyclean-recursive clean-recursive distclean-recursive \
121 maintainer-clean-recursive:
122 - @set fnord $$MAKEFLAGS; amf=$$2; \
123 + @failcom='exit 1'; \
124 + for f in x $$MAKEFLAGS; do \
127 + *k*) failcom='fail=yes';; \
132 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
133 @@ -302,7 +322,7 @@ maintainer-clean-recursive:
134 local_target="$$target"; \
136 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
137 - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
138 + || eval $$failcom; \
139 done && test -z "$$fail"
141 list='$(SUBDIRS)'; for subdir in $$list; do \
142 @@ -618,12 +638,12 @@ uninstall-info: uninstall-info-recursive
145 @if test ! -f ${DESTDIR}${sysconfdir}/libnss-mysql.cfg; then \
146 - ${srcdir}/aux/mkinstalldirs ${DESTDIR}${sysconfdir}; \
147 + $(mkinstalldirs) ${DESTDIR}${sysconfdir}; \
148 ${INSTALL_DATA} ${srcdir}/sample/@OS@/libnss-mysql.cfg \
149 ${DESTDIR}${sysconfdir}/libnss-mysql.cfg; \
151 @if test ! -f ${DESTDIR}${sysconfdir}/libnss-mysql-root.cfg; then \
152 - ${srcdir}/aux/mkinstalldirs ${DESTDIR}${sysconfdir}; \
153 + $(mkinstalldirs) ${DESTDIR}${sysconfdir}; \
154 ${INSTALL_DATA} -m 600 ${srcdir}/sample/@OS@/libnss-mysql-root.cfg \
155 ${DESTDIR}${sysconfdir}/libnss-mysql-root.cfg; \
160 -# generated automatically by aclocal 1.9.2 -*- Autoconf -*-
161 +# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
163 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
164 -# Free Software Foundation, Inc.
165 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
166 +# 2005 Free Software Foundation, Inc.
167 # This file is free software; the Free Software Foundation
168 # gives unlimited permission to copy and/or distribute it,
169 # with or without modifications, as long as this notice is preserved.
172 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
174 -# serial 47 AC_PROG_LIBTOOL
175 +# serial 52 Debian 1.5.26-4 AC_PROG_LIBTOOL
178 # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
179 @@ -101,7 +101,6 @@ AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
180 AC_REQUIRE([AC_OBJEXT])dnl
181 AC_REQUIRE([AC_EXEEXT])dnl
184 AC_LIBTOOL_SYS_MAX_CMD_LEN
185 AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
187 @@ -123,7 +122,7 @@ esac
189 # Sed substitution that helps us do robust quoting. It backslashifies
190 # metacharacters that are still active within double-quoted strings.
191 -Xsed='sed -e s/^X//'
192 +Xsed='sed -e 1s/^X//'
193 [sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
195 # Same as above, but do not quote variable references.
196 @@ -143,7 +142,7 @@ rm="rm -f"
197 default_ofile=libtool
200 -# All known linkers require a `.a' archive for static linking (except M$VC,
201 +# All known linkers require a `.a' archive for static linking (except MSVC,
202 # which needs '.lib').
204 ltmain="$ac_aux_dir/ltmain.sh"
205 @@ -163,6 +162,7 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
206 test -z "$AS" && AS=as
207 test -z "$CC" && CC=cc
208 test -z "$LTCC" && LTCC=$CC
209 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
210 test -z "$DLLTOOL" && DLLTOOL=dlltool
211 test -z "$LD" && LD=ld
212 test -z "$LN_S" && LN_S="ln -s"
213 @@ -175,22 +175,24 @@ test -z "$STRIP" && STRIP=:
214 test -z "$ac_objext" && ac_objext=o
216 # Determine commands to create old-style static archives.
217 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
218 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
219 old_postinstall_cmds='chmod 644 $oldlib'
220 old_postuninstall_cmds=
222 if test -n "$RANLIB"; then
225 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
226 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
229 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
230 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
233 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
236 +_LT_CC_BASENAME([$compiler])
238 # Only perform the check for file, if the check method requires it
239 case $deplibs_check_method in
241 @@ -200,6 +202,8 @@ file_magic*)
245 +_LT_REQUIRED_DARWIN_CHECKS
247 AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
248 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
249 enable_win32_dll=yes, enable_win32_dll=no)
250 @@ -231,11 +235,129 @@ AC_DEFUN([_LT_AC_SYS_COMPILER],
251 # If no C compiler was specified, use CC.
254 +# If no C compiler flags were specified, use CFLAGS.
255 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
257 # Allow CC to be a program name with arguments.
259 ])# _LT_AC_SYS_COMPILER
262 +# _LT_CC_BASENAME(CC)
263 +# -------------------
264 +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
265 +AC_DEFUN([_LT_CC_BASENAME],
266 +[for cc_temp in $1""; do
268 + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
269 + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
274 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
278 +# _LT_COMPILER_BOILERPLATE
279 +# ------------------------
280 +# Check for compiler boilerplate output or warnings with
281 +# the simple compiler test code.
282 +AC_DEFUN([_LT_COMPILER_BOILERPLATE],
283 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
284 +ac_outfile=conftest.$ac_objext
285 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
286 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
287 +_lt_compiler_boilerplate=`cat conftest.err`
289 +])# _LT_COMPILER_BOILERPLATE
292 +# _LT_LINKER_BOILERPLATE
293 +# ----------------------
294 +# Check for linker boilerplate output or warnings with
295 +# the simple link test code.
296 +AC_DEFUN([_LT_LINKER_BOILERPLATE],
297 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
298 +ac_outfile=conftest.$ac_objext
299 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
300 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
301 +_lt_linker_boilerplate=`cat conftest.err`
303 +])# _LT_LINKER_BOILERPLATE
305 +# _LT_REQUIRED_DARWIN_CHECKS
306 +# --------------------------
307 +# Check for some things on darwin
308 +AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
310 + rhapsody* | darwin*)
311 + AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
312 + AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
314 + AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
315 + [lt_cv_apple_cc_single_mod=no
316 + if test -z "${LT_MULTI_MODULE}"; then
317 + # By default we will add the -single_module flag. You can override
318 + # by either setting the environment variable LT_MULTI_MODULE
319 + # non-empty at configure time, or by adding -multi_module to the
321 + echo "int foo(void){return 1;}" > conftest.c
322 + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
323 + -dynamiclib ${wl}-single_module conftest.c
324 + if test -f libconftest.dylib; then
325 + lt_cv_apple_cc_single_mod=yes
326 + rm -rf libconftest.dylib*
330 + AC_CACHE_CHECK([for -exported_symbols_list linker flag],
331 + [lt_cv_ld_exported_symbols_list],
332 + [lt_cv_ld_exported_symbols_list=no
333 + save_LDFLAGS=$LDFLAGS
334 + echo "_main" > conftest.sym
335 + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
336 + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
337 + [lt_cv_ld_exported_symbols_list=yes],
338 + [lt_cv_ld_exported_symbols_list=no])
339 + LDFLAGS="$save_LDFLAGS"
342 + rhapsody* | darwin1.[[0123]])
343 + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
345 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
347 + # if running on 10.5 or later, the deployment target defaults
348 + # to the OS version, if on x86, and 10.4, the deployment
349 + # target defaults to 10.4. Don't you love it?
350 + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
351 + 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
352 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
354 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
356 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
360 + if test "$lt_cv_apple_cc_single_mod" = "yes"; then
361 + _lt_dar_single_mod='$single_module'
363 + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
364 + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
366 + _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
368 + if test "$DSYMUTIL" != ":"; then
369 + _lt_dsymutil="~$DSYMUTIL \$lib || :"
377 # _LT_AC_SYS_LIBPATH_AIX
378 # ----------------------
379 # Links a minimal program and checks the executable
380 @@ -245,12 +367,20 @@ compiler=$CC
381 # If we don't find anything, use the default library path according
382 # to the aix ld manual.
383 AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
384 -[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
385 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
387 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
388 +AC_LINK_IFELSE(AC_LANG_PROGRAM,[
389 +lt_aix_libpath_sed='
390 + /Import File Strings/,/^$/ {
396 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
397 # Check for a 64-bit object if we didn't find anything.
398 -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; }
400 +if test -z "$aix_libpath"; then
401 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
403 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
404 ])# _LT_AC_SYS_LIBPATH_AIX
406 @@ -308,15 +438,15 @@ fi
408 # The HP-UX ksh and POSIX shell print the target directory to stdout
410 -if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
411 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
413 if test -z "$ECHO"; then
414 if test "X${echo_test_string+set}" != Xset; then
415 # find a string as large as possible, as long as the shell can cope with it
416 for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
417 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
418 - if (echo_test_string="`eval $cmd`") 2>/dev/null &&
419 - echo_test_string="`eval $cmd`" &&
420 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
421 + echo_test_string=`eval $cmd` &&
422 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
425 @@ -481,13 +611,17 @@ ia64-*-hpux*)
429 -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
430 +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
431 +s390*-*linux*|sparc*-*linux*)
432 # Find out which ABI we are using.
433 echo 'int i;' > conftest.$ac_ext
434 if AC_TRY_EVAL(ac_compile); then
435 - case "`/usr/bin/file conftest.o`" in
436 + case `/usr/bin/file conftest.o` in
439 + x86_64-*kfreebsd*-gnu)
440 + LD="${LD-ld} -m elf_i386_fbsd"
443 LD="${LD-ld} -m elf_i386"
445 @@ -504,6 +638,9 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
449 + x86_64-*kfreebsd*-gnu)
450 + LD="${LD-ld} -m elf_x86_64_fbsd"
453 LD="${LD-ld} -m elf_x86_64"
455 @@ -536,6 +673,26 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
456 CFLAGS="$SAVE_CFLAGS"
460 + # Find out which ABI we are using.
461 + echo 'int i;' > conftest.$ac_ext
462 + if AC_TRY_EVAL(ac_compile); then
463 + case `/usr/bin/file conftest.o` in
465 + case $lt_cv_prog_gnu_ld in
466 + yes*) LD="${LD-ld} -m elf64_sparc" ;;
468 + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
479 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
480 [*-*-cygwin* | *-*-mingw* | *-*-pw32*)
481 AC_CHECK_TOOL(DLLTOOL, dlltool, false)
482 @@ -559,7 +716,7 @@ AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
483 AC_CACHE_CHECK([$1], [$2],
485 ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
486 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
487 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
488 lt_compiler_flag="$3"
489 # Insert the option either (1) after the last *FLAGS variable, or
490 # (2) before a word containing "conftest.", or (3) at the end.
491 @@ -567,7 +724,7 @@ AC_CACHE_CHECK([$1], [$2],
492 # with a dollar sign (not a hyphen), so the echo should work correctly.
493 # The option is referenced via a variable to avoid confusing sed.
494 lt_compile=`echo "$ac_compile" | $SED \
495 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
496 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
497 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
498 -e 's:$: $lt_compiler_flag:'`
499 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
500 @@ -577,8 +734,10 @@ AC_CACHE_CHECK([$1], [$2],
501 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
502 if (exit $ac_status) && test -s "$ac_outfile"; then
503 # The compiler can only warn and ignore the option if not recognized
504 - # So say no if there are warnings
505 - if test ! -s conftest.err; then
506 + # So say no if there are warnings other than the usual output.
507 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
508 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
509 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
513 @@ -598,22 +757,28 @@ fi
514 # ------------------------------------------------------------
515 # Check whether the given compiler option works
516 AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
517 -[AC_CACHE_CHECK([$1], [$2],
518 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
519 +AC_CACHE_CHECK([$1], [$2],
521 save_LDFLAGS="$LDFLAGS"
522 LDFLAGS="$LDFLAGS $3"
523 - printf "$lt_simple_link_test_code" > conftest.$ac_ext
524 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
525 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
526 - # The compiler can only warn and ignore the option if not recognized
527 + # The linker can only warn and ignore the option if not recognized
528 # So say no if there are warnings
529 if test -s conftest.err; then
530 # Append any errors to the config.log.
531 cat conftest.err 1>&AS_MESSAGE_LOG_FD
532 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
533 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
534 + if diff conftest.exp conftest.er2 >/dev/null; then
543 LDFLAGS="$save_LDFLAGS"
546 @@ -667,24 +832,71 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
547 lt_cv_sys_max_cmd_len=8192;
551 - # If test is not a shell built-in, we'll probably end up computing a
552 - # maximum length that is only half of the actual maximum length, but
554 - while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
555 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
556 + # This has been around since 386BSD, at least. Likely further.
557 + if test -x /sbin/sysctl; then
558 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
559 + elif test -x /usr/sbin/sysctl; then
560 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
562 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
564 + # And add a safety zone
565 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
566 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
570 + # We know the value 262144 and hardcode it with a safety zone (like BSD)
571 + lt_cv_sys_max_cmd_len=196608
575 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
576 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
577 + # nice to cause kernel panics so lets avoid the loop below.
578 + # First set a reasonable default.
579 + lt_cv_sys_max_cmd_len=16384
581 + if test -x /sbin/sysconfig; then
582 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
583 + *1*) lt_cv_sys_max_cmd_len=-1 ;;
588 + lt_cv_sys_max_cmd_len=102400
590 + sysv5* | sco5v6* | sysv4.2uw2*)
591 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
592 + if test -n "$kargmax"; then
593 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
595 + lt_cv_sys_max_cmd_len=32768
599 + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
600 + if test -n "$lt_cv_sys_max_cmd_len"; then
601 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
602 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
604 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
605 + while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
606 = "XX$teststring") >/dev/null 2>&1 &&
607 - new_result=`expr "X$teststring" : ".*" 2>&1` &&
608 - lt_cv_sys_max_cmd_len=$new_result &&
609 - test $i != 17 # 1/2 MB should be enough
612 - teststring=$teststring$teststring
615 - # Add a significant safety factor because C++ compilers can tack on massive
616 - # amounts of additional arguments before passing them to the linker.
617 - # It appears as though 1/2 is a usable value.
618 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
619 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
620 + lt_cv_sys_max_cmd_len=$new_result &&
621 + test $i != 17 # 1/2 MB should be enough
624 + teststring=$teststring$teststring
627 + # Add a significant safety factor because C++ compilers can tack on massive
628 + # amounts of additional arguments before passing them to the linker.
629 + # It appears as though 1/2 is a usable value.
630 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
635 @@ -697,7 +909,7 @@ fi
639 -# --------------------
640 +# ------------------
641 AC_DEFUN([_LT_AC_CHECK_DLFCN],
642 [AC_CHECK_HEADERS(dlfcn.h)dnl
643 ])# _LT_AC_CHECK_DLFCN
644 @@ -705,7 +917,7 @@ AC_DEFUN([_LT_AC_CHECK_DLFCN],
646 # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
647 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
648 -# ------------------------------------------------------------------
649 +# ---------------------------------------------------------------------
650 AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
651 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
652 if test "$cross_compiling" = yes; then :
653 @@ -771,17 +983,19 @@ int main ()
654 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
655 /* dlclose (self); */
663 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
664 - (./conftest; exit; ) 2>/dev/null
665 + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
668 x$lt_dlno_uscore) $1 ;;
669 x$lt_dlneed_uscore) $2 ;;
670 - x$lt_unknown|x*) $3 ;;
671 + x$lt_dlunknown|x*) $3 ;;
675 @@ -793,7 +1007,7 @@ rm -fr conftest*
678 # AC_LIBTOOL_DLOPEN_SELF
679 -# -------------------
680 +# ----------------------
681 AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
682 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
683 if test "x$enable_dlopen" != xyes; then
684 @@ -835,7 +1049,7 @@ else
685 AC_CHECK_FUNC([shl_load],
686 [lt_cv_dlopen="shl_load"],
687 [AC_CHECK_LIB([dld], [shl_load],
688 - [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
689 + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
690 [AC_CHECK_FUNC([dlopen],
691 [lt_cv_dlopen="dlopen"],
692 [AC_CHECK_LIB([dl], [dlopen],
693 @@ -843,7 +1057,7 @@ else
694 [AC_CHECK_LIB([svld], [dlopen],
695 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
696 [AC_CHECK_LIB([dld], [dld_link],
697 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
698 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
702 @@ -864,7 +1078,7 @@ else
703 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
705 save_LDFLAGS="$LDFLAGS"
706 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
707 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
710 LIBS="$lt_cv_dlopen_libs $LIBS"
711 @@ -877,7 +1091,7 @@ else
714 if test "x$lt_cv_dlopen_self" = xyes; then
715 - LDFLAGS="$LDFLAGS $link_static_flag"
716 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
717 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
718 lt_cv_dlopen_self_static, [dnl
719 _LT_AC_TRY_DLOPEN_SELF(
720 @@ -909,7 +1123,8 @@ fi
721 # ---------------------------------
722 # Check to see if options -c and -o are simultaneously supported by compiler
723 AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
724 -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
725 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
726 +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
727 AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
728 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
729 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
730 @@ -917,7 +1132,7 @@ AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
734 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
735 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
737 lt_compiler_flag="-o out/conftest2.$ac_objext"
738 # Insert the option either (1) after the last *FLAGS variable, or
739 @@ -925,7 +1140,7 @@ AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
740 # Note that $ac_compile itself does not contain backslashes and begins
741 # with a dollar sign (not a hyphen), so the echo should work correctly.
742 lt_compile=`echo "$ac_compile" | $SED \
743 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
744 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
745 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
746 -e 's:$: $lt_compiler_flag:'`
747 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
748 @@ -937,11 +1152,13 @@ AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
750 # The compiler can only warn and ignore the option if not recognized
751 # So say no if there are warnings
752 - if test ! -s out/conftest.err; then
753 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
754 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
755 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
756 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
760 + chmod u+w . 2>&AS_MESSAGE_LOG_FD
762 # SGI C++ compiler will create directory out/ii_files/ for
763 # template instantiation
764 @@ -1005,8 +1222,8 @@ AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
765 [AC_MSG_CHECKING([how to hardcode library paths into programs])
766 _LT_AC_TAGVAR(hardcode_action, $1)=
767 if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
768 - test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \
769 - test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then
770 + test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
771 + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
773 # We can hardcode non-existant directories.
774 if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
775 @@ -1055,6 +1272,7 @@ else
777 if test -n "$STRIP" ; then
779 + old_striplib="$STRIP -S"
783 @@ -1072,7 +1290,8 @@ fi
784 # -----------------------------
785 # PORTME Fill in your ld.so characteristics
786 AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
787 -[AC_MSG_CHECKING([dynamic linker characteristics])
788 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
789 +AC_MSG_CHECKING([dynamic linker characteristics])
791 libname_spec='lib$name'
793 @@ -1086,20 +1305,58 @@ shlibpath_overrides_runpath=unknown
795 dynamic_linker="$host_os ld.so"
796 sys_lib_dlsearch_path_spec="/lib /usr/lib"
798 if test "$GCC" = yes; then
799 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
800 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
802 + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
803 + *) lt_awk_arg="/^libraries:/" ;;
805 + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
806 + if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
807 # if the path contains ";" then we assume it to be the separator
808 # otherwise default to the standard path separator (i.e. ":") - it is
809 # assumed that no part of a normal pathname contains ";" but that should
810 # okay in the real world where ";" in dirpaths is itself problematic.
811 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
812 + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
814 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
815 + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
817 + # Ok, now we have the path, separated by spaces, we can step through it
818 + # and add multilib dir if necessary.
819 + lt_tmp_lt_search_path_spec=
820 + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
821 + for lt_sys_path in $lt_search_path_spec; do
822 + if test -d "$lt_sys_path/$lt_multi_os_dir"; then
823 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
825 + test -d "$lt_sys_path" && \
826 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
829 + lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
830 +BEGIN {RS=" "; FS="/|\n";} {
833 + for (lt_i = NF; lt_i > 0; lt_i--) {
834 + if ($lt_i != "" && $lt_i != ".") {
835 + if ($lt_i == "..") {
838 + if (lt_count == 0) {
839 + lt_foo="/" $lt_i lt_foo;
846 + if (lt_foo != "") { lt_freq[[lt_foo]]++; }
847 + if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
849 + sys_lib_search_path_spec=`echo $lt_search_path_spec`
851 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
854 need_lib_prefix=unknown
855 hardcode_into_libs=no
857 @@ -1117,7 +1374,7 @@ aix3*)
858 soname_spec='${libname}${release}${shared_ext}$major'
866 @@ -1173,7 +1430,7 @@ beos*)
867 shlibpath_var=LIBRARY_PATH
874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
875 @@ -1201,7 +1458,8 @@ cygwin* | mingw* | pw32*)
876 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
877 dldir=$destdir/`dirname \$dlpath`~
878 test -d \$dldir || mkdir -p \$dldir~
879 - $install_prog $dir/$dlname \$dldir/$dlname'
880 + $install_prog $dir/$dlname \$dldir/$dlname~
881 + chmod a+x \$dldir/$dlname'
882 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
885 @@ -1231,7 +1489,7 @@ cygwin* | mingw* | pw32*)
888 # pw32 DLLs use 'pw' prefix rather than 'lib'
889 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
890 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
894 @@ -1254,13 +1512,9 @@ darwin* | rhapsody*)
895 soname_spec='${libname}${release}${major}$shared_ext'
896 shlibpath_overrides_runpath=yes
897 shlibpath_var=DYLD_LIBRARY_PATH
898 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
899 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
900 - if test "$GCC" = yes; then
901 - 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"`
903 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
905 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
907 + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
908 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
911 @@ -1277,20 +1531,17 @@ freebsd1*)
919 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
920 - soname_spec='${libname}${release}${shared_ext}$major'
921 - shlibpath_var=LD_LIBRARY_PATH
922 - shlibpath_overrides_runpath=no
923 - hardcode_into_libs=yes
924 - dynamic_linker='GNU ld.so'
928 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
929 +freebsd* | dragonfly*)
930 + # DragonFly does not have aout. When/if they implement a new
931 + # versioning mechanism, adjust this.
932 + if test -x /usr/bin/objformat; then
933 + objformat=`/usr/bin/objformat`
936 + freebsd[[123]]*) objformat=aout ;;
937 + *) objformat=elf ;;
940 version_type=freebsd-$objformat
941 case $version_type in
943 @@ -1308,14 +1559,19 @@ freebsd*)
945 shlibpath_overrides_runpath=yes
947 - freebsd3.[01]* | freebsdelf3.[01]*)
948 + freebsd3.[[01]]* | freebsdelf3.[[01]]*)
949 shlibpath_overrides_runpath=yes
950 hardcode_into_libs=yes
953 + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
954 + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
955 shlibpath_overrides_runpath=no
956 hardcode_into_libs=yes
958 + *) # from 4.6 on, and DragonFly
959 + shlibpath_overrides_runpath=yes
960 + hardcode_into_libs=yes
965 @@ -1335,7 +1591,7 @@ hpux9* | hpux10* | hpux11*)
969 - case "$host_cpu" in
973 hardcode_into_libs=yes
974 @@ -1375,6 +1631,18 @@ hpux9* | hpux10* | hpux11*)
975 postinstall_cmds='chmod 555 $lib'
982 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
983 + soname_spec='${libname}${release}${shared_ext}$major'
984 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
985 + shlibpath_var=LD_LIBRARY_PATH
986 + shlibpath_overrides_runpath=no
987 + hardcode_into_libs=yes
990 irix5* | irix6* | nonstopux*)
992 nonstopux*) version_type=nonstopux ;;
993 @@ -1418,7 +1686,7 @@ linux*oldld* | linux*aout* | linux*coff*)
996 # This must be Linux ELF.
998 +linux* | k*bsd*-gnu)
1002 @@ -1432,27 +1700,10 @@ linux*)
1003 # before this can be enabled.
1004 hardcode_into_libs=yes
1006 - # find out which ABI we are using
1008 - case "$host_cpu" in
1009 - x86_64*|s390x*|powerpc64*)
1010 - echo '[#]line __oline__ "configure"' > conftest.$ac_ext
1011 - if AC_TRY_EVAL(ac_compile); then
1012 - case `/usr/bin/file conftest.$ac_objext` in
1015 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
1023 # Append ld.so.conf contents to the search path
1024 if test -f /etc/ld.so.conf; then
1025 - lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '`
1026 - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
1027 + 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' ' '`
1028 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1031 # We used to test for /lib/ld.so.1 and disable shared libraries on
1032 @@ -1464,7 +1715,7 @@ linux*)
1033 dynamic_linker='GNU/Linux ld.so'
1041 @@ -1473,7 +1724,7 @@ knetbsd*-gnu)
1042 shlibpath_var=LD_LIBRARY_PATH
1043 shlibpath_overrides_runpath=no
1044 hardcode_into_libs=yes
1045 - dynamic_linker='GNU ld.so'
1046 + dynamic_linker='NetBSD ld.elf_so'
1050 @@ -1513,8 +1764,13 @@ nto-qnx*)
1054 + sys_lib_dlsearch_path_spec="/usr/lib"
1057 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
1059 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
1060 + *) need_version=no ;;
1062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1063 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1064 shlibpath_var=LD_LIBRARY_PATH
1065 @@ -1552,11 +1808,8 @@ osf3* | osf4* | osf5*)
1066 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1071 - soname_spec='${libname}${release}${shared_ext}$major'
1072 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1073 - shlibpath_var=LD_LIBRARY_PATH
1079 @@ -1584,7 +1837,7 @@ sunos4*)
1083 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1087 soname_spec='${libname}${release}${shared_ext}$major'
1088 @@ -1617,6 +1870,29 @@ sysv4*MP*)
1092 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1093 + version_type=freebsd-elf
1094 + need_lib_prefix=no
1096 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1097 + soname_spec='${libname}${release}${shared_ext}$major'
1098 + shlibpath_var=LD_LIBRARY_PATH
1099 + hardcode_into_libs=yes
1100 + if test "$with_gnu_ld" = yes; then
1101 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
1102 + shlibpath_overrides_runpath=no
1104 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
1105 + shlibpath_overrides_runpath=yes
1108 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
1112 + sys_lib_dlsearch_path_spec='/usr/lib'
1117 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1118 @@ -1630,13 +1906,26 @@ uts4*)
1120 AC_MSG_RESULT([$dynamic_linker])
1121 test "$dynamic_linker" = no && can_build_shared=no
1123 +AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec],
1124 +[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"])
1125 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
1126 +AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec],
1127 +[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"])
1128 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
1130 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1131 +if test "$GCC" = yes; then
1132 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1134 ])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
1139 AC_DEFUN([_LT_AC_TAGCONFIG],
1140 -[AC_ARG_WITH([tags],
1141 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
1142 +AC_ARG_WITH([tags],
1143 [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
1144 [include additional configurations @<:@automatic@:>@])],
1145 [tagnames="$withval"])
1146 @@ -1654,6 +1943,9 @@ if test -f "$ltmain" && test -n "$tagnames"; then
1147 AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
1150 + if test -z "$LTCFLAGS"; then
1151 + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
1154 # Extract list of available tagged configurations in $ofile.
1155 # Note that this assumes the entire list is on one line.
1156 @@ -1680,7 +1972,9 @@ if test -f "$ltmain" && test -n "$tagnames"; then
1160 - if test -n "$CXX" && test "X$CXX" != "Xno"; then
1161 + if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
1162 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
1163 + (test "X$CXX" != "Xg++"))) ; then
1164 AC_LIBTOOL_LANG_CXX_CONFIG
1167 @@ -1742,7 +2036,7 @@ AC_DEFUN([AC_LIBTOOL_DLOPEN],
1169 # AC_LIBTOOL_WIN32_DLL
1170 # --------------------
1171 -# declare package support for building win32 dll's
1172 +# declare package support for building win32 DLLs
1173 AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
1174 [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
1175 ])# AC_LIBTOOL_WIN32_DLL
1176 @@ -1780,7 +2074,7 @@ AC_ARG_ENABLE([shared],
1180 -#- set the default shared flag to --disable-shared
1181 +# set the default shared flag to --disable-shared
1182 AC_DEFUN([AC_DISABLE_SHARED],
1183 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
1184 AC_ENABLE_SHARED(no)
1185 @@ -1892,7 +2186,7 @@ m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
1187 # AC_PATH_TOOL_PREFIX
1188 # -------------------
1189 -# find a file program which can recognise shared library
1190 +# find a file program which can recognize shared library
1191 AC_DEFUN([AC_PATH_TOOL_PREFIX],
1192 [AC_REQUIRE([AC_PROG_EGREP])dnl
1193 AC_MSG_CHECKING([for $1])
1194 @@ -1916,7 +2210,7 @@ dnl not every word. This closes a longstanding sh security hole.
1195 if test -n "$file_magic_test_file"; then
1196 case $deplibs_check_method in
1198 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1199 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
1200 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1201 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1202 $EGREP "$file_magic_regex" > /dev/null; then
1203 @@ -1955,7 +2249,7 @@ fi
1207 -# find a file program which can recognise a shared library
1208 +# find a file program which can recognize a shared library
1209 AC_DEFUN([AC_PATH_MAGIC],
1210 [AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
1211 if test -z "$lt_cv_path_MAGIC_CMD"; then
1212 @@ -2026,7 +2320,7 @@ AC_CACHE_VAL(lt_cv_path_LD,
1213 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1214 lt_cv_path_LD="$ac_dir/$ac_prog"
1215 # Check to see if the program is GNU ld. I'd rather use --version,
1216 - # but apparently some GNU ld's only accept -v.
1217 + # but apparently some variants of GNU ld only accept -v.
1218 # Break only if it was the GNU/non-GNU ld that we prefer.
1219 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
1220 *GNU* | *'with BFD'*)
1221 @@ -2058,7 +2352,7 @@ AC_PROG_LD_GNU
1222 AC_DEFUN([AC_PROG_LD_GNU],
1223 [AC_REQUIRE([AC_PROG_EGREP])dnl
1224 AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
1225 -[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
1226 +[# I'd rather use --version here, but apparently some GNU lds only accept -v.
1227 case `$LD -v 2>&1 </dev/null` in
1228 *GNU* | *'with BFD'*)
1229 lt_cv_prog_gnu_ld=yes
1230 @@ -2085,6 +2379,15 @@ case $reload_flag in
1231 *) reload_flag=" $reload_flag" ;;
1233 reload_cmds='$LD$reload_flag -o $output$reload_objs'
1236 + if test "$GCC" = yes; then
1237 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
1239 + reload_cmds='$LD$reload_flag -o $output$reload_objs'
1243 ])# AC_PROG_LD_RELOAD_FLAG
1246 @@ -2093,7 +2396,7 @@ reload_cmds='$LD$reload_flag -o $output$reload_objs'
1247 # how to check for library dependencies
1248 # -- PORTME fill in with the dynamic library characteristics
1249 AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
1250 -[AC_CACHE_CHECK([how to recognise dependent libraries],
1251 +[AC_CACHE_CHECK([how to recognize dependent libraries],
1252 lt_cv_deplibs_check_method,
1253 [lt_cv_file_magic_cmd='$MAGIC_CMD'
1254 lt_cv_file_magic_test_file=
1255 @@ -2110,7 +2413,7 @@ lt_cv_deplibs_check_method='unknown'
1256 # whether `pass_all' will *always* work, you probably want this one.
1261 lt_cv_deplibs_check_method=pass_all
1264 @@ -2118,7 +2421,7 @@ beos*)
1265 lt_cv_deplibs_check_method=pass_all
1270 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
1271 lt_cv_file_magic_cmd='/usr/bin/file -L'
1272 lt_cv_file_magic_test_file=/shlib/libc.so
1273 @@ -2132,22 +2435,28 @@ cygwin*)
1276 # Base MSYS/MinGW do not provide the 'file' command needed by
1277 - # func_win32_libid shell function, so use a weaker test based on 'objdump'.
1278 - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1279 - lt_cv_file_magic_cmd='$OBJDUMP -f'
1280 + # func_win32_libid shell function, so use a weaker test based on 'objdump',
1281 + # unless we find 'file', for example because we are cross-compiling.
1282 + if ( file / ) >/dev/null 2>&1; then
1283 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
1284 + lt_cv_file_magic_cmd='func_win32_libid'
1286 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1287 + lt_cv_file_magic_cmd='$OBJDUMP -f'
1291 darwin* | rhapsody*)
1292 lt_cv_deplibs_check_method=pass_all
1295 -freebsd* | kfreebsd*-gnu)
1296 +freebsd* | dragonfly*)
1297 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1300 # Not sure whether the presence of OpenBSD here was a mistake.
1301 # Let's accept both of them until this is cleared up.
1302 - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
1303 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
1304 lt_cv_file_magic_cmd=/usr/bin/file
1305 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1307 @@ -2163,7 +2472,7 @@ gnu*)
1309 hpux10.20* | hpux11*)
1310 lt_cv_file_magic_cmd=/usr/bin/file
1311 - case "$host_cpu" in
1314 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
1315 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
1316 @@ -2179,6 +2488,11 @@ hpux10.20* | hpux11*)
1321 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
1322 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
1325 irix5* | irix6* | nonstopux*)
1327 *-32|*"-32 ") libmagic=32-bit;;
1328 @@ -2190,20 +2504,11 @@ irix5* | irix6* | nonstopux*)
1331 # This must be Linux ELF.
1334 - alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*)
1335 - lt_cv_deplibs_check_method=pass_all ;;
1337 - # glibc up to 2.1.1 does not perform some relocations on ARM
1338 - # this will be overridden with pass_all, but let us keep it just in case
1339 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
1341 - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1342 +linux* | k*bsd*-gnu)
1343 lt_cv_deplibs_check_method=pass_all
1347 +netbsd* | netbsdelf*-gnu)
1348 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1349 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
1351 @@ -2222,12 +2527,10 @@ nto-qnx*)
1355 - lt_cv_file_magic_cmd=/usr/bin/file
1356 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1357 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1358 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
1359 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
1361 - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
1362 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
1366 @@ -2235,7 +2538,7 @@ osf3* | osf4* | osf5*)
1367 lt_cv_deplibs_check_method=pass_all
1372 lt_cv_deplibs_check_method=pass_all
1375 @@ -2243,7 +2546,7 @@ solaris*)
1376 lt_cv_deplibs_check_method=pass_all
1379 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1381 case $host_vendor in
1383 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]]'
1384 @@ -2264,10 +2567,13 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1386 lt_cv_deplibs_check_method=pass_all
1389 + lt_cv_deplibs_check_method=pass_all
1394 -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
1395 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1396 lt_cv_deplibs_check_method=pass_all
1399 @@ -2287,36 +2593,43 @@ AC_DEFUN([AC_PROG_NM],
1400 # Let the user override the test.
1403 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1404 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1405 - IFS="$lt_save_ifs"
1406 - test -z "$ac_dir" && ac_dir=.
1407 - tmp_nm="$ac_dir/${ac_tool_prefix}nm"
1408 - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
1409 - # Check to see if the nm accepts a BSD-compat flag.
1410 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1411 - # nm: unknown option "B" ignored
1412 - # Tru64's nm complains that /dev/null is an invalid object file
1413 - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
1414 - */dev/null* | *'Invalid file or object type'*)
1415 - lt_cv_path_NM="$tmp_nm -B"
1419 - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
1421 - lt_cv_path_NM="$tmp_nm -p"
1422 + lt_nm_to_check="${ac_tool_prefix}nm"
1423 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
1424 + lt_nm_to_check="$lt_nm_to_check nm"
1426 + for lt_tmp_nm in $lt_nm_to_check; do
1427 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1428 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
1429 + IFS="$lt_save_ifs"
1430 + test -z "$ac_dir" && ac_dir=.
1431 + tmp_nm="$ac_dir/$lt_tmp_nm"
1432 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
1433 + # Check to see if the nm accepts a BSD-compat flag.
1434 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1435 + # nm: unknown option "B" ignored
1436 + # Tru64's nm complains that /dev/null is an invalid object file
1437 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
1438 + */dev/null* | *'Invalid file or object type'*)
1439 + lt_cv_path_NM="$tmp_nm -B"
1443 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1444 - continue # so that we can try to find one that supports BSD flags
1445 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
1447 + lt_cv_path_NM="$tmp_nm -p"
1451 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1452 + continue # so that we can try to find one that supports BSD flags
1461 + IFS="$lt_save_ifs"
1463 - IFS="$lt_save_ifs"
1464 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1467 @@ -2348,13 +2661,13 @@ esac
1468 # -----------------------------------
1469 # sets LIBLTDL to the link flags for the libltdl convenience library and
1470 # LTDLINCL to the include flags for the libltdl header and adds
1471 -# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL
1472 -# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
1473 -# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will
1474 -# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
1475 -# '${top_srcdir}/' (note the single quotes!). If your package is not
1476 -# flat and you're not using automake, define top_builddir and
1477 -# top_srcdir appropriately in the Makefiles.
1478 +# --enable-ltdl-convenience to the configure arguments. Note that
1479 +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
1480 +# it is assumed to be `libltdl'. LIBLTDL will be prefixed with
1481 +# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
1482 +# (note the single quotes!). If your package is not flat and you're not
1483 +# using automake, define top_builddir and top_srcdir appropriately in
1485 AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
1486 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
1487 case $enable_ltdl_convenience in
1488 @@ -2373,13 +2686,13 @@ AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
1489 # -----------------------------------
1490 # sets LIBLTDL to the link flags for the libltdl installable library and
1491 # LTDLINCL to the include flags for the libltdl header and adds
1492 -# --enable-ltdl-install to the configure arguments. Note that LIBLTDL
1493 -# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
1494 -# DIRECTORY is not provided and an installed libltdl is not found, it is
1495 -# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/'
1496 -# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
1497 -# quotes!). If your package is not flat and you're not using automake,
1498 -# define top_builddir and top_srcdir appropriately in the Makefiles.
1499 +# --enable-ltdl-install to the configure arguments. Note that
1500 +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
1501 +# and an installed libltdl is not found, it is assumed to be `libltdl'.
1502 +# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
1503 +# '${top_srcdir}/' (note the single quotes!). If your package is not
1504 +# flat and you're not using automake, define top_builddir and top_srcdir
1505 +# appropriately in the Makefiles.
1506 # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
1507 AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
1508 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
1509 @@ -2417,10 +2730,21 @@ AC_DEFUN([AC_LIBTOOL_CXX],
1511 AC_DEFUN([_LT_AC_LANG_CXX],
1512 [AC_REQUIRE([AC_PROG_CXX])
1513 -AC_REQUIRE([AC_PROG_CXXCPP])
1514 +AC_REQUIRE([_LT_AC_PROG_CXXCPP])
1515 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
1518 +# _LT_AC_PROG_CXXCPP
1519 +# ------------------
1520 +AC_DEFUN([_LT_AC_PROG_CXXCPP],
1522 +AC_REQUIRE([AC_PROG_CXX])
1523 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
1524 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
1525 + (test "X$CXX" != "Xg++"))) ; then
1528 +])# _LT_AC_PROG_CXXCPP
1532 @@ -2460,7 +2784,7 @@ _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
1538 # enable support for Windows resource files
1539 AC_DEFUN([AC_LIBTOOL_RC],
1540 [AC_REQUIRE([LT_AC_PROG_RC])
1541 @@ -2486,43 +2810,16 @@ objext=o
1542 _LT_AC_TAGVAR(objext, $1)=$objext
1544 # Code to be used in simple compile tests
1545 -lt_simple_compile_test_code="int some_variable = 0;\n"
1546 +lt_simple_compile_test_code="int some_variable = 0;"
1548 # Code to be used in simple link tests
1549 -lt_simple_link_test_code='int main(){return(0);}\n'
1550 +lt_simple_link_test_code='int main(){return(0);}'
1555 -# Check for any special shared library compilation flags.
1557 -_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
1558 -if test "$GCC" = no; then
1561 - _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
1565 -if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
1566 - AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
1567 - if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
1569 - AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
1570 - _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
1576 -# Check to make sure the static flag actually works.
1578 -AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
1579 - _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
1580 - $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
1582 - [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
1584 +# save warnings/boilerplate of simple test code
1585 +_LT_COMPILER_BOILERPLATE
1586 +_LT_LINKER_BOILERPLATE
1588 AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
1589 AC_LIBTOOL_PROG_COMPILER_PIC($1)
1590 @@ -2532,9 +2829,9 @@ AC_LIBTOOL_PROG_LD_SHLIBS($1)
1591 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
1592 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
1593 AC_LIBTOOL_SYS_LIB_STRIP
1594 -AC_LIBTOOL_DLOPEN_SELF($1)
1595 +AC_LIBTOOL_DLOPEN_SELF
1597 -# Report which librarie types wil actually be built
1598 +# Report which library types will actually be built
1599 AC_MSG_CHECKING([if libtool supports shared libraries])
1600 AC_MSG_RESULT([$can_build_shared])
1602 @@ -2543,7 +2840,7 @@ test "$can_build_shared" = "no" && enable_shared=no
1604 # On AIX, shared libraries and static libraries use the same namespace, and
1605 # are all built from PIC.
1609 test "$enable_shared" = yes && enable_static=no
1610 if test -n "$RANLIB"; then
1611 @@ -2552,47 +2849,10 @@ aix3*)
1617 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
1618 test "$enable_shared" = yes && enable_static=no
1621 - darwin* | rhapsody*)
1622 - if test "$GCC" = yes; then
1623 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1624 - case "$host_os" in
1625 - rhapsody* | darwin1.[[012]])
1626 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
1628 - *) # Darwin 1.3 on
1629 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
1630 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
1632 - case ${MACOSX_DEPLOYMENT_TARGET} in
1634 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
1637 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
1643 - output_verbose_link_cmd='echo'
1644 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
1645 - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1646 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
1647 - _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}'
1648 - _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}'
1649 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
1650 - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
1651 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1652 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
1653 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
1655 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
1659 AC_MSG_RESULT([$enable_shared])
1660 @@ -2618,7 +2878,7 @@ AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
1661 AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
1663 AC_REQUIRE([AC_PROG_CXX])
1664 -AC_REQUIRE([AC_PROG_CXXCPP])
1665 +AC_REQUIRE([_LT_AC_PROG_CXXCPP])
1667 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1668 _LT_AC_TAGVAR(allow_undefined_flag, $1)=
1669 @@ -2630,6 +2890,7 @@ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
1670 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
1671 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
1672 _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
1673 +_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1674 _LT_AC_TAGVAR(hardcode_automatic, $1)=no
1675 _LT_AC_TAGVAR(module_cmds, $1)=
1676 _LT_AC_TAGVAR(module_expsym_cmds, $1)=
1677 @@ -2645,23 +2906,28 @@ _LT_AC_TAGVAR(postdep_objects, $1)=
1678 _LT_AC_TAGVAR(predeps, $1)=
1679 _LT_AC_TAGVAR(postdeps, $1)=
1680 _LT_AC_TAGVAR(compiler_lib_search_path, $1)=
1681 +_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
1683 # Source file extension for C++ test sources.
1687 # Object file extension for compiled C++ test sources.
1689 _LT_AC_TAGVAR(objext, $1)=$objext
1691 # Code to be used in simple compile tests
1692 -lt_simple_compile_test_code="int some_variable = 0;\n"
1693 +lt_simple_compile_test_code="int some_variable = 0;"
1695 # Code to be used in simple link tests
1696 -lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
1697 +lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
1699 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
1702 +# save warnings/boilerplate of simple test code
1703 +_LT_COMPILER_BOILERPLATE
1704 +_LT_LINKER_BOILERPLATE
1706 # Allow CC to be a program name with arguments.
1709 @@ -2672,18 +2938,18 @@ lt_save_path_LD=$lt_cv_path_LD
1710 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
1711 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
1713 - unset lt_cv_prog_gnu_ld
1714 + $as_unset lt_cv_prog_gnu_ld
1716 if test -n "${lt_cv_path_LDCXX+set}"; then
1717 lt_cv_path_LD=$lt_cv_path_LDCXX
1719 - unset lt_cv_path_LD
1720 + $as_unset lt_cv_path_LD
1722 test -z "${LDCXX+set}" || LD=$LDCXX
1725 _LT_AC_TAGVAR(compiler, $1)=$CC
1726 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
1727 +_LT_CC_BASENAME([$compiler])
1729 # We don't want -fno-exception wen compiling C++ code, so set the
1730 # no_builtin_flag separately
1731 @@ -2750,7 +3016,7 @@ case $host_os in
1732 # FIXME: insert proper C++ library support
1733 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1737 if test "$host_cpu" = ia64; then
1738 # On IA64, the linker does run time linking by default, so we don't
1739 # have to do anything special.
1740 @@ -2763,7 +3029,7 @@ case $host_os in
1741 # Test if we are trying to use run time linking or normal
1742 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1743 # need to do runtime linking.
1744 - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
1745 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
1746 for ld_flag in $LDFLAGS; do
1749 @@ -2772,6 +3038,7 @@ case $host_os in
1756 exp_sym_flag='-bexport'
1757 @@ -2790,7 +3057,7 @@ case $host_os in
1758 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
1760 if test "$GXX" = yes; then
1761 - case $host_os in aix4.[012]|aix4.[012].*)
1762 + case $host_os in aix4.[[012]]|aix4.[[012]].*)
1763 # We only want to do this on AIX 4.2 and lower, the check
1764 # below for broken collect2 doesn't work under 4.3+
1765 collect2name=`${CC} -print-prog-name=collect2`
1766 @@ -2798,7 +3065,7 @@ case $host_os in
1767 strings "$collect2name" | grep resolve_lib_name >/dev/null
1769 # We have reworked collect2
1770 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
1773 # We have old collect2
1774 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
1775 @@ -2809,8 +3076,12 @@ case $host_os in
1776 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
1777 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
1781 shared_flag='-shared'
1782 + if test "$aix_use_runtimelinking" = yes; then
1783 + shared_flag="$shared_flag "'${wl}-G'
1787 if test "$host_cpu" = ia64; then
1788 @@ -2837,12 +3108,12 @@ case $host_os in
1789 _LT_AC_SYS_LIBPATH_AIX
1790 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
1792 - _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"
1793 + _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"
1795 if test "$host_cpu" = ia64; then
1796 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
1797 _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
1798 - _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"
1799 + _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"
1801 # Determine the default libpath from the value encoded in an empty executable.
1802 _LT_AC_SYS_LIBPATH_AIX
1803 @@ -2851,16 +3122,26 @@ case $host_os in
1804 # -berok will link without error, but may produce a broken library.
1805 _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
1806 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
1807 - # -bexpall does not export symbols beginning with underscore (_)
1808 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
1809 # Exported symbols can be pulled into shared objects from archives
1810 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
1811 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
1812 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
1813 - # This is similar to how AIX traditionally builds it's shared libraries.
1814 - _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'
1815 + # This is similar to how AIX traditionally builds its shared libraries.
1816 + _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'
1822 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1823 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
1824 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
1825 + # support --undefined. This deserves some investigation. FIXME
1826 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1828 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
1833 case $cc_basename in
1835 @@ -2879,7 +3160,7 @@ case $host_os in
1836 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
1838 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
1839 - _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'
1840 + _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'
1841 # If the export-symbols file already is a .def file (1st line
1842 # is EXPORTS), use it as is; otherwise, prepend...
1843 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1844 @@ -2888,70 +3169,53 @@ case $host_os in
1845 echo EXPORTS > $output_objdir/$soname.def;
1846 cat $export_symbols >> $output_objdir/$soname.def;
1848 - $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'
1849 + $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'
1851 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1855 - darwin* | rhapsody*)
1856 - if test "$GXX" = yes; then
1857 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1858 - case "$host_os" in
1859 - rhapsody* | darwin1.[[012]])
1860 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
1862 - *) # Darwin 1.3 on
1863 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
1864 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
1865 + darwin* | rhapsody*)
1866 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1867 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
1868 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
1869 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1870 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
1871 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
1872 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
1873 + if test "$GXX" = yes ; then
1874 + output_verbose_link_cmd='echo'
1875 + _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}"
1876 + _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
1877 + _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}"
1878 + _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}"
1879 + if test "$lt_cv_apple_cc_single_mod" != "yes"; then
1880 + _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}"
1881 + _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}"
1884 - case ${MACOSX_DEPLOYMENT_TARGET} in
1886 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
1889 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
1892 + case $cc_basename in
1894 + output_verbose_link_cmd='echo'
1895 + _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'
1896 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1897 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
1898 + _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}'
1899 + _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}'
1902 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
1908 - lt_int_apple_cc_single_mod=no
1909 - output_verbose_link_cmd='echo'
1910 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
1911 - lt_int_apple_cc_single_mod=yes
1913 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1914 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
1916 - _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'
1918 - _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1920 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
1921 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1922 - _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}'
1924 - _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}'
1926 - _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}'
1927 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
1928 - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
1929 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1930 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
1931 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
1933 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
1939 case $cc_basename in
1942 # FIXME: insert proper C++ library support
1943 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1947 # Green Hills C++ Compiler
1948 # FIXME: insert proper C++ library support
1949 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1950 @@ -2962,14 +3226,14 @@ case $host_os in
1956 # C++ shared libraries reported to be fairly broken before switch to ELF
1957 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1960 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1962 - freebsd* | kfreebsd*-gnu)
1963 + freebsd* | dragonfly*)
1964 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
1966 _LT_AC_TAGVAR(ld_shlibs, $1)=yes
1967 @@ -2986,11 +3250,11 @@ case $host_os in
1968 # location of the library.
1970 case $cc_basename in
1973 # FIXME: insert proper C++ library support
1974 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1978 _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'
1979 # Commands to make compiler produce verbose output that lists
1980 # what "hidden" libraries, object files and flags are used when
1981 @@ -3000,7 +3264,7 @@ case $host_os in
1982 # explicitly linking system object files so we need to strip them
1983 # from the output so that they don't get included in the library
1985 - 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'
1986 + 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'
1989 if test "$GXX" = yes; then
1990 @@ -3014,33 +3278,20 @@ case $host_os in
1993 if test $with_gnu_ld = no; then
1994 - case "$host_cpu" in
1996 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
1997 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
1998 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2001 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2003 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
2004 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2007 + hppa*64*|ia64*) ;;
2009 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
2010 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2011 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
2015 - case "$host_cpu" in
2017 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
2018 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2023 _LT_AC_TAGVAR(hardcode_direct, $1)=no
2024 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2025 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
2026 - # but as the default
2027 - # location of the library.
2030 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
2031 @@ -3051,14 +3302,17 @@ case $host_os in
2034 case $cc_basename in
2037 # FIXME: insert proper C++ library support
2038 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2041 - case "$host_cpu" in
2043 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
2047 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2050 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2053 _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'
2054 @@ -3077,9 +3331,12 @@ case $host_os in
2056 if test "$GXX" = yes; then
2057 if test $with_gnu_ld = no; then
2058 - case "$host_cpu" in
2060 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
2063 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2066 + _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'
2069 _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'
2070 @@ -3093,11 +3350,25 @@ case $host_os in
2075 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
2076 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2077 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
2078 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
2079 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
2080 + # Instead, shared libraries are loaded at an image base (0x10000000 by
2081 + # default) and relocated if they conflict, which is a slow very memory
2082 + # consuming and fragmenting process. To avoid this, we pick a random,
2083 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
2084 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
2085 + _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'
2086 + _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'
2089 case $cc_basename in
2093 - _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'
2094 + _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'
2096 # Archives containing C++ object files must be created using
2097 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
2098 @@ -3108,7 +3379,7 @@ case $host_os in
2100 if test "$GXX" = yes; then
2101 if test "$with_gnu_ld" = no; then
2102 - _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'
2103 + _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'
2105 _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'
2107 @@ -3119,9 +3390,9 @@ case $host_os in
2108 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
2109 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2112 + linux* | k*bsd*-gnu)
2113 case $cc_basename in
2116 # Kuck and Associates, Inc. (KAI) C++ Compiler
2118 # KCC will only create a shared library if the output file
2119 @@ -3146,17 +3417,41 @@ case $host_os in
2120 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
2121 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
2127 + # version 8.0 and above of icpc choke on multiply defined symbols
2128 + # if we add $predep_objects and $postdep_objects, however 7.1 and
2129 + # earlier do not add the objects themselves.
2130 + case `$CC -V 2>&1` in
2132 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
2133 + _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'
2135 + *) # Version 8.0 or newer
2138 + ia64*) tmp_idyn=' -i_dynamic';;
2140 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
2141 + _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'
2144 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2145 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
2146 - _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'
2147 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
2148 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
2149 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
2153 + # Portland Group C++ compiler
2154 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
2155 + _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'
2157 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
2158 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
2159 + _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'
2163 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
2164 _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'
2165 @@ -3175,6 +3470,29 @@ case $host_os in
2167 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'
2170 + case `$CC -V 2>&1 | sed 5q` in
2173 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
2174 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2175 + _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'
2176 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
2177 + _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'
2179 + # Not sure whether something based on
2180 + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
2181 + # would be better.
2182 + output_verbose_link_cmd='echo'
2184 + # Archives containing C++ object files must be created using
2185 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
2186 + # necessary to make sure instantiated templates are included
2188 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
2195 @@ -3187,7 +3505,7 @@ case $host_os in
2198 case $cc_basename in
2201 # FIXME: insert proper C++ library support
2202 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2204 @@ -3197,7 +3515,7 @@ case $host_os in
2209 + netbsd* | netbsdelf*-gnu)
2210 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
2211 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
2213 @@ -3208,9 +3526,29 @@ case $host_os in
2214 # Workaround some broken pre-1.5 toolchains
2215 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
2218 + # C++ shared libraries are fairly broken
2219 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
2222 + if test -f /usr/libexec/ld.so; then
2223 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
2224 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2225 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
2226 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
2227 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
2228 + _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'
2229 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
2230 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
2232 + output_verbose_link_cmd='echo'
2234 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
2238 case $cc_basename in
2241 # Kuck and Associates, Inc. (KAI) C++ Compiler
2243 # KCC will only create a shared library if the output file
2244 @@ -3226,14 +3564,14 @@ case $host_os in
2245 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
2250 # Rational C++ 2.4.1
2251 # FIXME: insert proper C++ library support
2252 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2256 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
2257 - _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'
2258 + _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'
2260 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
2261 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2262 @@ -3251,7 +3589,7 @@ case $host_os in
2264 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
2265 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
2266 - _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'
2267 + _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'
2269 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
2270 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2271 @@ -3270,7 +3608,7 @@ case $host_os in
2274 case $cc_basename in
2277 # Kuck and Associates, Inc. (KAI) C++ Compiler
2279 # KCC will only create a shared library if the output file
2280 @@ -3285,17 +3623,17 @@ case $host_os in
2281 # the KAI C++ compiler.
2282 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
2286 # Rational C++ 2.4.1
2287 # FIXME: insert proper C++ library support
2288 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2292 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
2293 - _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'
2294 + _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'
2295 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
2296 echo "-hidden">> $lib.exp~
2297 - $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~
2298 + $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~
2301 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
2302 @@ -3314,7 +3652,7 @@ case $host_os in
2304 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
2305 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
2306 - _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'
2307 + _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'
2309 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
2310 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2311 @@ -3335,27 +3673,14 @@ case $host_os in
2312 # FIXME: insert proper C++ library support
2313 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2316 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2317 - case $cc_basename in
2319 - # FIXME: insert proper C++ library support
2320 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
2323 - # FIXME: insert proper C++ library support
2324 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
2329 case $cc_basename in
2333 # FIXME: insert proper C++ library support
2334 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2339 # FIXME: insert proper C++ library support
2340 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2341 @@ -3368,36 +3693,28 @@ case $host_os in
2344 case $cc_basename in
2347 # Sun C++ 4.2, 5.x and Centerline C++
2348 + _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
2349 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
2350 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2351 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2352 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
2353 - $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'
2354 + $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'
2356 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
2357 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2359 - solaris2.[0-5] | solaris2.[0-5].*) ;;
2360 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
2362 - # The C++ compiler is used as linker so we must use $wl
2363 - # flag to pass the commands to the underlying system
2365 + # The compiler driver will combine and reorder linker options,
2366 + # but understands `-z linker_flag'.
2367 # Supported since Solaris 2.6 (maybe 2.5.1?)
2368 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
2369 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
2372 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2374 - # Commands to make compiler produce verbose output that lists
2375 - # what "hidden" libraries, object files and flags are used when
2376 - # linking a shared library.
2378 - # There doesn't appear to be a way to prevent this compiler from
2379 - # explicitly linking system object files so we need to strip them
2380 - # from the output so that they don't get included in the library
2382 - 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'
2383 + output_verbose_link_cmd='echo'
2385 # Archives containing C++ object files must be created using
2386 # "CC -xar", where "CC" is the Sun C++ compiler. This is
2387 @@ -3405,7 +3722,7 @@ case $host_os in
2389 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
2393 # Green Hills C++ Compiler
2394 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
2396 @@ -3439,16 +3756,73 @@ case $host_os in
2399 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
2401 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
2403 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
2410 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
2411 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
2412 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
2413 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2414 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2415 + runpath_var='LD_RUN_PATH'
2417 + case $cc_basename in
2419 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2420 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2423 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2424 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2428 + sysv5* | sco3.2v5* | sco5v6*)
2429 + # Note: We can NOT use -z defs as we might desire, because we do not
2430 + # link with -lc, and that would cause any symbols used from libc to
2431 + # always be unresolved, which means just about no library would
2432 + # ever link correctly. If we're not using GNU ld we use -z text
2433 + # though, which does catch some bad symbols but isn't as heavy-handed
2435 + # For security reasons, it is highly recommended that you always
2436 + # use absolute paths for naming shared libraries, and exclude the
2437 + # DT_RUNPATH tag from executables and libraries. But doing so
2438 + # requires that you compile everything twice, which is a pain.
2439 + # So that behaviour is only enabled if SCOABSPATH is set to a
2440 + # non-empty value in the environment. Most likely only useful for
2441 + # creating official distributions of packages.
2442 + # This is a hack until libtool officially supports absolute path
2443 + # names for shared libraries.
2444 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
2445 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
2446 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2447 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2448 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
2449 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
2450 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2451 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
2452 + runpath_var='LD_RUN_PATH'
2454 + case $cc_basename in
2456 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2457 + _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'
2460 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2461 + _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'
2466 case $cc_basename in
2469 # NonStop-UX NCC 3.20
2470 # FIXME: insert proper C++ library support
2471 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2472 @@ -3481,8 +3855,6 @@ AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
2473 AC_LIBTOOL_PROG_LD_SHLIBS($1)
2474 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
2475 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
2476 -AC_LIBTOOL_SYS_LIB_STRIP
2477 -AC_LIBTOOL_DLOPEN_SELF($1)
2479 AC_LIBTOOL_CONFIG($1)
2481 @@ -3500,12 +3872,13 @@ lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
2482 ])# AC_LIBTOOL_LANG_CXX_CONFIG
2484 # AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
2485 -# ------------------------
2486 +# ------------------------------------
2487 # Figure out "hidden" library dependencies from verbose
2488 # compiler output when linking a shared library.
2489 # Parse the compiler output and extract the necessary
2490 # objects, libraries and library flags.
2491 -AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
2492 +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],
2493 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
2494 dnl we can't use the lt_simple_compile_test_code here,
2495 dnl because it contains code intended for an executable,
2496 dnl not a library. It's possible we should let each
2497 @@ -3554,7 +3927,7 @@ if AC_TRY_EVAL(ac_compile); then
2498 # The `*' in the case matches for architectures that use `case' in
2499 # $output_verbose_cmd can trigger glob expansion during the loop
2500 # eval without this substitution.
2501 - output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
2502 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
2504 for p in `eval $output_verbose_link_cmd`; do
2506 @@ -3630,13 +4003,74 @@ fi
2508 $rm -f confest.$objext
2510 +_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
2511 +if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
2512 + _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
2515 +# PORTME: override above test on systems where it is broken
2519 + # Interix 3.5 installs completely hosed .la files for C++, so rather than
2520 + # hack all around it, let's just trust "g++" to DTRT.
2521 + _LT_AC_TAGVAR(predep_objects,$1)=
2522 + _LT_AC_TAGVAR(postdep_objects,$1)=
2523 + _LT_AC_TAGVAR(postdeps,$1)=
2527 + case `$CC -V 2>&1 | sed 5q` in
2531 + # The more standards-conforming stlport4 library is
2532 + # incompatible with the Cstd library. Avoid specifying
2533 + # it if it's in CXXFLAGS. Ignore libCrun as
2534 + # -library=stlport4 depends on it.
2535 + case " $CXX $CXXFLAGS " in
2536 + *" -library=stlport4 "*)
2537 + solaris_use_stlport4=yes
2540 + if test "$solaris_use_stlport4" != yes; then
2541 + _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
2548 + case $cc_basename in
2550 + # The more standards-conforming stlport4 library is
2551 + # incompatible with the Cstd library. Avoid specifying
2552 + # it if it's in CXXFLAGS. Ignore libCrun as
2553 + # -library=stlport4 depends on it.
2554 + case " $CXX $CXXFLAGS " in
2555 + *" -library=stlport4 "*)
2556 + solaris_use_stlport4=yes
2560 + # Adding this requires a known-good setup of shared libraries for
2561 + # Sun compiler versions before 5.6, else PIC objects from an old
2562 + # archive will be linked into the output, leading to subtle bugs.
2563 + if test "$solaris_use_stlport4" != yes; then
2564 + _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
2571 case " $_LT_AC_TAGVAR(postdeps, $1) " in
2572 *" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
2574 ])# AC_LIBTOOL_POSTDEP_PREDEP
2576 # AC_LIBTOOL_LANG_F77_CONFIG
2577 -# ------------------------
2578 +# --------------------------
2579 # Ensure that the configuration vars for the C compiler are
2580 # suitably defined. Those variables are subsequently used by
2581 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
2582 @@ -3672,20 +4106,31 @@ objext=o
2583 _LT_AC_TAGVAR(objext, $1)=$objext
2585 # Code to be used in simple compile tests
2586 -lt_simple_compile_test_code=" subroutine t\n return\n end\n"
2587 +lt_simple_compile_test_code="\
2593 # Code to be used in simple link tests
2594 -lt_simple_link_test_code=" program t\n end\n"
2595 +lt_simple_link_test_code="\
2600 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
2603 +# save warnings/boilerplate of simple test code
2604 +_LT_COMPILER_BOILERPLATE
2605 +_LT_LINKER_BOILERPLATE
2607 # Allow CC to be a program name with arguments.
2611 _LT_AC_TAGVAR(compiler, $1)=$CC
2612 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
2613 +_LT_CC_BASENAME([$compiler])
2615 AC_MSG_CHECKING([if libtool supports shared libraries])
2616 AC_MSG_RESULT([$can_build_shared])
2617 @@ -3695,7 +4140,7 @@ test "$can_build_shared" = "no" && enable_shared=no
2619 # On AIX, shared libraries and static libraries use the same namespace, and
2620 # are all built from PIC.
2624 test "$enable_shared" = yes && enable_static=no
2625 if test -n "$RANLIB"; then
2626 @@ -3703,8 +4148,10 @@ aix3*)
2627 postinstall_cmds='$RANLIB $lib'
2631 - test "$enable_shared" = yes && enable_static=no
2633 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
2634 + test "$enable_shared" = yes && enable_static=no
2638 AC_MSG_RESULT([$enable_shared])
2639 @@ -3714,8 +4161,6 @@ AC_MSG_CHECKING([whether to build static libraries])
2640 test "$enable_shared" = yes || enable_static=yes
2641 AC_MSG_RESULT([$enable_static])
2643 -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
2645 _LT_AC_TAGVAR(GCC, $1)="$G77"
2646 _LT_AC_TAGVAR(LD, $1)="$LD"
2648 @@ -3725,8 +4170,6 @@ AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
2649 AC_LIBTOOL_PROG_LD_SHLIBS($1)
2650 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
2651 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
2652 -AC_LIBTOOL_SYS_LIB_STRIP
2655 AC_LIBTOOL_CONFIG($1)
2657 @@ -3752,23 +4195,30 @@ objext=o
2658 _LT_AC_TAGVAR(objext, $1)=$objext
2660 # Code to be used in simple compile tests
2661 -lt_simple_compile_test_code="class foo {}\n"
2662 +lt_simple_compile_test_code="class foo {}"
2664 # Code to be used in simple link tests
2665 -lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
2666 +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
2668 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
2671 +# save warnings/boilerplate of simple test code
2672 +_LT_COMPILER_BOILERPLATE
2673 +_LT_LINKER_BOILERPLATE
2675 # Allow CC to be a program name with arguments.
2679 _LT_AC_TAGVAR(compiler, $1)=$CC
2680 +_LT_CC_BASENAME([$compiler])
2682 # GCJ did not exist at the time GCC didn't implicitly link libc in.
2683 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2685 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
2687 AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
2688 AC_LIBTOOL_PROG_COMPILER_PIC($1)
2689 AC_LIBTOOL_PROG_CC_C_O($1)
2690 @@ -3776,8 +4226,6 @@ AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
2691 AC_LIBTOOL_PROG_LD_SHLIBS($1)
2692 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
2693 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
2694 -AC_LIBTOOL_SYS_LIB_STRIP
2695 -AC_LIBTOOL_DLOPEN_SELF($1)
2697 AC_LIBTOOL_CONFIG($1)
2699 @@ -3787,7 +4235,7 @@ CC="$lt_save_CC"
2702 # AC_LIBTOOL_LANG_RC_CONFIG
2703 -# --------------------------
2704 +# -------------------------
2705 # Ensure that the configuration vars for the Windows resource compiler are
2706 # suitably defined. Those variables are subsequently used by
2707 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
2708 @@ -3803,7 +4251,7 @@ objext=o
2709 _LT_AC_TAGVAR(objext, $1)=$objext
2711 # Code to be used in simple compile tests
2712 -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
2713 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
2715 # Code to be used in simple link tests
2716 lt_simple_link_test_code="$lt_simple_compile_test_code"
2717 @@ -3811,11 +4259,16 @@ lt_simple_link_test_code="$lt_simple_compile_test_code"
2718 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
2721 +# save warnings/boilerplate of simple test code
2722 +_LT_COMPILER_BOILERPLATE
2723 +_LT_LINKER_BOILERPLATE
2725 # Allow CC to be a program name with arguments.
2729 _LT_AC_TAGVAR(compiler, $1)=$CC
2730 +_LT_CC_BASENAME([$compiler])
2731 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
2733 AC_LIBTOOL_CONFIG($1)
2734 @@ -3845,7 +4298,7 @@ if test -f "$ltmain"; then
2735 # Now quote all the things that may contain metacharacters while being
2736 # careful not to overquote the AC_SUBSTed values. We take copies of the
2737 # variables and quote the copies for generation of the libtool script.
2738 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
2739 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
2741 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
2742 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
2743 @@ -3872,6 +4325,7 @@ if test -f "$ltmain"; then
2744 _LT_AC_TAGVAR(predeps, $1) \
2745 _LT_AC_TAGVAR(postdeps, $1) \
2746 _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
2747 + _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \
2748 _LT_AC_TAGVAR(archive_cmds, $1) \
2749 _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
2750 _LT_AC_TAGVAR(postinstall_cmds, $1) \
2751 @@ -3887,6 +4341,7 @@ if test -f "$ltmain"; then
2752 _LT_AC_TAGVAR(module_cmds, $1) \
2753 _LT_AC_TAGVAR(module_expsym_cmds, $1) \
2754 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
2755 + _LT_AC_TAGVAR(fix_srcfile_path, $1) \
2756 _LT_AC_TAGVAR(exclude_expsyms, $1) \
2757 _LT_AC_TAGVAR(include_expsyms, $1); do
2759 @@ -3933,7 +4388,7 @@ ifelse([$1], [],
2760 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
2761 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
2763 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
2764 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
2765 # Free Software Foundation, Inc.
2767 # This file is part of GNU Libtool:
2768 @@ -3951,7 +4406,7 @@ ifelse([$1], [],
2770 # You should have received a copy of the GNU General Public License
2771 # along with this program; if not, write to the Free Software
2772 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
2773 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2775 # As a special exception to the GNU General Public License, if you
2776 # distribute this file as part of a program that contains a
2777 @@ -3962,11 +4417,11 @@ ifelse([$1], [],
2780 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
2781 -Xsed="$SED -e s/^X//"
2782 +Xsed="$SED -e 1s/^X//"
2784 # The HP-UX ksh and POSIX shell print the target directory to stdout
2786 -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
2787 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2789 # The names of the tagged configurations supported by this script.
2791 @@ -3997,6 +4452,12 @@ fast_install=$enable_fast_install
2793 host_alias=$host_alias
2797 +# The build system.
2798 +build_alias=$build_alias
2802 # An echo program that does not interpret backslashes.
2804 @@ -4008,6 +4469,9 @@ AR_FLAGS=$lt_AR_FLAGS
2808 +# LTCC compiler flags.
2809 +LTCFLAGS=$lt_LTCFLAGS
2811 # A language-specific compiler.
2812 CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
2814 @@ -4073,7 +4537,7 @@ max_cmd_len=$lt_cv_sys_max_cmd_len
2815 # Does compiler simultaneously support -c and -o options?
2816 compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
2818 -# Must we lock files when doing compilation ?
2819 +# Must we lock files when doing compilation?
2820 need_locks=$lt_need_locks
2822 # Do we need the lib prefix for modules?
2823 @@ -4161,6 +4625,10 @@ predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
2825 postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
2827 +# The directories searched by this compiler when creating a shared
2829 +compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)
2831 # The library search path used internally by the compiler when linking
2833 compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
2834 @@ -4249,7 +4717,7 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
2835 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
2837 # Fix the shell variable \$srcfile for the compiler.
2838 -fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
2839 +fix_srcfile_path=$lt_fix_srcfile_path
2841 # Set to yes if exported symbols are required.
2842 always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
2843 @@ -4332,6 +4800,7 @@ fi
2844 # ---------------------------------
2845 AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
2846 [AC_REQUIRE([AC_CANONICAL_HOST])
2847 +AC_REQUIRE([LT_AC_PROG_SED])
2848 AC_REQUIRE([AC_PROG_NM])
2849 AC_REQUIRE([AC_OBJEXT])
2850 # Check for command to grab the raw symbol name followed by C symbol from nm.
2851 @@ -4347,9 +4816,6 @@ symcode='[[BCDEGRST]]'
2852 # Regexp to match symbols that can be accessed directly from C.
2853 sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
2855 -# Transform the above into a raw symbol and a C symbol.
2856 -symxfrm='\1 \2\3 \3'
2858 # Transform an extracted symbol line into a proper C declaration
2859 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
2861 @@ -4371,15 +4837,31 @@ hpux*) # Its linker distinguishes data from code symbols
2862 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
2863 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'"
2865 +linux* | k*bsd*-gnu)
2866 + if test "$host_cpu" = ia64; then
2867 + symcode='[[ABCDGIRSTW]]'
2868 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
2869 + 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'"
2873 symcode='[[BCDEGRST]]'
2876 symcode='[[BCDEGQRST]]'
2888 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
2889 + symcode='[[ABDT]]'
2892 symcode='[[DFNSTU]]'
2894 @@ -4402,8 +4884,11 @@ esac
2895 # Try without a prefix undercore, then with it.
2896 for ac_symprfx in "" "_"; do
2898 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
2899 + symxfrm="\\1 $ac_symprfx\\2 \\2"
2901 # Write the raw and C identifiers.
2902 - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
2903 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
2905 # Check to see that the pipe works correctly.
2907 @@ -4493,7 +4978,7 @@ EOF
2908 echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
2909 cat conftest.$ac_ext >&5
2911 - rm -f conftest* conftst*
2912 + rm -rf conftest* conftst*
2914 # Do not use the global_symbol_pipe unless it works.
2915 if test "$pipe_works" = yes; then
2916 @@ -4542,13 +5027,16 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2918 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
2920 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
2921 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
2922 # PIC is the default for these OSes.
2924 - mingw* | os2* | pw32*)
2925 + mingw* | cygwin* | os2* | pw32*)
2926 # This hack is so that the source file can tell whether it is being
2927 # built for inclusion in a dll (and should export symbols for example).
2928 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
2929 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
2930 + # (--disable-auto-import) libraries
2931 + m4_if([$1], [GCJ], [],
2932 + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
2934 darwin* | rhapsody*)
2935 # PIC is the default on this platform
2936 @@ -4559,6 +5047,10 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2937 # DJGPP does not support shared libraries at all
2938 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
2941 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
2942 + # Instead, we relocate shared libraries at runtime.
2945 if test -d /usr/nec; then
2946 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
2947 @@ -4567,7 +5059,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2949 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
2951 - case "$host_cpu" in
2956 @@ -4581,7 +5073,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2962 # All AIX code is PIC.
2963 if test "$host_cpu" = ia64; then
2964 # AIX 5 now supports IA64 processor
2965 @@ -4592,18 +5084,28 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
2968 case $cc_basename in
2971 # Green Hills C++ Compiler
2972 # _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"
2977 + # PIC is the default on this platform
2978 + # Common symbols not allowed in MH_DYLIB files
2979 + case $cc_basename in
2981 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
2982 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
2987 case $cc_basename in
2990 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
2994 # Green Hills C++ Compiler
2995 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
2997 @@ -4611,22 +5113,22 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3001 - freebsd* | kfreebsd*-gnu)
3002 + freebsd* | dragonfly*)
3003 # FreeBSD uses GNU C++
3005 hpux9* | hpux10* | hpux11*)
3006 case $cc_basename in
3009 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3010 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
3011 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
3012 if test "$host_cpu" != ia64; then
3013 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
3018 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3019 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
3020 - case "$host_cpu" in
3021 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
3026 @@ -4639,9 +5141,13 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3031 + # This is c89, which is MS Visual C++ (no shared libs)
3032 + # Anyone wants to do a port?
3034 irix5* | irix6* | nonstopux*)
3035 case $cc_basename in
3038 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3039 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3040 # CC pic flag -KPIC is the default.
3041 @@ -4650,20 +5156,26 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3046 + linux* | k*bsd*-gnu)
3047 case $cc_basename in
3051 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
3052 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3057 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3058 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3059 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
3063 + # Portland Group C++ compiler.
3064 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3065 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
3066 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3070 # Make sure the PIC flag is empty. It appears that all Alpha
3071 # Linux and Compaq Tru64 Unix objects are PIC.
3072 @@ -4671,6 +5183,14 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3073 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3076 + case `$CC -V 2>&1 | sed 5q` in
3079 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3080 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3081 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
3087 @@ -4680,25 +5200,25 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3090 case $cc_basename in
3093 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
3100 + netbsd* | netbsdelf*-gnu)
3102 osf3* | osf4* | osf5*)
3103 case $cc_basename in
3106 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
3110 # Rational C++ 2.4.1
3111 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3115 # Digital/Compaq C++
3116 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3117 # Make sure the PIC flag is empty. It appears that all Alpha
3118 @@ -4712,24 +5232,15 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3123 - case $cc_basename in
3125 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3132 case $cc_basename in
3135 # Sun C++ 4.2, 5.x and Centerline C++
3136 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3137 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3138 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
3142 # Green Hills C++ Compiler
3143 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
3145 @@ -4739,12 +5250,12 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3148 case $cc_basename in
3152 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3153 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3158 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3160 @@ -4754,7 +5265,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3163 case $cc_basename in
3166 # NonStop-UX NCC 3.20
3167 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3169 @@ -4762,7 +5273,14 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3174 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
3175 + case $cc_basename in
3177 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3178 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3179 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3185 @@ -4793,14 +5311,17 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3186 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
3189 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
3190 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
3191 # PIC is the default for these OSes.
3194 - mingw* | pw32* | os2*)
3195 + mingw* | cygwin* | pw32* | os2*)
3196 # This hack is so that the source file can tell whether it is being
3197 # built for inclusion in a dll (and should export symbols for example).
3198 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
3199 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
3200 + # (--disable-auto-import) libraries
3201 + m4_if([$1], [GCJ], [],
3202 + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
3205 darwin* | rhapsody*)
3206 @@ -4809,6 +5330,11 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3207 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
3211 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
3212 + # Instead, we relocate shared libraries at runtime.
3216 # Just because we use GCC doesn't mean we suddenly get shared libraries
3217 # on systems that don't support them.
3218 @@ -4825,7 +5351,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3220 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
3222 - case "$host_cpu" in
3227 @@ -4851,18 +5377,29 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3228 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
3232 + # PIC is the default on this platform
3233 + # Common symbols not allowed in MH_DYLIB files
3234 + case $cc_basename in
3236 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
3237 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3242 - mingw* | pw32* | os2*)
3243 + mingw* | cygwin* | pw32* | os2*)
3244 # This hack is so that the source file can tell whether it is being
3245 # built for inclusion in a dll (and should export symbols for example).
3246 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
3247 + m4_if([$1], [GCJ], [],
3248 + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
3251 hpux9* | hpux10* | hpux11*)
3252 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3253 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
3255 - case "$host_cpu" in
3260 @@ -4885,18 +5422,41 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3261 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3266 + linux* | k*bsd*-gnu)
3267 + case $cc_basename in
3269 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3270 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3271 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
3273 + pgcc* | pgf77* | pgf90* | pgf95*)
3274 + # Portland Group compilers (*not* the Pentium gcc compiler,
3275 + # which looks to be a dead project)
3276 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3277 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
3278 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3281 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3282 # All Alpha code is PIC.
3283 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3286 + case `$CC -V 2>&1 | sed 5q` in
3289 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3290 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3291 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3294 + # Sun Fortran 8.3 passes all unrecognized flags to the linker
3295 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3296 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3297 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
3304 @@ -4906,15 +5466,19 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3305 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3309 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
3310 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
3312 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3316 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3317 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3318 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3319 + case $cc_basename in
3320 + f77* | f90* | f95*)
3321 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
3323 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
3328 @@ -4923,7 +5487,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3329 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3332 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3333 + sysv4 | sysv4.2uw2* | sysv4.3*)
3334 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3335 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3336 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3337 @@ -4936,6 +5500,17 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
3341 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
3342 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3343 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3344 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3348 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3349 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
3353 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3354 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3355 @@ -4954,7 +5529,7 @@ AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
3357 if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
3358 AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
3359 - _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
3360 + _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
3361 [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
3362 [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
3364 @@ -4963,7 +5538,7 @@ if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
3365 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
3366 _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
3370 # For platforms which do not support PIC, -DPIC is meaningless:
3372 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
3373 @@ -4972,6 +5547,16 @@ case "$host_os" in
3374 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
3379 +# Check to make sure the static flag actually works.
3381 +wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
3382 +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
3383 + _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1),
3384 + $lt_tmp_static_flag,
3386 + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
3390 @@ -4979,11 +5564,12 @@ esac
3391 # ------------------------------------
3392 # See if the linker supports building shared libraries.
3393 AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
3394 -[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
3395 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
3396 +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
3398 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
3402 # If we're using GNU nm, then we don't want the "-C" option.
3403 # -C means demangle to AIX nm, but means don't demangle with GNU nm
3404 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
3405 @@ -4996,12 +5582,16 @@ ifelse([$1],[CXX],[
3406 _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
3409 - _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'
3410 + _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'
3412 + linux* | k*bsd*-gnu)
3413 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
3416 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
3419 + _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
3422 _LT_AC_TAGVAR(allow_undefined_flag, $1)=
3423 @@ -5032,14 +5622,17 @@ ifelse([$1],[CXX],[
3424 # it will be wrapped by ` (' and `)$', so one must not match beginning or
3425 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
3426 # as well as any symbol that contains `d'.
3427 - _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
3428 + _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
3429 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
3430 # platforms (ab)use it in PIC code, but their linkers get confused if
3431 # the symbol is explicitly referenced. Since portable code cannot
3432 # rely on this symbol name, it's probably fine to never include it in
3433 # preloaded symbol tables.
3434 + # Exclude shared library initialization/finalization symbols.
3435 +dnl Note also adjust exclude_expsyms for C++ above.
3436 extract_expsyms_cmds=
3438 + # Just being paranoid about ensuring that cc_basename is set.
3439 + _LT_CC_BASENAME([$compiler])
3441 cygwin* | mingw* | pw32*)
3442 # FIXME: the MSVC++ port hasn't been tested in a loooong time
3443 @@ -5049,6 +5642,10 @@ ifelse([$1],[CXX],[
3448 + # we just hope/assume this is gcc and not c89 (= MSVC++)
3454 @@ -5059,9 +5656,30 @@ ifelse([$1],[CXX],[
3455 # If archive_cmds runs LD, not CC, wlarc should be empty
3458 + # Set some defaults for GNU ld with shared library support. These
3459 + # are reset later if shared libraries are not supported. Putting them
3460 + # here allows them to be overridden if necessary.
3461 + runpath_var=LD_RUN_PATH
3462 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
3463 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3464 + # ancient GNU ld didn't support --whole-archive et. al.
3465 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
3466 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3468 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3470 + supports_anon_versioning=no
3471 + case `$LD -v 2>/dev/null` in
3472 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
3473 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
3474 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
3475 + *\ 2.11.*) ;; # other 2.11 versions
3476 + *) supports_anon_versioning=yes ;;
3479 # See if GNU ld supports shared libraries.
3481 - aix3* | aix4* | aix5*)
3483 # On AIX/PPC, the GNU linker is very broken
3484 if test "$host_cpu" != ia64; then
3485 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3486 @@ -5109,10 +5727,10 @@ EOF
3487 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
3488 _LT_AC_TAGVAR(always_export_symbols, $1)=no
3489 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
3490 - _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'
3491 + _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'
3493 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
3494 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
3495 + _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'
3496 # If the export-symbols file already is a .def file (1st line
3497 # is EXPORTS), use it as is; otherwise, prepend...
3498 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
3499 @@ -5121,13 +5739,69 @@ EOF
3500 echo EXPORTS > $output_objdir/$soname.def;
3501 cat $export_symbols >> $output_objdir/$soname.def;
3503 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
3504 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
3507 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3513 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
3514 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3515 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3516 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3517 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
3518 + # Instead, shared libraries are loaded at an image base (0x10000000 by
3519 + # default) and relocated if they conflict, which is a slow very memory
3520 + # consuming and fragmenting process. To avoid this, we pick a random,
3521 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
3522 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
3523 + _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'
3524 + _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'
3527 + gnu* | linux* | k*bsd*-gnu)
3528 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3530 + case $cc_basename,$host_cpu in
3531 + pgcc*) # Portland Group C compiler
3532 + _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'
3533 + tmp_addflag=' $pic_flag'
3535 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
3536 + _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'
3537 + tmp_addflag=' $pic_flag -Mnomain' ;;
3538 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
3539 + tmp_addflag=' -i_dynamic' ;;
3540 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
3541 + tmp_addflag=' -i_dynamic -nofor_main' ;;
3542 + ifc* | ifort*) # Intel Fortran compiler
3543 + tmp_addflag=' -nofor_main' ;;
3545 + case `$CC -V 2>&1 | sed 5q` in
3546 + *Sun\ C*) # Sun C 5.9
3547 + _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'
3548 + tmp_sharedflag='-G' ;;
3549 + *Sun\ F*) # Sun Fortran 8.3
3550 + tmp_sharedflag='-G' ;;
3552 + tmp_sharedflag='-shared' ;;
3554 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3556 + if test $supports_anon_versioning = yes; then
3557 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
3558 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
3559 + $echo "local: *; };" >> $output_objdir/$libname.ver~
3560 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
3562 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
3564 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3568 + netbsd* | netbsdelf*-gnu)
3569 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3570 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
3572 @@ -5137,7 +5811,7 @@ EOF
3576 - solaris* | sysv5*)
3578 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
3579 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3581 @@ -5158,6 +5832,33 @@ EOF
3585 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
3586 + case `$LD -v 2>&1` in
3587 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
3588 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3589 + cat <<_LT_EOF 1>&2
3591 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
3592 +*** reliably create shared libraries on SCO systems. Therefore, libtool
3593 +*** is disabling shared libraries support. We urge you to upgrade GNU
3594 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
3595 +*** your PATH or compiler configuration so that the native linker is
3596 +*** used, and then restart.
3601 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3602 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
3603 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
3604 + _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'
3606 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3613 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
3615 @@ -5165,31 +5866,6 @@ EOF
3616 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3620 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3621 - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3622 - _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
3623 - supports_anon_versioning=no
3624 - case `$LD -v 2>/dev/null` in
3625 - *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
3626 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
3627 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
3628 - *\ 2.11.*) ;; # other 2.11 versions
3629 - *) supports_anon_versioning=yes ;;
3631 - if test $supports_anon_versioning = yes; then
3632 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
3633 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
3634 -$echo "local: *; };" >> $output_objdir/$libname.ver~
3635 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
3637 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds"
3640 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3645 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3646 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3647 @@ -5200,16 +5876,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3651 - if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then
3652 - runpath_var=LD_RUN_PATH
3653 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
3654 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3655 - # ancient GNU ld didn't support --whole-archive et. al.
3656 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
3657 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3659 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3661 + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
3663 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
3664 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
3665 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3668 # PORTME fill in a description of your system's linker (not GNU ld)
3669 @@ -5221,14 +5892,14 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3670 # Note: this linker hardcodes the directories in LIBPATH if there
3671 # are no directories specified by -L.
3672 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3673 - if test "$GCC" = yes && test -z "$link_static_flag"; then
3674 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
3675 # Neither direct hardcoding nor static linking is supported with a
3677 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
3683 if test "$host_cpu" = ia64; then
3684 # On IA64, the linker does run time linking by default, so we don't
3685 # have to do anything special.
3686 @@ -5248,13 +5919,14 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3687 # Test if we are trying to use run time linking or normal
3688 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
3689 # need to do runtime linking.
3690 - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
3691 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
3692 for ld_flag in $LDFLAGS; do
3693 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
3694 aix_use_runtimelinking=yes
3701 exp_sym_flag='-bexport'
3702 @@ -5273,7 +5945,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3703 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3705 if test "$GCC" = yes; then
3706 - case $host_os in aix4.[012]|aix4.[012].*)
3707 + case $host_os in aix4.[[012]]|aix4.[[012]].*)
3708 # We only want to do this on AIX 4.2 and lower, the check
3709 # below for broken collect2 doesn't work under 4.3+
3710 collect2name=`${CC} -print-prog-name=collect2`
3711 @@ -5281,7 +5953,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3712 strings "$collect2name" | grep resolve_lib_name >/dev/null
3714 # We have reworked collect2
3715 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3718 # We have old collect2
3719 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
3720 @@ -5292,8 +5964,12 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3721 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3722 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
3726 shared_flag='-shared'
3727 + if test "$aix_use_runtimelinking" = yes; then
3728 + shared_flag="$shared_flag "'${wl}-G'
3732 if test "$host_cpu" = ia64; then
3733 @@ -5301,11 +5977,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3734 # chokes on -Wl,-G. The following line is correct:
3737 - if test "$aix_use_runtimelinking" = yes; then
3738 + if test "$aix_use_runtimelinking" = yes; then
3739 shared_flag='${wl}-G'
3741 shared_flag='${wl}-bM:SRE'
3747 @@ -5319,12 +5995,12 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3748 # Determine the default libpath from the value encoded in an empty executable.
3749 _LT_AC_SYS_LIBPATH_AIX
3750 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
3751 - _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"
3752 + _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"
3754 if test "$host_cpu" = ia64; then
3755 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
3756 _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
3757 - _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"
3758 + _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"
3760 # Determine the default libpath from the value encoded in an empty executable.
3761 _LT_AC_SYS_LIBPATH_AIX
3762 @@ -5333,13 +6009,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3763 # -berok will link without error, but may produce a broken library.
3764 _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
3765 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
3766 - # -bexpall does not export symbols beginning with underscore (_)
3767 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
3768 # Exported symbols can be pulled into shared objects from archives
3769 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
3770 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
3771 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
3772 - # This is similar to how AIX traditionally builds it's shared libraries.
3773 - _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'
3774 + # This is similar to how AIX traditionally builds its shared libraries.
3775 + _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'
3779 @@ -5352,7 +6026,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3780 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3785 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
3788 @@ -5372,58 +6046,57 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3789 # The linker will automatically build a .lib file if we build a DLL.
3790 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
3791 # FIXME: Should let the user specify the lib program.
3792 - _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
3793 - fix_srcfile_path='`cygpath -w "$srcfile"`'
3794 + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
3795 + _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
3796 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
3799 darwin* | rhapsody*)
3800 - if test "$GXX" = yes ; then
3801 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3802 - case "$host_os" in
3803 - rhapsody* | darwin1.[[012]])
3804 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
3806 - *) # Darwin 1.3 on
3807 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3808 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3810 - case ${MACOSX_DEPLOYMENT_TARGET} in
3812 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3815 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
3821 + rhapsody* | darwin1.[[012]])
3822 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
3824 + *) # Darwin 1.3 on
3825 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3826 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3828 + case ${MACOSX_DEPLOYMENT_TARGET} in
3830 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3833 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
3839 - lt_int_apple_cc_single_mod=no
3840 - output_verbose_link_cmd='echo'
3841 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
3842 - lt_int_apple_cc_single_mod=yes
3844 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3845 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3847 - _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'
3849 - _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3850 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
3851 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3852 - _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}'
3854 - _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}'
3856 - _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}'
3857 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3858 _LT_AC_TAGVAR(hardcode_direct, $1)=no
3859 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3860 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3861 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
3862 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
3863 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3864 + if test "$GCC" = yes ; then
3865 + output_verbose_link_cmd='echo'
3866 + _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}"
3867 + _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
3868 + _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}"
3869 + _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}"
3871 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3872 + case $cc_basename in
3874 + output_verbose_link_cmd='echo'
3875 + _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'
3876 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3877 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3878 + _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}'
3879 + _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}'
3882 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3888 @@ -5457,7 +6130,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3891 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
3892 - freebsd* | kfreebsd*-gnu)
3893 + freebsd* | dragonfly*)
3894 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
3895 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3896 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3897 @@ -5480,47 +6153,62 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3898 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3901 - hpux10* | hpux11*)
3903 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
3904 - case "$host_cpu" in
3906 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
3908 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
3910 + if test "$with_gnu_ld" = no; then
3911 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3912 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3914 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3915 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3917 + # hardcode_minus_L: Not really in the search PATH,
3918 + # but as the default location of the library.
3919 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3924 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
3927 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3930 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
3933 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
3937 - case "$host_cpu" in
3939 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
3942 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3945 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
3948 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
3949 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
3953 if test "$with_gnu_ld" = no; then
3954 - case "$host_cpu" in
3956 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3957 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3958 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3962 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
3963 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3964 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
3965 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3968 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3969 _LT_AC_TAGVAR(hardcode_direct, $1)=no
3970 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3972 - # hardcode_minus_L: Not really in the search PATH,
3973 - # but as the default location of the library.
3974 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3977 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3978 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3979 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3980 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3982 @@ -5544,7 +6232,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3983 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3987 + netbsd* | netbsdelf*-gnu)
3988 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3989 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
3991 @@ -5564,23 +6252,28 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
3995 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3996 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3997 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3998 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
3999 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4000 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4001 + if test -f /usr/libexec/ld.so; then
4002 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4003 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4004 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4005 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
4006 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
4007 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4008 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4011 + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
4012 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
4013 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4016 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
4017 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4023 - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
4024 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
4025 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4028 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
4029 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4032 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4036 @@ -5613,7 +6306,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
4037 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
4038 _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'
4039 _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~
4040 - $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'
4041 + $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'
4043 # Both c and cxx compiler support -rpath directly
4044 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
4045 @@ -5621,21 +6314,15 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
4046 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4050 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4051 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4052 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
4053 - runpath_var=LD_RUN_PATH
4054 - hardcode_runpath_var=yes
4058 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
4059 if test "$GCC" = yes; then
4061 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
4062 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4063 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
4066 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
4067 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4068 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
4069 @@ -5644,8 +6331,17 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
4070 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4072 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
4073 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
4074 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
4076 + # The compiler driver will combine and reorder linker options,
4077 + # but understands `-z linker_flag'. GCC discards it without `$wl',
4078 + # but is careful enough not to reorder.
4079 + # Supported since Solaris 2.6 (maybe 2.5.1?)
4080 + if test "$GCC" = yes; then
4081 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
4083 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
4087 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4089 @@ -5702,36 +6398,45 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
4094 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
4095 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4096 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
4097 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
4098 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
4099 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4100 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4101 - hardcode_runpath_var=yes
4102 - runpath_var=LD_RUN_PATH
4104 + runpath_var='LD_RUN_PATH'
4106 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
4107 - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
4108 if test "$GCC" = yes; then
4109 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
4110 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
4111 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
4113 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
4114 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
4115 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
4117 - runpath_var='LD_RUN_PATH'
4118 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4122 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
4123 - # $CC -shared without GNU ld will not create a library from C++
4124 - # object files and a static libstdc++, better avoid it by now
4125 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
4126 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4127 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
4128 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
4129 + sysv5* | sco3.2v5* | sco5v6*)
4130 + # Note: We can NOT use -z defs as we might desire, because we do not
4131 + # link with -lc, and that would cause any symbols used from libc to
4132 + # always be unresolved, which means just about no library would
4133 + # ever link correctly. If we're not using GNU ld we use -z text
4134 + # though, which does catch some bad symbols but isn't as heavy-handed
4136 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
4137 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
4138 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4139 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4140 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
4141 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
4142 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4143 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
4144 runpath_var='LD_RUN_PATH'
4146 + if test "$GCC" = yes; then
4147 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
4148 + _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'
4150 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
4151 + _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'
4156 @@ -5749,11 +6454,6 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
4157 AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
4158 test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
4160 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
4161 -if test "$GCC" = yes; then
4162 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
4166 # Do we need to explicitly link libc?
4168 @@ -5773,7 +6473,7 @@ x|xyes)
4169 # to ld, don't add -lc before -lgcc.
4170 AC_MSG_CHECKING([whether -lc should be explicitly linked in])
4172 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
4173 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
4175 if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
4177 @@ -5781,6 +6481,7 @@ x|xyes)
4178 libobjs=conftest.$ac_objext
4180 wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
4181 + pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
4185 @@ -5875,6 +6576,30 @@ AC_DEFUN([LT_AC_PROG_RC],
4186 [AC_CHECK_TOOL(RC, windres, no)
4190 +# Cheap backport of AS_EXECUTABLE_P and required macros
4191 +# from Autoconf 2.59; we should not use $as_executable_p directly.
4195 +m4_ifndef([_AS_TEST_PREPARE],
4196 +[m4_defun([_AS_TEST_PREPARE],
4197 +[if test -x / >/dev/null 2>&1; then
4198 + as_executable_p='test -x'
4200 + as_executable_p='test -f'
4202 +])])# _AS_TEST_PREPARE
4206 +# Check whether a file is executable.
4207 +m4_ifndef([AS_EXECUTABLE_P],
4208 +[m4_defun([AS_EXECUTABLE_P],
4209 +[AS_REQUIRE([_AS_TEST_PREPARE])dnl
4210 +$as_executable_p $1[]dnl
4211 +])])# AS_EXECUTABLE_P
4213 # NOTE: This macro has been submitted for inclusion into #
4214 # GNU Autoconf as AC_PROG_SED. When it is available in #
4215 # a released version of Autoconf we should remove this #
4216 @@ -5895,18 +6620,19 @@ do
4217 test -z "$as_dir" && as_dir=.
4218 for lt_ac_prog in sed gsed; do
4219 for ac_exec_ext in '' $ac_executable_extensions; do
4220 - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4221 + if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then
4222 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4230 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4231 # along with /bin/sed that truncates output.
4232 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4233 - test ! -f $lt_ac_sed && break
4234 + test ! -f $lt_ac_sed && continue
4235 cat /dev/null > conftest.in
4237 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4238 @@ -5931,28 +6657,17 @@ for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4242 -SED=$lt_cv_path_SED
4244 +SED=$lt_cv_path_SED
4246 AC_MSG_RESULT([$SED])
4250 -# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
4251 -# Generated from amversion.in; do not edit by hand.
4253 -# This program is free software; you can redistribute it and/or modify
4254 -# it under the terms of the GNU General Public License as published by
4255 -# the Free Software Foundation; either version 2, or (at your option)
4256 -# any later version.
4258 -# This program is distributed in the hope that it will be useful,
4259 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4260 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4261 -# GNU General Public License for more details.
4263 -# You should have received a copy of the GNU General Public License
4264 -# along with this program; if not, write to the Free Software
4265 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4266 +# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
4268 +# This file is free software; the Free Software Foundation
4269 +# gives unlimited permission to copy and/or distribute it,
4270 +# with or without modifications, as long as this notice is preserved.
4272 # AM_AUTOMAKE_VERSION(VERSION)
4273 # ----------------------------
4274 @@ -5965,26 +6680,15 @@ AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
4275 # Call AM_AUTOMAKE_VERSION so it can be traced.
4276 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
4277 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
4278 - [AM_AUTOMAKE_VERSION([1.9.2])])
4280 -# AM_AUX_DIR_EXPAND
4281 + [AM_AUTOMAKE_VERSION([1.9.6])])
4283 -# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
4284 +# AM_AUX_DIR_EXPAND -*- Autoconf -*-
4286 -# This program is free software; you can redistribute it and/or modify
4287 -# it under the terms of the GNU General Public License as published by
4288 -# the Free Software Foundation; either version 2, or (at your option)
4289 -# any later version.
4291 -# This program is distributed in the hope that it will be useful,
4292 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4293 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4294 -# GNU General Public License for more details.
4296 -# You should have received a copy of the GNU General Public License
4297 -# along with this program; if not, write to the Free Software
4298 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4300 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
4302 +# This file is free software; the Free Software Foundation
4303 +# gives unlimited permission to copy and/or distribute it,
4304 +# with or without modifications, as long as this notice is preserved.
4306 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
4307 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
4308 @@ -6031,26 +6735,16 @@ AC_PREREQ([2.50])dnl
4309 am_aux_dir=`cd $ac_aux_dir && pwd`
4312 -# AM_CONDITIONAL -*- Autoconf -*-
4314 -# Copyright (C) 1997, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
4316 -# This program is free software; you can redistribute it and/or modify
4317 -# it under the terms of the GNU General Public License as published by
4318 -# the Free Software Foundation; either version 2, or (at your option)
4319 -# any later version.
4320 +# AM_CONDITIONAL -*- Autoconf -*-
4322 -# This program is distributed in the hope that it will be useful,
4323 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4324 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4325 -# GNU General Public License for more details.
4327 -# You should have received a copy of the GNU General Public License
4328 -# along with this program; if not, write to the Free Software
4329 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4331 +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
4332 +# Free Software Foundation, Inc.
4334 +# This file is free software; the Free Software Foundation
4335 +# gives unlimited permission to copy and/or distribute it,
4336 +# with or without modifications, as long as this notice is preserved.
4341 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
4342 # -------------------------------------
4343 @@ -6074,26 +6768,15 @@ AC_CONFIG_COMMANDS_PRE(
4344 Usually this means the macro was only invoked conditionally.]])
4347 -# serial 7 -*- Autoconf -*-
4349 -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
4350 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
4351 # Free Software Foundation, Inc.
4353 +# This file is free software; the Free Software Foundation
4354 +# gives unlimited permission to copy and/or distribute it,
4355 +# with or without modifications, as long as this notice is preserved.
4357 -# This program is free software; you can redistribute it and/or modify
4358 -# it under the terms of the GNU General Public License as published by
4359 -# the Free Software Foundation; either version 2, or (at your option)
4360 -# any later version.
4362 -# This program is distributed in the hope that it will be useful,
4363 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4364 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4365 -# GNU General Public License for more details.
4367 -# You should have received a copy of the GNU General Public License
4368 -# along with this program; if not, write to the Free Software
4369 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4374 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
4375 # written in clear, in which case automake, when reading aclocal.m4,
4376 @@ -6102,7 +6785,6 @@ fi])])
4377 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
4381 # _AM_DEPENDENCIES(NAME)
4382 # ----------------------
4383 # See how the compiler implements dependency checking.
4384 @@ -6242,27 +6924,16 @@ AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
4385 AC_SUBST([AMDEPBACKSLASH])
4388 -# Generate code to set up dependency tracking. -*- Autoconf -*-
4390 -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
4391 -# Free Software Foundation, Inc.
4393 -# This program is free software; you can redistribute it and/or modify
4394 -# it under the terms of the GNU General Public License as published by
4395 -# the Free Software Foundation; either version 2, or (at your option)
4396 -# any later version.
4398 -# This program is distributed in the hope that it will be useful,
4399 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4400 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4401 -# GNU General Public License for more details.
4402 +# Generate code to set up dependency tracking. -*- Autoconf -*-
4404 -# You should have received a copy of the GNU General Public License
4405 -# along with this program; if not, write to the Free Software
4406 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4408 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
4409 +# Free Software Foundation, Inc.
4411 +# This file is free software; the Free Software Foundation
4412 +# gives unlimited permission to copy and/or distribute it,
4413 +# with or without modifications, as long as this notice is preserved.
4418 # _AM_OUTPUT_DEPENDENCY_COMMANDS
4419 # ------------------------------
4420 @@ -6321,54 +6992,31 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
4421 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
4424 -# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
4426 -# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
4428 -# This program is free software; you can redistribute it and/or modify
4429 -# it under the terms of the GNU General Public License as published by
4430 -# the Free Software Foundation; either version 2, or (at your option)
4431 -# any later version.
4433 -# This program is distributed in the hope that it will be useful,
4434 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4435 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4436 -# GNU General Public License for more details.
4438 -# You should have received a copy of the GNU General Public License
4439 -# along with this program; if not, write to the Free Software
4440 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4442 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
4443 +# Free Software Foundation, Inc.
4445 +# This file is free software; the Free Software Foundation
4446 +# gives unlimited permission to copy and/or distribute it,
4447 +# with or without modifications, as long as this notice is preserved.
4452 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
4453 AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
4455 -# Do all the work for Automake. -*- Autoconf -*-
4457 -# This macro actually does too much some checks are only needed if
4458 -# your package does certain things. But this isn't really a big deal.
4459 +# Do all the work for Automake. -*- Autoconf -*-
4461 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
4462 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
4463 # Free Software Foundation, Inc.
4465 +# This file is free software; the Free Software Foundation
4466 +# gives unlimited permission to copy and/or distribute it,
4467 +# with or without modifications, as long as this notice is preserved.
4469 -# This program is free software; you can redistribute it and/or modify
4470 -# it under the terms of the GNU General Public License as published by
4471 -# the Free Software Foundation; either version 2, or (at your option)
4472 -# any later version.
4474 -# This program is distributed in the hope that it will be useful,
4475 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4476 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4477 -# GNU General Public License for more details.
4479 -# You should have received a copy of the GNU General Public License
4480 -# along with this program; if not, write to the Free Software
4481 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4486 +# This macro actually does too much. Some checks are only needed if
4487 +# your package does certain things. But this isn't really a big deal.
4489 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
4490 # AM_INIT_AUTOMAKE([OPTIONS])
4491 @@ -6470,51 +7118,27 @@ for _am_header in $config_headers :; do
4493 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
4495 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
4497 +# This file is free software; the Free Software Foundation
4498 +# gives unlimited permission to copy and/or distribute it,
4499 +# with or without modifications, as long as this notice is preserved.
4501 # AM_PROG_INSTALL_SH
4502 # ------------------
4503 # Define $install_sh.
4505 -# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
4507 -# This program is free software; you can redistribute it and/or modify
4508 -# it under the terms of the GNU General Public License as published by
4509 -# the Free Software Foundation; either version 2, or (at your option)
4510 -# any later version.
4512 -# This program is distributed in the hope that it will be useful,
4513 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4514 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4515 -# GNU General Public License for more details.
4517 -# You should have received a copy of the GNU General Public License
4518 -# along with this program; if not, write to the Free Software
4519 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4522 AC_DEFUN([AM_PROG_INSTALL_SH],
4523 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
4524 install_sh=${install_sh-"$am_aux_dir/install-sh"}
4525 AC_SUBST(install_sh)])
4528 -# Copyright (C) 2003 Free Software Foundation, Inc.
4530 -# This program is free software; you can redistribute it and/or modify
4531 -# it under the terms of the GNU General Public License as published by
4532 -# the Free Software Foundation; either version 2, or (at your option)
4533 -# any later version.
4535 -# This program is distributed in the hope that it will be useful,
4536 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4537 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4538 -# GNU General Public License for more details.
4540 -# You should have received a copy of the GNU General Public License
4541 -# along with this program; if not, write to the Free Software
4542 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4544 +# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
4546 +# This file is free software; the Free Software Foundation
4547 +# gives unlimited permission to copy and/or distribute it,
4548 +# with or without modifications, as long as this notice is preserved.
4553 # Check whether the underlying file-system supports filenames
4554 # with a leading dot. For instance MS-DOS doesn't.
4555 @@ -6529,28 +7153,17 @@ fi
4556 rmdir .tst 2>/dev/null
4557 AC_SUBST([am__leading_dot])])
4559 -# Add --enable-maintainer-mode option to configure.
4560 +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
4563 -# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004
4564 +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
4565 # 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.
4571 -# This program is free software; you can redistribute it and/or modify
4572 -# it under the terms of the GNU General Public License as published by
4573 -# the Free Software Foundation; either version 2, or (at your option)
4574 -# any later version.
4576 -# This program is distributed in the hope that it will be useful,
4577 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4578 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4579 -# GNU General Public License for more details.
4581 -# You should have received a copy of the GNU General Public License
4582 -# along with this program; if not, write to the Free Software
4583 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4589 AC_DEFUN([AM_MAINTAINER_MODE],
4590 [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
4591 @@ -6569,26 +7182,15 @@ AC_DEFUN([AM_MAINTAINER_MODE],
4593 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
4595 -# Check to see how 'make' treats includes. -*- Autoconf -*-
4597 -# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
4599 -# This program is free software; you can redistribute it and/or modify
4600 -# it under the terms of the GNU General Public License as published by
4601 -# the Free Software Foundation; either version 2, or (at your option)
4602 -# any later version.
4604 -# This program is distributed in the hope that it will be useful,
4605 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4606 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4607 -# GNU General Public License for more details.
4608 +# Check to see how 'make' treats includes. -*- Autoconf -*-
4610 -# You should have received a copy of the GNU General Public License
4611 -# along with this program; if not, write to the Free Software
4612 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4614 +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
4616 +# This file is free software; the Free Software Foundation
4617 +# gives unlimited permission to copy and/or distribute it,
4618 +# with or without modifications, as long as this notice is preserved.
4625 @@ -6632,27 +7234,16 @@ AC_MSG_RESULT([$_am_result])
4626 rm -f confinc confmf
4632 -# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
4634 -# This program is free software; you can redistribute it and/or modify
4635 -# it under the terms of the GNU General Public License as published by
4636 -# the Free Software Foundation; either version 2, or (at your option)
4637 -# any later version.
4639 -# This program is distributed in the hope that it will be useful,
4640 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4641 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4642 -# GNU General Public License for more details.
4643 +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
4645 -# You should have received a copy of the GNU General Public License
4646 -# along with this program; if not, write to the Free Software
4647 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4649 +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
4650 +# Free Software Foundation, Inc.
4652 +# This file is free software; the Free Software Foundation
4653 +# gives unlimited permission to copy and/or distribute it,
4654 +# with or without modifications, as long as this notice is preserved.
4659 # AM_MISSING_PROG(NAME, PROGRAM)
4660 # ------------------------------
4661 @@ -6678,27 +7269,16 @@ else
4665 +# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
4667 +# This file is free software; the Free Software Foundation
4668 +# gives unlimited permission to copy and/or distribute it,
4669 +# with or without modifications, as long as this notice is preserved.
4673 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
4675 -# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
4677 -# This program is free software; you can redistribute it and/or modify
4678 -# it under the terms of the GNU General Public License as published by
4679 -# the Free Software Foundation; either version 2, or (at your option)
4680 -# any later version.
4682 -# This program is distributed in the hope that it will be useful,
4683 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4684 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4685 -# GNU General Public License for more details.
4687 -# You should have received a copy of the GNU General Public License
4688 -# along with this program; if not, write to the Free Software
4689 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4693 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
4694 # created by `make install' are always world readable, even if the
4695 # installer happens to have an overly restrictive umask (e.g. 077).
4696 @@ -6752,26 +7332,15 @@ else
4698 AC_SUBST([mkdir_p])])
4700 -# Helper functions for option handling. -*- Autoconf -*-
4702 -# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
4704 -# This program is free software; you can redistribute it and/or modify
4705 -# it under the terms of the GNU General Public License as published by
4706 -# the Free Software Foundation; either version 2, or (at your option)
4707 -# any later version.
4709 -# This program is distributed in the hope that it will be useful,
4710 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4711 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4712 -# GNU General Public License for more details.
4713 +# Helper functions for option handling. -*- Autoconf -*-
4715 -# You should have received a copy of the GNU General Public License
4716 -# along with this program; if not, write to the Free Software
4717 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4719 +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
4721 +# This file is free software; the Free Software Foundation
4722 +# gives unlimited permission to copy and/or distribute it,
4723 +# with or without modifications, as long as this notice is preserved.
4728 # _AM_MANGLE_OPTION(NAME)
4729 # -----------------------
4730 @@ -6796,28 +7365,16 @@ AC_DEFUN([_AM_SET_OPTIONS],
4731 AC_DEFUN([_AM_IF_OPTION],
4732 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
4735 -# Check to make sure that the build environment is sane.
4738 -# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
4739 +# Check to make sure that the build environment is sane. -*- Autoconf -*-
4741 -# This program is free software; you can redistribute it and/or modify
4742 -# it under the terms of the GNU General Public License as published by
4743 -# the Free Software Foundation; either version 2, or (at your option)
4744 -# any later version.
4746 -# This program is distributed in the hope that it will be useful,
4747 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4748 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4749 -# GNU General Public License for more details.
4751 -# You should have received a copy of the GNU General Public License
4752 -# along with this program; if not, write to the Free Software
4753 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4755 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
4756 +# Free Software Foundation, Inc.
4758 +# This file is free software; the Free Software Foundation
4759 +# gives unlimited permission to copy and/or distribute it,
4760 +# with or without modifications, as long as this notice is preserved.
4767 @@ -6860,25 +7417,14 @@ Check your system clock])
4769 AC_MSG_RESULT(yes)])
4771 -# AM_PROG_INSTALL_STRIP
4773 -# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
4775 -# This program is free software; you can redistribute it and/or modify
4776 -# it under the terms of the GNU General Public License as published by
4777 -# the Free Software Foundation; either version 2, or (at your option)
4778 -# any later version.
4780 -# This program is distributed in the hope that it will be useful,
4781 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4782 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4783 -# GNU General Public License for more details.
4785 -# You should have received a copy of the GNU General Public License
4786 -# along with this program; if not, write to the Free Software
4787 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4789 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
4791 +# This file is free software; the Free Software Foundation
4792 +# gives unlimited permission to copy and/or distribute it,
4793 +# with or without modifications, as long as this notice is preserved.
4795 +# AM_PROG_INSTALL_STRIP
4796 +# ---------------------
4797 # One issue with vendor `install' (even GNU) is that you can't
4798 # specify the program used to strip binaries. This is especially
4799 # annoying in cross-compiling environments, where the build's strip
4800 @@ -6901,25 +7447,13 @@ AC_SUBST([INSTALL_STRIP_PROGRAM])])
4802 # Check how to create a tarball. -*- Autoconf -*-
4804 -# Copyright (C) 2004 Free Software Foundation, Inc.
4806 -# This program is free software; you can redistribute it and/or modify
4807 -# it under the terms of the GNU General Public License as published by
4808 -# the Free Software Foundation; either version 2, or (at your option)
4809 -# any later version.
4811 -# This program is distributed in the hope that it will be useful,
4812 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
4813 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4814 -# GNU General Public License for more details.
4816 -# You should have received a copy of the GNU General Public License
4817 -# along with this program; if not, write to the Free Software
4818 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4822 +# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
4824 +# This file is free software; the Free Software Foundation
4825 +# gives unlimited permission to copy and/or distribute it,
4826 +# with or without modifications, as long as this notice is preserved.
4830 # _AM_PROG_TAR(FORMAT)
4831 # --------------------
4832 --- ./aux/config.guess
4833 +++ ./aux/config.guess
4836 # Attempt to guess a canonical system name.
4837 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4838 -# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
4839 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
4840 +# Free Software Foundation, Inc.
4842 -timestamp='2003-06-17'
4843 +timestamp='2008-01-23'
4845 # This file is free software; you can redistribute it and/or modify it
4846 # under the terms of the GNU General Public License as published by
4847 @@ -17,13 +18,15 @@ timestamp='2003-06-17'
4849 # You should have received a copy of the GNU General Public License
4850 # along with this program; if not, write to the Free Software
4851 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
4852 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
4855 # As a special exception to the GNU General Public License, if you
4856 # distribute this file as part of a program that contains a
4857 # configuration script generated by Autoconf, you may include it under
4858 # the same distribution terms that you use for the rest of that program.
4861 # Originally written by Per Bothner <per@bothner.com>.
4862 # Please send patches to <config-patches@gnu.org>. Submit a context
4863 # diff and a properly formatted ChangeLog entry.
4864 @@ -53,8 +56,8 @@ version="\
4865 GNU config.guess ($timestamp)
4867 Originally written by Per Bothner.
4868 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
4869 -Free Software Foundation, Inc.
4870 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
4871 +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
4873 This is free software; see the source for copying conditions. There is NO
4874 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
4875 @@ -66,11 +69,11 @@ Try \`$me --help' for more information."
4876 while test $# -gt 0 ; do
4878 --time-stamp | --time* | -t )
4879 - echo "$timestamp" ; exit 0 ;;
4880 + echo "$timestamp" ; exit ;;
4882 - echo "$version" ; exit 0 ;;
4883 + echo "$version" ; exit ;;
4884 --help | --h* | -h )
4885 - echo "$usage"; exit 0 ;;
4886 + echo "$usage"; exit ;;
4887 -- ) # Stop option processing
4889 - ) # Use stdin as input.
4890 @@ -104,7 +107,7 @@ set_cc_for_build='
4891 trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
4892 trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
4894 - { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
4895 + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
4896 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
4897 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
4898 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
4899 @@ -123,7 +126,7 @@ case $CC_FOR_BUILD,$HOST_CC,$CC in
4901 ,,*) CC_FOR_BUILD=$CC ;;
4902 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
4904 +esac ; set_cc_for_build= ;'
4906 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
4907 # (ghazi@noc.rutgers.edu 1994-08-24)
4908 @@ -136,13 +139,6 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
4909 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
4910 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
4912 -## for Red Hat Linux
4913 -if test -f /etc/redhat-release ; then
4919 # Note: order is significant - the case branches are not exclusive.
4921 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
4922 @@ -165,6 +161,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
4923 arm*) machine=arm-unknown ;;
4924 sh3el) machine=shl-unknown ;;
4925 sh3eb) machine=sh-unknown ;;
4926 + sh5el) machine=sh5le-unknown ;;
4927 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
4929 # The Operating System including object format, if it has switched
4930 @@ -203,50 +200,32 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
4931 # contains redundant information, the shorter form:
4932 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
4933 echo "${machine}-${os}${release}"
4935 - amiga:OpenBSD:*:*)
4936 - echo m68k-unknown-openbsd${UNAME_RELEASE}
4939 - echo mipsel-unknown-openbsd${UNAME_RELEASE}
4941 - hp300:OpenBSD:*:*)
4942 - echo m68k-unknown-openbsd${UNAME_RELEASE}
4944 - mac68k:OpenBSD:*:*)
4945 - echo m68k-unknown-openbsd${UNAME_RELEASE}
4947 - macppc:OpenBSD:*:*)
4948 - echo powerpc-unknown-openbsd${UNAME_RELEASE}
4950 - mvme68k:OpenBSD:*:*)
4951 - echo m68k-unknown-openbsd${UNAME_RELEASE}
4953 - mvme88k:OpenBSD:*:*)
4954 - echo m88k-unknown-openbsd${UNAME_RELEASE}
4956 - mvmeppc:OpenBSD:*:*)
4957 - echo powerpc-unknown-openbsd${UNAME_RELEASE}
4960 - echo mipsel-unknown-openbsd${UNAME_RELEASE}
4963 - echo mipseb-unknown-openbsd${UNAME_RELEASE}
4966 - echo m68k-unknown-openbsd${UNAME_RELEASE}
4968 - wgrisc:OpenBSD:*:*)
4969 - echo mipsel-unknown-openbsd${UNAME_RELEASE}
4973 - echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
4975 + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
4976 + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
4979 + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
4982 + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
4984 + macppc:MirBSD:*:*)
4985 + echo powerpc-unknown-mirbsd${UNAME_RELEASE}
4988 + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
4991 - if test $UNAME_RELEASE = "V4.0"; then
4992 + case $UNAME_RELEASE in
4994 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
4998 + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
5001 # According to Compaq, /usr/sbin/psrinfo has been available on
5002 # OSF/1 and Tru64 systems produced since 1995. I hope that
5003 # covers most systems running today. This code pipes the CPU
5004 @@ -284,42 +263,49 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
5006 UNAME_MACHINE="alphaev79" ;;
5008 + # A Pn.n version is a patched version.
5009 # A Vn.n version is a released version.
5010 # A Tn.n version is a released field test version.
5011 # A Xn.n version is an unreleased experimental baselevel.
5012 # 1.2 uses "1.2" for uname -r.
5013 - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
5015 - Alpha*:OpenVMS:*:*)
5018 + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
5020 Alpha\ *:Windows_NT*:*)
5021 # How do we know it's Interix rather than the generic POSIX subsystem?
5022 # Should we change UNAME_MACHINE based on the output of uname instead
5023 # of the specific Alpha model?
5024 echo alpha-pc-interix
5027 21064:Windows_NT:50:3)
5028 echo alpha-dec-winnt3.5
5031 Amiga*:UNIX_System_V:4.0:*)
5032 echo m68k-unknown-sysv4
5035 *:[Aa]miga[Oo][Ss]:*:*)
5036 echo ${UNAME_MACHINE}-unknown-amigaos
5039 *:[Mm]orph[Oo][Ss]:*:*)
5040 echo ${UNAME_MACHINE}-unknown-morphos
5044 echo i370-ibm-openedition
5048 + echo s390-ibm-zvmoe
5051 + echo powerpc-ibm-os400
5053 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
5054 echo arm-acorn-riscix${UNAME_RELEASE}
5057 + arm:riscos:*:*|arm:RISCOS:*:*)
5058 + echo arm-unknown-riscos
5060 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
5061 echo hppa1.1-hitachi-hiuxmpp
5064 Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
5065 # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
5066 if test "`(/bin/universe) 2>/dev/null`" = att ; then
5067 @@ -327,32 +313,32 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
5069 echo pyramid-pyramid-bsd
5074 echo pyramid-pyramid-svr4
5077 DRS?6000:unix:4.0:6*)
5080 - DRS?6000:UNIX_SV:4.2*:7*)
5082 + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
5083 case `/usr/bin/uname -p` in
5084 - sparc) echo sparc-icl-nx7 && exit 0 ;;
5085 + sparc) echo sparc-icl-nx7; exit ;;
5088 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
5091 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
5092 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
5094 - i86pc:SunOS:5.*:*)
5096 + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
5097 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
5101 # According to config.sub, this is the proper way to canonicalize
5102 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
5103 # it's likely to be more like Solaris than SunOS4.
5104 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
5108 case "`/usr/bin/arch -k`" in
5110 @@ -361,10 +347,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
5112 # Japanese Language versions have a version number like `4.1.3-JL'.
5113 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
5117 echo m68k-sun-sunos${UNAME_RELEASE}
5121 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
5122 test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
5123 @@ -376,10 +362,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
5124 echo sparc-sun-sunos${UNAME_RELEASE}
5130 echo sparc-auspex-sunos${UNAME_RELEASE}
5133 # The situation for MiNT is a little confusing. The machine name
5134 # can be virtually everything (everything which is not
5135 # "atarist" or "atariste" at least should have a processor
5136 @@ -390,37 +376,40 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
5138 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
5139 echo m68k-atari-mint${UNAME_RELEASE}
5142 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
5143 echo m68k-atari-mint${UNAME_RELEASE}
5146 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
5147 echo m68k-atari-mint${UNAME_RELEASE}
5150 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
5151 echo m68k-milan-mint${UNAME_RELEASE}
5154 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
5155 echo m68k-hades-mint${UNAME_RELEASE}
5158 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
5159 echo m68k-unknown-mint${UNAME_RELEASE}
5163 + echo m68k-apple-machten${UNAME_RELEASE}
5165 powerpc:machten:*:*)
5166 echo powerpc-apple-machten${UNAME_RELEASE}
5170 echo mips-dec-mach_bsd4.3
5174 echo mips-dec-ultrix${UNAME_RELEASE}
5178 echo vax-dec-ultrix${UNAME_RELEASE}
5181 2020:CLIX:*:* | 2430:CLIX:*:*)
5182 echo clipper-intergraph-clix${UNAME_RELEASE}
5185 mips:*:*:UMIPS | mips:*:*:RISCos)
5186 eval $set_cc_for_build
5187 sed 's/^ //' << EOF >$dummy.c
5188 @@ -444,32 +433,33 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
5192 - $CC_FOR_BUILD -o $dummy $dummy.c \
5193 - && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
5195 + $CC_FOR_BUILD -o $dummy $dummy.c &&
5196 + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
5197 + SYSTEM_NAME=`$dummy $dummyarg` &&
5198 + { echo "$SYSTEM_NAME"; exit; }
5199 echo mips-mips-riscos${UNAME_RELEASE}
5202 Motorola:PowerMAX_OS:*:*)
5203 echo powerpc-motorola-powermax
5206 Motorola:*:4.3:PL8-*)
5207 echo powerpc-harris-powermax
5210 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
5211 echo powerpc-harris-powermax
5214 Night_Hawk:Power_UNIX:*:*)
5215 echo powerpc-harris-powerunix
5219 echo m88k-harris-cxux7
5223 echo m88k-motorola-sysv4
5227 echo m88k-motorola-sysv3
5231 # DG/UX returns AViiON for all architectures
5232 UNAME_PROCESSOR=`/usr/bin/uname -p`
5233 @@ -485,29 +475,29 @@ EOF
5235 echo i586-dg-dgux${UNAME_RELEASE}
5239 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
5240 echo m88k-dolphin-sysv3
5244 # Delta 88k system running SVR3
5245 echo m88k-motorola-sysv3
5248 XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
5249 echo m88k-tektronix-sysv3
5252 Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
5253 echo m68k-tektronix-bsd
5257 echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
5260 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
5261 - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
5262 - exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
5263 + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
5264 + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
5270 if [ -x /usr/bin/oslevel ] ; then
5271 IBM_REV=`/usr/bin/oslevel`
5272 @@ -515,7 +505,7 @@ EOF
5273 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
5275 echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
5279 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
5280 eval $set_cc_for_build
5281 @@ -530,15 +520,19 @@ EOF
5285 - $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
5286 - echo rs6000-ibm-aix3.2.5
5287 + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
5289 + echo "$SYSTEM_NAME"
5291 + echo rs6000-ibm-aix3.2.5
5293 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
5294 echo rs6000-ibm-aix3.2.4
5296 echo rs6000-ibm-aix3.2
5302 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
5303 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
5305 @@ -551,28 +545,28 @@ EOF
5306 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
5308 echo ${IBM_ARCH}-ibm-aix${IBM_REV}
5315 ibmrt:4.4BSD:*|romp-ibm:BSD:*)
5316 echo romp-ibm-bsd4.4
5319 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
5320 echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
5321 - exit 0 ;; # report: romp-ibm BSD 4.3
5322 + exit ;; # report: romp-ibm BSD 4.3
5324 echo rs6000-bull-bosx
5327 DPX/2?00:B.O.S.:*:*)
5328 echo m68k-bull-sysv3
5331 9000/[34]??:4.3bsd:1.*:*)
5335 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
5339 9000/[34678]??:HP-UX:*:*)
5340 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
5341 case "${UNAME_MACHINE}" in
5342 @@ -634,9 +628,19 @@ EOF
5344 if [ ${HP_ARCH} = "hppa2.0w" ]
5346 - # avoid double evaluation of $set_cc_for_build
5347 - test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
5348 - if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null
5349 + eval $set_cc_for_build
5351 + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
5352 + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
5353 + # generating 64-bit code. GNU and HP use different nomenclature:
5355 + # $ CC_FOR_BUILD=cc ./config.guess
5356 + # => hppa2.0w-hp-hpux11.23
5357 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
5358 + # => hppa64-hp-hpux11.23
5360 + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
5361 + grep __LP64__ >/dev/null
5365 @@ -644,11 +648,11 @@ EOF
5368 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
5372 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
5373 echo ia64-hp-hpux${HPUX_REV}
5377 eval $set_cc_for_build
5378 sed 's/^ //' << EOF >$dummy.c
5379 @@ -676,150 +680,192 @@ EOF
5383 - $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
5384 + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
5385 + { echo "$SYSTEM_NAME"; exit; }
5386 echo unknown-hitachi-hiuxwe2
5389 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
5393 9000/8??:4.3bsd:*:*)
5397 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
5398 echo hppa1.0-hp-mpeix
5401 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
5410 if [ -x /usr/sbin/sysversion ] ; then
5411 echo ${UNAME_MACHINE}-unknown-osf1mk
5413 echo ${UNAME_MACHINE}-unknown-osf1
5418 echo hppa1.1-hp-lites
5421 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
5425 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
5426 if getsysinfo -f scalar_acc
5427 then echo c32-convex-bsd
5428 else echo c2-convex-bsd
5432 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
5436 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
5440 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
5445 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
5449 echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
5450 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
5451 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
5456 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
5460 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
5464 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
5468 - echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
5470 + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
5472 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
5473 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
5474 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
5475 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
5476 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
5479 + 5000:UNIX_System_V:4.*:*)
5480 + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
5481 + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
5482 + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
5484 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
5485 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
5489 echo sparc-unknown-bsdi${UNAME_RELEASE}
5493 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
5495 - *:FreeBSD:*:*|*:GNU/FreeBSD:*:*)
5496 - # Determine whether the default compiler uses glibc.
5497 - eval $set_cc_for_build
5498 - sed 's/^ //' << EOF >$dummy.c
5499 - #include <features.h>
5500 - #if __GLIBC__ >= 2
5506 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
5507 - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
5511 + case ${UNAME_MACHINE} in
5513 + echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
5515 + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
5517 + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
5521 echo ${UNAME_MACHINE}-pc-cygwin
5526 echo ${UNAME_MACHINE}-pc-mingw32
5530 + # uname -m includes "-pc" on this system.
5531 + echo ${UNAME_MACHINE}-mingw32
5534 echo ${UNAME_MACHINE}-pc-pw32
5536 - x86:Interix*:[34]*)
5537 - echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
5540 + *:Interix*:[3456]*)
5541 + case ${UNAME_MACHINE} in
5543 + echo i586-pc-interix${UNAME_RELEASE}
5545 + EM64T | authenticamd)
5546 + echo x86_64-unknown-interix${UNAME_RELEASE}
5549 + echo ia64-unknown-interix${UNAME_RELEASE}
5552 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
5553 echo i${UNAME_MACHINE}-pc-mks
5556 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
5557 # How do we know it's Interix rather than the generic POSIX subsystem?
5558 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
5559 # UNAME_MACHINE based on the output of uname instead of i386?
5560 echo i586-pc-interix
5564 echo ${UNAME_MACHINE}-pc-uwin
5567 + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
5568 + echo x86_64-unknown-cygwin
5571 echo powerpcle-unknown-cygwin
5575 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
5580 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
5584 + # other systems with GNU libc and userland
5585 + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
5588 echo ${UNAME_MACHINE}-pc-minix
5592 + eval $set_cc_for_build
5593 + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
5594 + | grep -q __ARM_EABI__
5596 + echo ${UNAME_MACHINE}-unknown-linux-gnu
5598 + echo ${UNAME_MACHINE}-unknown-linux-gnueabi
5602 echo ${UNAME_MACHINE}-unknown-linux-gnu
5606 echo cris-axis-linux-gnu
5609 + crisv32:Linux:*:*)
5610 + echo crisv32-axis-linux-gnu
5613 + echo frv-unknown-linux-gnu
5616 - echo ${UNAME_MACHINE}-${VENDOR:-unknown}-linux-gnu
5618 + echo ${UNAME_MACHINE}-unknown-linux-gnu
5621 + echo ${UNAME_MACHINE}-unknown-linux-gnu
5624 echo ${UNAME_MACHINE}-unknown-linux-gnu
5628 eval $set_cc_for_build
5629 sed 's/^ //' << EOF >$dummy.c
5630 @@ -836,8 +882,12 @@ EOF
5634 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
5635 - test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
5636 + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
5641 + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
5644 eval $set_cc_for_build
5645 @@ -855,15 +905,22 @@ EOF
5649 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
5650 - test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
5651 + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
5656 + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
5659 + echo or32-unknown-linux-gnu
5662 - echo powerpc-${VENDOR:-unknown}-linux-gnu
5664 + echo powerpc-unknown-linux-gnu
5667 - echo powerpc64-${VENDOR:-unknown}-linux-gnu
5669 + echo powerpc64-unknown-linux-gnu
5672 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
5673 EV5) UNAME_MACHINE=alphaev5 ;;
5674 @@ -877,7 +934,7 @@ EOF
5675 objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
5676 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
5677 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
5680 parisc:Linux:*:* | hppa:Linux:*:*)
5681 # Look for CPU level
5682 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
5683 @@ -885,25 +942,31 @@ EOF
5684 PA8*) echo hppa2.0-unknown-linux-gnu ;;
5685 *) echo hppa-unknown-linux-gnu ;;
5689 parisc64:Linux:*:* | hppa64:Linux:*:*)
5690 echo hppa64-unknown-linux-gnu
5693 s390:Linux:*:* | s390x:Linux:*:*)
5694 - echo ${UNAME_MACHINE}-${VENDOR:-ibm}-linux-gnu
5696 + echo ${UNAME_MACHINE}-ibm-linux
5699 echo ${UNAME_MACHINE}-unknown-linux-gnu
5703 echo ${UNAME_MACHINE}-unknown-linux-gnu
5706 sparc:Linux:*:* | sparc64:Linux:*:*)
5707 echo ${UNAME_MACHINE}-unknown-linux-gnu
5711 + echo ${UNAME_MACHINE}-dec-linux-gnu
5714 - echo x86_64-${VENDOR:-unknown}-linux-gnu
5716 + echo x86_64-unknown-linux-gnu
5718 + xtensa*:Linux:*:*)
5719 + echo ${UNAME_MACHINE}-unknown-linux-gnu
5722 # The BFD linker knows what the default object file format is, so
5723 # first see if it will tell us. cd to the root directory to prevent
5724 @@ -921,15 +984,15 @@ EOF
5727 echo "${UNAME_MACHINE}-pc-linux-gnuaout"
5731 echo "${UNAME_MACHINE}-pc-linux-gnucoff"
5735 # Either a pre-BFD a.out linker (linux-gnuoldld) or
5736 # one that does not give us useful --help.
5737 echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
5741 # Determine whether the default compiler is a.out or elf
5742 eval $set_cc_for_build
5743 @@ -946,23 +1009,33 @@ EOF
5747 - #ifdef __INTEL_COMPILER
5748 + #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
5754 + #ifdef __dietlibc__
5758 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
5759 - test x"${LIBC}" != x && echo "${UNAME_MACHINE}-${VENDOR:-pc}-linux-${LIBC}" && exit 0
5760 - test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
5761 + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
5766 + test x"${LIBC}" != x && {
5767 + echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
5770 + test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
5772 i*86:DYNIX/ptx:4*:*)
5773 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
5774 # earlier versions are messed up and put the nodename in both
5775 # sysname and nodename.
5776 echo i386-sequent-sysv4
5779 i*86:UNIX_SV:4.2MP:2.*)
5780 # Unixware is an offshoot of SVR4, but it has its own version
5781 # number series starting with 2...
5782 @@ -970,24 +1043,27 @@ EOF
5783 # I just have to hope. -- rms.
5784 # Use sysv4.2uw... so that sysv4* matches it.
5785 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
5789 # If we were able to find `uname', then EMX Unix compatibility
5790 # is probably installed.
5791 echo ${UNAME_MACHINE}-pc-os2-emx
5794 i*86:XTS-300:*:STOP)
5795 echo ${UNAME_MACHINE}-unknown-stop
5799 echo ${UNAME_MACHINE}-unknown-atheos
5802 + i*86:syllable:*:*)
5803 + echo ${UNAME_MACHINE}-pc-syllable
5805 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
5806 echo i386-unknown-lynxos${UNAME_RELEASE}
5810 echo ${UNAME_MACHINE}-pc-msdosdjgpp
5813 i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
5814 UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
5815 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
5816 @@ -995,15 +1071,16 @@ EOF
5818 echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
5824 + # UnixWare 7.x, OpenUNIX and OpenServer 6.
5825 case `/bin/uname -X | grep "^Machine"` in
5826 *486*) UNAME_MACHINE=i486 ;;
5827 *Pentium) UNAME_MACHINE=i586 ;;
5828 *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
5830 echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
5834 if test -f /usr/options/cb.name; then
5835 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
5836 @@ -1021,73 +1098,73 @@ EOF
5838 echo ${UNAME_MACHINE}-pc-sysv32
5843 # Left here for compatibility:
5844 # uname -m prints for DJGPP always 'pc', but it prints nothing about
5845 # the processor, so we play safe by assuming i386.
5846 echo i386-pc-msdosdjgpp
5854 echo i860-intel-osf1
5857 i860:*:4.*:*) # i860-SVR4
5858 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
5859 echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
5860 else # Add other i860-SVR4 vendors below as they are discovered.
5861 echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
5867 echo m68010-convergent-sysv
5870 mc68k:UNIX:SYSTEM5:3.51m)
5871 echo m68k-convergent-sysv
5877 - M68*:*:R3V[567]*:*)
5878 - test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
5879 - 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)
5881 + M68*:*:R3V[5678]*:*)
5882 + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
5883 + 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)
5885 test -r /etc/.relid \
5886 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
5887 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
5888 - && echo i486-ncr-sysv4.3${OS_REL} && exit 0
5889 + && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
5890 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
5891 - && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
5892 + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
5893 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
5894 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
5895 - && echo i486-ncr-sysv4 && exit 0 ;;
5896 + && { echo i486-ncr-sysv4; exit; } ;;
5897 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
5898 echo m68k-unknown-lynxos${UNAME_RELEASE}
5901 mc68030:UNIX_System_V:4.*:*)
5902 echo m68k-atari-sysv4
5905 TSUNAMI:LynxOS:2.*:*)
5906 echo sparc-unknown-lynxos${UNAME_RELEASE}
5909 rs6000:LynxOS:2.*:*)
5910 echo rs6000-unknown-lynxos${UNAME_RELEASE}
5913 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
5914 echo powerpc-unknown-lynxos${UNAME_RELEASE}
5917 SM[BE]S:UNIX_SV:*:*)
5918 echo mips-dde-sysv${UNAME_RELEASE}
5921 RM*:ReliantUNIX-*:*:*)
5930 if uname -p 2>/dev/null >/dev/null ; then
5931 UNAME_MACHINE=`(uname -p) 2>/dev/null`
5932 @@ -1095,68 +1172,81 @@ EOF
5938 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
5939 # says <Richard.M.Bartel@ccMail.Census.GOV>
5940 echo i586-unisys-sysv4
5943 *:UNIX_System_V:4*:FTX*)
5944 # From Gerald Hewes <hewes@openmarket.com>.
5945 # How about differentiating between stratus architectures? -djm
5946 echo hppa1.1-stratus-sysv4
5950 # From seanf@swdc.stratus.com.
5951 echo i860-stratus-sysv4
5955 + # From Paul.Green@stratus.com.
5956 + echo ${UNAME_MACHINE}-stratus-vos
5959 # From Paul.Green@stratus.com.
5960 echo hppa1.1-stratus-vos
5964 echo m68k-apple-aux${UNAME_RELEASE}
5968 echo mips-sony-newsos6
5971 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
5972 if [ -d /usr/nec ]; then
5973 echo mips-nec-sysv${UNAME_RELEASE}
5975 echo mips-unknown-sysv${UNAME_RELEASE}
5979 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
5980 echo powerpc-be-beos
5983 BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
5984 echo powerpc-apple-beos
5987 BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
5992 echo sx4-nec-superux${UNAME_RELEASE}
5996 echo sx5-nec-superux${UNAME_RELEASE}
6000 echo sx6-nec-superux${UNAME_RELEASE}
6003 + SX-7:SUPER-UX:*:*)
6004 + echo sx7-nec-superux${UNAME_RELEASE}
6006 + SX-8:SUPER-UX:*:*)
6007 + echo sx8-nec-superux${UNAME_RELEASE}
6009 + SX-8R:SUPER-UX:*:*)
6010 + echo sx8r-nec-superux${UNAME_RELEASE}
6012 Power*:Rhapsody:*:*)
6013 echo powerpc-apple-rhapsody${UNAME_RELEASE}
6017 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
6021 - case `uname -p` in
6022 - *86) UNAME_PROCESSOR=i686 ;;
6023 - powerpc) UNAME_PROCESSOR=powerpc ;;
6024 + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
6025 + case $UNAME_PROCESSOR in
6026 + unknown) UNAME_PROCESSOR=powerpc ;;
6028 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
6031 *:procnto*:*:* | *:QNX:[0123456789]*:*)
6032 UNAME_PROCESSOR=`uname -p`
6033 if test "$UNAME_PROCESSOR" = "x86"; then
6034 @@ -1164,22 +1254,25 @@ EOF
6037 echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
6043 - NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
6045 + NSE-?:NONSTOP_KERNEL:*:*)
6046 + echo nse-tandem-nsk${UNAME_RELEASE}
6048 + NSR-?:NONSTOP_KERNEL:*:*)
6049 echo nsr-tandem-nsk${UNAME_RELEASE}
6053 echo mips-compaq-nonstopux
6057 echo bs2000-siemens-sysv
6060 DS/*:UNIX_System_V:*:*)
6061 echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
6065 # "uname -m" is not consistent, so use $cputype instead. 386
6066 # is converted to i386 for consistency with other x86
6067 @@ -1190,28 +1283,47 @@ EOF
6068 UNAME_MACHINE="$cputype"
6070 echo ${UNAME_MACHINE}-unknown-plan9
6074 echo pdp10-unknown-tops10
6078 echo pdp10-unknown-tenex
6081 KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
6082 echo pdp10-dec-tops20
6085 XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
6086 echo pdp10-xkl-tops20
6090 echo pdp10-unknown-tops20
6094 echo pdp10-unknown-its
6098 echo mips-sei-seiux${UNAME_RELEASE}
6102 + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
6105 + UNAME_MACHINE=`(uname -p) 2>/dev/null`
6106 + case "${UNAME_MACHINE}" in
6107 + A*) echo alpha-dec-vms ; exit ;;
6108 + I*) echo ia64-dec-vms ; exit ;;
6109 + V*) echo vax-dec-vms ; exit ;;
6112 + echo i386-pc-xenix
6115 + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
6118 + echo ${UNAME_MACHINE}-pc-rdos
6122 #echo '(No uname command or uname output not recognized.)' 1>&2
6123 @@ -1243,7 +1355,7 @@ main ()
6126 #if defined (__arm) && defined (__acorn) && defined (__unix)
6127 - printf ("arm-acorn-riscix"); exit (0);
6128 + printf ("arm-acorn-riscix\n"); exit (0);
6131 #if defined (hp300) && !defined (hpux)
6132 @@ -1332,11 +1444,12 @@ main ()
6136 -$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0
6137 +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
6138 + { echo "$SYSTEM_NAME"; exit; }
6140 # Apollos put the system type in the environment.
6142 -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
6143 +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
6145 # Convex versions that predate uname can use getsysinfo(1)
6147 @@ -1345,22 +1458,22 @@ then
6148 case `getsysinfo -f cpu_type` in
6154 if getsysinfo -f scalar_acc
6155 then echo c32-convex-bsd
6156 else echo c2-convex-bsd
6175 @@ -1371,7 +1484,9 @@ This script, last modified $timestamp, has failed to recognize
6176 the operating system you are using. It is advised that you
6177 download the most up to date version of the config scripts from
6179 - ftp://ftp.gnu.org/pub/gnu/config/
6180 + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
6182 + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
6184 If the version you run ($0) is already up to date, please
6185 send the following data and any information you think might be
6186 --- ./aux/config.sub
6187 +++ ./aux/config.sub
6190 # Configuration validation subroutine script.
6191 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
6192 -# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
6193 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
6194 +# Free Software Foundation, Inc.
6196 -timestamp='2003-06-18'
6197 +timestamp='2008-01-16'
6199 # This file is (in principle) common to ALL GNU software.
6200 # The presence of a machine in this file suggests that SOME GNU software
6201 @@ -21,14 +22,15 @@ timestamp='2003-06-18'
6203 # You should have received a copy of the GNU General Public License
6204 # along with this program; if not, write to the Free Software
6205 -# Foundation, Inc., 59 Temple Place - Suite 330,
6206 -# Boston, MA 02111-1307, USA.
6208 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
6211 # As a special exception to the GNU General Public License, if you
6212 # distribute this file as part of a program that contains a
6213 # configuration script generated by Autoconf, you may include it under
6214 # the same distribution terms that you use for the rest of that program.
6217 # Please send patches to <config-patches@gnu.org>. Submit a context
6218 # diff and a properly formatted ChangeLog entry.
6220 @@ -70,8 +72,8 @@ Report bugs and patches to <config-patches@gnu.org>."
6222 GNU config.sub ($timestamp)
6224 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
6225 -Free Software Foundation, Inc.
6226 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
6227 +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6229 This is free software; see the source for copying conditions. There is NO
6230 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
6231 @@ -83,11 +85,11 @@ Try \`$me --help' for more information."
6232 while test $# -gt 0 ; do
6234 --time-stamp | --time* | -t )
6235 - echo "$timestamp" ; exit 0 ;;
6236 + echo "$timestamp" ; exit ;;
6238 - echo "$version" ; exit 0 ;;
6239 + echo "$version" ; exit ;;
6240 --help | --h* | -h )
6241 - echo "$usage"; exit 0 ;;
6242 + echo "$usage"; exit ;;
6243 -- ) # Stop option processing
6245 - ) # Use stdin as input.
6246 @@ -99,7 +101,7 @@ while test $# -gt 0 ; do
6248 # First pass through any local machine types.
6255 @@ -118,7 +120,9 @@ esac
6256 # Here we must recognize all the valid KERNEL-OS combinations.
6257 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
6259 - nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
6260 + nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
6261 + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
6262 + storm-chaos* | os2-emx* | rtmk-nova*)
6264 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
6266 @@ -144,7 +148,7 @@ case $os in
6267 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
6268 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
6269 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
6271 + -apple | -axis | -knuth | -cray)
6275 @@ -169,6 +173,10 @@ case $os in
6281 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
6285 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
6286 @@ -185,6 +193,10 @@ case $os in
6287 # Don't forget version if it is 3.2v4 or newer.
6288 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
6291 + # Don't forget version if it is 3.2v4 or newer.
6292 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
6296 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
6297 @@ -228,14 +240,17 @@ case $basic_machine in
6299 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
6300 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
6301 - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
6303 + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
6306 | d10v | d30v | dlx | dsp16xx \
6308 + | fido | fr30 | frv \
6309 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
6310 | i370 | i860 | i960 | ia64 \
6312 - | m32r | m68000 | m68k | m88k | mcore \
6314 + | m32c | m32r | m32rle | m68000 | m68k | m88k \
6315 + | maxq | mb | microblaze | mcore | mep \
6316 | mips | mipsbe | mipseb | mipsel | mipsle \
6318 | mips64 | mips64el \
6319 @@ -244,28 +259,33 @@ case $basic_machine in
6320 | mips64vr4100 | mips64vr4100el \
6321 | mips64vr4300 | mips64vr4300el \
6322 | mips64vr5000 | mips64vr5000el \
6323 + | mips64vr5900 | mips64vr5900el \
6324 | mipsisa32 | mipsisa32el \
6325 | mipsisa32r2 | mipsisa32r2el \
6326 | mipsisa64 | mipsisa64el \
6327 + | mipsisa64r2 | mipsisa64r2el \
6328 | mipsisa64sb1 | mipsisa64sb1el \
6329 | mipsisa64sr71k | mipsisa64sr71kel \
6330 | mipstx39 | mipstx39el \
6331 | mn10200 | mn10300 \
6336 - | openrisc | or32 \
6338 | pdp10 | pdp11 | pj | pjl \
6339 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
6342 - | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
6344 + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
6346 - | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
6348 + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
6349 + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
6350 + | spu | strongarm \
6351 | tahoe | thumb | tic4x | tic80 | tron \
6354 - | x86 | xscale | xstormy16 | xtensa \
6355 + | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
6357 basic_machine=$basic_machine-unknown
6359 @@ -276,6 +296,9 @@ case $basic_machine in
6361 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
6364 + basic_machine=mt-unknown
6367 # We use `pc' rather than `unknown'
6368 # because (1) that's what they normally are, and
6369 @@ -295,20 +318,20 @@ case $basic_machine in
6370 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
6371 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
6372 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
6375 + | avr-* | avr32-* \
6376 + | bfin-* | bs2000-* \
6377 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
6378 - | clipper-* | cydra-* \
6379 + | clipper-* | craynv-* | cydra-* \
6380 | d10v-* | d30v-* | dlx-* \
6382 - | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
6383 + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
6384 | h8300-* | h8500-* \
6385 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
6386 | i*86-* | i860-* | i960-* | ia64-* \
6389 + | ip2k-* | iq2000-* \
6390 + | m32c-* | m32r-* | m32rle-* \
6391 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
6392 - | m88110-* | m88k-* | mcore-* \
6393 + | m88110-* | m88k-* | maxq-* | mcore-* \
6394 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
6396 | mips64-* | mips64el-* \
6397 @@ -317,34 +340,43 @@ case $basic_machine in
6398 | mips64vr4100-* | mips64vr4100el-* \
6399 | mips64vr4300-* | mips64vr4300el-* \
6400 | mips64vr5000-* | mips64vr5000el-* \
6401 + | mips64vr5900-* | mips64vr5900el-* \
6402 | mipsisa32-* | mipsisa32el-* \
6403 | mipsisa32r2-* | mipsisa32r2el-* \
6404 | mipsisa64-* | mipsisa64el-* \
6405 + | mipsisa64r2-* | mipsisa64r2el-* \
6406 | mipsisa64sb1-* | mipsisa64sb1el-* \
6407 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
6408 | mipstx39-* | mipstx39el-* \
6412 - | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
6413 + | nios-* | nios2-* \
6414 + | none-* | np1-* | ns16k-* | ns32k-* \
6416 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
6417 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
6419 | romp-* | rs6000-* \
6420 - | s390-* | s390x-* \
6421 - | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
6422 + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
6423 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
6424 - | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
6425 - | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
6426 + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
6428 + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
6429 | tahoe-* | thumb-* \
6430 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
6432 | v850-* | v850e-* | vax-* \
6434 - | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
6436 + | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
6437 + | xstormy16-* | xtensa*-* \
6441 + # Recognize the basic CPU types without company name, with glob match.
6443 + basic_machine=$basic_machine-unknown
6445 # Recognize the various machine names and aliases which stand
6446 # for a CPU type and a company and sometimes even an OS.
6448 @@ -361,6 +393,9 @@ case $basic_machine in
6449 basic_machine=a29k-amd
6453 + basic_machine=abacus-unknown
6456 basic_machine=m68010-adobe
6458 @@ -378,6 +413,9 @@ case $basic_machine in
6460 basic_machine=x86_64-pc
6463 + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
6466 basic_machine=580-amdahl
6468 @@ -409,6 +447,14 @@ case $basic_machine in
6469 basic_machine=ns32k-sequent
6473 + basic_machine=bfin-unknown
6477 + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
6481 basic_machine=c90-cray
6483 @@ -437,12 +483,27 @@ case $basic_machine in
6484 basic_machine=j90-cray
6488 + basic_machine=craynv-cray
6492 + basic_machine=cr16-unknown
6496 basic_machine=m68k-crds
6498 + crisv32 | crisv32-* | etraxfs*)
6499 + basic_machine=crisv32-axis
6501 cris | cris-* | etrax*)
6502 basic_machine=cris-axis
6505 + basic_machine=crx-unknown
6509 basic_machine=m68k-da30
6511 @@ -465,6 +526,10 @@ case $basic_machine in
6512 basic_machine=m88k-motorola
6516 + basic_machine=i586-pc
6520 basic_machine=rs6000-bull
6522 @@ -615,6 +680,14 @@ case $basic_machine in
6523 basic_machine=m68k-isi
6527 + basic_machine=m68k-unknown
6531 + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
6535 basic_machine=m88k-omron
6537 @@ -630,6 +703,10 @@ case $basic_machine in
6538 basic_machine=i386-pc
6542 + basic_machine=arm-unknown
6546 basic_machine=m68000-convergent
6548 @@ -643,10 +720,6 @@ case $basic_machine in
6550 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
6553 - basic_machine=mmix-knuth
6557 basic_machine=m68k-rom68k
6559 @@ -659,6 +732,9 @@ case $basic_machine in
6560 basic_machine=i386-pc
6564 + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
6567 basic_machine=i370-ibm
6569 @@ -727,10 +803,6 @@ case $basic_machine in
6571 basic_machine=np1-gould
6574 - basic_machine=nv1-cray
6578 basic_machine=nsr-tandem
6580 @@ -738,9 +810,12 @@ case $basic_machine in
6581 basic_machine=hppa1.1-oki
6585 + openrisc | openrisc-*)
6586 basic_machine=or32-unknown
6590 + basic_machine=powerpc-ibm
6593 OSE68000 | ose68000)
6594 basic_machine=m68000-ericsson
6595 @@ -758,6 +833,14 @@ case $basic_machine in
6596 basic_machine=i860-intel
6600 + basic_machine=hppa-unknown
6604 + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
6608 basic_machine=sparc-tti
6610 @@ -767,6 +850,12 @@ case $basic_machine in
6612 basic_machine=ns32k-pc532
6615 + basic_machine=i386-pc
6618 + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
6620 pentium | p5 | k5 | k6 | nexgen | viac3)
6621 basic_machine=i586-pc
6623 @@ -823,6 +912,10 @@ case $basic_machine in
6624 basic_machine=i586-unknown
6628 + basic_machine=i386-pc
6632 basic_machine=m68k-rom68k
6634 @@ -833,6 +926,12 @@ case $basic_machine in
6636 basic_machine=romp-ibm
6639 + basic_machine=s390-ibm
6642 + basic_machine=s390x-ibm
6645 basic_machine=a29k-amd
6647 @@ -843,6 +942,10 @@ case $basic_machine in
6649 basic_machine=mipsisa64sb1el-unknown
6652 + basic_machine=mipsisa32-sde
6656 basic_machine=mips-sei
6658 @@ -854,6 +957,9 @@ case $basic_machine in
6659 basic_machine=sh-hitachi
6663 + basic_machine=sh5le-unknown
6666 basic_machine=sh64-unknown
6668 @@ -943,6 +1049,10 @@ case $basic_machine in
6669 basic_machine=tic6x-unknown
6673 + basic_machine=tile-unknown
6677 basic_machine=mipstx39-unknown
6679 @@ -956,6 +1066,10 @@ case $basic_machine in
6681 basic_machine=m68k-ncr
6684 + basic_machine=s390x-ibm
6688 basic_machine=a29k-amd
6690 @@ -999,6 +1113,10 @@ case $basic_machine in
6691 basic_machine=hppa1.1-winbond
6695 + basic_machine=i686-pc
6699 basic_machine=xps100-honeywell
6701 @@ -1029,6 +1147,9 @@ case $basic_machine in
6703 basic_machine=romp-ibm
6706 + basic_machine=mmix-knuth
6709 basic_machine=rs6000-ibm
6711 @@ -1045,13 +1166,10 @@ case $basic_machine in
6713 basic_machine=we32k-att
6715 - sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
6716 + sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
6717 basic_machine=sh-unknown
6720 - basic_machine=sh64-unknown
6722 - sparc | sparcv9 | sparcv9b)
6723 + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
6724 basic_machine=sparc-sun
6727 @@ -1124,19 +1242,23 @@ case $os in
6729 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
6730 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
6731 - | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
6732 - | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
6733 + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
6734 + | -openbsd* | -solidbsd* \
6735 + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
6736 + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
6737 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
6738 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
6739 | -chorusos* | -chorusrdb* \
6740 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
6741 - | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
6742 + | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
6743 + | -uxpv* | -beos* | -mpeix* | -udk* \
6744 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
6745 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
6746 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
6747 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
6748 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
6749 - | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
6750 + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
6751 + | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
6752 # Remember, each alternative MUST END IN *, to match a version number.
6755 @@ -1154,12 +1276,15 @@ case $os in
6756 os=`echo $os | sed -e 's|nto|nto-qnx|'`
6758 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
6759 - | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
6760 + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
6761 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
6764 os=`echo $os | sed -e 's|mac|macos|'`
6767 + os=-linux-dietlibc
6770 os=`echo $os | sed -e 's|linux|linux-gnu|'`
6772 @@ -1172,6 +1297,9 @@ case $os in
6782 @@ -1193,6 +1321,9 @@ case $os in
6792 @@ -1215,6 +1346,9 @@ case $os in
6802 @@ -1251,6 +1385,9 @@ case $os in
6812 @@ -1273,6 +1410,12 @@ else
6813 # system, and we'll never get to this point.
6815 case $basic_machine in
6825 @@ -1282,8 +1425,8 @@ case $basic_machine in
6834 # This must come before the *-dec entry.
6836 @@ -1310,6 +1453,9 @@ case $basic_machine in
6846 @@ -1328,9 +1474,15 @@ case $basic_machine in
6862 @@ -1463,9 +1615,15 @@ case $basic_machine in
6875 -vxsim* | -vxworks* | -windiss*)
6878 @@ -1490,7 +1648,7 @@ case $basic_machine in
6881 echo $basic_machine$os
6886 # eval: (add-hook 'write-file-hooks 'time-stamp)
6890 # ltmain.sh - Provide generalized library-building support services.
6891 # NOTE: Changing this file will not affect anything until you rerun configure.
6893 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004
6894 -# Free Software Foundation, Inc.
6895 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
6896 +# 2007, 2008 Free Software Foundation, Inc.
6897 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
6899 # This program is free software; you can redistribute it and/or modify
6902 # You should have received a copy of the GNU General Public License
6903 # along with this program; if not, write to the Free Software
6904 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
6905 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
6907 # As a special exception to the GNU General Public License, if you
6908 # distribute this file as part of a program that contains a
6909 @@ -33,9 +33,6 @@ basename="s,^.*/,,g"
6913 -# RH: define SED for historic ltconfig's generated by Libtool 1.3
6914 -[ -z "$SED" ] && SED=sed
6916 # The name of this program:
6917 progname=`echo "$progpath" | $SED $basename`
6918 modename="$progname"
6919 @@ -46,9 +43,22 @@ EXIT_FAILURE=1
6924 -TIMESTAMP=" (1.1220.2.95 2004/04/11 05:50:42)"
6926 +VERSION="1.5.26 Debian 1.5.26-4"
6927 +TIMESTAMP=" (1.1220.2.493 2008/02/01 16:58:18)"
6929 +# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
6930 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6933 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6934 + # is contrary to our usage. Disable this feature.
6935 + alias -g '${1+"$@"}'='"$@"'
6936 + setopt NO_GLOB_SUBST
6938 + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
6940 +BIN_SH=xpg4; export BIN_SH # for Tru64
6941 +DUALCASE=1; export DUALCASE # for MKS sh
6943 # Check that we have a working $echo.
6944 if test "X$1" = X--no-reexec; then
6945 @@ -86,14 +96,15 @@ rm="rm -f"
6946 Xsed="${SED}"' -e 1s/^X//'
6947 sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
6948 # test EBCDIC or ASCII
6949 -case `echo A|tr A '\301'` in
6950 - A) # EBCDIC based system
6951 - SP2NL="tr '\100' '\n'"
6952 - NL2SP="tr '\r\n' '\100\100'"
6953 +case `echo X|tr X '\101'` in
6954 + A) # ASCII based system
6955 + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6956 + SP2NL='tr \040 \012'
6957 + NL2SP='tr \015\012 \040\040'
6959 - *) # Assume ASCII based system
6960 - SP2NL="tr '\040' '\012'"
6961 - NL2SP="tr '\015\012' '\040\040'"
6962 + *) # EBCDIC based system
6963 + SP2NL='tr \100 \n'
6964 + NL2SP='tr \r\n \100\100'
6968 @@ -102,16 +113,25 @@ esac
6969 # These must not be set unconditionally because not all systems understand
6970 # e.g. LANG=C (notably SCO).
6971 # We save the old values to restore during execute mode.
6972 -if test "${LC_ALL+set}" = set; then
6973 - save_LC_ALL="$LC_ALL"; LC_ALL=C; export LC_ALL
6975 -if test "${LANG+set}" = set; then
6976 - save_LANG="$LANG"; LANG=C; export LANG
6978 +for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
6980 + eval "if test \"\${$lt_var+set}\" = set; then
6981 + save_$lt_var=\$$lt_var
6982 + lt_env=\"$lt_var=\$$lt_var \$lt_env\"
6988 +if test -n "$lt_env"; then
6989 + lt_env="env $lt_env"
6992 # Make sure IFS has a sensible default
6999 if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
7000 $echo "$modename: not configured to build any kind of library" 1>&2
7001 @@ -128,20 +148,62 @@ run=
7007 lo2o="s/\\.lo\$/.${objext}/"
7008 o2lo="s/\\.${objext}\$/.lo/"
7009 +extracted_archives=
7012 #####################################
7013 # Shell function definitions:
7014 # This seems to be the best place for them
7016 +# func_mktempdir [string]
7017 +# Make a temporary directory that won't clash with other running
7018 +# libtool processes, and avoids race conditions if possible. If
7019 +# given, STRING is the basename for that directory.
7022 + my_template="${TMPDIR-/tmp}/${1-$progname}"
7024 + if test "$run" = ":"; then
7025 + # Return a directory name, but don't create it in dry-run mode
7026 + my_tmpdir="${my_template}-$$"
7029 + # If mktemp works, use that first and foremost
7030 + my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
7032 + if test ! -d "$my_tmpdir"; then
7033 + # Failing that, at least try and use $RANDOM to avoid a race
7034 + my_tmpdir="${my_template}-${RANDOM-0}$$"
7036 + save_mktempdir_umask=`umask`
7038 + $mkdir "$my_tmpdir"
7039 + umask $save_mktempdir_umask
7042 + # If we're not in dry-run mode, bomb out on failure
7043 + test -d "$my_tmpdir" || {
7044 + $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2
7045 + exit $EXIT_FAILURE
7049 + $echo "X$my_tmpdir" | $Xsed
7053 # func_win32_libid arg
7054 # return the library type of file 'arg'
7056 # Need a lot of goo to handle *both* DLLs and import libs
7057 # Has to be a shell function in order to 'eat' the argument
7058 # that is supplied when $file_magic_command is called.
7059 -func_win32_libid () {
7060 +func_win32_libid ()
7062 win32_libid_type="unknown"
7063 win32_fileres=`file -L $1 2>/dev/null`
7064 case $win32_fileres in
7065 @@ -152,12 +214,17 @@ func_win32_libid () {
7066 if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
7067 $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
7068 win32_nmres=`eval $NM -f posix -A $1 | \
7069 - sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'`
7070 - if test "X$win32_nmres" = "Ximport" ; then
7071 - win32_libid_type="x86 archive import"
7073 - win32_libid_type="x86 archive static"
7075 + $SED -n -e '1,100{
7082 + case $win32_nmres in
7083 + import*) win32_libid_type="x86 archive import";;
7084 + *) win32_libid_type="x86 archive static";;
7089 @@ -181,7 +248,8 @@ func_win32_libid () {
7090 # Only attempt this if the compiler in the base compile
7091 # command doesn't match the default compiler.
7092 # arg is usually of the form 'gcc ...'
7093 -func_infer_tag () {
7096 if test -n "$available_tags" && test -z "$tagname"; then
7099 @@ -238,12 +306,126 @@ func_infer_tag () {
7105 +# func_extract_an_archive dir oldlib
7106 +func_extract_an_archive ()
7108 + f_ex_an_ar_dir="$1"; shift
7109 + f_ex_an_ar_oldlib="$1"
7111 + $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)"
7112 + $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $?
7113 + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
7116 + $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2
7117 + exit $EXIT_FAILURE
7121 +# func_extract_archives gentop oldlib ...
7122 +func_extract_archives ()
7124 + my_gentop="$1"; shift
7125 + my_oldlibs=${1+"$@"}
7132 + $show "${rm}r $my_gentop"
7133 + $run ${rm}r "$my_gentop"
7134 + $show "$mkdir $my_gentop"
7135 + $run $mkdir "$my_gentop"
7137 + if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then
7141 + for my_xlib in $my_oldlibs; do
7142 + # Extract the objects.
7144 + [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
7145 + *) my_xabs=`pwd`"/$my_xlib" ;;
7147 + my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'`
7148 + my_xlib_u=$my_xlib
7150 + case " $extracted_archives " in
7152 + extracted_serial=`expr $extracted_serial + 1`
7153 + my_xlib_u=lt$extracted_serial-$my_xlib ;;
7157 + extracted_archives="$extracted_archives $my_xlib_u"
7158 + my_xdir="$my_gentop/$my_xlib_u"
7160 + $show "${rm}r $my_xdir"
7161 + $run ${rm}r "$my_xdir"
7162 + $show "$mkdir $my_xdir"
7163 + $run $mkdir "$my_xdir"
7165 + if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then
7170 + $show "Extracting $my_xabs"
7171 + # Do not bother doing anything if just a dry run
7172 + if test -z "$run"; then
7173 + darwin_orig_dir=`pwd`
7174 + cd $my_xdir || exit $?
7175 + darwin_archive=$my_xabs
7176 + darwin_curdir=`pwd`
7177 + darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'`
7178 + darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null`
7179 + if test -n "$darwin_arches"; then
7180 + darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'`
7182 + $show "$darwin_base_archive has multiple architectures $darwin_arches"
7183 + for darwin_arch in $darwin_arches ; do
7184 + mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
7185 + lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
7186 + cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
7187 + func_extract_an_archive "`pwd`" "${darwin_base_archive}"
7188 + cd "$darwin_curdir"
7189 + $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
7190 + done # $darwin_arches
7191 + ## Okay now we have a bunch of thin objects, gotta fatten them up :)
7192 + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP`
7195 + for darwin_file in $darwin_filelist; do
7196 + darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
7197 + lipo -create -output "$darwin_file" $darwin_files
7198 + done # $darwin_filelist
7200 + cd "$darwin_orig_dir"
7202 + cd "$darwin_orig_dir"
7203 + func_extract_an_archive "$my_xdir" "$my_xabs"
7204 + fi # $darwin_arches
7208 + func_extract_an_archive "$my_xdir" "$my_xabs"
7211 + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
7213 + func_extract_archives_result="$my_oldobjs"
7215 # End of Shell function definitions
7216 #####################################
7219 eval std_shrext=\"$shrext_cmds\"
7223 # Parse our command line options once, thoroughly.
7224 while test "$#" -gt 0
7226 @@ -306,12 +488,13 @@ do
7230 - $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
7232 - $echo "Copyright (C) 2003 Free Software Foundation, Inc."
7233 - $echo "This is free software; see the source for copying conditions. There is NO"
7234 - $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
7235 - exit $EXIT_SUCCESS
7237 +$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP
7239 +Copyright (C) 2008 Free Software Foundation, Inc.
7240 +This is free software; see the source for copying conditions. There is NO
7241 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
7246 @@ -320,7 +503,7 @@ do
7247 for tagname in $taglist; do
7248 ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
7250 - exit $EXIT_SUCCESS
7255 @@ -345,7 +528,7 @@ do
7257 $echo "disable static libraries"
7259 - exit $EXIT_SUCCESS
7263 --finish) mode="finish" ;;
7264 @@ -360,7 +543,11 @@ do
7265 preserve_args="$preserve_args $arg"
7268 - --tag) prevopt="--tag" prev=tag ;;
7272 + preserve_args="$preserve_args --tag"
7275 set tag "$optarg" ${1+"$@"}
7277 @@ -392,6 +579,18 @@ if test -n "$prevopt"; then
7281 +case $disable_libs in
7285 + build_libtool_libs=no
7286 + build_old_libs=yes
7289 + build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
7293 # If this variable is set in any of the actions, the command in it
7294 # will be execed at the end. This prevents here-documents from being
7295 # left over by shells.
7296 @@ -402,7 +601,7 @@ if test -z "$show_help"; then
7297 # Infer the operation mode.
7298 if test -z "$mode"; then
7299 $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
7300 - $echo "*** Future versions of Libtool will require -mode=MODE be specified." 1>&2
7301 + $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2
7303 *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*)
7305 @@ -468,7 +667,7 @@ if test -z "$show_help"; then
7309 - case "$arg_mode" in
7312 # do not "continue". Instead, add this to base_compile
7314 @@ -550,7 +749,10 @@ if test -z "$show_help"; then
7316 # Double-quote args containing other shell metacharacters.
7317 # Many Bourne shells cannot handle close brackets correctly
7318 - # in scan sets, so we specify it separately.
7319 + # in scan sets, and some SunOS ksh mistreat backslash-escaping
7320 + # in scan sets (worked around with variable expansion),
7321 + # and furthermore cannot handle '|' '&' '(' ')' in scan sets
7322 + # at all, so we specify them separately.
7323 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
7324 lastarg="\"$lastarg\""
7326 @@ -588,9 +790,11 @@ if test -z "$show_help"; then
7327 *.class) xform=class ;;
7330 - *.f90) xform=f90 ;;
7331 + *.[fF][09]?) xform=[fF][09]. ;;
7333 *.java) xform=java ;;
7334 + *.obj) xform=obj ;;
7338 libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
7339 @@ -624,6 +828,14 @@ if test -z "$show_help"; then
7343 + qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"`
7345 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
7346 + qlibobj="\"$qlibobj\"" ;;
7348 + test "X$libobj" != "X$qlibobj" \
7349 + && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \
7350 + && $echo "$modename: libobj name \`$libobj' may not contain shell special characters."
7351 objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
7352 xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
7353 if test "X$xdir" = "X$obj"; then
7354 @@ -696,12 +908,17 @@ compiler."
7355 $run $rm $removelist
7358 - $echo $srcfile > "$lockfile"
7359 + $echo "$srcfile" > "$lockfile"
7362 if test -n "$fix_srcfile_path"; then
7363 eval srcfile=\"$fix_srcfile_path\"
7365 + qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"`
7367 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
7368 + qsrcfile="\"$qsrcfile\"" ;;
7371 $run $rm "$libobj" "${libobj}T"
7373 @@ -723,18 +940,18 @@ EOF
7374 fbsd_hideous_sh_bug=$base_compile
7376 if test "$pic_mode" != no; then
7377 - command="$base_compile $srcfile $pic_flag"
7378 + command="$base_compile $qsrcfile $pic_flag"
7380 # Don't build PIC code
7381 - command="$base_compile $srcfile"
7382 + command="$base_compile $qsrcfile"
7385 if test ! -d "${xdir}$objdir"; then
7386 $show "$mkdir ${xdir}$objdir"
7387 $run $mkdir ${xdir}$objdir
7389 - if test "$status" -ne 0 && test ! -d "${xdir}$objdir"; then
7392 + if test "$exit_status" -ne 0 && test ! -d "${xdir}$objdir"; then
7397 @@ -746,7 +963,7 @@ EOF
7398 $run $rm "$lobj" "$output_obj"
7401 - if $run eval "$command"; then :
7402 + if $run eval $lt_env "$command"; then :
7404 test -n "$output_obj" && $run $rm $removelist
7406 @@ -806,9 +1023,9 @@ EOF
7407 if test "$build_old_libs" = yes; then
7408 if test "$pic_mode" != yes; then
7409 # Don't build PIC code
7410 - command="$base_compile $srcfile"
7411 + command="$base_compile $qsrcfile"
7413 - command="$base_compile $srcfile $pic_flag"
7414 + command="$base_compile $qsrcfile $pic_flag"
7416 if test "$compiler_c_o" = yes; then
7417 command="$command -o $obj"
7418 @@ -818,7 +1035,7 @@ EOF
7419 command="$command$suppress_output"
7420 $run $rm "$obj" "$output_obj"
7422 - if $run eval "$command"; then :
7423 + if $run eval $lt_env "$command"; then :
7425 $run $rm $removelist
7427 @@ -937,6 +1154,7 @@ EOF
7431 + notinst_path= # paths that contain not-installed libtool libraries
7432 precious_files_regex=
7433 prefer_static_libs=no
7435 @@ -950,6 +1168,7 @@ EOF
7439 + single_module="${wl}-single_module"
7441 func_infer_tag $base_compile
7443 @@ -957,22 +1176,32 @@ EOF
7447 - -all-static | -static)
7448 - if test "X$arg" = "X-all-static"; then
7449 + -all-static | -static | -static-libtool-libs)
7452 if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
7453 $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
7455 if test -n "$link_static_flag"; then
7456 dlopen_self=$dlopen_self_static
7459 + prefer_static_libs=yes
7462 if test -z "$pic_flag" && test -n "$link_static_flag"; then
7463 dlopen_self=$dlopen_self_static
7466 + prefer_static_libs=built
7468 + -static-libtool-libs)
7469 + if test -z "$pic_flag" && test -n "$link_static_flag"; then
7470 + dlopen_self=$dlopen_self_static
7472 + prefer_static_libs=yes
7475 build_libtool_libs=no
7477 - prefer_static_libs=yes
7481 @@ -1147,6 +1376,11 @@ EOF
7482 if test -z "$pic_object" || test "$pic_object" = none ; then
7483 arg="$non_pic_object"
7486 + # If the PIC object exists, use it instead.
7487 + # $xdir was prepended to $pic_object above.
7488 + non_pic_object="$pic_object"
7489 + non_pic_objects="$non_pic_objects $non_pic_object"
7492 # Only an error if not doing a dry-run.
7493 @@ -1230,6 +1464,13 @@ EOF
7497 + darwin_framework|darwin_framework_skip)
7498 + test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg"
7499 + compile_command="$compile_command $arg"
7500 + finalize_command="$finalize_command $arg"
7505 eval "$prev=\"\$arg\""
7507 @@ -1288,6 +1529,18 @@ EOF
7511 + -framework|-arch|-isysroot)
7513 + *" ${arg} ${1} "* | *" ${arg} ${1} "*)
7514 + prev=darwin_framework_skip ;;
7515 + *) compiler_flags="$compiler_flags $arg"
7516 + prev=darwin_framework ;;
7518 + compile_command="$compile_command $arg"
7519 + finalize_command="$finalize_command $arg"
7526 @@ -1314,7 +1567,8 @@ EOF
7527 absdir=`cd "$dir" && pwd`
7528 if test -z "$absdir"; then
7529 $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
7530 - exit $EXIT_FAILURE
7532 + notinst_path="$notinst_path $dir"
7536 @@ -1328,10 +1582,15 @@ EOF
7539 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
7540 + testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'`
7541 case :$dllsearchpath: in
7543 *) dllsearchpath="$dllsearchpath:$dir";;
7545 + case :$dllsearchpath: in
7546 + *":$testbindir:"*) ;;
7547 + *) dllsearchpath="$dllsearchpath:$testbindir";;
7552 @@ -1340,15 +1599,15 @@ EOF
7554 if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
7556 - *-*-cygwin* | *-*-pw32* | *-*-beos*)
7557 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*)
7558 # These systems don't actually have a C or math library (as such)
7561 - *-*-mingw* | *-*-os2*)
7563 # These systems don't actually have a C library (as such)
7564 test "X$arg" = "X-lc" && continue
7566 - *-*-openbsd* | *-*-freebsd*)
7567 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
7568 # Do not include libc due to us having libc/libc_r.
7569 test "X$arg" = "X-lc" && continue
7571 @@ -1356,10 +1615,19 @@ EOF
7572 # Rhapsody C and math libraries are in the System framework
7573 deplibs="$deplibs -framework System"
7576 + *-*-sco3.2v5* | *-*-sco5v6*)
7577 + # Causes problems with __ctype
7578 + test "X$arg" = "X-lc" && continue
7580 + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
7581 + # Compiler inserts libc in the correct place for threads to work
7582 + test "X$arg" = "X-lc" && continue
7585 elif test "X$arg" = "X-lc_r"; then
7587 - *-*-openbsd* | *-*-freebsd*)
7588 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
7589 # Do not include libc_r directly, use -pthread flag.
7592 @@ -1369,8 +1637,25 @@ EOF
7596 - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
7597 - deplibs="$deplibs $arg"
7598 + # Tru64 UNIX uses -model [arg] to determine the layout of C++
7599 + # classes, name mangling, and exception handling.
7601 + compile_command="$compile_command $arg"
7602 + compiler_flags="$compiler_flags $arg"
7603 + finalize_command="$finalize_command $arg"
7608 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
7609 + compiler_flags="$compiler_flags $arg"
7610 + compile_command="$compile_command $arg"
7611 + finalize_command="$finalize_command $arg"
7616 + single_module="${wl}-multi_module"
7620 @@ -1379,13 +1664,20 @@ EOF
7624 - # gcc -m* arguments should be passed to the linker via $compiler_flags
7625 - # in order to pass architecture information to the linker
7626 - # (e.g. 32 vs 64-bit). This may also be accomplished via -Wl,-mfoo
7627 - # but this is not reliable with gcc because gcc may use -mfoo to
7628 - # select a different linker, different libraries, etc, while
7629 - # -Wl,-mfoo simply passes -mfoo to the linker.
7631 + # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
7632 + # -r[0-9][0-9]* specifies the processor on the SGI compiler
7633 + # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
7634 + # +DA*, +DD* enable 64-bit mode on the HP compiler
7635 + # -q* pass through compiler args for the IBM compiler
7636 + # -m* pass through architecture-specific compiler args for GCC
7637 + # -m*, -t[45]*, -txscale* pass through architecture-specific
7638 + # compiler args for GCC
7639 + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
7640 + # -F/path gives path to uninstalled frameworks, gcc on darwin
7641 + # @file GCC response files
7642 + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
7643 + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
7645 # Unknown arguments in both finalize_command and compile_command need
7646 # to be aesthetically quoted because they are evaled later.
7647 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
7648 @@ -1396,9 +1688,7 @@ EOF
7650 compile_command="$compile_command $arg"
7651 finalize_command="$finalize_command $arg"
7652 - if test "$with_gcc" = "yes" ; then
7653 - compiler_flags="$compiler_flags $arg"
7655 + compiler_flags="$compiler_flags $arg"
7659 @@ -1414,9 +1704,9 @@ EOF
7663 - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
7664 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin*)
7665 # The PATH hackery in wrapper scripts is required on Windows
7666 - # in order for the loader to find any dlls it needs.
7667 + # and Darwin in order for the loader to find any dlls it needs.
7668 $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
7669 $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
7671 @@ -1475,7 +1765,7 @@ EOF
7676 + -static | -static-libtool-libs)
7677 # The effects of -static are defined in a previous loop.
7678 # We used to do the same as -all-static on platforms that
7679 # didn't have a PIC flag, but the assumption that the effects
7680 @@ -1636,6 +1926,11 @@ EOF
7681 if test -z "$pic_object" || test "$pic_object" = none ; then
7682 arg="$non_pic_object"
7685 + # If the PIC object exists, use it instead.
7686 + # $xdir was prepended to $pic_object above.
7687 + non_pic_object="$pic_object"
7688 + non_pic_objects="$non_pic_objects $non_pic_object"
7691 # Only an error if not doing a dry-run.
7692 @@ -1741,9 +2036,9 @@ EOF
7693 if test ! -d "$output_objdir"; then
7694 $show "$mkdir $output_objdir"
7695 $run $mkdir $output_objdir
7697 - if test "$status" -ne 0 && test ! -d "$output_objdir"; then
7700 + if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then
7705 @@ -1806,7 +2101,6 @@ EOF
7707 need_relink=no # whether we're linking any uninstalled libtool libraries
7708 notinst_deplibs= # not-installed libtool libraries
7709 - notinst_path= # paths that contain not-installed libtool libraries
7713 @@ -1841,7 +2135,10 @@ EOF
7715 dlopen) libs="$dlfiles" ;;
7716 dlpreopen) libs="$dlprefiles" ;;
7717 - link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
7719 + libs="$deplibs %DEPLIBS%"
7720 + test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
7724 if test "$pass" = dlopen; then
7725 @@ -1853,12 +2150,12 @@ EOF
7729 - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
7730 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
7731 if test "$linkmode,$pass" = "prog,link"; then
7732 compile_deplibs="$deplib $compile_deplibs"
7733 finalize_deplibs="$deplib $finalize_deplibs"
7735 - deplibs="$deplib $deplibs"
7736 + compiler_flags="$compiler_flags $deplib"
7740 @@ -1867,12 +2164,13 @@ EOF
7741 $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
7744 - if test "$pass" = conv; then
7745 - deplibs="$deplib $deplibs"
7748 name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
7749 - for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
7750 + if test "$linkmode" = lib; then
7751 + searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
7753 + searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
7755 + for searchdir in $searchdirs; do
7756 for search_ext in .la $std_shrext .so .a; do
7757 # Search the libtool library
7758 lib="$searchdir/lib${name}${search_ext}"
7759 @@ -1981,7 +2279,22 @@ EOF
7763 - if test "$deplibs_check_method" != pass_all; then
7765 + case $deplibs_check_method in
7767 + set dummy $deplibs_check_method
7768 + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
7769 + if eval $echo \"$deplib\" 2>/dev/null \
7771 + | $EGREP "$match_pattern_regex" > /dev/null; then
7779 + if test "$valid_a_lib" != yes; then
7781 $echo "*** Warning: Trying to link with static lib archive $deplib."
7782 $echo "*** I have the capability to make that library automatically link in when"
7783 @@ -2031,7 +2344,7 @@ EOF
7785 if test "$found" = yes || test -f "$lib"; then :
7787 - $echo "$modename: cannot find the library \`$lib'" 1>&2
7788 + $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2
7792 @@ -2055,6 +2368,8 @@ EOF
7793 # it will not redefine variables installed, or shouldnotlink
7801 @@ -2153,11 +2468,19 @@ EOF
7805 + test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
7807 - dir="$ladir/$objdir"
7808 - absdir="$abs_ladir/$objdir"
7809 - # Remove this search path later
7810 - notinst_path="$notinst_path $abs_ladir"
7811 + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
7813 + absdir="$abs_ladir"
7814 + # Remove this search path later
7815 + notinst_path="$notinst_path $abs_ladir"
7817 + dir="$ladir/$objdir"
7818 + absdir="$abs_ladir/$objdir"
7819 + # Remove this search path later
7820 + notinst_path="$notinst_path $abs_ladir"
7822 fi # $installed = yes
7823 name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
7825 @@ -2228,14 +2551,16 @@ EOF
7827 if test "$linkmode,$pass" = "prog,link"; then
7828 if test -n "$library_names" &&
7829 - { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
7830 + { { test "$prefer_static_libs" = no ||
7831 + test "$prefer_static_libs,$installed" = "built,yes"; } ||
7832 + test -z "$old_library"; }; then
7833 # We need to hardcode the library path
7834 - if test -n "$shlibpath_var"; then
7835 + if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
7836 # Make sure the rpath contains only unique directories.
7837 case "$temp_rpath " in
7840 - *) temp_rpath="$temp_rpath $dir" ;;
7841 + *) temp_rpath="$temp_rpath $absdir" ;;
7845 @@ -2272,8 +2597,12 @@ EOF
7848 link_static=no # Whether the deplib will be linked statically
7849 + use_static_libs=$prefer_static_libs
7850 + if test "$use_static_libs" = built && test "$installed" = yes ; then
7851 + use_static_libs=no
7853 if test -n "$library_names" &&
7854 - { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
7855 + { test "$use_static_libs" = no || test -z "$old_library"; }; then
7856 if test "$installed" = no; then
7857 notinst_deplibs="$notinst_deplibs $lib"
7859 @@ -2386,11 +2715,15 @@ EOF
7860 if test "$hardcode_direct" = no; then
7863 - *-*-sco3.2v5* ) add_dir="-L$dir" ;;
7864 + *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
7865 + *-*-sysv4*uw2*) add_dir="-L$dir" ;;
7866 + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
7867 + *-*-unixware7*) add_dir="-L$dir" ;;
7869 # if the lib is a module then we can not link against
7870 # it, someone is ignoring the new warnings I added
7871 - if /usr/bin/file -L $add 2> /dev/null | $EGREP "bundle" >/dev/null ; then
7872 + if /usr/bin/file -L $add 2> /dev/null |
7873 + $EGREP ": [^:]* bundle" >/dev/null ; then
7874 $echo "** Warning, lib $linklib is a module, not a shared library"
7875 if test -z "$old_library" ; then
7877 @@ -2421,7 +2754,7 @@ EOF
7879 # Try looking first in the location we're being installed to.
7880 if test -n "$inst_prefix_dir"; then
7884 add_dir="$add_dir -L$inst_prefix_dir$libdir"
7886 @@ -2494,7 +2827,7 @@ EOF
7888 # Try looking first in the location we're being installed to.
7889 if test -n "$inst_prefix_dir"; then
7893 add_dir="$add_dir -L$inst_prefix_dir$libdir"
7895 @@ -2555,8 +2888,6 @@ EOF
7899 - convenience="$convenience $dir/$old_library"
7900 - old_convenience="$old_convenience $dir/$old_library"
7901 deplibs="$dir/$old_library $deplibs"
7904 @@ -2635,12 +2966,18 @@ EOF
7905 # we do not want to link against static libs,
7906 # but need to link against shared
7907 eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
7908 + eval deplibdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
7909 if test -n "$deplibrary_names" ; then
7910 for tmp in $deplibrary_names ; do
7913 - if test -f "$path/$depdepl" ; then
7914 + if test -f "$deplibdir/$depdepl" ; then
7915 + depdepl="$deplibdir/$depdepl"
7916 + elif test -f "$path/$depdepl" ; then
7917 depdepl="$path/$depdepl"
7919 + # Can't find it, oh well...
7922 # do not add paths which are already there
7923 case " $newlib_search_path " in
7924 @@ -2674,12 +3011,12 @@ EOF
7927 case " $deplibs " in
7928 - *" $depdepl "*) ;;
7929 - *) deplibs="$depdepl $deplibs" ;;
7931 + *) deplibs="$path $deplibs" ;;
7933 case " $deplibs " in
7935 - *) deplibs="$deplibs $path" ;;
7936 + *" $depdepl "*) ;;
7937 + *) deplibs="$depdepl $deplibs" ;;
7940 fi # link_all_deplibs != no
7941 @@ -2788,9 +3125,10 @@ EOF
7945 - if test -n "$deplibs"; then
7946 - $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
7948 + case " $deplibs" in
7950 + $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 ;;
7953 if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
7954 $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
7955 @@ -2918,7 +3256,7 @@ EOF
7956 # which has an extra 1 added just for fun
7958 case $version_type in
7959 - darwin|linux|osf|windows)
7960 + darwin|linux|osf|windows|none)
7961 current=`expr $number_major + $number_minor`
7963 revision="$number_revision"
7964 @@ -2929,9 +3267,15 @@ EOF
7968 - current=`expr $number_major + $number_minor - 1`
7969 + current=`expr $number_major + $number_minor`
7971 revision="$number_minor"
7972 + lt_irix_increment=no
7975 + $echo "$modename: unknown library version type \`$version_type'" 1>&2
7976 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
7977 + exit $EXIT_FAILURE
7981 @@ -2944,27 +3288,27 @@ EOF
7983 # Check that each of the things are valid numbers.
7986 + 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]) ;;
7988 - $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
7989 + $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2
7990 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
7997 + 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]) ;;
7999 - $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
8000 + $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2
8001 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
8008 + 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]) ;;
8010 - $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
8011 + $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2
8012 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
8015 @@ -2990,6 +3334,7 @@ EOF
8016 versuffix="$major.$age.$revision"
8017 # Darwin ld doesn't like 0 for these options...
8018 minor_current=`expr $current + 1`
8019 + xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
8020 verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
8023 @@ -3004,8 +3349,11 @@ EOF
8027 - major=`expr $current - $age + 1`
8029 + if test "X$lt_irix_increment" = "Xno"; then
8030 + major=`expr $current - $age`
8032 + major=`expr $current - $age + 1`
8034 case $version_type in
8035 nonstopux) verstring_prefix=nonstopux ;;
8036 *) verstring_prefix=sgi ;;
8037 @@ -3142,11 +3490,11 @@ EOF
8040 # Eliminate all temporary directories.
8041 - for path in $notinst_path; do
8042 - lib_search_path=`$echo "$lib_search_path " | ${SED} -e 's% $path % %g'`
8043 - deplibs=`$echo "$deplibs " | ${SED} -e 's% -L$path % %g'`
8044 - dependency_libs=`$echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'`
8046 + #for path in $notinst_path; do
8047 + # lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
8048 + # deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
8049 + # dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
8052 if test -n "$xrpath"; then
8053 # If the user specified any rpath flags, then add them.
8054 @@ -3196,9 +3544,14 @@ EOF
8056 # Don't link with libc until the a.out ld.so is fixed.
8058 - *-*-openbsd* | *-*-freebsd*)
8059 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
8060 # Do not include libc due to us having libc/libc_r.
8061 - test "X$arg" = "X-lc" && continue
8063 + *-*-sco3.2v5* | *-*-sco5v6*)
8064 + # Causes problems with __ctype
8066 + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
8067 + # Compiler inserts libc in the correct place for threads to work
8070 # Add libc to deplibs on all other systems if necessary.
8071 @@ -3242,13 +3595,12 @@ EOF
8072 int main() { return 0; }
8075 - $LTCC -o conftest conftest.c $deplibs
8076 - if test "$?" -eq 0 ; then
8077 + if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
8078 ldd_output=`ldd conftest`
8079 for i in $deplibs; do
8080 - name="`expr $i : '-l\(.*\)'`"
8081 + name=`expr $i : '-l\(.*\)'`
8082 # If $name is empty we are operating on a -L argument.
8083 - if test "$name" != "" && test "$name" -ne "0"; then
8084 + if test "$name" != "" && test "$name" != "0"; then
8085 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
8086 case " $predeps $postdeps " in
8088 @@ -3283,13 +3635,11 @@ EOF
8089 # Error occurred in the first compile. Let's try to salvage
8090 # the situation: Compile a separate program for each library.
8091 for i in $deplibs; do
8092 - name="`expr $i : '-l\(.*\)'`"
8093 + name=`expr $i : '-l\(.*\)'`
8094 # If $name is empty we are operating on a -L argument.
8095 if test "$name" != "" && test "$name" != "0"; then
8097 - $LTCC -o conftest conftest.c $i
8099 - if test "$?" -eq 0 ; then
8100 + if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
8101 ldd_output=`ldd conftest`
8102 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
8103 case " $predeps $postdeps " in
8104 @@ -3321,7 +3671,7 @@ EOF
8107 $echo "*** Warning! Library $i is needed by this library but I was not able to"
8108 - $echo "*** make it link in! You will probably need to install it or some"
8109 + $echo "*** make it link in! You will probably need to install it or some"
8110 $echo "*** library that it depends on before this library will be fully"
8111 $echo "*** functional. Installing it before continuing would be even better."
8113 @@ -3335,7 +3685,7 @@ EOF
8114 set dummy $deplibs_check_method
8115 file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
8116 for a_deplib in $deplibs; do
8117 - name="`expr $a_deplib : '-l\(.*\)'`"
8118 + name=`expr $a_deplib : '-l\(.*\)'`
8119 # If $name is empty we are operating on a -L argument.
8120 if test "$name" != "" && test "$name" != "0"; then
8121 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
8122 @@ -3404,7 +3754,7 @@ EOF
8123 set dummy $deplibs_check_method
8124 match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
8125 for a_deplib in $deplibs; do
8126 - name="`expr $a_deplib : '-l\(.*\)'`"
8127 + name=`expr $a_deplib : '-l\(.*\)'`
8128 # If $name is empty we are operating on a -L argument.
8129 if test -n "$name" && test "$name" != "0"; then
8130 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
8131 @@ -3534,6 +3884,35 @@ EOF
8136 + # move library search paths that coincide with paths to not yet
8137 + # installed libraries to the beginning of the library search list
8139 + for path in $notinst_path; do
8140 + case " $new_libs " in
8141 + *" -L$path/$objdir "*) ;;
8143 + case " $deplibs " in
8144 + *" -L$path/$objdir "*)
8145 + new_libs="$new_libs -L$path/$objdir" ;;
8150 + for deplib in $deplibs; do
8153 + case " $new_libs " in
8155 + *) new_libs="$new_libs $deplib" ;;
8158 + *) new_libs="$new_libs $deplib" ;;
8161 + deplibs="$new_libs"
8164 # All the library-specific variables (install_libdir is set above).
8167 @@ -3578,7 +3957,10 @@ EOF
8168 test -n "$hardcode_libdirs"; then
8169 libdir="$hardcode_libdirs"
8170 if test -n "$hardcode_libdir_flag_spec_ld"; then
8171 - eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
8172 + case $archive_cmds in
8173 + *\$LD*) eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" ;;
8174 + *) eval dep_rpath=\"$hardcode_libdir_flag_spec\" ;;
8177 eval dep_rpath=\"$hardcode_libdir_flag_spec\"
8179 @@ -3617,6 +3999,7 @@ EOF
8182 lib="$output_objdir/$realname"
8186 linknames="$linknames $link"
8187 @@ -3645,6 +4028,9 @@ EOF
8188 # The command line is too long to execute in one step.
8189 $show "using reloadable object file for export list..."
8191 + # Break out early, otherwise skipped_export may be
8192 + # set to false by a later but shorter cmd.
8197 @@ -3678,67 +4064,13 @@ EOF
8198 eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
8200 gentop="$output_objdir/${outputname}x"
8201 - $show "${rm}r $gentop"
8202 - $run ${rm}r "$gentop"
8203 - $show "$mkdir $gentop"
8204 - $run $mkdir "$gentop"
8206 - if test "$status" -ne 0 && test ! -d "$gentop"; then
8209 generated="$generated $gentop"
8211 - for xlib in $convenience; do
8212 - # Extract the objects.
8214 - [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
8215 - *) xabs=`pwd`"/$xlib" ;;
8217 - xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
8218 - xdir="$gentop/$xlib"
8220 - $show "${rm}r $xdir"
8221 - $run ${rm}r "$xdir"
8222 - $show "$mkdir $xdir"
8223 - $run $mkdir "$xdir"
8225 - if test "$status" -ne 0 && test ! -d "$xdir"; then
8228 - # We will extract separately just the conflicting names and we will no
8229 - # longer touch any unique names. It is faster to leave these extract
8230 - # automatically by $AR in one run.
8231 - $show "(cd $xdir && $AR x $xabs)"
8232 - $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
8233 - if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
8236 - $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
8237 - $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
8238 - $AR t "$xabs" | sort | uniq -cd | while read -r count name
8241 - while test "$i" -le "$count"
8243 - # Put our $i before any first dot (extension)
8244 - # Never overwrite any file
8246 - while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
8248 - name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
8250 - $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
8251 - $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
8257 - libobjs="$libobjs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
8259 + func_extract_archives $gentop $convenience
8260 + libobjs="$libobjs $func_extract_archives_result"
8265 if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
8266 eval flag=\"$thread_safe_flag_spec\"
8267 linker_flags="$linker_flags $flag"
8268 @@ -3768,7 +4100,8 @@ EOF
8272 - if test "X$skipped_export" != "X:" && len=`expr "X$test_cmds" : ".*"` &&
8273 + if test "X$skipped_export" != "X:" &&
8274 + len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
8275 test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
8278 @@ -3787,6 +4120,7 @@ EOF
8279 save_libobjs=$libobjs
8282 + output_la=`$echo "X$output" | $Xsed -e "$basename"`
8284 # Clear the reloadable object creation command queue and
8285 # initialize k to one.
8286 @@ -3796,13 +4130,13 @@ EOF
8290 - output=$output_objdir/$save_output-${k}.$objext
8291 + output=$output_objdir/$output_la-${k}.$objext
8292 # Loop over the list of objects to be linked.
8293 for obj in $save_libobjs
8295 eval test_cmds=\"$reload_cmds $objlist $last_robj\"
8296 if test "X$objlist" = X ||
8297 - { len=`expr "X$test_cmds" : ".*"` &&
8298 + { len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
8299 test "$len" -le "$max_cmd_len"; }; then
8300 objlist="$objlist $obj"
8302 @@ -3816,9 +4150,9 @@ EOF
8303 # the last one created.
8304 eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\"
8306 - last_robj=$output_objdir/$save_output-${k}.$objext
8307 + last_robj=$output_objdir/$output_la-${k}.$objext
8309 - output=$output_objdir/$save_output-${k}.$objext
8310 + output=$output_objdir/$output_la-${k}.$objext
8314 @@ -3838,13 +4172,13 @@ EOF
8315 eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\"
8318 - # Set up a command to remove the reloadale object files
8319 + # Set up a command to remove the reloadable object files
8320 # after they are used.
8322 while test "$i" -lt "$k"
8325 - delfiles="$delfiles $output_objdir/$save_output-${i}.$objext"
8326 + delfiles="$delfiles $output_objdir/$output_la-${i}.$objext"
8329 $echo "creating a temporary reloadable object file: $output"
8330 @@ -3892,13 +4226,30 @@ EOF
8334 - $run eval "$cmd" || exit $?
8335 + $run eval "$cmd" || {
8338 + # Restore the uninstalled library and exit
8339 + if test "$mode" = relink; then
8340 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
8348 # Restore the uninstalled library and exit
8349 if test "$mode" = relink; then
8350 $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
8352 + if test -n "$convenience"; then
8353 + if test -z "$whole_archive_flag_spec"; then
8354 + $show "${rm}r $gentop"
8355 + $run ${rm}r "$gentop"
8362 @@ -3919,9 +4270,10 @@ EOF
8366 - if test -n "$deplibs"; then
8367 - $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
8369 + case " $deplibs" in
8371 + $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 ;;
8374 if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
8375 $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
8376 @@ -3968,72 +4320,20 @@ EOF
8379 # reload_cmds runs $LD directly, so let us get rid of
8380 - # -Wl from whole_archive_flag_spec
8381 + # -Wl from whole_archive_flag_spec and hope we can get by with
8382 + # turning comma into space..
8385 if test -n "$convenience"; then
8386 if test -n "$whole_archive_flag_spec"; then
8387 - eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\"
8388 + eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
8389 + reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
8391 gentop="$output_objdir/${obj}x"
8392 - $show "${rm}r $gentop"
8393 - $run ${rm}r "$gentop"
8394 - $show "$mkdir $gentop"
8395 - $run $mkdir "$gentop"
8397 - if test "$status" -ne 0 && test ! -d "$gentop"; then
8400 generated="$generated $gentop"
8402 - for xlib in $convenience; do
8403 - # Extract the objects.
8405 - [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
8406 - *) xabs=`pwd`"/$xlib" ;;
8408 - xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
8409 - xdir="$gentop/$xlib"
8411 - $show "${rm}r $xdir"
8412 - $run ${rm}r "$xdir"
8413 - $show "$mkdir $xdir"
8414 - $run $mkdir "$xdir"
8416 - if test "$status" -ne 0 && test ! -d "$xdir"; then
8419 - # We will extract separately just the conflicting names and we will no
8420 - # longer touch any unique names. It is faster to leave these extract
8421 - # automatically by $AR in one run.
8422 - $show "(cd $xdir && $AR x $xabs)"
8423 - $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
8424 - if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
8427 - $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
8428 - $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
8429 - $AR t "$xabs" | sort | uniq -cd | while read -r count name
8432 - while test "$i" -le "$count"
8434 - # Put our $i before any first dot (extension)
8435 - # Never overwrite any file
8437 - while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
8439 - name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
8441 - $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
8442 - $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
8448 - reload_conv_objs="$reload_objs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
8450 + func_extract_archives $gentop $convenience
8451 + reload_conv_objs="$reload_objs $func_extract_archives_result"
8455 @@ -4134,6 +4434,35 @@ EOF
8460 + # move library search paths that coincide with paths to not yet
8461 + # installed libraries to the beginning of the library search list
8463 + for path in $notinst_path; do
8464 + case " $new_libs " in
8465 + *" -L$path/$objdir "*) ;;
8467 + case " $compile_deplibs " in
8468 + *" -L$path/$objdir "*)
8469 + new_libs="$new_libs -L$path/$objdir" ;;
8474 + for deplib in $compile_deplibs; do
8477 + case " $new_libs " in
8479 + *) new_libs="$new_libs $deplib" ;;
8482 + *) new_libs="$new_libs $deplib" ;;
8485 + compile_deplibs="$new_libs"
8488 compile_command="$compile_command $compile_deplibs"
8489 finalize_command="$finalize_command $finalize_deplibs"
8491 @@ -4178,10 +4507,15 @@ EOF
8494 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
8495 + testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'`
8496 case :$dllsearchpath: in
8498 *) dllsearchpath="$dllsearchpath:$libdir";;
8500 + case :$dllsearchpath: in
8501 + *":$testbindir:"*) ;;
8502 + *) dllsearchpath="$dllsearchpath:$testbindir";;
8507 @@ -4295,13 +4629,25 @@ extern \"C\" {
8509 # Prepare the list of exported symbols
8510 if test -z "$export_symbols"; then
8511 - export_symbols="$output_objdir/$output.exp"
8512 + export_symbols="$output_objdir/$outputname.exp"
8513 $run $rm $export_symbols
8514 - $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
8515 + $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
8517 + *cygwin* | *mingw* )
8518 + $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
8519 + $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
8523 - $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
8524 - $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T'
8525 + $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
8526 + $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
8527 $run eval 'mv "$nlist"T "$nlist"'
8529 + *cygwin* | *mingw* )
8530 + $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
8531 + $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
8537 @@ -4352,7 +4698,26 @@ extern \"C\" {
8540 /* The mapping between symbol names and symbols. */
8544 + *cygwin* | *mingw* )
8545 + $echo >> "$output_objdir/$dlsyms" "\
8546 +/* DATA imports from DLLs on WIN32 can't be const, because
8547 + runtime relocations are performed -- see ld's documentation
8548 + on pseudo-relocs */
8553 + $echo >> "$output_objdir/$dlsyms" "\
8560 + $echo >> "$output_objdir/$dlsyms" "\
8564 @@ -4399,16 +4764,29 @@ static const void *lt_preloaded_setup() {
8567 # Now compile the dynamic symbol file.
8568 - $show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
8569 - $run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
8570 + $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
8571 + $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
8573 # Clean up the generated files.
8574 $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
8575 $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
8577 # Transform the symbol file into the correct name.
8578 - compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
8579 - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
8581 + *cygwin* | *mingw* )
8582 + if test -f "$output_objdir/${outputname}.def" ; then
8583 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
8584 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
8586 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
8587 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
8591 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
8592 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
8597 $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
8598 @@ -4421,19 +4799,19 @@ static const void *lt_preloaded_setup() {
8599 # really was required.
8601 # Nullify the symbol file.
8602 - compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
8603 - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
8604 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
8605 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
8608 if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
8609 # Replace the output file specification.
8610 - compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
8611 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP`
8612 link_command="$compile_command$compile_rpath"
8614 # We have no uninstalled library dependencies, so finalize right now.
8615 $show "$link_command"
8616 $run eval "$link_command"
8620 # Delete the generated files.
8621 if test -n "$dlsyms"; then
8622 @@ -4441,7 +4819,7 @@ static const void *lt_preloaded_setup() {
8623 $run $rm "$output_objdir/${outputname}S.${objext}"
8630 if test -n "$shlibpath_var"; then
8631 @@ -4514,7 +4892,7 @@ static const void *lt_preloaded_setup() {
8632 if test "$fast_install" != no; then
8633 link_command="$finalize_var$compile_command$finalize_rpath"
8634 if test "$fast_install" = yes; then
8635 - relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
8636 + relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP`
8638 # fast_install is set to needless
8640 @@ -4551,7 +4929,7 @@ static const void *lt_preloaded_setup() {
8643 relink_command="(cd `pwd`; $relink_command)"
8644 - relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
8645 + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
8648 # Quote $echo for shipping.
8649 @@ -4581,10 +4959,12 @@ static const void *lt_preloaded_setup() {
8652 *cygwin* | *mingw* )
8653 - cwrappersource=`$echo ${objdir}/lt-${output}.c`
8654 - cwrapper=`$echo ${output}.exe`
8655 - $rm $cwrappersource $cwrapper
8656 - trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
8657 + output_name=`basename $output`
8658 + output_path=`dirname $output`
8659 + cwrappersource="$output_path/$objdir/lt-$output_name.c"
8660 + cwrapper="$output_path/$output_name.exe"
8661 + $rm $cwrappersource $cwrapper
8662 + trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
8664 cat > $cwrappersource <<EOF
8666 @@ -4609,6 +4989,9 @@ EOF
8670 +#include <string.h>
8672 +#include <sys/stat.h>
8674 #if defined(PATH_MAX)
8675 # define LT_PATHMAX PATH_MAX
8676 @@ -4619,15 +5002,19 @@ EOF
8679 #ifndef DIR_SEPARATOR
8680 -#define DIR_SEPARATOR '/'
8681 +# define DIR_SEPARATOR '/'
8682 +# define PATH_SEPARATOR ':'
8685 #if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
8687 -#define HAVE_DOS_BASED_FILE_SYSTEM
8688 -#ifndef DIR_SEPARATOR_2
8689 -#define DIR_SEPARATOR_2 '\\'
8691 +# define HAVE_DOS_BASED_FILE_SYSTEM
8692 +# ifndef DIR_SEPARATOR_2
8693 +# define DIR_SEPARATOR_2 '\\'
8695 +# ifndef PATH_SEPARATOR_2
8696 +# define PATH_SEPARATOR_2 ';'
8700 #ifndef DIR_SEPARATOR_2
8701 @@ -4637,17 +5024,32 @@ EOF
8702 (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
8703 #endif /* DIR_SEPARATOR_2 */
8705 +#ifndef PATH_SEPARATOR_2
8706 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
8707 +#else /* PATH_SEPARATOR_2 */
8708 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
8709 +#endif /* PATH_SEPARATOR_2 */
8711 #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
8712 #define XFREE(stale) do { \
8713 if (stale) { free ((void *) stale); stale = 0; } \
8716 +/* -DDEBUG is fairly common in CFLAGS. */
8718 +#if defined DEBUGWRAPPER
8719 +# define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__)
8721 +# define DEBUG(format, ...)
8724 const char *program_name = NULL;
8726 void * xmalloc (size_t num);
8727 char * xstrdup (const char *string);
8728 -char * basename (const char *name);
8729 -char * fnqualify(const char *path);
8730 +const char * base_name (const char *name);
8731 +char * find_executable(const char *wrapper);
8732 +int check_executable(const char *path);
8733 char * strendzap(char *str, const char *pat);
8734 void lt_fatal (const char *message, ...);
8736 @@ -4657,29 +5059,51 @@ main (int argc, char *argv[])
8740 - program_name = (char *) xstrdup ((char *) basename (argv[0]));
8741 + program_name = (char *) xstrdup (base_name (argv[0]));
8742 + DEBUG("(main) argv[0] : %s\n",argv[0]);
8743 + DEBUG("(main) program_name : %s\n",program_name);
8744 newargz = XMALLOC(char *, argc+2);
8747 - cat >> $cwrappersource <<EOF
8748 - newargz[0] = "$SHELL";
8749 + cat >> $cwrappersource <<EOF
8750 + newargz[0] = (char *) xstrdup("$SHELL");
8753 - cat >> $cwrappersource <<"EOF"
8754 - newargz[1] = fnqualify(argv[0]);
8755 + cat >> $cwrappersource <<"EOF"
8756 + newargz[1] = find_executable(argv[0]);
8757 + if (newargz[1] == NULL)
8758 + lt_fatal("Couldn't find %s", argv[0]);
8759 + DEBUG("(main) found exe at : %s\n",newargz[1]);
8760 /* we know the script has the same name, without the .exe */
8761 /* so make sure newargz[1] doesn't end in .exe */
8762 strendzap(newargz[1],".exe");
8763 for (i = 1; i < argc; i++)
8764 newargz[i+1] = xstrdup(argv[i]);
8765 newargz[argc+1] = NULL;
8767 + for (i=0; i<argc+1; i++)
8769 + DEBUG("(main) newargz[%d] : %s\n",i,newargz[i]);
8775 - cat >> $cwrappersource <<EOF
8778 + cat >> $cwrappersource <<EOF
8779 + execv("$SHELL",(char const **)newargz);
8783 + cat >> $cwrappersource <<EOF
8784 execv("$SHELL",newargz);
8789 - cat >> $cwrappersource <<"EOF"
8790 + cat >> $cwrappersource <<"EOF"
8795 @@ -4699,48 +5123,148 @@ xstrdup (const char *string)
8800 -basename (const char *name)
8802 +base_name (const char *name)
8806 #if defined (HAVE_DOS_BASED_FILE_SYSTEM)
8807 /* Skip over the disk name in MSDOS pathnames. */
8808 - if (isalpha (name[0]) && name[1] == ':')
8809 + if (isalpha ((unsigned char)name[0]) && name[1] == ':')
8813 for (base = name; *name; name++)
8814 if (IS_DIR_SEPARATOR (*name))
8816 - return (char *) base;
8821 +check_executable(const char * path)
8825 + DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!");
8826 + if ((!path) || (!*path))
8829 + if ((stat (path, &st) >= 0) &&
8831 + /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */
8832 +#if defined (S_IXOTH)
8833 + ((st.st_mode & S_IXOTH) == S_IXOTH) ||
8835 +#if defined (S_IXGRP)
8836 + ((st.st_mode & S_IXGRP) == S_IXGRP) ||
8838 + ((st.st_mode & S_IXUSR) == S_IXUSR))
8845 +/* Searches for the full path of the wrapper. Returns
8846 + newly allocated full path name if found, NULL otherwise */
8848 -fnqualify(const char *path)
8849 +find_executable (const char* wrapper)
8853 + int has_slash = 0;
8855 + const char* p_next;
8856 + /* static buffer for getcwd */
8857 char tmp[LT_PATHMAX + 1];
8859 + char* concat_name;
8861 + DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!");
8863 - assert(path != NULL);
8864 + if ((wrapper == NULL) || (*wrapper == '\0'))
8867 - /* Is it qualified already? */
8868 + /* Absolute path? */
8869 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
8870 + if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':')
8872 + concat_name = xstrdup (wrapper);
8873 + if (check_executable(concat_name))
8874 + return concat_name;
8875 + XFREE(concat_name);
8880 + if (IS_DIR_SEPARATOR (wrapper[0]))
8882 + concat_name = xstrdup (wrapper);
8883 + if (check_executable(concat_name))
8884 + return concat_name;
8885 + XFREE(concat_name);
8887 #if defined (HAVE_DOS_BASED_FILE_SYSTEM)
8888 - if (isalpha (path[0]) && path[1] == ':')
8889 - return xstrdup (path);
8892 - if (IS_DIR_SEPARATOR (path[0]))
8893 - return xstrdup (path);
8895 - /* prepend the current directory */
8896 - /* doesn't handle '~' */
8897 + for (p = wrapper; *p; p++)
8905 + /* no slashes; search PATH */
8906 + const char* path = getenv ("PATH");
8909 + for (p = path; *p; p = p_next)
8913 + for (q = p; *q; q++)
8914 + if (IS_PATH_SEPARATOR(*q))
8917 + p_next = (*q == '\0' ? q : q + 1);
8920 + /* empty path: current directory */
8921 + if (getcwd (tmp, LT_PATHMAX) == NULL)
8922 + lt_fatal ("getcwd failed");
8923 + tmp_len = strlen(tmp);
8924 + concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
8925 + memcpy (concat_name, tmp, tmp_len);
8926 + concat_name[tmp_len] = '/';
8927 + strcpy (concat_name + tmp_len + 1, wrapper);
8931 + concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1);
8932 + memcpy (concat_name, p, p_len);
8933 + concat_name[p_len] = '/';
8934 + strcpy (concat_name + p_len + 1, wrapper);
8936 + if (check_executable(concat_name))
8937 + return concat_name;
8938 + XFREE(concat_name);
8941 + /* not found in PATH; assume curdir */
8943 + /* Relative path | not found in path: prepend cwd */
8944 if (getcwd (tmp, LT_PATHMAX) == NULL)
8945 lt_fatal ("getcwd failed");
8946 - size = strlen(tmp) + 1 + strlen(path) + 1; /* +2 for '/' and '\0' */
8947 - p = XMALLOC(char, size);
8948 - sprintf(p, "%s%c%s", tmp, DIR_SEPARATOR, path);
8950 + tmp_len = strlen(tmp);
8951 + concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
8952 + memcpy (concat_name, tmp, tmp_len);
8953 + concat_name[tmp_len] = '/';
8954 + strcpy (concat_name + tmp_len + 1, wrapper);
8956 + if (check_executable(concat_name))
8957 + return concat_name;
8958 + XFREE(concat_name);
8963 @@ -4784,16 +5308,16 @@ lt_fatal (const char *message, ...)
8967 - # we should really use a build-platform specific compiler
8968 - # here, but OTOH, the wrappers (shell script and this C one)
8969 - # are only useful if you want to execute the "real" binary.
8970 - # Since the "real" binary is built for $host, then this
8971 - # wrapper might as well be built for $host, too.
8972 - $run $LTCC -s -o $cwrapper $cwrappersource
8976 - trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
8977 + # we should really use a build-platform specific compiler
8978 + # here, but OTOH, the wrappers (shell script and this C one)
8979 + # are only useful if you want to execute the "real" binary.
8980 + # Since the "real" binary is built for $host, then this
8981 + # wrapper might as well be built for $host, too.
8982 + $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource
8986 + trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
8990 @@ -4812,9 +5336,23 @@ EOF
8991 Xsed='${SED} -e 1s/^X//'
8992 sed_quote_subst='$sed_quote_subst'
8994 +# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
8995 +if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
8998 + # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
8999 + # is contrary to our usage. Disable this feature.
9000 + alias -g '\${1+\"\$@\"}'='\"\$@\"'
9001 + setopt NO_GLOB_SUBST
9003 + case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
9005 +BIN_SH=xpg4; export BIN_SH # for Tru64
9006 +DUALCASE=1; export DUALCASE # for MKS sh
9008 # The HP-UX ksh and POSIX shell print the target directory to stdout
9010 -if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi
9011 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9013 relink_command=\"$relink_command\"
9015 @@ -4943,23 +5481,23 @@ else
9016 # Backslashes separate directories on plain windows
9017 *-*-mingw | *-*-os2*)
9019 - exec \$progdir\\\\\$program \${1+\"\$@\"}
9020 + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
9026 - exec \$progdir/\$program \${1+\"\$@\"}
9027 + exec \"\$progdir/\$program\" \${1+\"\$@\"}
9032 - \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\"
9033 + \$echo \"\$0: cannot exec \$program \$*\"
9037 # The program doesn't exist.
9038 - \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2
9039 + \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
9040 \$echo \"This script is just a wrapper for \$program.\" 1>&2
9041 $echo \"See the $PACKAGE documentation for more information.\" 1>&2
9043 @@ -4991,71 +5529,73 @@ fi\
9045 if test -n "$addlibs"; then
9046 gentop="$output_objdir/${outputname}x"
9047 - $show "${rm}r $gentop"
9048 - $run ${rm}r "$gentop"
9049 - $show "$mkdir $gentop"
9050 - $run $mkdir "$gentop"
9052 - if test "$status" -ne 0 && test ! -d "$gentop"; then
9055 generated="$generated $gentop"
9057 - # Add in members from convenience archives.
9058 - for xlib in $addlibs; do
9059 - # Extract the objects.
9061 - [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
9062 - *) xabs=`pwd`"/$xlib" ;;
9064 - xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
9065 - xdir="$gentop/$xlib"
9067 - $show "${rm}r $xdir"
9068 - $run ${rm}r "$xdir"
9069 - $show "$mkdir $xdir"
9070 - $run $mkdir "$xdir"
9072 - if test "$status" -ne 0 && test ! -d "$xdir"; then
9075 - # We will extract separately just the conflicting names and we will no
9076 - # longer touch any unique names. It is faster to leave these extract
9077 - # automatically by $AR in one run.
9078 - $show "(cd $xdir && $AR x $xabs)"
9079 - $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
9080 - if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
9083 - $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
9084 - $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
9085 - $AR t "$xabs" | sort | uniq -cd | while read -r count name
9088 - while test "$i" -le "$count"
9090 - # Put our $i before any first dot (extension)
9091 - # Never overwrite any file
9093 - while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
9095 - name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
9097 - $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
9098 - $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
9104 - oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP`
9106 + func_extract_archives $gentop $addlibs
9107 + oldobjs="$oldobjs $func_extract_archives_result"
9110 # Do each command in the archive commands.
9111 if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
9112 cmds=$old_archive_from_new_cmds
9114 + # POSIX demands no paths to be encoded in archives. We have
9115 + # to avoid creating archives with duplicate basenames if we
9116 + # might have to extract them afterwards, e.g., when creating a
9117 + # static archive out of a convenience library, or when linking
9118 + # the entirety of a libtool archive into another (currently
9119 + # not supported by libtool).
9120 + if (for obj in $oldobjs
9122 + $echo "X$obj" | $Xsed -e 's%^.*/%%'
9123 + done | sort | sort -uc >/dev/null 2>&1); then
9126 + $echo "copying selected object files to avoid basename conflicts..."
9128 + if test -z "$gentop"; then
9129 + gentop="$output_objdir/${outputname}x"
9130 + generated="$generated $gentop"
9132 + $show "${rm}r $gentop"
9133 + $run ${rm}r "$gentop"
9134 + $show "$mkdir $gentop"
9135 + $run $mkdir "$gentop"
9137 + if test "$exit_status" -ne 0 && test ! -d "$gentop"; then
9142 + save_oldobjs=$oldobjs
9145 + for obj in $save_oldobjs
9147 + objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
9148 + case " $oldobjs " in
9149 + " ") oldobjs=$obj ;;
9150 + *[\ /]"$objbase "*)
9152 + # Make sure we don't pick an alternate name that also
9154 + newobj=lt$counter-$objbase
9155 + counter=`expr $counter + 1`
9156 + case " $oldobjs " in
9157 + *[\ /]"$newobj "*) ;;
9158 + *) if test ! -f "$gentop/$newobj"; then break; fi ;;
9161 + $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
9162 + $run ln "$obj" "$gentop/$newobj" ||
9163 + $run cp "$obj" "$gentop/$newobj"
9164 + oldobjs="$oldobjs $gentop/$newobj"
9166 + *) oldobjs="$oldobjs $obj" ;;
9171 eval cmds=\"$old_archive_cmds\"
9173 if len=`expr "X$cmds" : ".*"` &&
9174 @@ -5069,20 +5609,7 @@ fi\
9177 save_oldobjs=$oldobjs
9178 - # GNU ar 2.10+ was changed to match POSIX; thus no paths are
9179 - # encoded into archives. This makes 'ar r' malfunction in
9180 - # this piecewise linking case whenever conflicting object
9181 - # names appear in distinct ar calls; check, warn and compensate.
9182 - if (for obj in $save_oldobjs
9184 - $echo "X$obj" | $Xsed -e 's%^.*/%%'
9185 - done | sort | sort -uc >/dev/null 2>&1); then
9188 - $echo "$modename: warning: object name conflicts; overriding AR_FLAGS to 'cq'" 1>&2
9189 - $echo "$modename: warning: to ensure that POSIX-compatible ar will work" 1>&2
9193 # Is there a better way of finding the last object in the list?
9194 for obj in $save_oldobjs
9196 @@ -5093,7 +5620,7 @@ fi\
9197 oldobjs="$objlist $obj"
9198 objlist="$objlist $obj"
9199 eval test_cmds=\"$old_archive_cmds\"
9200 - if len=`expr "X$test_cmds" : ".*"` &&
9201 + if len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
9202 test "$len" -le "$max_cmd_len"; then
9205 @@ -5151,7 +5678,7 @@ fi\
9207 # Quote the link command for shipping.
9208 relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
9209 - relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
9210 + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
9211 if test "$hardcode_automatic" = yes ; then
9214 @@ -5290,11 +5817,11 @@ relink_command=\"$relink_command\""
9215 # install_prog (especially on Windows NT).
9216 if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
9217 # Allow the use of GNU shtool's install command.
9218 - $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then
9219 + $echo "X$nonopt" | grep shtool > /dev/null; then
9220 # Aesthetically quote it.
9221 arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
9223 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
9224 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
9228 @@ -5303,14 +5830,14 @@ relink_command=\"$relink_command\""
9236 # The real first argument should be the name of the installation program.
9237 # Aesthetically quote it.
9238 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
9240 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
9241 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
9245 @@ -5328,28 +5855,31 @@ relink_command=\"$relink_command\""
9247 if test -n "$dest"; then
9248 files="$files $dest"
9261 + case " $install_prog " in
9266 + -g | -m | -o) prev=$arg ;;
9276 # If the previous option needed an argument, then skip it.
9277 if test -n "$prev"; then
9285 @@ -5358,7 +5888,7 @@ relink_command=\"$relink_command\""
9286 # Aesthetically quote the argument.
9287 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
9289 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
9290 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
9294 @@ -5493,9 +6023,9 @@ relink_command=\"$relink_command\""
9296 if test -n "$inst_prefix_dir"; then
9297 # Stick the inst_prefix_dir data into the link command.
9298 - relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
9299 + relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP`
9301 - relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
9302 + relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP`
9305 $echo "$modename: warning: relinking \`$file'" 1>&2
9306 @@ -5527,11 +6057,14 @@ relink_command=\"$relink_command\""
9308 if test "$#" -gt 0; then
9309 # Delete the old symlinks, and create new ones.
9310 + # Try `ln -sf' first, because the `ln' binary might depend on
9311 + # the symlink we replace! Solaris /bin/ln does not understand -f,
9312 + # so we also need to try rm && ln -s.
9315 if test "$linkname" != "$realname"; then
9316 - $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
9317 - $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
9318 + $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
9319 + $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
9323 @@ -5544,7 +6077,16 @@ relink_command=\"$relink_command\""
9327 - $run eval "$cmd" || exit $?
9328 + $run eval "$cmd" || {
9331 + # Restore the uninstalled library and exit
9332 + if test "$mode" = relink; then
9333 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
9341 @@ -5638,17 +6180,15 @@ relink_command=\"$relink_command\""
9345 - # To insure that "foo" is sourced, and not "foo.exe",
9346 - # finese the cygwin/MSYS system by explicitly sourcing "foo."
9347 - # which disallows the automatic-append-.exe behavior.
9349 - *cygwin* | *mingw*) wrapperdot=${wrapper}. ;;
9350 - *) wrapperdot=${wrapper} ;;
9352 + # Note that it is not necessary on cygwin/mingw to append a dot to
9353 + # foo even if both foo and FILE.exe exist: automatic-append-.exe
9354 + # behavior happens only for exec(3), not for open(2)! Also, sourcing
9355 + # `FILE.' does not work on cygwin managed mounts.
9357 # If there is no directory component, then add one.
9359 - */* | *\\*) . ${wrapperdot} ;;
9360 - *) . ./${wrapperdot} ;;
9362 + */* | *\\*) . ${wrapper} ;;
9363 + *) . ./${wrapper} ;;
9366 # Check the variables that should have been set.
9367 @@ -5676,38 +6216,25 @@ relink_command=\"$relink_command\""
9371 - # To insure that "foo" is sourced, and not "foo.exe",
9372 - # finese the cygwin/MSYS system by explicitly sourcing "foo."
9373 - # which disallows the automatic-append-.exe behavior.
9375 - *cygwin* | *mingw*) wrapperdot=${wrapper}. ;;
9376 - *) wrapperdot=${wrapper} ;;
9378 + # Note that it is not necessary on cygwin/mingw to append a dot to
9379 + # foo even if both foo and FILE.exe exist: automatic-append-.exe
9380 + # behavior happens only for exec(3), not for open(2)! Also, sourcing
9381 + # `FILE.' does not work on cygwin managed mounts.
9383 # If there is no directory component, then add one.
9385 - */* | *\\*) . ${wrapperdot} ;;
9386 - *) . ./${wrapperdot} ;;
9388 + */* | *\\*) . ${wrapper} ;;
9389 + *) . ./${wrapper} ;;
9393 if test "$fast_install" = no && test -n "$relink_command"; then
9394 if test "$finalize" = yes && test -z "$run"; then
9396 - test -n "$TMPDIR" && tmpdir="$TMPDIR"
9397 - tmpdir="$tmpdir/libtool-$$"
9398 - save_umask=`umask`
9400 - if $mkdir "$tmpdir"; then
9404 - $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
9407 + tmpdir=`func_mktempdir`
9408 file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
9409 outputname="$tmpdir/$file"
9410 # Replace the output file specification.
9411 - relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
9412 + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP`
9414 $show "$relink_command"
9415 if $run eval "$relink_command"; then :
9416 @@ -5727,7 +6254,7 @@ relink_command=\"$relink_command\""
9419 # remove .exe since cygwin /usr/bin/install will append another
9422 case $install_prog,$host in
9423 */usr/bin/install*,*cygwin*)
9424 case $file:$destfile in
9425 @@ -5827,7 +6354,7 @@ relink_command=\"$relink_command\""
9426 # Exit here if they wanted silent mode.
9427 test "$show" = : && exit $EXIT_SUCCESS
9429 - $echo "----------------------------------------------------------------------"
9430 + $echo "X----------------------------------------------------------------------" | $Xsed
9431 $echo "Libraries have been installed in:"
9432 for libdir in $libdirs; do
9434 @@ -5860,7 +6387,7 @@ relink_command=\"$relink_command\""
9436 $echo "See any operating system documentation about shared libraries for"
9437 $echo "more information, such as the ld(1) and ld.so(8) manual pages."
9438 - $echo "----------------------------------------------------------------------"
9439 + $echo "X----------------------------------------------------------------------" | $Xsed
9443 @@ -5918,8 +6445,10 @@ relink_command=\"$relink_command\""
9444 if test -f "$dir/$objdir/$dlname"; then
9447 - $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
9448 - exit $EXIT_FAILURE
9449 + if test ! -f "$dir/$dlname"; then
9450 + $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
9451 + exit $EXIT_FAILURE
9456 @@ -5983,12 +6512,12 @@ relink_command=\"$relink_command\""
9459 # Restore saved environment variables
9460 - if test "${save_LC_ALL+set}" = set; then
9461 - LC_ALL="$save_LC_ALL"; export LC_ALL
9463 - if test "${save_LANG+set}" = set; then
9464 - LANG="$save_LANG"; export LANG
9466 + for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
9468 + eval "if test \"\${save_$lt_var+set}\" = set; then
9469 + $lt_var=\$save_$lt_var; export $lt_var
9473 # Now prepare to actually exec the command.
9474 exec_cmd="\$cmd$args"
9475 @@ -6077,9 +6606,17 @@ relink_command=\"$relink_command\""
9476 rmfiles="$rmfiles $objdir/$n"
9478 test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
9479 - test "$mode" = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
9481 - if test "$mode" = uninstall; then
9484 + case " $library_names " in
9485 + # " " in the beginning catches empty $dlname
9487 + *) rmfiles="$rmfiles $objdir/$dlname" ;;
9489 + test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
9492 if test -n "$library_names"; then
9493 # Do each command in the postuninstall commands.
9494 cmds=$postuninstall_cmds
9495 @@ -6112,7 +6649,8 @@ relink_command=\"$relink_command\""
9498 # FIXME: should reinstall the best remaining shared library.
9505 @@ -6336,9 +6874,9 @@ The following components of LINK-COMMAND are treated specially:
9506 -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
9507 -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
9508 -export-symbols SYMFILE
9509 - try to export only the symbols listed in SYMFILE
9510 + try to export only the symbols listed in SYMFILE
9511 -export-symbols-regex REGEX
9512 - try to export only the symbols matching REGEX
9513 + try to export only the symbols matching REGEX
9514 -LLIBDIR search LIBDIR for required installed libraries
9515 -lNAME OUTPUT-FILE requires the installed library libNAME
9516 -module build a library that can dlopened
9517 @@ -6352,9 +6890,11 @@ The following components of LINK-COMMAND are treated specially:
9518 -release RELEASE specify package release information
9519 -rpath LIBDIR the created library will eventually be installed in LIBDIR
9520 -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
9521 - -static do not do any dynamic linking of libtool libraries
9522 + -static do not do any dynamic linking of uninstalled libtool libraries
9523 + -static-libtool-libs
9524 + do not do any dynamic linking of libtool libraries
9525 -version-info CURRENT[:REVISION[:AGE]]
9526 - specify library version info [each variable defaults to 0]
9527 + specify library version info [each variable defaults to 0]
9529 All other options (arguments beginning with \`-') are ignored.
9531 @@ -6397,7 +6937,7 @@ esac
9533 $echo "Try \`$modename --help' for more information about other modes."
9538 # The TAGs below are defined such that we never get into a situation
9539 # in which we disable both kinds of libraries. Given conflicting
9540 @@ -6411,12 +6951,11 @@ exit $EXIT_SUCCESS
9541 # configuration. But we'll never go from static-only to shared-only.
9543 # ### BEGIN LIBTOOL TAG CONFIG: disable-shared
9544 -build_libtool_libs=no
9546 +disable_libs=shared
9547 # ### END LIBTOOL TAG CONFIG: disable-shared
9549 # ### BEGIN LIBTOOL TAG CONFIG: disable-static
9550 -build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac`
9551 +disable_libs=static
9552 # ### END LIBTOOL TAG CONFIG: disable-static
9559 # From configure.in Revision: 1.56 .
9560 # Guess values for system-dependent variables and create Makefiles.
9561 -# Generated by GNU Autoconf 2.59.
9562 +# Generated by GNU Autoconf 2.63.
9564 -# Copyright (C) 2003 Free Software Foundation, Inc.
9565 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9566 +# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9567 # This configure script is free software; the Free Software Foundation
9568 # gives unlimited permission to copy, distribute and modify it.
9569 ## --------------------- ##
9570 ## M4sh Initialization. ##
9571 ## --------------------- ##
9573 -# Be Bourne compatible
9574 +# Be more Bourne compatible
9575 +DUALCASE=1; export DUALCASE # for MKS sh
9576 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9579 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9580 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9581 # is contrary to our usage. Disable this feature.
9582 alias -g '${1+"$@"}'='"$@"'
9583 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9585 + setopt NO_GLOB_SUBST
9587 + case `(set -o) 2>/dev/null` in
9588 + *posix*) set -o posix ;;
9597 +# Avoid depending upon Character Ranges.
9598 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9599 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9600 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9601 +as_cr_digits='0123456789'
9602 +as_cr_alnum=$as_cr_Letters$as_cr_digits
9607 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
9608 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9609 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9610 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9611 +if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9612 + as_echo='printf %s\n'
9613 + as_echo_n='printf %s'
9615 + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9616 + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9617 + as_echo_n='/usr/ucb/echo -n'
9619 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9620 + as_echo_n_body='eval
9624 + expr "X$arg" : "X\\(.*\\)$as_nl";
9625 + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9627 + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9629 + export as_echo_n_body
9630 + as_echo_n='sh -c $as_echo_n_body as_echo'
9632 + export as_echo_body
9633 + as_echo='sh -c $as_echo_body as_echo'
9636 +# The user is always right.
9637 +if test "${PATH_SEPARATOR+set}" != set; then
9639 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9640 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9641 + PATH_SEPARATOR=';'
9644 -DUALCASE=1; export DUALCASE # for MKS sh
9646 # Support unset when possible.
9647 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9648 @@ -30,33 +87,60 @@ else
9653 +# We need space, tab and new line, in precisely that order. Quoting is
9654 +# there to prevent editors from complaining about space-tab.
9655 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
9656 +# splitting by setting IFS to empty value.)
9659 +# Find who we are. Look in the path if we contain no directory separator.
9661 + *[\\/]* ) as_myself=$0 ;;
9662 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9663 +for as_dir in $PATH
9666 + test -z "$as_dir" && as_dir=.
9667 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9673 +# We did not find ourselves, most probably we were run as `sh COMMAND'
9674 +# in which case we are not to be found in the path.
9675 +if test "x$as_myself" = x; then
9678 +if test ! -f "$as_myself"; then
9679 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9680 + { (exit 1); exit 1; }
9683 # Work around bugs in pre-3.0 UWIN ksh.
9684 -$as_unset ENV MAIL MAILPATH
9685 +for as_var in ENV MAIL MAILPATH
9686 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9694 - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9695 - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9696 - LC_TELEPHONE LC_TIME
9698 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9699 - eval $as_var=C; export $as_var
9709 # Required to use basename.
9710 -if expr a : '\(a\)' >/dev/null 2>&1; then
9711 +if expr a : '\(a\)' >/dev/null 2>&1 &&
9712 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
9718 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
9719 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9720 as_basename=basename
9723 @@ -64,157 +148,391 @@ fi
9726 # Name of the executable.
9727 -as_me=`$as_basename "$0" ||
9728 +as_me=`$as_basename -- "$0" ||
9729 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9730 X"$0" : 'X\(//\)$' \| \
9731 - X"$0" : 'X\(/\)$' \| \
9732 - . : '\(.\)' 2>/dev/null ||
9734 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9735 - /^X\/\(\/\/\)$/{ s//\1/; q; }
9736 - /^X\/\(\/\).*/{ s//\1/; q; }
9738 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9740 + sed '/^.*\/\([^/][^/]*\)\/*$/{
9757 -# PATH needs CR, and LINENO needs CR and PATH.
9758 -# Avoid depending upon Character Ranges.
9759 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9760 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9761 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9762 -as_cr_digits='0123456789'
9763 -as_cr_alnum=$as_cr_Letters$as_cr_digits
9765 -# The user is always right.
9766 -if test "${PATH_SEPARATOR+set}" != set; then
9767 - echo "#! /bin/sh" >conf$$.sh
9768 - echo "exit 0" >>conf$$.sh
9769 - chmod +x conf$$.sh
9770 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9771 - PATH_SEPARATOR=';'
9776 +if test "x$CONFIG_SHELL" = x; then
9777 + if (eval ":") 2>/dev/null; then
9778 + as_have_required=yes
9780 + as_have_required=no
9783 + if test $as_have_required = yes && (eval ":
9784 +(as_func_return () {
9787 +as_func_success () {
9790 +as_func_failure () {
9793 +as_func_ret_success () {
9796 +as_func_ret_failure () {
9800 - as_lineno_1=$LINENO
9801 - as_lineno_2=$LINENO
9802 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9803 - test "x$as_lineno_1" != "x$as_lineno_2" &&
9804 - test "x$as_lineno_3" = "x$as_lineno_2" || {
9805 - # Find who we are. Look in the path if we contain no path at all
9806 - # relative or not.
9808 - *[\\/]* ) as_myself=$0 ;;
9809 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9810 -for as_dir in $PATH
9813 - test -z "$as_dir" && as_dir=.
9814 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9817 +if as_func_success; then
9821 + echo as_func_success failed.
9826 - # We did not find ourselves, most probably we were run as `sh COMMAND'
9827 - # in which case we are not to be found in the path.
9828 - if test "x$as_myself" = x; then
9831 - if test ! -f "$as_myself"; then
9832 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
9833 - { (exit 1); exit 1; }; }
9835 - case $CONFIG_SHELL in
9837 +if as_func_failure; then
9839 + echo as_func_failure succeeded.
9842 +if as_func_ret_success; then
9846 + echo as_func_ret_success failed.
9849 +if as_func_ret_failure; then
9851 + echo as_func_ret_failure succeeded.
9854 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
9858 + echo positional parameters were not saved.
9861 +test \$exitcode = 0) || { (exit 1); exit 1; }
9864 + as_lineno_1=\$LINENO
9865 + as_lineno_2=\$LINENO
9866 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
9867 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
9868 +") 2> /dev/null; then
9871 + as_candidate_shells=
9872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9873 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
9876 test -z "$as_dir" && as_dir=.
9877 - for as_base in sh bash ksh sh5; do
9881 - if ("$as_dir/$as_base" -c '
9882 + for as_base in sh bash ksh sh5; do
9883 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
9890 + for as_shell in $as_candidate_shells $SHELL; do
9891 + # Try only shells that exist, to save several forks.
9892 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
9893 + { ("$as_shell") 2> /dev/null <<\_ASEOF
9894 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9897 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9898 + # is contrary to our usage. Disable this feature.
9899 + alias -g '${1+"$@"}'='"$@"'
9900 + setopt NO_GLOB_SUBST
9902 + case `(set -o) 2>/dev/null` in
9903 + *posix*) set -o posix ;;
9912 + CONFIG_SHELL=$as_shell
9913 + as_have_required=yes
9914 + if { "$as_shell" 2> /dev/null <<\_ASEOF
9915 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9918 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9919 + # is contrary to our usage. Disable this feature.
9920 + alias -g '${1+"$@"}'='"$@"'
9921 + setopt NO_GLOB_SUBST
9923 + case `(set -o) 2>/dev/null` in
9924 + *posix*) set -o posix ;;
9931 +(as_func_return () {
9934 +as_func_success () {
9937 +as_func_failure () {
9940 +as_func_ret_success () {
9943 +as_func_ret_failure () {
9948 +if as_func_success; then
9952 + echo as_func_success failed.
9955 +if as_func_failure; then
9957 + echo as_func_failure succeeded.
9960 +if as_func_ret_success; then
9964 + echo as_func_ret_success failed.
9967 +if as_func_ret_failure; then
9969 + echo as_func_ret_failure succeeded.
9972 +if ( set x; as_func_ret_success y && test x = "$1" ); then
9976 + echo positional parameters were not saved.
9979 +test $exitcode = 0) || { (exit 1); exit 1; }
9984 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9985 test "x$as_lineno_1" != "x$as_lineno_2" &&
9986 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
9987 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
9988 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
9989 - CONFIG_SHELL=$as_dir/$as_base
9990 - export CONFIG_SHELL
9991 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9998 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
10009 + if test "x$CONFIG_SHELL" != x; then
10010 + for as_var in BASH_ENV ENV
10011 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10013 + export CONFIG_SHELL
10014 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
10018 + if test $as_have_required = no; then
10019 + echo This script requires a shell more modern than all the
10020 + echo shells that I found on your system. Please install a
10021 + echo modern shell, or manually run the script under such a
10022 + echo shell if you do have one.
10023 + { (exit 1); exit 1; }
10033 +(eval "as_func_return () {
10036 +as_func_success () {
10039 +as_func_failure () {
10042 +as_func_ret_success () {
10045 +as_func_ret_failure () {
10050 +if as_func_success; then
10054 + echo as_func_success failed.
10057 +if as_func_failure; then
10059 + echo as_func_failure succeeded.
10062 +if as_func_ret_success; then
10066 + echo as_func_ret_success failed.
10069 +if as_func_ret_failure; then
10071 + echo as_func_ret_failure succeeded.
10074 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
10078 + echo positional parameters were not saved.
10081 +test \$exitcode = 0") || {
10082 + echo No shell found that supports shell functions.
10083 + echo Please tell bug-autoconf@gnu.org about your system,
10084 + echo including any error possibly output before this message.
10085 + echo This can help us improve future autoconf versions.
10086 + echo Configuration will now proceed without shell functions.
10091 + as_lineno_1=$LINENO
10092 + as_lineno_2=$LINENO
10093 + test "x$as_lineno_1" != "x$as_lineno_2" &&
10094 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
10096 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10097 # uniformly replaced by the line number. The first 'sed' inserts a
10098 - # line-number line before each line; the second 'sed' does the real
10099 - # work. The second script uses 'N' to pair each line-number line
10100 - # with the numbered line, and appends trailing '-' during
10101 - # substitution so that $LINENO is not a special case at line end.
10102 + # line-number line after each line using $LINENO; the second 'sed'
10103 + # does the real work. The second script uses 'N' to pair each
10104 + # line-number line with the line containing $LINENO, and appends
10105 + # trailing '-' during substitution so that $LINENO is not a special
10106 + # case at line end.
10107 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10108 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
10109 - sed '=' <$as_myself |
10110 + # scripts with optimization help from Paolo Bonzini. Blame Lee
10111 + # E. McMahon (1931-1989) for sed's syntax. :-)
10117 + s/[$]LINENO.*/&-/
10124 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
10126 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10129 - s,^['$as_cr_digits']*\n,,
10131 ' >$as_me.lineno &&
10132 - chmod +x $as_me.lineno ||
10133 - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10134 + chmod +x "$as_me.lineno" ||
10135 + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10136 { (exit 1); exit 1; }; }
10138 # Don't try to exec as it changes $[0], causing all sort of problems
10139 # (the dirname of $[0] is not the place where we might find the
10140 - # original and so on. Autoconf is especially sensible to this).
10141 - . ./$as_me.lineno
10142 + # original and so on. Autoconf is especially sensitive to this).
10143 + . "./$as_me.lineno"
10144 # Exit status is that of the last command.
10149 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10150 - *c*,-n*) ECHO_N= ECHO_C='
10152 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
10153 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
10155 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10156 + as_dirname=dirname
10161 -if expr a : '\(a\)' >/dev/null 2>&1; then
10162 +ECHO_C= ECHO_N= ECHO_T=
10163 +case `echo -n x` in
10165 + case `echo 'x\c'` in
10166 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
10172 +if expr a : '\(a\)' >/dev/null 2>&1 &&
10173 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
10179 rm -f conf$$ conf$$.exe conf$$.file
10181 -if ln -s conf$$.file conf$$ 2>/dev/null; then
10182 - # We could just check for DJGPP; but this test a) works b) is more generic
10183 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10184 - if test -f conf$$.exe; then
10185 - # Don't use ln at all; we don't have any links
10188 +if test -d conf$$.dir; then
10189 + rm -f conf$$.dir/conf$$.file
10192 + mkdir conf$$.dir 2>/dev/null
10194 +if (echo >conf$$.file) 2>/dev/null; then
10195 + if ln -s conf$$.file conf$$ 2>/dev/null; then
10197 + # ... but there are two gotchas:
10198 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10199 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10200 + # In both cases, we have to default to `cp -p'.
10201 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10203 + elif ln conf$$.file conf$$ 2>/dev/null; then
10208 -elif ln conf$$.file conf$$ 2>/dev/null; then
10213 -rm -f conf$$ conf$$.exe conf$$.file
10214 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10215 +rmdir conf$$.dir 2>/dev/null
10217 if mkdir -p . 2>/dev/null; then
10219 @@ -223,7 +541,28 @@ else
10223 -as_executable_p="test -f"
10224 +if test -x / >/dev/null 2>&1; then
10225 + as_test_x='test -x'
10227 + if ls -dL / >/dev/null 2>&1; then
10234 + if test -d "$1"; then
10240 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10241 + ???[sx]*):;;*)false;;esac;fi
10245 +as_executable_p=$as_test_x
10247 # Sed expression to map a string onto a valid CPP name.
10248 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10249 @@ -232,15 +571,6 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10250 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10254 -# We need space, tab and new line, in precisely that order.
10264 # Check that we are running under the correct shell.
10265 @@ -279,15 +609,15 @@ fi
10267 # The HP-UX ksh and POSIX shell print the target directory to stdout
10268 # if CDPATH is set.
10269 -if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
10270 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10272 if test -z "$ECHO"; then
10273 if test "X${echo_test_string+set}" != Xset; then
10274 # find a string as large as possible, as long as the shell can cope with it
10275 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
10276 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
10277 - if (echo_test_string="`eval $cmd`") 2>/dev/null &&
10278 - echo_test_string="`eval $cmd`" &&
10279 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
10280 + echo_test_string=`eval $cmd` &&
10281 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
10284 @@ -396,29 +726,26 @@ tagnames=${tagnames+${tagnames},}CXX
10286 tagnames=${tagnames+${tagnames},}F77
10288 +exec 7<&0 </dev/null 6>&1
10290 # Name of the host.
10291 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
10292 # so uname gets run too.
10293 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
10300 ac_default_prefix=/usr/local
10302 ac_config_libobj_dir=.
10308 SHELL=${CONFIG_SHELL-/bin/sh}
10310 -# Maximum number of lines to put in a shell here document.
10311 -# This variable seems obsolete. It should probably be removed, and
10312 -# only ac_max_sed_lines should be used.
10313 -: ${ac_max_here_lines=38}
10315 # Identity of this package.
10318 @@ -431,46 +758,192 @@ ac_default_prefix=
10319 # Factoring default headers for most tests.
10320 ac_includes_default="\
10322 -#if HAVE_SYS_TYPES_H
10323 +#ifdef HAVE_SYS_TYPES_H
10324 # include <sys/types.h>
10326 -#if HAVE_SYS_STAT_H
10327 +#ifdef HAVE_SYS_STAT_H
10328 # include <sys/stat.h>
10331 +#ifdef STDC_HEADERS
10332 # include <stdlib.h>
10333 # include <stddef.h>
10335 -# if HAVE_STDLIB_H
10336 +# ifdef HAVE_STDLIB_H
10337 # include <stdlib.h>
10341 -# if !STDC_HEADERS && HAVE_MEMORY_H
10342 +#ifdef HAVE_STRING_H
10343 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
10344 # include <memory.h>
10346 # include <string.h>
10348 -#if HAVE_STRINGS_H
10349 +#ifdef HAVE_STRINGS_H
10350 # include <strings.h>
10352 -#if HAVE_INTTYPES_H
10353 +#ifdef HAVE_INTTYPES_H
10354 # include <inttypes.h>
10356 -# if HAVE_STDINT_H
10357 -# include <stdint.h>
10361 +#ifdef HAVE_STDINT_H
10362 +# include <stdint.h>
10364 +#ifdef HAVE_UNISTD_H
10365 # include <unistd.h>
10368 -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'
10369 +ac_subst_vars='LTLIBOBJS
10380 +am__fastdepCXX_FALSE
10381 +am__fastdepCXX_TRUE
10396 +am__fastdepCC_FALSE
10397 +am__fastdepCC_TRUE
10413 +MAINTAINER_MODE_FALSE
10414 +MAINTAINER_MODE_TRUE
10422 +INSTALL_STRIP_PROGRAM
10475 +program_transform_name
10487 +enable_option_checking
10488 +enable_maintainer_mode
10489 +enable_dependency_tracking
10492 +enable_fast_install
10494 +enable_libtool_lock
10500 + ac_precious_vars='build_alias
10517 # Initialize some variables set by options.
10519 ac_init_version=false
10520 +ac_unrecognized_opts=
10521 +ac_unrecognized_sep=
10522 # The variables have the same names as the options, with
10523 # dashes changed to underlines.
10524 cache_file=/dev/null
10525 @@ -493,34 +966,48 @@ x_libraries=NONE
10526 # and all the variables that are supposed to be based on exec_prefix
10527 # by default will actually change.
10528 # Use braces instead of parens because sh, perl, etc. also accept them.
10529 +# (The list follows the same order as the GNU Coding Standards.)
10530 bindir='${exec_prefix}/bin'
10531 sbindir='${exec_prefix}/sbin'
10532 libexecdir='${exec_prefix}/libexec'
10533 -datadir='${prefix}/share'
10534 +datarootdir='${prefix}/share'
10535 +datadir='${datarootdir}'
10536 sysconfdir='${prefix}/etc'
10537 sharedstatedir='${prefix}/com'
10538 localstatedir='${prefix}/var'
10539 -libdir='${exec_prefix}/lib'
10540 includedir='${prefix}/include'
10541 oldincludedir='/usr/include'
10542 -infodir='${prefix}/info'
10543 -mandir='${prefix}/man'
10544 +docdir='${datarootdir}/doc/${PACKAGE}'
10545 +infodir='${datarootdir}/info'
10546 +htmldir='${docdir}'
10547 +dvidir='${docdir}'
10548 +pdfdir='${docdir}'
10550 +libdir='${exec_prefix}/lib'
10551 +localedir='${datarootdir}/locale'
10552 +mandir='${datarootdir}/man'
10558 # If the previous option needs an argument, assign it.
10559 if test -n "$ac_prev"; then
10560 - eval "$ac_prev=\$ac_option"
10561 + eval $ac_prev=\$ac_option
10566 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
10567 + case $ac_option in
10568 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
10569 + *) ac_optarg=yes ;;
10572 # Accept the important Cygnus configure options, so we can diagnose typos.
10574 - case $ac_option in
10575 + case $ac_dashdash$ac_option in
10577 + ac_dashdash=yes ;;
10579 -bindir | --bindir | --bindi | --bind | --bin | --bi)
10581 @@ -542,33 +1029,61 @@ do
10582 --config-cache | -C)
10583 cache_file=config.cache ;;
10585 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
10586 + -datadir | --datadir | --datadi | --datad)
10588 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
10590 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
10591 datadir=$ac_optarg ;;
10593 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
10594 + | --dataroo | --dataro | --datar)
10595 + ac_prev=datarootdir ;;
10596 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
10597 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
10598 + datarootdir=$ac_optarg ;;
10600 -disable-* | --disable-*)
10601 - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
10602 + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
10603 # Reject names that are not valid shell variable names.
10604 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
10605 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
10606 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10607 + { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
10608 { (exit 1); exit 1; }; }
10609 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
10610 - eval "enable_$ac_feature=no" ;;
10611 + ac_useropt_orig=$ac_useropt
10612 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10613 + case $ac_user_opts in
10615 +"enable_$ac_useropt"
10617 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
10618 + ac_unrecognized_sep=', ';;
10620 + eval enable_$ac_useropt=no ;;
10622 + -docdir | --docdir | --docdi | --doc | --do)
10623 + ac_prev=docdir ;;
10624 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
10625 + docdir=$ac_optarg ;;
10627 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
10628 + ac_prev=dvidir ;;
10629 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
10630 + dvidir=$ac_optarg ;;
10632 -enable-* | --enable-*)
10633 - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
10634 + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
10635 # Reject names that are not valid shell variable names.
10636 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
10637 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
10638 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10639 + { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
10640 { (exit 1); exit 1; }; }
10641 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
10642 - case $ac_option in
10643 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
10644 - *) ac_optarg=yes ;;
10645 + ac_useropt_orig=$ac_useropt
10646 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10647 + case $ac_user_opts in
10649 +"enable_$ac_useropt"
10651 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
10652 + ac_unrecognized_sep=', ';;
10654 - eval "enable_$ac_feature='$ac_optarg'" ;;
10655 + eval enable_$ac_useropt=\$ac_optarg ;;
10657 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
10658 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
10659 @@ -595,6 +1110,12 @@ do
10660 -host=* | --host=* | --hos=* | --ho=*)
10661 host_alias=$ac_optarg ;;
10663 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
10664 + ac_prev=htmldir ;;
10665 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
10667 + htmldir=$ac_optarg ;;
10669 -includedir | --includedir | --includedi | --included | --include \
10670 | --includ | --inclu | --incl | --inc)
10671 ac_prev=includedir ;;
10672 @@ -619,13 +1140,16 @@ do
10673 | --libexe=* | --libex=* | --libe=*)
10674 libexecdir=$ac_optarg ;;
10676 + -localedir | --localedir | --localedi | --localed | --locale)
10677 + ac_prev=localedir ;;
10678 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
10679 + localedir=$ac_optarg ;;
10681 -localstatedir | --localstatedir | --localstatedi | --localstated \
10682 - | --localstate | --localstat | --localsta | --localst \
10683 - | --locals | --local | --loca | --loc | --lo)
10684 + | --localstate | --localstat | --localsta | --localst | --locals)
10685 ac_prev=localstatedir ;;
10686 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
10687 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
10688 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
10689 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
10690 localstatedir=$ac_optarg ;;
10692 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
10693 @@ -690,6 +1214,16 @@ do
10694 | --progr-tra=* | --program-tr=* | --program-t=*)
10695 program_transform_name=$ac_optarg ;;
10697 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
10698 + ac_prev=pdfdir ;;
10699 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
10700 + pdfdir=$ac_optarg ;;
10702 + -psdir | --psdir | --psdi | --psd | --ps)
10704 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
10705 + psdir=$ac_optarg ;;
10707 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10708 | -silent | --silent | --silen | --sile | --sil)
10710 @@ -740,26 +1274,38 @@ do
10711 ac_init_version=: ;;
10713 -with-* | --with-*)
10714 - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10715 + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10716 # Reject names that are not valid shell variable names.
10717 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
10718 - { echo "$as_me: error: invalid package name: $ac_package" >&2
10719 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10720 + { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
10721 { (exit 1); exit 1; }; }
10722 - ac_package=`echo $ac_package| sed 's/-/_/g'`
10723 - case $ac_option in
10724 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
10725 - *) ac_optarg=yes ;;
10726 + ac_useropt_orig=$ac_useropt
10727 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10728 + case $ac_user_opts in
10730 +"with_$ac_useropt"
10732 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
10733 + ac_unrecognized_sep=', ';;
10735 - eval "with_$ac_package='$ac_optarg'" ;;
10736 + eval with_$ac_useropt=\$ac_optarg ;;
10738 -without-* | --without-*)
10739 - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10740 + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10741 # Reject names that are not valid shell variable names.
10742 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
10743 - { echo "$as_me: error: invalid package name: $ac_package" >&2
10744 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10745 + { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
10746 { (exit 1); exit 1; }; }
10747 - ac_package=`echo $ac_package | sed 's/-/_/g'`
10748 - eval "with_$ac_package=no" ;;
10749 + ac_useropt_orig=$ac_useropt
10750 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10751 + case $ac_user_opts in
10753 +"with_$ac_useropt"
10755 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
10756 + ac_unrecognized_sep=', ';;
10758 + eval with_$ac_useropt=no ;;
10761 # Obsolete; use --with-x.
10762 @@ -779,7 +1325,7 @@ do
10763 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
10764 x_libraries=$ac_optarg ;;
10766 - -*) { echo "$as_me: error: unrecognized option: $ac_option
10767 + -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
10768 Try \`$0 --help' for more information." >&2
10769 { (exit 1); exit 1; }; }
10771 @@ -788,17 +1334,16 @@ Try \`$0 --help' for more information." >&2
10772 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
10773 # Reject names that are not valid shell variable names.
10774 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
10775 - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
10776 + { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
10777 { (exit 1); exit 1; }; }
10778 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
10779 - eval "$ac_envvar='$ac_optarg'"
10780 + eval $ac_envvar=\$ac_optarg
10781 export $ac_envvar ;;
10784 # FIXME: should be removed in autoconf 3.0.
10785 - echo "$as_me: WARNING: you should use --build, --host, --target" >&2
10786 + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
10787 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10788 - echo "$as_me: WARNING: invalid host type: $ac_option" >&2
10789 + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
10790 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
10793 @@ -807,31 +1352,39 @@ done
10795 if test -n "$ac_prev"; then
10796 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
10797 - { echo "$as_me: error: missing argument to $ac_option" >&2
10798 + { $as_echo "$as_me: error: missing argument to $ac_option" >&2
10799 { (exit 1); exit 1; }; }
10802 -# Be sure to have absolute paths.
10803 -for ac_var in exec_prefix prefix
10805 - eval ac_val=$`echo $ac_var`
10807 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
10808 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
10809 - { (exit 1); exit 1; }; };;
10810 +if test -n "$ac_unrecognized_opts"; then
10811 + case $enable_option_checking in
10813 + fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
10814 + { (exit 1); exit 1; }; } ;;
10815 + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
10820 -# Be sure to have absolute paths.
10821 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
10822 - localstatedir libdir includedir oldincludedir infodir mandir
10823 +# Check all directory arguments for consistency.
10824 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
10825 + datadir sysconfdir sharedstatedir localstatedir includedir \
10826 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
10827 + libdir localedir mandir
10829 - eval ac_val=$`echo $ac_var`
10830 + eval ac_val=\$$ac_var
10831 + # Remove trailing slashes.
10833 - [\\/$]* | ?:[\\/]* ) ;;
10834 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
10835 - { (exit 1); exit 1; }; };;
10837 + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
10838 + eval $ac_var=\$ac_val;;
10840 + # Be sure to have absolute directory names.
10842 + [\\/$]* | ?:[\\/]* ) continue;;
10843 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
10845 + { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
10846 + { (exit 1); exit 1; }; }
10849 # There might be people who depend on the old broken behavior: `$host'
10850 @@ -845,7 +1398,7 @@ target=$target_alias
10851 if test "x$host_alias" != x; then
10852 if test "x$build_alias" = x; then
10853 cross_compiling=maybe
10854 - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
10855 + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
10856 If a cross compiler is detected then cross compile mode will be used." >&2
10857 elif test "x$build_alias" != "x$host_alias"; then
10858 cross_compiling=yes
10859 @@ -858,94 +1411,76 @@ test -n "$host_alias" && ac_tool_prefix=$host_alias-
10860 test "$silent" = yes && exec 6>/dev/null
10863 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
10864 +ac_ls_di=`ls -di .` &&
10865 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
10866 + { $as_echo "$as_me: error: working directory cannot be determined" >&2
10867 + { (exit 1); exit 1; }; }
10868 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
10869 + { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
10870 + { (exit 1); exit 1; }; }
10873 # Find the source files, if location was not specified.
10874 if test -z "$srcdir"; then
10875 ac_srcdir_defaulted=yes
10876 - # Try the directory containing this script, then its parent.
10877 - ac_confdir=`(dirname "$0") 2>/dev/null ||
10878 -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10879 - X"$0" : 'X\(//\)[^/]' \| \
10880 - X"$0" : 'X\(//\)$' \| \
10881 - X"$0" : 'X\(/\)' \| \
10882 - . : '\(.\)' 2>/dev/null ||
10884 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10885 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10886 - /^X\(\/\/\)$/{ s//\1/; q; }
10887 - /^X\(\/\).*/{ s//\1/; q; }
10889 + # Try the directory containing this script, then the parent directory.
10890 + ac_confdir=`$as_dirname -- "$as_myself" ||
10891 +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10892 + X"$as_myself" : 'X\(//\)[^/]' \| \
10893 + X"$as_myself" : 'X\(//\)$' \| \
10894 + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
10895 +$as_echo X"$as_myself" |
10896 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10900 + /^X\(\/\/\)[^/].*/{
10914 - if test ! -r $srcdir/$ac_unique_file; then
10915 + if test ! -r "$srcdir/$ac_unique_file"; then
10919 ac_srcdir_defaulted=no
10921 -if test ! -r $srcdir/$ac_unique_file; then
10922 - if test "$ac_srcdir_defaulted" = yes; then
10923 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
10924 - { (exit 1); exit 1; }; }
10926 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
10927 +if test ! -r "$srcdir/$ac_unique_file"; then
10928 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
10929 + { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
10930 { (exit 1); exit 1; }; }
10933 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
10934 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
10935 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
10937 + cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
10938 { (exit 1); exit 1; }; }
10939 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
10940 -ac_env_build_alias_set=${build_alias+set}
10941 -ac_env_build_alias_value=$build_alias
10942 -ac_cv_env_build_alias_set=${build_alias+set}
10943 -ac_cv_env_build_alias_value=$build_alias
10944 -ac_env_host_alias_set=${host_alias+set}
10945 -ac_env_host_alias_value=$host_alias
10946 -ac_cv_env_host_alias_set=${host_alias+set}
10947 -ac_cv_env_host_alias_value=$host_alias
10948 -ac_env_target_alias_set=${target_alias+set}
10949 -ac_env_target_alias_value=$target_alias
10950 -ac_cv_env_target_alias_set=${target_alias+set}
10951 -ac_cv_env_target_alias_value=$target_alias
10952 -ac_env_CC_set=${CC+set}
10953 -ac_env_CC_value=$CC
10954 -ac_cv_env_CC_set=${CC+set}
10955 -ac_cv_env_CC_value=$CC
10956 -ac_env_CFLAGS_set=${CFLAGS+set}
10957 -ac_env_CFLAGS_value=$CFLAGS
10958 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
10959 -ac_cv_env_CFLAGS_value=$CFLAGS
10960 -ac_env_LDFLAGS_set=${LDFLAGS+set}
10961 -ac_env_LDFLAGS_value=$LDFLAGS
10962 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
10963 -ac_cv_env_LDFLAGS_value=$LDFLAGS
10964 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
10965 -ac_env_CPPFLAGS_value=$CPPFLAGS
10966 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
10967 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
10968 -ac_env_CPP_set=${CPP+set}
10969 -ac_env_CPP_value=$CPP
10970 -ac_cv_env_CPP_set=${CPP+set}
10971 -ac_cv_env_CPP_value=$CPP
10972 -ac_env_CXX_set=${CXX+set}
10973 -ac_env_CXX_value=$CXX
10974 -ac_cv_env_CXX_set=${CXX+set}
10975 -ac_cv_env_CXX_value=$CXX
10976 -ac_env_CXXFLAGS_set=${CXXFLAGS+set}
10977 -ac_env_CXXFLAGS_value=$CXXFLAGS
10978 -ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
10979 -ac_cv_env_CXXFLAGS_value=$CXXFLAGS
10980 -ac_env_CXXCPP_set=${CXXCPP+set}
10981 -ac_env_CXXCPP_value=$CXXCPP
10982 -ac_cv_env_CXXCPP_set=${CXXCPP+set}
10983 -ac_cv_env_CXXCPP_value=$CXXCPP
10984 -ac_env_F77_set=${F77+set}
10985 -ac_env_F77_value=$F77
10986 -ac_cv_env_F77_set=${F77+set}
10987 -ac_cv_env_F77_value=$F77
10988 -ac_env_FFLAGS_set=${FFLAGS+set}
10989 -ac_env_FFLAGS_value=$FFLAGS
10990 -ac_cv_env_FFLAGS_set=${FFLAGS+set}
10991 -ac_cv_env_FFLAGS_value=$FFLAGS
10993 +# When building in place, set srcdir=.
10994 +if test "$ac_abs_confdir" = "$ac_pwd"; then
10997 +# Remove unnecessary trailing slashes from srcdir.
10998 +# Double slashes in file names in object file debugging info
10999 +# mess up M-x gdb in Emacs.
11001 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
11003 +for ac_var in $ac_precious_vars; do
11004 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
11005 + eval ac_env_${ac_var}_value=\$${ac_var}
11006 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
11007 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
11011 # Report the --help message.
11012 @@ -974,14 +1509,11 @@ Configuration:
11013 -n, --no-create do not create output files
11014 --srcdir=DIR find the sources in DIR [configure dir or \`..']
11019 Installation directories:
11020 --prefix=PREFIX install architecture-independent files in PREFIX
11021 - [$ac_default_prefix]
11022 + [$ac_default_prefix]
11023 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
11027 By default, \`make install' will install all the files in
11028 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
11029 @@ -991,18 +1523,25 @@ for instance \`--prefix=\$HOME'.
11030 For better control, use the options below.
11032 Fine tuning of the installation directories:
11033 - --bindir=DIR user executables [EPREFIX/bin]
11034 - --sbindir=DIR system admin executables [EPREFIX/sbin]
11035 - --libexecdir=DIR program executables [EPREFIX/libexec]
11036 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
11037 - --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
11038 - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
11039 - --localstatedir=DIR modifiable single-machine data [PREFIX/var]
11040 - --libdir=DIR object code libraries [EPREFIX/lib]
11041 - --includedir=DIR C header files [PREFIX/include]
11042 - --oldincludedir=DIR C header files for non-gcc [/usr/include]
11043 - --infodir=DIR info documentation [PREFIX/info]
11044 - --mandir=DIR man documentation [PREFIX/man]
11045 + --bindir=DIR user executables [EPREFIX/bin]
11046 + --sbindir=DIR system admin executables [EPREFIX/sbin]
11047 + --libexecdir=DIR program executables [EPREFIX/libexec]
11048 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
11049 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
11050 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
11051 + --libdir=DIR object code libraries [EPREFIX/lib]
11052 + --includedir=DIR C header files [PREFIX/include]
11053 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
11054 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
11055 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
11056 + --infodir=DIR info documentation [DATAROOTDIR/info]
11057 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
11058 + --mandir=DIR man documentation [DATAROOTDIR/man]
11059 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
11060 + --htmldir=DIR html documentation [DOCDIR]
11061 + --dvidir=DIR dvi documentation [DOCDIR]
11062 + --pdfdir=DIR pdf documentation [DOCDIR]
11063 + --psdir=DIR ps documentation [DOCDIR]
11067 @@ -1024,16 +1563,15 @@ if test -n "$ac_init_help"; then
11071 + --disable-option-checking ignore unrecognized --enable/--with options
11072 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
11073 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
11074 --enable-maintainer-mode enable make rules and dependencies not useful
11075 (and sometimes confusing) to the casual installer
11076 --disable-dependency-tracking speeds up one-time build
11077 --enable-dependency-tracking do not reject slow dependency extractors
11078 - --enable-static[=PKGS]
11079 - build static libraries [default=no]
11080 - --enable-shared[=PKGS]
11081 - build shared libraries [default=yes]
11082 + --enable-static[=PKGS] build static libraries [default=no]
11083 + --enable-shared[=PKGS] build shared libraries [default=yes]
11084 --enable-fast-install[=PKGS]
11085 optimize for fast installation [default=yes]
11086 --disable-libtool-lock avoid locking (might break parallel builds)
11087 @@ -1045,8 +1583,7 @@ Optional Packages:
11088 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
11089 --with-pic try to use only PIC/non-PIC objects [default=use
11091 - --with-tags[=TAGS]
11092 - include additional configurations [automatic]
11093 + --with-tags[=TAGS] include additional configurations [automatic]
11094 --with-mysql=DIR Location of your MySQL installation
11096 Some influential environment variables:
11097 @@ -1054,8 +1591,9 @@ Some influential environment variables:
11098 CFLAGS C compiler flags
11099 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
11100 nonstandard directory <lib dir>
11101 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
11102 - headers in a nonstandard directory <include dir>
11103 + LIBS libraries to pass to the linker, e.g. -l<library>
11104 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
11105 + you have headers in a nonstandard directory <include dir>
11107 CXX C++ compiler command
11108 CXXFLAGS C++ compiler flags
11109 @@ -1067,118 +1605,88 @@ Use these variables to override the choices made by `configure' or to help
11110 it to find libraries and programs with nonstandard names/locations.
11116 if test "$ac_init_help" = "recursive"; then
11117 # If there are subdirs, report their specific --help.
11119 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
11120 - test -d $ac_dir || continue
11121 + test -d "$ac_dir" ||
11122 + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
11126 -if test "$ac_dir" != .; then
11127 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11128 - # A "../" for each directory in $ac_dir_suffix.
11129 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11131 - ac_dir_suffix= ac_top_builddir=
11134 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11136 + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11137 + # A ".." for each directory in $ac_dir_suffix.
11138 + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11139 + case $ac_top_builddir_sub in
11140 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11141 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11144 +ac_abs_top_builddir=$ac_pwd
11145 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
11146 +# for backward compatibility:
11147 +ac_top_builddir=$ac_top_build_prefix
11150 - .) # No --srcdir option. We are building in place.
11151 + .) # We are building in place.
11153 - if test -z "$ac_top_builddir"; then
11156 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11158 - [\\/]* | ?:[\\/]* ) # Absolute path.
11159 + ac_top_srcdir=$ac_top_builddir_sub
11160 + ac_abs_top_srcdir=$ac_pwd ;;
11161 + [\\/]* | ?:[\\/]* ) # Absolute name.
11162 ac_srcdir=$srcdir$ac_dir_suffix;
11163 - ac_top_srcdir=$srcdir ;;
11164 - *) # Relative path.
11165 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11166 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
11167 + ac_top_srcdir=$srcdir
11168 + ac_abs_top_srcdir=$srcdir ;;
11169 + *) # Relative name.
11170 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11171 + ac_top_srcdir=$ac_top_build_prefix$srcdir
11172 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11175 -# Do not use `cd foo && pwd` to compute absolute paths, because
11176 -# the directories may not exist.
11178 -.) ac_abs_builddir="$ac_dir";;
11180 - case "$ac_dir" in
11181 - .) ac_abs_builddir=`pwd`;;
11182 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11183 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
11186 -case $ac_abs_builddir in
11187 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
11189 - case ${ac_top_builddir}. in
11190 - .) ac_abs_top_builddir=$ac_abs_builddir;;
11191 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11192 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11195 -case $ac_abs_builddir in
11196 -.) ac_abs_srcdir=$ac_srcdir;;
11198 - case $ac_srcdir in
11199 - .) ac_abs_srcdir=$ac_abs_builddir;;
11200 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11201 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11204 -case $ac_abs_builddir in
11205 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
11207 - case $ac_top_srcdir in
11208 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
11209 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11210 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11215 - # Check for guested configure; otherwise get Cygnus style configure.
11216 - if test -f $ac_srcdir/configure.gnu; then
11218 - $SHELL $ac_srcdir/configure.gnu --help=recursive
11219 - elif test -f $ac_srcdir/configure; then
11221 - $SHELL $ac_srcdir/configure --help=recursive
11222 - elif test -f $ac_srcdir/configure.ac ||
11223 - test -f $ac_srcdir/configure.in; then
11225 - $ac_configure --help
11226 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11228 + cd "$ac_dir" || { ac_status=$?; continue; }
11229 + # Check for guested configure.
11230 + if test -f "$ac_srcdir/configure.gnu"; then
11232 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
11233 + elif test -f "$ac_srcdir/configure"; then
11235 + $SHELL "$ac_srcdir/configure" --help=recursive
11237 - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
11240 + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
11241 + fi || ac_status=$?
11242 + cd "$ac_pwd" || { ac_status=$?; break; }
11246 -test -n "$ac_init_help" && exit 0
11247 +test -n "$ac_init_help" && exit $ac_status
11248 if $ac_init_version; then
11251 +generated by GNU Autoconf 2.63
11253 -Copyright (C) 2003 Free Software Foundation, Inc.
11254 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
11255 +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
11256 This configure script is free software; the Free Software Foundation
11257 gives unlimited permission to copy, distribute and modify it.
11264 +cat >config.log <<_ACEOF
11265 This file contains any messages produced by compilers while
11266 running configure, to aid debugging if configure makes a mistake.
11268 It was created by $as_me, which was
11269 -generated by GNU Autoconf 2.59. Invocation command line was
11270 +generated by GNU Autoconf 2.63. Invocation command line was
11275 +exec 5>>config.log
11279 @@ -1197,7 +1705,7 @@ uname -v = `(uname -v) 2>/dev/null || echo unknown`
11280 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
11281 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
11282 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
11283 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
11284 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
11285 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
11286 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
11287 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
11288 @@ -1209,8 +1717,9 @@ for as_dir in $PATH
11291 test -z "$as_dir" && as_dir=.
11292 - echo "PATH: $as_dir"
11293 + $as_echo "PATH: $as_dir"
11299 @@ -1232,7 +1741,6 @@ _ACEOF
11301 ac_configure_args0=
11302 ac_configure_args1=
11304 ac_must_keep_next=false
11307 @@ -1243,8 +1751,8 @@ do
11308 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11309 | -silent | --silent | --silen | --sile | --sil)
11311 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
11312 - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11314 + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11317 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
11318 @@ -1265,9 +1773,7 @@ do
11319 -* ) ac_must_keep_next=true ;;
11322 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
11323 - # Get rid of the leading space.
11325 + ac_configure_args="$ac_configure_args '$ac_arg'"
11329 @@ -1278,8 +1784,8 @@ $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_
11330 # When interrupted or exit'd, cleanup temporary files, and complete
11331 # config.log. We remove comments because anyway the quotes in there
11332 # would cause problems or look ugly.
11333 -# WARNING: Be sure not to use single quotes in there, as some shells,
11334 -# such as our DU 5.0 friend, will then `close' the trap.
11335 +# WARNING: Use '\'' to represent an apostrophe within the trap.
11336 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
11337 trap 'exit_status=$?
11338 # Save into config.log some information that might help in debugging.
11340 @@ -1292,20 +1798,35 @@ trap 'exit_status=$?
11343 # The following way of writing the cache mishandles newlines in values,
11346 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
11347 + eval ac_val=\$$ac_var
11348 + case $ac_val in #(
11350 + case $ac_var in #(
11351 + *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
11352 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11354 + case $ac_var in #(
11355 + _ | IFS | as_nl) ;; #(
11356 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11357 + *) $as_unset $ac_var ;;
11362 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
11364 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
11365 + *${as_nl}ac_space=\ *)
11367 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
11368 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
11370 + "s/'\''/'\''\\\\'\'''\''/g;
11371 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
11375 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11376 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11386 @@ -1316,22 +1837,28 @@ _ASBOX
11388 for ac_var in $ac_subst_vars
11390 - eval ac_val=$`echo $ac_var`
11391 - echo "$ac_var='"'"'$ac_val'"'"'"
11392 + eval ac_val=\$$ac_var
11394 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
11396 + $as_echo "$ac_var='\''$ac_val'\''"
11400 if test -n "$ac_subst_files"; then
11402 -## ------------- ##
11403 -## Output files. ##
11404 -## ------------- ##
11405 +## ------------------- ##
11406 +## File substitutions. ##
11407 +## ------------------- ##
11410 for ac_var in $ac_subst_files
11412 - eval ac_val=$`echo $ac_var`
11413 - echo "$ac_var='"'"'$ac_val'"'"'"
11414 + eval ac_val=\$$ac_var
11416 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
11418 + $as_echo "$ac_var='\''$ac_val'\''"
11422 @@ -1343,26 +1870,24 @@ _ASBOX
11426 - sed "/^$/d" confdefs.h | sort
11430 test "$ac_signal" != 0 &&
11431 - echo "$as_me: caught signal $ac_signal"
11432 - echo "$as_me: exit $exit_status"
11433 + $as_echo "$as_me: caught signal $ac_signal"
11434 + $as_echo "$as_me: exit $exit_status"
11436 - rm -f core *.core &&
11437 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
11438 + rm -f core *.core core.conftest.* &&
11439 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
11443 for ac_signal in 1 2 13 15; do
11444 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
11448 # confdefs.h avoids OS command line length limits that DEFS can exceed.
11449 -rm -rf conftest* confdefs.h
11450 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
11452 +rm -f -r conftest* confdefs.h
11454 # Predefined preprocessor variables.
11456 @@ -1392,18 +1917,24 @@ _ACEOF
11459 # Let the site file select an alternate cache file if it wants to.
11460 -# Prefer explicitly selected file to automatically selected ones.
11461 -if test -z "$CONFIG_SITE"; then
11462 - if test "x$prefix" != xNONE; then
11463 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
11465 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
11468 -for ac_site_file in $CONFIG_SITE; do
11469 +# Prefer an explicitly selected file to automatically selected ones.
11470 +ac_site_file1=NONE
11471 +ac_site_file2=NONE
11472 +if test -n "$CONFIG_SITE"; then
11473 + ac_site_file1=$CONFIG_SITE
11474 +elif test "x$prefix" != xNONE; then
11475 + ac_site_file1=$prefix/share/config.site
11476 + ac_site_file2=$prefix/etc/config.site
11478 + ac_site_file1=$ac_default_prefix/share/config.site
11479 + ac_site_file2=$ac_default_prefix/etc/config.site
11481 +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
11483 + test "x$ac_site_file" = xNONE && continue
11484 if test -r "$ac_site_file"; then
11485 - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
11486 -echo "$as_me: loading site script $ac_site_file" >&6;}
11487 + { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
11488 +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
11489 sed 's/^/| /' "$ac_site_file" >&5
11492 @@ -1413,54 +1944,61 @@ if test -r "$cache_file"; then
11493 # Some versions of bash will fail to source /dev/null (special
11494 # files actually), so we avoid doing that.
11495 if test -f "$cache_file"; then
11496 - { echo "$as_me:$LINENO: loading cache $cache_file" >&5
11497 -echo "$as_me: loading cache $cache_file" >&6;}
11498 + { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
11499 +$as_echo "$as_me: loading cache $cache_file" >&6;}
11500 case $cache_file in
11501 - [\\/]* | ?:[\\/]* ) . $cache_file;;
11502 - *) . ./$cache_file;;
11503 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
11504 + *) . "./$cache_file";;
11508 - { echo "$as_me:$LINENO: creating cache $cache_file" >&5
11509 -echo "$as_me: creating cache $cache_file" >&6;}
11510 + { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
11511 +$as_echo "$as_me: creating cache $cache_file" >&6;}
11515 # Check that the precious variables saved in the cache have kept the same
11517 ac_cache_corrupted=false
11518 -for ac_var in `(set) 2>&1 |
11519 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
11520 +for ac_var in $ac_precious_vars; do
11521 eval ac_old_set=\$ac_cv_env_${ac_var}_set
11522 eval ac_new_set=\$ac_env_${ac_var}_set
11523 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
11524 - eval ac_new_val="\$ac_env_${ac_var}_value"
11525 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
11526 + eval ac_new_val=\$ac_env_${ac_var}_value
11527 case $ac_old_set,$ac_new_set in
11529 - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
11530 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
11531 + { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
11532 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
11533 ac_cache_corrupted=: ;;
11535 - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
11536 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
11537 + { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
11538 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
11539 ac_cache_corrupted=: ;;
11542 if test "x$ac_old_val" != "x$ac_new_val"; then
11543 - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
11544 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
11545 - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
11546 -echo "$as_me: former value: $ac_old_val" >&2;}
11547 - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
11548 -echo "$as_me: current value: $ac_new_val" >&2;}
11549 - ac_cache_corrupted=:
11550 + # differences in whitespace do not lead to failure.
11551 + ac_old_val_w=`echo x $ac_old_val`
11552 + ac_new_val_w=`echo x $ac_new_val`
11553 + if test "$ac_old_val_w" != "$ac_new_val_w"; then
11554 + { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
11555 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
11556 + ac_cache_corrupted=:
11558 + { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
11559 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
11560 + eval $ac_var=\$ac_old_val
11562 + { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
11563 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
11564 + { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
11565 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
11568 # Pass precious variables to config.status.
11569 if test "$ac_new_set" = set; then
11570 case $ac_new_val in
11571 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
11572 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
11573 + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
11574 *) ac_arg=$ac_var=$ac_new_val ;;
11576 case " $ac_configure_args " in
11577 @@ -1470,19 +2008,15 @@ echo "$as_me: current value: $ac_new_val" >&2;}
11580 if $ac_cache_corrupted; then
11581 - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
11582 -echo "$as_me: error: changes in the environment can compromise the build" >&2;}
11583 - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
11584 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
11585 + { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11586 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11587 + { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
11588 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
11589 + { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
11590 +$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
11591 { (exit 1); exit 1; }; }
11595 -ac_cpp='$CPP $CPPFLAGS'
11596 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11597 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11598 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
11603 @@ -1499,109 +2033,164 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
11608 +ac_cpp='$CPP $CPPFLAGS'
11609 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11610 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11611 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11615 -for ac_dir in aux $srcdir/aux; do
11616 - if test -f $ac_dir/install-sh; then
11617 +for ac_dir in aux "$srcdir"/aux; do
11618 + if test -f "$ac_dir/install-sh"; then
11620 ac_install_sh="$ac_aux_dir/install-sh -c"
11622 - elif test -f $ac_dir/install.sh; then
11623 + elif test -f "$ac_dir/install.sh"; then
11625 ac_install_sh="$ac_aux_dir/install.sh -c"
11627 - elif test -f $ac_dir/shtool; then
11628 + elif test -f "$ac_dir/shtool"; then
11630 ac_install_sh="$ac_aux_dir/shtool install -c"
11634 if test -z "$ac_aux_dir"; then
11635 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in aux $srcdir/aux" >&5
11636 -echo "$as_me: error: cannot find install-sh or install.sh in aux $srcdir/aux" >&2;}
11637 + { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in aux \"$srcdir\"/aux" >&5
11638 +$as_echo "$as_me: error: cannot find install-sh or install.sh in aux \"$srcdir\"/aux" >&2;}
11639 { (exit 1); exit 1; }; }
11641 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
11642 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
11643 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
11645 +# These three variables are undocumented and unsupported,
11646 +# and are intended to be withdrawn in a future Autoconf release.
11647 +# They can cause serious problems if a builder's source tree is in a directory
11648 +# whose full name contains unusual characters.
11649 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
11650 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
11651 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
11656 # Make sure we can run config.sub.
11657 -$ac_config_sub sun4 >/dev/null 2>&1 ||
11658 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
11659 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
11660 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
11661 + { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
11662 +$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
11663 { (exit 1); exit 1; }; }
11665 -echo "$as_me:$LINENO: checking build system type" >&5
11666 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
11667 +{ $as_echo "$as_me:$LINENO: checking build system type" >&5
11668 +$as_echo_n "checking build system type... " >&6; }
11669 if test "${ac_cv_build+set}" = set; then
11670 - echo $ECHO_N "(cached) $ECHO_C" >&6
11672 - ac_cv_build_alias=$build_alias
11673 -test -z "$ac_cv_build_alias" &&
11674 - ac_cv_build_alias=`$ac_config_guess`
11675 -test -z "$ac_cv_build_alias" &&
11676 - { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
11677 -echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
11678 + $as_echo_n "(cached) " >&6
11680 + ac_build_alias=$build_alias
11681 +test "x$ac_build_alias" = x &&
11682 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
11683 +test "x$ac_build_alias" = x &&
11684 + { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
11685 +$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
11686 { (exit 1); exit 1; }; }
11687 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
11688 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
11689 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
11690 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
11691 + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
11692 +$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
11693 { (exit 1); exit 1; }; }
11696 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
11697 -echo "${ECHO_T}$ac_cv_build" >&6
11698 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
11699 +$as_echo "$ac_cv_build" >&6; }
11700 +case $ac_cv_build in
11702 +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
11703 +$as_echo "$as_me: error: invalid value of canonical build" >&2;}
11704 + { (exit 1); exit 1; }; };;
11707 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
11708 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
11709 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
11712 -echo "$as_me:$LINENO: checking host system type" >&5
11713 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
11714 +ac_save_IFS=$IFS; IFS='-'
11715 +set x $ac_cv_build
11720 +# Remember, the first character of IFS is used to create $*,
11721 +# except with old shells:
11724 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
11727 +{ $as_echo "$as_me:$LINENO: checking host system type" >&5
11728 +$as_echo_n "checking host system type... " >&6; }
11729 if test "${ac_cv_host+set}" = set; then
11730 - echo $ECHO_N "(cached) $ECHO_C" >&6
11732 - ac_cv_host_alias=$host_alias
11733 -test -z "$ac_cv_host_alias" &&
11734 - ac_cv_host_alias=$ac_cv_build_alias
11735 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
11736 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
11737 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
11738 + $as_echo_n "(cached) " >&6
11740 + if test "x$host_alias" = x; then
11741 + ac_cv_host=$ac_cv_build
11743 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
11744 + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
11745 +$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
11746 { (exit 1); exit 1; }; }
11750 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
11751 -echo "${ECHO_T}$ac_cv_host" >&6
11752 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
11753 +$as_echo "$ac_cv_host" >&6; }
11754 +case $ac_cv_host in
11756 +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
11757 +$as_echo "$as_me: error: invalid value of canonical host" >&2;}
11758 + { (exit 1); exit 1; }; };;
11761 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
11762 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
11763 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
11766 -echo "$as_me:$LINENO: checking target system type" >&5
11767 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
11768 +ac_save_IFS=$IFS; IFS='-'
11774 +# Remember, the first character of IFS is used to create $*,
11775 +# except with old shells:
11778 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
11781 +{ $as_echo "$as_me:$LINENO: checking target system type" >&5
11782 +$as_echo_n "checking target system type... " >&6; }
11783 if test "${ac_cv_target+set}" = set; then
11784 - echo $ECHO_N "(cached) $ECHO_C" >&6
11786 - ac_cv_target_alias=$target_alias
11787 -test "x$ac_cv_target_alias" = "x" &&
11788 - ac_cv_target_alias=$ac_cv_host_alias
11789 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
11790 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
11791 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
11792 + $as_echo_n "(cached) " >&6
11794 + if test "x$target_alias" = x; then
11795 + ac_cv_target=$ac_cv_host
11797 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
11798 + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
11799 +$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
11800 { (exit 1); exit 1; }; }
11804 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
11805 -echo "${ECHO_T}$ac_cv_target" >&6
11806 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
11807 +$as_echo "$ac_cv_target" >&6; }
11808 +case $ac_cv_target in
11810 +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
11811 +$as_echo "$as_me: error: invalid value of canonical target" >&2;}
11812 + { (exit 1); exit 1; }; };;
11814 target=$ac_cv_target
11815 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
11816 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
11817 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
11818 +ac_save_IFS=$IFS; IFS='-'
11819 +set x $ac_cv_target
11824 +# Remember, the first character of IFS is used to create $*,
11825 +# except with old shells:
11828 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
11831 # The aliases save the names the user supplied, while $host etc.
11832 @@ -1625,11 +2214,12 @@ am__api_version="1.9"
11833 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11834 # OS/2's system install, which has a completely different semantic
11835 # ./install, which can be erroneously created by make from ./install.sh.
11836 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11837 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11838 +# Reject install programs that cannot install multiple files.
11839 +{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11840 +$as_echo_n "checking for a BSD-compatible install... " >&6; }
11841 if test -z "$INSTALL"; then
11842 if test "${ac_cv_path_install+set}" = set; then
11843 - echo $ECHO_N "(cached) $ECHO_C" >&6
11844 + $as_echo_n "(cached) " >&6
11846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11847 for as_dir in $PATH
11848 @@ -1648,7 +2238,7 @@ case $as_dir/ in
11850 for ac_prog in ginstall scoinst install; do
11851 for ac_exec_ext in '' $ac_executable_extensions; do
11852 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11853 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
11854 if test $ac_prog = install &&
11855 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11856 # AIX install. It has an incompatible calling convention.
11857 @@ -1658,30 +2248,43 @@ case $as_dir/ in
11858 # program-specific install script used by HP pwplus--don't use.
11861 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11863 + rm -rf conftest.one conftest.two conftest.dir
11864 + echo one > conftest.one
11865 + echo two > conftest.two
11866 + mkdir conftest.dir
11867 + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
11868 + test -s conftest.one && test -s conftest.two &&
11869 + test -s conftest.dir/conftest.one &&
11870 + test -s conftest.dir/conftest.two
11872 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11885 +rm -rf conftest.one conftest.two conftest.dir
11888 if test "${ac_cv_path_install+set}" = set; then
11889 INSTALL=$ac_cv_path_install
11891 - # As a last resort, use the slow shell script. We don't cache a
11892 - # path for INSTALL within a source directory, because that will
11893 + # As a last resort, use the slow shell script. Don't cache a
11894 + # value for INSTALL within a source directory, because that will
11895 # break other packages using the cache if that directory is
11896 - # removed, or if the path is relative.
11897 + # removed, or if the value is a relative name.
11898 INSTALL=$ac_install_sh
11901 -echo "$as_me:$LINENO: result: $INSTALL" >&5
11902 -echo "${ECHO_T}$INSTALL" >&6
11903 +{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
11904 +$as_echo "$INSTALL" >&6; }
11906 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11907 # It thinks the first close brace ends the variable substitution.
11908 @@ -1691,8 +2294,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11910 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11912 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
11913 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
11914 +{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
11915 +$as_echo_n "checking whether build environment is sane... " >&6; }
11918 echo timestamp > conftest.file
11919 @@ -1715,9 +2318,9 @@ if (
11920 # if, for instance, CONFIG_SHELL is bash and it inherits a
11921 # broken ls alias from the environment. This has actually
11922 # happened. Such a system could not be considered "sane".
11923 - { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
11924 + { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
11925 alias in your environment" >&5
11926 -echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
11927 +$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
11928 alias in your environment" >&2;}
11929 { (exit 1); exit 1; }; }
11931 @@ -1728,26 +2331,23 @@ then
11935 - { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
11936 + { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
11937 Check your system clock" >&5
11938 -echo "$as_me: error: newly created file is older than distributed files!
11939 +$as_echo "$as_me: error: newly created file is older than distributed files!
11940 Check your system clock" >&2;}
11941 { (exit 1); exit 1; }; }
11943 -echo "$as_me:$LINENO: result: yes" >&5
11944 -echo "${ECHO_T}yes" >&6
11945 +{ $as_echo "$as_me:$LINENO: result: yes" >&5
11946 +$as_echo "yes" >&6; }
11947 test "$program_prefix" != NONE &&
11948 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
11949 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
11950 # Use a double $ so make ignores it.
11951 test "$program_suffix" != NONE &&
11952 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
11953 -# Double any \ or $. echo might interpret backslashes.
11954 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
11955 +# Double any \ or $.
11956 # By default was `s,x,x', remove it if useless.
11957 -cat <<\_ACEOF >conftest.sed
11958 -s/[\\$]/&&/g;s/;s,x,x,$//
11960 -program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
11962 +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
11963 +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
11965 # expand $ac_aux_dir to an absolute path
11966 am_aux_dir=`cd $ac_aux_dir && pwd`
11967 @@ -1758,8 +2358,8 @@ if eval "$MISSING --run true"; then
11968 am_missing_run="$MISSING --run "
11971 - { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
11972 -echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
11973 + { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
11974 +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
11977 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
11978 @@ -1799,10 +2399,10 @@ for ac_prog in gawk mawk nawk awk
11980 # Extract the first word of "$ac_prog", so it can be a program name with args.
11981 set dummy $ac_prog; ac_word=$2
11982 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11983 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11984 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11985 +$as_echo_n "checking for $ac_word... " >&6; }
11986 if test "${ac_cv_prog_AWK+set}" = set; then
11987 - echo $ECHO_N "(cached) $ECHO_C" >&6
11988 + $as_echo_n "(cached) " >&6
11990 if test -n "$AWK"; then
11991 ac_cv_prog_AWK="$AWK" # Let the user override the test.
11992 @@ -1813,54 +2413,58 @@ do
11994 test -z "$as_dir" && as_dir=.
11995 for ac_exec_ext in '' $ac_executable_extensions; do
11996 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11997 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11998 ac_cv_prog_AWK="$ac_prog"
11999 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12000 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12009 AWK=$ac_cv_prog_AWK
12010 if test -n "$AWK"; then
12011 - echo "$as_me:$LINENO: result: $AWK" >&5
12012 -echo "${ECHO_T}$AWK" >&6
12013 + { $as_echo "$as_me:$LINENO: result: $AWK" >&5
12014 +$as_echo "$AWK" >&6; }
12016 - echo "$as_me:$LINENO: result: no" >&5
12017 -echo "${ECHO_T}no" >&6
12018 + { $as_echo "$as_me:$LINENO: result: no" >&5
12019 +$as_echo "no" >&6; }
12023 test -n "$AWK" && break
12026 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
12027 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
12028 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
12029 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
12030 - echo $ECHO_N "(cached) $ECHO_C" >&6
12031 +{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
12032 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
12033 +set x ${MAKE-make}
12034 +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
12035 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
12036 + $as_echo_n "(cached) " >&6
12038 cat >conftest.make <<\_ACEOF
12041 - @echo 'ac_maketemp="$(MAKE)"'
12042 + @echo '@@@%%%=$(MAKE)=@@@%%%'
12044 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12045 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
12046 -if test -n "$ac_maketemp"; then
12047 - eval ac_cv_prog_make_${ac_make}_set=yes
12049 - eval ac_cv_prog_make_${ac_make}_set=no
12051 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
12052 + *@@@%%%=?*=@@@%%%*)
12053 + eval ac_cv_prog_make_${ac_make}_set=yes;;
12055 + eval ac_cv_prog_make_${ac_make}_set=no;;
12057 rm -f conftest.make
12059 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
12060 - echo "$as_me:$LINENO: result: yes" >&5
12061 -echo "${ECHO_T}yes" >&6
12062 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
12063 + { $as_echo "$as_me:$LINENO: result: yes" >&5
12064 +$as_echo "yes" >&6; }
12067 - echo "$as_me:$LINENO: result: no" >&5
12068 -echo "${ECHO_T}no" >&6
12069 + { $as_echo "$as_me:$LINENO: result: no" >&5
12070 +$as_echo "no" >&6; }
12071 SET_MAKE="MAKE=${MAKE-make}"
12074 @@ -1876,8 +2480,8 @@ rmdir .tst 2>/dev/null
12075 # test to see if srcdir already configured
12076 if test "`cd $srcdir && pwd`" != "`pwd`" &&
12077 test -f $srcdir/config.status; then
12078 - { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
12079 -echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
12080 + { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
12081 +$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
12082 { (exit 1); exit 1; }; }
12085 @@ -1931,10 +2535,10 @@ if test "$cross_compiling" != no; then
12086 if test -n "$ac_tool_prefix"; then
12087 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
12088 set dummy ${ac_tool_prefix}strip; ac_word=$2
12089 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12090 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12091 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12092 +$as_echo_n "checking for $ac_word... " >&6; }
12093 if test "${ac_cv_prog_STRIP+set}" = set; then
12094 - echo $ECHO_N "(cached) $ECHO_C" >&6
12095 + $as_echo_n "(cached) " >&6
12097 if test -n "$STRIP"; then
12098 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12099 @@ -1945,34 +2549,36 @@ do
12101 test -z "$as_dir" && as_dir=.
12102 for ac_exec_ext in '' $ac_executable_extensions; do
12103 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12104 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12105 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
12106 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12107 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12116 STRIP=$ac_cv_prog_STRIP
12117 if test -n "$STRIP"; then
12118 - echo "$as_me:$LINENO: result: $STRIP" >&5
12119 -echo "${ECHO_T}$STRIP" >&6
12120 + { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
12121 +$as_echo "$STRIP" >&6; }
12123 - echo "$as_me:$LINENO: result: no" >&5
12124 -echo "${ECHO_T}no" >&6
12125 + { $as_echo "$as_me:$LINENO: result: no" >&5
12126 +$as_echo "no" >&6; }
12131 if test -z "$ac_cv_prog_STRIP"; then
12133 # Extract the first word of "strip", so it can be a program name with args.
12134 set dummy strip; ac_word=$2
12135 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12136 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12137 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12138 +$as_echo_n "checking for $ac_word... " >&6; }
12139 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
12140 - echo $ECHO_N "(cached) $ECHO_C" >&6
12141 + $as_echo_n "(cached) " >&6
12143 if test -n "$ac_ct_STRIP"; then
12144 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
12145 @@ -1983,27 +2589,37 @@ do
12147 test -z "$as_dir" && as_dir=.
12148 for ac_exec_ext in '' $ac_executable_extensions; do
12149 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12150 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12151 ac_cv_prog_ac_ct_STRIP="strip"
12152 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12153 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12160 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
12163 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
12164 if test -n "$ac_ct_STRIP"; then
12165 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
12166 -echo "${ECHO_T}$ac_ct_STRIP" >&6
12167 + { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
12168 +$as_echo "$ac_ct_STRIP" >&6; }
12170 - echo "$as_me:$LINENO: result: no" >&5
12171 -echo "${ECHO_T}no" >&6
12172 + { $as_echo "$as_me:$LINENO: result: no" >&5
12173 +$as_echo "no" >&6; }
12176 - STRIP=$ac_ct_STRIP
12177 + if test "x$ac_ct_STRIP" = x; then
12180 + case $cross_compiling:$ac_tool_warned in
12182 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12183 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12184 +ac_tool_warned=yes ;;
12186 + STRIP=$ac_ct_STRIP
12189 STRIP="$ac_cv_prog_STRIP"
12191 @@ -2023,19 +2639,19 @@ am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
12195 - ac_config_headers="$ac_config_headers config.h"
12196 +ac_config_headers="$ac_config_headers config.h"
12198 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
12199 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
12200 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
12201 +{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
12202 +$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
12203 + # Check whether --enable-maintainer-mode was given.
12204 if test "${enable_maintainer_mode+set}" = set; then
12205 - enableval="$enable_maintainer_mode"
12206 - USE_MAINTAINER_MODE=$enableval
12207 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
12209 USE_MAINTAINER_MODE=no
12211 - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
12212 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
12215 + { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
12216 +$as_echo "$USE_MAINTAINER_MODE" >&6; }
12219 if test $USE_MAINTAINER_MODE = yes; then
12220 @@ -2058,10 +2674,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
12221 if test -n "$ac_tool_prefix"; then
12222 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12223 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12224 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12225 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12226 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12227 +$as_echo_n "checking for $ac_word... " >&6; }
12228 if test "${ac_cv_prog_CC+set}" = set; then
12229 - echo $ECHO_N "(cached) $ECHO_C" >&6
12230 + $as_echo_n "(cached) " >&6
12232 if test -n "$CC"; then
12233 ac_cv_prog_CC="$CC" # Let the user override the test.
12234 @@ -2072,34 +2688,36 @@ do
12236 test -z "$as_dir" && as_dir=.
12237 for ac_exec_ext in '' $ac_executable_extensions; do
12238 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12239 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12240 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12241 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12242 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12252 if test -n "$CC"; then
12253 - echo "$as_me:$LINENO: result: $CC" >&5
12254 -echo "${ECHO_T}$CC" >&6
12255 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
12256 +$as_echo "$CC" >&6; }
12258 - echo "$as_me:$LINENO: result: no" >&5
12259 -echo "${ECHO_T}no" >&6
12260 + { $as_echo "$as_me:$LINENO: result: no" >&5
12261 +$as_echo "no" >&6; }
12266 if test -z "$ac_cv_prog_CC"; then
12268 # Extract the first word of "gcc", so it can be a program name with args.
12269 set dummy gcc; ac_word=$2
12270 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12271 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12272 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12273 +$as_echo_n "checking for $ac_word... " >&6; }
12274 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12275 - echo $ECHO_N "(cached) $ECHO_C" >&6
12276 + $as_echo_n "(cached) " >&6
12278 if test -n "$ac_ct_CC"; then
12279 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12280 @@ -2110,38 +2728,49 @@ do
12282 test -z "$as_dir" && as_dir=.
12283 for ac_exec_ext in '' $ac_executable_extensions; do
12284 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12285 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12286 ac_cv_prog_ac_ct_CC="gcc"
12287 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12288 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12297 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12298 if test -n "$ac_ct_CC"; then
12299 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12300 -echo "${ECHO_T}$ac_ct_CC" >&6
12301 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12302 +$as_echo "$ac_ct_CC" >&6; }
12304 - echo "$as_me:$LINENO: result: no" >&5
12305 -echo "${ECHO_T}no" >&6
12306 + { $as_echo "$as_me:$LINENO: result: no" >&5
12307 +$as_echo "no" >&6; }
12311 + if test "x$ac_ct_CC" = x; then
12314 + case $cross_compiling:$ac_tool_warned in
12316 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12317 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12318 +ac_tool_warned=yes ;;
12323 CC="$ac_cv_prog_CC"
12326 if test -z "$CC"; then
12327 - if test -n "$ac_tool_prefix"; then
12328 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12329 + if test -n "$ac_tool_prefix"; then
12330 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12331 set dummy ${ac_tool_prefix}cc; ac_word=$2
12332 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12333 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12334 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12335 +$as_echo_n "checking for $ac_word... " >&6; }
12336 if test "${ac_cv_prog_CC+set}" = set; then
12337 - echo $ECHO_N "(cached) $ECHO_C" >&6
12338 + $as_echo_n "(cached) " >&6
12340 if test -n "$CC"; then
12341 ac_cv_prog_CC="$CC" # Let the user override the test.
12342 @@ -2152,76 +2781,36 @@ do
12344 test -z "$as_dir" && as_dir=.
12345 for ac_exec_ext in '' $ac_executable_extensions; do
12346 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12347 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12348 ac_cv_prog_CC="${ac_tool_prefix}cc"
12349 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12350 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12360 if test -n "$CC"; then
12361 - echo "$as_me:$LINENO: result: $CC" >&5
12362 -echo "${ECHO_T}$CC" >&6
12363 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
12364 +$as_echo "$CC" >&6; }
12366 - echo "$as_me:$LINENO: result: no" >&5
12367 -echo "${ECHO_T}no" >&6
12368 + { $as_echo "$as_me:$LINENO: result: no" >&5
12369 +$as_echo "no" >&6; }
12373 -if test -z "$ac_cv_prog_CC"; then
12375 - # Extract the first word of "cc", so it can be a program name with args.
12376 -set dummy cc; ac_word=$2
12377 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12378 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12379 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12380 - echo $ECHO_N "(cached) $ECHO_C" >&6
12382 - if test -n "$ac_ct_CC"; then
12383 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12385 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12386 -for as_dir in $PATH
12389 - test -z "$as_dir" && as_dir=.
12390 - for ac_exec_ext in '' $ac_executable_extensions; do
12391 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12392 - ac_cv_prog_ac_ct_CC="cc"
12393 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12401 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
12402 -if test -n "$ac_ct_CC"; then
12403 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12404 -echo "${ECHO_T}$ac_ct_CC" >&6
12406 - echo "$as_me:$LINENO: result: no" >&5
12407 -echo "${ECHO_T}no" >&6
12412 - CC="$ac_cv_prog_CC"
12417 if test -z "$CC"; then
12418 # Extract the first word of "cc", so it can be a program name with args.
12419 set dummy cc; ac_word=$2
12420 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12421 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12422 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12423 +$as_echo_n "checking for $ac_word... " >&6; }
12424 if test "${ac_cv_prog_CC+set}" = set; then
12425 - echo $ECHO_N "(cached) $ECHO_C" >&6
12426 + $as_echo_n "(cached) " >&6
12428 if test -n "$CC"; then
12429 ac_cv_prog_CC="$CC" # Let the user override the test.
12430 @@ -2233,17 +2822,18 @@ do
12432 test -z "$as_dir" && as_dir=.
12433 for ac_exec_ext in '' $ac_executable_extensions; do
12434 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12435 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12436 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12437 ac_prog_rejected=yes
12441 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12442 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12449 if test $ac_prog_rejected = yes; then
12450 # We found a bogon in the path, so make sure we never use it.
12451 @@ -2261,24 +2851,25 @@ fi
12454 if test -n "$CC"; then
12455 - echo "$as_me:$LINENO: result: $CC" >&5
12456 -echo "${ECHO_T}$CC" >&6
12457 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
12458 +$as_echo "$CC" >&6; }
12460 - echo "$as_me:$LINENO: result: no" >&5
12461 -echo "${ECHO_T}no" >&6
12462 + { $as_echo "$as_me:$LINENO: result: no" >&5
12463 +$as_echo "no" >&6; }
12468 if test -z "$CC"; then
12469 if test -n "$ac_tool_prefix"; then
12470 - for ac_prog in cl
12471 + for ac_prog in cl.exe
12473 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12474 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12475 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12476 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12477 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12478 +$as_echo_n "checking for $ac_word... " >&6; }
12479 if test "${ac_cv_prog_CC+set}" = set; then
12480 - echo $ECHO_N "(cached) $ECHO_C" >&6
12481 + $as_echo_n "(cached) " >&6
12483 if test -n "$CC"; then
12484 ac_cv_prog_CC="$CC" # Let the user override the test.
12485 @@ -2289,38 +2880,40 @@ do
12487 test -z "$as_dir" && as_dir=.
12488 for ac_exec_ext in '' $ac_executable_extensions; do
12489 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12490 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12491 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12492 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12493 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12503 if test -n "$CC"; then
12504 - echo "$as_me:$LINENO: result: $CC" >&5
12505 -echo "${ECHO_T}$CC" >&6
12506 + { $as_echo "$as_me:$LINENO: result: $CC" >&5
12507 +$as_echo "$CC" >&6; }
12509 - echo "$as_me:$LINENO: result: no" >&5
12510 -echo "${ECHO_T}no" >&6
12511 + { $as_echo "$as_me:$LINENO: result: no" >&5
12512 +$as_echo "no" >&6; }
12516 test -n "$CC" && break
12519 if test -z "$CC"; then
12521 - for ac_prog in cl
12522 + for ac_prog in cl.exe
12524 # Extract the first word of "$ac_prog", so it can be a program name with args.
12525 set dummy $ac_prog; ac_word=$2
12526 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12527 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12528 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12529 +$as_echo_n "checking for $ac_word... " >&6; }
12530 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12531 - echo $ECHO_N "(cached) $ECHO_C" >&6
12532 + $as_echo_n "(cached) " >&6
12534 if test -n "$ac_ct_CC"; then
12535 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12536 @@ -2331,58 +2924,90 @@ do
12538 test -z "$as_dir" && as_dir=.
12539 for ac_exec_ext in '' $ac_executable_extensions; do
12540 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12541 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12542 ac_cv_prog_ac_ct_CC="$ac_prog"
12543 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12544 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12553 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12554 if test -n "$ac_ct_CC"; then
12555 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12556 -echo "${ECHO_T}$ac_ct_CC" >&6
12557 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12558 +$as_echo "$ac_ct_CC" >&6; }
12560 - echo "$as_me:$LINENO: result: no" >&5
12561 -echo "${ECHO_T}no" >&6
12562 + { $as_echo "$as_me:$LINENO: result: no" >&5
12563 +$as_echo "no" >&6; }
12567 test -n "$ac_ct_CC" && break
12571 + if test "x$ac_ct_CC" = x; then
12574 + case $cross_compiling:$ac_tool_warned in
12576 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12577 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12578 +ac_tool_warned=yes ;;
12587 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12588 +test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12589 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12590 +{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12591 See \`config.log' for more details." >&5
12592 -echo "$as_me: error: no acceptable C compiler found in \$PATH
12593 +$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
12594 See \`config.log' for more details." >&2;}
12595 - { (exit 1); exit 1; }; }
12596 + { (exit 1); exit 1; }; }; }
12598 # Provide some information about the compiler.
12599 -echo "$as_me:$LINENO:" \
12600 - "checking for C compiler version" >&5
12601 -ac_compiler=`set X $ac_compile; echo $2`
12602 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12603 - (eval $ac_compiler --version </dev/null >&5) 2>&5
12604 +$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
12607 +{ (ac_try="$ac_compiler --version >&5"
12608 +case "(($ac_try" in
12609 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12610 + *) ac_try_echo=$ac_try;;
12612 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12613 +$as_echo "$ac_try_echo") >&5
12614 + (eval "$ac_compiler --version >&5") 2>&5
12616 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12617 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); }
12619 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12620 - (eval $ac_compiler -v </dev/null >&5) 2>&5
12621 +{ (ac_try="$ac_compiler -v >&5"
12622 +case "(($ac_try" in
12623 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12624 + *) ac_try_echo=$ac_try;;
12626 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12627 +$as_echo "$ac_try_echo") >&5
12628 + (eval "$ac_compiler -v >&5") 2>&5
12630 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12631 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12632 (exit $ac_status); }
12633 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12634 - (eval $ac_compiler -V </dev/null >&5) 2>&5
12635 +{ (ac_try="$ac_compiler -V >&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_compiler -V >&5") 2>&5
12644 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); }
12648 cat >conftest.$ac_ext <<_ACEOF
12649 @@ -2401,111 +3026,150 @@ main ()
12652 ac_clean_files_save=$ac_clean_files
12653 -ac_clean_files="$ac_clean_files a.out a.exe b.out"
12654 +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
12655 # Try to create an executable without -o first, disregard a.out.
12656 # It will help us diagnose broken compilers, and finding out an intuition
12658 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12659 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12660 -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12661 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12662 - (eval $ac_link_default) 2>&5
12663 +{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12664 +$as_echo_n "checking for C compiler default output file name... " >&6; }
12665 +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12667 +# The possible output files:
12668 +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
12671 +for ac_file in $ac_files
12674 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
12675 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
12680 +if { (ac_try="$ac_link_default"
12681 +case "(($ac_try" in
12682 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12683 + *) ac_try_echo=$ac_try;;
12685 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12686 +$as_echo "$ac_try_echo") >&5
12687 + (eval "$ac_link_default") 2>&5
12689 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12690 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12691 (exit $ac_status); }; then
12692 - # Find the output, starting from the most likely. This scheme is
12693 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
12696 -# Be careful to initialize this variable, since it used to be cached.
12697 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12699 -# b.out is created by i960 compilers.
12700 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12701 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
12702 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
12703 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
12704 +# so that the user can short-circuit this test for compilers unknown to
12706 +for ac_file in $ac_files ''
12708 test -f "$ac_file" || continue
12710 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12712 - conftest.$ac_ext )
12713 - # This is the source file.
12714 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
12717 # We found the default executable, but exeext='' is most
12721 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12722 - # FIXME: I believe we export ac_cv_exeext for Libtool,
12723 - # but it would be cool to find out if it's true. Does anybody
12724 - # maintain Libtool? --akim.
12725 - export ac_cv_exeext
12726 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
12728 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12730 + # We set ac_cv_exeext here because the later test for it is not
12731 + # safe: cross compilers may not add the suffix if given an `-o'
12732 + # argument, so we may need to know it at that point already.
12733 + # Even if this section looks crufty: it has the advantage of
12734 + # actually working.
12740 +test "$ac_cv_exeext" = no && ac_cv_exeext=
12743 - echo "$as_me: failed program was:" >&5
12747 +{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
12748 +$as_echo "$ac_file" >&6; }
12749 +if test -z "$ac_file"; then
12750 + $as_echo "$as_me: failed program was:" >&5
12751 sed 's/^/| /' conftest.$ac_ext >&5
12753 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
12754 +{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12755 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12756 +{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
12757 See \`config.log' for more details." >&5
12758 -echo "$as_me: error: C compiler cannot create executables
12759 +$as_echo "$as_me: error: C compiler cannot create executables
12760 See \`config.log' for more details." >&2;}
12761 - { (exit 77); exit 77; }; }
12762 + { (exit 77); exit 77; }; }; }
12765 ac_exeext=$ac_cv_exeext
12766 -echo "$as_me:$LINENO: result: $ac_file" >&5
12767 -echo "${ECHO_T}$ac_file" >&6
12769 -# Check the compiler produces executables we can run. If not, either
12770 +# Check that the compiler produces executables we can run. If not, either
12771 # the compiler is broken, or we cross compile.
12772 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12773 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12774 +{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12775 +$as_echo_n "checking whether the C compiler works... " >&6; }
12776 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12777 # If not cross compiling, check that we can run a simple program.
12778 if test "$cross_compiling" != yes; then
12779 if { ac_try='./$ac_file'
12780 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12781 - (eval $ac_try) 2>&5
12782 + { (case "(($ac_try" in
12783 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12784 + *) ac_try_echo=$ac_try;;
12786 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12787 +$as_echo "$ac_try_echo") >&5
12788 + (eval "$ac_try") 2>&5
12790 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12792 (exit $ac_status); }; }; then
12795 if test "$cross_compiling" = maybe; then
12796 cross_compiling=yes
12798 - { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12799 + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12800 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12801 +{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
12802 If you meant to cross compile, use \`--host'.
12803 See \`config.log' for more details." >&5
12804 -echo "$as_me: error: cannot run C compiled programs.
12805 +$as_echo "$as_me: error: cannot run C compiled programs.
12806 If you meant to cross compile, use \`--host'.
12807 See \`config.log' for more details." >&2;}
12808 - { (exit 1); exit 1; }; }
12809 + { (exit 1); exit 1; }; }; }
12813 -echo "$as_me:$LINENO: result: yes" >&5
12814 -echo "${ECHO_T}yes" >&6
12815 +{ $as_echo "$as_me:$LINENO: result: yes" >&5
12816 +$as_echo "yes" >&6; }
12818 -rm -f a.out a.exe conftest$ac_cv_exeext b.out
12819 +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
12820 ac_clean_files=$ac_clean_files_save
12821 -# Check the compiler produces executables we can run. If not, either
12822 +# Check that the compiler produces executables we can run. If not, either
12823 # the compiler is broken, or we cross compile.
12824 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12825 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12826 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
12827 -echo "${ECHO_T}$cross_compiling" >&6
12829 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
12830 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12831 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12832 - (eval $ac_link) 2>&5
12833 +{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12834 +$as_echo_n "checking whether we are cross compiling... " >&6; }
12835 +{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
12836 +$as_echo "$cross_compiling" >&6; }
12838 +{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
12839 +$as_echo_n "checking for suffix of executables... " >&6; }
12840 +if { (ac_try="$ac_link"
12841 +case "(($ac_try" in
12842 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12843 + *) ac_try_echo=$ac_try;;
12845 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12846 +$as_echo "$ac_try_echo") >&5
12847 + (eval "$ac_link") 2>&5
12849 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); }; then
12852 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12853 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12854 @@ -2514,32 +3178,33 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12855 for ac_file in conftest.exe conftest conftest.*; do
12856 test -f "$ac_file" || continue
12858 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12859 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
12860 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12861 - export ac_cv_exeext
12867 - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12868 + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12869 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12870 +{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12871 See \`config.log' for more details." >&5
12872 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12873 +$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12874 See \`config.log' for more details." >&2;}
12875 - { (exit 1); exit 1; }; }
12876 + { (exit 1); exit 1; }; }; }
12879 rm -f conftest$ac_cv_exeext
12880 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12881 -echo "${ECHO_T}$ac_cv_exeext" >&6
12882 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12883 +$as_echo "$ac_cv_exeext" >&6; }
12885 rm -f conftest.$ac_ext
12886 EXEEXT=$ac_cv_exeext
12888 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
12889 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12890 +{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
12891 +$as_echo_n "checking for suffix of object files... " >&6; }
12892 if test "${ac_cv_objext+set}" = set; then
12893 - echo $ECHO_N "(cached) $ECHO_C" >&6
12894 + $as_echo_n "(cached) " >&6
12896 cat >conftest.$ac_ext <<_ACEOF
12898 @@ -2557,39 +3222,48 @@ main ()
12901 rm -f conftest.o conftest.obj
12902 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12903 - (eval $ac_compile) 2>&5
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>&5
12913 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915 (exit $ac_status); }; then
12916 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12917 + for ac_file in conftest.o conftest.obj conftest.*; do
12918 + test -f "$ac_file" || continue;
12920 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12921 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
12922 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12927 - echo "$as_me: failed program was:" >&5
12928 + $as_echo "$as_me: failed program was:" >&5
12929 sed 's/^/| /' conftest.$ac_ext >&5
12931 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12932 +{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12933 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12934 +{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12935 See \`config.log' for more details." >&5
12936 -echo "$as_me: error: cannot compute suffix of object files: cannot compile
12937 +$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
12938 See \`config.log' for more details." >&2;}
12939 - { (exit 1); exit 1; }; }
12940 + { (exit 1); exit 1; }; }; }
12943 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12945 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12946 -echo "${ECHO_T}$ac_cv_objext" >&6
12947 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12948 +$as_echo "$ac_cv_objext" >&6; }
12949 OBJEXT=$ac_cv_objext
12951 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12952 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12953 +{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12954 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12955 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12956 - echo $ECHO_N "(cached) $ECHO_C" >&6
12957 + $as_echo_n "(cached) " >&6
12959 cat >conftest.$ac_ext <<_ACEOF
12961 @@ -2610,50 +3284,54 @@ main ()
12964 rm -f conftest.$ac_objext
12965 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12966 - (eval $ac_compile) 2>conftest.er1
12967 +if { (ac_try="$ac_compile"
12968 +case "(($ac_try" in
12969 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12970 + *) ac_try_echo=$ac_try;;
12972 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12973 +$as_echo "$ac_try_echo") >&5
12974 + (eval "$ac_compile") 2>conftest.er1
12976 grep -v '^ *+' conftest.er1 >conftest.err
12978 cat conftest.err >&5
12979 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 - (exit $ac_status); } &&
12981 - { ac_try='test -z "$ac_c_werror_flag"
12982 - || test ! -s conftest.err'
12983 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12984 - (eval $ac_try) 2>&5
12986 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12987 - (exit $ac_status); }; } &&
12988 - { ac_try='test -s conftest.$ac_objext'
12989 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12990 - (eval $ac_try) 2>&5
12992 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 - (exit $ac_status); }; }; then
12994 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 + (exit $ac_status); } && {
12996 + test -z "$ac_c_werror_flag" ||
12997 + test ! -s conftest.err
12998 + } && test -s conftest.$ac_objext; then
12999 ac_compiler_gnu=yes
13001 - echo "$as_me: failed program was:" >&5
13002 + $as_echo "$as_me: failed program was:" >&5
13003 sed 's/^/| /' conftest.$ac_ext >&5
13005 -ac_compiler_gnu=no
13006 + ac_compiler_gnu=no
13008 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13010 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13011 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13014 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13015 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
13016 -GCC=`test $ac_compiler_gnu = yes && echo yes`
13017 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13018 +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
13019 +if test $ac_compiler_gnu = yes; then
13024 ac_test_CFLAGS=${CFLAGS+set}
13025 ac_save_CFLAGS=$CFLAGS
13027 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13028 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13029 +{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13030 +$as_echo_n "checking whether $CC accepts -g... " >&6; }
13031 if test "${ac_cv_prog_cc_g+set}" = set; then
13032 - echo $ECHO_N "(cached) $ECHO_C" >&6
13033 + $as_echo_n "(cached) " >&6
13035 - cat >conftest.$ac_ext <<_ACEOF
13036 + ac_save_c_werror_flag=$ac_c_werror_flag
13037 + ac_c_werror_flag=yes
13038 + ac_cv_prog_cc_g=no
13040 + cat >conftest.$ac_ext <<_ACEOF
13043 cat confdefs.h >>conftest.$ac_ext
13044 @@ -2669,38 +3347,121 @@ main ()
13047 rm -f conftest.$ac_objext
13048 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13049 - (eval $ac_compile) 2>conftest.er1
13050 +if { (ac_try="$ac_compile"
13051 +case "(($ac_try" in
13052 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13053 + *) ac_try_echo=$ac_try;;
13055 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13056 +$as_echo "$ac_try_echo") >&5
13057 + (eval "$ac_compile") 2>conftest.er1
13059 grep -v '^ *+' conftest.er1 >conftest.err
13061 cat conftest.err >&5
13062 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13063 - (exit $ac_status); } &&
13064 - { ac_try='test -z "$ac_c_werror_flag"
13065 - || test ! -s conftest.err'
13066 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13067 - (eval $ac_try) 2>&5
13068 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 + (exit $ac_status); } && {
13070 + test -z "$ac_c_werror_flag" ||
13071 + test ! -s conftest.err
13072 + } && test -s conftest.$ac_objext; then
13073 + ac_cv_prog_cc_g=yes
13075 + $as_echo "$as_me: failed program was:" >&5
13076 +sed 's/^/| /' conftest.$ac_ext >&5
13079 + cat >conftest.$ac_ext <<_ACEOF
13082 +cat confdefs.h >>conftest.$ac_ext
13083 +cat >>conftest.$ac_ext <<_ACEOF
13084 +/* end confdefs.h. */
13094 +rm -f conftest.$ac_objext
13095 +if { (ac_try="$ac_compile"
13096 +case "(($ac_try" in
13097 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13098 + *) ac_try_echo=$ac_try;;
13100 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13101 +$as_echo "$ac_try_echo") >&5
13102 + (eval "$ac_compile") 2>conftest.er1
13104 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13105 - (exit $ac_status); }; } &&
13106 - { ac_try='test -s conftest.$ac_objext'
13107 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13108 - (eval $ac_try) 2>&5
13109 + grep -v '^ *+' conftest.er1 >conftest.err
13110 + rm -f conftest.er1
13111 + cat conftest.err >&5
13112 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13113 + (exit $ac_status); } && {
13114 + test -z "$ac_c_werror_flag" ||
13115 + test ! -s conftest.err
13116 + } && test -s conftest.$ac_objext; then
13119 + $as_echo "$as_me: failed program was:" >&5
13120 +sed 's/^/| /' conftest.$ac_ext >&5
13122 + ac_c_werror_flag=$ac_save_c_werror_flag
13124 + cat >conftest.$ac_ext <<_ACEOF
13127 +cat confdefs.h >>conftest.$ac_ext
13128 +cat >>conftest.$ac_ext <<_ACEOF
13129 +/* end confdefs.h. */
13139 +rm -f conftest.$ac_objext
13140 +if { (ac_try="$ac_compile"
13141 +case "(($ac_try" in
13142 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13143 + *) ac_try_echo=$ac_try;;
13145 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13146 +$as_echo "$ac_try_echo") >&5
13147 + (eval "$ac_compile") 2>conftest.er1
13149 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150 - (exit $ac_status); }; }; then
13151 + grep -v '^ *+' conftest.er1 >conftest.err
13152 + rm -f conftest.er1
13153 + cat conftest.err >&5
13154 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 + (exit $ac_status); } && {
13156 + test -z "$ac_c_werror_flag" ||
13157 + test ! -s conftest.err
13158 + } && test -s conftest.$ac_objext; then
13159 ac_cv_prog_cc_g=yes
13161 - echo "$as_me: failed program was:" >&5
13162 + $as_echo "$as_me: failed program was:" >&5
13163 sed 's/^/| /' conftest.$ac_ext >&5
13165 -ac_cv_prog_cc_g=no
13169 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13172 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13174 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13176 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13177 + ac_c_werror_flag=$ac_save_c_werror_flag
13179 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13180 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13181 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13182 +$as_echo "$ac_cv_prog_cc_g" >&6; }
13183 if test "$ac_test_CFLAGS" = set; then
13184 CFLAGS=$ac_save_CFLAGS
13185 elif test $ac_cv_prog_cc_g = yes; then
13186 @@ -2716,12 +3477,12 @@ else
13190 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
13191 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
13192 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
13193 - echo $ECHO_N "(cached) $ECHO_C" >&6
13194 +{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13195 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13196 +if test "${ac_cv_prog_cc_c89+set}" = set; then
13197 + $as_echo_n "(cached) " >&6
13199 - ac_cv_prog_cc_stdc=no
13200 + ac_cv_prog_cc_c89=no
13202 cat >conftest.$ac_ext <<_ACEOF
13204 @@ -2755,12 +3516,17 @@ static char *f (char * (*g) (char **, int), char **p, ...)
13205 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13206 function prototypes and stuff, but not '\xHH' hex character constants.
13207 These don't provoke an error unfortunately, instead are silently treated
13208 - as 'x'. The following induces an error, until -std1 is added to get
13209 + as 'x'. The following induces an error, until -std is added to get
13210 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13211 array size at least. It's necessary to write '\x00'==0 to get something
13212 - that's true only with -std1. */
13213 + that's true only with -std. */
13214 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13216 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13217 + inside strings and character constants. */
13218 +#define FOO(x) 'x'
13219 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13221 int test (int i, double x);
13222 struct s1 {int (*f) (int a);};
13223 struct s2 {int (*f) (double a);};
13224 @@ -2775,205 +3541,58 @@ return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13228 -# Don't try gcc -ansi; that turns off useful extensions and
13229 -# breaks some systems' header files.
13230 -# AIX -qlanglvl=ansi
13231 -# Ultrix and OSF/1 -std1
13232 -# HP-UX 10.20 and later -Ae
13233 -# HP-UX older versions -Aa -D_HPUX_SOURCE
13234 -# SVR4 -Xc -D__EXTENSIONS__
13235 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13236 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13237 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13239 CC="$ac_save_CC $ac_arg"
13240 rm -f conftest.$ac_objext
13241 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13242 - (eval $ac_compile) 2>conftest.er1
13243 +if { (ac_try="$ac_compile"
13244 +case "(($ac_try" in
13245 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13246 + *) ac_try_echo=$ac_try;;
13248 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13249 +$as_echo "$ac_try_echo") >&5
13250 + (eval "$ac_compile") 2>conftest.er1
13252 grep -v '^ *+' conftest.er1 >conftest.err
13254 cat conftest.err >&5
13255 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256 - (exit $ac_status); } &&
13257 - { ac_try='test -z "$ac_c_werror_flag"
13258 - || test ! -s conftest.err'
13259 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13260 - (eval $ac_try) 2>&5
13262 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13263 - (exit $ac_status); }; } &&
13264 - { ac_try='test -s conftest.$ac_objext'
13265 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13266 - (eval $ac_try) 2>&5
13268 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13269 - (exit $ac_status); }; }; then
13270 - ac_cv_prog_cc_stdc=$ac_arg
13273 - echo "$as_me: failed program was:" >&5
13274 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13275 + (exit $ac_status); } && {
13276 + test -z "$ac_c_werror_flag" ||
13277 + test ! -s conftest.err
13278 + } && test -s conftest.$ac_objext; then
13279 + ac_cv_prog_cc_c89=$ac_arg
13281 + $as_echo "$as_me: failed program was:" >&5
13282 sed 's/^/| /' conftest.$ac_ext >&5
13286 -rm -f conftest.err conftest.$ac_objext
13288 +rm -f core conftest.err conftest.$ac_objext
13289 + test "x$ac_cv_prog_cc_c89" != "xno" && break
13291 -rm -f conftest.$ac_ext conftest.$ac_objext
13292 +rm -f conftest.$ac_ext
13297 -case "x$ac_cv_prog_cc_stdc" in
13299 - echo "$as_me:$LINENO: result: none needed" >&5
13300 -echo "${ECHO_T}none needed" >&6 ;;
13302 +case "x$ac_cv_prog_cc_c89" in
13304 + { $as_echo "$as_me:$LINENO: result: none needed" >&5
13305 +$as_echo "none needed" >&6; } ;;
13307 + { $as_echo "$as_me:$LINENO: result: unsupported" >&5
13308 +$as_echo "unsupported" >&6; } ;;
13310 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
13311 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
13312 - CC="$CC $ac_cv_prog_cc_stdc" ;;
13313 + CC="$CC $ac_cv_prog_cc_c89"
13314 + { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13315 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13318 -# Some people use a C++ compiler to compile C. Since we use `exit',
13319 -# in C++ we need to declare it. In case someone uses the same compiler
13320 -# for both compiling C and C++ we need to have the C++ compiler decide
13321 -# the declaration of exit, since it's the most demanding environment.
13322 -cat >conftest.$ac_ext <<_ACEOF
13323 -#ifndef __cplusplus
13327 -rm -f conftest.$ac_objext
13328 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13329 - (eval $ac_compile) 2>conftest.er1
13331 - grep -v '^ *+' conftest.er1 >conftest.err
13332 - rm -f conftest.er1
13333 - cat conftest.err >&5
13334 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13335 - (exit $ac_status); } &&
13336 - { ac_try='test -z "$ac_c_werror_flag"
13337 - || test ! -s conftest.err'
13338 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13339 - (eval $ac_try) 2>&5
13341 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13342 - (exit $ac_status); }; } &&
13343 - { ac_try='test -s conftest.$ac_objext'
13344 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13345 - (eval $ac_try) 2>&5
13347 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13348 - (exit $ac_status); }; }; then
13349 - for ac_declaration in \
13351 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
13352 - 'extern "C" void std::exit (int); using std::exit;' \
13353 - 'extern "C" void exit (int) throw ();' \
13354 - 'extern "C" void exit (int);' \
13355 - 'void exit (int);'
13357 - cat >conftest.$ac_ext <<_ACEOF
13360 -cat confdefs.h >>conftest.$ac_ext
13361 -cat >>conftest.$ac_ext <<_ACEOF
13362 -/* end confdefs.h. */
13364 -#include <stdlib.h>
13373 -rm -f conftest.$ac_objext
13374 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13375 - (eval $ac_compile) 2>conftest.er1
13377 - grep -v '^ *+' conftest.er1 >conftest.err
13378 - rm -f conftest.er1
13379 - cat conftest.err >&5
13380 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 - (exit $ac_status); } &&
13382 - { ac_try='test -z "$ac_c_werror_flag"
13383 - || test ! -s conftest.err'
13384 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13385 - (eval $ac_try) 2>&5
13387 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13388 - (exit $ac_status); }; } &&
13389 - { ac_try='test -s conftest.$ac_objext'
13390 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13391 - (eval $ac_try) 2>&5
13393 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13394 - (exit $ac_status); }; }; then
13397 - echo "$as_me: failed program was:" >&5
13398 -sed 's/^/| /' conftest.$ac_ext >&5
13402 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13403 - cat >conftest.$ac_ext <<_ACEOF
13406 -cat confdefs.h >>conftest.$ac_ext
13407 -cat >>conftest.$ac_ext <<_ACEOF
13408 -/* end confdefs.h. */
13418 -rm -f conftest.$ac_objext
13419 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13420 - (eval $ac_compile) 2>conftest.er1
13422 - grep -v '^ *+' conftest.er1 >conftest.err
13423 - rm -f conftest.er1
13424 - cat conftest.err >&5
13425 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13426 - (exit $ac_status); } &&
13427 - { ac_try='test -z "$ac_c_werror_flag"
13428 - || test ! -s conftest.err'
13429 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13430 - (eval $ac_try) 2>&5
13432 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 - (exit $ac_status); }; } &&
13434 - { ac_try='test -s conftest.$ac_objext'
13435 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13436 - (eval $ac_try) 2>&5
13438 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439 - (exit $ac_status); }; }; then
13442 - echo "$as_me: failed program was:" >&5
13443 -sed 's/^/| /' conftest.$ac_ext >&5
13446 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13449 -if test -n "$ac_declaration"; then
13450 - echo '#ifdef __cplusplus' >>confdefs.h
13451 - echo $ac_declaration >>confdefs.h
13452 - echo '#endif' >>confdefs.h
13456 - echo "$as_me: failed program was:" >&5
13457 -sed 's/^/| /' conftest.$ac_ext >&5
13460 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13462 ac_cpp='$CPP $CPPFLAGS'
13463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13464 @@ -2981,7 +3600,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
13465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13466 DEPDIR="${am__leading_dot}deps"
13468 - ac_config_commands="$ac_config_commands depfiles"
13469 +ac_config_commands="$ac_config_commands depfiles"
13472 am_make=${MAKE-make}
13473 @@ -2991,8 +3610,8 @@ am__doit:
13476 # If we don't find an include directive, just comment out the code.
13477 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
13478 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
13479 +{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
13480 +$as_echo_n "checking for style of include used by $am_make... " >&6; }
13484 @@ -3019,15 +3638,15 @@ if test "$am__include" = "#"; then
13488 -echo "$as_me:$LINENO: result: $_am_result" >&5
13489 -echo "${ECHO_T}$_am_result" >&6
13490 +{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
13491 +$as_echo "$_am_result" >&6; }
13492 rm -f confinc confmf
13494 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
13495 +# Check whether --enable-dependency-tracking was given.
13496 if test "${enable_dependency_tracking+set}" = set; then
13497 - enableval="$enable_dependency_tracking"
13498 + enableval=$enable_dependency_tracking;
13502 if test "x$enable_dependency_tracking" != xno; then
13503 am_depcomp="$ac_aux_dir/depcomp"
13505 @@ -3047,10 +3666,10 @@ fi
13507 depcc="$CC" am_compiler_list=
13509 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13510 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
13511 +{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13512 +$as_echo_n "checking dependency style of $depcc... " >&6; }
13513 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
13514 - echo $ECHO_N "(cached) $ECHO_C" >&6
13515 + $as_echo_n "(cached) " >&6
13517 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13518 # We make a subdir and do the tests there. Otherwise we can end up
13519 @@ -3137,8 +3756,8 @@ else
13523 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
13524 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
13525 +{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
13526 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13527 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13530 @@ -3155,10 +3774,9 @@ fi
13534 -# Check whether --enable-static or --disable-static was given.
13535 +# Check whether --enable-static was given.
13536 if test "${enable_static+set}" = set; then
13537 - enableval="$enable_static"
13538 - p=${PACKAGE-default}
13539 + enableval=$enable_static; p=${PACKAGE-default}
13541 yes) enable_static=yes ;;
13542 no) enable_static=no ;;
13543 @@ -3177,13 +3795,13 @@ if test "${enable_static+set}" = set; then
13551 -# Check whether --enable-shared or --disable-shared was given.
13553 +# Check whether --enable-shared was given.
13554 if test "${enable_shared+set}" = set; then
13555 - enableval="$enable_shared"
13556 - p=${PACKAGE-default}
13557 + enableval=$enable_shared; p=${PACKAGE-default}
13559 yes) enable_shared=yes ;;
13560 no) enable_shared=no ;;
13561 @@ -3202,12 +3820,12 @@ if test "${enable_shared+set}" = set; then
13568 -# Check whether --enable-fast-install or --disable-fast-install was given.
13570 +# Check whether --enable-fast-install was given.
13571 if test "${enable_fast_install+set}" = set; then
13572 - enableval="$enable_fast_install"
13573 - p=${PACKAGE-default}
13574 + enableval=$enable_fast_install; p=${PACKAGE-default}
13576 yes) enable_fast_install=yes ;;
13577 no) enable_fast_install=no ;;
13578 @@ -3226,12 +3844,13 @@ if test "${enable_fast_install+set}" = set; then
13581 enable_fast_install=yes
13585 -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
13586 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
13588 +{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
13589 +$as_echo_n "checking for a sed that does not truncate output... " >&6; }
13590 if test "${lt_cv_path_SED+set}" = set; then
13591 - echo $ECHO_N "(cached) $ECHO_C" >&6
13592 + $as_echo_n "(cached) " >&6
13594 # Loop through the user's path and test for sed and gsed.
13595 # Then use that list of sed's as ones to test for truncation.
13596 @@ -3242,18 +3861,19 @@ do
13597 test -z "$as_dir" && as_dir=.
13598 for lt_ac_prog in sed gsed; do
13599 for ac_exec_ext in '' $ac_executable_extensions; do
13600 - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
13601 + if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
13602 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
13610 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
13611 # along with /bin/sed that truncates output.
13612 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
13613 - test ! -f $lt_ac_sed && break
13614 + test ! -f $lt_ac_sed && continue
13615 cat /dev/null > conftest.in
13617 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
13618 @@ -3278,41 +3898,161 @@ for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
13625 SED=$lt_cv_path_SED
13627 +{ $as_echo "$as_me:$LINENO: result: $SED" >&5
13628 +$as_echo "$SED" >&6; }
13630 +{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
13631 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
13632 +if test "${ac_cv_path_GREP+set}" = set; then
13633 + $as_echo_n "(cached) " >&6
13635 + if test -z "$GREP"; then
13636 + ac_path_GREP_found=false
13637 + # Loop through the user's path and test for each of PROGNAME-LIST
13638 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13639 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
13642 + test -z "$as_dir" && as_dir=.
13643 + for ac_prog in grep ggrep; do
13644 + for ac_exec_ext in '' $ac_executable_extensions; do
13645 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
13646 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
13647 +# Check for GNU ac_path_GREP and select it if it is found.
13648 + # Check for GNU $ac_path_GREP
13649 +case `"$ac_path_GREP" --version 2>&1` in
13651 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
13654 + $as_echo_n 0123456789 >"conftest.in"
13657 + cat "conftest.in" "conftest.in" >"conftest.tmp"
13658 + mv "conftest.tmp" "conftest.in"
13659 + cp "conftest.in" "conftest.nl"
13660 + $as_echo 'GREP' >> "conftest.nl"
13661 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
13662 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
13663 + ac_count=`expr $ac_count + 1`
13664 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
13665 + # Best one so far, save it but keep looking for a better one
13666 + ac_cv_path_GREP="$ac_path_GREP"
13667 + ac_path_GREP_max=$ac_count
13669 + # 10*(2^10) chars as input seems more than enough
13670 + test $ac_count -gt 10 && break
13672 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
13675 + $ac_path_GREP_found && break 3
13680 + if test -z "$ac_cv_path_GREP"; then
13681 + { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
13682 +$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
13683 + { (exit 1); exit 1; }; }
13686 + ac_cv_path_GREP=$GREP
13689 -echo "$as_me:$LINENO: result: $SED" >&5
13690 -echo "${ECHO_T}$SED" >&6
13692 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
13693 +$as_echo "$ac_cv_path_GREP" >&6; }
13694 + GREP="$ac_cv_path_GREP"
13696 -echo "$as_me:$LINENO: checking for egrep" >&5
13697 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13698 -if test "${ac_cv_prog_egrep+set}" = set; then
13699 - echo $ECHO_N "(cached) $ECHO_C" >&6
13701 +{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
13702 +$as_echo_n "checking for egrep... " >&6; }
13703 +if test "${ac_cv_path_EGREP+set}" = set; then
13704 + $as_echo_n "(cached) " >&6
13706 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13707 - then ac_cv_prog_egrep='grep -E'
13708 - else ac_cv_prog_egrep='egrep'
13709 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
13710 + then ac_cv_path_EGREP="$GREP -E"
13712 + if test -z "$EGREP"; then
13713 + ac_path_EGREP_found=false
13714 + # Loop through the user's path and test for each of PROGNAME-LIST
13715 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13716 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
13719 + test -z "$as_dir" && as_dir=.
13720 + for ac_prog in egrep; do
13721 + for ac_exec_ext in '' $ac_executable_extensions; do
13722 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
13723 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
13724 +# Check for GNU ac_path_EGREP and select it if it is found.
13725 + # Check for GNU $ac_path_EGREP
13726 +case `"$ac_path_EGREP" --version 2>&1` in
13728 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
13731 + $as_echo_n 0123456789 >"conftest.in"
13734 + cat "conftest.in" "conftest.in" >"conftest.tmp"
13735 + mv "conftest.tmp" "conftest.in"
13736 + cp "conftest.in" "conftest.nl"
13737 + $as_echo 'EGREP' >> "conftest.nl"
13738 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
13739 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
13740 + ac_count=`expr $ac_count + 1`
13741 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
13742 + # Best one so far, save it but keep looking for a better one
13743 + ac_cv_path_EGREP="$ac_path_EGREP"
13744 + ac_path_EGREP_max=$ac_count
13746 + # 10*(2^10) chars as input seems more than enough
13747 + test $ac_count -gt 10 && break
13749 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
13752 + $ac_path_EGREP_found && break 3
13757 + if test -z "$ac_cv_path_EGREP"; then
13758 + { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
13759 +$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
13760 + { (exit 1); exit 1; }; }
13763 + ac_cv_path_EGREP=$EGREP
13765 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13766 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13767 - EGREP=$ac_cv_prog_egrep
13771 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
13772 +$as_echo "$ac_cv_path_EGREP" >&6; }
13773 + EGREP="$ac_cv_path_EGREP"
13777 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
13778 +# Check whether --with-gnu-ld was given.
13779 if test "${with_gnu_ld+set}" = set; then
13780 - withval="$with_gnu_ld"
13781 - test "$withval" = no || with_gnu_ld=yes
13782 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13789 if test "$GCC" = yes; then
13790 # Check if gcc -print-prog-name=ld gives a path.
13791 - echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13792 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
13793 + { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13794 +$as_echo_n "checking for ld used by $CC... " >&6; }
13797 # gcc leaves a trailing carriage return which upsets mingw
13798 @@ -3341,14 +4081,14 @@ echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
13801 elif test "$with_gnu_ld" = yes; then
13802 - echo "$as_me:$LINENO: checking for GNU ld" >&5
13803 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
13804 + { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
13805 +$as_echo_n "checking for GNU ld... " >&6; }
13807 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13808 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
13809 + { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13810 +$as_echo_n "checking for non-GNU ld... " >&6; }
13812 if test "${lt_cv_path_LD+set}" = set; then
13813 - echo $ECHO_N "(cached) $ECHO_C" >&6
13814 + $as_echo_n "(cached) " >&6
13816 if test -z "$LD"; then
13817 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13818 @@ -3358,7 +4098,7 @@ else
13819 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13820 lt_cv_path_LD="$ac_dir/$ac_prog"
13821 # Check to see if the program is GNU ld. I'd rather use --version,
13822 - # but apparently some GNU ld's only accept -v.
13823 + # but apparently some variants of GNU ld only accept -v.
13824 # Break only if it was the GNU/non-GNU ld that we prefer.
13825 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13826 *GNU* | *'with BFD'*)
13827 @@ -3378,21 +4118,21 @@ fi
13829 LD="$lt_cv_path_LD"
13830 if test -n "$LD"; then
13831 - echo "$as_me:$LINENO: result: $LD" >&5
13832 -echo "${ECHO_T}$LD" >&6
13833 + { $as_echo "$as_me:$LINENO: result: $LD" >&5
13834 +$as_echo "$LD" >&6; }
13836 - echo "$as_me:$LINENO: result: no" >&5
13837 -echo "${ECHO_T}no" >&6
13838 + { $as_echo "$as_me:$LINENO: result: no" >&5
13839 +$as_echo "no" >&6; }
13841 -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13842 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13843 +test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13844 +$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13845 { (exit 1); exit 1; }; }
13846 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13847 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
13848 +{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13849 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13850 if test "${lt_cv_prog_gnu_ld+set}" = set; then
13851 - echo $ECHO_N "(cached) $ECHO_C" >&6
13852 + $as_echo_n "(cached) " >&6
13854 - # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13855 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
13856 case `$LD -v 2>&1 </dev/null` in
13857 *GNU* | *'with BFD'*)
13858 lt_cv_prog_gnu_ld=yes
13859 @@ -3402,88 +4142,104 @@ case `$LD -v 2>&1 </dev/null` in
13863 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13864 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
13865 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13866 +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
13867 with_gnu_ld=$lt_cv_prog_gnu_ld
13870 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
13871 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
13872 +{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
13873 +$as_echo_n "checking for $LD option to reload object files... " >&6; }
13874 if test "${lt_cv_ld_reload_flag+set}" = set; then
13875 - echo $ECHO_N "(cached) $ECHO_C" >&6
13876 + $as_echo_n "(cached) " >&6
13878 lt_cv_ld_reload_flag='-r'
13880 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
13881 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
13882 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
13883 +$as_echo "$lt_cv_ld_reload_flag" >&6; }
13884 reload_flag=$lt_cv_ld_reload_flag
13885 case $reload_flag in
13887 *) reload_flag=" $reload_flag" ;;
13889 reload_cmds='$LD$reload_flag -o $output$reload_objs'
13892 + if test "$GCC" = yes; then
13893 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
13895 + reload_cmds='$LD$reload_flag -o $output$reload_objs'
13900 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
13901 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
13902 +{ $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
13903 +$as_echo_n "checking for BSD-compatible nm... " >&6; }
13904 if test "${lt_cv_path_NM+set}" = set; then
13905 - echo $ECHO_N "(cached) $ECHO_C" >&6
13906 + $as_echo_n "(cached) " >&6
13908 if test -n "$NM"; then
13909 # Let the user override the test.
13910 lt_cv_path_NM="$NM"
13912 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13913 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
13914 - IFS="$lt_save_ifs"
13915 - test -z "$ac_dir" && ac_dir=.
13916 - tmp_nm="$ac_dir/${ac_tool_prefix}nm"
13917 - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
13918 - # Check to see if the nm accepts a BSD-compat flag.
13919 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
13920 - # nm: unknown option "B" ignored
13921 - # Tru64's nm complains that /dev/null is an invalid object file
13922 - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
13923 - */dev/null* | *'Invalid file or object type'*)
13924 - lt_cv_path_NM="$tmp_nm -B"
13928 - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
13930 - lt_cv_path_NM="$tmp_nm -p"
13931 + lt_nm_to_check="${ac_tool_prefix}nm"
13932 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
13933 + lt_nm_to_check="$lt_nm_to_check nm"
13935 + for lt_tmp_nm in $lt_nm_to_check; do
13936 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13937 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
13938 + IFS="$lt_save_ifs"
13939 + test -z "$ac_dir" && ac_dir=.
13940 + tmp_nm="$ac_dir/$lt_tmp_nm"
13941 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
13942 + # Check to see if the nm accepts a BSD-compat flag.
13943 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
13944 + # nm: unknown option "B" ignored
13945 + # Tru64's nm complains that /dev/null is an invalid object file
13946 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
13947 + */dev/null* | *'Invalid file or object type'*)
13948 + lt_cv_path_NM="$tmp_nm -B"
13952 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
13953 - continue # so that we can try to find one that supports BSD flags
13954 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
13956 + lt_cv_path_NM="$tmp_nm -p"
13960 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
13961 + continue # so that we can try to find one that supports BSD flags
13970 + IFS="$lt_save_ifs"
13972 - IFS="$lt_save_ifs"
13973 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
13976 -echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
13977 -echo "${ECHO_T}$lt_cv_path_NM" >&6
13978 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
13979 +$as_echo "$lt_cv_path_NM" >&6; }
13980 NM="$lt_cv_path_NM"
13982 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
13983 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13984 +{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
13985 +$as_echo_n "checking whether ln -s works... " >&6; }
13987 if test "$LN_S" = "ln -s"; then
13988 - echo "$as_me:$LINENO: result: yes" >&5
13989 -echo "${ECHO_T}yes" >&6
13990 + { $as_echo "$as_me:$LINENO: result: yes" >&5
13991 +$as_echo "yes" >&6; }
13993 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13994 -echo "${ECHO_T}no, using $LN_S" >&6
13995 + { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13996 +$as_echo "no, using $LN_S" >&6; }
13999 -echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
14000 -echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
14001 +{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
14002 +$as_echo_n "checking how to recognize dependent libraries... " >&6; }
14003 if test "${lt_cv_deplibs_check_method+set}" = set; then
14004 - echo $ECHO_N "(cached) $ECHO_C" >&6
14005 + $as_echo_n "(cached) " >&6
14007 lt_cv_file_magic_cmd='$MAGIC_CMD'
14008 lt_cv_file_magic_test_file=
14009 @@ -3500,7 +4256,7 @@ lt_cv_deplibs_check_method='unknown'
14010 # whether `pass_all' will *always* work, you probably want this one.
14015 lt_cv_deplibs_check_method=pass_all
14018 @@ -3508,7 +4264,7 @@ beos*)
14019 lt_cv_deplibs_check_method=pass_all
14024 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
14025 lt_cv_file_magic_cmd='/usr/bin/file -L'
14026 lt_cv_file_magic_test_file=/shlib/libc.so
14027 @@ -3522,22 +4278,28 @@ cygwin*)
14030 # Base MSYS/MinGW do not provide the 'file' command needed by
14031 - # func_win32_libid shell function, so use a weaker test based on 'objdump'.
14032 - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
14033 - lt_cv_file_magic_cmd='$OBJDUMP -f'
14034 + # func_win32_libid shell function, so use a weaker test based on 'objdump',
14035 + # unless we find 'file', for example because we are cross-compiling.
14036 + if ( file / ) >/dev/null 2>&1; then
14037 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
14038 + lt_cv_file_magic_cmd='func_win32_libid'
14040 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
14041 + lt_cv_file_magic_cmd='$OBJDUMP -f'
14045 darwin* | rhapsody*)
14046 lt_cv_deplibs_check_method=pass_all
14049 -freebsd* | kfreebsd*-gnu)
14050 +freebsd* | dragonfly*)
14051 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
14054 # Not sure whether the presence of OpenBSD here was a mistake.
14055 # Let's accept both of them until this is cleared up.
14056 - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
14057 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
14058 lt_cv_file_magic_cmd=/usr/bin/file
14059 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
14061 @@ -3553,7 +4315,7 @@ gnu*)
14063 hpux10.20* | hpux11*)
14064 lt_cv_file_magic_cmd=/usr/bin/file
14065 - case "$host_cpu" in
14066 + case $host_cpu in
14068 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
14069 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
14070 @@ -3569,6 +4331,11 @@ hpux10.20* | hpux11*)
14075 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
14076 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
14079 irix5* | irix6* | nonstopux*)
14081 *-32|*"-32 ") libmagic=32-bit;;
14082 @@ -3580,20 +4347,11 @@ irix5* | irix6* | nonstopux*)
14085 # This must be Linux ELF.
14087 - case $host_cpu in
14088 - alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*)
14089 - lt_cv_deplibs_check_method=pass_all ;;
14091 - # glibc up to 2.1.1 does not perform some relocations on ARM
14092 - # this will be overridden with pass_all, but let us keep it just in case
14093 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
14095 - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
14096 +linux* | k*bsd*-gnu)
14097 lt_cv_deplibs_check_method=pass_all
14101 +netbsd* | netbsdelf*-gnu)
14102 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
14103 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
14105 @@ -3612,12 +4370,10 @@ nto-qnx*)
14109 - lt_cv_file_magic_cmd=/usr/bin/file
14110 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
14111 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14112 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
14113 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
14115 - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
14116 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
14120 @@ -3625,7 +4381,7 @@ osf3* | osf4* | osf5*)
14121 lt_cv_deplibs_check_method=pass_all
14126 lt_cv_deplibs_check_method=pass_all
14129 @@ -3633,7 +4389,7 @@ solaris*)
14130 lt_cv_deplibs_check_method=pass_all
14133 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14135 case $host_vendor in
14137 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]'
14138 @@ -3654,17 +4410,20 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14140 lt_cv_deplibs_check_method=pass_all
14143 + lt_cv_deplibs_check_method=pass_all
14148 -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
14149 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14150 lt_cv_deplibs_check_method=pass_all
14155 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
14156 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
14157 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
14158 +$as_echo "$lt_cv_deplibs_check_method" >&6; }
14159 file_magic_cmd=$lt_cv_file_magic_cmd
14160 deplibs_check_method=$lt_cv_deplibs_check_method
14161 test -z "$deplibs_check_method" && deplibs_check_method=unknown
14162 @@ -3675,15 +4434,18 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
14163 # If no C compiler was specified, use CC.
14166 +# If no C compiler flags were specified, use CFLAGS.
14167 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14169 # Allow CC to be a program name with arguments.
14173 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
14174 +# Check whether --enable-libtool-lock was given.
14175 if test "${enable_libtool_lock+set}" = set; then
14176 - enableval="$enable_libtool_lock"
14177 + enableval=$enable_libtool_lock;
14181 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
14183 # Some flags need to be propagated to the compiler or linker for good
14184 @@ -3695,7 +4457,7 @@ ia64-*-hpux*)
14185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14186 (eval $ac_compile) 2>&5
14188 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14189 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14190 (exit $ac_status); }; then
14191 case `/usr/bin/file conftest.$ac_objext` in
14193 @@ -3710,11 +4472,11 @@ ia64-*-hpux*)
14196 # Find out which ABI we are using.
14197 - echo '#line 3713 "configure"' > conftest.$ac_ext
14198 + echo '#line 4475 "configure"' > conftest.$ac_ext
14199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14200 (eval $ac_compile) 2>&5
14202 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204 (exit $ac_status); }; then
14205 if test "$lt_cv_prog_gnu_ld" = yes; then
14206 case `/usr/bin/file conftest.$ac_objext` in
14207 @@ -3745,17 +4507,21 @@ ia64-*-hpux*)
14211 -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
14212 +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
14213 +s390*-*linux*|sparc*-*linux*)
14214 # Find out which ABI we are using.
14215 echo 'int i;' > conftest.$ac_ext
14216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14217 (eval $ac_compile) 2>&5
14219 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14221 (exit $ac_status); }; then
14222 - case "`/usr/bin/file conftest.o`" in
14223 + case `/usr/bin/file conftest.o` in
14226 + x86_64-*kfreebsd*-gnu)
14227 + LD="${LD-ld} -m elf_i386_fbsd"
14230 LD="${LD-ld} -m elf_i386"
14232 @@ -3772,6 +4538,9 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
14236 + x86_64-*kfreebsd*-gnu)
14237 + LD="${LD-ld} -m elf_x86_64_fbsd"
14240 LD="${LD-ld} -m elf_x86_64"
14242 @@ -3795,10 +4564,10 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
14243 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
14244 SAVE_CFLAGS="$CFLAGS"
14245 CFLAGS="$CFLAGS -belf"
14246 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
14247 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
14248 + { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
14249 +$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
14250 if test "${lt_cv_cc_needs_belf+set}" = set; then
14251 - echo $ECHO_N "(cached) $ECHO_C" >&6
14252 + $as_echo_n "(cached) " >&6
14255 ac_cpp='$CPP $CPPFLAGS'
14256 @@ -3822,35 +4591,36 @@ main ()
14259 rm -f conftest.$ac_objext conftest$ac_exeext
14260 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14261 - (eval $ac_link) 2>conftest.er1
14262 +if { (ac_try="$ac_link"
14263 +case "(($ac_try" in
14264 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14265 + *) ac_try_echo=$ac_try;;
14267 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14268 +$as_echo "$ac_try_echo") >&5
14269 + (eval "$ac_link") 2>conftest.er1
14271 grep -v '^ *+' conftest.er1 >conftest.err
14273 cat conftest.err >&5
14274 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14275 - (exit $ac_status); } &&
14276 - { ac_try='test -z "$ac_c_werror_flag"
14277 - || test ! -s conftest.err'
14278 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14279 - (eval $ac_try) 2>&5
14281 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14282 - (exit $ac_status); }; } &&
14283 - { ac_try='test -s conftest$ac_exeext'
14284 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14285 - (eval $ac_try) 2>&5
14287 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14288 - (exit $ac_status); }; }; then
14289 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14290 + (exit $ac_status); } && {
14291 + test -z "$ac_c_werror_flag" ||
14292 + test ! -s conftest.err
14293 + } && test -s conftest$ac_exeext && {
14294 + test "$cross_compiling" = yes ||
14295 + $as_test_x conftest$ac_exeext
14297 lt_cv_cc_needs_belf=yes
14299 - echo "$as_me: failed program was:" >&5
14300 + $as_echo "$as_me: failed program was:" >&5
14301 sed 's/^/| /' conftest.$ac_ext >&5
14303 -lt_cv_cc_needs_belf=no
14304 + lt_cv_cc_needs_belf=no
14306 -rm -f conftest.err conftest.$ac_objext \
14308 +rm -rf conftest.dSYM
14309 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14310 conftest$ac_exeext conftest.$ac_ext
14312 ac_cpp='$CPP $CPPFLAGS'
14313 @@ -3859,13 +4629,37 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
14314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14317 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
14318 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
14319 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
14320 +$as_echo "$lt_cv_cc_needs_belf" >&6; }
14321 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
14322 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
14323 CFLAGS="$SAVE_CFLAGS"
14327 + # Find out which ABI we are using.
14328 + echo 'int i;' > conftest.$ac_ext
14329 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14330 + (eval $ac_compile) 2>&5
14332 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14333 + (exit $ac_status); }; then
14334 + case `/usr/bin/file conftest.o` in
14336 + case $lt_cv_prog_gnu_ld in
14337 + yes*) LD="${LD-ld} -m elf64_sparc" ;;
14339 + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
14340 + LD="${LD-ld} -64"
14353 @@ -3877,15 +4671,15 @@ ac_cpp='$CPP $CPPFLAGS'
14354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14357 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14358 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
14359 +{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14360 +$as_echo_n "checking how to run the C preprocessor... " >&6; }
14361 # On Suns, sometimes $CPP names a directory.
14362 if test -n "$CPP" && test -d "$CPP"; then
14365 if test -z "$CPP"; then
14366 if test "${ac_cv_prog_CPP+set}" = set; then
14367 - echo $ECHO_N "(cached) $ECHO_C" >&6
14368 + $as_echo_n "(cached) " >&6
14370 # Double quotes because CPP needs to be expanded
14371 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14372 @@ -3912,35 +4706,35 @@ cat >>conftest.$ac_ext <<_ACEOF
14376 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14377 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14378 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14379 +case "(($ac_try" in
14380 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14381 + *) ac_try_echo=$ac_try;;
14383 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14384 +$as_echo "$ac_try_echo") >&5
14385 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14387 grep -v '^ *+' conftest.er1 >conftest.err
14389 cat conftest.err >&5
14390 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 - (exit $ac_status); } >/dev/null; then
14392 - if test -s conftest.err; then
14393 - ac_cpp_err=$ac_c_preproc_warn_flag
14394 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14401 -if test -z "$ac_cpp_err"; then
14402 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 + (exit $ac_status); } >/dev/null && {
14404 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14405 + test ! -s conftest.err
14409 - echo "$as_me: failed program was:" >&5
14410 + $as_echo "$as_me: failed program was:" >&5
14411 sed 's/^/| /' conftest.$ac_ext >&5
14413 # Broken: fails on valid input.
14417 rm -f conftest.err conftest.$ac_ext
14419 - # OK, works on sane cases. Now check whether non-existent headers
14420 + # OK, works on sane cases. Now check whether nonexistent headers
14421 # can be detected and how.
14422 cat >conftest.$ac_ext <<_ACEOF
14424 @@ -3950,34 +4744,34 @@ cat >>conftest.$ac_ext <<_ACEOF
14425 /* end confdefs.h. */
14426 #include <ac_nonexistent.h>
14428 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14429 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14430 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14431 +case "(($ac_try" in
14432 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14433 + *) ac_try_echo=$ac_try;;
14435 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14436 +$as_echo "$ac_try_echo") >&5
14437 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14439 grep -v '^ *+' conftest.er1 >conftest.err
14441 cat conftest.err >&5
14442 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 - (exit $ac_status); } >/dev/null; then
14444 - if test -s conftest.err; then
14445 - ac_cpp_err=$ac_c_preproc_warn_flag
14446 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14453 -if test -z "$ac_cpp_err"; then
14454 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14455 + (exit $ac_status); } >/dev/null && {
14456 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14457 + test ! -s conftest.err
14459 # Broken: success on invalid input.
14462 - echo "$as_me: failed program was:" >&5
14463 + $as_echo "$as_me: failed program was:" >&5
14464 sed 's/^/| /' conftest.$ac_ext >&5
14466 # Passes both tests.
14471 rm -f conftest.err conftest.$ac_ext
14474 @@ -3995,8 +4789,8 @@ fi
14476 ac_cv_prog_CPP=$CPP
14478 -echo "$as_me:$LINENO: result: $CPP" >&5
14479 -echo "${ECHO_T}$CPP" >&6
14480 +{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
14481 +$as_echo "$CPP" >&6; }
14482 ac_preproc_ok=false
14483 for ac_c_preproc_warn_flag in '' yes
14485 @@ -4019,35 +4813,35 @@ cat >>conftest.$ac_ext <<_ACEOF
14489 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14490 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14491 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14492 +case "(($ac_try" in
14493 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14494 + *) ac_try_echo=$ac_try;;
14496 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14497 +$as_echo "$ac_try_echo") >&5
14498 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14500 grep -v '^ *+' conftest.er1 >conftest.err
14502 cat conftest.err >&5
14503 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 - (exit $ac_status); } >/dev/null; then
14505 - if test -s conftest.err; then
14506 - ac_cpp_err=$ac_c_preproc_warn_flag
14507 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14514 -if test -z "$ac_cpp_err"; then
14515 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516 + (exit $ac_status); } >/dev/null && {
14517 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14518 + test ! -s conftest.err
14522 - echo "$as_me: failed program was:" >&5
14523 + $as_echo "$as_me: failed program was:" >&5
14524 sed 's/^/| /' conftest.$ac_ext >&5
14526 # Broken: fails on valid input.
14530 rm -f conftest.err conftest.$ac_ext
14532 - # OK, works on sane cases. Now check whether non-existent headers
14533 + # OK, works on sane cases. Now check whether nonexistent headers
14534 # can be detected and how.
14535 cat >conftest.$ac_ext <<_ACEOF
14537 @@ -4057,34 +4851,34 @@ cat >>conftest.$ac_ext <<_ACEOF
14538 /* end confdefs.h. */
14539 #include <ac_nonexistent.h>
14541 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14542 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14543 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14544 +case "(($ac_try" in
14545 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14546 + *) ac_try_echo=$ac_try;;
14548 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14549 +$as_echo "$ac_try_echo") >&5
14550 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14552 grep -v '^ *+' conftest.er1 >conftest.err
14554 cat conftest.err >&5
14555 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14556 - (exit $ac_status); } >/dev/null; then
14557 - if test -s conftest.err; then
14558 - ac_cpp_err=$ac_c_preproc_warn_flag
14559 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14566 -if test -z "$ac_cpp_err"; then
14567 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14568 + (exit $ac_status); } >/dev/null && {
14569 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14570 + test ! -s conftest.err
14572 # Broken: success on invalid input.
14575 - echo "$as_me: failed program was:" >&5
14576 + $as_echo "$as_me: failed program was:" >&5
14577 sed 's/^/| /' conftest.$ac_ext >&5
14579 # Passes both tests.
14584 rm -f conftest.err conftest.$ac_ext
14587 @@ -4093,11 +4887,13 @@ rm -f conftest.err conftest.$ac_ext
14588 if $ac_preproc_ok; then
14591 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14592 + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14593 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14594 +{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14595 See \`config.log' for more details." >&5
14596 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14597 +$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14598 See \`config.log' for more details." >&2;}
14599 - { (exit 1); exit 1; }; }
14600 + { (exit 1); exit 1; }; }; }
14604 @@ -4107,10 +4903,10 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
14605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14608 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14609 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
14610 +{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14611 +$as_echo_n "checking for ANSI C header files... " >&6; }
14612 if test "${ac_cv_header_stdc+set}" = set; then
14613 - echo $ECHO_N "(cached) $ECHO_C" >&6
14614 + $as_echo_n "(cached) " >&6
14616 cat >conftest.$ac_ext <<_ACEOF
14618 @@ -4132,35 +4928,32 @@ main ()
14621 rm -f conftest.$ac_objext
14622 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14623 - (eval $ac_compile) 2>conftest.er1
14624 +if { (ac_try="$ac_compile"
14625 +case "(($ac_try" in
14626 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14627 + *) ac_try_echo=$ac_try;;
14629 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14630 +$as_echo "$ac_try_echo") >&5
14631 + (eval "$ac_compile") 2>conftest.er1
14633 grep -v '^ *+' conftest.er1 >conftest.err
14635 cat conftest.err >&5
14636 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 - (exit $ac_status); } &&
14638 - { ac_try='test -z "$ac_c_werror_flag"
14639 - || test ! -s conftest.err'
14640 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14641 - (eval $ac_try) 2>&5
14643 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 - (exit $ac_status); }; } &&
14645 - { ac_try='test -s conftest.$ac_objext'
14646 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14647 - (eval $ac_try) 2>&5
14649 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 - (exit $ac_status); }; }; then
14651 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 + (exit $ac_status); } && {
14653 + test -z "$ac_c_werror_flag" ||
14654 + test ! -s conftest.err
14655 + } && test -s conftest.$ac_objext; then
14656 ac_cv_header_stdc=yes
14658 - echo "$as_me: failed program was:" >&5
14659 + $as_echo "$as_me: failed program was:" >&5
14660 sed 's/^/| /' conftest.$ac_ext >&5
14662 -ac_cv_header_stdc=no
14663 + ac_cv_header_stdc=no
14665 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14667 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14669 if test $ac_cv_header_stdc = yes; then
14670 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14671 @@ -4216,6 +5009,7 @@ cat confdefs.h >>conftest.$ac_ext
14672 cat >>conftest.$ac_ext <<_ACEOF
14673 /* end confdefs.h. */
14675 +#include <stdlib.h>
14676 #if ((' ' & 0x0FF) == 0x020)
14677 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14678 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14679 @@ -4235,36 +5029,50 @@ main ()
14680 for (i = 0; i < 256; i++)
14681 if (XOR (islower (i), ISLOWER (i))
14682 || toupper (i) != TOUPPER (i))
14689 rm -f conftest$ac_exeext
14690 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14691 - (eval $ac_link) 2>&5
14692 +if { (ac_try="$ac_link"
14693 +case "(($ac_try" in
14694 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14695 + *) ac_try_echo=$ac_try;;
14697 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14698 +$as_echo "$ac_try_echo") >&5
14699 + (eval "$ac_link") 2>&5
14701 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14702 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14703 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14704 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14705 - (eval $ac_try) 2>&5
14706 + { (case "(($ac_try" in
14707 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14708 + *) ac_try_echo=$ac_try;;
14710 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14711 +$as_echo "$ac_try_echo") >&5
14712 + (eval "$ac_try") 2>&5
14714 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14715 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14716 (exit $ac_status); }; }; then
14719 - echo "$as_me: program exited with status $ac_status" >&5
14720 -echo "$as_me: failed program was:" >&5
14721 + $as_echo "$as_me: program exited with status $ac_status" >&5
14722 +$as_echo "$as_me: failed program was:" >&5
14723 sed 's/^/| /' conftest.$ac_ext >&5
14725 ( exit $ac_status )
14726 ac_cv_header_stdc=no
14728 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14729 +rm -rf conftest.dSYM
14730 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14736 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14737 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
14738 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14739 +$as_echo "$ac_cv_header_stdc" >&6; }
14740 if test $ac_cv_header_stdc = yes; then
14742 cat >>confdefs.h <<\_ACEOF
14743 @@ -4286,11 +5094,11 @@ fi
14744 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
14745 inttypes.h stdint.h unistd.h
14747 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14748 -echo "$as_me:$LINENO: checking for $ac_header" >&5
14749 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14750 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14751 - echo $ECHO_N "(cached) $ECHO_C" >&6
14752 +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14753 +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14754 +$as_echo_n "checking for $ac_header... " >&6; }
14755 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14756 + $as_echo_n "(cached) " >&6
14758 cat >conftest.$ac_ext <<_ACEOF
14760 @@ -4303,41 +5111,42 @@ $ac_includes_default
14761 #include <$ac_header>
14763 rm -f conftest.$ac_objext
14764 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14765 - (eval $ac_compile) 2>conftest.er1
14766 +if { (ac_try="$ac_compile"
14767 +case "(($ac_try" in
14768 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14769 + *) ac_try_echo=$ac_try;;
14771 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14772 +$as_echo "$ac_try_echo") >&5
14773 + (eval "$ac_compile") 2>conftest.er1
14775 grep -v '^ *+' conftest.er1 >conftest.err
14777 cat conftest.err >&5
14778 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14779 - (exit $ac_status); } &&
14780 - { ac_try='test -z "$ac_c_werror_flag"
14781 - || test ! -s conftest.err'
14782 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14783 - (eval $ac_try) 2>&5
14785 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14786 - (exit $ac_status); }; } &&
14787 - { ac_try='test -s conftest.$ac_objext'
14788 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14789 - (eval $ac_try) 2>&5
14791 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14792 - (exit $ac_status); }; }; then
14793 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14794 + (exit $ac_status); } && {
14795 + test -z "$ac_c_werror_flag" ||
14796 + test ! -s conftest.err
14797 + } && test -s conftest.$ac_objext; then
14798 eval "$as_ac_Header=yes"
14800 - echo "$as_me: failed program was:" >&5
14801 + $as_echo "$as_me: failed program was:" >&5
14802 sed 's/^/| /' conftest.$ac_ext >&5
14804 -eval "$as_ac_Header=no"
14805 + eval "$as_ac_Header=no"
14807 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14809 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14811 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14812 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14813 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
14814 +ac_res=`eval 'as_val=${'$as_ac_Header'}
14815 + $as_echo "$as_val"'`
14816 + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14817 +$as_echo "$ac_res" >&6; }
14818 +as_val=`eval 'as_val=${'$as_ac_Header'}
14819 + $as_echo "$as_val"'`
14820 + if test "x$as_val" = x""yes; then
14821 cat >>confdefs.h <<_ACEOF
14822 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14823 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14827 @@ -4348,19 +5157,21 @@ done
14829 for ac_header in dlfcn.h
14831 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14832 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14833 - echo "$as_me:$LINENO: checking for $ac_header" >&5
14834 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14835 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14836 - echo $ECHO_N "(cached) $ECHO_C" >&6
14838 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14839 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14840 +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14841 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14842 + { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14843 +$as_echo_n "checking for $ac_header... " >&6; }
14844 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14845 + $as_echo_n "(cached) " >&6
14847 +ac_res=`eval 'as_val=${'$as_ac_Header'}
14848 + $as_echo "$as_val"'`
14849 + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14850 +$as_echo "$ac_res" >&6; }
14852 # Is the header compilable?
14853 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
14854 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14855 +{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14856 +$as_echo_n "checking $ac_header usability... " >&6; }
14857 cat >conftest.$ac_ext <<_ACEOF
14860 @@ -4371,41 +5182,38 @@ $ac_includes_default
14861 #include <$ac_header>
14863 rm -f conftest.$ac_objext
14864 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14865 - (eval $ac_compile) 2>conftest.er1
14866 +if { (ac_try="$ac_compile"
14867 +case "(($ac_try" in
14868 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14869 + *) ac_try_echo=$ac_try;;
14871 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14872 +$as_echo "$ac_try_echo") >&5
14873 + (eval "$ac_compile") 2>conftest.er1
14875 grep -v '^ *+' conftest.er1 >conftest.err
14877 cat conftest.err >&5
14878 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 - (exit $ac_status); } &&
14880 - { ac_try='test -z "$ac_c_werror_flag"
14881 - || test ! -s conftest.err'
14882 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14883 - (eval $ac_try) 2>&5
14885 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 - (exit $ac_status); }; } &&
14887 - { ac_try='test -s conftest.$ac_objext'
14888 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14889 - (eval $ac_try) 2>&5
14891 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892 - (exit $ac_status); }; }; then
14893 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 + (exit $ac_status); } && {
14895 + test -z "$ac_c_werror_flag" ||
14896 + test ! -s conftest.err
14897 + } && test -s conftest.$ac_objext; then
14898 ac_header_compiler=yes
14900 - echo "$as_me: failed program was:" >&5
14901 + $as_echo "$as_me: failed program was:" >&5
14902 sed 's/^/| /' conftest.$ac_ext >&5
14904 -ac_header_compiler=no
14905 + ac_header_compiler=no
14907 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14908 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14909 -echo "${ECHO_T}$ac_header_compiler" >&6
14911 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14912 +{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14913 +$as_echo "$ac_header_compiler" >&6; }
14915 # Is the header present?
14916 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
14917 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14918 +{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14919 +$as_echo_n "checking $ac_header presence... " >&6; }
14920 cat >conftest.$ac_ext <<_ACEOF
14923 @@ -4414,101 +5222,102 @@ cat >>conftest.$ac_ext <<_ACEOF
14924 /* end confdefs.h. */
14925 #include <$ac_header>
14927 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14928 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14929 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14930 +case "(($ac_try" in
14931 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14932 + *) ac_try_echo=$ac_try;;
14934 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14935 +$as_echo "$ac_try_echo") >&5
14936 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14938 grep -v '^ *+' conftest.er1 >conftest.err
14940 cat conftest.err >&5
14941 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14942 - (exit $ac_status); } >/dev/null; then
14943 - if test -s conftest.err; then
14944 - ac_cpp_err=$ac_c_preproc_warn_flag
14945 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14952 -if test -z "$ac_cpp_err"; then
14953 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14954 + (exit $ac_status); } >/dev/null && {
14955 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14956 + test ! -s conftest.err
14958 ac_header_preproc=yes
14960 - echo "$as_me: failed program was:" >&5
14961 + $as_echo "$as_me: failed program was:" >&5
14962 sed 's/^/| /' conftest.$ac_ext >&5
14964 ac_header_preproc=no
14967 rm -f conftest.err conftest.$ac_ext
14968 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14969 -echo "${ECHO_T}$ac_header_preproc" >&6
14970 +{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14971 +$as_echo "$ac_header_preproc" >&6; }
14973 # So? What about this header?
14974 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14976 - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14977 -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14978 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14979 -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14980 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14981 +$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14982 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14983 +$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14984 ac_header_preproc=yes
14987 - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14988 -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14989 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14990 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14991 - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14992 -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14993 - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14994 -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14995 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14996 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14997 - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14998 -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15001 -## ------------------------------------------ ##
15002 -## Report this to the AC_PACKAGE_NAME lists. ##
15003 -## ------------------------------------------ ##
15006 - sed "s/^/$as_me: WARNING: /" >&2
15007 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15008 +$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15009 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15010 +$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15011 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15012 +$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15013 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15014 +$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15015 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15016 +$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15017 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15018 +$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15022 -echo "$as_me:$LINENO: checking for $ac_header" >&5
15023 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15024 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
15025 - echo $ECHO_N "(cached) $ECHO_C" >&6
15026 +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15027 +$as_echo_n "checking for $ac_header... " >&6; }
15028 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15029 + $as_echo_n "(cached) " >&6
15031 eval "$as_ac_Header=\$ac_header_preproc"
15033 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15034 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15035 +ac_res=`eval 'as_val=${'$as_ac_Header'}
15036 + $as_echo "$as_val"'`
15037 + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15038 +$as_echo "$ac_res" >&6; }
15041 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
15042 +as_val=`eval 'as_val=${'$as_ac_Header'}
15043 + $as_echo "$as_val"'`
15044 + if test "x$as_val" = x""yes; then
15045 cat >>confdefs.h <<_ACEOF
15046 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15047 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15056 ac_cpp='$CXXCPP $CPPFLAGS'
15057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15060 -if test -n "$ac_tool_prefix"; then
15061 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
15062 +if test -z "$CXX"; then
15063 + if test -n "$CCC"; then
15066 + if test -n "$ac_tool_prefix"; then
15067 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15069 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15070 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15071 -echo "$as_me:$LINENO: checking for $ac_word" >&5
15072 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15073 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15074 +$as_echo_n "checking for $ac_word... " >&6; }
15075 if test "${ac_cv_prog_CXX+set}" = set; then
15076 - echo $ECHO_N "(cached) $ECHO_C" >&6
15077 + $as_echo_n "(cached) " >&6
15079 if test -n "$CXX"; then
15080 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15081 @@ -4519,38 +5328,40 @@ do
15083 test -z "$as_dir" && as_dir=.
15084 for ac_exec_ext in '' $ac_executable_extensions; do
15085 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15086 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15087 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15088 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15089 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15098 CXX=$ac_cv_prog_CXX
15099 if test -n "$CXX"; then
15100 - echo "$as_me:$LINENO: result: $CXX" >&5
15101 -echo "${ECHO_T}$CXX" >&6
15102 + { $as_echo "$as_me:$LINENO: result: $CXX" >&5
15103 +$as_echo "$CXX" >&6; }
15105 - echo "$as_me:$LINENO: result: no" >&5
15106 -echo "${ECHO_T}no" >&6
15107 + { $as_echo "$as_me:$LINENO: result: no" >&5
15108 +$as_echo "no" >&6; }
15112 test -n "$CXX" && break
15115 if test -z "$CXX"; then
15117 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
15118 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15120 # Extract the first word of "$ac_prog", so it can be a program name with args.
15121 set dummy $ac_prog; ac_word=$2
15122 -echo "$as_me:$LINENO: checking for $ac_word" >&5
15123 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15124 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15125 +$as_echo_n "checking for $ac_word... " >&6; }
15126 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15127 - echo $ECHO_N "(cached) $ECHO_C" >&6
15128 + $as_echo_n "(cached) " >&6
15130 if test -n "$ac_ct_CXX"; then
15131 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15132 @@ -4561,57 +5372,87 @@ do
15134 test -z "$as_dir" && as_dir=.
15135 for ac_exec_ext in '' $ac_executable_extensions; do
15136 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15137 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15138 ac_cv_prog_ac_ct_CXX="$ac_prog"
15139 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15140 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15149 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15150 if test -n "$ac_ct_CXX"; then
15151 - echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15152 -echo "${ECHO_T}$ac_ct_CXX" >&6
15153 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15154 +$as_echo "$ac_ct_CXX" >&6; }
15156 - echo "$as_me:$LINENO: result: no" >&5
15157 -echo "${ECHO_T}no" >&6
15158 + { $as_echo "$as_me:$LINENO: result: no" >&5
15159 +$as_echo "no" >&6; }
15163 test -n "$ac_ct_CXX" && break
15165 -test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
15168 + if test "x$ac_ct_CXX" = x; then
15171 + case $cross_compiling:$ac_tool_warned in
15173 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
15174 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15175 +ac_tool_warned=yes ;;
15184 # Provide some information about the compiler.
15185 -echo "$as_me:$LINENO:" \
15186 - "checking for C++ compiler version" >&5
15187 -ac_compiler=`set X $ac_compile; echo $2`
15188 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
15189 - (eval $ac_compiler --version </dev/null >&5) 2>&5
15190 +$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15193 +{ (ac_try="$ac_compiler --version >&5"
15194 +case "(($ac_try" in
15195 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15196 + *) ac_try_echo=$ac_try;;
15198 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15199 +$as_echo "$ac_try_echo") >&5
15200 + (eval "$ac_compiler --version >&5") 2>&5
15202 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15203 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204 (exit $ac_status); }
15205 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
15206 - (eval $ac_compiler -v </dev/null >&5) 2>&5
15207 +{ (ac_try="$ac_compiler -v >&5"
15208 +case "(($ac_try" in
15209 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15210 + *) ac_try_echo=$ac_try;;
15212 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15213 +$as_echo "$ac_try_echo") >&5
15214 + (eval "$ac_compiler -v >&5") 2>&5
15216 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15217 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 (exit $ac_status); }
15219 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
15220 - (eval $ac_compiler -V </dev/null >&5) 2>&5
15221 +{ (ac_try="$ac_compiler -V >&5"
15222 +case "(($ac_try" in
15223 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15224 + *) ac_try_echo=$ac_try;;
15226 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15227 +$as_echo "$ac_try_echo") >&5
15228 + (eval "$ac_compiler -V >&5") 2>&5
15230 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); }
15234 -echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15235 -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
15236 +{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15237 +$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
15238 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15239 - echo $ECHO_N "(cached) $ECHO_C" >&6
15240 + $as_echo_n "(cached) " >&6
15242 cat >conftest.$ac_ext <<_ACEOF
15244 @@ -4632,50 +5473,54 @@ main ()
15247 rm -f conftest.$ac_objext
15248 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15249 - (eval $ac_compile) 2>conftest.er1
15250 +if { (ac_try="$ac_compile"
15251 +case "(($ac_try" in
15252 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15253 + *) ac_try_echo=$ac_try;;
15255 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15256 +$as_echo "$ac_try_echo") >&5
15257 + (eval "$ac_compile") 2>conftest.er1
15259 grep -v '^ *+' conftest.er1 >conftest.err
15261 cat conftest.err >&5
15262 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263 - (exit $ac_status); } &&
15264 - { ac_try='test -z "$ac_cxx_werror_flag"
15265 - || test ! -s conftest.err'
15266 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15267 - (eval $ac_try) 2>&5
15269 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15270 - (exit $ac_status); }; } &&
15271 - { ac_try='test -s conftest.$ac_objext'
15272 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15273 - (eval $ac_try) 2>&5
15275 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15276 - (exit $ac_status); }; }; then
15277 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15278 + (exit $ac_status); } && {
15279 + test -z "$ac_cxx_werror_flag" ||
15280 + test ! -s conftest.err
15281 + } && test -s conftest.$ac_objext; then
15282 ac_compiler_gnu=yes
15284 - echo "$as_me: failed program was:" >&5
15285 + $as_echo "$as_me: failed program was:" >&5
15286 sed 's/^/| /' conftest.$ac_ext >&5
15288 -ac_compiler_gnu=no
15289 + ac_compiler_gnu=no
15291 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15293 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15294 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15297 -echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15298 -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
15299 -GXX=`test $ac_compiler_gnu = yes && echo yes`
15300 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15301 +$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
15302 +if test $ac_compiler_gnu = yes; then
15307 ac_test_CXXFLAGS=${CXXFLAGS+set}
15308 ac_save_CXXFLAGS=$CXXFLAGS
15310 -echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15311 -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
15312 +{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15313 +$as_echo_n "checking whether $CXX accepts -g... " >&6; }
15314 if test "${ac_cv_prog_cxx_g+set}" = set; then
15315 - echo $ECHO_N "(cached) $ECHO_C" >&6
15316 + $as_echo_n "(cached) " >&6
15318 - cat >conftest.$ac_ext <<_ACEOF
15319 + ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15320 + ac_cxx_werror_flag=yes
15321 + ac_cv_prog_cxx_g=no
15323 + cat >conftest.$ac_ext <<_ACEOF
15326 cat confdefs.h >>conftest.$ac_ext
15327 @@ -4691,160 +5536,137 @@ main ()
15330 rm -f conftest.$ac_objext
15331 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15332 - (eval $ac_compile) 2>conftest.er1
15333 +if { (ac_try="$ac_compile"
15334 +case "(($ac_try" in
15335 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15336 + *) ac_try_echo=$ac_try;;
15338 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15339 +$as_echo "$ac_try_echo") >&5
15340 + (eval "$ac_compile") 2>conftest.er1
15342 grep -v '^ *+' conftest.er1 >conftest.err
15344 cat conftest.err >&5
15345 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15346 - (exit $ac_status); } &&
15347 - { ac_try='test -z "$ac_cxx_werror_flag"
15348 - || test ! -s conftest.err'
15349 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15350 - (eval $ac_try) 2>&5
15352 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15353 - (exit $ac_status); }; } &&
15354 - { ac_try='test -s conftest.$ac_objext'
15355 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15356 - (eval $ac_try) 2>&5
15358 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 - (exit $ac_status); }; }; then
15360 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 + (exit $ac_status); } && {
15362 + test -z "$ac_cxx_werror_flag" ||
15363 + test ! -s conftest.err
15364 + } && test -s conftest.$ac_objext; then
15365 ac_cv_prog_cxx_g=yes
15367 - echo "$as_me: failed program was:" >&5
15368 + $as_echo "$as_me: failed program was:" >&5
15369 sed 's/^/| /' conftest.$ac_ext >&5
15371 -ac_cv_prog_cxx_g=no
15373 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15375 -echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15376 -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
15377 -if test "$ac_test_CXXFLAGS" = set; then
15378 - CXXFLAGS=$ac_save_CXXFLAGS
15379 -elif test $ac_cv_prog_cxx_g = yes; then
15380 - if test "$GXX" = yes; then
15381 - CXXFLAGS="-g -O2"
15386 - if test "$GXX" = yes; then
15392 -for ac_declaration in \
15394 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
15395 - 'extern "C" void std::exit (int); using std::exit;' \
15396 - 'extern "C" void exit (int) throw ();' \
15397 - 'extern "C" void exit (int);' \
15398 - 'void exit (int);'
15400 - cat >conftest.$ac_ext <<_ACEOF
15402 + cat >conftest.$ac_ext <<_ACEOF
15405 cat confdefs.h >>conftest.$ac_ext
15406 cat >>conftest.$ac_ext <<_ACEOF
15407 /* end confdefs.h. */
15409 -#include <stdlib.h>
15420 rm -f conftest.$ac_objext
15421 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15422 - (eval $ac_compile) 2>conftest.er1
15423 +if { (ac_try="$ac_compile"
15424 +case "(($ac_try" in
15425 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15426 + *) ac_try_echo=$ac_try;;
15428 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15429 +$as_echo "$ac_try_echo") >&5
15430 + (eval "$ac_compile") 2>conftest.er1
15432 grep -v '^ *+' conftest.er1 >conftest.err
15434 cat conftest.err >&5
15435 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436 - (exit $ac_status); } &&
15437 - { ac_try='test -z "$ac_cxx_werror_flag"
15438 - || test ! -s conftest.err'
15439 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15440 - (eval $ac_try) 2>&5
15442 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443 - (exit $ac_status); }; } &&
15444 - { ac_try='test -s conftest.$ac_objext'
15445 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15446 - (eval $ac_try) 2>&5
15448 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449 - (exit $ac_status); }; }; then
15450 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 + (exit $ac_status); } && {
15452 + test -z "$ac_cxx_werror_flag" ||
15453 + test ! -s conftest.err
15454 + } && test -s conftest.$ac_objext; then
15457 - echo "$as_me: failed program was:" >&5
15458 + $as_echo "$as_me: failed program was:" >&5
15459 sed 's/^/| /' conftest.$ac_ext >&5
15463 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15464 - cat >conftest.$ac_ext <<_ACEOF
15465 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15467 + cat >conftest.$ac_ext <<_ACEOF
15470 cat confdefs.h >>conftest.$ac_ext
15471 cat >>conftest.$ac_ext <<_ACEOF
15472 /* end confdefs.h. */
15484 rm -f conftest.$ac_objext
15485 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15486 - (eval $ac_compile) 2>conftest.er1
15487 +if { (ac_try="$ac_compile"
15488 +case "(($ac_try" in
15489 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15490 + *) ac_try_echo=$ac_try;;
15492 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15493 +$as_echo "$ac_try_echo") >&5
15494 + (eval "$ac_compile") 2>conftest.er1
15496 grep -v '^ *+' conftest.er1 >conftest.err
15498 cat conftest.err >&5
15499 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15500 - (exit $ac_status); } &&
15501 - { ac_try='test -z "$ac_cxx_werror_flag"
15502 - || test ! -s conftest.err'
15503 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15504 - (eval $ac_try) 2>&5
15506 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15507 - (exit $ac_status); }; } &&
15508 - { ac_try='test -s conftest.$ac_objext'
15509 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15510 - (eval $ac_try) 2>&5
15512 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15513 - (exit $ac_status); }; }; then
15515 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 + (exit $ac_status); } && {
15517 + test -z "$ac_cxx_werror_flag" ||
15518 + test ! -s conftest.err
15519 + } && test -s conftest.$ac_objext; then
15520 + ac_cv_prog_cxx_g=yes
15522 - echo "$as_me: failed program was:" >&5
15523 + $as_echo "$as_me: failed program was:" >&5
15524 sed 's/^/| /' conftest.$ac_ext >&5
15528 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15531 -if test -n "$ac_declaration"; then
15532 - echo '#ifdef __cplusplus' >>confdefs.h
15533 - echo $ac_declaration >>confdefs.h
15534 - echo '#endif' >>confdefs.h
15536 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15540 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15543 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15544 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15546 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15547 +$as_echo "$ac_cv_prog_cxx_g" >&6; }
15548 +if test "$ac_test_CXXFLAGS" = set; then
15549 + CXXFLAGS=$ac_save_CXXFLAGS
15550 +elif test $ac_cv_prog_cxx_g = yes; then
15551 + if test "$GXX" = yes; then
15552 + CXXFLAGS="-g -O2"
15557 + if test "$GXX" = yes; then
15564 ac_cpp='$CXXCPP $CPPFLAGS'
15565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15567 @@ -4852,10 +5674,10 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15569 depcc="$CXX" am_compiler_list=
15571 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15572 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
15573 +{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15574 +$as_echo_n "checking dependency style of $depcc... " >&6; }
15575 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
15576 - echo $ECHO_N "(cached) $ECHO_C" >&6
15577 + $as_echo_n "(cached) " >&6
15579 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15580 # We make a subdir and do the tests there. Otherwise we can end up
15581 @@ -4942,8 +5764,8 @@ else
15585 -echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
15586 -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
15587 +{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
15588 +$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
15589 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
15592 @@ -4959,16 +5781,21 @@ else
15599 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
15600 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
15601 + (test "X$CXX" != "Xg++"))) ; then
15603 ac_cpp='$CXXCPP $CPPFLAGS'
15604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15607 -echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15608 -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15609 +{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15610 +$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
15611 if test -z "$CXXCPP"; then
15612 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15613 - echo $ECHO_N "(cached) $ECHO_C" >&6
15614 + $as_echo_n "(cached) " >&6
15616 # Double quotes because CXXCPP needs to be expanded
15617 for CXXCPP in "$CXX -E" "/lib/cpp"
15618 @@ -4995,35 +5822,35 @@ cat >>conftest.$ac_ext <<_ACEOF
15622 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15623 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15624 +if { (ac_try="$ac_cpp conftest.$ac_ext"
15625 +case "(($ac_try" in
15626 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15627 + *) ac_try_echo=$ac_try;;
15629 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15630 +$as_echo "$ac_try_echo") >&5
15631 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15633 grep -v '^ *+' conftest.er1 >conftest.err
15635 cat conftest.err >&5
15636 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 - (exit $ac_status); } >/dev/null; then
15638 - if test -s conftest.err; then
15639 - ac_cpp_err=$ac_cxx_preproc_warn_flag
15640 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15647 -if test -z "$ac_cpp_err"; then
15648 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15649 + (exit $ac_status); } >/dev/null && {
15650 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
15651 + test ! -s conftest.err
15655 - echo "$as_me: failed program was:" >&5
15656 + $as_echo "$as_me: failed program was:" >&5
15657 sed 's/^/| /' conftest.$ac_ext >&5
15659 # Broken: fails on valid input.
15663 rm -f conftest.err conftest.$ac_ext
15665 - # OK, works on sane cases. Now check whether non-existent headers
15666 + # OK, works on sane cases. Now check whether nonexistent headers
15667 # can be detected and how.
15668 cat >conftest.$ac_ext <<_ACEOF
15670 @@ -5033,34 +5860,34 @@ cat >>conftest.$ac_ext <<_ACEOF
15671 /* end confdefs.h. */
15672 #include <ac_nonexistent.h>
15674 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15675 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15676 +if { (ac_try="$ac_cpp conftest.$ac_ext"
15677 +case "(($ac_try" in
15678 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15679 + *) ac_try_echo=$ac_try;;
15681 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15682 +$as_echo "$ac_try_echo") >&5
15683 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15685 grep -v '^ *+' conftest.er1 >conftest.err
15687 cat conftest.err >&5
15688 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 - (exit $ac_status); } >/dev/null; then
15690 - if test -s conftest.err; then
15691 - ac_cpp_err=$ac_cxx_preproc_warn_flag
15692 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15699 -if test -z "$ac_cpp_err"; then
15700 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 + (exit $ac_status); } >/dev/null && {
15702 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
15703 + test ! -s conftest.err
15705 # Broken: success on invalid input.
15708 - echo "$as_me: failed program was:" >&5
15709 + $as_echo "$as_me: failed program was:" >&5
15710 sed 's/^/| /' conftest.$ac_ext >&5
15712 # Passes both tests.
15717 rm -f conftest.err conftest.$ac_ext
15720 @@ -5078,8 +5905,8 @@ fi
15722 ac_cv_prog_CXXCPP=$CXXCPP
15724 -echo "$as_me:$LINENO: result: $CXXCPP" >&5
15725 -echo "${ECHO_T}$CXXCPP" >&6
15726 +{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
15727 +$as_echo "$CXXCPP" >&6; }
15728 ac_preproc_ok=false
15729 for ac_cxx_preproc_warn_flag in '' yes
15731 @@ -5102,35 +5929,35 @@ cat >>conftest.$ac_ext <<_ACEOF
15735 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15736 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15737 +if { (ac_try="$ac_cpp conftest.$ac_ext"
15738 +case "(($ac_try" in
15739 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15740 + *) ac_try_echo=$ac_try;;
15742 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15743 +$as_echo "$ac_try_echo") >&5
15744 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15746 grep -v '^ *+' conftest.er1 >conftest.err
15748 cat conftest.err >&5
15749 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750 - (exit $ac_status); } >/dev/null; then
15751 - if test -s conftest.err; then
15752 - ac_cpp_err=$ac_cxx_preproc_warn_flag
15753 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15760 -if test -z "$ac_cpp_err"; then
15761 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 + (exit $ac_status); } >/dev/null && {
15763 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
15764 + test ! -s conftest.err
15768 - echo "$as_me: failed program was:" >&5
15769 + $as_echo "$as_me: failed program was:" >&5
15770 sed 's/^/| /' conftest.$ac_ext >&5
15772 # Broken: fails on valid input.
15776 rm -f conftest.err conftest.$ac_ext
15778 - # OK, works on sane cases. Now check whether non-existent headers
15779 + # OK, works on sane cases. Now check whether nonexistent headers
15780 # can be detected and how.
15781 cat >conftest.$ac_ext <<_ACEOF
15783 @@ -5140,34 +5967,34 @@ cat >>conftest.$ac_ext <<_ACEOF
15784 /* end confdefs.h. */
15785 #include <ac_nonexistent.h>
15787 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15788 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15789 +if { (ac_try="$ac_cpp conftest.$ac_ext"
15790 +case "(($ac_try" in
15791 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15792 + *) ac_try_echo=$ac_try;;
15794 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15795 +$as_echo "$ac_try_echo") >&5
15796 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15798 grep -v '^ *+' conftest.er1 >conftest.err
15800 cat conftest.err >&5
15801 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15802 - (exit $ac_status); } >/dev/null; then
15803 - if test -s conftest.err; then
15804 - ac_cpp_err=$ac_cxx_preproc_warn_flag
15805 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15812 -if test -z "$ac_cpp_err"; then
15813 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15814 + (exit $ac_status); } >/dev/null && {
15815 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
15816 + test ! -s conftest.err
15818 # Broken: success on invalid input.
15821 - echo "$as_me: failed program was:" >&5
15822 + $as_echo "$as_me: failed program was:" >&5
15823 sed 's/^/| /' conftest.$ac_ext >&5
15825 # Passes both tests.
15830 rm -f conftest.err conftest.$ac_ext
15833 @@ -5176,33 +6003,37 @@ rm -f conftest.err conftest.$ac_ext
15834 if $ac_preproc_ok; then
15837 - { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15838 + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15839 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15840 +{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15841 See \`config.log' for more details." >&5
15842 -echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15843 +$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15844 See \`config.log' for more details." >&2;}
15845 - { (exit 1); exit 1; }; }
15846 + { (exit 1); exit 1; }; }; }
15851 ac_cpp='$CXXCPP $CPPFLAGS'
15852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15860 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15861 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15862 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15863 if test -n "$ac_tool_prefix"; then
15864 - for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
15865 + 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
15867 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15868 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15869 -echo "$as_me:$LINENO: checking for $ac_word" >&5
15870 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15871 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15872 +$as_echo_n "checking for $ac_word... " >&6; }
15873 if test "${ac_cv_prog_F77+set}" = set; then
15874 - echo $ECHO_N "(cached) $ECHO_C" >&6
15875 + $as_echo_n "(cached) " >&6
15877 if test -n "$F77"; then
15878 ac_cv_prog_F77="$F77" # Let the user override the test.
15879 @@ -5213,38 +6044,40 @@ do
15881 test -z "$as_dir" && as_dir=.
15882 for ac_exec_ext in '' $ac_executable_extensions; do
15883 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15884 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15885 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
15886 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15887 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15896 F77=$ac_cv_prog_F77
15897 if test -n "$F77"; then
15898 - echo "$as_me:$LINENO: result: $F77" >&5
15899 -echo "${ECHO_T}$F77" >&6
15900 + { $as_echo "$as_me:$LINENO: result: $F77" >&5
15901 +$as_echo "$F77" >&6; }
15903 - echo "$as_me:$LINENO: result: no" >&5
15904 -echo "${ECHO_T}no" >&6
15905 + { $as_echo "$as_me:$LINENO: result: no" >&5
15906 +$as_echo "no" >&6; }
15910 test -n "$F77" && break
15913 if test -z "$F77"; then
15915 - for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
15916 + 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
15918 # Extract the first word of "$ac_prog", so it can be a program name with args.
15919 set dummy $ac_prog; ac_word=$2
15920 -echo "$as_me:$LINENO: checking for $ac_word" >&5
15921 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15922 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15923 +$as_echo_n "checking for $ac_word... " >&6; }
15924 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
15925 - echo $ECHO_N "(cached) $ECHO_C" >&6
15926 + $as_echo_n "(cached) " >&6
15928 if test -n "$ac_ct_F77"; then
15929 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
15930 @@ -5255,50 +6088,80 @@ do
15932 test -z "$as_dir" && as_dir=.
15933 for ac_exec_ext in '' $ac_executable_extensions; do
15934 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15935 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15936 ac_cv_prog_ac_ct_F77="$ac_prog"
15937 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15938 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15947 ac_ct_F77=$ac_cv_prog_ac_ct_F77
15948 if test -n "$ac_ct_F77"; then
15949 - echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
15950 -echo "${ECHO_T}$ac_ct_F77" >&6
15951 + { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
15952 +$as_echo "$ac_ct_F77" >&6; }
15954 - echo "$as_me:$LINENO: result: no" >&5
15955 -echo "${ECHO_T}no" >&6
15956 + { $as_echo "$as_me:$LINENO: result: no" >&5
15957 +$as_echo "no" >&6; }
15961 test -n "$ac_ct_F77" && break
15965 + if test "x$ac_ct_F77" = x; then
15968 + case $cross_compiling:$ac_tool_warned in
15970 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
15971 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15972 +ac_tool_warned=yes ;;
15979 # Provide some information about the compiler.
15980 -echo "$as_me:5285:" \
15981 - "checking for Fortran 77 compiler version" >&5
15982 -ac_compiler=`set X $ac_compile; echo $2`
15983 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
15984 - (eval $ac_compiler --version </dev/null >&5) 2>&5
15985 +$as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
15988 +{ (ac_try="$ac_compiler --version >&5"
15989 +case "(($ac_try" in
15990 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15991 + *) ac_try_echo=$ac_try;;
15993 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15994 +$as_echo "$ac_try_echo") >&5
15995 + (eval "$ac_compiler --version >&5") 2>&5
15997 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); }
16000 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
16001 - (eval $ac_compiler -v </dev/null >&5) 2>&5
16002 +{ (ac_try="$ac_compiler -v >&5"
16003 +case "(($ac_try" in
16004 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16005 + *) ac_try_echo=$ac_try;;
16007 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16008 +$as_echo "$ac_try_echo") >&5
16009 + (eval "$ac_compiler -v >&5") 2>&5
16011 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16012 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); }
16014 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
16015 - (eval $ac_compiler -V </dev/null >&5) 2>&5
16016 +{ (ac_try="$ac_compiler -V >&5"
16017 +case "(($ac_try" in
16018 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16019 + *) ac_try_echo=$ac_try;;
16021 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16022 +$as_echo "$ac_try_echo") >&5
16023 + (eval "$ac_compiler -V >&5") 2>&5
16025 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16027 (exit $ac_status); }
16030 @@ -5306,10 +6169,10 @@ rm -f a.out
16031 # input file. (Note that this only needs to work for GNU compilers.)
16032 ac_save_ext=$ac_ext
16034 -echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
16035 -echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
16036 +{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
16037 +$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
16038 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
16039 - echo $ECHO_N "(cached) $ECHO_C" >&6
16040 + $as_echo_n "(cached) " >&6
16042 cat >conftest.$ac_ext <<_ACEOF
16044 @@ -5320,48 +6183,45 @@ else
16047 rm -f conftest.$ac_objext
16048 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16049 - (eval $ac_compile) 2>conftest.er1
16050 +if { (ac_try="$ac_compile"
16051 +case "(($ac_try" in
16052 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16053 + *) ac_try_echo=$ac_try;;
16055 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16056 +$as_echo "$ac_try_echo") >&5
16057 + (eval "$ac_compile") 2>conftest.er1
16059 grep -v '^ *+' conftest.er1 >conftest.err
16061 cat conftest.err >&5
16062 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16063 - (exit $ac_status); } &&
16064 - { ac_try='test -z "$ac_f77_werror_flag"
16065 - || test ! -s conftest.err'
16066 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16067 - (eval $ac_try) 2>&5
16069 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 - (exit $ac_status); }; } &&
16071 - { ac_try='test -s conftest.$ac_objext'
16072 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16073 - (eval $ac_try) 2>&5
16075 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 - (exit $ac_status); }; }; then
16077 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 + (exit $ac_status); } && {
16079 + test -z "$ac_f77_werror_flag" ||
16080 + test ! -s conftest.err
16081 + } && test -s conftest.$ac_objext; then
16082 ac_compiler_gnu=yes
16084 - echo "$as_me: failed program was:" >&5
16085 + $as_echo "$as_me: failed program was:" >&5
16086 sed 's/^/| /' conftest.$ac_ext >&5
16088 -ac_compiler_gnu=no
16089 + ac_compiler_gnu=no
16091 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16093 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16094 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
16097 -echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
16098 -echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
16099 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
16100 +$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
16101 ac_ext=$ac_save_ext
16102 ac_test_FFLAGS=${FFLAGS+set}
16103 ac_save_FFLAGS=$FFLAGS
16105 -echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
16106 -echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
16107 +{ $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
16108 +$as_echo_n "checking whether $F77 accepts -g... " >&6; }
16109 if test "${ac_cv_prog_f77_g+set}" = set; then
16110 - echo $ECHO_N "(cached) $ECHO_C" >&6
16111 + $as_echo_n "(cached) " >&6
16114 cat >conftest.$ac_ext <<_ACEOF
16115 @@ -5370,39 +6230,36 @@ cat >conftest.$ac_ext <<_ACEOF
16118 rm -f conftest.$ac_objext
16119 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16120 - (eval $ac_compile) 2>conftest.er1
16121 +if { (ac_try="$ac_compile"
16122 +case "(($ac_try" in
16123 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16124 + *) ac_try_echo=$ac_try;;
16126 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16127 +$as_echo "$ac_try_echo") >&5
16128 + (eval "$ac_compile") 2>conftest.er1
16130 grep -v '^ *+' conftest.er1 >conftest.err
16132 cat conftest.err >&5
16133 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134 - (exit $ac_status); } &&
16135 - { ac_try='test -z "$ac_f77_werror_flag"
16136 - || test ! -s conftest.err'
16137 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16138 - (eval $ac_try) 2>&5
16140 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16141 - (exit $ac_status); }; } &&
16142 - { ac_try='test -s conftest.$ac_objext'
16143 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16144 - (eval $ac_try) 2>&5
16146 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 - (exit $ac_status); }; }; then
16148 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16149 + (exit $ac_status); } && {
16150 + test -z "$ac_f77_werror_flag" ||
16151 + test ! -s conftest.err
16152 + } && test -s conftest.$ac_objext; then
16153 ac_cv_prog_f77_g=yes
16155 - echo "$as_me: failed program was:" >&5
16156 + $as_echo "$as_me: failed program was:" >&5
16157 sed 's/^/| /' conftest.$ac_ext >&5
16159 -ac_cv_prog_f77_g=no
16160 + ac_cv_prog_f77_g=no
16162 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16164 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16167 -echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
16168 -echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
16169 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
16170 +$as_echo "$ac_cv_prog_f77_g" >&6; }
16171 if test "$ac_test_FFLAGS" = set; then
16172 FFLAGS=$ac_save_FFLAGS
16173 elif test $ac_cv_prog_f77_g = yes; then
16174 @@ -5419,7 +6276,11 @@ else
16178 -G77=`test $ac_compiler_gnu = yes && echo yes`
16179 +if test $ac_compiler_gnu = yes; then
16185 ac_cpp='$CPP $CPPFLAGS'
16186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16187 @@ -5429,12 +6290,11 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
16190 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
16192 # find the maximum length of command line arguments
16193 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
16194 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
16195 +{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
16196 +$as_echo_n "checking the maximum length of command line arguments... " >&6; }
16197 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
16198 - echo $ECHO_N "(cached) $ECHO_C" >&6
16199 + $as_echo_n "(cached) " >&6
16203 @@ -5472,45 +6332,93 @@ else
16204 lt_cv_sys_max_cmd_len=8192;
16208 - # If test is not a shell built-in, we'll probably end up computing a
16209 - # maximum length that is only half of the actual maximum length, but
16211 - while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
16212 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
16213 + # This has been around since 386BSD, at least. Likely further.
16214 + if test -x /sbin/sysctl; then
16215 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
16216 + elif test -x /usr/sbin/sysctl; then
16217 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
16219 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
16221 + # And add a safety zone
16222 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
16223 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
16227 + # We know the value 262144 and hardcode it with a safety zone (like BSD)
16228 + lt_cv_sys_max_cmd_len=196608
16232 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
16233 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
16234 + # nice to cause kernel panics so lets avoid the loop below.
16235 + # First set a reasonable default.
16236 + lt_cv_sys_max_cmd_len=16384
16238 + if test -x /sbin/sysconfig; then
16239 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
16240 + *1*) lt_cv_sys_max_cmd_len=-1 ;;
16245 + lt_cv_sys_max_cmd_len=102400
16247 + sysv5* | sco5v6* | sysv4.2uw2*)
16248 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
16249 + if test -n "$kargmax"; then
16250 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
16252 + lt_cv_sys_max_cmd_len=32768
16256 + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
16257 + if test -n "$lt_cv_sys_max_cmd_len"; then
16258 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
16259 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
16261 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
16262 + while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
16263 = "XX$teststring") >/dev/null 2>&1 &&
16264 - new_result=`expr "X$teststring" : ".*" 2>&1` &&
16265 - lt_cv_sys_max_cmd_len=$new_result &&
16266 - test $i != 17 # 1/2 MB should be enough
16269 - teststring=$teststring$teststring
16272 - # Add a significant safety factor because C++ compilers can tack on massive
16273 - # amounts of additional arguments before passing them to the linker.
16274 - # It appears as though 1/2 is a usable value.
16275 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
16276 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
16277 + lt_cv_sys_max_cmd_len=$new_result &&
16278 + test $i != 17 # 1/2 MB should be enough
16281 + teststring=$teststring$teststring
16284 + # Add a significant safety factor because C++ compilers can tack on massive
16285 + # amounts of additional arguments before passing them to the linker.
16286 + # It appears as though 1/2 is a usable value.
16287 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
16294 if test -n $lt_cv_sys_max_cmd_len ; then
16295 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
16296 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
16297 + { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
16298 +$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
16300 - echo "$as_me:$LINENO: result: none" >&5
16301 -echo "${ECHO_T}none" >&6
16302 + { $as_echo "$as_me:$LINENO: result: none" >&5
16303 +$as_echo "none" >&6; }
16310 # Check for command to grab the raw symbol name followed by C symbol from nm.
16311 -echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
16312 -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
16313 +{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
16314 +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
16315 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
16316 - echo $ECHO_N "(cached) $ECHO_C" >&6
16317 + $as_echo_n "(cached) " >&6
16320 # These are sane defaults that work on at least a few old systems.
16321 @@ -5522,9 +6430,6 @@ symcode='[BCDEGRST]'
16322 # Regexp to match symbols that can be accessed directly from C.
16323 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
16325 -# Transform the above into a raw symbol and a C symbol.
16326 -symxfrm='\1 \2\3 \3'
16328 # Transform an extracted symbol line into a proper C declaration
16329 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
16331 @@ -5546,15 +6451,31 @@ hpux*) # Its linker distinguishes data from code symbols
16332 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
16333 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'"
16335 +linux* | k*bsd*-gnu)
16336 + if test "$host_cpu" = ia64; then
16337 + symcode='[ABCDGIRSTW]'
16338 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
16339 + 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'"
16342 irix* | nonstopux*)
16343 symcode='[BCDEGRST]'
16346 symcode='[BCDEGQRST]'
16348 -solaris* | sysv5*)
16358 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
16364 @@ -5577,8 +6498,11 @@ esac
16365 # Try without a prefix undercore, then with it.
16366 for ac_symprfx in "" "_"; do
16368 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
16369 + symxfrm="\\1 $ac_symprfx\\2 \\2"
16371 # Write the raw and C identifiers.
16372 - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
16373 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
16375 # Check to see that the pipe works correctly.
16377 @@ -5599,14 +6523,14 @@ EOF
16378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16379 (eval $ac_compile) 2>&5
16381 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16383 (exit $ac_status); }; then
16384 # Now try to grab the symbols.
16386 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
16387 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
16389 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16390 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391 (exit $ac_status); } && test -s "$nlist"; then
16392 # Try sorting and uniquifying the output.
16393 if sort "$nlist" | uniq > "$nlist"T; then
16394 @@ -5661,7 +6585,7 @@ EOF
16395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16396 (eval $ac_link) 2>&5
16398 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16400 (exit $ac_status); } && test -s conftest${ac_exeext}; then
16403 @@ -5680,7 +6604,7 @@ EOF
16404 echo "$progname: failed program was:" >&5
16405 cat conftest.$ac_ext >&5
16407 - rm -f conftest* conftst*
16408 + rm -rf conftest* conftst*
16410 # Do not use the global_symbol_pipe unless it works.
16411 if test "$pipe_works" = yes; then
16412 @@ -5696,17 +6620,17 @@ if test -z "$lt_cv_sys_global_symbol_pipe"; then
16413 lt_cv_sys_global_symbol_to_cdecl=
16415 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
16416 - echo "$as_me:$LINENO: result: failed" >&5
16417 -echo "${ECHO_T}failed" >&6
16418 + { $as_echo "$as_me:$LINENO: result: failed" >&5
16419 +$as_echo "failed" >&6; }
16421 - echo "$as_me:$LINENO: result: ok" >&5
16422 -echo "${ECHO_T}ok" >&6
16423 + { $as_echo "$as_me:$LINENO: result: ok" >&5
16424 +$as_echo "ok" >&6; }
16427 -echo "$as_me:$LINENO: checking for objdir" >&5
16428 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6
16429 +{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
16430 +$as_echo_n "checking for objdir... " >&6; }
16431 if test "${lt_cv_objdir+set}" = set; then
16432 - echo $ECHO_N "(cached) $ECHO_C" >&6
16433 + $as_echo_n "(cached) " >&6
16435 rm -f .libs 2>/dev/null
16436 mkdir .libs 2>/dev/null
16437 @@ -5718,8 +6642,8 @@ else
16439 rmdir .libs 2>/dev/null
16441 -echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
16442 -echo "${ECHO_T}$lt_cv_objdir" >&6
16443 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
16444 +$as_echo "$lt_cv_objdir" >&6; }
16445 objdir=$lt_cv_objdir
16448 @@ -5740,7 +6664,7 @@ esac
16450 # Sed substitution that helps us do robust quoting. It backslashifies
16451 # metacharacters that are still active within double-quoted strings.
16452 -Xsed='sed -e s/^X//'
16453 +Xsed='sed -e 1s/^X//'
16454 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
16456 # Same as above, but do not quote variable references.
16457 @@ -5760,7 +6684,7 @@ rm="rm -f"
16458 default_ofile=libtool
16459 can_build_shared=yes
16461 -# All known linkers require a `.a' archive for static linking (except M$VC,
16462 +# All known linkers require a `.a' archive for static linking (except MSVC,
16463 # which needs '.lib').
16465 ltmain="$ac_aux_dir/ltmain.sh"
16466 @@ -5770,10 +6694,10 @@ with_gnu_ld="$lt_cv_prog_gnu_ld"
16467 if test -n "$ac_tool_prefix"; then
16468 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16469 set dummy ${ac_tool_prefix}ar; ac_word=$2
16470 -echo "$as_me:$LINENO: checking for $ac_word" >&5
16471 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16472 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16473 +$as_echo_n "checking for $ac_word... " >&6; }
16474 if test "${ac_cv_prog_AR+set}" = set; then
16475 - echo $ECHO_N "(cached) $ECHO_C" >&6
16476 + $as_echo_n "(cached) " >&6
16478 if test -n "$AR"; then
16479 ac_cv_prog_AR="$AR" # Let the user override the test.
16480 @@ -5784,34 +6708,36 @@ do
16482 test -z "$as_dir" && as_dir=.
16483 for ac_exec_ext in '' $ac_executable_extensions; do
16484 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16485 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16486 ac_cv_prog_AR="${ac_tool_prefix}ar"
16487 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16488 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16498 if test -n "$AR"; then
16499 - echo "$as_me:$LINENO: result: $AR" >&5
16500 -echo "${ECHO_T}$AR" >&6
16501 + { $as_echo "$as_me:$LINENO: result: $AR" >&5
16502 +$as_echo "$AR" >&6; }
16504 - echo "$as_me:$LINENO: result: no" >&5
16505 -echo "${ECHO_T}no" >&6
16506 + { $as_echo "$as_me:$LINENO: result: no" >&5
16507 +$as_echo "no" >&6; }
16512 if test -z "$ac_cv_prog_AR"; then
16514 # Extract the first word of "ar", so it can be a program name with args.
16515 set dummy ar; ac_word=$2
16516 -echo "$as_me:$LINENO: checking for $ac_word" >&5
16517 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16518 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16519 +$as_echo_n "checking for $ac_word... " >&6; }
16520 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16521 - echo $ECHO_N "(cached) $ECHO_C" >&6
16522 + $as_echo_n "(cached) " >&6
16524 if test -n "$ac_ct_AR"; then
16525 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16526 @@ -5822,27 +6748,37 @@ do
16528 test -z "$as_dir" && as_dir=.
16529 for ac_exec_ext in '' $ac_executable_extensions; do
16530 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16531 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16532 ac_cv_prog_ac_ct_AR="ar"
16533 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16534 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16541 - test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
16544 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16545 if test -n "$ac_ct_AR"; then
16546 - echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16547 -echo "${ECHO_T}$ac_ct_AR" >&6
16548 + { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16549 +$as_echo "$ac_ct_AR" >&6; }
16551 - echo "$as_me:$LINENO: result: no" >&5
16552 -echo "${ECHO_T}no" >&6
16553 + { $as_echo "$as_me:$LINENO: result: no" >&5
16554 +$as_echo "no" >&6; }
16558 + if test "x$ac_ct_AR" = x; then
16561 + case $cross_compiling:$ac_tool_warned in
16563 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
16564 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16565 +ac_tool_warned=yes ;;
16570 AR="$ac_cv_prog_AR"
16572 @@ -5850,10 +6786,10 @@ fi
16573 if test -n "$ac_tool_prefix"; then
16574 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16575 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16576 -echo "$as_me:$LINENO: checking for $ac_word" >&5
16577 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16578 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16579 +$as_echo_n "checking for $ac_word... " >&6; }
16580 if test "${ac_cv_prog_RANLIB+set}" = set; then
16581 - echo $ECHO_N "(cached) $ECHO_C" >&6
16582 + $as_echo_n "(cached) " >&6
16584 if test -n "$RANLIB"; then
16585 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16586 @@ -5864,34 +6800,36 @@ do
16588 test -z "$as_dir" && as_dir=.
16589 for ac_exec_ext in '' $ac_executable_extensions; do
16590 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16591 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16592 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16593 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16594 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16603 RANLIB=$ac_cv_prog_RANLIB
16604 if test -n "$RANLIB"; then
16605 - echo "$as_me:$LINENO: result: $RANLIB" >&5
16606 -echo "${ECHO_T}$RANLIB" >&6
16607 + { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
16608 +$as_echo "$RANLIB" >&6; }
16610 - echo "$as_me:$LINENO: result: no" >&5
16611 -echo "${ECHO_T}no" >&6
16612 + { $as_echo "$as_me:$LINENO: result: no" >&5
16613 +$as_echo "no" >&6; }
16618 if test -z "$ac_cv_prog_RANLIB"; then
16619 ac_ct_RANLIB=$RANLIB
16620 # Extract the first word of "ranlib", so it can be a program name with args.
16621 set dummy ranlib; ac_word=$2
16622 -echo "$as_me:$LINENO: checking for $ac_word" >&5
16623 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16624 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16625 +$as_echo_n "checking for $ac_word... " >&6; }
16626 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16627 - echo $ECHO_N "(cached) $ECHO_C" >&6
16628 + $as_echo_n "(cached) " >&6
16630 if test -n "$ac_ct_RANLIB"; then
16631 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16632 @@ -5902,27 +6840,37 @@ do
16634 test -z "$as_dir" && as_dir=.
16635 for ac_exec_ext in '' $ac_executable_extensions; do
16636 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16637 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16638 ac_cv_prog_ac_ct_RANLIB="ranlib"
16639 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16640 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16647 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
16650 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16651 if test -n "$ac_ct_RANLIB"; then
16652 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16653 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
16654 + { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16655 +$as_echo "$ac_ct_RANLIB" >&6; }
16657 - echo "$as_me:$LINENO: result: no" >&5
16658 -echo "${ECHO_T}no" >&6
16659 + { $as_echo "$as_me:$LINENO: result: no" >&5
16660 +$as_echo "no" >&6; }
16663 - RANLIB=$ac_ct_RANLIB
16664 + if test "x$ac_ct_RANLIB" = x; then
16667 + case $cross_compiling:$ac_tool_warned in
16669 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
16670 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16671 +ac_tool_warned=yes ;;
16673 + RANLIB=$ac_ct_RANLIB
16676 RANLIB="$ac_cv_prog_RANLIB"
16678 @@ -5930,10 +6878,10 @@ fi
16679 if test -n "$ac_tool_prefix"; then
16680 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16681 set dummy ${ac_tool_prefix}strip; ac_word=$2
16682 -echo "$as_me:$LINENO: checking for $ac_word" >&5
16683 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16684 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16685 +$as_echo_n "checking for $ac_word... " >&6; }
16686 if test "${ac_cv_prog_STRIP+set}" = set; then
16687 - echo $ECHO_N "(cached) $ECHO_C" >&6
16688 + $as_echo_n "(cached) " >&6
16690 if test -n "$STRIP"; then
16691 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16692 @@ -5944,34 +6892,36 @@ do
16694 test -z "$as_dir" && as_dir=.
16695 for ac_exec_ext in '' $ac_executable_extensions; do
16696 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16697 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16698 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16699 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16700 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16709 STRIP=$ac_cv_prog_STRIP
16710 if test -n "$STRIP"; then
16711 - echo "$as_me:$LINENO: result: $STRIP" >&5
16712 -echo "${ECHO_T}$STRIP" >&6
16713 + { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
16714 +$as_echo "$STRIP" >&6; }
16716 - echo "$as_me:$LINENO: result: no" >&5
16717 -echo "${ECHO_T}no" >&6
16718 + { $as_echo "$as_me:$LINENO: result: no" >&5
16719 +$as_echo "no" >&6; }
16724 if test -z "$ac_cv_prog_STRIP"; then
16726 # Extract the first word of "strip", so it can be a program name with args.
16727 set dummy strip; ac_word=$2
16728 -echo "$as_me:$LINENO: checking for $ac_word" >&5
16729 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16730 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16731 +$as_echo_n "checking for $ac_word... " >&6; }
16732 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16733 - echo $ECHO_N "(cached) $ECHO_C" >&6
16734 + $as_echo_n "(cached) " >&6
16736 if test -n "$ac_ct_STRIP"; then
16737 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16738 @@ -5982,27 +6932,37 @@ do
16740 test -z "$as_dir" && as_dir=.
16741 for ac_exec_ext in '' $ac_executable_extensions; do
16742 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16743 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16744 ac_cv_prog_ac_ct_STRIP="strip"
16745 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16746 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16753 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
16756 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16757 if test -n "$ac_ct_STRIP"; then
16758 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16759 -echo "${ECHO_T}$ac_ct_STRIP" >&6
16760 + { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16761 +$as_echo "$ac_ct_STRIP" >&6; }
16763 - echo "$as_me:$LINENO: result: no" >&5
16764 -echo "${ECHO_T}no" >&6
16765 + { $as_echo "$as_me:$LINENO: result: no" >&5
16766 +$as_echo "no" >&6; }
16769 - STRIP=$ac_ct_STRIP
16770 + if test "x$ac_ct_STRIP" = x; then
16773 + case $cross_compiling:$ac_tool_warned in
16775 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
16776 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16777 +ac_tool_warned=yes ;;
16779 + STRIP=$ac_ct_STRIP
16782 STRIP="$ac_cv_prog_STRIP"
16784 @@ -6017,6 +6977,7 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
16785 test -z "$AS" && AS=as
16786 test -z "$CC" && CC=cc
16787 test -z "$LTCC" && LTCC=$CC
16788 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
16789 test -z "$DLLTOOL" && DLLTOOL=dlltool
16790 test -z "$LD" && LD=ld
16791 test -z "$LN_S" && LN_S="ln -s"
16792 @@ -6029,30 +6990,41 @@ test -z "$STRIP" && STRIP=:
16793 test -z "$ac_objext" && ac_objext=o
16795 # Determine commands to create old-style static archives.
16796 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
16797 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
16798 old_postinstall_cmds='chmod 644 $oldlib'
16799 old_postuninstall_cmds=
16801 if test -n "$RANLIB"; then
16804 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
16805 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
16808 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
16809 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
16812 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
16815 +for cc_temp in $compiler""; do
16817 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16818 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16823 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16826 # Only perform the check for file, if the check method requires it
16827 case $deplibs_check_method in
16829 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
16830 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
16831 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
16832 + { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
16833 +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
16834 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
16835 - echo $ECHO_N "(cached) $ECHO_C" >&6
16836 + $as_echo_n "(cached) " >&6
16840 @@ -6070,7 +7042,7 @@ else
16841 if test -n "$file_magic_test_file"; then
16842 case $deplibs_check_method in
16844 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
16845 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
16846 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
16847 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
16848 $EGREP "$file_magic_regex" > /dev/null; then
16849 @@ -6102,19 +7074,19 @@ fi
16851 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
16852 if test -n "$MAGIC_CMD"; then
16853 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
16854 -echo "${ECHO_T}$MAGIC_CMD" >&6
16855 + { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
16856 +$as_echo "$MAGIC_CMD" >&6; }
16858 - echo "$as_me:$LINENO: result: no" >&5
16859 -echo "${ECHO_T}no" >&6
16860 + { $as_echo "$as_me:$LINENO: result: no" >&5
16861 +$as_echo "no" >&6; }
16864 if test -z "$lt_cv_path_MAGIC_CMD"; then
16865 if test -n "$ac_tool_prefix"; then
16866 - echo "$as_me:$LINENO: checking for file" >&5
16867 -echo $ECHO_N "checking for file... $ECHO_C" >&6
16868 + { $as_echo "$as_me:$LINENO: checking for file" >&5
16869 +$as_echo_n "checking for file... " >&6; }
16870 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
16871 - echo $ECHO_N "(cached) $ECHO_C" >&6
16872 + $as_echo_n "(cached) " >&6
16876 @@ -6132,7 +7104,7 @@ else
16877 if test -n "$file_magic_test_file"; then
16878 case $deplibs_check_method in
16880 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
16881 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
16882 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
16883 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
16884 $EGREP "$file_magic_regex" > /dev/null; then
16885 @@ -6164,11 +7136,11 @@ fi
16887 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
16888 if test -n "$MAGIC_CMD"; then
16889 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
16890 -echo "${ECHO_T}$MAGIC_CMD" >&6
16891 + { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
16892 +$as_echo "$MAGIC_CMD" >&6; }
16894 - echo "$as_me:$LINENO: result: no" >&5
16895 -echo "${ECHO_T}no" >&6
16896 + { $as_echo "$as_me:$LINENO: result: no" >&5
16897 +$as_echo "no" >&6; }
16901 @@ -6180,24 +7152,332 @@ fi
16907 + rhapsody* | darwin*)
16908 + if test -n "$ac_tool_prefix"; then
16909 + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
16910 +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
16911 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16912 +$as_echo_n "checking for $ac_word... " >&6; }
16913 +if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
16914 + $as_echo_n "(cached) " >&6
16916 + if test -n "$DSYMUTIL"; then
16917 + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
16919 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16920 +for as_dir in $PATH
16923 + test -z "$as_dir" && as_dir=.
16924 + for ac_exec_ext in '' $ac_executable_extensions; do
16925 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16926 + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
16927 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16936 +DSYMUTIL=$ac_cv_prog_DSYMUTIL
16937 +if test -n "$DSYMUTIL"; then
16938 + { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
16939 +$as_echo "$DSYMUTIL" >&6; }
16941 + { $as_echo "$as_me:$LINENO: result: no" >&5
16942 +$as_echo "no" >&6; }
16947 +if test -z "$ac_cv_prog_DSYMUTIL"; then
16948 + ac_ct_DSYMUTIL=$DSYMUTIL
16949 + # Extract the first word of "dsymutil", so it can be a program name with args.
16950 +set dummy dsymutil; ac_word=$2
16951 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16952 +$as_echo_n "checking for $ac_word... " >&6; }
16953 +if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
16954 + $as_echo_n "(cached) " >&6
16956 + if test -n "$ac_ct_DSYMUTIL"; then
16957 + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
16959 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16960 +for as_dir in $PATH
16963 + test -z "$as_dir" && as_dir=.
16964 + for ac_exec_ext in '' $ac_executable_extensions; do
16965 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16966 + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
16967 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16976 +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
16977 +if test -n "$ac_ct_DSYMUTIL"; then
16978 + { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
16979 +$as_echo "$ac_ct_DSYMUTIL" >&6; }
16981 + { $as_echo "$as_me:$LINENO: result: no" >&5
16982 +$as_echo "no" >&6; }
16985 + if test "x$ac_ct_DSYMUTIL" = x; then
16988 + case $cross_compiling:$ac_tool_warned in
16990 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
16991 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16992 +ac_tool_warned=yes ;;
16994 + DSYMUTIL=$ac_ct_DSYMUTIL
16997 + DSYMUTIL="$ac_cv_prog_DSYMUTIL"
17000 + if test -n "$ac_tool_prefix"; then
17001 + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
17002 +set dummy ${ac_tool_prefix}nmedit; ac_word=$2
17003 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17004 +$as_echo_n "checking for $ac_word... " >&6; }
17005 +if test "${ac_cv_prog_NMEDIT+set}" = set; then
17006 + $as_echo_n "(cached) " >&6
17008 + if test -n "$NMEDIT"; then
17009 + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
17011 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17012 +for as_dir in $PATH
17015 + test -z "$as_dir" && as_dir=.
17016 + for ac_exec_ext in '' $ac_executable_extensions; do
17017 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17018 + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
17019 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17028 +NMEDIT=$ac_cv_prog_NMEDIT
17029 +if test -n "$NMEDIT"; then
17030 + { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
17031 +$as_echo "$NMEDIT" >&6; }
17033 + { $as_echo "$as_me:$LINENO: result: no" >&5
17034 +$as_echo "no" >&6; }
17039 +if test -z "$ac_cv_prog_NMEDIT"; then
17040 + ac_ct_NMEDIT=$NMEDIT
17041 + # Extract the first word of "nmedit", so it can be a program name with args.
17042 +set dummy nmedit; ac_word=$2
17043 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17044 +$as_echo_n "checking for $ac_word... " >&6; }
17045 +if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
17046 + $as_echo_n "(cached) " >&6
17048 + if test -n "$ac_ct_NMEDIT"; then
17049 + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
17051 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17052 +for as_dir in $PATH
17055 + test -z "$as_dir" && as_dir=.
17056 + for ac_exec_ext in '' $ac_executable_extensions; do
17057 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17058 + ac_cv_prog_ac_ct_NMEDIT="nmedit"
17059 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17068 +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
17069 +if test -n "$ac_ct_NMEDIT"; then
17070 + { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
17071 +$as_echo "$ac_ct_NMEDIT" >&6; }
17073 + { $as_echo "$as_me:$LINENO: result: no" >&5
17074 +$as_echo "no" >&6; }
17077 + if test "x$ac_ct_NMEDIT" = x; then
17080 + case $cross_compiling:$ac_tool_warned in
17082 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
17083 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17084 +ac_tool_warned=yes ;;
17086 + NMEDIT=$ac_ct_NMEDIT
17089 + NMEDIT="$ac_cv_prog_NMEDIT"
17093 + { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
17094 +$as_echo_n "checking for -single_module linker flag... " >&6; }
17095 +if test "${lt_cv_apple_cc_single_mod+set}" = set; then
17096 + $as_echo_n "(cached) " >&6
17098 + lt_cv_apple_cc_single_mod=no
17099 + if test -z "${LT_MULTI_MODULE}"; then
17100 + # By default we will add the -single_module flag. You can override
17101 + # by either setting the environment variable LT_MULTI_MODULE
17102 + # non-empty at configure time, or by adding -multi_module to the
17104 + echo "int foo(void){return 1;}" > conftest.c
17105 + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
17106 + -dynamiclib ${wl}-single_module conftest.c
17107 + if test -f libconftest.dylib; then
17108 + lt_cv_apple_cc_single_mod=yes
17109 + rm -rf libconftest.dylib*
17114 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
17115 +$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
17116 + { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
17117 +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
17118 +if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
17119 + $as_echo_n "(cached) " >&6
17121 + lt_cv_ld_exported_symbols_list=no
17122 + save_LDFLAGS=$LDFLAGS
17123 + echo "_main" > conftest.sym
17124 + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
17125 + cat >conftest.$ac_ext <<_ACEOF
17128 +cat confdefs.h >>conftest.$ac_ext
17129 +cat >>conftest.$ac_ext <<_ACEOF
17130 +/* end confdefs.h. */
17140 +rm -f conftest.$ac_objext conftest$ac_exeext
17141 +if { (ac_try="$ac_link"
17142 +case "(($ac_try" in
17143 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17144 + *) ac_try_echo=$ac_try;;
17146 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17147 +$as_echo "$ac_try_echo") >&5
17148 + (eval "$ac_link") 2>conftest.er1
17150 + grep -v '^ *+' conftest.er1 >conftest.err
17151 + rm -f conftest.er1
17152 + cat conftest.err >&5
17153 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 + (exit $ac_status); } && {
17155 + test -z "$ac_c_werror_flag" ||
17156 + test ! -s conftest.err
17157 + } && test -s conftest$ac_exeext && {
17158 + test "$cross_compiling" = yes ||
17159 + $as_test_x conftest$ac_exeext
17161 + lt_cv_ld_exported_symbols_list=yes
17163 + $as_echo "$as_me: failed program was:" >&5
17164 +sed 's/^/| /' conftest.$ac_ext >&5
17166 + lt_cv_ld_exported_symbols_list=no
17169 +rm -rf conftest.dSYM
17170 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17171 + conftest$ac_exeext conftest.$ac_ext
17172 + LDFLAGS="$save_LDFLAGS"
17175 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
17176 +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
17178 + rhapsody* | darwin1.[0123])
17179 + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
17181 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
17183 + # if running on 10.5 or later, the deployment target defaults
17184 + # to the OS version, if on x86, and 10.4, the deployment
17185 + # target defaults to 10.4. Don't you love it?
17186 + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
17187 + 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
17188 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
17190 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
17192 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
17196 + if test "$lt_cv_apple_cc_single_mod" = "yes"; then
17197 + _lt_dar_single_mod='$single_module'
17199 + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
17200 + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
17202 + _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
17204 + if test "$DSYMUTIL" != ":"; then
17205 + _lt_dsymutil="~$DSYMUTIL \$lib || :"
17214 enable_win32_dll=no
17216 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
17217 +# Check whether --enable-libtool-lock was given.
17218 if test "${enable_libtool_lock+set}" = set; then
17219 - enableval="$enable_libtool_lock"
17220 + enableval=$enable_libtool_lock;
17224 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
17227 -# Check whether --with-pic or --without-pic was given.
17228 +# Check whether --with-pic was given.
17229 if test "${with_pic+set}" = set; then
17230 - withval="$with_pic"
17231 - pic_mode="$withval"
17232 + withval=$with_pic; pic_mode="$withval"
17238 test -z "$pic_mode" && pic_mode=default
17240 # Use C for the default configuration in the libtool script
17241 @@ -6218,77 +7498,34 @@ objext=o
17244 # Code to be used in simple compile tests
17245 -lt_simple_compile_test_code="int some_variable = 0;\n"
17246 +lt_simple_compile_test_code="int some_variable = 0;"
17248 # Code to be used in simple link tests
17249 -lt_simple_link_test_code='int main(){return(0);}\n'
17250 +lt_simple_link_test_code='int main(){return(0);}'
17253 # If no C compiler was specified, use CC.
17256 +# If no C compiler flags were specified, use CFLAGS.
17257 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17259 # Allow CC to be a program name with arguments.
17264 -# Check for any special shared library compilation flags.
17267 -if test "$GCC" = no; then
17270 - lt_prog_cc_shlib='-belf'
17274 -if test -n "$lt_prog_cc_shlib"; then
17275 - { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
17276 -echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
17277 - if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
17279 - { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
17280 -echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
17281 - lt_cv_prog_cc_can_build_shared=no
17287 -# Check to make sure the static flag actually works.
17289 -echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
17290 -echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
17291 -if test "${lt_prog_compiler_static_works+set}" = set; then
17292 - echo $ECHO_N "(cached) $ECHO_C" >&6
17294 - lt_prog_compiler_static_works=no
17295 - save_LDFLAGS="$LDFLAGS"
17296 - LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
17297 - printf "$lt_simple_link_test_code" > conftest.$ac_ext
17298 - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17299 - # The compiler can only warn and ignore the option if not recognized
17300 - # So say no if there are warnings
17301 - if test -s conftest.err; then
17302 - # Append any errors to the config.log.
17303 - cat conftest.err 1>&5
17305 - lt_prog_compiler_static_works=yes
17309 - LDFLAGS="$save_LDFLAGS"
17312 -echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
17313 -echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
17315 -if test x"$lt_prog_compiler_static_works" = xyes; then
17318 - lt_prog_compiler_static=
17320 +# save warnings/boilerplate of simple test code
17321 +ac_outfile=conftest.$ac_objext
17322 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17323 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17324 +_lt_compiler_boilerplate=`cat conftest.err`
17327 +ac_outfile=conftest.$ac_objext
17328 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
17329 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17330 +_lt_linker_boilerplate=`cat conftest.err`
17335 @@ -6298,14 +7535,14 @@ if test "$GCC" = yes; then
17336 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
17339 -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17340 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
17341 +{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17342 +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
17343 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17344 - echo $ECHO_N "(cached) $ECHO_C" >&6
17345 + $as_echo_n "(cached) " >&6
17347 lt_cv_prog_compiler_rtti_exceptions=no
17348 ac_outfile=conftest.$ac_objext
17349 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17350 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17351 lt_compiler_flag="-fno-rtti -fno-exceptions"
17352 # Insert the option either (1) after the last *FLAGS variable, or
17353 # (2) before a word containing "conftest.", or (3) at the end.
17354 @@ -6313,26 +7550,28 @@ else
17355 # with a dollar sign (not a hyphen), so the echo should work correctly.
17356 # The option is referenced via a variable to avoid confusing sed.
17357 lt_compile=`echo "$ac_compile" | $SED \
17358 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17359 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17360 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17361 -e 's:$: $lt_compiler_flag:'`
17362 - (eval echo "\"\$as_me:6319: $lt_compile\"" >&5)
17363 + (eval echo "\"\$as_me:7556: $lt_compile\"" >&5)
17364 (eval "$lt_compile" 2>conftest.err)
17366 cat conftest.err >&5
17367 - echo "$as_me:6323: \$? = $ac_status" >&5
17368 + echo "$as_me:7560: \$? = $ac_status" >&5
17369 if (exit $ac_status) && test -s "$ac_outfile"; then
17370 # The compiler can only warn and ignore the option if not recognized
17371 - # So say no if there are warnings
17372 - if test ! -s conftest.err; then
17373 + # So say no if there are warnings other than the usual output.
17374 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17375 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17376 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17377 lt_cv_prog_compiler_rtti_exceptions=yes
17383 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17384 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
17385 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17386 +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17388 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17389 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
17390 @@ -6346,8 +7585,8 @@ lt_prog_compiler_wl=
17391 lt_prog_compiler_pic=
17392 lt_prog_compiler_static=
17394 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17395 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17396 +{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17397 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17399 if test "$GCC" = yes; then
17400 lt_prog_compiler_wl='-Wl,'
17401 @@ -6369,13 +7608,15 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17402 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
17405 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17406 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17407 # PIC is the default for these OSes.
17410 - mingw* | pw32* | os2*)
17411 + mingw* | cygwin* | pw32* | os2*)
17412 # This hack is so that the source file can tell whether it is being
17413 # built for inclusion in a dll (and should export symbols for example).
17414 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
17415 + # (--disable-auto-import) libraries
17416 lt_prog_compiler_pic='-DDLL_EXPORT'
17419 @@ -6385,6 +7626,11 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17420 lt_prog_compiler_pic='-fno-common'
17424 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17425 + # Instead, we relocate shared libraries at runtime.
17429 # Just because we use GCC doesn't mean we suddenly get shared libraries
17430 # on systems that don't support them.
17431 @@ -6401,7 +7647,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17433 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17434 # not for PA HP-UX.
17435 - case "$host_cpu" in
17436 + case $host_cpu in
17440 @@ -6427,8 +7673,18 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17441 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
17445 + # PIC is the default on this platform
17446 + # Common symbols not allowed in MH_DYLIB files
17447 + case $cc_basename in
17449 + lt_prog_compiler_pic='-qnocommon'
17450 + lt_prog_compiler_wl='-Wl,'
17455 - mingw* | pw32* | os2*)
17456 + mingw* | cygwin* | pw32* | os2*)
17457 # This hack is so that the source file can tell whether it is being
17458 # built for inclusion in a dll (and should export symbols for example).
17459 lt_prog_compiler_pic='-DDLL_EXPORT'
17460 @@ -6438,7 +7694,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17461 lt_prog_compiler_wl='-Wl,'
17462 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17463 # not for PA HP-UX.
17464 - case "$host_cpu" in
17465 + case $host_cpu in
17469 @@ -6461,18 +7717,41 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17470 lt_prog_compiler_static='-Bstatic'
17475 + linux* | k*bsd*-gnu)
17476 + case $cc_basename in
17478 lt_prog_compiler_wl='-Wl,'
17479 lt_prog_compiler_pic='-KPIC'
17480 lt_prog_compiler_static='-static'
17482 + pgcc* | pgf77* | pgf90* | pgf95*)
17483 + # Portland Group compilers (*not* the Pentium gcc compiler,
17484 + # which looks to be a dead project)
17485 + lt_prog_compiler_wl='-Wl,'
17486 + lt_prog_compiler_pic='-fpic'
17487 + lt_prog_compiler_static='-Bstatic'
17490 lt_prog_compiler_wl='-Wl,'
17491 # All Alpha code is PIC.
17492 lt_prog_compiler_static='-non_shared'
17495 + case `$CC -V 2>&1 | sed 5q` in
17498 + lt_prog_compiler_pic='-KPIC'
17499 + lt_prog_compiler_static='-Bstatic'
17500 + lt_prog_compiler_wl='-Wl,'
17503 + # Sun Fortran 8.3 passes all unrecognized flags to the linker
17504 + lt_prog_compiler_pic='-KPIC'
17505 + lt_prog_compiler_static='-Bstatic'
17506 + lt_prog_compiler_wl=''
17513 @@ -6482,15 +7761,19 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17514 lt_prog_compiler_static='-non_shared'
17518 - lt_prog_compiler_pic='-Kpic'
17519 - lt_prog_compiler_static='-dn'
17521 + lt_prog_compiler_static='-non_shared'
17525 - lt_prog_compiler_wl='-Wl,'
17526 lt_prog_compiler_pic='-KPIC'
17527 lt_prog_compiler_static='-Bstatic'
17528 + case $cc_basename in
17529 + f77* | f90* | f95*)
17530 + lt_prog_compiler_wl='-Qoption ld ';;
17532 + lt_prog_compiler_wl='-Wl,';;
17537 @@ -6499,7 +7782,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17538 lt_prog_compiler_static='-Bstatic'
17541 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
17542 + sysv4 | sysv4.2uw2* | sysv4.3*)
17543 lt_prog_compiler_wl='-Wl,'
17544 lt_prog_compiler_pic='-KPIC'
17545 lt_prog_compiler_static='-Bstatic'
17546 @@ -6512,6 +7795,17 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17550 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17551 + lt_prog_compiler_wl='-Wl,'
17552 + lt_prog_compiler_pic='-KPIC'
17553 + lt_prog_compiler_static='-Bstatic'
17557 + lt_prog_compiler_wl='-Wl,'
17558 + lt_prog_compiler_can_build_shared=no
17562 lt_prog_compiler_pic='-pic'
17563 lt_prog_compiler_static='-Bstatic'
17564 @@ -6523,22 +7817,22 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17568 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
17569 -echo "${ECHO_T}$lt_prog_compiler_pic" >&6
17570 +{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
17571 +$as_echo "$lt_prog_compiler_pic" >&6; }
17574 # Check to make sure the PIC flag actually works.
17576 if test -n "$lt_prog_compiler_pic"; then
17578 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
17579 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
17580 -if test "${lt_prog_compiler_pic_works+set}" = set; then
17581 - echo $ECHO_N "(cached) $ECHO_C" >&6
17582 +{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
17583 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
17584 +if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
17585 + $as_echo_n "(cached) " >&6
17587 - lt_prog_compiler_pic_works=no
17588 + lt_cv_prog_compiler_pic_works=no
17589 ac_outfile=conftest.$ac_objext
17590 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17591 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17592 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
17593 # Insert the option either (1) after the last *FLAGS variable, or
17594 # (2) before a word containing "conftest.", or (3) at the end.
17595 @@ -6546,28 +7840,30 @@ else
17596 # with a dollar sign (not a hyphen), so the echo should work correctly.
17597 # The option is referenced via a variable to avoid confusing sed.
17598 lt_compile=`echo "$ac_compile" | $SED \
17599 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17600 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17601 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17602 -e 's:$: $lt_compiler_flag:'`
17603 - (eval echo "\"\$as_me:6552: $lt_compile\"" >&5)
17604 + (eval echo "\"\$as_me:7846: $lt_compile\"" >&5)
17605 (eval "$lt_compile" 2>conftest.err)
17607 cat conftest.err >&5
17608 - echo "$as_me:6556: \$? = $ac_status" >&5
17609 + echo "$as_me:7850: \$? = $ac_status" >&5
17610 if (exit $ac_status) && test -s "$ac_outfile"; then
17611 # The compiler can only warn and ignore the option if not recognized
17612 - # So say no if there are warnings
17613 - if test ! -s conftest.err; then
17614 - lt_prog_compiler_pic_works=yes
17615 + # So say no if there are warnings other than the usual output.
17616 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17617 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17618 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17619 + lt_cv_prog_compiler_pic_works=yes
17625 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
17626 -echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
17627 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
17628 +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
17630 -if test x"$lt_prog_compiler_pic_works" = xyes; then
17631 +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
17632 case $lt_prog_compiler_pic in
17634 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
17635 @@ -6578,7 +7874,7 @@ else
17639 -case "$host_os" in
17641 # For platforms which do not support PIC, -DPIC is meaningless:
17643 lt_prog_compiler_pic=
17644 @@ -6588,17 +7884,59 @@ case "$host_os" in
17648 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17649 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
17651 +# Check to make sure the static flag actually works.
17653 +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
17654 +{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17655 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17656 +if test "${lt_cv_prog_compiler_static_works+set}" = set; then
17657 + $as_echo_n "(cached) " >&6
17659 + lt_cv_prog_compiler_static_works=no
17660 + save_LDFLAGS="$LDFLAGS"
17661 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17662 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
17663 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17664 + # The linker can only warn and ignore the option if not recognized
17665 + # So say no if there are warnings
17666 + if test -s conftest.err; then
17667 + # Append any errors to the config.log.
17668 + cat conftest.err 1>&5
17669 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17670 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17671 + if diff conftest.exp conftest.er2 >/dev/null; then
17672 + lt_cv_prog_compiler_static_works=yes
17675 + lt_cv_prog_compiler_static_works=yes
17679 + LDFLAGS="$save_LDFLAGS"
17682 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
17683 +$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
17685 +if test x"$lt_cv_prog_compiler_static_works" = xyes; then
17688 + lt_prog_compiler_static=
17692 +{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17693 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17694 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
17695 - echo $ECHO_N "(cached) $ECHO_C" >&6
17696 + $as_echo_n "(cached) " >&6
17698 lt_cv_prog_compiler_c_o=no
17699 $rm -r conftest 2>/dev/null
17703 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17704 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17706 lt_compiler_flag="-o out/conftest2.$ac_objext"
17707 # Insert the option either (1) after the last *FLAGS variable, or
17708 @@ -6606,23 +7944,25 @@ else
17709 # Note that $ac_compile itself does not contain backslashes and begins
17710 # with a dollar sign (not a hyphen), so the echo should work correctly.
17711 lt_compile=`echo "$ac_compile" | $SED \
17712 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17713 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17714 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17715 -e 's:$: $lt_compiler_flag:'`
17716 - (eval echo "\"\$as_me:6612: $lt_compile\"" >&5)
17717 + (eval echo "\"\$as_me:7950: $lt_compile\"" >&5)
17718 (eval "$lt_compile" 2>out/conftest.err)
17720 cat out/conftest.err >&5
17721 - echo "$as_me:6616: \$? = $ac_status" >&5
17722 + echo "$as_me:7954: \$? = $ac_status" >&5
17723 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17725 # The compiler can only warn and ignore the option if not recognized
17726 # So say no if there are warnings
17727 - if test ! -s out/conftest.err; then
17728 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17729 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17730 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17731 lt_cv_prog_compiler_c_o=yes
17737 # SGI C++ compiler will create directory out/ii_files/ for
17738 # template instantiation
17739 @@ -6633,34 +7973,34 @@ else
17743 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
17744 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
17745 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
17746 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
17749 hard_links="nottested"
17750 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
17751 # do not overwrite the value of need_locks provided by the user
17752 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17753 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
17754 + { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17755 +$as_echo_n "checking if we can lock with hard links... " >&6; }
17758 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17760 ln conftest.a conftest.b 2>&5 || hard_links=no
17761 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17762 - echo "$as_me:$LINENO: result: $hard_links" >&5
17763 -echo "${ECHO_T}$hard_links" >&6
17764 + { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
17765 +$as_echo "$hard_links" >&6; }
17766 if test "$hard_links" = no; then
17767 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17768 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17769 + { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17770 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17777 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17778 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
17779 +{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17780 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17783 allow_undefined_flag=
17784 @@ -6691,13 +8031,24 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
17785 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17786 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17787 # as well as any symbol that contains `d'.
17788 - exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
17789 + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17790 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17791 # platforms (ab)use it in PIC code, but their linkers get confused if
17792 # the symbol is explicitly referenced. Since portable code cannot
17793 # rely on this symbol name, it's probably fine to never include it in
17794 # preloaded symbol tables.
17795 + # Exclude shared library initialization/finalization symbols.
17796 extract_expsyms_cmds=
17797 + # Just being paranoid about ensuring that cc_basename is set.
17798 + for cc_temp in $compiler""; do
17800 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17801 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17806 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17809 cygwin* | mingw* | pw32*)
17810 @@ -6708,6 +8059,10 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
17815 + # we just hope/assume this is gcc and not c89 (= MSVC++)
17821 @@ -6718,9 +8073,30 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
17822 # If archive_cmds runs LD, not CC, wlarc should be empty
17825 + # Set some defaults for GNU ld with shared library support. These
17826 + # are reset later if shared libraries are not supported. Putting them
17827 + # here allows them to be overridden if necessary.
17828 + runpath_var=LD_RUN_PATH
17829 + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
17830 + export_dynamic_flag_spec='${wl}--export-dynamic'
17831 + # ancient GNU ld didn't support --whole-archive et. al.
17832 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17833 + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17835 + whole_archive_flag_spec=
17837 + supports_anon_versioning=no
17838 + case `$LD -v 2>/dev/null` in
17839 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17840 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17841 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17842 + *\ 2.11.*) ;; # other 2.11 versions
17843 + *) supports_anon_versioning=yes ;;
17846 # See if GNU ld supports shared libraries.
17848 - aix3* | aix4* | aix5*)
17850 # On AIX/PPC, the GNU linker is very broken
17851 if test "$host_cpu" != ia64; then
17853 @@ -6768,10 +8144,10 @@ EOF
17854 allow_undefined_flag=unsupported
17855 always_export_symbols=no
17856 enable_shared_with_static_runtimes=yes
17857 - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17858 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17860 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17861 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17862 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17863 # If the export-symbols file already is a .def file (1st line
17864 # is EXPORTS), use it as is; otherwise, prepend...
17865 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17866 @@ -6780,13 +8156,69 @@ EOF
17867 echo EXPORTS > $output_objdir/$soname.def;
17868 cat $export_symbols >> $output_objdir/$soname.def;
17870 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17871 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17878 + hardcode_direct=no
17879 + hardcode_shlibpath_var=no
17880 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
17881 + export_dynamic_flag_spec='${wl}-E'
17882 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17883 + # Instead, shared libraries are loaded at an image base (0x10000000 by
17884 + # default) and relocated if they conflict, which is a slow very memory
17885 + # consuming and fragmenting process. To avoid this, we pick a random,
17886 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17887 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17888 + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17889 + 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'
17892 + gnu* | linux* | k*bsd*-gnu)
17893 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17895 + case $cc_basename,$host_cpu in
17896 + pgcc*) # Portland Group C compiler
17897 + 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'
17898 + tmp_addflag=' $pic_flag'
17900 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
17901 + 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'
17902 + tmp_addflag=' $pic_flag -Mnomain' ;;
17903 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
17904 + tmp_addflag=' -i_dynamic' ;;
17905 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
17906 + tmp_addflag=' -i_dynamic -nofor_main' ;;
17907 + ifc* | ifort*) # Intel Fortran compiler
17908 + tmp_addflag=' -nofor_main' ;;
17910 + case `$CC -V 2>&1 | sed 5q` in
17911 + *Sun\ C*) # Sun C 5.9
17912 + 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'
17913 + tmp_sharedflag='-G' ;;
17914 + *Sun\ F*) # Sun Fortran 8.3
17915 + tmp_sharedflag='-G' ;;
17917 + tmp_sharedflag='-shared' ;;
17919 + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17921 + if test $supports_anon_versioning = yes; then
17922 + archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
17923 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17924 + $echo "local: *; };" >> $output_objdir/$libname.ver~
17925 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17927 + link_all_deplibs=no
17934 + netbsd* | netbsdelf*-gnu)
17935 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17936 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17938 @@ -6796,7 +8228,7 @@ EOF
17942 - solaris* | sysv5*)
17944 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17947 @@ -6817,6 +8249,33 @@ EOF
17951 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17952 + case `$LD -v 2>&1` in
17953 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17955 + cat <<_LT_EOF 1>&2
17957 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17958 +*** reliably create shared libraries on SCO systems. Therefore, libtool
17959 +*** is disabling shared libraries support. We urge you to upgrade GNU
17960 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17961 +*** your PATH or compiler configuration so that the native linker is
17962 +*** used, and then restart.
17967 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17968 + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17969 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17970 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17979 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17981 @@ -6824,31 +8283,6 @@ EOF
17982 hardcode_shlibpath_var=no
17986 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17987 - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17988 - archive_cmds="$tmp_archive_cmds"
17989 - supports_anon_versioning=no
17990 - case `$LD -v 2>/dev/null` in
17991 - *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17992 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17993 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17994 - *\ 2.11.*) ;; # other 2.11 versions
17995 - *) supports_anon_versioning=yes ;;
17997 - if test $supports_anon_versioning = yes; then
17998 - archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
17999 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18000 -$echo "local: *; };" >> $output_objdir/$libname.ver~
18001 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18003 - archive_expsym_cmds="$tmp_archive_cmds"
18011 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18012 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18013 @@ -6859,16 +8293,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
18017 - if test "$ld_shlibs" = yes; then
18018 - runpath_var=LD_RUN_PATH
18019 - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
18020 - export_dynamic_flag_spec='${wl}--export-dynamic'
18021 - # ancient GNU ld didn't support --whole-archive et. al.
18022 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
18023 - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18025 - whole_archive_flag_spec=
18027 + if test "$ld_shlibs" = no; then
18029 + hardcode_libdir_flag_spec=
18030 + export_dynamic_flag_spec=
18031 + whole_archive_flag_spec=
18034 # PORTME fill in a description of your system's linker (not GNU ld)
18035 @@ -6880,14 +8309,14 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
18036 # Note: this linker hardcodes the directories in LIBPATH if there
18037 # are no directories specified by -L.
18038 hardcode_minus_L=yes
18039 - if test "$GCC" = yes && test -z "$link_static_flag"; then
18040 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18041 # Neither direct hardcoding nor static linking is supported with a
18043 hardcode_direct=unsupported
18049 if test "$host_cpu" = ia64; then
18050 # On IA64, the linker does run time linking by default, so we don't
18051 # have to do anything special.
18052 @@ -6907,13 +8336,14 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
18053 # Test if we are trying to use run time linking or normal
18054 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18055 # need to do runtime linking.
18056 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18057 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
18058 for ld_flag in $LDFLAGS; do
18059 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18060 aix_use_runtimelinking=yes
18067 exp_sym_flag='-bexport'
18068 @@ -6932,7 +8362,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
18069 link_all_deplibs=yes
18071 if test "$GCC" = yes; then
18072 - case $host_os in aix4.012|aix4.012.*)
18073 + case $host_os in aix4.[012]|aix4.[012].*)
18074 # We only want to do this on AIX 4.2 and lower, the check
18075 # below for broken collect2 doesn't work under 4.3+
18076 collect2name=`${CC} -print-prog-name=collect2`
18077 @@ -6940,7 +8370,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
18078 strings "$collect2name" | grep resolve_lib_name >/dev/null
18080 # We have reworked collect2
18081 - hardcode_direct=yes
18084 # We have old collect2
18085 hardcode_direct=unsupported
18086 @@ -6951,8 +8381,12 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
18087 hardcode_libdir_flag_spec='-L$libdir'
18088 hardcode_libdir_separator=
18092 shared_flag='-shared'
18093 + if test "$aix_use_runtimelinking" = yes; then
18094 + shared_flag="$shared_flag "'${wl}-G'
18098 if test "$host_cpu" = ia64; then
18099 @@ -6960,11 +8394,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
18100 # chokes on -Wl,-G. The following line is correct:
18103 - if test "$aix_use_runtimelinking" = yes; then
18104 + if test "$aix_use_runtimelinking" = yes; then
18105 shared_flag='${wl}-G'
18107 shared_flag='${wl}-bM:SRE'
18113 @@ -6992,49 +8426,58 @@ main ()
18116 rm -f conftest.$ac_objext conftest$ac_exeext
18117 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18118 - (eval $ac_link) 2>conftest.er1
18119 +if { (ac_try="$ac_link"
18120 +case "(($ac_try" in
18121 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18122 + *) ac_try_echo=$ac_try;;
18124 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18125 +$as_echo "$ac_try_echo") >&5
18126 + (eval "$ac_link") 2>conftest.er1
18128 grep -v '^ *+' conftest.er1 >conftest.err
18130 cat conftest.err >&5
18131 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 - (exit $ac_status); } &&
18133 - { ac_try='test -z "$ac_c_werror_flag"
18134 - || test ! -s conftest.err'
18135 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18136 - (eval $ac_try) 2>&5
18138 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18139 - (exit $ac_status); }; } &&
18140 - { ac_try='test -s conftest$ac_exeext'
18141 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18142 - (eval $ac_try) 2>&5
18144 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18145 - (exit $ac_status); }; }; then
18147 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18149 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 + (exit $ac_status); } && {
18151 + test -z "$ac_c_werror_flag" ||
18152 + test ! -s conftest.err
18153 + } && test -s conftest$ac_exeext && {
18154 + test "$cross_compiling" = yes ||
18155 + $as_test_x conftest$ac_exeext
18158 +lt_aix_libpath_sed='
18159 + /Import File Strings/,/^$/ {
18161 + s/^0 *\(.*\)$/\1/
18165 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18166 # Check for a 64-bit object if we didn't find anything.
18167 -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; }
18169 +if test -z "$aix_libpath"; then
18170 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18173 - echo "$as_me: failed program was:" >&5
18174 + $as_echo "$as_me: failed program was:" >&5
18175 sed 's/^/| /' conftest.$ac_ext >&5
18179 -rm -f conftest.err conftest.$ac_objext \
18181 +rm -rf conftest.dSYM
18182 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18183 conftest$ac_exeext conftest.$ac_ext
18184 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18186 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
18187 - 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"
18188 + 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"
18190 if test "$host_cpu" = ia64; then
18191 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
18192 allow_undefined_flag="-z nodefs"
18193 - 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"
18194 + 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"
18196 # Determine the default libpath from the value encoded in an empty executable.
18197 cat >conftest.$ac_ext <<_ACEOF
18198 @@ -7053,39 +8496,48 @@ main ()
18201 rm -f conftest.$ac_objext conftest$ac_exeext
18202 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18203 - (eval $ac_link) 2>conftest.er1
18204 +if { (ac_try="$ac_link"
18205 +case "(($ac_try" in
18206 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18207 + *) ac_try_echo=$ac_try;;
18209 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18210 +$as_echo "$ac_try_echo") >&5
18211 + (eval "$ac_link") 2>conftest.er1
18213 grep -v '^ *+' conftest.er1 >conftest.err
18215 cat conftest.err >&5
18216 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 - (exit $ac_status); } &&
18218 - { ac_try='test -z "$ac_c_werror_flag"
18219 - || test ! -s conftest.err'
18220 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18221 - (eval $ac_try) 2>&5
18223 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 - (exit $ac_status); }; } &&
18225 - { ac_try='test -s conftest$ac_exeext'
18226 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18227 - (eval $ac_try) 2>&5
18229 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 - (exit $ac_status); }; }; then
18232 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18234 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18235 + (exit $ac_status); } && {
18236 + test -z "$ac_c_werror_flag" ||
18237 + test ! -s conftest.err
18238 + } && test -s conftest$ac_exeext && {
18239 + test "$cross_compiling" = yes ||
18240 + $as_test_x conftest$ac_exeext
18243 +lt_aix_libpath_sed='
18244 + /Import File Strings/,/^$/ {
18246 + s/^0 *\(.*\)$/\1/
18250 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18251 # Check for a 64-bit object if we didn't find anything.
18252 -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; }
18254 +if test -z "$aix_libpath"; then
18255 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18258 - echo "$as_me: failed program was:" >&5
18259 + $as_echo "$as_me: failed program was:" >&5
18260 sed 's/^/| /' conftest.$ac_ext >&5
18264 -rm -f conftest.err conftest.$ac_objext \
18266 +rm -rf conftest.dSYM
18267 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18268 conftest$ac_exeext conftest.$ac_ext
18269 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18271 @@ -7094,13 +8546,11 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18272 # -berok will link without error, but may produce a broken library.
18273 no_undefined_flag=' ${wl}-bernotok'
18274 allow_undefined_flag=' ${wl}-berok'
18275 - # -bexpall does not export symbols beginning with underscore (_)
18276 - always_export_symbols=yes
18277 # Exported symbols can be pulled into shared objects from archives
18278 - whole_archive_flag_spec=' '
18279 + whole_archive_flag_spec='$convenience'
18280 archive_cmds_need_lc=yes
18281 - # This is similar to how AIX traditionally builds it's shared libraries.
18282 - 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'
18283 + # This is similar to how AIX traditionally builds its shared libraries.
18284 + 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'
18288 @@ -7113,7 +8563,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18294 export_dynamic_flag_spec=-rdynamic
18297 @@ -7133,58 +8583,57 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18298 # The linker will automatically build a .lib file if we build a DLL.
18299 old_archive_From_new_cmds='true'
18300 # FIXME: Should let the user specify the lib program.
18301 - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
18302 + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
18303 fix_srcfile_path='`cygpath -w "$srcfile"`'
18304 enable_shared_with_static_runtimes=yes
18307 darwin* | rhapsody*)
18308 - if test "$GXX" = yes ; then
18309 - archive_cmds_need_lc=no
18310 - case "$host_os" in
18311 - rhapsody* | darwin1.[012])
18312 - allow_undefined_flag='-undefined suppress'
18314 - *) # Darwin 1.3 on
18315 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18316 - allow_undefined_flag='-flat_namespace -undefined suppress'
18318 - case ${MACOSX_DEPLOYMENT_TARGET} in
18320 - allow_undefined_flag='-flat_namespace -undefined suppress'
18323 - allow_undefined_flag='-undefined dynamic_lookup'
18329 + rhapsody* | darwin1.[012])
18330 + allow_undefined_flag='${wl}-undefined ${wl}suppress'
18332 + *) # Darwin 1.3 on
18333 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18334 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18336 + case ${MACOSX_DEPLOYMENT_TARGET} in
18338 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18341 + allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
18347 - lt_int_apple_cc_single_mod=no
18348 - output_verbose_link_cmd='echo'
18349 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
18350 - lt_int_apple_cc_single_mod=yes
18352 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18353 - archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18355 - 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'
18357 - module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18358 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
18359 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18360 - 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}'
18362 - 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}'
18364 - 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}'
18365 + archive_cmds_need_lc=no
18367 hardcode_automatic=yes
18368 hardcode_shlibpath_var=unsupported
18369 - whole_archive_flag_spec='-all_load $convenience'
18370 + whole_archive_flag_spec=''
18371 link_all_deplibs=yes
18372 + if test "$GCC" = yes ; then
18373 + output_verbose_link_cmd='echo'
18374 + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18375 + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18376 + 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}"
18377 + 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}"
18380 + case $cc_basename in
18382 + output_verbose_link_cmd='echo'
18383 + archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18384 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18385 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18386 + 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}'
18387 + 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}'
18396 @@ -7218,7 +8667,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18399 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18400 - freebsd* | kfreebsd*-gnu)
18401 + freebsd* | dragonfly*)
18402 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18403 hardcode_libdir_flag_spec='-R$libdir'
18404 hardcode_direct=yes
18405 @@ -7241,47 +8690,62 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18406 export_dynamic_flag_spec='${wl}-E'
18409 - hpux10* | hpux11*)
18411 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18412 - case "$host_cpu" in
18414 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18416 + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18418 + if test "$with_gnu_ld" = no; then
18419 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
18420 + hardcode_libdir_separator=:
18422 + hardcode_direct=yes
18423 + export_dynamic_flag_spec='${wl}-E'
18425 + # hardcode_minus_L: Not really in the search PATH,
18426 + # but as the default location of the library.
18427 + hardcode_minus_L=yes
18432 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18433 + case $host_cpu in
18435 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18438 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18441 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18445 - case "$host_cpu" in
18447 - archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
18448 + case $host_cpu in
18450 + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18453 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18456 - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18457 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18461 if test "$with_gnu_ld" = no; then
18462 - case "$host_cpu" in
18464 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
18465 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
18466 + hardcode_libdir_separator=:
18468 + case $host_cpu in
18470 hardcode_libdir_flag_spec_ld='+b $libdir'
18471 - hardcode_libdir_separator=:
18472 - hardcode_direct=no
18473 - hardcode_shlibpath_var=no
18476 - hardcode_libdir_flag_spec='-L$libdir'
18478 hardcode_shlibpath_var=no
18480 - # hardcode_minus_L: Not really in the search PATH,
18481 - # but as the default location of the library.
18482 - hardcode_minus_L=yes
18485 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
18486 - hardcode_libdir_separator=:
18487 hardcode_direct=yes
18488 export_dynamic_flag_spec='${wl}-E'
18490 @@ -7305,7 +8769,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18491 link_all_deplibs=yes
18495 + netbsd* | netbsdelf*-gnu)
18496 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18497 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18499 @@ -7325,23 +8789,28 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18503 - hardcode_direct=yes
18504 - hardcode_shlibpath_var=no
18505 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18506 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18507 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
18508 - export_dynamic_flag_spec='${wl}-E'
18509 + if test -f /usr/libexec/ld.so; then
18510 + hardcode_direct=yes
18511 + hardcode_shlibpath_var=no
18512 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18513 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18514 + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18515 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
18516 + export_dynamic_flag_spec='${wl}-E'
18519 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18520 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18521 + hardcode_libdir_flag_spec='-R$libdir'
18524 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18525 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
18531 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18532 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18533 - hardcode_libdir_flag_spec='-R$libdir'
18536 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18537 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
18544 @@ -7374,7 +8843,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18545 allow_undefined_flag=' -expect_unresolved \*'
18546 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'
18547 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
18548 - $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'
18549 + $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'
18551 # Both c and cxx compiler support -rpath directly
18552 hardcode_libdir_flag_spec='-rpath $libdir'
18553 @@ -7382,21 +8851,15 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18554 hardcode_libdir_separator=:
18558 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18559 - hardcode_shlibpath_var=no
18560 - export_dynamic_flag_spec='${wl}-Bexport'
18561 - runpath_var=LD_RUN_PATH
18562 - hardcode_runpath_var=yes
18566 no_undefined_flag=' -z text'
18567 if test "$GCC" = yes; then
18569 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18570 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18571 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18574 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18575 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18576 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18577 @@ -7405,8 +8868,17 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18578 hardcode_shlibpath_var=no
18580 solaris2.[0-5] | solaris2.[0-5].*) ;;
18581 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
18582 - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
18584 + # The compiler driver will combine and reorder linker options,
18585 + # but understands `-z linker_flag'. GCC discards it without `$wl',
18586 + # but is careful enough not to reorder.
18587 + # Supported since Solaris 2.6 (maybe 2.5.1?)
18588 + if test "$GCC" = yes; then
18589 + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18591 + whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
18595 link_all_deplibs=yes
18597 @@ -7463,36 +8935,45 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18602 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18603 - hardcode_direct=yes
18604 - hardcode_minus_L=no
18605 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18606 + no_undefined_flag='${wl}-z,text'
18607 + archive_cmds_need_lc=no
18608 hardcode_shlibpath_var=no
18609 - hardcode_runpath_var=yes
18610 - runpath_var=LD_RUN_PATH
18612 + runpath_var='LD_RUN_PATH'
18614 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
18615 - no_undefined_flag='${wl}-z ${wl}text'
18616 if test "$GCC" = yes; then
18617 - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18618 + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18619 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18621 - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18622 + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18623 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18625 - runpath_var='LD_RUN_PATH'
18626 - hardcode_shlibpath_var=no
18630 - no_undefined_flag=' -z text'
18631 - # $CC -shared without GNU ld will not create a library from C++
18632 - # object files and a static libstdc++, better avoid it by now
18633 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18634 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18635 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18636 - hardcode_libdir_flag_spec=
18637 + sysv5* | sco3.2v5* | sco5v6*)
18638 + # Note: We can NOT use -z defs as we might desire, because we do not
18639 + # link with -lc, and that would cause any symbols used from libc to
18640 + # always be unresolved, which means just about no library would
18641 + # ever link correctly. If we're not using GNU ld we use -z text
18642 + # though, which does catch some bad symbols but isn't as heavy-handed
18644 + no_undefined_flag='${wl}-z,text'
18645 + allow_undefined_flag='${wl}-z,nodefs'
18646 + archive_cmds_need_lc=no
18647 hardcode_shlibpath_var=no
18648 + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18649 + hardcode_libdir_separator=':'
18650 + link_all_deplibs=yes
18651 + export_dynamic_flag_spec='${wl}-Bexport'
18652 runpath_var='LD_RUN_PATH'
18654 + if test "$GCC" = yes; then
18655 + archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18656 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18658 + archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18659 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18664 @@ -7507,15 +8988,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18668 -echo "$as_me:$LINENO: result: $ld_shlibs" >&5
18669 -echo "${ECHO_T}$ld_shlibs" >&6
18670 +{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
18671 +$as_echo "$ld_shlibs" >&6; }
18672 test "$ld_shlibs" = no && can_build_shared=no
18674 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18675 -if test "$GCC" = yes; then
18676 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18680 # Do we need to explicitly link libc?
18682 @@ -7533,21 +9009,22 @@ x|xyes)
18683 # Test whether the compiler implicitly links with -lc since on some
18684 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18685 # to ld, don't add -lc before -lgcc.
18686 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18687 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
18688 + { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18689 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18691 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18692 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18695 (eval $ac_compile) 2>&5
18697 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18698 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); } 2>conftest.err; then
18702 libobjs=conftest.$ac_objext
18704 wl=$lt_prog_compiler_wl
18705 + pic_flag=$lt_prog_compiler_pic
18709 @@ -7558,7 +9035,7 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
18710 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18711 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18713 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18714 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); }
18717 archive_cmds_need_lc=no
18718 @@ -7570,16 +9047,16 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
18719 cat conftest.err 1>&5
18722 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
18723 -echo "${ECHO_T}$archive_cmds_need_lc" >&6
18724 + { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
18725 +$as_echo "$archive_cmds_need_lc" >&6; }
18732 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18733 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
18734 +{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18735 +$as_echo_n "checking dynamic linker characteristics... " >&6; }
18736 library_names_spec=
18737 libname_spec='lib$name'
18739 @@ -7593,17 +9070,55 @@ shlibpath_overrides_runpath=unknown
18741 dynamic_linker="$host_os ld.so"
18742 sys_lib_dlsearch_path_spec="/lib /usr/lib"
18744 if test "$GCC" = yes; then
18745 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18746 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
18748 + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
18749 + *) lt_awk_arg="/^libraries:/" ;;
18751 + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18752 + if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
18753 # if the path contains ";" then we assume it to be the separator
18754 # otherwise default to the standard path separator (i.e. ":") - it is
18755 # assumed that no part of a normal pathname contains ";" but that should
18756 # okay in the real world where ";" in dirpaths is itself problematic.
18757 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18758 + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
18760 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18761 + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18763 + # Ok, now we have the path, separated by spaces, we can step through it
18764 + # and add multilib dir if necessary.
18765 + lt_tmp_lt_search_path_spec=
18766 + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
18767 + for lt_sys_path in $lt_search_path_spec; do
18768 + if test -d "$lt_sys_path/$lt_multi_os_dir"; then
18769 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
18771 + test -d "$lt_sys_path" && \
18772 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
18775 + lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
18776 +BEGIN {RS=" "; FS="/|\n";} {
18779 + for (lt_i = NF; lt_i > 0; lt_i--) {
18780 + if ($lt_i != "" && $lt_i != ".") {
18781 + if ($lt_i == "..") {
18784 + if (lt_count == 0) {
18785 + lt_foo="/" $lt_i lt_foo;
18792 + if (lt_foo != "") { lt_freq[lt_foo]++; }
18793 + if (lt_freq[lt_foo] == 1) { print lt_foo; }
18795 + sys_lib_search_path_spec=`echo $lt_search_path_spec`
18797 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18799 @@ -7624,7 +9139,7 @@ aix3*)
18800 soname_spec='${libname}${release}${shared_ext}$major'
18808 @@ -7680,7 +9195,7 @@ beos*)
18809 shlibpath_var=LIBRARY_PATH
18816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18817 @@ -7708,7 +9223,8 @@ cygwin* | mingw* | pw32*)
18818 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18819 dldir=$destdir/`dirname \$dlpath`~
18820 test -d \$dldir || mkdir -p \$dldir~
18821 - $install_prog $dir/$dlname \$dldir/$dlname'
18822 + $install_prog $dir/$dlname \$dldir/$dlname~
18823 + chmod a+x \$dldir/$dlname'
18824 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18825 dlpath=$dir/\$dldll~
18827 @@ -7738,7 +9254,7 @@ cygwin* | mingw* | pw32*)
18830 # pw32 DLLs use 'pw' prefix rather than 'lib'
18831 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
18832 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18836 @@ -7761,13 +9277,9 @@ darwin* | rhapsody*)
18837 soname_spec='${libname}${release}${major}$shared_ext'
18838 shlibpath_overrides_runpath=yes
18839 shlibpath_var=DYLD_LIBRARY_PATH
18840 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
18841 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18842 - if test "$GCC" = yes; then
18843 - 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"`
18845 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18847 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18849 + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
18850 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18853 @@ -7784,20 +9296,17 @@ freebsd1*)
18858 - version_type=linux
18859 - need_lib_prefix=no
18861 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18862 - soname_spec='${libname}${release}${shared_ext}$major'
18863 - shlibpath_var=LD_LIBRARY_PATH
18864 - shlibpath_overrides_runpath=no
18865 - hardcode_into_libs=yes
18866 - dynamic_linker='GNU ld.so'
18870 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
18871 +freebsd* | dragonfly*)
18872 + # DragonFly does not have aout. When/if they implement a new
18873 + # versioning mechanism, adjust this.
18874 + if test -x /usr/bin/objformat; then
18875 + objformat=`/usr/bin/objformat`
18878 + freebsd[123]*) objformat=aout ;;
18879 + *) objformat=elf ;;
18882 version_type=freebsd-$objformat
18883 case $version_type in
18885 @@ -7815,14 +9324,19 @@ freebsd*)
18887 shlibpath_overrides_runpath=yes
18889 - freebsd3.01* | freebsdelf3.01*)
18890 + freebsd3.[01]* | freebsdelf3.[01]*)
18891 shlibpath_overrides_runpath=yes
18892 hardcode_into_libs=yes
18895 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18896 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18897 shlibpath_overrides_runpath=no
18898 hardcode_into_libs=yes
18900 + *) # from 4.6 on, and DragonFly
18901 + shlibpath_overrides_runpath=yes
18902 + hardcode_into_libs=yes
18907 @@ -7842,7 +9356,7 @@ hpux9* | hpux10* | hpux11*)
18911 - case "$host_cpu" in
18912 + case $host_cpu in
18915 hardcode_into_libs=yes
18916 @@ -7882,6 +9396,18 @@ hpux9* | hpux10* | hpux11*)
18917 postinstall_cmds='chmod 555 $lib'
18921 + version_type=linux
18922 + need_lib_prefix=no
18924 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18925 + soname_spec='${libname}${release}${shared_ext}$major'
18926 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18927 + shlibpath_var=LD_LIBRARY_PATH
18928 + shlibpath_overrides_runpath=no
18929 + hardcode_into_libs=yes
18932 irix5* | irix6* | nonstopux*)
18934 nonstopux*) version_type=nonstopux ;;
18935 @@ -7925,7 +9451,7 @@ linux*oldld* | linux*aout* | linux*coff*)
18938 # This must be Linux ELF.
18940 +linux* | k*bsd*-gnu)
18944 @@ -7939,31 +9465,10 @@ linux*)
18945 # before this can be enabled.
18946 hardcode_into_libs=yes
18948 - # find out which ABI we are using
18950 - case "$host_cpu" in
18951 - x86_64*|s390x*|powerpc64*)
18952 - echo '#line 7946 "configure"' > conftest.$ac_ext
18953 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18954 - (eval $ac_compile) 2>&5
18956 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 - (exit $ac_status); }; then
18958 - case `/usr/bin/file conftest.$ac_objext` in
18961 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18969 # Append ld.so.conf contents to the search path
18970 if test -f /etc/ld.so.conf; then
18971 - lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
18972 - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18973 + 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' ' '`
18974 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18977 # We used to test for /lib/ld.so.1 and disable shared libraries on
18978 @@ -7975,7 +9480,7 @@ linux*)
18979 dynamic_linker='GNU/Linux ld.so'
18987 @@ -7984,7 +9489,7 @@ knetbsd*-gnu)
18988 shlibpath_var=LD_LIBRARY_PATH
18989 shlibpath_overrides_runpath=no
18990 hardcode_into_libs=yes
18991 - dynamic_linker='GNU ld.so'
18992 + dynamic_linker='NetBSD ld.elf_so'
18996 @@ -8024,8 +9529,13 @@ nto-qnx*)
19000 + sys_lib_dlsearch_path_spec="/usr/lib"
19003 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19005 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19006 + *) need_version=no ;;
19008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19009 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19010 shlibpath_var=LD_LIBRARY_PATH
19011 @@ -8063,11 +9573,8 @@ osf3* | osf4* | osf5*)
19012 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19017 - soname_spec='${libname}${release}${shared_ext}$major'
19018 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19019 - shlibpath_var=LD_LIBRARY_PATH
19021 + dynamic_linker=no
19025 @@ -8095,7 +9602,7 @@ sunos4*)
19029 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
19032 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19033 soname_spec='${libname}${release}${shared_ext}$major'
19034 @@ -8128,6 +9635,29 @@ sysv4*MP*)
19038 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19039 + version_type=freebsd-elf
19040 + need_lib_prefix=no
19042 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19043 + soname_spec='${libname}${release}${shared_ext}$major'
19044 + shlibpath_var=LD_LIBRARY_PATH
19045 + hardcode_into_libs=yes
19046 + if test "$with_gnu_ld" = yes; then
19047 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19048 + shlibpath_overrides_runpath=no
19050 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19051 + shlibpath_overrides_runpath=yes
19054 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19058 + sys_lib_dlsearch_path_spec='/usr/lib'
19063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19064 @@ -8139,16 +9669,36 @@ uts4*)
19068 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19069 -echo "${ECHO_T}$dynamic_linker" >&6
19070 +{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19071 +$as_echo "$dynamic_linker" >&6; }
19072 test "$dynamic_linker" = no && can_build_shared=no
19074 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19075 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
19076 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19077 + $as_echo_n "(cached) " >&6
19079 + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
19082 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
19083 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19084 + $as_echo_n "(cached) " >&6
19086 + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
19089 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
19091 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19092 +if test "$GCC" = yes; then
19093 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19096 +{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19097 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19099 if test -n "$hardcode_libdir_flag_spec" || \
19100 - test -n "$runpath_var " || \
19101 - test "X$hardcode_automatic"="Xyes" ; then
19102 + test -n "$runpath_var" || \
19103 + test "X$hardcode_automatic" = "Xyes" ; then
19105 # We can hardcode non-existant directories.
19106 if test "$hardcode_direct" != no &&
19107 @@ -8168,8 +9718,8 @@ else
19109 hardcode_action=unsupported
19111 -echo "$as_me:$LINENO: result: $hardcode_action" >&5
19112 -echo "${ECHO_T}$hardcode_action" >&6
19113 +{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
19114 +$as_echo "$hardcode_action" >&6; }
19116 if test "$hardcode_action" = relink; then
19117 # Fast installation is not supported
19118 @@ -8182,29 +9732,30 @@ fi
19122 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
19123 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
19124 +{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
19125 +$as_echo_n "checking whether stripping libraries is possible... " >&6; }
19126 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
19127 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
19128 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
19129 - echo "$as_me:$LINENO: result: yes" >&5
19130 -echo "${ECHO_T}yes" >&6
19131 + { $as_echo "$as_me:$LINENO: result: yes" >&5
19132 +$as_echo "yes" >&6; }
19134 # FIXME - insert some real tests, host_os isn't really good enough
19137 if test -n "$STRIP" ; then
19138 striplib="$STRIP -x"
19139 - echo "$as_me:$LINENO: result: yes" >&5
19140 -echo "${ECHO_T}yes" >&6
19141 + old_striplib="$STRIP -S"
19142 + { $as_echo "$as_me:$LINENO: result: yes" >&5
19143 +$as_echo "yes" >&6; }
19145 - echo "$as_me:$LINENO: result: no" >&5
19146 -echo "${ECHO_T}no" >&6
19147 + { $as_echo "$as_me:$LINENO: result: no" >&5
19148 +$as_echo "no" >&6; }
19152 - echo "$as_me:$LINENO: result: no" >&5
19153 -echo "${ECHO_T}no" >&6
19154 + { $as_echo "$as_me:$LINENO: result: no" >&5
19155 +$as_echo "no" >&6; }
19159 @@ -8236,10 +9787,10 @@ else
19162 # if libdl is installed we need to link against it
19163 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19164 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19165 + { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19166 +$as_echo_n "checking for dlopen in -ldl... " >&6; }
19167 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19168 - echo $ECHO_N "(cached) $ECHO_C" >&6
19169 + $as_echo_n "(cached) " >&6
19171 ac_check_lib_save_LIBS=$LIBS
19173 @@ -8250,57 +9801,58 @@ cat confdefs.h >>conftest.$ac_ext
19174 cat >>conftest.$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19177 -/* Override any gcc2 internal prototype to avoid an error. */
19178 +/* Override any GCC internal prototype to avoid an error.
19179 + Use char because int might match the return type of a GCC
19180 + builtin and then its argument prototype would still apply. */
19184 -/* We use char because int might match the return type of a gcc2
19185 - builtin and then its argument prototype would still apply. */
19196 rm -f conftest.$ac_objext conftest$ac_exeext
19197 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19198 - (eval $ac_link) 2>conftest.er1
19199 +if { (ac_try="$ac_link"
19200 +case "(($ac_try" in
19201 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19202 + *) ac_try_echo=$ac_try;;
19204 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19205 +$as_echo "$ac_try_echo") >&5
19206 + (eval "$ac_link") 2>conftest.er1
19208 grep -v '^ *+' conftest.er1 >conftest.err
19210 cat conftest.err >&5
19211 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19212 - (exit $ac_status); } &&
19213 - { ac_try='test -z "$ac_c_werror_flag"
19214 - || test ! -s conftest.err'
19215 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19216 - (eval $ac_try) 2>&5
19218 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 - (exit $ac_status); }; } &&
19220 - { ac_try='test -s conftest$ac_exeext'
19221 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19222 - (eval $ac_try) 2>&5
19224 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 - (exit $ac_status); }; }; then
19226 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227 + (exit $ac_status); } && {
19228 + test -z "$ac_c_werror_flag" ||
19229 + test ! -s conftest.err
19230 + } && test -s conftest$ac_exeext && {
19231 + test "$cross_compiling" = yes ||
19232 + $as_test_x conftest$ac_exeext
19234 ac_cv_lib_dl_dlopen=yes
19236 - echo "$as_me: failed program was:" >&5
19237 + $as_echo "$as_me: failed program was:" >&5
19238 sed 's/^/| /' conftest.$ac_ext >&5
19240 -ac_cv_lib_dl_dlopen=no
19241 + ac_cv_lib_dl_dlopen=no
19243 -rm -f conftest.err conftest.$ac_objext \
19245 +rm -rf conftest.dSYM
19246 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19247 conftest$ac_exeext conftest.$ac_ext
19248 LIBS=$ac_check_lib_save_LIBS
19250 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19251 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19252 -if test $ac_cv_lib_dl_dlopen = yes; then
19253 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19254 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
19255 +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
19256 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19259 @@ -8313,10 +9865,10 @@ fi
19263 - echo "$as_me:$LINENO: checking for shl_load" >&5
19264 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
19265 + { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
19266 +$as_echo_n "checking for shl_load... " >&6; }
19267 if test "${ac_cv_func_shl_load+set}" = set; then
19268 - echo $ECHO_N "(cached) $ECHO_C" >&6
19269 + $as_echo_n "(cached) " >&6
19271 cat >conftest.$ac_ext <<_ACEOF
19273 @@ -8341,75 +9893,70 @@ cat >>conftest.$ac_ext <<_ACEOF
19277 -/* Override any gcc2 internal prototype to avoid an error. */
19278 +/* Override any GCC internal prototype to avoid an error.
19279 + Use char because int might match the return type of a GCC
19280 + builtin and then its argument prototype would still apply. */
19285 -/* We use char because int might match the return type of a gcc2
19286 - builtin and then its argument prototype would still apply. */
19288 /* The GNU C library defines this for functions which it implements
19289 to always fail with ENOSYS. Some functions are actually named
19290 something starting with __ and the normal name is an alias. */
19291 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
19292 +#if defined __stub_shl_load || defined __stub___shl_load
19295 -char (*f) () = shl_load;
19297 -#ifdef __cplusplus
19304 -return f != shl_load;
19305 +return shl_load ();
19310 rm -f conftest.$ac_objext conftest$ac_exeext
19311 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19312 - (eval $ac_link) 2>conftest.er1
19313 +if { (ac_try="$ac_link"
19314 +case "(($ac_try" in
19315 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19316 + *) ac_try_echo=$ac_try;;
19318 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19319 +$as_echo "$ac_try_echo") >&5
19320 + (eval "$ac_link") 2>conftest.er1
19322 grep -v '^ *+' conftest.er1 >conftest.err
19324 cat conftest.err >&5
19325 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 - (exit $ac_status); } &&
19327 - { ac_try='test -z "$ac_c_werror_flag"
19328 - || test ! -s conftest.err'
19329 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19330 - (eval $ac_try) 2>&5
19332 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 - (exit $ac_status); }; } &&
19334 - { ac_try='test -s conftest$ac_exeext'
19335 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19336 - (eval $ac_try) 2>&5
19338 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 - (exit $ac_status); }; }; then
19340 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19341 + (exit $ac_status); } && {
19342 + test -z "$ac_c_werror_flag" ||
19343 + test ! -s conftest.err
19344 + } && test -s conftest$ac_exeext && {
19345 + test "$cross_compiling" = yes ||
19346 + $as_test_x conftest$ac_exeext
19348 ac_cv_func_shl_load=yes
19350 - echo "$as_me: failed program was:" >&5
19351 + $as_echo "$as_me: failed program was:" >&5
19352 sed 's/^/| /' conftest.$ac_ext >&5
19354 -ac_cv_func_shl_load=no
19355 + ac_cv_func_shl_load=no
19357 -rm -f conftest.err conftest.$ac_objext \
19359 +rm -rf conftest.dSYM
19360 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19361 conftest$ac_exeext conftest.$ac_ext
19363 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
19364 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
19365 -if test $ac_cv_func_shl_load = yes; then
19366 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
19367 +$as_echo "$ac_cv_func_shl_load" >&6; }
19368 +if test "x$ac_cv_func_shl_load" = x""yes; then
19369 lt_cv_dlopen="shl_load"
19371 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
19372 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
19373 + { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
19374 +$as_echo_n "checking for shl_load in -ldld... " >&6; }
19375 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
19376 - echo $ECHO_N "(cached) $ECHO_C" >&6
19377 + $as_echo_n "(cached) " >&6
19379 ac_check_lib_save_LIBS=$LIBS
19381 @@ -8420,63 +9967,64 @@ cat confdefs.h >>conftest.$ac_ext
19382 cat >>conftest.$ac_ext <<_ACEOF
19383 /* end confdefs.h. */
19385 -/* Override any gcc2 internal prototype to avoid an error. */
19386 +/* Override any GCC internal prototype to avoid an error.
19387 + Use char because int might match the return type of a GCC
19388 + builtin and then its argument prototype would still apply. */
19392 -/* We use char because int might match the return type of a gcc2
19393 - builtin and then its argument prototype would still apply. */
19399 +return shl_load ();
19404 rm -f conftest.$ac_objext conftest$ac_exeext
19405 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19406 - (eval $ac_link) 2>conftest.er1
19407 +if { (ac_try="$ac_link"
19408 +case "(($ac_try" in
19409 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19410 + *) ac_try_echo=$ac_try;;
19412 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19413 +$as_echo "$ac_try_echo") >&5
19414 + (eval "$ac_link") 2>conftest.er1
19416 grep -v '^ *+' conftest.er1 >conftest.err
19418 cat conftest.err >&5
19419 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19420 - (exit $ac_status); } &&
19421 - { ac_try='test -z "$ac_c_werror_flag"
19422 - || test ! -s conftest.err'
19423 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19424 - (eval $ac_try) 2>&5
19426 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19427 - (exit $ac_status); }; } &&
19428 - { ac_try='test -s conftest$ac_exeext'
19429 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19430 - (eval $ac_try) 2>&5
19432 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433 - (exit $ac_status); }; }; then
19434 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 + (exit $ac_status); } && {
19436 + test -z "$ac_c_werror_flag" ||
19437 + test ! -s conftest.err
19438 + } && test -s conftest$ac_exeext && {
19439 + test "$cross_compiling" = yes ||
19440 + $as_test_x conftest$ac_exeext
19442 ac_cv_lib_dld_shl_load=yes
19444 - echo "$as_me: failed program was:" >&5
19445 + $as_echo "$as_me: failed program was:" >&5
19446 sed 's/^/| /' conftest.$ac_ext >&5
19448 -ac_cv_lib_dld_shl_load=no
19449 + ac_cv_lib_dld_shl_load=no
19451 -rm -f conftest.err conftest.$ac_objext \
19453 +rm -rf conftest.dSYM
19454 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19455 conftest$ac_exeext conftest.$ac_ext
19456 LIBS=$ac_check_lib_save_LIBS
19458 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
19459 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
19460 -if test $ac_cv_lib_dld_shl_load = yes; then
19461 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
19462 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
19463 +$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
19464 +if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
19465 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
19467 - echo "$as_me:$LINENO: checking for dlopen" >&5
19468 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
19469 + { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
19470 +$as_echo_n "checking for dlopen... " >&6; }
19471 if test "${ac_cv_func_dlopen+set}" = set; then
19472 - echo $ECHO_N "(cached) $ECHO_C" >&6
19473 + $as_echo_n "(cached) " >&6
19475 cat >conftest.$ac_ext <<_ACEOF
19477 @@ -8501,75 +10049,70 @@ cat >>conftest.$ac_ext <<_ACEOF
19481 -/* Override any gcc2 internal prototype to avoid an error. */
19482 +/* Override any GCC internal prototype to avoid an error.
19483 + Use char because int might match the return type of a GCC
19484 + builtin and then its argument prototype would still apply. */
19489 -/* We use char because int might match the return type of a gcc2
19490 - builtin and then its argument prototype would still apply. */
19492 /* The GNU C library defines this for functions which it implements
19493 to always fail with ENOSYS. Some functions are actually named
19494 something starting with __ and the normal name is an alias. */
19495 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
19496 +#if defined __stub_dlopen || defined __stub___dlopen
19499 -char (*f) () = dlopen;
19501 -#ifdef __cplusplus
19508 -return f != dlopen;
19514 rm -f conftest.$ac_objext conftest$ac_exeext
19515 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19516 - (eval $ac_link) 2>conftest.er1
19517 +if { (ac_try="$ac_link"
19518 +case "(($ac_try" in
19519 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19520 + *) ac_try_echo=$ac_try;;
19522 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19523 +$as_echo "$ac_try_echo") >&5
19524 + (eval "$ac_link") 2>conftest.er1
19526 grep -v '^ *+' conftest.er1 >conftest.err
19528 cat conftest.err >&5
19529 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 - (exit $ac_status); } &&
19531 - { ac_try='test -z "$ac_c_werror_flag"
19532 - || test ! -s conftest.err'
19533 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19534 - (eval $ac_try) 2>&5
19536 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 - (exit $ac_status); }; } &&
19538 - { ac_try='test -s conftest$ac_exeext'
19539 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19540 - (eval $ac_try) 2>&5
19542 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 - (exit $ac_status); }; }; then
19544 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 + (exit $ac_status); } && {
19546 + test -z "$ac_c_werror_flag" ||
19547 + test ! -s conftest.err
19548 + } && test -s conftest$ac_exeext && {
19549 + test "$cross_compiling" = yes ||
19550 + $as_test_x conftest$ac_exeext
19552 ac_cv_func_dlopen=yes
19554 - echo "$as_me: failed program was:" >&5
19555 + $as_echo "$as_me: failed program was:" >&5
19556 sed 's/^/| /' conftest.$ac_ext >&5
19558 -ac_cv_func_dlopen=no
19559 + ac_cv_func_dlopen=no
19561 -rm -f conftest.err conftest.$ac_objext \
19563 +rm -rf conftest.dSYM
19564 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19565 conftest$ac_exeext conftest.$ac_ext
19567 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
19568 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
19569 -if test $ac_cv_func_dlopen = yes; then
19570 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
19571 +$as_echo "$ac_cv_func_dlopen" >&6; }
19572 +if test "x$ac_cv_func_dlopen" = x""yes; then
19573 lt_cv_dlopen="dlopen"
19575 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19576 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19577 + { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19578 +$as_echo_n "checking for dlopen in -ldl... " >&6; }
19579 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19580 - echo $ECHO_N "(cached) $ECHO_C" >&6
19581 + $as_echo_n "(cached) " >&6
19583 ac_check_lib_save_LIBS=$LIBS
19585 @@ -8580,63 +10123,64 @@ cat confdefs.h >>conftest.$ac_ext
19586 cat >>conftest.$ac_ext <<_ACEOF
19587 /* end confdefs.h. */
19589 -/* Override any gcc2 internal prototype to avoid an error. */
19590 +/* Override any GCC internal prototype to avoid an error.
19591 + Use char because int might match the return type of a GCC
19592 + builtin and then its argument prototype would still apply. */
19596 -/* We use char because int might match the return type of a gcc2
19597 - builtin and then its argument prototype would still apply. */
19608 rm -f conftest.$ac_objext conftest$ac_exeext
19609 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19610 - (eval $ac_link) 2>conftest.er1
19611 +if { (ac_try="$ac_link"
19612 +case "(($ac_try" in
19613 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19614 + *) ac_try_echo=$ac_try;;
19616 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19617 +$as_echo "$ac_try_echo") >&5
19618 + (eval "$ac_link") 2>conftest.er1
19620 grep -v '^ *+' conftest.er1 >conftest.err
19622 cat conftest.err >&5
19623 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19624 - (exit $ac_status); } &&
19625 - { ac_try='test -z "$ac_c_werror_flag"
19626 - || test ! -s conftest.err'
19627 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19628 - (eval $ac_try) 2>&5
19630 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 - (exit $ac_status); }; } &&
19632 - { ac_try='test -s conftest$ac_exeext'
19633 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19634 - (eval $ac_try) 2>&5
19636 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637 - (exit $ac_status); }; }; then
19638 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 + (exit $ac_status); } && {
19640 + test -z "$ac_c_werror_flag" ||
19641 + test ! -s conftest.err
19642 + } && test -s conftest$ac_exeext && {
19643 + test "$cross_compiling" = yes ||
19644 + $as_test_x conftest$ac_exeext
19646 ac_cv_lib_dl_dlopen=yes
19648 - echo "$as_me: failed program was:" >&5
19649 + $as_echo "$as_me: failed program was:" >&5
19650 sed 's/^/| /' conftest.$ac_ext >&5
19652 -ac_cv_lib_dl_dlopen=no
19653 + ac_cv_lib_dl_dlopen=no
19655 -rm -f conftest.err conftest.$ac_objext \
19657 +rm -rf conftest.dSYM
19658 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19659 conftest$ac_exeext conftest.$ac_ext
19660 LIBS=$ac_check_lib_save_LIBS
19662 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19663 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19664 -if test $ac_cv_lib_dl_dlopen = yes; then
19665 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19666 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
19667 +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
19668 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19670 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
19671 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
19672 + { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
19673 +$as_echo_n "checking for dlopen in -lsvld... " >&6; }
19674 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
19675 - echo $ECHO_N "(cached) $ECHO_C" >&6
19676 + $as_echo_n "(cached) " >&6
19678 ac_check_lib_save_LIBS=$LIBS
19679 LIBS="-lsvld $LIBS"
19680 @@ -8647,63 +10191,64 @@ cat confdefs.h >>conftest.$ac_ext
19681 cat >>conftest.$ac_ext <<_ACEOF
19682 /* end confdefs.h. */
19684 -/* Override any gcc2 internal prototype to avoid an error. */
19685 +/* Override any GCC internal prototype to avoid an error.
19686 + Use char because int might match the return type of a GCC
19687 + builtin and then its argument prototype would still apply. */
19691 -/* We use char because int might match the return type of a gcc2
19692 - builtin and then its argument prototype would still apply. */
19703 rm -f conftest.$ac_objext conftest$ac_exeext
19704 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19705 - (eval $ac_link) 2>conftest.er1
19706 +if { (ac_try="$ac_link"
19707 +case "(($ac_try" in
19708 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19709 + *) ac_try_echo=$ac_try;;
19711 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19712 +$as_echo "$ac_try_echo") >&5
19713 + (eval "$ac_link") 2>conftest.er1
19715 grep -v '^ *+' conftest.er1 >conftest.err
19717 cat conftest.err >&5
19718 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 - (exit $ac_status); } &&
19720 - { ac_try='test -z "$ac_c_werror_flag"
19721 - || test ! -s conftest.err'
19722 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19723 - (eval $ac_try) 2>&5
19725 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19726 - (exit $ac_status); }; } &&
19727 - { ac_try='test -s conftest$ac_exeext'
19728 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19729 - (eval $ac_try) 2>&5
19731 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 - (exit $ac_status); }; }; then
19733 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19734 + (exit $ac_status); } && {
19735 + test -z "$ac_c_werror_flag" ||
19736 + test ! -s conftest.err
19737 + } && test -s conftest$ac_exeext && {
19738 + test "$cross_compiling" = yes ||
19739 + $as_test_x conftest$ac_exeext
19741 ac_cv_lib_svld_dlopen=yes
19743 - echo "$as_me: failed program was:" >&5
19744 + $as_echo "$as_me: failed program was:" >&5
19745 sed 's/^/| /' conftest.$ac_ext >&5
19747 -ac_cv_lib_svld_dlopen=no
19748 + ac_cv_lib_svld_dlopen=no
19750 -rm -f conftest.err conftest.$ac_objext \
19752 +rm -rf conftest.dSYM
19753 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19754 conftest$ac_exeext conftest.$ac_ext
19755 LIBS=$ac_check_lib_save_LIBS
19757 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
19758 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
19759 -if test $ac_cv_lib_svld_dlopen = yes; then
19760 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
19761 +$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
19762 +if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
19763 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
19765 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
19766 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
19767 + { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
19768 +$as_echo_n "checking for dld_link in -ldld... " >&6; }
19769 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
19770 - echo $ECHO_N "(cached) $ECHO_C" >&6
19771 + $as_echo_n "(cached) " >&6
19773 ac_check_lib_save_LIBS=$LIBS
19775 @@ -8714,58 +10259,59 @@ cat confdefs.h >>conftest.$ac_ext
19776 cat >>conftest.$ac_ext <<_ACEOF
19777 /* end confdefs.h. */
19779 -/* Override any gcc2 internal prototype to avoid an error. */
19780 +/* Override any GCC internal prototype to avoid an error.
19781 + Use char because int might match the return type of a GCC
19782 + builtin and then its argument prototype would still apply. */
19786 -/* We use char because int might match the return type of a gcc2
19787 - builtin and then its argument prototype would still apply. */
19793 +return dld_link ();
19798 rm -f conftest.$ac_objext conftest$ac_exeext
19799 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19800 - (eval $ac_link) 2>conftest.er1
19801 +if { (ac_try="$ac_link"
19802 +case "(($ac_try" in
19803 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19804 + *) ac_try_echo=$ac_try;;
19806 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19807 +$as_echo "$ac_try_echo") >&5
19808 + (eval "$ac_link") 2>conftest.er1
19810 grep -v '^ *+' conftest.er1 >conftest.err
19812 cat conftest.err >&5
19813 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 - (exit $ac_status); } &&
19815 - { ac_try='test -z "$ac_c_werror_flag"
19816 - || test ! -s conftest.err'
19817 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19818 - (eval $ac_try) 2>&5
19820 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19821 - (exit $ac_status); }; } &&
19822 - { ac_try='test -s conftest$ac_exeext'
19823 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19824 - (eval $ac_try) 2>&5
19826 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 - (exit $ac_status); }; }; then
19828 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 + (exit $ac_status); } && {
19830 + test -z "$ac_c_werror_flag" ||
19831 + test ! -s conftest.err
19832 + } && test -s conftest$ac_exeext && {
19833 + test "$cross_compiling" = yes ||
19834 + $as_test_x conftest$ac_exeext
19836 ac_cv_lib_dld_dld_link=yes
19838 - echo "$as_me: failed program was:" >&5
19839 + $as_echo "$as_me: failed program was:" >&5
19840 sed 's/^/| /' conftest.$ac_ext >&5
19842 -ac_cv_lib_dld_dld_link=no
19843 + ac_cv_lib_dld_dld_link=no
19845 -rm -f conftest.err conftest.$ac_objext \
19847 +rm -rf conftest.dSYM
19848 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19849 conftest$ac_exeext conftest.$ac_ext
19850 LIBS=$ac_check_lib_save_LIBS
19852 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
19853 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
19854 -if test $ac_cv_lib_dld_dld_link = yes; then
19855 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
19856 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
19857 +$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
19858 +if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
19859 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
19863 @@ -8798,15 +10344,15 @@ fi
19864 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
19866 save_LDFLAGS="$LDFLAGS"
19867 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
19868 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
19871 LIBS="$lt_cv_dlopen_libs $LIBS"
19873 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
19874 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
19875 + { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
19876 +$as_echo_n "checking whether a program can dlopen itself... " >&6; }
19877 if test "${lt_cv_dlopen_self+set}" = set; then
19878 - echo $ECHO_N "(cached) $ECHO_C" >&6
19879 + $as_echo_n "(cached) " >&6
19881 if test "$cross_compiling" = yes; then :
19882 lt_cv_dlopen_self=cross
19883 @@ -8814,7 +10360,7 @@ else
19884 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19885 lt_status=$lt_dlunknown
19886 cat > conftest.$ac_ext <<EOF
19887 -#line 8817 "configure"
19888 +#line 10363 "configure"
19889 #include "confdefs.h"
19892 @@ -8871,6 +10417,8 @@ int main ()
19893 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19894 /* dlclose (self); */
19897 + puts (dlerror ());
19901 @@ -8878,14 +10426,14 @@ EOF
19902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19903 (eval $ac_link) 2>&5
19905 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19906 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19908 - (./conftest; exit; ) 2>/dev/null
19909 + (./conftest; exit; ) >&5 2>/dev/null
19911 case x$lt_status in
19912 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
19913 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
19914 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
19915 + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
19918 # compilation failed
19919 @@ -8896,15 +10444,15 @@ rm -fr conftest*
19923 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
19924 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
19925 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
19926 +$as_echo "$lt_cv_dlopen_self" >&6; }
19928 if test "x$lt_cv_dlopen_self" = xyes; then
19929 - LDFLAGS="$LDFLAGS $link_static_flag"
19930 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
19931 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
19932 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
19933 + { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
19934 +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
19935 if test "${lt_cv_dlopen_self_static+set}" = set; then
19936 - echo $ECHO_N "(cached) $ECHO_C" >&6
19937 + $as_echo_n "(cached) " >&6
19939 if test "$cross_compiling" = yes; then :
19940 lt_cv_dlopen_self_static=cross
19941 @@ -8912,7 +10460,7 @@ else
19942 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19943 lt_status=$lt_dlunknown
19944 cat > conftest.$ac_ext <<EOF
19945 -#line 8915 "configure"
19946 +#line 10463 "configure"
19947 #include "confdefs.h"
19950 @@ -8969,6 +10517,8 @@ int main ()
19951 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19952 /* dlclose (self); */
19955 + puts (dlerror ());
19959 @@ -8976,14 +10526,14 @@ EOF
19960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19961 (eval $ac_link) 2>&5
19963 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19966 - (./conftest; exit; ) 2>/dev/null
19967 + (./conftest; exit; ) >&5 2>/dev/null
19969 case x$lt_status in
19970 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
19971 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
19972 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
19973 + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
19976 # compilation failed
19977 @@ -8994,8 +10544,8 @@ rm -fr conftest*
19981 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19982 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
19983 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19984 +$as_echo "$lt_cv_dlopen_self_static" >&6; }
19987 CPPFLAGS="$save_CPPFLAGS"
19988 @@ -9016,19 +10566,19 @@ echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
19992 -# Report which librarie types wil actually be built
19993 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
19994 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
19995 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
19996 -echo "${ECHO_T}$can_build_shared" >&6
19997 +# Report which library types will actually be built
19998 +{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
19999 +$as_echo_n "checking if libtool supports shared libraries... " >&6; }
20000 +{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
20001 +$as_echo "$can_build_shared" >&6; }
20003 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
20004 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
20005 +{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
20006 +$as_echo_n "checking whether to build shared libraries... " >&6; }
20007 test "$can_build_shared" = "no" && enable_shared=no
20009 # On AIX, shared libraries and static libraries use the same namespace, and
20010 # are all built from PIC.
20011 -case "$host_os" in
20014 test "$enable_shared" = yes && enable_static=no
20015 if test -n "$RANLIB"; then
20016 @@ -9037,58 +10587,21 @@ aix3*)
20022 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
20023 test "$enable_shared" = yes && enable_static=no
20026 - darwin* | rhapsody*)
20027 - if test "$GCC" = yes; then
20028 - archive_cmds_need_lc=no
20029 - case "$host_os" in
20030 - rhapsody* | darwin1.[012])
20031 - allow_undefined_flag='-undefined suppress'
20033 - *) # Darwin 1.3 on
20034 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
20035 - allow_undefined_flag='-flat_namespace -undefined suppress'
20037 - case ${MACOSX_DEPLOYMENT_TARGET} in
20039 - allow_undefined_flag='-flat_namespace -undefined suppress'
20042 - allow_undefined_flag='-undefined dynamic_lookup'
20048 - output_verbose_link_cmd='echo'
20049 - archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
20050 - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
20051 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
20052 - 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}'
20053 - 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}'
20054 - hardcode_direct=no
20055 - hardcode_automatic=yes
20056 - hardcode_shlibpath_var=unsupported
20057 - whole_archive_flag_spec='-all_load $convenience'
20058 - link_all_deplibs=yes
20064 -echo "$as_me:$LINENO: result: $enable_shared" >&5
20065 -echo "${ECHO_T}$enable_shared" >&6
20066 +{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
20067 +$as_echo "$enable_shared" >&6; }
20069 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
20070 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
20071 +{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
20072 +$as_echo_n "checking whether to build static libraries... " >&6; }
20073 # Make sure either enable_shared or enable_static is yes.
20074 test "$enable_shared" = yes || enable_static=yes
20075 -echo "$as_me:$LINENO: result: $enable_static" >&5
20076 -echo "${ECHO_T}$enable_static" >&6
20077 +{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
20078 +$as_echo "$enable_static" >&6; }
20080 # The else clause should only fire when bootstrapping the
20081 # libtool distribution, otherwise you forgot to ship ltmain.sh
20082 @@ -9103,7 +10616,7 @@ if test -f "$ltmain"; then
20083 # Now quote all the things that may contain metacharacters while being
20084 # careful not to overquote the AC_SUBSTed values. We take copies of the
20085 # variables and quote the copies for generation of the libtool script.
20086 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
20087 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20089 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20090 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20091 @@ -9130,6 +10643,7 @@ if test -f "$ltmain"; then
20094 compiler_lib_search_path \
20095 + compiler_lib_search_dirs \
20097 archive_expsym_cmds \
20099 @@ -9145,6 +10659,7 @@ if test -f "$ltmain"; then
20101 module_expsym_cmds \
20102 lt_cv_prog_compiler_c_o \
20103 + fix_srcfile_path \
20105 include_expsyms; do
20107 @@ -9179,8 +10694,8 @@ if test -f "$ltmain"; then
20108 cfgfile="${ofile}T"
20109 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
20111 - { echo "$as_me:$LINENO: creating $ofile" >&5
20112 -echo "$as_me: creating $ofile" >&6;}
20113 + { $as_echo "$as_me:$LINENO: creating $ofile" >&5
20114 +$as_echo "$as_me: creating $ofile" >&6;}
20116 cat <<__EOF__ >> "$cfgfile"
20118 @@ -9189,7 +10704,7 @@ echo "$as_me: creating $ofile" >&6;}
20119 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
20120 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
20122 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
20123 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
20124 # Free Software Foundation, Inc.
20126 # This file is part of GNU Libtool:
20127 @@ -9207,7 +10722,7 @@ echo "$as_me: creating $ofile" >&6;}
20129 # You should have received a copy of the GNU General Public License
20130 # along with this program; if not, write to the Free Software
20131 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20132 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20134 # As a special exception to the GNU General Public License, if you
20135 # distribute this file as part of a program that contains a
20136 @@ -9218,11 +10733,11 @@ echo "$as_me: creating $ofile" >&6;}
20139 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
20140 -Xsed="$SED -e s/^X//"
20141 +Xsed="$SED -e 1s/^X//"
20143 # The HP-UX ksh and POSIX shell print the target directory to stdout
20144 # if CDPATH is set.
20145 -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
20146 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20148 # The names of the tagged configurations supported by this script.
20150 @@ -9252,6 +10767,12 @@ fast_install=$enable_fast_install
20152 host_alias=$host_alias
20156 +# The build system.
20157 +build_alias=$build_alias
20159 +build_os=$build_os
20161 # An echo program that does not interpret backslashes.
20163 @@ -9263,6 +10784,9 @@ AR_FLAGS=$lt_AR_FLAGS
20167 +# LTCC compiler flags.
20168 +LTCFLAGS=$lt_LTCFLAGS
20170 # A language-specific compiler.
20173 @@ -9328,7 +10852,7 @@ max_cmd_len=$lt_cv_sys_max_cmd_len
20174 # Does compiler simultaneously support -c and -o options?
20175 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20177 -# Must we lock files when doing compilation ?
20178 +# Must we lock files when doing compilation?
20179 need_locks=$lt_need_locks
20181 # Do we need the lib prefix for modules?
20182 @@ -9416,6 +10940,10 @@ predeps=$lt_predeps
20184 postdeps=$lt_postdeps
20186 +# The directories searched by this compiler when creating a shared
20188 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20190 # The library search path used internally by the compiler when linking
20191 # a shared library.
20192 compiler_lib_search_path=$lt_compiler_lib_search_path
20193 @@ -9504,7 +11032,7 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20194 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20196 # Fix the shell variable \$srcfile for the compiler.
20197 -fix_srcfile_path="$fix_srcfile_path"
20198 +fix_srcfile_path=$lt_fix_srcfile_path
20200 # Set to yes if exported symbols are required.
20201 always_export_symbols=$always_export_symbols
20202 @@ -9571,28 +11099,31 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
20206 -# Check whether --with-tags or --without-tags was given.
20207 +# Check whether --with-tags was given.
20208 if test "${with_tags+set}" = set; then
20209 - withval="$with_tags"
20210 - tagnames="$withval"
20212 + withval=$with_tags; tagnames="$withval"
20216 if test -f "$ltmain" && test -n "$tagnames"; then
20217 if test ! -f "${ofile}"; then
20218 - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
20219 -echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
20220 + { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
20221 +$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
20224 if test -z "$LTCC"; then
20225 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
20226 if test -z "$LTCC"; then
20227 - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
20228 -echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
20229 + { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
20230 +$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
20232 - { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
20233 -echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
20234 + { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
20235 +$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
20238 + if test -z "$LTCFLAGS"; then
20239 + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
20242 # Extract list of available tagged configurations in $ofile.
20243 # Note that this assumes the entire list is on one line.
20244 @@ -9604,16 +11135,16 @@ echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
20245 # Check whether tagname contains only valid characters
20246 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
20248 - *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
20249 -echo "$as_me: error: invalid tag name: $tagname" >&2;}
20250 + *) { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
20251 +$as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
20252 { (exit 1); exit 1; }; }
20256 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
20258 - { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
20259 -echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
20260 + { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
20261 +$as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
20262 { (exit 1); exit 1; }; }
20265 @@ -9623,8 +11154,10 @@ echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
20269 - if test -n "$CXX" && test "X$CXX" != "Xno"; then
20271 + if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
20272 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
20273 + (test "X$CXX" != "Xg++"))) ; then
20275 ac_cpp='$CXXCPP $CPPFLAGS'
20276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20278 @@ -9643,6 +11176,7 @@ hardcode_libdir_flag_spec_CXX=
20279 hardcode_libdir_flag_spec_ld_CXX=
20280 hardcode_libdir_separator_CXX=
20281 hardcode_minus_L_CXX=no
20282 +hardcode_shlibpath_var_CXX=unsupported
20283 hardcode_automatic_CXX=no
20285 module_expsym_cmds_CXX=
20286 @@ -9658,29 +11192,47 @@ postdep_objects_CXX=
20289 compiler_lib_search_path_CXX=
20290 +compiler_lib_search_dirs_CXX=
20292 # Source file extension for C++ test sources.
20296 # Object file extension for compiled C++ test sources.
20300 # Code to be used in simple compile tests
20301 -lt_simple_compile_test_code="int some_variable = 0;\n"
20302 +lt_simple_compile_test_code="int some_variable = 0;"
20304 # Code to be used in simple link tests
20305 -lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
20306 +lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
20308 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20310 # If no C compiler was specified, use CC.
20313 +# If no C compiler flags were specified, use CFLAGS.
20314 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
20316 # Allow CC to be a program name with arguments.
20320 +# save warnings/boilerplate of simple test code
20321 +ac_outfile=conftest.$ac_objext
20322 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20323 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20324 +_lt_compiler_boilerplate=`cat conftest.err`
20327 +ac_outfile=conftest.$ac_objext
20328 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
20329 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20330 +_lt_linker_boilerplate=`cat conftest.err`
20334 # Allow CC to be a program name with arguments.
20337 @@ -9691,18 +11243,27 @@ lt_save_path_LD=$lt_cv_path_LD
20338 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
20339 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
20341 - unset lt_cv_prog_gnu_ld
20342 + $as_unset lt_cv_prog_gnu_ld
20344 if test -n "${lt_cv_path_LDCXX+set}"; then
20345 lt_cv_path_LD=$lt_cv_path_LDCXX
20347 - unset lt_cv_path_LD
20348 + $as_unset lt_cv_path_LD
20350 test -z "${LDCXX+set}" || LD=$LDCXX
20354 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
20355 +for cc_temp in $compiler""; do
20357 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20358 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20363 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20366 # We don't want -fno-exception wen compiling C++ code, so set the
20367 # no_builtin_flag separately
20368 @@ -9716,18 +11277,18 @@ if test "$GXX" = yes; then
20369 # Set up default GNU C++ configuration
20372 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
20373 +# Check whether --with-gnu-ld was given.
20374 if test "${with_gnu_ld+set}" = set; then
20375 - withval="$with_gnu_ld"
20376 - test "$withval" = no || with_gnu_ld=yes
20377 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20384 if test "$GCC" = yes; then
20385 # Check if gcc -print-prog-name=ld gives a path.
20386 - echo "$as_me:$LINENO: checking for ld used by $CC" >&5
20387 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
20388 + { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
20389 +$as_echo_n "checking for ld used by $CC... " >&6; }
20392 # gcc leaves a trailing carriage return which upsets mingw
20393 @@ -9756,14 +11317,14 @@ echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
20396 elif test "$with_gnu_ld" = yes; then
20397 - echo "$as_me:$LINENO: checking for GNU ld" >&5
20398 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
20399 + { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
20400 +$as_echo_n "checking for GNU ld... " >&6; }
20402 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
20403 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
20404 + { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
20405 +$as_echo_n "checking for non-GNU ld... " >&6; }
20407 if test "${lt_cv_path_LD+set}" = set; then
20408 - echo $ECHO_N "(cached) $ECHO_C" >&6
20409 + $as_echo_n "(cached) " >&6
20411 if test -z "$LD"; then
20412 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20413 @@ -9773,7 +11334,7 @@ else
20414 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20415 lt_cv_path_LD="$ac_dir/$ac_prog"
20416 # Check to see if the program is GNU ld. I'd rather use --version,
20417 - # but apparently some GNU ld's only accept -v.
20418 + # but apparently some variants of GNU ld only accept -v.
20419 # Break only if it was the GNU/non-GNU ld that we prefer.
20420 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20421 *GNU* | *'with BFD'*)
20422 @@ -9793,21 +11354,21 @@ fi
20424 LD="$lt_cv_path_LD"
20425 if test -n "$LD"; then
20426 - echo "$as_me:$LINENO: result: $LD" >&5
20427 -echo "${ECHO_T}$LD" >&6
20428 + { $as_echo "$as_me:$LINENO: result: $LD" >&5
20429 +$as_echo "$LD" >&6; }
20431 - echo "$as_me:$LINENO: result: no" >&5
20432 -echo "${ECHO_T}no" >&6
20433 + { $as_echo "$as_me:$LINENO: result: no" >&5
20434 +$as_echo "no" >&6; }
20436 -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
20437 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
20438 +test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
20439 +$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
20440 { (exit 1); exit 1; }; }
20441 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
20442 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
20443 +{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
20444 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20445 if test "${lt_cv_prog_gnu_ld+set}" = set; then
20446 - echo $ECHO_N "(cached) $ECHO_C" >&6
20447 + $as_echo_n "(cached) " >&6
20449 - # I'd rather use --version here, but apparently some GNU ld's only accept -v.
20450 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
20451 case `$LD -v 2>&1 </dev/null` in
20452 *GNU* | *'with BFD'*)
20453 lt_cv_prog_gnu_ld=yes
20454 @@ -9817,8 +11378,8 @@ case `$LD -v 2>&1 </dev/null` in
20458 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
20459 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
20460 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
20461 +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
20462 with_gnu_ld=$lt_cv_prog_gnu_ld
20465 @@ -9868,15 +11429,15 @@ else
20468 # PORTME: fill in a description of your system's C++ link characteristics
20469 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20470 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
20471 +{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20472 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
20476 # FIXME: insert proper C++ library support
20481 if test "$host_cpu" = ia64; then
20482 # On IA64, the linker does run time linking by default, so we don't
20483 # have to do anything special.
20484 @@ -9889,7 +11450,7 @@ case $host_os in
20485 # Test if we are trying to use run time linking or normal
20486 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
20487 # need to do runtime linking.
20488 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
20489 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
20490 for ld_flag in $LDFLAGS; do
20493 @@ -9898,6 +11459,7 @@ case $host_os in
20500 exp_sym_flag='-bexport'
20501 @@ -9916,7 +11478,7 @@ case $host_os in
20502 link_all_deplibs_CXX=yes
20504 if test "$GXX" = yes; then
20505 - case $host_os in aix4.012|aix4.012.*)
20506 + case $host_os in aix4.[012]|aix4.[012].*)
20507 # We only want to do this on AIX 4.2 and lower, the check
20508 # below for broken collect2 doesn't work under 4.3+
20509 collect2name=`${CC} -print-prog-name=collect2`
20510 @@ -9924,7 +11486,7 @@ case $host_os in
20511 strings "$collect2name" | grep resolve_lib_name >/dev/null
20513 # We have reworked collect2
20514 - hardcode_direct_CXX=yes
20517 # We have old collect2
20518 hardcode_direct_CXX=unsupported
20519 @@ -9935,8 +11497,12 @@ case $host_os in
20520 hardcode_libdir_flag_spec_CXX='-L$libdir'
20521 hardcode_libdir_separator_CXX=
20525 shared_flag='-shared'
20526 + if test "$aix_use_runtimelinking" = yes; then
20527 + shared_flag="$shared_flag "'${wl}-G'
20531 if test "$host_cpu" = ia64; then
20532 @@ -9976,50 +11542,59 @@ main ()
20535 rm -f conftest.$ac_objext conftest$ac_exeext
20536 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20537 - (eval $ac_link) 2>conftest.er1
20538 +if { (ac_try="$ac_link"
20539 +case "(($ac_try" in
20540 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20541 + *) ac_try_echo=$ac_try;;
20543 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20544 +$as_echo "$ac_try_echo") >&5
20545 + (eval "$ac_link") 2>conftest.er1
20547 grep -v '^ *+' conftest.er1 >conftest.err
20549 cat conftest.err >&5
20550 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20551 - (exit $ac_status); } &&
20552 - { ac_try='test -z "$ac_cxx_werror_flag"
20553 - || test ! -s conftest.err'
20554 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20555 - (eval $ac_try) 2>&5
20557 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20558 - (exit $ac_status); }; } &&
20559 - { ac_try='test -s conftest$ac_exeext'
20560 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20561 - (eval $ac_try) 2>&5
20563 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20564 - (exit $ac_status); }; }; then
20566 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
20568 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20569 + (exit $ac_status); } && {
20570 + test -z "$ac_cxx_werror_flag" ||
20571 + test ! -s conftest.err
20572 + } && test -s conftest$ac_exeext && {
20573 + test "$cross_compiling" = yes ||
20574 + $as_test_x conftest$ac_exeext
20577 +lt_aix_libpath_sed='
20578 + /Import File Strings/,/^$/ {
20580 + s/^0 *\(.*\)$/\1/
20584 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20585 # Check for a 64-bit object if we didn't find anything.
20586 -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; }
20588 +if test -z "$aix_libpath"; then
20589 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20592 - echo "$as_me: failed program was:" >&5
20593 + $as_echo "$as_me: failed program was:" >&5
20594 sed 's/^/| /' conftest.$ac_ext >&5
20598 -rm -f conftest.err conftest.$ac_objext \
20600 +rm -rf conftest.dSYM
20601 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20602 conftest$ac_exeext conftest.$ac_ext
20603 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20605 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
20607 - 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"
20608 + 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"
20610 if test "$host_cpu" = ia64; then
20611 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
20612 allow_undefined_flag_CXX="-z nodefs"
20613 - 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"
20614 + 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"
20616 # Determine the default libpath from the value encoded in an empty executable.
20617 cat >conftest.$ac_ext <<_ACEOF
20618 @@ -10038,39 +11613,48 @@ main ()
20621 rm -f conftest.$ac_objext conftest$ac_exeext
20622 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20623 - (eval $ac_link) 2>conftest.er1
20624 +if { (ac_try="$ac_link"
20625 +case "(($ac_try" in
20626 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20627 + *) ac_try_echo=$ac_try;;
20629 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20630 +$as_echo "$ac_try_echo") >&5
20631 + (eval "$ac_link") 2>conftest.er1
20633 grep -v '^ *+' conftest.er1 >conftest.err
20635 cat conftest.err >&5
20636 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637 - (exit $ac_status); } &&
20638 - { ac_try='test -z "$ac_cxx_werror_flag"
20639 - || test ! -s conftest.err'
20640 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20641 - (eval $ac_try) 2>&5
20643 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20644 - (exit $ac_status); }; } &&
20645 - { ac_try='test -s conftest$ac_exeext'
20646 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20647 - (eval $ac_try) 2>&5
20649 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20650 - (exit $ac_status); }; }; then
20652 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
20654 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20655 + (exit $ac_status); } && {
20656 + test -z "$ac_cxx_werror_flag" ||
20657 + test ! -s conftest.err
20658 + } && test -s conftest$ac_exeext && {
20659 + test "$cross_compiling" = yes ||
20660 + $as_test_x conftest$ac_exeext
20663 +lt_aix_libpath_sed='
20664 + /Import File Strings/,/^$/ {
20666 + s/^0 *\(.*\)$/\1/
20670 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20671 # Check for a 64-bit object if we didn't find anything.
20672 -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; }
20674 +if test -z "$aix_libpath"; then
20675 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20678 - echo "$as_me: failed program was:" >&5
20679 + $as_echo "$as_me: failed program was:" >&5
20680 sed 's/^/| /' conftest.$ac_ext >&5
20684 -rm -f conftest.err conftest.$ac_objext \
20686 +rm -rf conftest.dSYM
20687 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20688 conftest$ac_exeext conftest.$ac_ext
20689 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20691 @@ -10079,16 +11663,26 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20692 # -berok will link without error, but may produce a broken library.
20693 no_undefined_flag_CXX=' ${wl}-bernotok'
20694 allow_undefined_flag_CXX=' ${wl}-berok'
20695 - # -bexpall does not export symbols beginning with underscore (_)
20696 - always_export_symbols_CXX=yes
20697 # Exported symbols can be pulled into shared objects from archives
20698 - whole_archive_flag_spec_CXX=' '
20699 + whole_archive_flag_spec_CXX='$convenience'
20700 archive_cmds_need_lc_CXX=yes
20701 - # This is similar to how AIX traditionally builds it's shared libraries.
20702 - 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'
20703 + # This is similar to how AIX traditionally builds its shared libraries.
20704 + 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'
20710 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20711 + allow_undefined_flag_CXX=unsupported
20712 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
20713 + # support --undefined. This deserves some investigation. FIXME
20714 + archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20721 case $cc_basename in
20723 @@ -10107,7 +11701,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20724 enable_shared_with_static_runtimes_CXX=yes
20726 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
20727 - 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'
20728 + 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'
20729 # If the export-symbols file already is a .def file (1st line
20730 # is EXPORTS), use it as is; otherwise, prepend...
20731 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
20732 @@ -10116,70 +11710,53 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20733 echo EXPORTS > $output_objdir/$soname.def;
20734 cat $export_symbols >> $output_objdir/$soname.def;
20736 - $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'
20737 + $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'
20743 - darwin* | rhapsody*)
20744 - if test "$GXX" = yes; then
20745 - archive_cmds_need_lc_CXX=no
20746 - case "$host_os" in
20747 - rhapsody* | darwin1.[012])
20748 - allow_undefined_flag_CXX='-undefined suppress'
20750 - *) # Darwin 1.3 on
20751 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
20752 - allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
20753 + darwin* | rhapsody*)
20754 + archive_cmds_need_lc_CXX=no
20755 + hardcode_direct_CXX=no
20756 + hardcode_automatic_CXX=yes
20757 + hardcode_shlibpath_var_CXX=unsupported
20758 + whole_archive_flag_spec_CXX=''
20759 + link_all_deplibs_CXX=yes
20760 + allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
20761 + if test "$GXX" = yes ; then
20762 + output_verbose_link_cmd='echo'
20763 + 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}"
20764 + module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
20765 + 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}"
20766 + 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}"
20767 + if test "$lt_cv_apple_cc_single_mod" != "yes"; then
20768 + 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}"
20769 + 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}"
20772 - case ${MACOSX_DEPLOYMENT_TARGET} in
20774 - allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
20777 - allow_undefined_flag_CXX='-undefined dynamic_lookup'
20780 + case $cc_basename in
20782 + output_verbose_link_cmd='echo'
20783 + 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'
20784 + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
20785 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
20786 + 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}'
20787 + 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}'
20796 - lt_int_apple_cc_single_mod=no
20797 - output_verbose_link_cmd='echo'
20798 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
20799 - lt_int_apple_cc_single_mod=yes
20801 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
20802 - archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
20804 - 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'
20806 - module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
20808 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
20809 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
20810 - 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}'
20812 - 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}'
20814 - 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}'
20815 - hardcode_direct_CXX=no
20816 - hardcode_automatic_CXX=yes
20817 - hardcode_shlibpath_var_CXX=unsupported
20818 - whole_archive_flag_spec_CXX='-all_load $convenience'
20819 - link_all_deplibs_CXX=yes
20827 case $cc_basename in
20830 # FIXME: insert proper C++ library support
20835 # Green Hills C++ Compiler
20836 # FIXME: insert proper C++ library support
20838 @@ -10190,14 +11767,14 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20844 # C++ shared libraries reported to be fairly broken before switch to ELF
20848 archive_cmds_need_lc_CXX=no
20850 - freebsd* | kfreebsd*-gnu)
20851 + freebsd* | dragonfly*)
20852 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
20855 @@ -10214,11 +11791,11 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20856 # location of the library.
20858 case $cc_basename in
20861 # FIXME: insert proper C++ library support
20866 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'
20867 # Commands to make compiler produce verbose output that lists
20868 # what "hidden" libraries, object files and flags are used when
20869 @@ -10228,7 +11805,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20870 # explicitly linking system object files so we need to strip them
20871 # from the output so that they don't get included in the library
20873 - 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'
20874 + 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'
20877 if test "$GXX" = yes; then
20878 @@ -10242,33 +11819,20 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20881 if test $with_gnu_ld = no; then
20882 - case "$host_cpu" in
20884 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
20885 - hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
20886 - hardcode_libdir_separator_CXX=:
20889 - hardcode_libdir_flag_spec_CXX='-L$libdir'
20891 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
20892 + hardcode_libdir_separator_CXX=:
20894 + case $host_cpu in
20895 + hppa*64*|ia64*) ;;
20897 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
20898 - hardcode_libdir_separator_CXX=:
20899 export_dynamic_flag_spec_CXX='${wl}-E'
20903 - case "$host_cpu" in
20905 - hardcode_direct_CXX=no
20906 - hardcode_shlibpath_var_CXX=no
20909 + case $host_cpu in
20911 hardcode_direct_CXX=no
20912 hardcode_shlibpath_var_CXX=no
20913 - hardcode_minus_L_CXX=yes # Not in the search PATH,
20914 - # but as the default
20915 - # location of the library.
20918 hardcode_direct_CXX=yes
20919 @@ -10279,14 +11843,17 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20922 case $cc_basename in
20925 # FIXME: insert proper C++ library support
20929 - case "$host_cpu" in
20931 - archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
20933 + case $host_cpu in
20935 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20938 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20941 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20942 @@ -10305,9 +11872,12 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20944 if test "$GXX" = yes; then
20945 if test $with_gnu_ld = no; then
20946 - case "$host_cpu" in
20948 - archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
20949 + case $host_cpu in
20951 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20954 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20957 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'
20958 @@ -10321,11 +11891,25 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20963 + hardcode_direct_CXX=no
20964 + hardcode_shlibpath_var_CXX=no
20965 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
20966 + export_dynamic_flag_spec_CXX='${wl}-E'
20967 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
20968 + # Instead, shared libraries are loaded at an image base (0x10000000 by
20969 + # default) and relocated if they conflict, which is a slow very memory
20970 + # consuming and fragmenting process. To avoid this, we pick a random,
20971 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
20972 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
20973 + 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'
20974 + 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'
20977 case $cc_basename in
20981 - 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'
20982 + 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'
20984 # Archives containing C++ object files must be created using
20985 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
20986 @@ -10336,7 +11920,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20988 if test "$GXX" = yes; then
20989 if test "$with_gnu_ld" = no; then
20990 - 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'
20991 + 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'
20993 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'
20995 @@ -10347,9 +11931,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20996 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
20997 hardcode_libdir_separator_CXX=:
21000 + linux* | k*bsd*-gnu)
21001 case $cc_basename in
21004 # Kuck and Associates, Inc. (KAI) C++ Compiler
21006 # KCC will only create a shared library if the output file
21007 @@ -10374,17 +11958,41 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21008 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
21009 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
21015 + # version 8.0 and above of icpc choke on multiply defined symbols
21016 + # if we add $predep_objects and $postdep_objects, however 7.1 and
21017 + # earlier do not add the objects themselves.
21018 + case `$CC -V 2>&1` in
21020 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
21021 + 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'
21023 + *) # Version 8.0 or newer
21025 + case $host_cpu in
21026 + ia64*) tmp_idyn=' -i_dynamic';;
21028 + archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21029 + 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'
21032 archive_cmds_need_lc_CXX=no
21033 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
21034 - 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'
21035 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
21036 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
21037 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
21041 + # Portland Group C++ compiler
21042 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
21043 + 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'
21045 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
21046 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
21047 + 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'
21051 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
21052 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'
21053 @@ -10403,6 +12011,29 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21055 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'
21058 + case `$CC -V 2>&1 | sed 5q` in
21061 + no_undefined_flag_CXX=' -zdefs'
21062 + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
21063 + 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'
21064 + hardcode_libdir_flag_spec_CXX='-R$libdir'
21065 + 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'
21067 + # Not sure whether something based on
21068 + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
21069 + # would be better.
21070 + output_verbose_link_cmd='echo'
21072 + # Archives containing C++ object files must be created using
21073 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
21074 + # necessary to make sure instantiated templates are included
21075 + # in the archive.
21076 + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
21083 @@ -10415,7 +12046,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21086 case $cc_basename in
21089 # FIXME: insert proper C++ library support
21092 @@ -10425,7 +12056,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21097 + netbsd* | netbsdelf*-gnu)
21098 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
21099 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
21101 @@ -10436,9 +12067,29 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21102 # Workaround some broken pre-1.5 toolchains
21103 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
21106 + # C++ shared libraries are fairly broken
21110 + if test -f /usr/libexec/ld.so; then
21111 + hardcode_direct_CXX=yes
21112 + hardcode_shlibpath_var_CXX=no
21113 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
21114 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
21115 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21116 + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
21117 + export_dynamic_flag_spec_CXX='${wl}-E'
21118 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21120 + output_verbose_link_cmd='echo'
21126 case $cc_basename in
21129 # Kuck and Associates, Inc. (KAI) C++ Compiler
21131 # KCC will only create a shared library if the output file
21132 @@ -10454,14 +12105,14 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21133 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
21138 # Rational C++ 2.4.1
21139 # FIXME: insert proper C++ library support
21144 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
21145 - 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'
21146 + 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'
21148 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
21149 hardcode_libdir_separator_CXX=:
21150 @@ -10479,7 +12130,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21152 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
21153 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
21154 - 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'
21155 + 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'
21157 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
21158 hardcode_libdir_separator_CXX=:
21159 @@ -10498,7 +12149,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21162 case $cc_basename in
21165 # Kuck and Associates, Inc. (KAI) C++ Compiler
21167 # KCC will only create a shared library if the output file
21168 @@ -10513,17 +12164,17 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21169 # the KAI C++ compiler.
21170 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
21174 # Rational C++ 2.4.1
21175 # FIXME: insert proper C++ library support
21180 allow_undefined_flag_CXX=' -expect_unresolved \*'
21181 - 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'
21182 + 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'
21183 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
21184 echo "-hidden">> $lib.exp~
21185 - $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~
21186 + $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~
21189 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
21190 @@ -10542,7 +12193,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21192 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
21193 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
21194 - 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'
21195 + 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'
21197 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
21198 hardcode_libdir_separator_CXX=:
21199 @@ -10563,27 +12214,14 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21200 # FIXME: insert proper C++ library support
21204 - archive_cmds_need_lc_CXX=no
21205 - case $cc_basename in
21207 - # FIXME: insert proper C++ library support
21211 - # FIXME: insert proper C++ library support
21217 case $cc_basename in
21221 # FIXME: insert proper C++ library support
21227 # FIXME: insert proper C++ library support
21229 @@ -10596,36 +12234,28 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21232 case $cc_basename in
21235 # Sun C++ 4.2, 5.x and Centerline C++
21236 + archive_cmds_need_lc_CXX=yes
21237 no_undefined_flag_CXX=' -zdefs'
21238 - archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
21239 + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
21240 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21241 - $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'
21242 + $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'
21244 hardcode_libdir_flag_spec_CXX='-R$libdir'
21245 hardcode_shlibpath_var_CXX=no
21247 - solaris2.0-5 | solaris2.0-5.*) ;;
21248 + solaris2.[0-5] | solaris2.[0-5].*) ;;
21250 - # The C++ compiler is used as linker so we must use $wl
21251 - # flag to pass the commands to the underlying system
21253 + # The compiler driver will combine and reorder linker options,
21254 + # but understands `-z linker_flag'.
21255 # Supported since Solaris 2.6 (maybe 2.5.1?)
21256 - whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
21257 + whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
21260 link_all_deplibs_CXX=yes
21262 - # Commands to make compiler produce verbose output that lists
21263 - # what "hidden" libraries, object files and flags are used when
21264 - # linking a shared library.
21266 - # There doesn't appear to be a way to prevent this compiler from
21267 - # explicitly linking system object files so we need to strip them
21268 - # from the output so that they don't get included in the library
21270 - 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'
21271 + output_verbose_link_cmd='echo'
21273 # Archives containing C++ object files must be created using
21274 # "CC -xar", where "CC" is the Sun C++ compiler. This is
21275 @@ -10633,7 +12263,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21277 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
21281 # Green Hills C++ Compiler
21282 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
21284 @@ -10667,16 +12297,73 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21287 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
21289 + solaris2.[0-5] | solaris2.[0-5].*) ;;
21291 + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
21298 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
21299 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
21300 + no_undefined_flag_CXX='${wl}-z,text'
21301 + archive_cmds_need_lc_CXX=no
21302 + hardcode_shlibpath_var_CXX=no
21303 + runpath_var='LD_RUN_PATH'
21305 + case $cc_basename in
21307 + archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21308 + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21311 + archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21312 + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21316 + sysv5* | sco3.2v5* | sco5v6*)
21317 + # Note: We can NOT use -z defs as we might desire, because we do not
21318 + # link with -lc, and that would cause any symbols used from libc to
21319 + # always be unresolved, which means just about no library would
21320 + # ever link correctly. If we're not using GNU ld we use -z text
21321 + # though, which does catch some bad symbols but isn't as heavy-handed
21323 + # For security reasons, it is highly recommended that you always
21324 + # use absolute paths for naming shared libraries, and exclude the
21325 + # DT_RUNPATH tag from executables and libraries. But doing so
21326 + # requires that you compile everything twice, which is a pain.
21327 + # So that behaviour is only enabled if SCOABSPATH is set to a
21328 + # non-empty value in the environment. Most likely only useful for
21329 + # creating official distributions of packages.
21330 + # This is a hack until libtool officially supports absolute path
21331 + # names for shared libraries.
21332 + no_undefined_flag_CXX='${wl}-z,text'
21333 + allow_undefined_flag_CXX='${wl}-z,nodefs'
21334 archive_cmds_need_lc_CXX=no
21335 + hardcode_shlibpath_var_CXX=no
21336 + hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
21337 + hardcode_libdir_separator_CXX=':'
21338 + link_all_deplibs_CXX=yes
21339 + export_dynamic_flag_spec_CXX='${wl}-Bexport'
21340 + runpath_var='LD_RUN_PATH'
21342 + case $cc_basename in
21344 + archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21345 + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21348 + archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21349 + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
21354 case $cc_basename in
21357 # NonStop-UX NCC 3.20
21358 # FIXME: insert proper C++ library support
21360 @@ -10696,14 +12383,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21364 -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
21365 -echo "${ECHO_T}$ld_shlibs_CXX" >&6
21366 +{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
21367 +$as_echo "$ld_shlibs_CXX" >&6; }
21368 test "$ld_shlibs_CXX" = no && can_build_shared=no
21374 cat > conftest.$ac_ext <<EOF
21377 @@ -10717,7 +12403,7 @@ EOF
21378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21379 (eval $ac_compile) 2>&5
21381 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21383 (exit $ac_status); }; then
21384 # Parse the compiler output and extract the necessary
21385 # objects, libraries and library flags.
21386 @@ -10729,7 +12415,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21387 # The `*' in the case matches for architectures that use `case' in
21388 # $output_verbose_cmd can trigger glob expansion during the loop
21389 # eval without this substitution.
21390 - output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
21391 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
21393 for p in `eval $output_verbose_link_cmd`; do
21395 @@ -10805,6 +12491,66 @@ fi
21397 $rm -f confest.$objext
21399 +compiler_lib_search_dirs_CXX=
21400 +if test -n "$compiler_lib_search_path_CXX"; then
21401 + compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
21404 +# PORTME: override above test on systems where it is broken
21407 + # Interix 3.5 installs completely hosed .la files for C++, so rather than
21408 + # hack all around it, let's just trust "g++" to DTRT.
21409 + predep_objects_CXX=
21410 + postdep_objects_CXX=
21415 + case `$CC -V 2>&1 | sed 5q` in
21419 + # The more standards-conforming stlport4 library is
21420 + # incompatible with the Cstd library. Avoid specifying
21421 + # it if it's in CXXFLAGS. Ignore libCrun as
21422 + # -library=stlport4 depends on it.
21423 + case " $CXX $CXXFLAGS " in
21424 + *" -library=stlport4 "*)
21425 + solaris_use_stlport4=yes
21428 + if test "$solaris_use_stlport4" != yes; then
21429 + postdeps_CXX='-library=Cstd -library=Crun'
21436 + case $cc_basename in
21438 + # The more standards-conforming stlport4 library is
21439 + # incompatible with the Cstd library. Avoid specifying
21440 + # it if it's in CXXFLAGS. Ignore libCrun as
21441 + # -library=stlport4 depends on it.
21442 + case " $CXX $CXXFLAGS " in
21443 + *" -library=stlport4 "*)
21444 + solaris_use_stlport4=yes
21448 + # Adding this requires a known-good setup of shared libraries for
21449 + # Sun compiler versions before 5.6, else PIC objects from an old
21450 + # archive will be linked into the output, leading to subtle bugs.
21451 + if test "$solaris_use_stlport4" != yes; then
21452 + postdeps_CXX='-library=Cstd -library=Crun'
21459 case " $postdeps_CXX " in
21460 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
21462 @@ -10813,8 +12559,8 @@ lt_prog_compiler_wl_CXX=
21463 lt_prog_compiler_pic_CXX=
21464 lt_prog_compiler_static_CXX=
21466 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21467 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21468 +{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21469 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
21471 # C++ specific cases for pic, static, wl, etc.
21472 if test "$GXX" = yes; then
21473 @@ -10835,12 +12581,14 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21475 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
21477 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
21478 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
21479 # PIC is the default for these OSes.
21481 - mingw* | os2* | pw32*)
21482 + mingw* | cygwin* | os2* | pw32*)
21483 # This hack is so that the source file can tell whether it is being
21484 # built for inclusion in a dll (and should export symbols for example).
21485 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
21486 + # (--disable-auto-import) libraries
21487 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
21489 darwin* | rhapsody*)
21490 @@ -10852,6 +12600,10 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21491 # DJGPP does not support shared libraries at all
21492 lt_prog_compiler_pic_CXX=
21495 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21496 + # Instead, we relocate shared libraries at runtime.
21499 if test -d /usr/nec; then
21500 lt_prog_compiler_pic_CXX=-Kconform_pic
21501 @@ -10860,7 +12612,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21503 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21504 # not for PA HP-UX.
21505 - case "$host_cpu" in
21506 + case $host_cpu in
21510 @@ -10874,7 +12626,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21516 # All AIX code is PIC.
21517 if test "$host_cpu" = ia64; then
21518 # AIX 5 now supports IA64 processor
21519 @@ -10885,18 +12637,28 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21522 case $cc_basename in
21525 # Green Hills C++ Compiler
21526 # _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"
21531 + # PIC is the default on this platform
21532 + # Common symbols not allowed in MH_DYLIB files
21533 + case $cc_basename in
21535 + lt_prog_compiler_pic_CXX='-qnocommon'
21536 + lt_prog_compiler_wl_CXX='-Wl,'
21541 case $cc_basename in
21544 lt_prog_compiler_pic_CXX='-KPIC'
21548 # Green Hills C++ Compiler
21549 lt_prog_compiler_pic_CXX='-pic'
21551 @@ -10904,22 +12666,22 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21555 - freebsd* | kfreebsd*-gnu)
21556 + freebsd* | dragonfly*)
21557 # FreeBSD uses GNU C++
21559 hpux9* | hpux10* | hpux11*)
21560 case $cc_basename in
21563 lt_prog_compiler_wl_CXX='-Wl,'
21564 - lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
21565 + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
21566 if test "$host_cpu" != ia64; then
21567 lt_prog_compiler_pic_CXX='+Z'
21572 lt_prog_compiler_wl_CXX='-Wl,'
21573 - lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
21574 - case "$host_cpu" in
21575 + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
21576 + case $host_cpu in
21580 @@ -10932,9 +12694,13 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21585 + # This is c89, which is MS Visual C++ (no shared libs)
21586 + # Anyone wants to do a port?
21588 irix5* | irix6* | nonstopux*)
21589 case $cc_basename in
21592 lt_prog_compiler_wl_CXX='-Wl,'
21593 lt_prog_compiler_static_CXX='-non_shared'
21594 # CC pic flag -KPIC is the default.
21595 @@ -10943,20 +12709,26 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21600 + linux* | k*bsd*-gnu)
21601 case $cc_basename in
21605 lt_prog_compiler_wl_CXX='--backend -Wl,'
21606 lt_prog_compiler_pic_CXX='-fPIC'
21611 lt_prog_compiler_wl_CXX='-Wl,'
21612 lt_prog_compiler_pic_CXX='-KPIC'
21613 lt_prog_compiler_static_CXX='-static'
21617 + # Portland Group C++ compiler.
21618 + lt_prog_compiler_wl_CXX='-Wl,'
21619 + lt_prog_compiler_pic_CXX='-fpic'
21620 + lt_prog_compiler_static_CXX='-Bstatic'
21624 # Make sure the PIC flag is empty. It appears that all Alpha
21625 # Linux and Compaq Tru64 Unix objects are PIC.
21626 @@ -10964,6 +12736,14 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21627 lt_prog_compiler_static_CXX='-non_shared'
21630 + case `$CC -V 2>&1 | sed 5q` in
21633 + lt_prog_compiler_pic_CXX='-KPIC'
21634 + lt_prog_compiler_static_CXX='-Bstatic'
21635 + lt_prog_compiler_wl_CXX='-Qoption ld '
21641 @@ -10973,25 +12753,25 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21644 case $cc_basename in
21647 lt_prog_compiler_pic_CXX='-W c,exportall'
21654 + netbsd* | netbsdelf*-gnu)
21656 osf3* | osf4* | osf5*)
21657 case $cc_basename in
21660 lt_prog_compiler_wl_CXX='--backend -Wl,'
21664 # Rational C++ 2.4.1
21665 lt_prog_compiler_pic_CXX='-pic'
21669 # Digital/Compaq C++
21670 lt_prog_compiler_wl_CXX='-Wl,'
21671 # Make sure the PIC flag is empty. It appears that all Alpha
21672 @@ -11005,24 +12785,15 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21677 - case $cc_basename in
21679 - lt_prog_compiler_pic_CXX='-fPIC'
21686 case $cc_basename in
21689 # Sun C++ 4.2, 5.x and Centerline C++
21690 lt_prog_compiler_pic_CXX='-KPIC'
21691 lt_prog_compiler_static_CXX='-Bstatic'
21692 lt_prog_compiler_wl_CXX='-Qoption ld '
21696 # Green Hills C++ Compiler
21697 lt_prog_compiler_pic_CXX='-PIC'
21699 @@ -11032,12 +12803,12 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21702 case $cc_basename in
21706 lt_prog_compiler_pic_CXX='-pic'
21707 lt_prog_compiler_static_CXX='-Bstatic'
21712 lt_prog_compiler_pic_CXX='-pic'
21714 @@ -11047,7 +12818,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21717 case $cc_basename in
21720 # NonStop-UX NCC 3.20
21721 lt_prog_compiler_pic_CXX='-KPIC'
21723 @@ -11055,7 +12826,14 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21728 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
21729 + case $cc_basename in
21731 + lt_prog_compiler_wl_CXX='-Wl,'
21732 + lt_prog_compiler_pic_CXX='-KPIC'
21733 + lt_prog_compiler_static_CXX='-Bstatic'
21739 @@ -11065,22 +12843,22 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21743 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
21744 -echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
21745 +{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
21746 +$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
21749 # Check to make sure the PIC flag actually works.
21751 if test -n "$lt_prog_compiler_pic_CXX"; then
21753 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
21754 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
21755 -if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
21756 - echo $ECHO_N "(cached) $ECHO_C" >&6
21757 +{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
21758 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
21759 +if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
21760 + $as_echo_n "(cached) " >&6
21762 - lt_prog_compiler_pic_works_CXX=no
21763 + lt_cv_prog_compiler_pic_works_CXX=no
21764 ac_outfile=conftest.$ac_objext
21765 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21766 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21767 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
21768 # Insert the option either (1) after the last *FLAGS variable, or
21769 # (2) before a word containing "conftest.", or (3) at the end.
21770 @@ -11088,28 +12866,30 @@ else
21771 # with a dollar sign (not a hyphen), so the echo should work correctly.
21772 # The option is referenced via a variable to avoid confusing sed.
21773 lt_compile=`echo "$ac_compile" | $SED \
21774 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
21775 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21776 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21777 -e 's:$: $lt_compiler_flag:'`
21778 - (eval echo "\"\$as_me:11094: $lt_compile\"" >&5)
21779 + (eval echo "\"\$as_me:12872: $lt_compile\"" >&5)
21780 (eval "$lt_compile" 2>conftest.err)
21782 cat conftest.err >&5
21783 - echo "$as_me:11098: \$? = $ac_status" >&5
21784 + echo "$as_me:12876: \$? = $ac_status" >&5
21785 if (exit $ac_status) && test -s "$ac_outfile"; then
21786 # The compiler can only warn and ignore the option if not recognized
21787 - # So say no if there are warnings
21788 - if test ! -s conftest.err; then
21789 - lt_prog_compiler_pic_works_CXX=yes
21790 + # So say no if there are warnings other than the usual output.
21791 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
21792 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21793 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
21794 + lt_cv_prog_compiler_pic_works_CXX=yes
21800 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
21801 -echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
21802 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
21803 +$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
21805 -if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
21806 +if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
21807 case $lt_prog_compiler_pic_CXX in
21809 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
21810 @@ -11120,7 +12900,7 @@ else
21814 -case "$host_os" in
21816 # For platforms which do not support PIC, -DPIC is meaningless:
21818 lt_prog_compiler_pic_CXX=
21819 @@ -11130,17 +12910,59 @@ case "$host_os" in
21823 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21824 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
21826 +# Check to make sure the static flag actually works.
21828 +wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
21829 +{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21830 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
21831 +if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
21832 + $as_echo_n "(cached) " >&6
21834 + lt_cv_prog_compiler_static_works_CXX=no
21835 + save_LDFLAGS="$LDFLAGS"
21836 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
21837 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
21838 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
21839 + # The linker can only warn and ignore the option if not recognized
21840 + # So say no if there are warnings
21841 + if test -s conftest.err; then
21842 + # Append any errors to the config.log.
21843 + cat conftest.err 1>&5
21844 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
21845 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21846 + if diff conftest.exp conftest.er2 >/dev/null; then
21847 + lt_cv_prog_compiler_static_works_CXX=yes
21850 + lt_cv_prog_compiler_static_works_CXX=yes
21854 + LDFLAGS="$save_LDFLAGS"
21857 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
21858 +$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
21860 +if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
21863 + lt_prog_compiler_static_CXX=
21867 +{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21868 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
21869 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
21870 - echo $ECHO_N "(cached) $ECHO_C" >&6
21871 + $as_echo_n "(cached) " >&6
21873 lt_cv_prog_compiler_c_o_CXX=no
21874 $rm -r conftest 2>/dev/null
21878 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21879 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21881 lt_compiler_flag="-o out/conftest2.$ac_objext"
21882 # Insert the option either (1) after the last *FLAGS variable, or
21883 @@ -11148,23 +12970,25 @@ else
21884 # Note that $ac_compile itself does not contain backslashes and begins
21885 # with a dollar sign (not a hyphen), so the echo should work correctly.
21886 lt_compile=`echo "$ac_compile" | $SED \
21887 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
21888 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21889 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21890 -e 's:$: $lt_compiler_flag:'`
21891 - (eval echo "\"\$as_me:11154: $lt_compile\"" >&5)
21892 + (eval echo "\"\$as_me:12976: $lt_compile\"" >&5)
21893 (eval "$lt_compile" 2>out/conftest.err)
21895 cat out/conftest.err >&5
21896 - echo "$as_me:11158: \$? = $ac_status" >&5
21897 + echo "$as_me:12980: \$? = $ac_status" >&5
21898 if (exit $ac_status) && test -s out/conftest2.$ac_objext
21900 # The compiler can only warn and ignore the option if not recognized
21901 # So say no if there are warnings
21902 - if test ! -s out/conftest.err; then
21903 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
21904 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
21905 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
21906 lt_cv_prog_compiler_c_o_CXX=yes
21912 # SGI C++ compiler will create directory out/ii_files/ for
21913 # template instantiation
21914 @@ -11175,38 +12999,38 @@ else
21918 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
21919 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
21920 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
21921 +$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
21924 hard_links="nottested"
21925 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
21926 # do not overwrite the value of need_locks provided by the user
21927 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21928 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
21929 + { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21930 +$as_echo_n "checking if we can lock with hard links... " >&6; }
21933 ln conftest.a conftest.b 2>/dev/null && hard_links=no
21935 ln conftest.a conftest.b 2>&5 || hard_links=no
21936 ln conftest.a conftest.b 2>/dev/null && hard_links=no
21937 - echo "$as_me:$LINENO: result: $hard_links" >&5
21938 -echo "${ECHO_T}$hard_links" >&6
21939 + { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
21940 +$as_echo "$hard_links" >&6; }
21941 if test "$hard_links" = no; then
21942 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21943 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21944 + { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21945 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21952 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21953 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
21954 +{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21955 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
21957 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21961 # If we're using GNU nm, then we don't want the "-C" option.
21962 # -C means demangle to AIX nm, but means don't demangle with GNU nm
21963 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
21964 @@ -11219,22 +13043,21 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
21965 export_symbols_cmds_CXX="$ltdll_cmds"
21968 - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
21969 + 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'
21971 + linux* | k*bsd*-gnu)
21972 + link_all_deplibs_CXX=no
21975 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21978 + exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
21980 -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
21981 -echo "${ECHO_T}$ld_shlibs_CXX" >&6
21982 +{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
21983 +$as_echo "$ld_shlibs_CXX" >&6; }
21984 test "$ld_shlibs_CXX" = no && can_build_shared=no
21986 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
21987 -if test "$GCC" = yes; then
21988 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21992 # Do we need to explicitly link libc?
21994 @@ -11252,21 +13075,22 @@ x|xyes)
21995 # Test whether the compiler implicitly links with -lc since on some
21996 # systems, -lgcc has to come before -lc. If gcc already passes -lc
21997 # to ld, don't add -lc before -lgcc.
21998 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
21999 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
22000 + { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22001 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
22003 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22004 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
22006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22007 (eval $ac_compile) 2>&5
22009 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22010 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22011 (exit $ac_status); } 2>conftest.err; then
22014 libobjs=conftest.$ac_objext
22016 wl=$lt_prog_compiler_wl_CXX
22017 + pic_flag=$lt_prog_compiler_pic_CXX
22021 @@ -11277,7 +13101,7 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
22022 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22023 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
22025 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22027 (exit $ac_status); }
22029 archive_cmds_need_lc_CXX=no
22030 @@ -11289,16 +13113,16 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
22031 cat conftest.err 1>&5
22034 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
22035 -echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
22036 + { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
22037 +$as_echo "$archive_cmds_need_lc_CXX" >&6; }
22044 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22045 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
22046 +{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22047 +$as_echo_n "checking dynamic linker characteristics... " >&6; }
22048 library_names_spec=
22049 libname_spec='lib$name'
22051 @@ -11312,20 +13136,7 @@ shlibpath_overrides_runpath=unknown
22053 dynamic_linker="$host_os ld.so"
22054 sys_lib_dlsearch_path_spec="/lib /usr/lib"
22055 -if test "$GCC" = yes; then
22056 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22057 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
22058 - # if the path contains ";" then we assume it to be the separator
22059 - # otherwise default to the standard path separator (i.e. ":") - it is
22060 - # assumed that no part of a normal pathname contains ";" but that should
22061 - # okay in the real world where ";" in dirpaths is itself problematic.
22062 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22064 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22067 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
22070 need_lib_prefix=unknown
22071 hardcode_into_libs=no
22073 @@ -11343,7 +13154,7 @@ aix3*)
22074 soname_spec='${libname}${release}${shared_ext}$major'
22082 @@ -11399,7 +13210,7 @@ beos*)
22083 shlibpath_var=LIBRARY_PATH
22090 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22091 @@ -11427,7 +13238,8 @@ cygwin* | mingw* | pw32*)
22092 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
22093 dldir=$destdir/`dirname \$dlpath`~
22094 test -d \$dldir || mkdir -p \$dldir~
22095 - $install_prog $dir/$dlname \$dldir/$dlname'
22096 + $install_prog $dir/$dlname \$dldir/$dlname~
22097 + chmod a+x \$dldir/$dlname'
22098 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22099 dlpath=$dir/\$dldll~
22101 @@ -11457,7 +13269,7 @@ cygwin* | mingw* | pw32*)
22104 # pw32 DLLs use 'pw' prefix rather than 'lib'
22105 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
22106 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22110 @@ -11480,13 +13292,8 @@ darwin* | rhapsody*)
22111 soname_spec='${libname}${release}${major}$shared_ext'
22112 shlibpath_overrides_runpath=yes
22113 shlibpath_var=DYLD_LIBRARY_PATH
22114 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
22115 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
22116 - if test "$GCC" = yes; then
22117 - 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"`
22119 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
22121 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
22123 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
22126 @@ -11503,20 +13310,17 @@ freebsd1*)
22131 - version_type=linux
22132 - need_lib_prefix=no
22134 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22135 - soname_spec='${libname}${release}${shared_ext}$major'
22136 - shlibpath_var=LD_LIBRARY_PATH
22137 - shlibpath_overrides_runpath=no
22138 - hardcode_into_libs=yes
22139 - dynamic_linker='GNU ld.so'
22143 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
22144 +freebsd* | dragonfly*)
22145 + # DragonFly does not have aout. When/if they implement a new
22146 + # versioning mechanism, adjust this.
22147 + if test -x /usr/bin/objformat; then
22148 + objformat=`/usr/bin/objformat`
22151 + freebsd[123]*) objformat=aout ;;
22152 + *) objformat=elf ;;
22155 version_type=freebsd-$objformat
22156 case $version_type in
22158 @@ -11534,14 +13338,19 @@ freebsd*)
22160 shlibpath_overrides_runpath=yes
22162 - freebsd3.01* | freebsdelf3.01*)
22163 + freebsd3.[01]* | freebsdelf3.[01]*)
22164 shlibpath_overrides_runpath=yes
22165 hardcode_into_libs=yes
22168 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
22169 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
22170 shlibpath_overrides_runpath=no
22171 hardcode_into_libs=yes
22173 + *) # from 4.6 on, and DragonFly
22174 + shlibpath_overrides_runpath=yes
22175 + hardcode_into_libs=yes
22180 @@ -11561,7 +13370,7 @@ hpux9* | hpux10* | hpux11*)
22184 - case "$host_cpu" in
22185 + case $host_cpu in
22188 hardcode_into_libs=yes
22189 @@ -11601,6 +13410,18 @@ hpux9* | hpux10* | hpux11*)
22190 postinstall_cmds='chmod 555 $lib'
22194 + version_type=linux
22195 + need_lib_prefix=no
22197 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22198 + soname_spec='${libname}${release}${shared_ext}$major'
22199 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
22200 + shlibpath_var=LD_LIBRARY_PATH
22201 + shlibpath_overrides_runpath=no
22202 + hardcode_into_libs=yes
22205 irix5* | irix6* | nonstopux*)
22207 nonstopux*) version_type=nonstopux ;;
22208 @@ -11644,7 +13465,7 @@ linux*oldld* | linux*aout* | linux*coff*)
22211 # This must be Linux ELF.
22213 +linux* | k*bsd*-gnu)
22217 @@ -11658,31 +13479,10 @@ linux*)
22218 # before this can be enabled.
22219 hardcode_into_libs=yes
22221 - # find out which ABI we are using
22223 - case "$host_cpu" in
22224 - x86_64*|s390x*|powerpc64*)
22225 - echo '#line 11665 "configure"' > conftest.$ac_ext
22226 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22227 - (eval $ac_compile) 2>&5
22229 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230 - (exit $ac_status); }; then
22231 - case `/usr/bin/file conftest.$ac_objext` in
22234 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
22242 # Append ld.so.conf contents to the search path
22243 if test -f /etc/ld.so.conf; then
22244 - lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
22245 - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
22246 + 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' ' '`
22247 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
22250 # We used to test for /lib/ld.so.1 and disable shared libraries on
22251 @@ -11694,7 +13494,7 @@ linux*)
22252 dynamic_linker='GNU/Linux ld.so'
22260 @@ -11703,7 +13503,7 @@ knetbsd*-gnu)
22261 shlibpath_var=LD_LIBRARY_PATH
22262 shlibpath_overrides_runpath=no
22263 hardcode_into_libs=yes
22264 - dynamic_linker='GNU ld.so'
22265 + dynamic_linker='NetBSD ld.elf_so'
22269 @@ -11743,8 +13543,13 @@ nto-qnx*)
22273 + sys_lib_dlsearch_path_spec="/usr/lib"
22276 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
22278 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
22279 + *) need_version=no ;;
22281 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22282 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22283 shlibpath_var=LD_LIBRARY_PATH
22284 @@ -11782,11 +13587,8 @@ osf3* | osf4* | osf5*)
22285 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
22290 - soname_spec='${libname}${release}${shared_ext}$major'
22291 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22292 - shlibpath_var=LD_LIBRARY_PATH
22294 + dynamic_linker=no
22298 @@ -11814,7 +13616,7 @@ sunos4*)
22302 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
22305 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22306 soname_spec='${libname}${release}${shared_ext}$major'
22307 @@ -11847,6 +13649,29 @@ sysv4*MP*)
22311 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
22312 + version_type=freebsd-elf
22313 + need_lib_prefix=no
22315 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22316 + soname_spec='${libname}${release}${shared_ext}$major'
22317 + shlibpath_var=LD_LIBRARY_PATH
22318 + hardcode_into_libs=yes
22319 + if test "$with_gnu_ld" = yes; then
22320 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
22321 + shlibpath_overrides_runpath=no
22323 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
22324 + shlibpath_overrides_runpath=yes
22327 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
22331 + sys_lib_dlsearch_path_spec='/usr/lib'
22336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22337 @@ -11858,16 +13683,36 @@ uts4*)
22341 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
22342 -echo "${ECHO_T}$dynamic_linker" >&6
22343 +{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
22344 +$as_echo "$dynamic_linker" >&6; }
22345 test "$dynamic_linker" = no && can_build_shared=no
22347 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
22348 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
22349 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
22350 + $as_echo_n "(cached) " >&6
22352 + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
22355 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
22356 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
22357 + $as_echo_n "(cached) " >&6
22359 + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
22362 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
22364 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
22365 +if test "$GCC" = yes; then
22366 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
22369 +{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
22370 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
22371 hardcode_action_CXX=
22372 if test -n "$hardcode_libdir_flag_spec_CXX" || \
22373 - test -n "$runpath_var CXX" || \
22374 - test "X$hardcode_automatic_CXX"="Xyes" ; then
22375 + test -n "$runpath_var_CXX" || \
22376 + test "X$hardcode_automatic_CXX" = "Xyes" ; then
22378 # We can hardcode non-existant directories.
22379 if test "$hardcode_direct_CXX" != no &&
22380 @@ -11887,8 +13732,8 @@ else
22382 hardcode_action_CXX=unsupported
22384 -echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
22385 -echo "${ECHO_T}$hardcode_action_CXX" >&6
22386 +{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
22387 +$as_echo "$hardcode_action_CXX" >&6; }
22389 if test "$hardcode_action_CXX" = relink; then
22390 # Fast installation is not supported
22391 @@ -11899,841 +13744,6 @@ elif test "$shlibpath_overrides_runpath" = yes ||
22392 enable_fast_install=needless
22397 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
22398 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
22399 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
22400 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
22401 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
22402 - echo "$as_me:$LINENO: result: yes" >&5
22403 -echo "${ECHO_T}yes" >&6
22405 -# FIXME - insert some real tests, host_os isn't really good enough
22408 - if test -n "$STRIP" ; then
22409 - striplib="$STRIP -x"
22410 - echo "$as_me:$LINENO: result: yes" >&5
22411 -echo "${ECHO_T}yes" >&6
22413 - echo "$as_me:$LINENO: result: no" >&5
22414 -echo "${ECHO_T}no" >&6
22418 - echo "$as_me:$LINENO: result: no" >&5
22419 -echo "${ECHO_T}no" >&6
22424 -if test "x$enable_dlopen" != xyes; then
22425 - enable_dlopen=unknown
22426 - enable_dlopen_self=unknown
22427 - enable_dlopen_self_static=unknown
22430 - lt_cv_dlopen_libs=
22434 - lt_cv_dlopen="load_add_on"
22435 - lt_cv_dlopen_libs=
22436 - lt_cv_dlopen_self=yes
22440 - lt_cv_dlopen="LoadLibrary"
22441 - lt_cv_dlopen_libs=
22445 - lt_cv_dlopen="dlopen"
22446 - lt_cv_dlopen_libs=
22450 - # if libdl is installed we need to link against it
22451 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
22452 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
22453 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
22454 - echo $ECHO_N "(cached) $ECHO_C" >&6
22456 - ac_check_lib_save_LIBS=$LIBS
22458 -cat >conftest.$ac_ext <<_ACEOF
22461 -cat confdefs.h >>conftest.$ac_ext
22462 -cat >>conftest.$ac_ext <<_ACEOF
22463 -/* end confdefs.h. */
22465 -/* Override any gcc2 internal prototype to avoid an error. */
22466 -#ifdef __cplusplus
22469 -/* We use char because int might match the return type of a gcc2
22470 - builtin and then its argument prototype would still apply. */
22480 -rm -f conftest.$ac_objext conftest$ac_exeext
22481 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22482 - (eval $ac_link) 2>conftest.er1
22484 - grep -v '^ *+' conftest.er1 >conftest.err
22485 - rm -f conftest.er1
22486 - cat conftest.err >&5
22487 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22488 - (exit $ac_status); } &&
22489 - { ac_try='test -z "$ac_cxx_werror_flag"
22490 - || test ! -s conftest.err'
22491 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22492 - (eval $ac_try) 2>&5
22494 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22495 - (exit $ac_status); }; } &&
22496 - { ac_try='test -s conftest$ac_exeext'
22497 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22498 - (eval $ac_try) 2>&5
22500 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501 - (exit $ac_status); }; }; then
22502 - ac_cv_lib_dl_dlopen=yes
22504 - echo "$as_me: failed program was:" >&5
22505 -sed 's/^/| /' conftest.$ac_ext >&5
22507 -ac_cv_lib_dl_dlopen=no
22509 -rm -f conftest.err conftest.$ac_objext \
22510 - conftest$ac_exeext conftest.$ac_ext
22511 -LIBS=$ac_check_lib_save_LIBS
22513 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
22514 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
22515 -if test $ac_cv_lib_dl_dlopen = yes; then
22516 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
22519 - lt_cv_dlopen="dyld"
22520 - lt_cv_dlopen_libs=
22521 - lt_cv_dlopen_self=yes
22528 - echo "$as_me:$LINENO: checking for shl_load" >&5
22529 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
22530 -if test "${ac_cv_func_shl_load+set}" = set; then
22531 - echo $ECHO_N "(cached) $ECHO_C" >&6
22533 - cat >conftest.$ac_ext <<_ACEOF
22536 -cat confdefs.h >>conftest.$ac_ext
22537 -cat >>conftest.$ac_ext <<_ACEOF
22538 -/* end confdefs.h. */
22539 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
22540 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
22541 -#define shl_load innocuous_shl_load
22543 -/* System header to define __stub macros and hopefully few prototypes,
22544 - which can conflict with char shl_load (); below.
22545 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22546 - <limits.h> exists even on freestanding compilers. */
22549 -# include <limits.h>
22551 -# include <assert.h>
22556 -/* Override any gcc2 internal prototype to avoid an error. */
22557 -#ifdef __cplusplus
22561 -/* We use char because int might match the return type of a gcc2
22562 - builtin and then its argument prototype would still apply. */
22564 -/* The GNU C library defines this for functions which it implements
22565 - to always fail with ENOSYS. Some functions are actually named
22566 - something starting with __ and the normal name is an alias. */
22567 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
22570 -char (*f) () = shl_load;
22572 -#ifdef __cplusplus
22579 -return f != shl_load;
22584 -rm -f conftest.$ac_objext conftest$ac_exeext
22585 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22586 - (eval $ac_link) 2>conftest.er1
22588 - grep -v '^ *+' conftest.er1 >conftest.err
22589 - rm -f conftest.er1
22590 - cat conftest.err >&5
22591 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 - (exit $ac_status); } &&
22593 - { ac_try='test -z "$ac_cxx_werror_flag"
22594 - || test ! -s conftest.err'
22595 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22596 - (eval $ac_try) 2>&5
22598 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22599 - (exit $ac_status); }; } &&
22600 - { ac_try='test -s conftest$ac_exeext'
22601 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22602 - (eval $ac_try) 2>&5
22604 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22605 - (exit $ac_status); }; }; then
22606 - ac_cv_func_shl_load=yes
22608 - echo "$as_me: failed program was:" >&5
22609 -sed 's/^/| /' conftest.$ac_ext >&5
22611 -ac_cv_func_shl_load=no
22613 -rm -f conftest.err conftest.$ac_objext \
22614 - conftest$ac_exeext conftest.$ac_ext
22616 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
22617 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
22618 -if test $ac_cv_func_shl_load = yes; then
22619 - lt_cv_dlopen="shl_load"
22621 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
22622 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
22623 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
22624 - echo $ECHO_N "(cached) $ECHO_C" >&6
22626 - ac_check_lib_save_LIBS=$LIBS
22627 -LIBS="-ldld $LIBS"
22628 -cat >conftest.$ac_ext <<_ACEOF
22631 -cat confdefs.h >>conftest.$ac_ext
22632 -cat >>conftest.$ac_ext <<_ACEOF
22633 -/* end confdefs.h. */
22635 -/* Override any gcc2 internal prototype to avoid an error. */
22636 -#ifdef __cplusplus
22639 -/* We use char because int might match the return type of a gcc2
22640 - builtin and then its argument prototype would still apply. */
22650 -rm -f conftest.$ac_objext conftest$ac_exeext
22651 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22652 - (eval $ac_link) 2>conftest.er1
22654 - grep -v '^ *+' conftest.er1 >conftest.err
22655 - rm -f conftest.er1
22656 - cat conftest.err >&5
22657 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22658 - (exit $ac_status); } &&
22659 - { ac_try='test -z "$ac_cxx_werror_flag"
22660 - || test ! -s conftest.err'
22661 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22662 - (eval $ac_try) 2>&5
22664 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22665 - (exit $ac_status); }; } &&
22666 - { ac_try='test -s conftest$ac_exeext'
22667 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22668 - (eval $ac_try) 2>&5
22670 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22671 - (exit $ac_status); }; }; then
22672 - ac_cv_lib_dld_shl_load=yes
22674 - echo "$as_me: failed program was:" >&5
22675 -sed 's/^/| /' conftest.$ac_ext >&5
22677 -ac_cv_lib_dld_shl_load=no
22679 -rm -f conftest.err conftest.$ac_objext \
22680 - conftest$ac_exeext conftest.$ac_ext
22681 -LIBS=$ac_check_lib_save_LIBS
22683 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
22684 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
22685 -if test $ac_cv_lib_dld_shl_load = yes; then
22686 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
22688 - echo "$as_me:$LINENO: checking for dlopen" >&5
22689 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
22690 -if test "${ac_cv_func_dlopen+set}" = set; then
22691 - echo $ECHO_N "(cached) $ECHO_C" >&6
22693 - cat >conftest.$ac_ext <<_ACEOF
22696 -cat confdefs.h >>conftest.$ac_ext
22697 -cat >>conftest.$ac_ext <<_ACEOF
22698 -/* end confdefs.h. */
22699 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
22700 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
22701 -#define dlopen innocuous_dlopen
22703 -/* System header to define __stub macros and hopefully few prototypes,
22704 - which can conflict with char dlopen (); below.
22705 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22706 - <limits.h> exists even on freestanding compilers. */
22709 -# include <limits.h>
22711 -# include <assert.h>
22716 -/* Override any gcc2 internal prototype to avoid an error. */
22717 -#ifdef __cplusplus
22721 -/* We use char because int might match the return type of a gcc2
22722 - builtin and then its argument prototype would still apply. */
22724 -/* The GNU C library defines this for functions which it implements
22725 - to always fail with ENOSYS. Some functions are actually named
22726 - something starting with __ and the normal name is an alias. */
22727 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
22730 -char (*f) () = dlopen;
22732 -#ifdef __cplusplus
22739 -return f != dlopen;
22744 -rm -f conftest.$ac_objext conftest$ac_exeext
22745 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22746 - (eval $ac_link) 2>conftest.er1
22748 - grep -v '^ *+' conftest.er1 >conftest.err
22749 - rm -f conftest.er1
22750 - cat conftest.err >&5
22751 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22752 - (exit $ac_status); } &&
22753 - { ac_try='test -z "$ac_cxx_werror_flag"
22754 - || test ! -s conftest.err'
22755 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22756 - (eval $ac_try) 2>&5
22758 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22759 - (exit $ac_status); }; } &&
22760 - { ac_try='test -s conftest$ac_exeext'
22761 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22762 - (eval $ac_try) 2>&5
22764 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22765 - (exit $ac_status); }; }; then
22766 - ac_cv_func_dlopen=yes
22768 - echo "$as_me: failed program was:" >&5
22769 -sed 's/^/| /' conftest.$ac_ext >&5
22771 -ac_cv_func_dlopen=no
22773 -rm -f conftest.err conftest.$ac_objext \
22774 - conftest$ac_exeext conftest.$ac_ext
22776 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
22777 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
22778 -if test $ac_cv_func_dlopen = yes; then
22779 - lt_cv_dlopen="dlopen"
22781 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
22782 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
22783 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
22784 - echo $ECHO_N "(cached) $ECHO_C" >&6
22786 - ac_check_lib_save_LIBS=$LIBS
22788 -cat >conftest.$ac_ext <<_ACEOF
22791 -cat confdefs.h >>conftest.$ac_ext
22792 -cat >>conftest.$ac_ext <<_ACEOF
22793 -/* end confdefs.h. */
22795 -/* Override any gcc2 internal prototype to avoid an error. */
22796 -#ifdef __cplusplus
22799 -/* We use char because int might match the return type of a gcc2
22800 - builtin and then its argument prototype would still apply. */
22810 -rm -f conftest.$ac_objext conftest$ac_exeext
22811 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22812 - (eval $ac_link) 2>conftest.er1
22814 - grep -v '^ *+' conftest.er1 >conftest.err
22815 - rm -f conftest.er1
22816 - cat conftest.err >&5
22817 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22818 - (exit $ac_status); } &&
22819 - { ac_try='test -z "$ac_cxx_werror_flag"
22820 - || test ! -s conftest.err'
22821 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22822 - (eval $ac_try) 2>&5
22824 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22825 - (exit $ac_status); }; } &&
22826 - { ac_try='test -s conftest$ac_exeext'
22827 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22828 - (eval $ac_try) 2>&5
22830 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 - (exit $ac_status); }; }; then
22832 - ac_cv_lib_dl_dlopen=yes
22834 - echo "$as_me: failed program was:" >&5
22835 -sed 's/^/| /' conftest.$ac_ext >&5
22837 -ac_cv_lib_dl_dlopen=no
22839 -rm -f conftest.err conftest.$ac_objext \
22840 - conftest$ac_exeext conftest.$ac_ext
22841 -LIBS=$ac_check_lib_save_LIBS
22843 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
22844 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
22845 -if test $ac_cv_lib_dl_dlopen = yes; then
22846 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
22848 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
22849 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
22850 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
22851 - echo $ECHO_N "(cached) $ECHO_C" >&6
22853 - ac_check_lib_save_LIBS=$LIBS
22854 -LIBS="-lsvld $LIBS"
22855 -cat >conftest.$ac_ext <<_ACEOF
22858 -cat confdefs.h >>conftest.$ac_ext
22859 -cat >>conftest.$ac_ext <<_ACEOF
22860 -/* end confdefs.h. */
22862 -/* Override any gcc2 internal prototype to avoid an error. */
22863 -#ifdef __cplusplus
22866 -/* We use char because int might match the return type of a gcc2
22867 - builtin and then its argument prototype would still apply. */
22877 -rm -f conftest.$ac_objext conftest$ac_exeext
22878 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22879 - (eval $ac_link) 2>conftest.er1
22881 - grep -v '^ *+' conftest.er1 >conftest.err
22882 - rm -f conftest.er1
22883 - cat conftest.err >&5
22884 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885 - (exit $ac_status); } &&
22886 - { ac_try='test -z "$ac_cxx_werror_flag"
22887 - || test ! -s conftest.err'
22888 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22889 - (eval $ac_try) 2>&5
22891 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22892 - (exit $ac_status); }; } &&
22893 - { ac_try='test -s conftest$ac_exeext'
22894 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22895 - (eval $ac_try) 2>&5
22897 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22898 - (exit $ac_status); }; }; then
22899 - ac_cv_lib_svld_dlopen=yes
22901 - echo "$as_me: failed program was:" >&5
22902 -sed 's/^/| /' conftest.$ac_ext >&5
22904 -ac_cv_lib_svld_dlopen=no
22906 -rm -f conftest.err conftest.$ac_objext \
22907 - conftest$ac_exeext conftest.$ac_ext
22908 -LIBS=$ac_check_lib_save_LIBS
22910 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
22911 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
22912 -if test $ac_cv_lib_svld_dlopen = yes; then
22913 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
22915 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
22916 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
22917 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
22918 - echo $ECHO_N "(cached) $ECHO_C" >&6
22920 - ac_check_lib_save_LIBS=$LIBS
22921 -LIBS="-ldld $LIBS"
22922 -cat >conftest.$ac_ext <<_ACEOF
22925 -cat confdefs.h >>conftest.$ac_ext
22926 -cat >>conftest.$ac_ext <<_ACEOF
22927 -/* end confdefs.h. */
22929 -/* Override any gcc2 internal prototype to avoid an error. */
22930 -#ifdef __cplusplus
22933 -/* We use char because int might match the return type of a gcc2
22934 - builtin and then its argument prototype would still apply. */
22944 -rm -f conftest.$ac_objext conftest$ac_exeext
22945 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22946 - (eval $ac_link) 2>conftest.er1
22948 - grep -v '^ *+' conftest.er1 >conftest.err
22949 - rm -f conftest.er1
22950 - cat conftest.err >&5
22951 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22952 - (exit $ac_status); } &&
22953 - { ac_try='test -z "$ac_cxx_werror_flag"
22954 - || test ! -s conftest.err'
22955 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22956 - (eval $ac_try) 2>&5
22958 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 - (exit $ac_status); }; } &&
22960 - { ac_try='test -s conftest$ac_exeext'
22961 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22962 - (eval $ac_try) 2>&5
22964 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22965 - (exit $ac_status); }; }; then
22966 - ac_cv_lib_dld_dld_link=yes
22968 - echo "$as_me: failed program was:" >&5
22969 -sed 's/^/| /' conftest.$ac_ext >&5
22971 -ac_cv_lib_dld_dld_link=no
22973 -rm -f conftest.err conftest.$ac_objext \
22974 - conftest$ac_exeext conftest.$ac_ext
22975 -LIBS=$ac_check_lib_save_LIBS
22977 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
22978 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
22979 -if test $ac_cv_lib_dld_dld_link = yes; then
22980 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
23001 - if test "x$lt_cv_dlopen" != xno; then
23002 - enable_dlopen=yes
23007 - case $lt_cv_dlopen in
23009 - save_CPPFLAGS="$CPPFLAGS"
23010 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
23012 - save_LDFLAGS="$LDFLAGS"
23013 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
23015 - save_LIBS="$LIBS"
23016 - LIBS="$lt_cv_dlopen_libs $LIBS"
23018 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
23019 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
23020 -if test "${lt_cv_dlopen_self+set}" = set; then
23021 - echo $ECHO_N "(cached) $ECHO_C" >&6
23023 - if test "$cross_compiling" = yes; then :
23024 - lt_cv_dlopen_self=cross
23026 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
23027 - lt_status=$lt_dlunknown
23028 - cat > conftest.$ac_ext <<EOF
23029 -#line 12536 "configure"
23030 -#include "confdefs.h"
23033 -#include <dlfcn.h>
23036 -#include <stdio.h>
23038 -#ifdef RTLD_GLOBAL
23039 -# define LT_DLGLOBAL RTLD_GLOBAL
23042 -# define LT_DLGLOBAL DL_GLOBAL
23044 -# define LT_DLGLOBAL 0
23048 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
23049 - find out it does not work in some platform. */
23050 -#ifndef LT_DLLAZY_OR_NOW
23052 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
23055 -# define LT_DLLAZY_OR_NOW DL_LAZY
23058 -# define LT_DLLAZY_OR_NOW RTLD_NOW
23061 -# define LT_DLLAZY_OR_NOW DL_NOW
23063 -# define LT_DLLAZY_OR_NOW 0
23070 -#ifdef __cplusplus
23071 -extern "C" void exit (int);
23074 -void fnord() { int i=42;}
23077 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
23078 - int status = $lt_dlunknown;
23082 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
23083 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
23084 - /* dlclose (self); */
23090 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23091 - (eval $ac_link) 2>&5
23093 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
23095 - (./conftest; exit; ) 2>/dev/null
23097 - case x$lt_status in
23098 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
23099 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
23100 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
23103 - # compilation failed
23104 - lt_cv_dlopen_self=no
23111 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
23112 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
23114 - if test "x$lt_cv_dlopen_self" = xyes; then
23115 - LDFLAGS="$LDFLAGS $link_static_flag"
23116 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
23117 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
23118 -if test "${lt_cv_dlopen_self_static+set}" = set; then
23119 - echo $ECHO_N "(cached) $ECHO_C" >&6
23121 - if test "$cross_compiling" = yes; then :
23122 - lt_cv_dlopen_self_static=cross
23124 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
23125 - lt_status=$lt_dlunknown
23126 - cat > conftest.$ac_ext <<EOF
23127 -#line 12634 "configure"
23128 -#include "confdefs.h"
23131 -#include <dlfcn.h>
23134 -#include <stdio.h>
23136 -#ifdef RTLD_GLOBAL
23137 -# define LT_DLGLOBAL RTLD_GLOBAL
23140 -# define LT_DLGLOBAL DL_GLOBAL
23142 -# define LT_DLGLOBAL 0
23146 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
23147 - find out it does not work in some platform. */
23148 -#ifndef LT_DLLAZY_OR_NOW
23150 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
23153 -# define LT_DLLAZY_OR_NOW DL_LAZY
23156 -# define LT_DLLAZY_OR_NOW RTLD_NOW
23159 -# define LT_DLLAZY_OR_NOW DL_NOW
23161 -# define LT_DLLAZY_OR_NOW 0
23168 -#ifdef __cplusplus
23169 -extern "C" void exit (int);
23172 -void fnord() { int i=42;}
23175 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
23176 - int status = $lt_dlunknown;
23180 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
23181 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
23182 - /* dlclose (self); */
23188 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23189 - (eval $ac_link) 2>&5
23191 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
23192 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
23193 - (./conftest; exit; ) 2>/dev/null
23195 - case x$lt_status in
23196 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
23197 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
23198 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
23201 - # compilation failed
23202 - lt_cv_dlopen_self_static=no
23209 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
23210 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
23213 - CPPFLAGS="$save_CPPFLAGS"
23214 - LDFLAGS="$save_LDFLAGS"
23215 - LIBS="$save_LIBS"
23219 - case $lt_cv_dlopen_self in
23220 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
23221 - *) enable_dlopen_self=unknown ;;
23224 - case $lt_cv_dlopen_self_static in
23225 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
23226 - *) enable_dlopen_self_static=unknown ;;
23231 # The else clause should only fire when bootstrapping the
23232 # libtool distribution, otherwise you forgot to ship ltmain.sh
23233 @@ -12748,7 +13758,7 @@ if test -f "$ltmain"; then
23234 # Now quote all the things that may contain metacharacters while being
23235 # careful not to overquote the AC_SUBSTed values. We take copies of the
23236 # variables and quote the copies for generation of the libtool script.
23237 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
23238 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23240 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23241 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23242 @@ -12775,6 +13785,7 @@ if test -f "$ltmain"; then
23245 compiler_lib_search_path_CXX \
23246 + compiler_lib_search_dirs_CXX \
23248 archive_expsym_cmds_CXX \
23249 postinstall_cmds_CXX \
23250 @@ -12790,6 +13801,7 @@ if test -f "$ltmain"; then
23252 module_expsym_cmds_CXX \
23253 lt_cv_prog_compiler_c_o_CXX \
23254 + fix_srcfile_path_CXX \
23255 exclude_expsyms_CXX \
23256 include_expsyms_CXX; do
23258 @@ -12849,6 +13861,12 @@ fast_install=$enable_fast_install
23260 host_alias=$host_alias
23264 +# The build system.
23265 +build_alias=$build_alias
23267 +build_os=$build_os
23269 # An echo program that does not interpret backslashes.
23271 @@ -12860,6 +13878,9 @@ AR_FLAGS=$lt_AR_FLAGS
23275 +# LTCC compiler flags.
23276 +LTCFLAGS=$lt_LTCFLAGS
23278 # A language-specific compiler.
23279 CC=$lt_compiler_CXX
23281 @@ -12925,7 +13946,7 @@ max_cmd_len=$lt_cv_sys_max_cmd_len
23282 # Does compiler simultaneously support -c and -o options?
23283 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23285 -# Must we lock files when doing compilation ?
23286 +# Must we lock files when doing compilation?
23287 need_locks=$lt_need_locks
23289 # Do we need the lib prefix for modules?
23290 @@ -13013,6 +14034,10 @@ predeps=$lt_predeps_CXX
23292 postdeps=$lt_postdeps_CXX
23294 +# The directories searched by this compiler when creating a shared
23296 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23298 # The library search path used internally by the compiler when linking
23299 # a shared library.
23300 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23301 @@ -13101,7 +14126,7 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23302 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23304 # Fix the shell variable \$srcfile for the compiler.
23305 -fix_srcfile_path="$fix_srcfile_path_CXX"
23306 +fix_srcfile_path=$lt_fix_srcfile_path
23308 # Set to yes if exported symbols are required.
23309 always_export_symbols=$always_export_symbols_CXX
23310 @@ -13192,39 +14217,72 @@ objext=o
23313 # Code to be used in simple compile tests
23314 -lt_simple_compile_test_code=" subroutine t\n return\n end\n"
23315 +lt_simple_compile_test_code="\
23321 # Code to be used in simple link tests
23322 -lt_simple_link_test_code=" program t\n end\n"
23323 +lt_simple_link_test_code="\
23328 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
23330 # If no C compiler was specified, use CC.
23333 +# If no C compiler flags were specified, use CFLAGS.
23334 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
23336 # Allow CC to be a program name with arguments.
23340 +# save warnings/boilerplate of simple test code
23341 +ac_outfile=conftest.$ac_objext
23342 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
23343 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23344 +_lt_compiler_boilerplate=`cat conftest.err`
23347 +ac_outfile=conftest.$ac_objext
23348 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
23349 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23350 +_lt_linker_boilerplate=`cat conftest.err`
23354 # Allow CC to be a program name with arguments.
23359 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
23360 +for cc_temp in $compiler""; do
23362 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23363 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23368 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23371 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
23372 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
23373 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
23374 -echo "${ECHO_T}$can_build_shared" >&6
23375 +{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
23376 +$as_echo_n "checking if libtool supports shared libraries... " >&6; }
23377 +{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
23378 +$as_echo "$can_build_shared" >&6; }
23380 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
23381 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
23382 +{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
23383 +$as_echo_n "checking whether to build shared libraries... " >&6; }
23384 test "$can_build_shared" = "no" && enable_shared=no
23386 # On AIX, shared libraries and static libraries use the same namespace, and
23387 # are all built from PIC.
23388 -case "$host_os" in
23391 test "$enable_shared" = yes && enable_static=no
23392 if test -n "$RANLIB"; then
23393 @@ -13232,21 +14290,21 @@ aix3*)
23394 postinstall_cmds='$RANLIB $lib'
23398 - test "$enable_shared" = yes && enable_static=no
23400 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
23401 + test "$enable_shared" = yes && enable_static=no
23405 -echo "$as_me:$LINENO: result: $enable_shared" >&5
23406 -echo "${ECHO_T}$enable_shared" >&6
23407 +{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
23408 +$as_echo "$enable_shared" >&6; }
23410 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
23411 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
23412 +{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
23413 +$as_echo_n "checking whether to build static libraries... " >&6; }
23414 # Make sure either enable_shared or enable_static is yes.
23415 test "$enable_shared" = yes || enable_static=yes
23416 -echo "$as_me:$LINENO: result: $enable_static" >&5
23417 -echo "${ECHO_T}$enable_static" >&6
23419 -test "$ld_shlibs_F77" = no && can_build_shared=no
23420 +{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
23421 +$as_echo "$enable_static" >&6; }
23425 @@ -13255,8 +14313,8 @@ lt_prog_compiler_wl_F77=
23426 lt_prog_compiler_pic_F77=
23427 lt_prog_compiler_static_F77=
23429 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
23430 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23431 +{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
23432 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
23434 if test "$GCC" = yes; then
23435 lt_prog_compiler_wl_F77='-Wl,'
23436 @@ -13278,13 +14336,15 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23437 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
23440 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
23441 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
23442 # PIC is the default for these OSes.
23445 - mingw* | pw32* | os2*)
23446 + mingw* | cygwin* | pw32* | os2*)
23447 # This hack is so that the source file can tell whether it is being
23448 # built for inclusion in a dll (and should export symbols for example).
23449 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
23450 + # (--disable-auto-import) libraries
23451 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
23454 @@ -13294,6 +14354,11 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23455 lt_prog_compiler_pic_F77='-fno-common'
23459 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
23460 + # Instead, we relocate shared libraries at runtime.
23464 # Just because we use GCC doesn't mean we suddenly get shared libraries
23465 # on systems that don't support them.
23466 @@ -13310,7 +14375,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23468 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23469 # not for PA HP-UX.
23470 - case "$host_cpu" in
23471 + case $host_cpu in
23475 @@ -13336,8 +14401,18 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23476 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
23480 + # PIC is the default on this platform
23481 + # Common symbols not allowed in MH_DYLIB files
23482 + case $cc_basename in
23484 + lt_prog_compiler_pic_F77='-qnocommon'
23485 + lt_prog_compiler_wl_F77='-Wl,'
23490 - mingw* | pw32* | os2*)
23491 + mingw* | cygwin* | pw32* | os2*)
23492 # This hack is so that the source file can tell whether it is being
23493 # built for inclusion in a dll (and should export symbols for example).
23494 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
23495 @@ -13347,7 +14422,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23496 lt_prog_compiler_wl_F77='-Wl,'
23497 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23498 # not for PA HP-UX.
23499 - case "$host_cpu" in
23500 + case $host_cpu in
23504 @@ -13370,18 +14445,41 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23505 lt_prog_compiler_static_F77='-Bstatic'
23510 + linux* | k*bsd*-gnu)
23511 + case $cc_basename in
23513 lt_prog_compiler_wl_F77='-Wl,'
23514 lt_prog_compiler_pic_F77='-KPIC'
23515 lt_prog_compiler_static_F77='-static'
23517 + pgcc* | pgf77* | pgf90* | pgf95*)
23518 + # Portland Group compilers (*not* the Pentium gcc compiler,
23519 + # which looks to be a dead project)
23520 + lt_prog_compiler_wl_F77='-Wl,'
23521 + lt_prog_compiler_pic_F77='-fpic'
23522 + lt_prog_compiler_static_F77='-Bstatic'
23525 lt_prog_compiler_wl_F77='-Wl,'
23526 # All Alpha code is PIC.
23527 lt_prog_compiler_static_F77='-non_shared'
23530 + case `$CC -V 2>&1 | sed 5q` in
23533 + lt_prog_compiler_pic_F77='-KPIC'
23534 + lt_prog_compiler_static_F77='-Bstatic'
23535 + lt_prog_compiler_wl_F77='-Wl,'
23538 + # Sun Fortran 8.3 passes all unrecognized flags to the linker
23539 + lt_prog_compiler_pic_F77='-KPIC'
23540 + lt_prog_compiler_static_F77='-Bstatic'
23541 + lt_prog_compiler_wl_F77=''
23548 @@ -13391,15 +14489,19 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23549 lt_prog_compiler_static_F77='-non_shared'
23553 - lt_prog_compiler_pic_F77='-Kpic'
23554 - lt_prog_compiler_static_F77='-dn'
23556 + lt_prog_compiler_static_F77='-non_shared'
23560 - lt_prog_compiler_wl_F77='-Wl,'
23561 lt_prog_compiler_pic_F77='-KPIC'
23562 lt_prog_compiler_static_F77='-Bstatic'
23563 + case $cc_basename in
23564 + f77* | f90* | f95*)
23565 + lt_prog_compiler_wl_F77='-Qoption ld ';;
23567 + lt_prog_compiler_wl_F77='-Wl,';;
23572 @@ -13408,7 +14510,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23573 lt_prog_compiler_static_F77='-Bstatic'
23576 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
23577 + sysv4 | sysv4.2uw2* | sysv4.3*)
23578 lt_prog_compiler_wl_F77='-Wl,'
23579 lt_prog_compiler_pic_F77='-KPIC'
23580 lt_prog_compiler_static_F77='-Bstatic'
23581 @@ -13421,6 +14523,17 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23585 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
23586 + lt_prog_compiler_wl_F77='-Wl,'
23587 + lt_prog_compiler_pic_F77='-KPIC'
23588 + lt_prog_compiler_static_F77='-Bstatic'
23592 + lt_prog_compiler_wl_F77='-Wl,'
23593 + lt_prog_compiler_can_build_shared_F77=no
23597 lt_prog_compiler_pic_F77='-pic'
23598 lt_prog_compiler_static_F77='-Bstatic'
23599 @@ -13432,22 +14545,22 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
23603 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
23604 -echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
23605 +{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
23606 +$as_echo "$lt_prog_compiler_pic_F77" >&6; }
23609 # Check to make sure the PIC flag actually works.
23611 if test -n "$lt_prog_compiler_pic_F77"; then
23613 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
23614 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
23615 -if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
23616 - echo $ECHO_N "(cached) $ECHO_C" >&6
23617 +{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
23618 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
23619 +if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
23620 + $as_echo_n "(cached) " >&6
23622 - lt_prog_compiler_pic_works_F77=no
23623 + lt_cv_prog_compiler_pic_works_F77=no
23624 ac_outfile=conftest.$ac_objext
23625 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
23626 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
23627 lt_compiler_flag="$lt_prog_compiler_pic_F77"
23628 # Insert the option either (1) after the last *FLAGS variable, or
23629 # (2) before a word containing "conftest.", or (3) at the end.
23630 @@ -13455,28 +14568,30 @@ else
23631 # with a dollar sign (not a hyphen), so the echo should work correctly.
23632 # The option is referenced via a variable to avoid confusing sed.
23633 lt_compile=`echo "$ac_compile" | $SED \
23634 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
23635 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23636 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23637 -e 's:$: $lt_compiler_flag:'`
23638 - (eval echo "\"\$as_me:13461: $lt_compile\"" >&5)
23639 + (eval echo "\"\$as_me:14574: $lt_compile\"" >&5)
23640 (eval "$lt_compile" 2>conftest.err)
23642 cat conftest.err >&5
23643 - echo "$as_me:13465: \$? = $ac_status" >&5
23644 + echo "$as_me:14578: \$? = $ac_status" >&5
23645 if (exit $ac_status) && test -s "$ac_outfile"; then
23646 # The compiler can only warn and ignore the option if not recognized
23647 - # So say no if there are warnings
23648 - if test ! -s conftest.err; then
23649 - lt_prog_compiler_pic_works_F77=yes
23650 + # So say no if there are warnings other than the usual output.
23651 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
23652 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23653 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
23654 + lt_cv_prog_compiler_pic_works_F77=yes
23660 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
23661 -echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
23662 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
23663 +$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
23665 -if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
23666 +if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
23667 case $lt_prog_compiler_pic_F77 in
23669 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
23670 @@ -13487,7 +14602,7 @@ else
23674 -case "$host_os" in
23676 # For platforms which do not support PIC, -DPIC is meaningless:
23678 lt_prog_compiler_pic_F77=
23679 @@ -13497,17 +14612,59 @@ case "$host_os" in
23683 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
23684 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
23686 +# Check to make sure the static flag actually works.
23688 +wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
23689 +{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
23690 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
23691 +if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
23692 + $as_echo_n "(cached) " >&6
23694 + lt_cv_prog_compiler_static_works_F77=no
23695 + save_LDFLAGS="$LDFLAGS"
23696 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
23697 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
23698 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
23699 + # The linker can only warn and ignore the option if not recognized
23700 + # So say no if there are warnings
23701 + if test -s conftest.err; then
23702 + # Append any errors to the config.log.
23703 + cat conftest.err 1>&5
23704 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
23705 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23706 + if diff conftest.exp conftest.er2 >/dev/null; then
23707 + lt_cv_prog_compiler_static_works_F77=yes
23710 + lt_cv_prog_compiler_static_works_F77=yes
23714 + LDFLAGS="$save_LDFLAGS"
23717 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
23718 +$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
23720 +if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
23723 + lt_prog_compiler_static_F77=
23727 +{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
23728 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
23729 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
23730 - echo $ECHO_N "(cached) $ECHO_C" >&6
23731 + $as_echo_n "(cached) " >&6
23733 lt_cv_prog_compiler_c_o_F77=no
23734 $rm -r conftest 2>/dev/null
23738 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
23739 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
23741 lt_compiler_flag="-o out/conftest2.$ac_objext"
23742 # Insert the option either (1) after the last *FLAGS variable, or
23743 @@ -13515,23 +14672,25 @@ else
23744 # Note that $ac_compile itself does not contain backslashes and begins
23745 # with a dollar sign (not a hyphen), so the echo should work correctly.
23746 lt_compile=`echo "$ac_compile" | $SED \
23747 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
23748 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23749 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23750 -e 's:$: $lt_compiler_flag:'`
23751 - (eval echo "\"\$as_me:13521: $lt_compile\"" >&5)
23752 + (eval echo "\"\$as_me:14678: $lt_compile\"" >&5)
23753 (eval "$lt_compile" 2>out/conftest.err)
23755 cat out/conftest.err >&5
23756 - echo "$as_me:13525: \$? = $ac_status" >&5
23757 + echo "$as_me:14682: \$? = $ac_status" >&5
23758 if (exit $ac_status) && test -s out/conftest2.$ac_objext
23760 # The compiler can only warn and ignore the option if not recognized
23761 # So say no if there are warnings
23762 - if test ! -s out/conftest.err; then
23763 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
23764 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
23765 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
23766 lt_cv_prog_compiler_c_o_F77=yes
23772 # SGI C++ compiler will create directory out/ii_files/ for
23773 # template instantiation
23774 @@ -13542,34 +14701,34 @@ else
23778 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
23779 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
23780 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
23781 +$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
23784 hard_links="nottested"
23785 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
23786 # do not overwrite the value of need_locks provided by the user
23787 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
23788 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
23789 + { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
23790 +$as_echo_n "checking if we can lock with hard links... " >&6; }
23793 ln conftest.a conftest.b 2>/dev/null && hard_links=no
23795 ln conftest.a conftest.b 2>&5 || hard_links=no
23796 ln conftest.a conftest.b 2>/dev/null && hard_links=no
23797 - echo "$as_me:$LINENO: result: $hard_links" >&5
23798 -echo "${ECHO_T}$hard_links" >&6
23799 + { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
23800 +$as_echo "$hard_links" >&6; }
23801 if test "$hard_links" = no; then
23802 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
23803 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
23804 + { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
23805 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
23812 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
23813 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
23814 +{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
23815 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
23818 allow_undefined_flag_F77=
23819 @@ -13600,13 +14759,24 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
23820 # it will be wrapped by ` (' and `)$', so one must not match beginning or
23821 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
23822 # as well as any symbol that contains `d'.
23823 - exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
23824 + exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
23825 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
23826 # platforms (ab)use it in PIC code, but their linkers get confused if
23827 # the symbol is explicitly referenced. Since portable code cannot
23828 # rely on this symbol name, it's probably fine to never include it in
23829 # preloaded symbol tables.
23830 + # Exclude shared library initialization/finalization symbols.
23831 extract_expsyms_cmds=
23832 + # Just being paranoid about ensuring that cc_basename is set.
23833 + for cc_temp in $compiler""; do
23835 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23836 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23841 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23844 cygwin* | mingw* | pw32*)
23845 @@ -13617,6 +14787,10 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
23850 + # we just hope/assume this is gcc and not c89 (= MSVC++)
23856 @@ -13627,9 +14801,30 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
23857 # If archive_cmds runs LD, not CC, wlarc should be empty
23860 + # Set some defaults for GNU ld with shared library support. These
23861 + # are reset later if shared libraries are not supported. Putting them
23862 + # here allows them to be overridden if necessary.
23863 + runpath_var=LD_RUN_PATH
23864 + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
23865 + export_dynamic_flag_spec_F77='${wl}--export-dynamic'
23866 + # ancient GNU ld didn't support --whole-archive et. al.
23867 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
23868 + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
23870 + whole_archive_flag_spec_F77=
23872 + supports_anon_versioning=no
23873 + case `$LD -v 2>/dev/null` in
23874 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
23875 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
23876 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
23877 + *\ 2.11.*) ;; # other 2.11 versions
23878 + *) supports_anon_versioning=yes ;;
23881 # See if GNU ld supports shared libraries.
23883 - aix3* | aix4* | aix5*)
23885 # On AIX/PPC, the GNU linker is very broken
23886 if test "$host_cpu" != ia64; then
23888 @@ -13677,10 +14872,10 @@ EOF
23889 allow_undefined_flag_F77=unsupported
23890 always_export_symbols_F77=no
23891 enable_shared_with_static_runtimes_F77=yes
23892 - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
23893 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
23895 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
23896 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
23897 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
23898 # If the export-symbols file already is a .def file (1st line
23899 # is EXPORTS), use it as is; otherwise, prepend...
23900 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
23901 @@ -13689,13 +14884,69 @@ EOF
23902 echo EXPORTS > $output_objdir/$soname.def;
23903 cat $export_symbols >> $output_objdir/$soname.def;
23905 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
23906 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
23915 + hardcode_direct_F77=no
23916 + hardcode_shlibpath_var_F77=no
23917 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
23918 + export_dynamic_flag_spec_F77='${wl}-E'
23919 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
23920 + # Instead, shared libraries are loaded at an image base (0x10000000 by
23921 + # default) and relocated if they conflict, which is a slow very memory
23922 + # consuming and fragmenting process. To avoid this, we pick a random,
23923 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
23924 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
23925 + 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'
23926 + 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'
23929 + gnu* | linux* | k*bsd*-gnu)
23930 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
23932 + case $cc_basename,$host_cpu in
23933 + pgcc*) # Portland Group C compiler
23934 + 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'
23935 + tmp_addflag=' $pic_flag'
23937 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
23938 + 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'
23939 + tmp_addflag=' $pic_flag -Mnomain' ;;
23940 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
23941 + tmp_addflag=' -i_dynamic' ;;
23942 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
23943 + tmp_addflag=' -i_dynamic -nofor_main' ;;
23944 + ifc* | ifort*) # Intel Fortran compiler
23945 + tmp_addflag=' -nofor_main' ;;
23947 + case `$CC -V 2>&1 | sed 5q` in
23948 + *Sun\ C*) # Sun C 5.9
23949 + 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'
23950 + tmp_sharedflag='-G' ;;
23951 + *Sun\ F*) # Sun Fortran 8.3
23952 + tmp_sharedflag='-G' ;;
23954 + tmp_sharedflag='-shared' ;;
23956 + archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23958 + if test $supports_anon_versioning = yes; then
23959 + archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
23960 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
23961 + $echo "local: *; };" >> $output_objdir/$libname.ver~
23962 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
23964 + link_all_deplibs_F77=no
23970 + netbsd* | netbsdelf*-gnu)
23971 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23972 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
23974 @@ -13705,7 +14956,7 @@ EOF
23978 - solaris* | sysv5*)
23980 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
23983 @@ -13726,6 +14977,33 @@ EOF
23987 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
23988 + case `$LD -v 2>&1` in
23989 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
23991 + cat <<_LT_EOF 1>&2
23993 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
23994 +*** reliably create shared libraries on SCO systems. Therefore, libtool
23995 +*** is disabling shared libraries support. We urge you to upgrade GNU
23996 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
23997 +*** your PATH or compiler configuration so that the native linker is
23998 +*** used, and then restart.
24003 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24004 + hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
24005 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
24006 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
24015 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24017 @@ -13733,31 +15011,6 @@ EOF
24018 hardcode_shlibpath_var_F77=no
24022 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24023 - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24024 - archive_cmds_F77="$tmp_archive_cmds"
24025 - supports_anon_versioning=no
24026 - case `$LD -v 2>/dev/null` in
24027 - *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
24028 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
24029 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
24030 - *\ 2.11.*) ;; # other 2.11 versions
24031 - *) supports_anon_versioning=yes ;;
24033 - if test $supports_anon_versioning = yes; then
24034 - archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
24035 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24036 -$echo "local: *; };" >> $output_objdir/$libname.ver~
24037 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
24039 - archive_expsym_cmds_F77="$tmp_archive_cmds"
24047 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24048 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24049 @@ -13768,16 +15021,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
24053 - if test "$ld_shlibs_F77" = yes; then
24054 - runpath_var=LD_RUN_PATH
24055 - hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
24056 - export_dynamic_flag_spec_F77='${wl}--export-dynamic'
24057 - # ancient GNU ld didn't support --whole-archive et. al.
24058 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
24059 - whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24061 - whole_archive_flag_spec_F77=
24063 + if test "$ld_shlibs_F77" = no; then
24065 + hardcode_libdir_flag_spec_F77=
24066 + export_dynamic_flag_spec_F77=
24067 + whole_archive_flag_spec_F77=
24070 # PORTME fill in a description of your system's linker (not GNU ld)
24071 @@ -13789,14 +15037,14 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
24072 # Note: this linker hardcodes the directories in LIBPATH if there
24073 # are no directories specified by -L.
24074 hardcode_minus_L_F77=yes
24075 - if test "$GCC" = yes && test -z "$link_static_flag"; then
24076 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
24077 # Neither direct hardcoding nor static linking is supported with a
24079 hardcode_direct_F77=unsupported
24085 if test "$host_cpu" = ia64; then
24086 # On IA64, the linker does run time linking by default, so we don't
24087 # have to do anything special.
24088 @@ -13816,13 +15064,14 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
24089 # Test if we are trying to use run time linking or normal
24090 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
24091 # need to do runtime linking.
24092 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
24093 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
24094 for ld_flag in $LDFLAGS; do
24095 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
24096 aix_use_runtimelinking=yes
24103 exp_sym_flag='-bexport'
24104 @@ -13841,7 +15090,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
24105 link_all_deplibs_F77=yes
24107 if test "$GCC" = yes; then
24108 - case $host_os in aix4.012|aix4.012.*)
24109 + case $host_os in aix4.[012]|aix4.[012].*)
24110 # We only want to do this on AIX 4.2 and lower, the check
24111 # below for broken collect2 doesn't work under 4.3+
24112 collect2name=`${CC} -print-prog-name=collect2`
24113 @@ -13849,7 +15098,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
24114 strings "$collect2name" | grep resolve_lib_name >/dev/null
24116 # We have reworked collect2
24117 - hardcode_direct_F77=yes
24120 # We have old collect2
24121 hardcode_direct_F77=unsupported
24122 @@ -13860,8 +15109,12 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
24123 hardcode_libdir_flag_spec_F77='-L$libdir'
24124 hardcode_libdir_separator_F77=
24128 shared_flag='-shared'
24129 + if test "$aix_use_runtimelinking" = yes; then
24130 + shared_flag="$shared_flag "'${wl}-G'
24134 if test "$host_cpu" = ia64; then
24135 @@ -13869,11 +15122,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
24136 # chokes on -Wl,-G. The following line is correct:
24139 - if test "$aix_use_runtimelinking" = yes; then
24140 + if test "$aix_use_runtimelinking" = yes; then
24141 shared_flag='${wl}-G'
24143 shared_flag='${wl}-bM:SRE'
24149 @@ -13891,49 +15144,58 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
24152 rm -f conftest.$ac_objext conftest$ac_exeext
24153 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24154 - (eval $ac_link) 2>conftest.er1
24155 +if { (ac_try="$ac_link"
24156 +case "(($ac_try" in
24157 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24158 + *) ac_try_echo=$ac_try;;
24160 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24161 +$as_echo "$ac_try_echo") >&5
24162 + (eval "$ac_link") 2>conftest.er1
24164 grep -v '^ *+' conftest.er1 >conftest.err
24166 cat conftest.err >&5
24167 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24168 - (exit $ac_status); } &&
24169 - { ac_try='test -z "$ac_f77_werror_flag"
24170 - || test ! -s conftest.err'
24171 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24172 - (eval $ac_try) 2>&5
24174 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24175 - (exit $ac_status); }; } &&
24176 - { ac_try='test -s conftest$ac_exeext'
24177 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24178 - (eval $ac_try) 2>&5
24180 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24181 - (exit $ac_status); }; }; then
24183 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24185 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24186 + (exit $ac_status); } && {
24187 + test -z "$ac_f77_werror_flag" ||
24188 + test ! -s conftest.err
24189 + } && test -s conftest$ac_exeext && {
24190 + test "$cross_compiling" = yes ||
24191 + $as_test_x conftest$ac_exeext
24194 +lt_aix_libpath_sed='
24195 + /Import File Strings/,/^$/ {
24197 + s/^0 *\(.*\)$/\1/
24201 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24202 # Check for a 64-bit object if we didn't find anything.
24203 -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; }
24205 +if test -z "$aix_libpath"; then
24206 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24209 - echo "$as_me: failed program was:" >&5
24210 + $as_echo "$as_me: failed program was:" >&5
24211 sed 's/^/| /' conftest.$ac_ext >&5
24215 -rm -f conftest.err conftest.$ac_objext \
24217 +rm -rf conftest.dSYM
24218 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24219 conftest$ac_exeext conftest.$ac_ext
24220 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24222 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
24223 - 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"
24224 + 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"
24226 if test "$host_cpu" = ia64; then
24227 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
24228 allow_undefined_flag_F77="-z nodefs"
24229 - 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"
24230 + 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"
24232 # Determine the default libpath from the value encoded in an empty executable.
24233 cat >conftest.$ac_ext <<_ACEOF
24234 @@ -13942,39 +15204,48 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24237 rm -f conftest.$ac_objext conftest$ac_exeext
24238 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24239 - (eval $ac_link) 2>conftest.er1
24240 +if { (ac_try="$ac_link"
24241 +case "(($ac_try" in
24242 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24243 + *) ac_try_echo=$ac_try;;
24245 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24246 +$as_echo "$ac_try_echo") >&5
24247 + (eval "$ac_link") 2>conftest.er1
24249 grep -v '^ *+' conftest.er1 >conftest.err
24251 cat conftest.err >&5
24252 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24253 - (exit $ac_status); } &&
24254 - { ac_try='test -z "$ac_f77_werror_flag"
24255 - || test ! -s conftest.err'
24256 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24257 - (eval $ac_try) 2>&5
24259 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24260 - (exit $ac_status); }; } &&
24261 - { ac_try='test -s conftest$ac_exeext'
24262 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24263 - (eval $ac_try) 2>&5
24265 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24266 - (exit $ac_status); }; }; then
24268 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24270 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24271 + (exit $ac_status); } && {
24272 + test -z "$ac_f77_werror_flag" ||
24273 + test ! -s conftest.err
24274 + } && test -s conftest$ac_exeext && {
24275 + test "$cross_compiling" = yes ||
24276 + $as_test_x conftest$ac_exeext
24279 +lt_aix_libpath_sed='
24280 + /Import File Strings/,/^$/ {
24282 + s/^0 *\(.*\)$/\1/
24286 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24287 # Check for a 64-bit object if we didn't find anything.
24288 -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; }
24290 +if test -z "$aix_libpath"; then
24291 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24294 - echo "$as_me: failed program was:" >&5
24295 + $as_echo "$as_me: failed program was:" >&5
24296 sed 's/^/| /' conftest.$ac_ext >&5
24300 -rm -f conftest.err conftest.$ac_objext \
24302 +rm -rf conftest.dSYM
24303 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24304 conftest$ac_exeext conftest.$ac_ext
24305 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24307 @@ -13983,13 +15254,11 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24308 # -berok will link without error, but may produce a broken library.
24309 no_undefined_flag_F77=' ${wl}-bernotok'
24310 allow_undefined_flag_F77=' ${wl}-berok'
24311 - # -bexpall does not export symbols beginning with underscore (_)
24312 - always_export_symbols_F77=yes
24313 # Exported symbols can be pulled into shared objects from archives
24314 - whole_archive_flag_spec_F77=' '
24315 + whole_archive_flag_spec_F77='$convenience'
24316 archive_cmds_need_lc_F77=yes
24317 - # This is similar to how AIX traditionally builds it's shared libraries.
24318 - 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'
24319 + # This is similar to how AIX traditionally builds its shared libraries.
24320 + 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'
24324 @@ -14002,7 +15271,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24330 export_dynamic_flag_spec_F77=-rdynamic
24333 @@ -14022,58 +15291,57 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24334 # The linker will automatically build a .lib file if we build a DLL.
24335 old_archive_From_new_cmds_F77='true'
24336 # FIXME: Should let the user specify the lib program.
24337 - old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
24338 - fix_srcfile_path='`cygpath -w "$srcfile"`'
24339 + old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
24340 + fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
24341 enable_shared_with_static_runtimes_F77=yes
24344 darwin* | rhapsody*)
24345 - if test "$GXX" = yes ; then
24346 - archive_cmds_need_lc_F77=no
24347 - case "$host_os" in
24348 - rhapsody* | darwin1.[012])
24349 - allow_undefined_flag_F77='-undefined suppress'
24351 - *) # Darwin 1.3 on
24352 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
24353 - allow_undefined_flag_F77='-flat_namespace -undefined suppress'
24355 - case ${MACOSX_DEPLOYMENT_TARGET} in
24357 - allow_undefined_flag_F77='-flat_namespace -undefined suppress'
24360 - allow_undefined_flag_F77='-undefined dynamic_lookup'
24366 + rhapsody* | darwin1.[012])
24367 + allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
24369 + *) # Darwin 1.3 on
24370 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
24371 + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24373 + case ${MACOSX_DEPLOYMENT_TARGET} in
24375 + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24378 + allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
24384 - lt_int_apple_cc_single_mod=no
24385 - output_verbose_link_cmd='echo'
24386 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
24387 - lt_int_apple_cc_single_mod=yes
24389 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
24390 - archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
24392 - 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'
24394 - module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24395 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
24396 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
24397 - 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}'
24399 - 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}'
24401 - 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}'
24402 + archive_cmds_need_lc_F77=no
24403 hardcode_direct_F77=no
24404 hardcode_automatic_F77=yes
24405 hardcode_shlibpath_var_F77=unsupported
24406 - whole_archive_flag_spec_F77='-all_load $convenience'
24407 + whole_archive_flag_spec_F77=''
24408 link_all_deplibs_F77=yes
24409 + if test "$GCC" = yes ; then
24410 + output_verbose_link_cmd='echo'
24411 + 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}"
24412 + module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
24413 + 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}"
24414 + 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}"
24417 + case $cc_basename in
24419 + output_verbose_link_cmd='echo'
24420 + archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
24421 + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24422 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24423 + 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}'
24424 + 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}'
24433 @@ -14107,7 +15375,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24436 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
24437 - freebsd* | kfreebsd*-gnu)
24438 + freebsd* | dragonfly*)
24439 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
24440 hardcode_libdir_flag_spec_F77='-R$libdir'
24441 hardcode_direct_F77=yes
24442 @@ -14130,47 +15398,62 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24443 export_dynamic_flag_spec_F77='${wl}-E'
24446 - hpux10* | hpux11*)
24448 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
24449 - case "$host_cpu" in
24451 + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24453 + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
24455 + if test "$with_gnu_ld" = no; then
24456 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
24457 + hardcode_libdir_separator_F77=:
24459 + hardcode_direct_F77=yes
24460 + export_dynamic_flag_spec_F77='${wl}-E'
24462 + # hardcode_minus_L: Not really in the search PATH,
24463 + # but as the default location of the library.
24464 + hardcode_minus_L_F77=yes
24469 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
24470 + case $host_cpu in
24472 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24475 + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24478 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24482 - case "$host_cpu" in
24484 - archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
24485 + case $host_cpu in
24487 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24490 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24493 - archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
24494 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24498 if test "$with_gnu_ld" = no; then
24499 - case "$host_cpu" in
24501 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
24502 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
24503 + hardcode_libdir_separator_F77=:
24505 + case $host_cpu in
24507 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
24508 - hardcode_libdir_separator_F77=:
24509 hardcode_direct_F77=no
24510 hardcode_shlibpath_var_F77=no
24513 - hardcode_libdir_flag_spec_F77='-L$libdir'
24514 - hardcode_direct_F77=no
24515 - hardcode_shlibpath_var_F77=no
24517 - # hardcode_minus_L: Not really in the search PATH,
24518 - # but as the default location of the library.
24519 - hardcode_minus_L_F77=yes
24522 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
24523 - hardcode_libdir_separator_F77=:
24524 hardcode_direct_F77=yes
24525 export_dynamic_flag_spec_F77='${wl}-E'
24527 @@ -14194,7 +15477,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24528 link_all_deplibs_F77=yes
24532 + netbsd* | netbsdelf*-gnu)
24533 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
24534 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
24536 @@ -14214,23 +15497,28 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24540 - hardcode_direct_F77=yes
24541 - hardcode_shlibpath_var_F77=no
24542 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24543 - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24544 - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
24545 - export_dynamic_flag_spec_F77='${wl}-E'
24546 + if test -f /usr/libexec/ld.so; then
24547 + hardcode_direct_F77=yes
24548 + hardcode_shlibpath_var_F77=no
24549 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24550 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24551 + archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
24552 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
24553 + export_dynamic_flag_spec_F77='${wl}-E'
24556 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
24557 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24558 + hardcode_libdir_flag_spec_F77='-R$libdir'
24561 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24562 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
24568 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
24569 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24570 - hardcode_libdir_flag_spec_F77='-R$libdir'
24573 - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24574 - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
24581 @@ -14263,7 +15551,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24582 allow_undefined_flag_F77=' -expect_unresolved \*'
24583 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'
24584 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~
24585 - $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'
24586 + $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'
24588 # Both c and cxx compiler support -rpath directly
24589 hardcode_libdir_flag_spec_F77='-rpath $libdir'
24590 @@ -14271,21 +15559,15 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24591 hardcode_libdir_separator_F77=:
24595 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24596 - hardcode_shlibpath_var_F77=no
24597 - export_dynamic_flag_spec_F77='${wl}-Bexport'
24598 - runpath_var=LD_RUN_PATH
24599 - hardcode_runpath_var=yes
24603 no_undefined_flag_F77=' -z text'
24604 if test "$GCC" = yes; then
24606 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24607 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24608 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
24611 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
24612 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24613 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
24614 @@ -14294,8 +15576,17 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24615 hardcode_shlibpath_var_F77=no
24617 solaris2.[0-5] | solaris2.[0-5].*) ;;
24618 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
24619 - whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
24621 + # The compiler driver will combine and reorder linker options,
24622 + # but understands `-z linker_flag'. GCC discards it without `$wl',
24623 + # but is careful enough not to reorder.
24624 + # Supported since Solaris 2.6 (maybe 2.5.1?)
24625 + if test "$GCC" = yes; then
24626 + whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
24628 + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
24632 link_all_deplibs_F77=yes
24634 @@ -14352,36 +15643,45 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24639 - archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
24640 - hardcode_direct_F77=yes
24641 - hardcode_minus_L_F77=no
24642 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
24643 + no_undefined_flag_F77='${wl}-z,text'
24644 + archive_cmds_need_lc_F77=no
24645 hardcode_shlibpath_var_F77=no
24646 - hardcode_runpath_var=yes
24647 - runpath_var=LD_RUN_PATH
24649 + runpath_var='LD_RUN_PATH'
24651 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
24652 - no_undefined_flag_F77='${wl}-z ${wl}text'
24653 if test "$GCC" = yes; then
24654 - archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24655 + archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24656 + archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24658 - archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24659 + archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24660 + archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24662 - runpath_var='LD_RUN_PATH'
24663 - hardcode_shlibpath_var_F77=no
24667 - no_undefined_flag_F77=' -z text'
24668 - # $CC -shared without GNU ld will not create a library from C++
24669 - # object files and a static libstdc++, better avoid it by now
24670 - archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
24671 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24672 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
24673 - hardcode_libdir_flag_spec_F77=
24674 + sysv5* | sco3.2v5* | sco5v6*)
24675 + # Note: We can NOT use -z defs as we might desire, because we do not
24676 + # link with -lc, and that would cause any symbols used from libc to
24677 + # always be unresolved, which means just about no library would
24678 + # ever link correctly. If we're not using GNU ld we use -z text
24679 + # though, which does catch some bad symbols but isn't as heavy-handed
24681 + no_undefined_flag_F77='${wl}-z,text'
24682 + allow_undefined_flag_F77='${wl}-z,nodefs'
24683 + archive_cmds_need_lc_F77=no
24684 hardcode_shlibpath_var_F77=no
24685 + hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
24686 + hardcode_libdir_separator_F77=':'
24687 + link_all_deplibs_F77=yes
24688 + export_dynamic_flag_spec_F77='${wl}-Bexport'
24689 runpath_var='LD_RUN_PATH'
24691 + if test "$GCC" = yes; then
24692 + archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24693 + archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24695 + archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24696 + archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24701 @@ -14396,15 +15696,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24705 -echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
24706 -echo "${ECHO_T}$ld_shlibs_F77" >&6
24707 +{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
24708 +$as_echo "$ld_shlibs_F77" >&6; }
24709 test "$ld_shlibs_F77" = no && can_build_shared=no
24711 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
24712 -if test "$GCC" = yes; then
24713 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
24717 # Do we need to explicitly link libc?
24719 @@ -14422,21 +15717,22 @@ x|xyes)
24720 # Test whether the compiler implicitly links with -lc since on some
24721 # systems, -lgcc has to come before -lc. If gcc already passes -lc
24722 # to ld, don't add -lc before -lgcc.
24723 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
24724 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
24725 + { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
24726 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
24728 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
24729 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
24731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24732 (eval $ac_compile) 2>&5
24734 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24735 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24736 (exit $ac_status); } 2>conftest.err; then
24739 libobjs=conftest.$ac_objext
24741 wl=$lt_prog_compiler_wl_F77
24742 + pic_flag=$lt_prog_compiler_pic_F77
24746 @@ -14447,7 +15743,7 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
24747 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
24748 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
24750 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24752 (exit $ac_status); }
24754 archive_cmds_need_lc_F77=no
24755 @@ -14459,16 +15755,16 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
24756 cat conftest.err 1>&5
24759 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
24760 -echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
24761 + { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
24762 +$as_echo "$archive_cmds_need_lc_F77" >&6; }
24769 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
24770 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
24771 +{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
24772 +$as_echo_n "checking dynamic linker characteristics... " >&6; }
24773 library_names_spec=
24774 libname_spec='lib$name'
24776 @@ -14482,20 +15778,7 @@ shlibpath_overrides_runpath=unknown
24778 dynamic_linker="$host_os ld.so"
24779 sys_lib_dlsearch_path_spec="/lib /usr/lib"
24780 -if test "$GCC" = yes; then
24781 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
24782 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
24783 - # if the path contains ";" then we assume it to be the separator
24784 - # otherwise default to the standard path separator (i.e. ":") - it is
24785 - # assumed that no part of a normal pathname contains ";" but that should
24786 - # okay in the real world where ";" in dirpaths is itself problematic.
24787 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
24789 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
24792 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
24795 need_lib_prefix=unknown
24796 hardcode_into_libs=no
24798 @@ -14513,7 +15796,7 @@ aix3*)
24799 soname_spec='${libname}${release}${shared_ext}$major'
24807 @@ -14569,7 +15852,7 @@ beos*)
24808 shlibpath_var=LIBRARY_PATH
24815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24816 @@ -14597,7 +15880,8 @@ cygwin* | mingw* | pw32*)
24817 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
24818 dldir=$destdir/`dirname \$dlpath`~
24819 test -d \$dldir || mkdir -p \$dldir~
24820 - $install_prog $dir/$dlname \$dldir/$dlname'
24821 + $install_prog $dir/$dlname \$dldir/$dlname~
24822 + chmod a+x \$dldir/$dlname'
24823 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
24824 dlpath=$dir/\$dldll~
24826 @@ -14627,7 +15911,7 @@ cygwin* | mingw* | pw32*)
24829 # pw32 DLLs use 'pw' prefix rather than 'lib'
24830 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
24831 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
24835 @@ -14650,13 +15934,8 @@ darwin* | rhapsody*)
24836 soname_spec='${libname}${release}${major}$shared_ext'
24837 shlibpath_overrides_runpath=yes
24838 shlibpath_var=DYLD_LIBRARY_PATH
24839 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
24840 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
24841 - if test "$GCC" = yes; then
24842 - 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"`
24844 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
24846 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
24848 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
24851 @@ -14673,20 +15952,17 @@ freebsd1*)
24856 - version_type=linux
24857 - need_lib_prefix=no
24859 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
24860 - soname_spec='${libname}${release}${shared_ext}$major'
24861 - shlibpath_var=LD_LIBRARY_PATH
24862 - shlibpath_overrides_runpath=no
24863 - hardcode_into_libs=yes
24864 - dynamic_linker='GNU ld.so'
24868 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
24869 +freebsd* | dragonfly*)
24870 + # DragonFly does not have aout. When/if they implement a new
24871 + # versioning mechanism, adjust this.
24872 + if test -x /usr/bin/objformat; then
24873 + objformat=`/usr/bin/objformat`
24876 + freebsd[123]*) objformat=aout ;;
24877 + *) objformat=elf ;;
24880 version_type=freebsd-$objformat
24881 case $version_type in
24883 @@ -14704,14 +15980,19 @@ freebsd*)
24885 shlibpath_overrides_runpath=yes
24887 - freebsd3.01* | freebsdelf3.01*)
24888 + freebsd3.[01]* | freebsdelf3.[01]*)
24889 shlibpath_overrides_runpath=yes
24890 hardcode_into_libs=yes
24893 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
24894 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
24895 shlibpath_overrides_runpath=no
24896 hardcode_into_libs=yes
24898 + *) # from 4.6 on, and DragonFly
24899 + shlibpath_overrides_runpath=yes
24900 + hardcode_into_libs=yes
24905 @@ -14731,7 +16012,7 @@ hpux9* | hpux10* | hpux11*)
24909 - case "$host_cpu" in
24910 + case $host_cpu in
24913 hardcode_into_libs=yes
24914 @@ -14771,6 +16052,18 @@ hpux9* | hpux10* | hpux11*)
24915 postinstall_cmds='chmod 555 $lib'
24919 + version_type=linux
24920 + need_lib_prefix=no
24922 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
24923 + soname_spec='${libname}${release}${shared_ext}$major'
24924 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
24925 + shlibpath_var=LD_LIBRARY_PATH
24926 + shlibpath_overrides_runpath=no
24927 + hardcode_into_libs=yes
24930 irix5* | irix6* | nonstopux*)
24932 nonstopux*) version_type=nonstopux ;;
24933 @@ -14814,7 +16107,7 @@ linux*oldld* | linux*aout* | linux*coff*)
24936 # This must be Linux ELF.
24938 +linux* | k*bsd*-gnu)
24942 @@ -14828,31 +16121,10 @@ linux*)
24943 # before this can be enabled.
24944 hardcode_into_libs=yes
24946 - # find out which ABI we are using
24948 - case "$host_cpu" in
24949 - x86_64*|s390x*|powerpc64*)
24950 - echo '#line 14835 "configure"' > conftest.$ac_ext
24951 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24952 - (eval $ac_compile) 2>&5
24954 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24955 - (exit $ac_status); }; then
24956 - case `/usr/bin/file conftest.$ac_objext` in
24959 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
24967 # Append ld.so.conf contents to the search path
24968 if test -f /etc/ld.so.conf; then
24969 - lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
24970 - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
24971 + 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' ' '`
24972 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
24975 # We used to test for /lib/ld.so.1 and disable shared libraries on
24976 @@ -14864,7 +16136,7 @@ linux*)
24977 dynamic_linker='GNU/Linux ld.so'
24985 @@ -14873,7 +16145,7 @@ knetbsd*-gnu)
24986 shlibpath_var=LD_LIBRARY_PATH
24987 shlibpath_overrides_runpath=no
24988 hardcode_into_libs=yes
24989 - dynamic_linker='GNU ld.so'
24990 + dynamic_linker='NetBSD ld.elf_so'
24994 @@ -14913,8 +16185,13 @@ nto-qnx*)
24998 + sys_lib_dlsearch_path_spec="/usr/lib"
25001 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
25003 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
25004 + *) need_version=no ;;
25006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25007 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25008 shlibpath_var=LD_LIBRARY_PATH
25009 @@ -14952,11 +16229,8 @@ osf3* | osf4* | osf5*)
25010 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
25015 - soname_spec='${libname}${release}${shared_ext}$major'
25016 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25017 - shlibpath_var=LD_LIBRARY_PATH
25019 + dynamic_linker=no
25023 @@ -14984,7 +16258,7 @@ sunos4*)
25027 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
25030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25031 soname_spec='${libname}${release}${shared_ext}$major'
25032 @@ -15017,6 +16291,29 @@ sysv4*MP*)
25036 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
25037 + version_type=freebsd-elf
25038 + need_lib_prefix=no
25040 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25041 + soname_spec='${libname}${release}${shared_ext}$major'
25042 + shlibpath_var=LD_LIBRARY_PATH
25043 + hardcode_into_libs=yes
25044 + if test "$with_gnu_ld" = yes; then
25045 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
25046 + shlibpath_overrides_runpath=no
25048 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
25049 + shlibpath_overrides_runpath=yes
25052 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
25056 + sys_lib_dlsearch_path_spec='/usr/lib'
25061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25062 @@ -15028,16 +16325,36 @@ uts4*)
25066 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
25067 -echo "${ECHO_T}$dynamic_linker" >&6
25068 +{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
25069 +$as_echo "$dynamic_linker" >&6; }
25070 test "$dynamic_linker" = no && can_build_shared=no
25072 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
25073 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
25074 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
25075 + $as_echo_n "(cached) " >&6
25077 + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
25080 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
25081 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
25082 + $as_echo_n "(cached) " >&6
25084 + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
25087 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
25089 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
25090 +if test "$GCC" = yes; then
25091 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
25094 +{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
25095 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
25096 hardcode_action_F77=
25097 if test -n "$hardcode_libdir_flag_spec_F77" || \
25098 - test -n "$runpath_var F77" || \
25099 - test "X$hardcode_automatic_F77"="Xyes" ; then
25100 + test -n "$runpath_var_F77" || \
25101 + test "X$hardcode_automatic_F77" = "Xyes" ; then
25103 # We can hardcode non-existant directories.
25104 if test "$hardcode_direct_F77" != no &&
25105 @@ -15057,8 +16374,8 @@ else
25107 hardcode_action_F77=unsupported
25109 -echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
25110 -echo "${ECHO_T}$hardcode_action_F77" >&6
25111 +{ $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
25112 +$as_echo "$hardcode_action_F77" >&6; }
25114 if test "$hardcode_action_F77" = relink; then
25115 # Fast installation is not supported
25116 @@ -15069,36 +16386,6 @@ elif test "$shlibpath_overrides_runpath" = yes ||
25117 enable_fast_install=needless
25122 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
25123 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
25124 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
25125 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
25126 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
25127 - echo "$as_me:$LINENO: result: yes" >&5
25128 -echo "${ECHO_T}yes" >&6
25130 -# FIXME - insert some real tests, host_os isn't really good enough
25133 - if test -n "$STRIP" ; then
25134 - striplib="$STRIP -x"
25135 - echo "$as_me:$LINENO: result: yes" >&5
25136 -echo "${ECHO_T}yes" >&6
25138 - echo "$as_me:$LINENO: result: no" >&5
25139 -echo "${ECHO_T}no" >&6
25143 - echo "$as_me:$LINENO: result: no" >&5
25144 -echo "${ECHO_T}no" >&6
25151 # The else clause should only fire when bootstrapping the
25152 # libtool distribution, otherwise you forgot to ship ltmain.sh
25153 @@ -15113,7 +16400,7 @@ if test -f "$ltmain"; then
25154 # Now quote all the things that may contain metacharacters while being
25155 # careful not to overquote the AC_SUBSTed values. We take copies of the
25156 # variables and quote the copies for generation of the libtool script.
25157 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
25158 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
25160 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25161 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25162 @@ -15140,6 +16427,7 @@ if test -f "$ltmain"; then
25165 compiler_lib_search_path_F77 \
25166 + compiler_lib_search_dirs_F77 \
25168 archive_expsym_cmds_F77 \
25169 postinstall_cmds_F77 \
25170 @@ -15155,6 +16443,7 @@ if test -f "$ltmain"; then
25172 module_expsym_cmds_F77 \
25173 lt_cv_prog_compiler_c_o_F77 \
25174 + fix_srcfile_path_F77 \
25175 exclude_expsyms_F77 \
25176 include_expsyms_F77; do
25178 @@ -15214,6 +16503,12 @@ fast_install=$enable_fast_install
25180 host_alias=$host_alias
25184 +# The build system.
25185 +build_alias=$build_alias
25187 +build_os=$build_os
25189 # An echo program that does not interpret backslashes.
25191 @@ -15225,6 +16520,9 @@ AR_FLAGS=$lt_AR_FLAGS
25195 +# LTCC compiler flags.
25196 +LTCFLAGS=$lt_LTCFLAGS
25198 # A language-specific compiler.
25199 CC=$lt_compiler_F77
25201 @@ -15290,7 +16588,7 @@ max_cmd_len=$lt_cv_sys_max_cmd_len
25202 # Does compiler simultaneously support -c and -o options?
25203 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
25205 -# Must we lock files when doing compilation ?
25206 +# Must we lock files when doing compilation?
25207 need_locks=$lt_need_locks
25209 # Do we need the lib prefix for modules?
25210 @@ -15378,6 +16676,10 @@ predeps=$lt_predeps_F77
25212 postdeps=$lt_postdeps_F77
25214 +# The directories searched by this compiler when creating a shared
25216 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
25218 # The library search path used internally by the compiler when linking
25219 # a shared library.
25220 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
25221 @@ -15466,7 +16768,7 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25222 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25224 # Fix the shell variable \$srcfile for the compiler.
25225 -fix_srcfile_path="$fix_srcfile_path_F77"
25226 +fix_srcfile_path=$lt_fix_srcfile_path
25228 # Set to yes if exported symbols are required.
25229 always_export_symbols=$always_export_symbols_F77
25230 @@ -15516,7 +16818,6 @@ CC="$lt_save_CC"
25231 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
25235 # Source file extension for Java test sources.
25238 @@ -15525,29 +16826,58 @@ objext=o
25241 # Code to be used in simple compile tests
25242 -lt_simple_compile_test_code="class foo {}\n"
25243 +lt_simple_compile_test_code="class foo {}"
25245 # Code to be used in simple link tests
25246 -lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
25247 +lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
25249 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
25251 # If no C compiler was specified, use CC.
25254 +# If no C compiler flags were specified, use CFLAGS.
25255 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
25257 # Allow CC to be a program name with arguments.
25261 +# save warnings/boilerplate of simple test code
25262 +ac_outfile=conftest.$ac_objext
25263 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
25264 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
25265 +_lt_compiler_boilerplate=`cat conftest.err`
25268 +ac_outfile=conftest.$ac_objext
25269 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
25270 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
25271 +_lt_linker_boilerplate=`cat conftest.err`
25275 # Allow CC to be a program name with arguments.
25280 +for cc_temp in $compiler""; do
25282 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
25283 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
25288 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
25291 # GCJ did not exist at the time GCC didn't implicitly link libc in.
25292 archive_cmds_need_lc_GCJ=no
25294 +old_archive_cmds_GCJ=$old_archive_cmds
25297 lt_prog_compiler_no_builtin_flag_GCJ=
25299 @@ -15555,14 +16885,14 @@ if test "$GCC" = yes; then
25300 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
25303 -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
25304 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
25305 +{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
25306 +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
25307 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
25308 - echo $ECHO_N "(cached) $ECHO_C" >&6
25309 + $as_echo_n "(cached) " >&6
25311 lt_cv_prog_compiler_rtti_exceptions=no
25312 ac_outfile=conftest.$ac_objext
25313 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
25314 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25315 lt_compiler_flag="-fno-rtti -fno-exceptions"
25316 # Insert the option either (1) after the last *FLAGS variable, or
25317 # (2) before a word containing "conftest.", or (3) at the end.
25318 @@ -15570,26 +16900,28 @@ else
25319 # with a dollar sign (not a hyphen), so the echo should work correctly.
25320 # The option is referenced via a variable to avoid confusing sed.
25321 lt_compile=`echo "$ac_compile" | $SED \
25322 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
25323 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
25324 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25325 -e 's:$: $lt_compiler_flag:'`
25326 - (eval echo "\"\$as_me:15576: $lt_compile\"" >&5)
25327 + (eval echo "\"\$as_me:16906: $lt_compile\"" >&5)
25328 (eval "$lt_compile" 2>conftest.err)
25330 cat conftest.err >&5
25331 - echo "$as_me:15580: \$? = $ac_status" >&5
25332 + echo "$as_me:16910: \$? = $ac_status" >&5
25333 if (exit $ac_status) && test -s "$ac_outfile"; then
25334 # The compiler can only warn and ignore the option if not recognized
25335 - # So say no if there are warnings
25336 - if test ! -s conftest.err; then
25337 + # So say no if there are warnings other than the usual output.
25338 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
25339 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
25340 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
25341 lt_cv_prog_compiler_rtti_exceptions=yes
25347 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
25348 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
25349 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
25350 +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
25352 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
25353 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
25354 @@ -15603,8 +16935,8 @@ lt_prog_compiler_wl_GCJ=
25355 lt_prog_compiler_pic_GCJ=
25356 lt_prog_compiler_static_GCJ=
25358 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
25359 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25360 +{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
25361 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
25363 if test "$GCC" = yes; then
25364 lt_prog_compiler_wl_GCJ='-Wl,'
25365 @@ -15626,14 +16958,16 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25366 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
25369 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
25370 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
25371 # PIC is the default for these OSes.
25374 - mingw* | pw32* | os2*)
25375 + mingw* | cygwin* | pw32* | os2*)
25376 # This hack is so that the source file can tell whether it is being
25377 # built for inclusion in a dll (and should export symbols for example).
25378 - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
25379 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
25380 + # (--disable-auto-import) libraries
25384 darwin* | rhapsody*)
25385 @@ -15642,6 +16976,11 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25386 lt_prog_compiler_pic_GCJ='-fno-common'
25390 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
25391 + # Instead, we relocate shared libraries at runtime.
25395 # Just because we use GCC doesn't mean we suddenly get shared libraries
25396 # on systems that don't support them.
25397 @@ -15658,7 +16997,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25399 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
25400 # not for PA HP-UX.
25401 - case "$host_cpu" in
25402 + case $host_cpu in
25406 @@ -15684,18 +17023,28 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25407 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
25411 + # PIC is the default on this platform
25412 + # Common symbols not allowed in MH_DYLIB files
25413 + case $cc_basename in
25415 + lt_prog_compiler_pic_GCJ='-qnocommon'
25416 + lt_prog_compiler_wl_GCJ='-Wl,'
25421 - mingw* | pw32* | os2*)
25422 + mingw* | cygwin* | pw32* | os2*)
25423 # This hack is so that the source file can tell whether it is being
25424 # built for inclusion in a dll (and should export symbols for example).
25425 - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
25429 hpux9* | hpux10* | hpux11*)
25430 lt_prog_compiler_wl_GCJ='-Wl,'
25431 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
25432 # not for PA HP-UX.
25433 - case "$host_cpu" in
25434 + case $host_cpu in
25438 @@ -15718,18 +17067,41 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25439 lt_prog_compiler_static_GCJ='-Bstatic'
25444 + linux* | k*bsd*-gnu)
25445 + case $cc_basename in
25447 lt_prog_compiler_wl_GCJ='-Wl,'
25448 lt_prog_compiler_pic_GCJ='-KPIC'
25449 lt_prog_compiler_static_GCJ='-static'
25451 + pgcc* | pgf77* | pgf90* | pgf95*)
25452 + # Portland Group compilers (*not* the Pentium gcc compiler,
25453 + # which looks to be a dead project)
25454 + lt_prog_compiler_wl_GCJ='-Wl,'
25455 + lt_prog_compiler_pic_GCJ='-fpic'
25456 + lt_prog_compiler_static_GCJ='-Bstatic'
25459 lt_prog_compiler_wl_GCJ='-Wl,'
25460 # All Alpha code is PIC.
25461 lt_prog_compiler_static_GCJ='-non_shared'
25464 + case `$CC -V 2>&1 | sed 5q` in
25467 + lt_prog_compiler_pic_GCJ='-KPIC'
25468 + lt_prog_compiler_static_GCJ='-Bstatic'
25469 + lt_prog_compiler_wl_GCJ='-Wl,'
25472 + # Sun Fortran 8.3 passes all unrecognized flags to the linker
25473 + lt_prog_compiler_pic_GCJ='-KPIC'
25474 + lt_prog_compiler_static_GCJ='-Bstatic'
25475 + lt_prog_compiler_wl_GCJ=''
25482 @@ -15739,15 +17111,19 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25483 lt_prog_compiler_static_GCJ='-non_shared'
25487 - lt_prog_compiler_pic_GCJ='-Kpic'
25488 - lt_prog_compiler_static_GCJ='-dn'
25490 + lt_prog_compiler_static_GCJ='-non_shared'
25494 - lt_prog_compiler_wl_GCJ='-Wl,'
25495 lt_prog_compiler_pic_GCJ='-KPIC'
25496 lt_prog_compiler_static_GCJ='-Bstatic'
25497 + case $cc_basename in
25498 + f77* | f90* | f95*)
25499 + lt_prog_compiler_wl_GCJ='-Qoption ld ';;
25501 + lt_prog_compiler_wl_GCJ='-Wl,';;
25506 @@ -15756,7 +17132,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25507 lt_prog_compiler_static_GCJ='-Bstatic'
25510 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
25511 + sysv4 | sysv4.2uw2* | sysv4.3*)
25512 lt_prog_compiler_wl_GCJ='-Wl,'
25513 lt_prog_compiler_pic_GCJ='-KPIC'
25514 lt_prog_compiler_static_GCJ='-Bstatic'
25515 @@ -15769,6 +17145,17 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25519 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
25520 + lt_prog_compiler_wl_GCJ='-Wl,'
25521 + lt_prog_compiler_pic_GCJ='-KPIC'
25522 + lt_prog_compiler_static_GCJ='-Bstatic'
25526 + lt_prog_compiler_wl_GCJ='-Wl,'
25527 + lt_prog_compiler_can_build_shared_GCJ=no
25531 lt_prog_compiler_pic_GCJ='-pic'
25532 lt_prog_compiler_static_GCJ='-Bstatic'
25533 @@ -15780,22 +17167,22 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
25537 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
25538 -echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
25539 +{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
25540 +$as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
25543 # Check to make sure the PIC flag actually works.
25545 if test -n "$lt_prog_compiler_pic_GCJ"; then
25547 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
25548 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
25549 -if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
25550 - echo $ECHO_N "(cached) $ECHO_C" >&6
25551 +{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
25552 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
25553 +if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
25554 + $as_echo_n "(cached) " >&6
25556 - lt_prog_compiler_pic_works_GCJ=no
25557 + lt_cv_prog_compiler_pic_works_GCJ=no
25558 ac_outfile=conftest.$ac_objext
25559 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
25560 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25561 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
25562 # Insert the option either (1) after the last *FLAGS variable, or
25563 # (2) before a word containing "conftest.", or (3) at the end.
25564 @@ -15803,28 +17190,30 @@ else
25565 # with a dollar sign (not a hyphen), so the echo should work correctly.
25566 # The option is referenced via a variable to avoid confusing sed.
25567 lt_compile=`echo "$ac_compile" | $SED \
25568 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
25569 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
25570 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25571 -e 's:$: $lt_compiler_flag:'`
25572 - (eval echo "\"\$as_me:15809: $lt_compile\"" >&5)
25573 + (eval echo "\"\$as_me:17196: $lt_compile\"" >&5)
25574 (eval "$lt_compile" 2>conftest.err)
25576 cat conftest.err >&5
25577 - echo "$as_me:15813: \$? = $ac_status" >&5
25578 + echo "$as_me:17200: \$? = $ac_status" >&5
25579 if (exit $ac_status) && test -s "$ac_outfile"; then
25580 # The compiler can only warn and ignore the option if not recognized
25581 - # So say no if there are warnings
25582 - if test ! -s conftest.err; then
25583 - lt_prog_compiler_pic_works_GCJ=yes
25584 + # So say no if there are warnings other than the usual output.
25585 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
25586 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
25587 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
25588 + lt_cv_prog_compiler_pic_works_GCJ=yes
25594 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
25595 -echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
25596 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
25597 +$as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
25599 -if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
25600 +if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
25601 case $lt_prog_compiler_pic_GCJ in
25603 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
25604 @@ -15835,7 +17224,7 @@ else
25608 -case "$host_os" in
25610 # For platforms which do not support PIC, -DPIC is meaningless:
25612 lt_prog_compiler_pic_GCJ=
25613 @@ -15845,17 +17234,59 @@ case "$host_os" in
25617 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
25618 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
25620 +# Check to make sure the static flag actually works.
25622 +wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
25623 +{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
25624 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
25625 +if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
25626 + $as_echo_n "(cached) " >&6
25628 + lt_cv_prog_compiler_static_works_GCJ=no
25629 + save_LDFLAGS="$LDFLAGS"
25630 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
25631 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
25632 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
25633 + # The linker can only warn and ignore the option if not recognized
25634 + # So say no if there are warnings
25635 + if test -s conftest.err; then
25636 + # Append any errors to the config.log.
25637 + cat conftest.err 1>&5
25638 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
25639 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
25640 + if diff conftest.exp conftest.er2 >/dev/null; then
25641 + lt_cv_prog_compiler_static_works_GCJ=yes
25644 + lt_cv_prog_compiler_static_works_GCJ=yes
25648 + LDFLAGS="$save_LDFLAGS"
25651 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
25652 +$as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
25654 +if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
25657 + lt_prog_compiler_static_GCJ=
25661 +{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
25662 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
25663 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
25664 - echo $ECHO_N "(cached) $ECHO_C" >&6
25665 + $as_echo_n "(cached) " >&6
25667 lt_cv_prog_compiler_c_o_GCJ=no
25668 $rm -r conftest 2>/dev/null
25672 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
25673 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25675 lt_compiler_flag="-o out/conftest2.$ac_objext"
25676 # Insert the option either (1) after the last *FLAGS variable, or
25677 @@ -15863,23 +17294,25 @@ else
25678 # Note that $ac_compile itself does not contain backslashes and begins
25679 # with a dollar sign (not a hyphen), so the echo should work correctly.
25680 lt_compile=`echo "$ac_compile" | $SED \
25681 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
25682 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
25683 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25684 -e 's:$: $lt_compiler_flag:'`
25685 - (eval echo "\"\$as_me:15869: $lt_compile\"" >&5)
25686 + (eval echo "\"\$as_me:17300: $lt_compile\"" >&5)
25687 (eval "$lt_compile" 2>out/conftest.err)
25689 cat out/conftest.err >&5
25690 - echo "$as_me:15873: \$? = $ac_status" >&5
25691 + echo "$as_me:17304: \$? = $ac_status" >&5
25692 if (exit $ac_status) && test -s out/conftest2.$ac_objext
25694 # The compiler can only warn and ignore the option if not recognized
25695 # So say no if there are warnings
25696 - if test ! -s out/conftest.err; then
25697 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
25698 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
25699 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
25700 lt_cv_prog_compiler_c_o_GCJ=yes
25706 # SGI C++ compiler will create directory out/ii_files/ for
25707 # template instantiation
25708 @@ -15890,34 +17323,34 @@ else
25712 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
25713 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
25714 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
25715 +$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
25718 hard_links="nottested"
25719 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
25720 # do not overwrite the value of need_locks provided by the user
25721 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
25722 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
25723 + { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
25724 +$as_echo_n "checking if we can lock with hard links... " >&6; }
25727 ln conftest.a conftest.b 2>/dev/null && hard_links=no
25729 ln conftest.a conftest.b 2>&5 || hard_links=no
25730 ln conftest.a conftest.b 2>/dev/null && hard_links=no
25731 - echo "$as_me:$LINENO: result: $hard_links" >&5
25732 -echo "${ECHO_T}$hard_links" >&6
25733 + { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
25734 +$as_echo "$hard_links" >&6; }
25735 if test "$hard_links" = no; then
25736 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
25737 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
25738 + { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
25739 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
25746 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
25747 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
25748 +{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
25749 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
25752 allow_undefined_flag_GCJ=
25753 @@ -15948,13 +17381,24 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
25754 # it will be wrapped by ` (' and `)$', so one must not match beginning or
25755 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
25756 # as well as any symbol that contains `d'.
25757 - exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
25758 + exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
25759 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
25760 # platforms (ab)use it in PIC code, but their linkers get confused if
25761 # the symbol is explicitly referenced. Since portable code cannot
25762 # rely on this symbol name, it's probably fine to never include it in
25763 # preloaded symbol tables.
25764 + # Exclude shared library initialization/finalization symbols.
25765 extract_expsyms_cmds=
25766 + # Just being paranoid about ensuring that cc_basename is set.
25767 + for cc_temp in $compiler""; do
25769 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
25770 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
25775 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
25778 cygwin* | mingw* | pw32*)
25779 @@ -15965,6 +17409,10 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
25784 + # we just hope/assume this is gcc and not c89 (= MSVC++)
25790 @@ -15975,9 +17423,30 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
25791 # If archive_cmds runs LD, not CC, wlarc should be empty
25794 + # Set some defaults for GNU ld with shared library support. These
25795 + # are reset later if shared libraries are not supported. Putting them
25796 + # here allows them to be overridden if necessary.
25797 + runpath_var=LD_RUN_PATH
25798 + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
25799 + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
25800 + # ancient GNU ld didn't support --whole-archive et. al.
25801 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
25802 + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
25804 + whole_archive_flag_spec_GCJ=
25806 + supports_anon_versioning=no
25807 + case `$LD -v 2>/dev/null` in
25808 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
25809 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
25810 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
25811 + *\ 2.11.*) ;; # other 2.11 versions
25812 + *) supports_anon_versioning=yes ;;
25815 # See if GNU ld supports shared libraries.
25817 - aix3* | aix4* | aix5*)
25819 # On AIX/PPC, the GNU linker is very broken
25820 if test "$host_cpu" != ia64; then
25822 @@ -16025,10 +17494,10 @@ EOF
25823 allow_undefined_flag_GCJ=unsupported
25824 always_export_symbols_GCJ=no
25825 enable_shared_with_static_runtimes_GCJ=yes
25826 - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
25827 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
25829 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
25830 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
25831 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
25832 # If the export-symbols file already is a .def file (1st line
25833 # is EXPORTS), use it as is; otherwise, prepend...
25834 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
25835 @@ -16037,13 +17506,69 @@ EOF
25836 echo EXPORTS > $output_objdir/$soname.def;
25837 cat $export_symbols >> $output_objdir/$soname.def;
25839 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
25840 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
25848 + hardcode_direct_GCJ=no
25849 + hardcode_shlibpath_var_GCJ=no
25850 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
25851 + export_dynamic_flag_spec_GCJ='${wl}-E'
25852 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
25853 + # Instead, shared libraries are loaded at an image base (0x10000000 by
25854 + # default) and relocated if they conflict, which is a slow very memory
25855 + # consuming and fragmenting process. To avoid this, we pick a random,
25856 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
25857 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
25858 + 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'
25859 + 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'
25862 + gnu* | linux* | k*bsd*-gnu)
25863 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
25865 + case $cc_basename,$host_cpu in
25866 + pgcc*) # Portland Group C compiler
25867 + 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'
25868 + tmp_addflag=' $pic_flag'
25870 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
25871 + 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'
25872 + tmp_addflag=' $pic_flag -Mnomain' ;;
25873 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
25874 + tmp_addflag=' -i_dynamic' ;;
25875 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
25876 + tmp_addflag=' -i_dynamic -nofor_main' ;;
25877 + ifc* | ifort*) # Intel Fortran compiler
25878 + tmp_addflag=' -nofor_main' ;;
25880 + case `$CC -V 2>&1 | sed 5q` in
25881 + *Sun\ C*) # Sun C 5.9
25882 + 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'
25883 + tmp_sharedflag='-G' ;;
25884 + *Sun\ F*) # Sun Fortran 8.3
25885 + tmp_sharedflag='-G' ;;
25887 + tmp_sharedflag='-shared' ;;
25889 + archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25891 + if test $supports_anon_versioning = yes; then
25892 + archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
25893 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
25894 + $echo "local: *; };" >> $output_objdir/$libname.ver~
25895 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
25897 + link_all_deplibs_GCJ=no
25904 + netbsd* | netbsdelf*-gnu)
25905 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
25906 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
25908 @@ -16053,7 +17578,7 @@ EOF
25912 - solaris* | sysv5*)
25914 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
25917 @@ -16074,6 +17599,33 @@ EOF
25921 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
25922 + case `$LD -v 2>&1` in
25923 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
25925 + cat <<_LT_EOF 1>&2
25927 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
25928 +*** reliably create shared libraries on SCO systems. Therefore, libtool
25929 +*** is disabling shared libraries support. We urge you to upgrade GNU
25930 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
25931 +*** your PATH or compiler configuration so that the native linker is
25932 +*** used, and then restart.
25937 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
25938 + hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
25939 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
25940 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
25949 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25951 @@ -16081,31 +17633,6 @@ EOF
25952 hardcode_shlibpath_var_GCJ=no
25956 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
25957 - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25958 - archive_cmds_GCJ="$tmp_archive_cmds"
25959 - supports_anon_versioning=no
25960 - case `$LD -v 2>/dev/null` in
25961 - *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
25962 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
25963 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
25964 - *\ 2.11.*) ;; # other 2.11 versions
25965 - *) supports_anon_versioning=yes ;;
25967 - if test $supports_anon_versioning = yes; then
25968 - archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
25969 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
25970 -$echo "local: *; };" >> $output_objdir/$libname.ver~
25971 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
25973 - archive_expsym_cmds_GCJ="$tmp_archive_cmds"
25981 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
25982 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25983 @@ -16116,16 +17643,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
25987 - if test "$ld_shlibs_GCJ" = yes; then
25988 - runpath_var=LD_RUN_PATH
25989 - hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
25990 - export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
25991 - # ancient GNU ld didn't support --whole-archive et. al.
25992 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
25993 - whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
25995 - whole_archive_flag_spec_GCJ=
25997 + if test "$ld_shlibs_GCJ" = no; then
25999 + hardcode_libdir_flag_spec_GCJ=
26000 + export_dynamic_flag_spec_GCJ=
26001 + whole_archive_flag_spec_GCJ=
26004 # PORTME fill in a description of your system's linker (not GNU ld)
26005 @@ -16137,14 +17659,14 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
26006 # Note: this linker hardcodes the directories in LIBPATH if there
26007 # are no directories specified by -L.
26008 hardcode_minus_L_GCJ=yes
26009 - if test "$GCC" = yes && test -z "$link_static_flag"; then
26010 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
26011 # Neither direct hardcoding nor static linking is supported with a
26013 hardcode_direct_GCJ=unsupported
26019 if test "$host_cpu" = ia64; then
26020 # On IA64, the linker does run time linking by default, so we don't
26021 # have to do anything special.
26022 @@ -16164,13 +17686,14 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
26023 # Test if we are trying to use run time linking or normal
26024 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
26025 # need to do runtime linking.
26026 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
26027 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
26028 for ld_flag in $LDFLAGS; do
26029 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
26030 aix_use_runtimelinking=yes
26037 exp_sym_flag='-bexport'
26038 @@ -16189,7 +17712,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
26039 link_all_deplibs_GCJ=yes
26041 if test "$GCC" = yes; then
26042 - case $host_os in aix4.012|aix4.012.*)
26043 + case $host_os in aix4.[012]|aix4.[012].*)
26044 # We only want to do this on AIX 4.2 and lower, the check
26045 # below for broken collect2 doesn't work under 4.3+
26046 collect2name=`${CC} -print-prog-name=collect2`
26047 @@ -16197,7 +17720,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
26048 strings "$collect2name" | grep resolve_lib_name >/dev/null
26050 # We have reworked collect2
26051 - hardcode_direct_GCJ=yes
26054 # We have old collect2
26055 hardcode_direct_GCJ=unsupported
26056 @@ -16208,8 +17731,12 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
26057 hardcode_libdir_flag_spec_GCJ='-L$libdir'
26058 hardcode_libdir_separator_GCJ=
26062 shared_flag='-shared'
26063 + if test "$aix_use_runtimelinking" = yes; then
26064 + shared_flag="$shared_flag "'${wl}-G'
26068 if test "$host_cpu" = ia64; then
26069 @@ -16217,11 +17744,11 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~
26070 # chokes on -Wl,-G. The following line is correct:
26073 - if test "$aix_use_runtimelinking" = yes; then
26074 + if test "$aix_use_runtimelinking" = yes; then
26075 shared_flag='${wl}-G'
26077 shared_flag='${wl}-bM:SRE'
26083 @@ -16249,49 +17776,58 @@ main ()
26086 rm -f conftest.$ac_objext conftest$ac_exeext
26087 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26088 - (eval $ac_link) 2>conftest.er1
26089 +if { (ac_try="$ac_link"
26090 +case "(($ac_try" in
26091 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26092 + *) ac_try_echo=$ac_try;;
26094 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26095 +$as_echo "$ac_try_echo") >&5
26096 + (eval "$ac_link") 2>conftest.er1
26098 grep -v '^ *+' conftest.er1 >conftest.err
26100 cat conftest.err >&5
26101 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102 - (exit $ac_status); } &&
26103 - { ac_try='test -z "$ac_c_werror_flag"
26104 - || test ! -s conftest.err'
26105 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26106 - (eval $ac_try) 2>&5
26108 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109 - (exit $ac_status); }; } &&
26110 - { ac_try='test -s conftest$ac_exeext'
26111 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26112 - (eval $ac_try) 2>&5
26114 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26115 - (exit $ac_status); }; }; then
26117 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
26119 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26120 + (exit $ac_status); } && {
26121 + test -z "$ac_c_werror_flag" ||
26122 + test ! -s conftest.err
26123 + } && test -s conftest$ac_exeext && {
26124 + test "$cross_compiling" = yes ||
26125 + $as_test_x conftest$ac_exeext
26128 +lt_aix_libpath_sed='
26129 + /Import File Strings/,/^$/ {
26131 + s/^0 *\(.*\)$/\1/
26135 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
26136 # Check for a 64-bit object if we didn't find anything.
26137 -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; }
26139 +if test -z "$aix_libpath"; then
26140 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
26143 - echo "$as_me: failed program was:" >&5
26144 + $as_echo "$as_me: failed program was:" >&5
26145 sed 's/^/| /' conftest.$ac_ext >&5
26149 -rm -f conftest.err conftest.$ac_objext \
26151 +rm -rf conftest.dSYM
26152 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26153 conftest$ac_exeext conftest.$ac_ext
26154 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26156 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
26157 - 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"
26158 + 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"
26160 if test "$host_cpu" = ia64; then
26161 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
26162 allow_undefined_flag_GCJ="-z nodefs"
26163 - 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"
26164 + 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"
26166 # Determine the default libpath from the value encoded in an empty executable.
26167 cat >conftest.$ac_ext <<_ACEOF
26168 @@ -16310,39 +17846,48 @@ main ()
26171 rm -f conftest.$ac_objext conftest$ac_exeext
26172 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26173 - (eval $ac_link) 2>conftest.er1
26174 +if { (ac_try="$ac_link"
26175 +case "(($ac_try" in
26176 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26177 + *) ac_try_echo=$ac_try;;
26179 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26180 +$as_echo "$ac_try_echo") >&5
26181 + (eval "$ac_link") 2>conftest.er1
26183 grep -v '^ *+' conftest.er1 >conftest.err
26185 cat conftest.err >&5
26186 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26187 - (exit $ac_status); } &&
26188 - { ac_try='test -z "$ac_c_werror_flag"
26189 - || test ! -s conftest.err'
26190 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26191 - (eval $ac_try) 2>&5
26193 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26194 - (exit $ac_status); }; } &&
26195 - { ac_try='test -s conftest$ac_exeext'
26196 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26197 - (eval $ac_try) 2>&5
26199 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26200 - (exit $ac_status); }; }; then
26202 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
26204 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26205 + (exit $ac_status); } && {
26206 + test -z "$ac_c_werror_flag" ||
26207 + test ! -s conftest.err
26208 + } && test -s conftest$ac_exeext && {
26209 + test "$cross_compiling" = yes ||
26210 + $as_test_x conftest$ac_exeext
26213 +lt_aix_libpath_sed='
26214 + /Import File Strings/,/^$/ {
26216 + s/^0 *\(.*\)$/\1/
26220 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
26221 # Check for a 64-bit object if we didn't find anything.
26222 -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; }
26224 +if test -z "$aix_libpath"; then
26225 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
26228 - echo "$as_me: failed program was:" >&5
26229 + $as_echo "$as_me: failed program was:" >&5
26230 sed 's/^/| /' conftest.$ac_ext >&5
26234 -rm -f conftest.err conftest.$ac_objext \
26236 +rm -rf conftest.dSYM
26237 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26238 conftest$ac_exeext conftest.$ac_ext
26239 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26241 @@ -16351,13 +17896,11 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26242 # -berok will link without error, but may produce a broken library.
26243 no_undefined_flag_GCJ=' ${wl}-bernotok'
26244 allow_undefined_flag_GCJ=' ${wl}-berok'
26245 - # -bexpall does not export symbols beginning with underscore (_)
26246 - always_export_symbols_GCJ=yes
26247 # Exported symbols can be pulled into shared objects from archives
26248 - whole_archive_flag_spec_GCJ=' '
26249 + whole_archive_flag_spec_GCJ='$convenience'
26250 archive_cmds_need_lc_GCJ=yes
26251 - # This is similar to how AIX traditionally builds it's shared libraries.
26252 - 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'
26253 + # This is similar to how AIX traditionally builds its shared libraries.
26254 + 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'
26258 @@ -16370,7 +17913,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26264 export_dynamic_flag_spec_GCJ=-rdynamic
26267 @@ -16390,58 +17933,57 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26268 # The linker will automatically build a .lib file if we build a DLL.
26269 old_archive_From_new_cmds_GCJ='true'
26270 # FIXME: Should let the user specify the lib program.
26271 - old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
26272 - fix_srcfile_path='`cygpath -w "$srcfile"`'
26273 + old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
26274 + fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
26275 enable_shared_with_static_runtimes_GCJ=yes
26278 darwin* | rhapsody*)
26279 - if test "$GXX" = yes ; then
26280 - archive_cmds_need_lc_GCJ=no
26281 - case "$host_os" in
26282 - rhapsody* | darwin1.[012])
26283 - allow_undefined_flag_GCJ='-undefined suppress'
26285 - *) # Darwin 1.3 on
26286 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
26287 - allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
26289 - case ${MACOSX_DEPLOYMENT_TARGET} in
26291 - allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
26294 - allow_undefined_flag_GCJ='-undefined dynamic_lookup'
26300 + rhapsody* | darwin1.[012])
26301 + allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
26303 + *) # Darwin 1.3 on
26304 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
26305 + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
26307 + case ${MACOSX_DEPLOYMENT_TARGET} in
26309 + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
26312 + allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
26318 - lt_int_apple_cc_single_mod=no
26319 - output_verbose_link_cmd='echo'
26320 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
26321 - lt_int_apple_cc_single_mod=yes
26323 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
26324 - archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
26326 - 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'
26328 - module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
26329 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
26330 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
26331 - 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}'
26333 - 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}'
26335 - 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}'
26336 + archive_cmds_need_lc_GCJ=no
26337 hardcode_direct_GCJ=no
26338 hardcode_automatic_GCJ=yes
26339 hardcode_shlibpath_var_GCJ=unsupported
26340 - whole_archive_flag_spec_GCJ='-all_load $convenience'
26341 + whole_archive_flag_spec_GCJ=''
26342 link_all_deplibs_GCJ=yes
26343 + if test "$GCC" = yes ; then
26344 + output_verbose_link_cmd='echo'
26345 + 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}"
26346 + module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
26347 + 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}"
26348 + 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}"
26351 + case $cc_basename in
26353 + output_verbose_link_cmd='echo'
26354 + archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
26355 + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
26356 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
26357 + 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}'
26358 + 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}'
26367 @@ -16475,7 +18017,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26370 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
26371 - freebsd* | kfreebsd*-gnu)
26372 + freebsd* | dragonfly*)
26373 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
26374 hardcode_libdir_flag_spec_GCJ='-R$libdir'
26375 hardcode_direct_GCJ=yes
26376 @@ -16498,47 +18040,62 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26377 export_dynamic_flag_spec_GCJ='${wl}-E'
26380 - hpux10* | hpux11*)
26382 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
26383 - case "$host_cpu" in
26385 + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
26387 + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
26389 + if test "$with_gnu_ld" = no; then
26390 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
26391 + hardcode_libdir_separator_GCJ=:
26393 + hardcode_direct_GCJ=yes
26394 + export_dynamic_flag_spec_GCJ='${wl}-E'
26396 + # hardcode_minus_L: Not really in the search PATH,
26397 + # but as the default location of the library.
26398 + hardcode_minus_L_GCJ=yes
26403 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
26404 + case $host_cpu in
26406 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
26409 + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
26412 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
26416 - case "$host_cpu" in
26418 - archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
26419 + case $host_cpu in
26421 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
26424 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
26427 - archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
26428 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
26432 if test "$with_gnu_ld" = no; then
26433 - case "$host_cpu" in
26435 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
26436 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
26437 + hardcode_libdir_separator_GCJ=:
26439 + case $host_cpu in
26441 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
26442 - hardcode_libdir_separator_GCJ=:
26443 - hardcode_direct_GCJ=no
26444 - hardcode_shlibpath_var_GCJ=no
26447 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
26448 hardcode_direct_GCJ=no
26449 hardcode_shlibpath_var_GCJ=no
26451 - # hardcode_minus_L: Not really in the search PATH,
26452 - # but as the default location of the library.
26453 - hardcode_minus_L_GCJ=yes
26456 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
26457 - hardcode_libdir_separator_GCJ=:
26458 hardcode_direct_GCJ=yes
26459 export_dynamic_flag_spec_GCJ='${wl}-E'
26461 @@ -16562,7 +18119,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26462 link_all_deplibs_GCJ=yes
26466 + netbsd* | netbsdelf*-gnu)
26467 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
26468 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
26470 @@ -16582,23 +18139,28 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26474 - hardcode_direct_GCJ=yes
26475 - hardcode_shlibpath_var_GCJ=no
26476 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
26477 - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26478 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
26479 - export_dynamic_flag_spec_GCJ='${wl}-E'
26480 + if test -f /usr/libexec/ld.so; then
26481 + hardcode_direct_GCJ=yes
26482 + hardcode_shlibpath_var_GCJ=no
26483 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
26484 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26485 + archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
26486 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
26487 + export_dynamic_flag_spec_GCJ='${wl}-E'
26490 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
26491 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
26492 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
26495 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26496 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
26502 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
26503 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
26504 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
26507 - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26508 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
26515 @@ -16631,7 +18193,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26516 allow_undefined_flag_GCJ=' -expect_unresolved \*'
26517 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'
26518 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~
26519 - $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'
26520 + $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'
26522 # Both c and cxx compiler support -rpath directly
26523 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
26524 @@ -16639,21 +18201,15 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26525 hardcode_libdir_separator_GCJ=:
26529 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26530 - hardcode_shlibpath_var_GCJ=no
26531 - export_dynamic_flag_spec_GCJ='${wl}-Bexport'
26532 - runpath_var=LD_RUN_PATH
26533 - hardcode_runpath_var=yes
26537 no_undefined_flag_GCJ=' -z text'
26538 if test "$GCC" = yes; then
26540 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
26541 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
26542 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
26545 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
26546 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
26547 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
26548 @@ -16662,8 +18218,17 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26549 hardcode_shlibpath_var_GCJ=no
26551 solaris2.[0-5] | solaris2.[0-5].*) ;;
26552 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
26553 - whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
26555 + # The compiler driver will combine and reorder linker options,
26556 + # but understands `-z linker_flag'. GCC discards it without `$wl',
26557 + # but is careful enough not to reorder.
26558 + # Supported since Solaris 2.6 (maybe 2.5.1?)
26559 + if test "$GCC" = yes; then
26560 + whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
26562 + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
26566 link_all_deplibs_GCJ=yes
26568 @@ -16720,36 +18285,45 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26573 - archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
26574 - hardcode_direct_GCJ=yes
26575 - hardcode_minus_L_GCJ=no
26576 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
26577 + no_undefined_flag_GCJ='${wl}-z,text'
26578 + archive_cmds_need_lc_GCJ=no
26579 hardcode_shlibpath_var_GCJ=no
26580 - hardcode_runpath_var=yes
26581 - runpath_var=LD_RUN_PATH
26583 + runpath_var='LD_RUN_PATH'
26585 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
26586 - no_undefined_flag_GCJ='${wl}-z ${wl}text'
26587 if test "$GCC" = yes; then
26588 - archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
26589 + archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26590 + archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26592 - archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
26593 + archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26594 + archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26596 - runpath_var='LD_RUN_PATH'
26597 - hardcode_shlibpath_var_GCJ=no
26601 - no_undefined_flag_GCJ=' -z text'
26602 - # $CC -shared without GNU ld will not create a library from C++
26603 - # object files and a static libstdc++, better avoid it by now
26604 - archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
26605 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
26606 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
26607 - hardcode_libdir_flag_spec_GCJ=
26608 + sysv5* | sco3.2v5* | sco5v6*)
26609 + # Note: We can NOT use -z defs as we might desire, because we do not
26610 + # link with -lc, and that would cause any symbols used from libc to
26611 + # always be unresolved, which means just about no library would
26612 + # ever link correctly. If we're not using GNU ld we use -z text
26613 + # though, which does catch some bad symbols but isn't as heavy-handed
26615 + no_undefined_flag_GCJ='${wl}-z,text'
26616 + allow_undefined_flag_GCJ='${wl}-z,nodefs'
26617 + archive_cmds_need_lc_GCJ=no
26618 hardcode_shlibpath_var_GCJ=no
26619 + hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
26620 + hardcode_libdir_separator_GCJ=':'
26621 + link_all_deplibs_GCJ=yes
26622 + export_dynamic_flag_spec_GCJ='${wl}-Bexport'
26623 runpath_var='LD_RUN_PATH'
26625 + if test "$GCC" = yes; then
26626 + archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
26627 + archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
26629 + archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
26630 + archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
26635 @@ -16764,15 +18338,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
26639 -echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
26640 -echo "${ECHO_T}$ld_shlibs_GCJ" >&6
26641 +{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
26642 +$as_echo "$ld_shlibs_GCJ" >&6; }
26643 test "$ld_shlibs_GCJ" = no && can_build_shared=no
26645 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
26646 -if test "$GCC" = yes; then
26647 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
26651 # Do we need to explicitly link libc?
26653 @@ -16790,21 +18359,22 @@ x|xyes)
26654 # Test whether the compiler implicitly links with -lc since on some
26655 # systems, -lgcc has to come before -lc. If gcc already passes -lc
26656 # to ld, don't add -lc before -lgcc.
26657 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
26658 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
26659 + { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
26660 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
26662 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
26663 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
26665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26666 (eval $ac_compile) 2>&5
26668 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26669 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26670 (exit $ac_status); } 2>conftest.err; then
26673 libobjs=conftest.$ac_objext
26675 wl=$lt_prog_compiler_wl_GCJ
26676 + pic_flag=$lt_prog_compiler_pic_GCJ
26680 @@ -16815,7 +18385,7 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
26681 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
26682 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
26684 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26685 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26686 (exit $ac_status); }
26688 archive_cmds_need_lc_GCJ=no
26689 @@ -16827,16 +18397,16 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
26690 cat conftest.err 1>&5
26693 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
26694 -echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
26695 + { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
26696 +$as_echo "$archive_cmds_need_lc_GCJ" >&6; }
26703 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
26704 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
26705 +{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
26706 +$as_echo_n "checking dynamic linker characteristics... " >&6; }
26707 library_names_spec=
26708 libname_spec='lib$name'
26710 @@ -16850,20 +18420,7 @@ shlibpath_overrides_runpath=unknown
26712 dynamic_linker="$host_os ld.so"
26713 sys_lib_dlsearch_path_spec="/lib /usr/lib"
26714 -if test "$GCC" = yes; then
26715 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
26716 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
26717 - # if the path contains ";" then we assume it to be the separator
26718 - # otherwise default to the standard path separator (i.e. ":") - it is
26719 - # assumed that no part of a normal pathname contains ";" but that should
26720 - # okay in the real world where ";" in dirpaths is itself problematic.
26721 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
26723 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
26726 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
26729 need_lib_prefix=unknown
26730 hardcode_into_libs=no
26732 @@ -16881,7 +18438,7 @@ aix3*)
26733 soname_spec='${libname}${release}${shared_ext}$major'
26741 @@ -16937,7 +18494,7 @@ beos*)
26742 shlibpath_var=LIBRARY_PATH
26749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26750 @@ -16965,7 +18522,8 @@ cygwin* | mingw* | pw32*)
26751 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
26752 dldir=$destdir/`dirname \$dlpath`~
26753 test -d \$dldir || mkdir -p \$dldir~
26754 - $install_prog $dir/$dlname \$dldir/$dlname'
26755 + $install_prog $dir/$dlname \$dldir/$dlname~
26756 + chmod a+x \$dldir/$dlname'
26757 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
26758 dlpath=$dir/\$dldll~
26760 @@ -16995,7 +18553,7 @@ cygwin* | mingw* | pw32*)
26763 # pw32 DLLs use 'pw' prefix rather than 'lib'
26764 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
26765 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
26769 @@ -17018,13 +18576,8 @@ darwin* | rhapsody*)
26770 soname_spec='${libname}${release}${major}$shared_ext'
26771 shlibpath_overrides_runpath=yes
26772 shlibpath_var=DYLD_LIBRARY_PATH
26773 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
26774 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
26775 - if test "$GCC" = yes; then
26776 - 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"`
26778 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
26780 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
26782 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
26785 @@ -17041,20 +18594,17 @@ freebsd1*)
26790 - version_type=linux
26791 - need_lib_prefix=no
26793 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26794 - soname_spec='${libname}${release}${shared_ext}$major'
26795 - shlibpath_var=LD_LIBRARY_PATH
26796 - shlibpath_overrides_runpath=no
26797 - hardcode_into_libs=yes
26798 - dynamic_linker='GNU ld.so'
26802 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
26803 +freebsd* | dragonfly*)
26804 + # DragonFly does not have aout. When/if they implement a new
26805 + # versioning mechanism, adjust this.
26806 + if test -x /usr/bin/objformat; then
26807 + objformat=`/usr/bin/objformat`
26810 + freebsd[123]*) objformat=aout ;;
26811 + *) objformat=elf ;;
26814 version_type=freebsd-$objformat
26815 case $version_type in
26817 @@ -17072,14 +18622,19 @@ freebsd*)
26819 shlibpath_overrides_runpath=yes
26821 - freebsd3.01* | freebsdelf3.01*)
26822 + freebsd3.[01]* | freebsdelf3.[01]*)
26823 shlibpath_overrides_runpath=yes
26824 hardcode_into_libs=yes
26827 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
26828 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
26829 shlibpath_overrides_runpath=no
26830 hardcode_into_libs=yes
26832 + *) # from 4.6 on, and DragonFly
26833 + shlibpath_overrides_runpath=yes
26834 + hardcode_into_libs=yes
26839 @@ -17099,7 +18654,7 @@ hpux9* | hpux10* | hpux11*)
26843 - case "$host_cpu" in
26844 + case $host_cpu in
26847 hardcode_into_libs=yes
26848 @@ -17139,6 +18694,18 @@ hpux9* | hpux10* | hpux11*)
26849 postinstall_cmds='chmod 555 $lib'
26853 + version_type=linux
26854 + need_lib_prefix=no
26856 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26857 + soname_spec='${libname}${release}${shared_ext}$major'
26858 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
26859 + shlibpath_var=LD_LIBRARY_PATH
26860 + shlibpath_overrides_runpath=no
26861 + hardcode_into_libs=yes
26864 irix5* | irix6* | nonstopux*)
26866 nonstopux*) version_type=nonstopux ;;
26867 @@ -17182,7 +18749,7 @@ linux*oldld* | linux*aout* | linux*coff*)
26870 # This must be Linux ELF.
26872 +linux* | k*bsd*-gnu)
26876 @@ -17196,31 +18763,10 @@ linux*)
26877 # before this can be enabled.
26878 hardcode_into_libs=yes
26880 - # find out which ABI we are using
26882 - case "$host_cpu" in
26883 - x86_64*|s390x*|powerpc64*)
26884 - echo '#line 17203 "configure"' > conftest.$ac_ext
26885 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26886 - (eval $ac_compile) 2>&5
26888 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26889 - (exit $ac_status); }; then
26890 - case `/usr/bin/file conftest.$ac_objext` in
26893 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
26901 # Append ld.so.conf contents to the search path
26902 if test -f /etc/ld.so.conf; then
26903 - lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
26904 - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
26905 + 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' ' '`
26906 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
26909 # We used to test for /lib/ld.so.1 and disable shared libraries on
26910 @@ -17232,7 +18778,7 @@ linux*)
26911 dynamic_linker='GNU/Linux ld.so'
26919 @@ -17241,7 +18787,7 @@ knetbsd*-gnu)
26920 shlibpath_var=LD_LIBRARY_PATH
26921 shlibpath_overrides_runpath=no
26922 hardcode_into_libs=yes
26923 - dynamic_linker='GNU ld.so'
26924 + dynamic_linker='NetBSD ld.elf_so'
26928 @@ -17281,8 +18827,13 @@ nto-qnx*)
26932 + sys_lib_dlsearch_path_spec="/usr/lib"
26935 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
26937 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
26938 + *) need_version=no ;;
26940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26941 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
26942 shlibpath_var=LD_LIBRARY_PATH
26943 @@ -17320,11 +18871,8 @@ osf3* | osf4* | osf5*)
26944 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
26949 - soname_spec='${libname}${release}${shared_ext}$major'
26950 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26951 - shlibpath_var=LD_LIBRARY_PATH
26953 + dynamic_linker=no
26957 @@ -17352,7 +18900,7 @@ sunos4*)
26961 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
26964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26965 soname_spec='${libname}${release}${shared_ext}$major'
26966 @@ -17385,6 +18933,29 @@ sysv4*MP*)
26970 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
26971 + version_type=freebsd-elf
26972 + need_lib_prefix=no
26974 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
26975 + soname_spec='${libname}${release}${shared_ext}$major'
26976 + shlibpath_var=LD_LIBRARY_PATH
26977 + hardcode_into_libs=yes
26978 + if test "$with_gnu_ld" = yes; then
26979 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
26980 + shlibpath_overrides_runpath=no
26982 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
26983 + shlibpath_overrides_runpath=yes
26986 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
26990 + sys_lib_dlsearch_path_spec='/usr/lib'
26995 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26996 @@ -17396,16 +18967,36 @@ uts4*)
27000 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
27001 -echo "${ECHO_T}$dynamic_linker" >&6
27002 +{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
27003 +$as_echo "$dynamic_linker" >&6; }
27004 test "$dynamic_linker" = no && can_build_shared=no
27006 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
27007 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
27008 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
27009 + $as_echo_n "(cached) " >&6
27011 + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
27014 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
27015 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
27016 + $as_echo_n "(cached) " >&6
27018 + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
27021 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
27023 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
27024 +if test "$GCC" = yes; then
27025 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
27028 +{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
27029 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
27030 hardcode_action_GCJ=
27031 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
27032 - test -n "$runpath_var GCJ" || \
27033 - test "X$hardcode_automatic_GCJ"="Xyes" ; then
27034 + test -n "$runpath_var_GCJ" || \
27035 + test "X$hardcode_automatic_GCJ" = "Xyes" ; then
27037 # We can hardcode non-existant directories.
27038 if test "$hardcode_direct_GCJ" != no &&
27039 @@ -17425,8 +19016,8 @@ else
27041 hardcode_action_GCJ=unsupported
27043 -echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
27044 -echo "${ECHO_T}$hardcode_action_GCJ" >&6
27045 +{ $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
27046 +$as_echo "$hardcode_action_GCJ" >&6; }
27048 if test "$hardcode_action_GCJ" = relink; then
27049 # Fast installation is not supported
27050 @@ -17437,841 +19028,6 @@ elif test "$shlibpath_overrides_runpath" = yes ||
27051 enable_fast_install=needless
27056 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
27057 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
27058 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
27059 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
27060 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
27061 - echo "$as_me:$LINENO: result: yes" >&5
27062 -echo "${ECHO_T}yes" >&6
27064 -# FIXME - insert some real tests, host_os isn't really good enough
27067 - if test -n "$STRIP" ; then
27068 - striplib="$STRIP -x"
27069 - echo "$as_me:$LINENO: result: yes" >&5
27070 -echo "${ECHO_T}yes" >&6
27072 - echo "$as_me:$LINENO: result: no" >&5
27073 -echo "${ECHO_T}no" >&6
27077 - echo "$as_me:$LINENO: result: no" >&5
27078 -echo "${ECHO_T}no" >&6
27083 -if test "x$enable_dlopen" != xyes; then
27084 - enable_dlopen=unknown
27085 - enable_dlopen_self=unknown
27086 - enable_dlopen_self_static=unknown
27089 - lt_cv_dlopen_libs=
27093 - lt_cv_dlopen="load_add_on"
27094 - lt_cv_dlopen_libs=
27095 - lt_cv_dlopen_self=yes
27099 - lt_cv_dlopen="LoadLibrary"
27100 - lt_cv_dlopen_libs=
27104 - lt_cv_dlopen="dlopen"
27105 - lt_cv_dlopen_libs=
27109 - # if libdl is installed we need to link against it
27110 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
27111 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
27112 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
27113 - echo $ECHO_N "(cached) $ECHO_C" >&6
27115 - ac_check_lib_save_LIBS=$LIBS
27117 -cat >conftest.$ac_ext <<_ACEOF
27120 -cat confdefs.h >>conftest.$ac_ext
27121 -cat >>conftest.$ac_ext <<_ACEOF
27122 -/* end confdefs.h. */
27124 -/* Override any gcc2 internal prototype to avoid an error. */
27125 -#ifdef __cplusplus
27128 -/* We use char because int might match the return type of a gcc2
27129 - builtin and then its argument prototype would still apply. */
27139 -rm -f conftest.$ac_objext conftest$ac_exeext
27140 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27141 - (eval $ac_link) 2>conftest.er1
27143 - grep -v '^ *+' conftest.er1 >conftest.err
27144 - rm -f conftest.er1
27145 - cat conftest.err >&5
27146 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27147 - (exit $ac_status); } &&
27148 - { ac_try='test -z "$ac_c_werror_flag"
27149 - || test ! -s conftest.err'
27150 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27151 - (eval $ac_try) 2>&5
27153 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 - (exit $ac_status); }; } &&
27155 - { ac_try='test -s conftest$ac_exeext'
27156 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27157 - (eval $ac_try) 2>&5
27159 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27160 - (exit $ac_status); }; }; then
27161 - ac_cv_lib_dl_dlopen=yes
27163 - echo "$as_me: failed program was:" >&5
27164 -sed 's/^/| /' conftest.$ac_ext >&5
27166 -ac_cv_lib_dl_dlopen=no
27168 -rm -f conftest.err conftest.$ac_objext \
27169 - conftest$ac_exeext conftest.$ac_ext
27170 -LIBS=$ac_check_lib_save_LIBS
27172 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
27173 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
27174 -if test $ac_cv_lib_dl_dlopen = yes; then
27175 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
27178 - lt_cv_dlopen="dyld"
27179 - lt_cv_dlopen_libs=
27180 - lt_cv_dlopen_self=yes
27187 - echo "$as_me:$LINENO: checking for shl_load" >&5
27188 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
27189 -if test "${ac_cv_func_shl_load+set}" = set; then
27190 - echo $ECHO_N "(cached) $ECHO_C" >&6
27192 - cat >conftest.$ac_ext <<_ACEOF
27195 -cat confdefs.h >>conftest.$ac_ext
27196 -cat >>conftest.$ac_ext <<_ACEOF
27197 -/* end confdefs.h. */
27198 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
27199 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
27200 -#define shl_load innocuous_shl_load
27202 -/* System header to define __stub macros and hopefully few prototypes,
27203 - which can conflict with char shl_load (); below.
27204 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27205 - <limits.h> exists even on freestanding compilers. */
27208 -# include <limits.h>
27210 -# include <assert.h>
27215 -/* Override any gcc2 internal prototype to avoid an error. */
27216 -#ifdef __cplusplus
27220 -/* We use char because int might match the return type of a gcc2
27221 - builtin and then its argument prototype would still apply. */
27223 -/* The GNU C library defines this for functions which it implements
27224 - to always fail with ENOSYS. Some functions are actually named
27225 - something starting with __ and the normal name is an alias. */
27226 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
27229 -char (*f) () = shl_load;
27231 -#ifdef __cplusplus
27238 -return f != shl_load;
27243 -rm -f conftest.$ac_objext conftest$ac_exeext
27244 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27245 - (eval $ac_link) 2>conftest.er1
27247 - grep -v '^ *+' conftest.er1 >conftest.err
27248 - rm -f conftest.er1
27249 - cat conftest.err >&5
27250 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27251 - (exit $ac_status); } &&
27252 - { ac_try='test -z "$ac_c_werror_flag"
27253 - || test ! -s conftest.err'
27254 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27255 - (eval $ac_try) 2>&5
27257 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27258 - (exit $ac_status); }; } &&
27259 - { ac_try='test -s conftest$ac_exeext'
27260 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27261 - (eval $ac_try) 2>&5
27263 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27264 - (exit $ac_status); }; }; then
27265 - ac_cv_func_shl_load=yes
27267 - echo "$as_me: failed program was:" >&5
27268 -sed 's/^/| /' conftest.$ac_ext >&5
27270 -ac_cv_func_shl_load=no
27272 -rm -f conftest.err conftest.$ac_objext \
27273 - conftest$ac_exeext conftest.$ac_ext
27275 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
27276 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
27277 -if test $ac_cv_func_shl_load = yes; then
27278 - lt_cv_dlopen="shl_load"
27280 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
27281 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
27282 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
27283 - echo $ECHO_N "(cached) $ECHO_C" >&6
27285 - ac_check_lib_save_LIBS=$LIBS
27286 -LIBS="-ldld $LIBS"
27287 -cat >conftest.$ac_ext <<_ACEOF
27290 -cat confdefs.h >>conftest.$ac_ext
27291 -cat >>conftest.$ac_ext <<_ACEOF
27292 -/* end confdefs.h. */
27294 -/* Override any gcc2 internal prototype to avoid an error. */
27295 -#ifdef __cplusplus
27298 -/* We use char because int might match the return type of a gcc2
27299 - builtin and then its argument prototype would still apply. */
27309 -rm -f conftest.$ac_objext conftest$ac_exeext
27310 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27311 - (eval $ac_link) 2>conftest.er1
27313 - grep -v '^ *+' conftest.er1 >conftest.err
27314 - rm -f conftest.er1
27315 - cat conftest.err >&5
27316 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27317 - (exit $ac_status); } &&
27318 - { ac_try='test -z "$ac_c_werror_flag"
27319 - || test ! -s conftest.err'
27320 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27321 - (eval $ac_try) 2>&5
27323 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27324 - (exit $ac_status); }; } &&
27325 - { ac_try='test -s conftest$ac_exeext'
27326 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27327 - (eval $ac_try) 2>&5
27329 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27330 - (exit $ac_status); }; }; then
27331 - ac_cv_lib_dld_shl_load=yes
27333 - echo "$as_me: failed program was:" >&5
27334 -sed 's/^/| /' conftest.$ac_ext >&5
27336 -ac_cv_lib_dld_shl_load=no
27338 -rm -f conftest.err conftest.$ac_objext \
27339 - conftest$ac_exeext conftest.$ac_ext
27340 -LIBS=$ac_check_lib_save_LIBS
27342 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
27343 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
27344 -if test $ac_cv_lib_dld_shl_load = yes; then
27345 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
27347 - echo "$as_me:$LINENO: checking for dlopen" >&5
27348 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
27349 -if test "${ac_cv_func_dlopen+set}" = set; then
27350 - echo $ECHO_N "(cached) $ECHO_C" >&6
27352 - cat >conftest.$ac_ext <<_ACEOF
27355 -cat confdefs.h >>conftest.$ac_ext
27356 -cat >>conftest.$ac_ext <<_ACEOF
27357 -/* end confdefs.h. */
27358 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
27359 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
27360 -#define dlopen innocuous_dlopen
27362 -/* System header to define __stub macros and hopefully few prototypes,
27363 - which can conflict with char dlopen (); below.
27364 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27365 - <limits.h> exists even on freestanding compilers. */
27368 -# include <limits.h>
27370 -# include <assert.h>
27375 -/* Override any gcc2 internal prototype to avoid an error. */
27376 -#ifdef __cplusplus
27380 -/* We use char because int might match the return type of a gcc2
27381 - builtin and then its argument prototype would still apply. */
27383 -/* The GNU C library defines this for functions which it implements
27384 - to always fail with ENOSYS. Some functions are actually named
27385 - something starting with __ and the normal name is an alias. */
27386 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
27389 -char (*f) () = dlopen;
27391 -#ifdef __cplusplus
27398 -return f != dlopen;
27403 -rm -f conftest.$ac_objext conftest$ac_exeext
27404 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27405 - (eval $ac_link) 2>conftest.er1
27407 - grep -v '^ *+' conftest.er1 >conftest.err
27408 - rm -f conftest.er1
27409 - cat conftest.err >&5
27410 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27411 - (exit $ac_status); } &&
27412 - { ac_try='test -z "$ac_c_werror_flag"
27413 - || test ! -s conftest.err'
27414 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27415 - (eval $ac_try) 2>&5
27417 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27418 - (exit $ac_status); }; } &&
27419 - { ac_try='test -s conftest$ac_exeext'
27420 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27421 - (eval $ac_try) 2>&5
27423 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27424 - (exit $ac_status); }; }; then
27425 - ac_cv_func_dlopen=yes
27427 - echo "$as_me: failed program was:" >&5
27428 -sed 's/^/| /' conftest.$ac_ext >&5
27430 -ac_cv_func_dlopen=no
27432 -rm -f conftest.err conftest.$ac_objext \
27433 - conftest$ac_exeext conftest.$ac_ext
27435 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
27436 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
27437 -if test $ac_cv_func_dlopen = yes; then
27438 - lt_cv_dlopen="dlopen"
27440 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
27441 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
27442 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
27443 - echo $ECHO_N "(cached) $ECHO_C" >&6
27445 - ac_check_lib_save_LIBS=$LIBS
27447 -cat >conftest.$ac_ext <<_ACEOF
27450 -cat confdefs.h >>conftest.$ac_ext
27451 -cat >>conftest.$ac_ext <<_ACEOF
27452 -/* end confdefs.h. */
27454 -/* Override any gcc2 internal prototype to avoid an error. */
27455 -#ifdef __cplusplus
27458 -/* We use char because int might match the return type of a gcc2
27459 - builtin and then its argument prototype would still apply. */
27469 -rm -f conftest.$ac_objext conftest$ac_exeext
27470 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27471 - (eval $ac_link) 2>conftest.er1
27473 - grep -v '^ *+' conftest.er1 >conftest.err
27474 - rm -f conftest.er1
27475 - cat conftest.err >&5
27476 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27477 - (exit $ac_status); } &&
27478 - { ac_try='test -z "$ac_c_werror_flag"
27479 - || test ! -s conftest.err'
27480 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27481 - (eval $ac_try) 2>&5
27483 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27484 - (exit $ac_status); }; } &&
27485 - { ac_try='test -s conftest$ac_exeext'
27486 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27487 - (eval $ac_try) 2>&5
27489 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27490 - (exit $ac_status); }; }; then
27491 - ac_cv_lib_dl_dlopen=yes
27493 - echo "$as_me: failed program was:" >&5
27494 -sed 's/^/| /' conftest.$ac_ext >&5
27496 -ac_cv_lib_dl_dlopen=no
27498 -rm -f conftest.err conftest.$ac_objext \
27499 - conftest$ac_exeext conftest.$ac_ext
27500 -LIBS=$ac_check_lib_save_LIBS
27502 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
27503 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
27504 -if test $ac_cv_lib_dl_dlopen = yes; then
27505 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
27507 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
27508 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
27509 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
27510 - echo $ECHO_N "(cached) $ECHO_C" >&6
27512 - ac_check_lib_save_LIBS=$LIBS
27513 -LIBS="-lsvld $LIBS"
27514 -cat >conftest.$ac_ext <<_ACEOF
27517 -cat confdefs.h >>conftest.$ac_ext
27518 -cat >>conftest.$ac_ext <<_ACEOF
27519 -/* end confdefs.h. */
27521 -/* Override any gcc2 internal prototype to avoid an error. */
27522 -#ifdef __cplusplus
27525 -/* We use char because int might match the return type of a gcc2
27526 - builtin and then its argument prototype would still apply. */
27536 -rm -f conftest.$ac_objext conftest$ac_exeext
27537 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27538 - (eval $ac_link) 2>conftest.er1
27540 - grep -v '^ *+' conftest.er1 >conftest.err
27541 - rm -f conftest.er1
27542 - cat conftest.err >&5
27543 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27544 - (exit $ac_status); } &&
27545 - { ac_try='test -z "$ac_c_werror_flag"
27546 - || test ! -s conftest.err'
27547 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27548 - (eval $ac_try) 2>&5
27550 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27551 - (exit $ac_status); }; } &&
27552 - { ac_try='test -s conftest$ac_exeext'
27553 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27554 - (eval $ac_try) 2>&5
27556 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27557 - (exit $ac_status); }; }; then
27558 - ac_cv_lib_svld_dlopen=yes
27560 - echo "$as_me: failed program was:" >&5
27561 -sed 's/^/| /' conftest.$ac_ext >&5
27563 -ac_cv_lib_svld_dlopen=no
27565 -rm -f conftest.err conftest.$ac_objext \
27566 - conftest$ac_exeext conftest.$ac_ext
27567 -LIBS=$ac_check_lib_save_LIBS
27569 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
27570 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
27571 -if test $ac_cv_lib_svld_dlopen = yes; then
27572 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
27574 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
27575 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
27576 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
27577 - echo $ECHO_N "(cached) $ECHO_C" >&6
27579 - ac_check_lib_save_LIBS=$LIBS
27580 -LIBS="-ldld $LIBS"
27581 -cat >conftest.$ac_ext <<_ACEOF
27584 -cat confdefs.h >>conftest.$ac_ext
27585 -cat >>conftest.$ac_ext <<_ACEOF
27586 -/* end confdefs.h. */
27588 -/* Override any gcc2 internal prototype to avoid an error. */
27589 -#ifdef __cplusplus
27592 -/* We use char because int might match the return type of a gcc2
27593 - builtin and then its argument prototype would still apply. */
27603 -rm -f conftest.$ac_objext conftest$ac_exeext
27604 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27605 - (eval $ac_link) 2>conftest.er1
27607 - grep -v '^ *+' conftest.er1 >conftest.err
27608 - rm -f conftest.er1
27609 - cat conftest.err >&5
27610 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27611 - (exit $ac_status); } &&
27612 - { ac_try='test -z "$ac_c_werror_flag"
27613 - || test ! -s conftest.err'
27614 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27615 - (eval $ac_try) 2>&5
27617 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27618 - (exit $ac_status); }; } &&
27619 - { ac_try='test -s conftest$ac_exeext'
27620 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27621 - (eval $ac_try) 2>&5
27623 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27624 - (exit $ac_status); }; }; then
27625 - ac_cv_lib_dld_dld_link=yes
27627 - echo "$as_me: failed program was:" >&5
27628 -sed 's/^/| /' conftest.$ac_ext >&5
27630 -ac_cv_lib_dld_dld_link=no
27632 -rm -f conftest.err conftest.$ac_objext \
27633 - conftest$ac_exeext conftest.$ac_ext
27634 -LIBS=$ac_check_lib_save_LIBS
27636 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
27637 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
27638 -if test $ac_cv_lib_dld_dld_link = yes; then
27639 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
27660 - if test "x$lt_cv_dlopen" != xno; then
27661 - enable_dlopen=yes
27666 - case $lt_cv_dlopen in
27668 - save_CPPFLAGS="$CPPFLAGS"
27669 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
27671 - save_LDFLAGS="$LDFLAGS"
27672 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
27674 - save_LIBS="$LIBS"
27675 - LIBS="$lt_cv_dlopen_libs $LIBS"
27677 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
27678 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
27679 -if test "${lt_cv_dlopen_self+set}" = set; then
27680 - echo $ECHO_N "(cached) $ECHO_C" >&6
27682 - if test "$cross_compiling" = yes; then :
27683 - lt_cv_dlopen_self=cross
27685 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
27686 - lt_status=$lt_dlunknown
27687 - cat > conftest.$ac_ext <<EOF
27688 -#line 18074 "configure"
27689 -#include "confdefs.h"
27692 -#include <dlfcn.h>
27695 -#include <stdio.h>
27697 -#ifdef RTLD_GLOBAL
27698 -# define LT_DLGLOBAL RTLD_GLOBAL
27701 -# define LT_DLGLOBAL DL_GLOBAL
27703 -# define LT_DLGLOBAL 0
27707 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
27708 - find out it does not work in some platform. */
27709 -#ifndef LT_DLLAZY_OR_NOW
27711 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
27714 -# define LT_DLLAZY_OR_NOW DL_LAZY
27717 -# define LT_DLLAZY_OR_NOW RTLD_NOW
27720 -# define LT_DLLAZY_OR_NOW DL_NOW
27722 -# define LT_DLLAZY_OR_NOW 0
27729 -#ifdef __cplusplus
27730 -extern "C" void exit (int);
27733 -void fnord() { int i=42;}
27736 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
27737 - int status = $lt_dlunknown;
27741 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
27742 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
27743 - /* dlclose (self); */
27749 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27750 - (eval $ac_link) 2>&5
27752 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27753 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
27754 - (./conftest; exit; ) 2>/dev/null
27756 - case x$lt_status in
27757 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
27758 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
27759 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
27762 - # compilation failed
27763 - lt_cv_dlopen_self=no
27770 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
27771 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
27773 - if test "x$lt_cv_dlopen_self" = xyes; then
27774 - LDFLAGS="$LDFLAGS $link_static_flag"
27775 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
27776 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
27777 -if test "${lt_cv_dlopen_self_static+set}" = set; then
27778 - echo $ECHO_N "(cached) $ECHO_C" >&6
27780 - if test "$cross_compiling" = yes; then :
27781 - lt_cv_dlopen_self_static=cross
27783 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
27784 - lt_status=$lt_dlunknown
27785 - cat > conftest.$ac_ext <<EOF
27786 -#line 18172 "configure"
27787 -#include "confdefs.h"
27790 -#include <dlfcn.h>
27793 -#include <stdio.h>
27795 -#ifdef RTLD_GLOBAL
27796 -# define LT_DLGLOBAL RTLD_GLOBAL
27799 -# define LT_DLGLOBAL DL_GLOBAL
27801 -# define LT_DLGLOBAL 0
27805 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
27806 - find out it does not work in some platform. */
27807 -#ifndef LT_DLLAZY_OR_NOW
27809 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
27812 -# define LT_DLLAZY_OR_NOW DL_LAZY
27815 -# define LT_DLLAZY_OR_NOW RTLD_NOW
27818 -# define LT_DLLAZY_OR_NOW DL_NOW
27820 -# define LT_DLLAZY_OR_NOW 0
27827 -#ifdef __cplusplus
27828 -extern "C" void exit (int);
27831 -void fnord() { int i=42;}
27834 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
27835 - int status = $lt_dlunknown;
27839 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
27840 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
27841 - /* dlclose (self); */
27847 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27848 - (eval $ac_link) 2>&5
27850 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27851 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
27852 - (./conftest; exit; ) 2>/dev/null
27854 - case x$lt_status in
27855 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
27856 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
27857 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
27860 - # compilation failed
27861 - lt_cv_dlopen_self_static=no
27868 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
27869 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
27872 - CPPFLAGS="$save_CPPFLAGS"
27873 - LDFLAGS="$save_LDFLAGS"
27874 - LIBS="$save_LIBS"
27878 - case $lt_cv_dlopen_self in
27879 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
27880 - *) enable_dlopen_self=unknown ;;
27883 - case $lt_cv_dlopen_self_static in
27884 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
27885 - *) enable_dlopen_self_static=unknown ;;
27890 # The else clause should only fire when bootstrapping the
27891 # libtool distribution, otherwise you forgot to ship ltmain.sh
27892 @@ -18286,7 +19042,7 @@ if test -f "$ltmain"; then
27893 # Now quote all the things that may contain metacharacters while being
27894 # careful not to overquote the AC_SUBSTed values. We take copies of the
27895 # variables and quote the copies for generation of the libtool script.
27896 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
27897 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
27899 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
27900 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
27901 @@ -18313,6 +19069,7 @@ if test -f "$ltmain"; then
27904 compiler_lib_search_path_GCJ \
27905 + compiler_lib_search_dirs_GCJ \
27907 archive_expsym_cmds_GCJ \
27908 postinstall_cmds_GCJ \
27909 @@ -18328,6 +19085,7 @@ if test -f "$ltmain"; then
27911 module_expsym_cmds_GCJ \
27912 lt_cv_prog_compiler_c_o_GCJ \
27913 + fix_srcfile_path_GCJ \
27914 exclude_expsyms_GCJ \
27915 include_expsyms_GCJ; do
27917 @@ -18387,6 +19145,12 @@ fast_install=$enable_fast_install
27919 host_alias=$host_alias
27923 +# The build system.
27924 +build_alias=$build_alias
27926 +build_os=$build_os
27928 # An echo program that does not interpret backslashes.
27930 @@ -18398,6 +19162,9 @@ AR_FLAGS=$lt_AR_FLAGS
27934 +# LTCC compiler flags.
27935 +LTCFLAGS=$lt_LTCFLAGS
27937 # A language-specific compiler.
27938 CC=$lt_compiler_GCJ
27940 @@ -18463,7 +19230,7 @@ max_cmd_len=$lt_cv_sys_max_cmd_len
27941 # Does compiler simultaneously support -c and -o options?
27942 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
27944 -# Must we lock files when doing compilation ?
27945 +# Must we lock files when doing compilation?
27946 need_locks=$lt_need_locks
27948 # Do we need the lib prefix for modules?
27949 @@ -18551,6 +19318,10 @@ predeps=$lt_predeps_GCJ
27951 postdeps=$lt_postdeps_GCJ
27953 +# The directories searched by this compiler when creating a shared
27955 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
27957 # The library search path used internally by the compiler when linking
27958 # a shared library.
27959 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
27960 @@ -18639,7 +19410,7 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27961 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27963 # Fix the shell variable \$srcfile for the compiler.
27964 -fix_srcfile_path="$fix_srcfile_path_GCJ"
27965 +fix_srcfile_path=$lt_fix_srcfile_path
27967 # Set to yes if exported symbols are required.
27968 always_export_symbols=$always_export_symbols_GCJ
27969 @@ -18688,7 +19459,6 @@ CC="$lt_save_CC"
27974 # Source file extension for RC test sources.
27977 @@ -18697,7 +19467,7 @@ objext=o
27980 # Code to be used in simple compile tests
27981 -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
27982 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
27984 # Code to be used in simple link tests
27985 lt_simple_link_test_code="$lt_simple_compile_test_code"
27986 @@ -18707,15 +19477,42 @@ lt_simple_link_test_code="$lt_simple_compile_test_code"
27987 # If no C compiler was specified, use CC.
27990 +# If no C compiler flags were specified, use CFLAGS.
27991 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
27993 # Allow CC to be a program name with arguments.
27997 +# save warnings/boilerplate of simple test code
27998 +ac_outfile=conftest.$ac_objext
27999 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
28000 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
28001 +_lt_compiler_boilerplate=`cat conftest.err`
28004 +ac_outfile=conftest.$ac_objext
28005 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
28006 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
28007 +_lt_linker_boilerplate=`cat conftest.err`
28011 # Allow CC to be a program name with arguments.
28016 +for cc_temp in $compiler""; do
28018 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
28019 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
28024 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
28026 lt_cv_prog_compiler_c_o_RC=yes
28028 # The else clause should only fire when bootstrapping the
28029 @@ -18731,7 +19528,7 @@ if test -f "$ltmain"; then
28030 # Now quote all the things that may contain metacharacters while being
28031 # careful not to overquote the AC_SUBSTed values. We take copies of the
28032 # variables and quote the copies for generation of the libtool script.
28033 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
28034 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
28036 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
28037 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
28038 @@ -18758,6 +19555,7 @@ if test -f "$ltmain"; then
28041 compiler_lib_search_path_RC \
28042 + compiler_lib_search_dirs_RC \
28044 archive_expsym_cmds_RC \
28045 postinstall_cmds_RC \
28046 @@ -18773,6 +19571,7 @@ if test -f "$ltmain"; then
28048 module_expsym_cmds_RC \
28049 lt_cv_prog_compiler_c_o_RC \
28050 + fix_srcfile_path_RC \
28051 exclude_expsyms_RC \
28052 include_expsyms_RC; do
28054 @@ -18832,6 +19631,12 @@ fast_install=$enable_fast_install
28056 host_alias=$host_alias
28060 +# The build system.
28061 +build_alias=$build_alias
28063 +build_os=$build_os
28065 # An echo program that does not interpret backslashes.
28067 @@ -18843,6 +19648,9 @@ AR_FLAGS=$lt_AR_FLAGS
28071 +# LTCC compiler flags.
28072 +LTCFLAGS=$lt_LTCFLAGS
28074 # A language-specific compiler.
28077 @@ -18908,7 +19716,7 @@ max_cmd_len=$lt_cv_sys_max_cmd_len
28078 # Does compiler simultaneously support -c and -o options?
28079 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
28081 -# Must we lock files when doing compilation ?
28082 +# Must we lock files when doing compilation?
28083 need_locks=$lt_need_locks
28085 # Do we need the lib prefix for modules?
28086 @@ -18996,6 +19804,10 @@ predeps=$lt_predeps_RC
28088 postdeps=$lt_postdeps_RC
28090 +# The directories searched by this compiler when creating a shared
28092 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
28094 # The library search path used internally by the compiler when linking
28095 # a shared library.
28096 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
28097 @@ -19084,7 +19896,7 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28098 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28100 # Fix the shell variable \$srcfile for the compiler.
28101 -fix_srcfile_path="$fix_srcfile_path_RC"
28102 +fix_srcfile_path=$lt_fix_srcfile_path
28104 # Set to yes if exported symbols are required.
28105 always_export_symbols=$always_export_symbols_RC
28106 @@ -19128,8 +19940,8 @@ CC="$lt_save_CC"
28110 - { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
28111 -echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
28112 + { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
28113 +$as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
28114 { (exit 1); exit 1; }; }
28117 @@ -19148,8 +19960,8 @@ echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
28121 - { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
28122 -echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
28123 + { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
28124 +$as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
28125 { (exit 1); exit 1; }; }
28128 @@ -19185,20 +19997,20 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
28132 -# Check whether --with-mysql or --without-mysql was given.
28133 +# Check whether --with-mysql was given.
28134 if test "${with_mysql+set}" = set; then
28135 - withval="$with_mysql"
28136 + withval=$with_mysql;
28140 -# Check whether --enable-debug or --disable-debug was given.
28141 +# Check whether --enable-debug was given.
28142 if test "${enable_debug+set}" = set; then
28143 - enableval="$enable_debug"
28145 + enableval=$enable_debug;
28146 cat >>confdefs.h <<\_ACEOF
28154 case "$target_os" in
28156 @@ -19237,10 +20049,10 @@ else
28160 -echo "$as_me:$LINENO: checking whether the linker accepts -znodelete" >&5
28161 -echo $ECHO_N "checking whether the linker accepts -znodelete... $ECHO_C" >&6
28162 +{ $as_echo "$as_me:$LINENO: checking whether the linker accepts -znodelete" >&5
28163 +$as_echo_n "checking whether the linker accepts -znodelete... " >&6; }
28164 if test "${nss_mysql_cv_cc_znodelete+set}" = set; then
28165 - echo $ECHO_N "(cached) $ECHO_C" >&6
28166 + $as_echo_n "(cached) " >&6
28170 @@ -19261,40 +20073,41 @@ main ()
28173 rm -f conftest.$ac_objext conftest$ac_exeext
28174 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28175 - (eval $ac_link) 2>conftest.er1
28176 +if { (ac_try="$ac_link"
28177 +case "(($ac_try" in
28178 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28179 + *) ac_try_echo=$ac_try;;
28181 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28182 +$as_echo "$ac_try_echo") >&5
28183 + (eval "$ac_link") 2>conftest.er1
28185 grep -v '^ *+' conftest.er1 >conftest.err
28187 cat conftest.err >&5
28188 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28189 - (exit $ac_status); } &&
28190 - { ac_try='test -z "$ac_c_werror_flag"
28191 - || test ! -s conftest.err'
28192 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28193 - (eval $ac_try) 2>&5
28195 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28196 - (exit $ac_status); }; } &&
28197 - { ac_try='test -s conftest$ac_exeext'
28198 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28199 - (eval $ac_try) 2>&5
28201 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28202 - (exit $ac_status); }; }; then
28203 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28204 + (exit $ac_status); } && {
28205 + test -z "$ac_c_werror_flag" ||
28206 + test ! -s conftest.err
28207 + } && test -s conftest$ac_exeext && {
28208 + test "$cross_compiling" = yes ||
28209 + $as_test_x conftest$ac_exeext
28211 nss_mysql_cv_cc_znodelete=yes
28213 - echo "$as_me: failed program was:" >&5
28214 + $as_echo "$as_me: failed program was:" >&5
28215 sed 's/^/| /' conftest.$ac_ext >&5
28217 -nss_mysql_cv_cc_znodelete=no
28218 + nss_mysql_cv_cc_znodelete=no
28220 -rm -f conftest.err conftest.$ac_objext \
28222 +rm -rf conftest.dSYM
28223 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28224 conftest$ac_exeext conftest.$ac_ext
28227 -echo "$as_me:$LINENO: result: $nss_mysql_cv_cc_znodelete" >&5
28228 -echo "${ECHO_T}$nss_mysql_cv_cc_znodelete" >&6
28229 +{ $as_echo "$as_me:$LINENO: result: $nss_mysql_cv_cc_znodelete" >&5
28230 +$as_echo "$nss_mysql_cv_cc_znodelete" >&6; }
28231 if test $nss_mysql_cv_cc_znodelete = "yes"; then
28232 LIBS="-Wl,-znodelete $SAVELIBS"
28234 @@ -19311,8 +20124,8 @@ baselist="$with_mysql \
28238 -echo "$as_me:$LINENO: checking for MySQL headers" >&5
28239 -echo $ECHO_N "checking for MySQL headers... $ECHO_C" >&6
28240 +{ $as_echo "$as_me:$LINENO: checking for MySQL headers" >&5
28241 +$as_echo_n "checking for MySQL headers... " >&6; }
28242 for f in $baselist; do
28243 if test -f "$f/include/mysql/mysql.h"
28245 @@ -19329,17 +20142,17 @@ done
28247 if test -n "$MYSQL_INC_DIR"
28249 - echo "$as_me:$LINENO: result: $MYSQL_INC_DIR" >&5
28250 -echo "${ECHO_T}$MYSQL_INC_DIR" >&6
28251 + { $as_echo "$as_me:$LINENO: result: $MYSQL_INC_DIR" >&5
28252 +$as_echo "$MYSQL_INC_DIR" >&6; }
28253 CPPFLAGS="-I $MYSQL_INC_DIR $CPPFLAGS"
28255 - { { echo "$as_me:$LINENO: error: Cannot locate MySQL headers. Try using --with-mysql=DIR" >&5
28256 -echo "$as_me: error: Cannot locate MySQL headers. Try using --with-mysql=DIR" >&2;}
28257 + { { $as_echo "$as_me:$LINENO: error: Cannot locate MySQL headers. Try using --with-mysql=DIR" >&5
28258 +$as_echo "$as_me: error: Cannot locate MySQL headers. Try using --with-mysql=DIR" >&2;}
28259 { (exit 1); exit 1; }; }
28262 -echo "$as_me:$LINENO: checking for MySQL libraries" >&5
28263 -echo $ECHO_N "checking for MySQL libraries... $ECHO_C" >&6
28264 +{ $as_echo "$as_me:$LINENO: checking for MySQL libraries" >&5
28265 +$as_echo_n "checking for MySQL libraries... " >&6; }
28266 for f in $baselist; do
28267 if test -f "$f/lib/libmysqlclient.so"
28269 @@ -19370,22 +20183,22 @@ done
28271 if test -n "$MYSQL_LIB_DIR"
28273 - echo "$as_me:$LINENO: result: $MYSQL_LIB_DIR" >&5
28274 -echo "${ECHO_T}$MYSQL_LIB_DIR" >&6
28275 + { $as_echo "$as_me:$LINENO: result: $MYSQL_LIB_DIR" >&5
28276 +$as_echo "$MYSQL_LIB_DIR" >&6; }
28277 LDFLAGS="-L$MYSQL_LIB_DIR $LDFLAGS"
28279 - { { echo "$as_me:$LINENO: error: Cannot locate MySQL libraries. Try using --with-mysql=DIR" >&5
28280 -echo "$as_me: error: Cannot locate MySQL libraries. Try using --with-mysql=DIR" >&2;}
28281 + { { $as_echo "$as_me:$LINENO: error: Cannot locate MySQL libraries. Try using --with-mysql=DIR" >&5
28282 +$as_echo "$as_me: error: Cannot locate MySQL libraries. Try using --with-mysql=DIR" >&2;}
28283 { (exit 1); exit 1; }; }
28289 -echo "$as_me:$LINENO: checking for getsockname in -lsocket" >&5
28290 -echo $ECHO_N "checking for getsockname in -lsocket... $ECHO_C" >&6
28291 +{ $as_echo "$as_me:$LINENO: checking for getsockname in -lsocket" >&5
28292 +$as_echo_n "checking for getsockname in -lsocket... " >&6; }
28293 if test "${ac_cv_lib_socket_getsockname+set}" = set; then
28294 - echo $ECHO_N "(cached) $ECHO_C" >&6
28295 + $as_echo_n "(cached) " >&6
28297 ac_check_lib_save_LIBS=$LIBS
28298 LIBS="-lsocket $LIBS"
28299 @@ -19396,57 +20209,58 @@ cat confdefs.h >>conftest.$ac_ext
28300 cat >>conftest.$ac_ext <<_ACEOF
28301 /* end confdefs.h. */
28303 -/* Override any gcc2 internal prototype to avoid an error. */
28304 +/* Override any GCC internal prototype to avoid an error.
28305 + Use char because int might match the return type of a GCC
28306 + builtin and then its argument prototype would still apply. */
28310 -/* We use char because int might match the return type of a gcc2
28311 - builtin and then its argument prototype would still apply. */
28312 char getsockname ();
28317 +return getsockname ();
28322 rm -f conftest.$ac_objext conftest$ac_exeext
28323 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28324 - (eval $ac_link) 2>conftest.er1
28325 +if { (ac_try="$ac_link"
28326 +case "(($ac_try" in
28327 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28328 + *) ac_try_echo=$ac_try;;
28330 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28331 +$as_echo "$ac_try_echo") >&5
28332 + (eval "$ac_link") 2>conftest.er1
28334 grep -v '^ *+' conftest.er1 >conftest.err
28336 cat conftest.err >&5
28337 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338 - (exit $ac_status); } &&
28339 - { ac_try='test -z "$ac_c_werror_flag"
28340 - || test ! -s conftest.err'
28341 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28342 - (eval $ac_try) 2>&5
28344 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28345 - (exit $ac_status); }; } &&
28346 - { ac_try='test -s conftest$ac_exeext'
28347 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28348 - (eval $ac_try) 2>&5
28350 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28351 - (exit $ac_status); }; }; then
28352 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28353 + (exit $ac_status); } && {
28354 + test -z "$ac_c_werror_flag" ||
28355 + test ! -s conftest.err
28356 + } && test -s conftest$ac_exeext && {
28357 + test "$cross_compiling" = yes ||
28358 + $as_test_x conftest$ac_exeext
28360 ac_cv_lib_socket_getsockname=yes
28362 - echo "$as_me: failed program was:" >&5
28363 + $as_echo "$as_me: failed program was:" >&5
28364 sed 's/^/| /' conftest.$ac_ext >&5
28366 -ac_cv_lib_socket_getsockname=no
28367 + ac_cv_lib_socket_getsockname=no
28369 -rm -f conftest.err conftest.$ac_objext \
28371 +rm -rf conftest.dSYM
28372 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28373 conftest$ac_exeext conftest.$ac_ext
28374 LIBS=$ac_check_lib_save_LIBS
28376 -echo "$as_me:$LINENO: result: $ac_cv_lib_socket_getsockname" >&5
28377 -echo "${ECHO_T}$ac_cv_lib_socket_getsockname" >&6
28378 -if test $ac_cv_lib_socket_getsockname = yes; then
28379 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_getsockname" >&5
28380 +$as_echo "$ac_cv_lib_socket_getsockname" >&6; }
28381 +if test "x$ac_cv_lib_socket_getsockname" = x""yes; then
28382 cat >>confdefs.h <<_ACEOF
28383 #define HAVE_LIBSOCKET 1
28385 @@ -19456,10 +20270,10 @@ _ACEOF
28389 -echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28390 -echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28391 +{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28392 +$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
28393 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28394 - echo $ECHO_N "(cached) $ECHO_C" >&6
28395 + $as_echo_n "(cached) " >&6
28397 ac_check_lib_save_LIBS=$LIBS
28399 @@ -19470,57 +20284,58 @@ cat confdefs.h >>conftest.$ac_ext
28400 cat >>conftest.$ac_ext <<_ACEOF
28401 /* end confdefs.h. */
28403 -/* Override any gcc2 internal prototype to avoid an error. */
28404 +/* Override any GCC internal prototype to avoid an error.
28405 + Use char because int might match the return type of a GCC
28406 + builtin and then its argument prototype would still apply. */
28410 -/* We use char because int might match the return type of a gcc2
28411 - builtin and then its argument prototype would still apply. */
28412 char gethostbyname ();
28417 +return gethostbyname ();
28422 rm -f conftest.$ac_objext conftest$ac_exeext
28423 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28424 - (eval $ac_link) 2>conftest.er1
28425 +if { (ac_try="$ac_link"
28426 +case "(($ac_try" in
28427 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28428 + *) ac_try_echo=$ac_try;;
28430 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28431 +$as_echo "$ac_try_echo") >&5
28432 + (eval "$ac_link") 2>conftest.er1
28434 grep -v '^ *+' conftest.er1 >conftest.err
28436 cat conftest.err >&5
28437 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28438 - (exit $ac_status); } &&
28439 - { ac_try='test -z "$ac_c_werror_flag"
28440 - || test ! -s conftest.err'
28441 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28442 - (eval $ac_try) 2>&5
28444 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28445 - (exit $ac_status); }; } &&
28446 - { ac_try='test -s conftest$ac_exeext'
28447 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28448 - (eval $ac_try) 2>&5
28450 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28451 - (exit $ac_status); }; }; then
28452 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28453 + (exit $ac_status); } && {
28454 + test -z "$ac_c_werror_flag" ||
28455 + test ! -s conftest.err
28456 + } && test -s conftest$ac_exeext && {
28457 + test "$cross_compiling" = yes ||
28458 + $as_test_x conftest$ac_exeext
28460 ac_cv_lib_nsl_gethostbyname=yes
28462 - echo "$as_me: failed program was:" >&5
28463 + $as_echo "$as_me: failed program was:" >&5
28464 sed 's/^/| /' conftest.$ac_ext >&5
28466 -ac_cv_lib_nsl_gethostbyname=no
28467 + ac_cv_lib_nsl_gethostbyname=no
28469 -rm -f conftest.err conftest.$ac_objext \
28471 +rm -rf conftest.dSYM
28472 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28473 conftest$ac_exeext conftest.$ac_ext
28474 LIBS=$ac_check_lib_save_LIBS
28476 -echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28477 -echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28478 -if test $ac_cv_lib_nsl_gethostbyname = yes; then
28479 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28480 +$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
28481 +if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
28482 cat >>confdefs.h <<_ACEOF
28483 #define HAVE_LIBNSL 1
28485 @@ -19530,10 +20345,10 @@ _ACEOF
28489 -echo "$as_me:$LINENO: checking for floor in -lm" >&5
28490 -echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
28491 +{ $as_echo "$as_me:$LINENO: checking for floor in -lm" >&5
28492 +$as_echo_n "checking for floor in -lm... " >&6; }
28493 if test "${ac_cv_lib_m_floor+set}" = set; then
28494 - echo $ECHO_N "(cached) $ECHO_C" >&6
28495 + $as_echo_n "(cached) " >&6
28497 ac_check_lib_save_LIBS=$LIBS
28499 @@ -19544,57 +20359,58 @@ cat confdefs.h >>conftest.$ac_ext
28500 cat >>conftest.$ac_ext <<_ACEOF
28501 /* end confdefs.h. */
28503 -/* Override any gcc2 internal prototype to avoid an error. */
28504 +/* Override any GCC internal prototype to avoid an error.
28505 + Use char because int might match the return type of a GCC
28506 + builtin and then its argument prototype would still apply. */
28510 -/* We use char because int might match the return type of a gcc2
28511 - builtin and then its argument prototype would still apply. */
28522 rm -f conftest.$ac_objext conftest$ac_exeext
28523 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28524 - (eval $ac_link) 2>conftest.er1
28525 +if { (ac_try="$ac_link"
28526 +case "(($ac_try" in
28527 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28528 + *) ac_try_echo=$ac_try;;
28530 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28531 +$as_echo "$ac_try_echo") >&5
28532 + (eval "$ac_link") 2>conftest.er1
28534 grep -v '^ *+' conftest.er1 >conftest.err
28536 cat conftest.err >&5
28537 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28538 - (exit $ac_status); } &&
28539 - { ac_try='test -z "$ac_c_werror_flag"
28540 - || test ! -s conftest.err'
28541 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28542 - (eval $ac_try) 2>&5
28544 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28545 - (exit $ac_status); }; } &&
28546 - { ac_try='test -s conftest$ac_exeext'
28547 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28548 - (eval $ac_try) 2>&5
28550 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551 - (exit $ac_status); }; }; then
28552 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28553 + (exit $ac_status); } && {
28554 + test -z "$ac_c_werror_flag" ||
28555 + test ! -s conftest.err
28556 + } && test -s conftest$ac_exeext && {
28557 + test "$cross_compiling" = yes ||
28558 + $as_test_x conftest$ac_exeext
28560 ac_cv_lib_m_floor=yes
28562 - echo "$as_me: failed program was:" >&5
28563 + $as_echo "$as_me: failed program was:" >&5
28564 sed 's/^/| /' conftest.$ac_ext >&5
28566 -ac_cv_lib_m_floor=no
28567 + ac_cv_lib_m_floor=no
28569 -rm -f conftest.err conftest.$ac_objext \
28571 +rm -rf conftest.dSYM
28572 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28573 conftest$ac_exeext conftest.$ac_ext
28574 LIBS=$ac_check_lib_save_LIBS
28576 -echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
28577 -echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
28578 -if test $ac_cv_lib_m_floor = yes; then
28579 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
28580 +$as_echo "$ac_cv_lib_m_floor" >&6; }
28581 +if test "x$ac_cv_lib_m_floor" = x""yes; then
28582 cat >>confdefs.h <<_ACEOF
28583 #define HAVE_LIBM 1
28585 @@ -19604,10 +20420,10 @@ _ACEOF
28589 -echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
28590 -echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
28591 +{ $as_echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
28592 +$as_echo_n "checking for dlsym in -ldl... " >&6; }
28593 if test "${ac_cv_lib_dl_dlsym+set}" = set; then
28594 - echo $ECHO_N "(cached) $ECHO_C" >&6
28595 + $as_echo_n "(cached) " >&6
28597 ac_check_lib_save_LIBS=$LIBS
28599 @@ -19618,57 +20434,58 @@ cat confdefs.h >>conftest.$ac_ext
28600 cat >>conftest.$ac_ext <<_ACEOF
28601 /* end confdefs.h. */
28603 -/* Override any gcc2 internal prototype to avoid an error. */
28604 +/* Override any GCC internal prototype to avoid an error.
28605 + Use char because int might match the return type of a GCC
28606 + builtin and then its argument prototype would still apply. */
28610 -/* We use char because int might match the return type of a gcc2
28611 - builtin and then its argument prototype would still apply. */
28622 rm -f conftest.$ac_objext conftest$ac_exeext
28623 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28624 - (eval $ac_link) 2>conftest.er1
28625 +if { (ac_try="$ac_link"
28626 +case "(($ac_try" in
28627 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28628 + *) ac_try_echo=$ac_try;;
28630 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28631 +$as_echo "$ac_try_echo") >&5
28632 + (eval "$ac_link") 2>conftest.er1
28634 grep -v '^ *+' conftest.er1 >conftest.err
28636 cat conftest.err >&5
28637 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28638 - (exit $ac_status); } &&
28639 - { ac_try='test -z "$ac_c_werror_flag"
28640 - || test ! -s conftest.err'
28641 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28642 - (eval $ac_try) 2>&5
28644 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28645 - (exit $ac_status); }; } &&
28646 - { ac_try='test -s conftest$ac_exeext'
28647 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28648 - (eval $ac_try) 2>&5
28650 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28651 - (exit $ac_status); }; }; then
28652 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28653 + (exit $ac_status); } && {
28654 + test -z "$ac_c_werror_flag" ||
28655 + test ! -s conftest.err
28656 + } && test -s conftest$ac_exeext && {
28657 + test "$cross_compiling" = yes ||
28658 + $as_test_x conftest$ac_exeext
28660 ac_cv_lib_dl_dlsym=yes
28662 - echo "$as_me: failed program was:" >&5
28663 + $as_echo "$as_me: failed program was:" >&5
28664 sed 's/^/| /' conftest.$ac_ext >&5
28666 -ac_cv_lib_dl_dlsym=no
28667 + ac_cv_lib_dl_dlsym=no
28669 -rm -f conftest.err conftest.$ac_objext \
28671 +rm -rf conftest.dSYM
28672 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28673 conftest$ac_exeext conftest.$ac_ext
28674 LIBS=$ac_check_lib_save_LIBS
28676 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
28677 -echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6
28678 -if test $ac_cv_lib_dl_dlsym = yes; then
28679 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
28680 +$as_echo "$ac_cv_lib_dl_dlsym" >&6; }
28681 +if test "x$ac_cv_lib_dl_dlsym" = x""yes; then
28682 cat >>confdefs.h <<_ACEOF
28683 #define HAVE_LIBDL 1
28685 @@ -19678,10 +20495,10 @@ _ACEOF
28689 -echo "$as_me:$LINENO: checking for compress in -lz" >&5
28690 -echo $ECHO_N "checking for compress in -lz... $ECHO_C" >&6
28691 +{ $as_echo "$as_me:$LINENO: checking for compress in -lz" >&5
28692 +$as_echo_n "checking for compress in -lz... " >&6; }
28693 if test "${ac_cv_lib_z_compress+set}" = set; then
28694 - echo $ECHO_N "(cached) $ECHO_C" >&6
28695 + $as_echo_n "(cached) " >&6
28697 ac_check_lib_save_LIBS=$LIBS
28699 @@ -19692,57 +20509,58 @@ cat confdefs.h >>conftest.$ac_ext
28700 cat >>conftest.$ac_ext <<_ACEOF
28701 /* end confdefs.h. */
28703 -/* Override any gcc2 internal prototype to avoid an error. */
28704 +/* Override any GCC internal prototype to avoid an error.
28705 + Use char because int might match the return type of a GCC
28706 + builtin and then its argument prototype would still apply. */
28710 -/* We use char because int might match the return type of a gcc2
28711 - builtin and then its argument prototype would still apply. */
28717 +return compress ();
28722 rm -f conftest.$ac_objext conftest$ac_exeext
28723 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28724 - (eval $ac_link) 2>conftest.er1
28725 +if { (ac_try="$ac_link"
28726 +case "(($ac_try" in
28727 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28728 + *) ac_try_echo=$ac_try;;
28730 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28731 +$as_echo "$ac_try_echo") >&5
28732 + (eval "$ac_link") 2>conftest.er1
28734 grep -v '^ *+' conftest.er1 >conftest.err
28736 cat conftest.err >&5
28737 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28738 - (exit $ac_status); } &&
28739 - { ac_try='test -z "$ac_c_werror_flag"
28740 - || test ! -s conftest.err'
28741 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28742 - (eval $ac_try) 2>&5
28744 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28745 - (exit $ac_status); }; } &&
28746 - { ac_try='test -s conftest$ac_exeext'
28747 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28748 - (eval $ac_try) 2>&5
28750 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28751 - (exit $ac_status); }; }; then
28752 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28753 + (exit $ac_status); } && {
28754 + test -z "$ac_c_werror_flag" ||
28755 + test ! -s conftest.err
28756 + } && test -s conftest$ac_exeext && {
28757 + test "$cross_compiling" = yes ||
28758 + $as_test_x conftest$ac_exeext
28760 ac_cv_lib_z_compress=yes
28762 - echo "$as_me: failed program was:" >&5
28763 + $as_echo "$as_me: failed program was:" >&5
28764 sed 's/^/| /' conftest.$ac_ext >&5
28766 -ac_cv_lib_z_compress=no
28767 + ac_cv_lib_z_compress=no
28769 -rm -f conftest.err conftest.$ac_objext \
28771 +rm -rf conftest.dSYM
28772 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28773 conftest$ac_exeext conftest.$ac_ext
28774 LIBS=$ac_check_lib_save_LIBS
28776 -echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress" >&5
28777 -echo "${ECHO_T}$ac_cv_lib_z_compress" >&6
28778 -if test $ac_cv_lib_z_compress = yes; then
28779 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress" >&5
28780 +$as_echo "$ac_cv_lib_z_compress" >&6; }
28781 +if test "x$ac_cv_lib_z_compress" = x""yes; then
28782 cat >>confdefs.h <<_ACEOF
28783 #define HAVE_LIBZ 1
28785 @@ -19753,10 +20571,10 @@ fi
28789 -echo "$as_me:$LINENO: checking for main in -lmysqlclient" >&5
28790 -echo $ECHO_N "checking for main in -lmysqlclient... $ECHO_C" >&6
28791 +{ $as_echo "$as_me:$LINENO: checking for main in -lmysqlclient" >&5
28792 +$as_echo_n "checking for main in -lmysqlclient... " >&6; }
28793 if test "${ac_cv_lib_mysqlclient_main+set}" = set; then
28794 - echo $ECHO_N "(cached) $ECHO_C" >&6
28795 + $as_echo_n "(cached) " >&6
28797 ac_check_lib_save_LIBS=$LIBS
28798 LIBS="-lmysqlclient $LIBS"
28799 @@ -19771,47 +20589,48 @@ cat >>conftest.$ac_ext <<_ACEOF
28809 rm -f conftest.$ac_objext conftest$ac_exeext
28810 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28811 - (eval $ac_link) 2>conftest.er1
28812 +if { (ac_try="$ac_link"
28813 +case "(($ac_try" in
28814 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28815 + *) ac_try_echo=$ac_try;;
28817 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28818 +$as_echo "$ac_try_echo") >&5
28819 + (eval "$ac_link") 2>conftest.er1
28821 grep -v '^ *+' conftest.er1 >conftest.err
28823 cat conftest.err >&5
28824 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28825 - (exit $ac_status); } &&
28826 - { ac_try='test -z "$ac_c_werror_flag"
28827 - || test ! -s conftest.err'
28828 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28829 - (eval $ac_try) 2>&5
28831 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28832 - (exit $ac_status); }; } &&
28833 - { ac_try='test -s conftest$ac_exeext'
28834 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28835 - (eval $ac_try) 2>&5
28837 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28838 - (exit $ac_status); }; }; then
28839 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28840 + (exit $ac_status); } && {
28841 + test -z "$ac_c_werror_flag" ||
28842 + test ! -s conftest.err
28843 + } && test -s conftest$ac_exeext && {
28844 + test "$cross_compiling" = yes ||
28845 + $as_test_x conftest$ac_exeext
28847 ac_cv_lib_mysqlclient_main=yes
28849 - echo "$as_me: failed program was:" >&5
28850 + $as_echo "$as_me: failed program was:" >&5
28851 sed 's/^/| /' conftest.$ac_ext >&5
28853 -ac_cv_lib_mysqlclient_main=no
28854 + ac_cv_lib_mysqlclient_main=no
28856 -rm -f conftest.err conftest.$ac_objext \
28858 +rm -rf conftest.dSYM
28859 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28860 conftest$ac_exeext conftest.$ac_ext
28861 LIBS=$ac_check_lib_save_LIBS
28863 -echo "$as_me:$LINENO: result: $ac_cv_lib_mysqlclient_main" >&5
28864 -echo "${ECHO_T}$ac_cv_lib_mysqlclient_main" >&6
28865 -if test $ac_cv_lib_mysqlclient_main = yes; then
28866 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mysqlclient_main" >&5
28867 +$as_echo "$ac_cv_lib_mysqlclient_main" >&6; }
28868 +if test "x$ac_cv_lib_mysqlclient_main" = x""yes; then
28869 cat >>confdefs.h <<_ACEOF
28870 #define HAVE_LIBMYSQLCLIENT 1
28872 @@ -19819,16 +20638,16 @@ _ACEOF
28873 LIBS="-lmysqlclient $LIBS"
28876 - { { echo "$as_me:$LINENO: error: Unable find a functioning MySQL library" >&5
28877 -echo "$as_me: error: Unable find a functioning MySQL library" >&2;}
28878 + { { $as_echo "$as_me:$LINENO: error: Unable find a functioning MySQL library" >&5
28879 +$as_echo "$as_me: error: Unable find a functioning MySQL library" >&2;}
28880 { (exit 1); exit 1; }; }
28884 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
28885 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
28886 +{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
28887 +$as_echo_n "checking for ANSI C header files... " >&6; }
28888 if test "${ac_cv_header_stdc+set}" = set; then
28889 - echo $ECHO_N "(cached) $ECHO_C" >&6
28890 + $as_echo_n "(cached) " >&6
28892 cat >conftest.$ac_ext <<_ACEOF
28894 @@ -19850,35 +20669,32 @@ main ()
28897 rm -f conftest.$ac_objext
28898 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28899 - (eval $ac_compile) 2>conftest.er1
28900 +if { (ac_try="$ac_compile"
28901 +case "(($ac_try" in
28902 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28903 + *) ac_try_echo=$ac_try;;
28905 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28906 +$as_echo "$ac_try_echo") >&5
28907 + (eval "$ac_compile") 2>conftest.er1
28909 grep -v '^ *+' conftest.er1 >conftest.err
28911 cat conftest.err >&5
28912 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28913 - (exit $ac_status); } &&
28914 - { ac_try='test -z "$ac_c_werror_flag"
28915 - || test ! -s conftest.err'
28916 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28917 - (eval $ac_try) 2>&5
28919 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28920 - (exit $ac_status); }; } &&
28921 - { ac_try='test -s conftest.$ac_objext'
28922 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28923 - (eval $ac_try) 2>&5
28925 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28926 - (exit $ac_status); }; }; then
28927 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28928 + (exit $ac_status); } && {
28929 + test -z "$ac_c_werror_flag" ||
28930 + test ! -s conftest.err
28931 + } && test -s conftest.$ac_objext; then
28932 ac_cv_header_stdc=yes
28934 - echo "$as_me: failed program was:" >&5
28935 + $as_echo "$as_me: failed program was:" >&5
28936 sed 's/^/| /' conftest.$ac_ext >&5
28938 -ac_cv_header_stdc=no
28939 + ac_cv_header_stdc=no
28941 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28943 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28945 if test $ac_cv_header_stdc = yes; then
28946 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
28947 @@ -19934,6 +20750,7 @@ cat confdefs.h >>conftest.$ac_ext
28948 cat >>conftest.$ac_ext <<_ACEOF
28949 /* end confdefs.h. */
28951 +#include <stdlib.h>
28952 #if ((' ' & 0x0FF) == 0x020)
28953 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
28954 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
28955 @@ -19953,36 +20770,50 @@ main ()
28956 for (i = 0; i < 256; i++)
28957 if (XOR (islower (i), ISLOWER (i))
28958 || toupper (i) != TOUPPER (i))
28965 rm -f conftest$ac_exeext
28966 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28967 - (eval $ac_link) 2>&5
28968 +if { (ac_try="$ac_link"
28969 +case "(($ac_try" in
28970 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28971 + *) ac_try_echo=$ac_try;;
28973 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28974 +$as_echo "$ac_try_echo") >&5
28975 + (eval "$ac_link") 2>&5
28977 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28978 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28979 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28980 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28981 - (eval $ac_try) 2>&5
28982 + { (case "(($ac_try" in
28983 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28984 + *) ac_try_echo=$ac_try;;
28986 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28987 +$as_echo "$ac_try_echo") >&5
28988 + (eval "$ac_try") 2>&5
28990 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28991 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28992 (exit $ac_status); }; }; then
28995 - echo "$as_me: program exited with status $ac_status" >&5
28996 -echo "$as_me: failed program was:" >&5
28997 + $as_echo "$as_me: program exited with status $ac_status" >&5
28998 +$as_echo "$as_me: failed program was:" >&5
28999 sed 's/^/| /' conftest.$ac_ext >&5
29001 ( exit $ac_status )
29002 ac_cv_header_stdc=no
29004 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29005 +rm -rf conftest.dSYM
29006 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29012 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
29013 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
29014 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
29015 +$as_echo "$ac_cv_header_stdc" >&6; }
29016 if test $ac_cv_header_stdc = yes; then
29018 cat >>confdefs.h <<\_ACEOF
29019 @@ -19992,17 +20823,17 @@ _ACEOF
29022 if test "${ac_cv_header_mysql_h+set}" = set; then
29023 - echo "$as_me:$LINENO: checking for mysql.h" >&5
29024 -echo $ECHO_N "checking for mysql.h... $ECHO_C" >&6
29025 + { $as_echo "$as_me:$LINENO: checking for mysql.h" >&5
29026 +$as_echo_n "checking for mysql.h... " >&6; }
29027 if test "${ac_cv_header_mysql_h+set}" = set; then
29028 - echo $ECHO_N "(cached) $ECHO_C" >&6
29029 + $as_echo_n "(cached) " >&6
29031 -echo "$as_me:$LINENO: result: $ac_cv_header_mysql_h" >&5
29032 -echo "${ECHO_T}$ac_cv_header_mysql_h" >&6
29033 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_mysql_h" >&5
29034 +$as_echo "$ac_cv_header_mysql_h" >&6; }
29036 # Is the header compilable?
29037 -echo "$as_me:$LINENO: checking mysql.h usability" >&5
29038 -echo $ECHO_N "checking mysql.h usability... $ECHO_C" >&6
29039 +{ $as_echo "$as_me:$LINENO: checking mysql.h usability" >&5
29040 +$as_echo_n "checking mysql.h usability... " >&6; }
29041 cat >conftest.$ac_ext <<_ACEOF
29044 @@ -20013,41 +20844,38 @@ $ac_includes_default
29047 rm -f conftest.$ac_objext
29048 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29049 - (eval $ac_compile) 2>conftest.er1
29050 +if { (ac_try="$ac_compile"
29051 +case "(($ac_try" in
29052 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29053 + *) ac_try_echo=$ac_try;;
29055 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29056 +$as_echo "$ac_try_echo") >&5
29057 + (eval "$ac_compile") 2>conftest.er1
29059 grep -v '^ *+' conftest.er1 >conftest.err
29061 cat conftest.err >&5
29062 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29063 - (exit $ac_status); } &&
29064 - { ac_try='test -z "$ac_c_werror_flag"
29065 - || test ! -s conftest.err'
29066 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29067 - (eval $ac_try) 2>&5
29069 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29070 - (exit $ac_status); }; } &&
29071 - { ac_try='test -s conftest.$ac_objext'
29072 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29073 - (eval $ac_try) 2>&5
29075 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29076 - (exit $ac_status); }; }; then
29077 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29078 + (exit $ac_status); } && {
29079 + test -z "$ac_c_werror_flag" ||
29080 + test ! -s conftest.err
29081 + } && test -s conftest.$ac_objext; then
29082 ac_header_compiler=yes
29084 - echo "$as_me: failed program was:" >&5
29085 + $as_echo "$as_me: failed program was:" >&5
29086 sed 's/^/| /' conftest.$ac_ext >&5
29088 -ac_header_compiler=no
29089 + ac_header_compiler=no
29091 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29092 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29093 -echo "${ECHO_T}$ac_header_compiler" >&6
29095 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29096 +{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29097 +$as_echo "$ac_header_compiler" >&6; }
29099 # Is the header present?
29100 -echo "$as_me:$LINENO: checking mysql.h presence" >&5
29101 -echo $ECHO_N "checking mysql.h presence... $ECHO_C" >&6
29102 +{ $as_echo "$as_me:$LINENO: checking mysql.h presence" >&5
29103 +$as_echo_n "checking mysql.h presence... " >&6; }
29104 cat >conftest.$ac_ext <<_ACEOF
29107 @@ -20056,83 +20884,76 @@ cat >>conftest.$ac_ext <<_ACEOF
29108 /* end confdefs.h. */
29111 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29112 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29113 +if { (ac_try="$ac_cpp conftest.$ac_ext"
29114 +case "(($ac_try" in
29115 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29116 + *) ac_try_echo=$ac_try;;
29118 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29119 +$as_echo "$ac_try_echo") >&5
29120 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29122 grep -v '^ *+' conftest.er1 >conftest.err
29124 cat conftest.err >&5
29125 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29126 - (exit $ac_status); } >/dev/null; then
29127 - if test -s conftest.err; then
29128 - ac_cpp_err=$ac_c_preproc_warn_flag
29129 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29136 -if test -z "$ac_cpp_err"; then
29137 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29138 + (exit $ac_status); } >/dev/null && {
29139 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29140 + test ! -s conftest.err
29142 ac_header_preproc=yes
29144 - echo "$as_me: failed program was:" >&5
29145 + $as_echo "$as_me: failed program was:" >&5
29146 sed 's/^/| /' conftest.$ac_ext >&5
29148 ac_header_preproc=no
29151 rm -f conftest.err conftest.$ac_ext
29152 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29153 -echo "${ECHO_T}$ac_header_preproc" >&6
29154 +{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29155 +$as_echo "$ac_header_preproc" >&6; }
29157 # So? What about this header?
29158 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29160 - { echo "$as_me:$LINENO: WARNING: mysql.h: accepted by the compiler, rejected by the preprocessor!" >&5
29161 -echo "$as_me: WARNING: mysql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29162 - { echo "$as_me:$LINENO: WARNING: mysql.h: proceeding with the compiler's result" >&5
29163 -echo "$as_me: WARNING: mysql.h: proceeding with the compiler's result" >&2;}
29164 + { $as_echo "$as_me:$LINENO: WARNING: mysql.h: accepted by the compiler, rejected by the preprocessor!" >&5
29165 +$as_echo "$as_me: WARNING: mysql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29166 + { $as_echo "$as_me:$LINENO: WARNING: mysql.h: proceeding with the compiler's result" >&5
29167 +$as_echo "$as_me: WARNING: mysql.h: proceeding with the compiler's result" >&2;}
29168 ac_header_preproc=yes
29171 - { echo "$as_me:$LINENO: WARNING: mysql.h: present but cannot be compiled" >&5
29172 -echo "$as_me: WARNING: mysql.h: present but cannot be compiled" >&2;}
29173 - { echo "$as_me:$LINENO: WARNING: mysql.h: check for missing prerequisite headers?" >&5
29174 -echo "$as_me: WARNING: mysql.h: check for missing prerequisite headers?" >&2;}
29175 - { echo "$as_me:$LINENO: WARNING: mysql.h: see the Autoconf documentation" >&5
29176 -echo "$as_me: WARNING: mysql.h: see the Autoconf documentation" >&2;}
29177 - { echo "$as_me:$LINENO: WARNING: mysql.h: section \"Present But Cannot Be Compiled\"" >&5
29178 -echo "$as_me: WARNING: mysql.h: section \"Present But Cannot Be Compiled\"" >&2;}
29179 - { echo "$as_me:$LINENO: WARNING: mysql.h: proceeding with the preprocessor's result" >&5
29180 -echo "$as_me: WARNING: mysql.h: proceeding with the preprocessor's result" >&2;}
29181 - { echo "$as_me:$LINENO: WARNING: mysql.h: in the future, the compiler will take precedence" >&5
29182 -echo "$as_me: WARNING: mysql.h: in the future, the compiler will take precedence" >&2;}
29185 -## ------------------------------------------ ##
29186 -## Report this to the AC_PACKAGE_NAME lists. ##
29187 -## ------------------------------------------ ##
29190 - sed "s/^/$as_me: WARNING: /" >&2
29191 + { $as_echo "$as_me:$LINENO: WARNING: mysql.h: present but cannot be compiled" >&5
29192 +$as_echo "$as_me: WARNING: mysql.h: present but cannot be compiled" >&2;}
29193 + { $as_echo "$as_me:$LINENO: WARNING: mysql.h: check for missing prerequisite headers?" >&5
29194 +$as_echo "$as_me: WARNING: mysql.h: check for missing prerequisite headers?" >&2;}
29195 + { $as_echo "$as_me:$LINENO: WARNING: mysql.h: see the Autoconf documentation" >&5
29196 +$as_echo "$as_me: WARNING: mysql.h: see the Autoconf documentation" >&2;}
29197 + { $as_echo "$as_me:$LINENO: WARNING: mysql.h: section \"Present But Cannot Be Compiled\"" >&5
29198 +$as_echo "$as_me: WARNING: mysql.h: section \"Present But Cannot Be Compiled\"" >&2;}
29199 + { $as_echo "$as_me:$LINENO: WARNING: mysql.h: proceeding with the preprocessor's result" >&5
29200 +$as_echo "$as_me: WARNING: mysql.h: proceeding with the preprocessor's result" >&2;}
29201 + { $as_echo "$as_me:$LINENO: WARNING: mysql.h: in the future, the compiler will take precedence" >&5
29202 +$as_echo "$as_me: WARNING: mysql.h: in the future, the compiler will take precedence" >&2;}
29206 -echo "$as_me:$LINENO: checking for mysql.h" >&5
29207 -echo $ECHO_N "checking for mysql.h... $ECHO_C" >&6
29208 +{ $as_echo "$as_me:$LINENO: checking for mysql.h" >&5
29209 +$as_echo_n "checking for mysql.h... " >&6; }
29210 if test "${ac_cv_header_mysql_h+set}" = set; then
29211 - echo $ECHO_N "(cached) $ECHO_C" >&6
29212 + $as_echo_n "(cached) " >&6
29214 ac_cv_header_mysql_h=$ac_header_preproc
29216 -echo "$as_me:$LINENO: result: $ac_cv_header_mysql_h" >&5
29217 -echo "${ECHO_T}$ac_cv_header_mysql_h" >&6
29218 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_mysql_h" >&5
29219 +$as_echo "$ac_cv_header_mysql_h" >&6; }
29222 -if test $ac_cv_header_mysql_h = yes; then
29223 +if test "x$ac_cv_header_mysql_h" = x""yes; then
29226 - { { echo "$as_me:$LINENO: error: Unable to find mysql.h" >&5
29227 -echo "$as_me: error: Unable to find mysql.h" >&2;}
29228 + { { $as_echo "$as_me:$LINENO: error: Unable to find mysql.h" >&5
29229 +$as_echo "$as_me: error: Unable to find mysql.h" >&2;}
29230 { (exit 1); exit 1; }; }
29233 @@ -20144,19 +20965,21 @@ fi
29235 for ac_header in syslog.h stdint.h nss.h nss_common.h shadow.h
29237 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29238 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
29239 - echo "$as_me:$LINENO: checking for $ac_header" >&5
29240 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29241 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
29242 - echo $ECHO_N "(cached) $ECHO_C" >&6
29244 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29245 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29246 +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
29247 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29248 + { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
29249 +$as_echo_n "checking for $ac_header... " >&6; }
29250 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29251 + $as_echo_n "(cached) " >&6
29253 +ac_res=`eval 'as_val=${'$as_ac_Header'}
29254 + $as_echo "$as_val"'`
29255 + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29256 +$as_echo "$ac_res" >&6; }
29258 # Is the header compilable?
29259 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
29260 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29261 +{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
29262 +$as_echo_n "checking $ac_header usability... " >&6; }
29263 cat >conftest.$ac_ext <<_ACEOF
29266 @@ -20167,41 +20990,38 @@ $ac_includes_default
29267 #include <$ac_header>
29269 rm -f conftest.$ac_objext
29270 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29271 - (eval $ac_compile) 2>conftest.er1
29272 +if { (ac_try="$ac_compile"
29273 +case "(($ac_try" in
29274 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29275 + *) ac_try_echo=$ac_try;;
29277 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29278 +$as_echo "$ac_try_echo") >&5
29279 + (eval "$ac_compile") 2>conftest.er1
29281 grep -v '^ *+' conftest.er1 >conftest.err
29283 cat conftest.err >&5
29284 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29285 - (exit $ac_status); } &&
29286 - { ac_try='test -z "$ac_c_werror_flag"
29287 - || test ! -s conftest.err'
29288 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29289 - (eval $ac_try) 2>&5
29291 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29292 - (exit $ac_status); }; } &&
29293 - { ac_try='test -s conftest.$ac_objext'
29294 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29295 - (eval $ac_try) 2>&5
29297 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298 - (exit $ac_status); }; }; then
29299 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29300 + (exit $ac_status); } && {
29301 + test -z "$ac_c_werror_flag" ||
29302 + test ! -s conftest.err
29303 + } && test -s conftest.$ac_objext; then
29304 ac_header_compiler=yes
29306 - echo "$as_me: failed program was:" >&5
29307 + $as_echo "$as_me: failed program was:" >&5
29308 sed 's/^/| /' conftest.$ac_ext >&5
29310 -ac_header_compiler=no
29311 + ac_header_compiler=no
29313 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29314 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29315 -echo "${ECHO_T}$ac_header_compiler" >&6
29317 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29318 +{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29319 +$as_echo "$ac_header_compiler" >&6; }
29321 # Is the header present?
29322 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
29323 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29324 +{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
29325 +$as_echo_n "checking $ac_header presence... " >&6; }
29326 cat >conftest.$ac_ext <<_ACEOF
29329 @@ -20210,81 +21030,78 @@ cat >>conftest.$ac_ext <<_ACEOF
29330 /* end confdefs.h. */
29331 #include <$ac_header>
29333 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29334 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29335 +if { (ac_try="$ac_cpp conftest.$ac_ext"
29336 +case "(($ac_try" in
29337 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29338 + *) ac_try_echo=$ac_try;;
29340 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29341 +$as_echo "$ac_try_echo") >&5
29342 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29344 grep -v '^ *+' conftest.er1 >conftest.err
29346 cat conftest.err >&5
29347 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29348 - (exit $ac_status); } >/dev/null; then
29349 - if test -s conftest.err; then
29350 - ac_cpp_err=$ac_c_preproc_warn_flag
29351 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29358 -if test -z "$ac_cpp_err"; then
29359 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29360 + (exit $ac_status); } >/dev/null && {
29361 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29362 + test ! -s conftest.err
29364 ac_header_preproc=yes
29366 - echo "$as_me: failed program was:" >&5
29367 + $as_echo "$as_me: failed program was:" >&5
29368 sed 's/^/| /' conftest.$ac_ext >&5
29370 ac_header_preproc=no
29373 rm -f conftest.err conftest.$ac_ext
29374 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29375 -echo "${ECHO_T}$ac_header_preproc" >&6
29376 +{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29377 +$as_echo "$ac_header_preproc" >&6; }
29379 # So? What about this header?
29380 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29382 - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29383 -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29384 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29385 -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29386 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29387 +$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29388 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29389 +$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29390 ac_header_preproc=yes
29393 - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29394 -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29395 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29396 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29397 - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29398 -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29399 - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29400 -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29401 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29402 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29403 - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29404 -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29407 -## ------------------------------------------ ##
29408 -## Report this to the AC_PACKAGE_NAME lists. ##
29409 -## ------------------------------------------ ##
29412 - sed "s/^/$as_me: WARNING: /" >&2
29413 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29414 +$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29415 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29416 +$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29417 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29418 +$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29419 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29420 +$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29421 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29422 +$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29423 + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29424 +$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29428 -echo "$as_me:$LINENO: checking for $ac_header" >&5
29429 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29430 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
29431 - echo $ECHO_N "(cached) $ECHO_C" >&6
29432 +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
29433 +$as_echo_n "checking for $ac_header... " >&6; }
29434 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29435 + $as_echo_n "(cached) " >&6
29437 eval "$as_ac_Header=\$ac_header_preproc"
29439 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29440 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29441 +ac_res=`eval 'as_val=${'$as_ac_Header'}
29442 + $as_echo "$as_val"'`
29443 + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29444 +$as_echo "$ac_res" >&6; }
29447 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
29448 +as_val=`eval 'as_val=${'$as_ac_Header'}
29449 + $as_echo "$as_val"'`
29450 + if test "x$as_val" = x""yes; then
29451 cat >>confdefs.h <<_ACEOF
29452 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29453 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
29457 @@ -20292,10 +21109,10 @@ fi
29461 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
29462 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
29463 +{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
29464 +$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
29465 if test "${ac_cv_c_const+set}" = set; then
29466 - echo $ECHO_N "(cached) $ECHO_C" >&6
29467 + $as_echo_n "(cached) " >&6
29469 cat >conftest.$ac_ext <<_ACEOF
29471 @@ -20311,10 +21128,10 @@ main ()
29472 #ifndef __cplusplus
29473 /* Ultrix mips cc rejects this. */
29474 typedef int charset[2];
29476 + const charset cs;
29477 /* SunOS 4.1.1 cc rejects this. */
29478 - char const *const *ccp;
29480 + char const *const *pcpcc;
29482 /* NEC SVR4.0.2 mips cc rejects this. */
29483 struct point {int x, y;};
29484 static struct point const zero = {0,0};
29485 @@ -20323,16 +21140,17 @@ main ()
29486 an arm of an if-expression whose if-part is not a constant
29488 const char *g = "string";
29489 - ccp = &g + (g ? g-g : 0);
29490 + pcpcc = &g + (g ? g-g : 0);
29491 /* HPUX 7.0 cc rejects these. */
29493 - p = (char**) ccp;
29494 - ccp = (char const *const *) p;
29496 + ppc = (char**) pcpcc;
29497 + pcpcc = (char const *const *) ppc;
29498 { /* SCO 3.2v4 cc rejects this. */
29500 char const *s = 0 ? (char *) 0 : (char const *) 0;
29505 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
29506 int x[] = {25, 17};
29507 @@ -20351,7 +21169,9 @@ main ()
29509 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
29510 const int foo = 10;
29511 + if (!foo) return 0;
29513 + return !cs[0] && !zero.x;
29517 @@ -20359,50 +21179,47 @@ main ()
29520 rm -f conftest.$ac_objext
29521 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29522 - (eval $ac_compile) 2>conftest.er1
29523 +if { (ac_try="$ac_compile"
29524 +case "(($ac_try" in
29525 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29526 + *) ac_try_echo=$ac_try;;
29528 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29529 +$as_echo "$ac_try_echo") >&5
29530 + (eval "$ac_compile") 2>conftest.er1
29532 grep -v '^ *+' conftest.er1 >conftest.err
29534 cat conftest.err >&5
29535 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29536 - (exit $ac_status); } &&
29537 - { ac_try='test -z "$ac_c_werror_flag"
29538 - || test ! -s conftest.err'
29539 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29540 - (eval $ac_try) 2>&5
29542 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29543 - (exit $ac_status); }; } &&
29544 - { ac_try='test -s conftest.$ac_objext'
29545 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29546 - (eval $ac_try) 2>&5
29548 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29549 - (exit $ac_status); }; }; then
29550 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29551 + (exit $ac_status); } && {
29552 + test -z "$ac_c_werror_flag" ||
29553 + test ! -s conftest.err
29554 + } && test -s conftest.$ac_objext; then
29557 - echo "$as_me: failed program was:" >&5
29558 + $as_echo "$as_me: failed program was:" >&5
29559 sed 's/^/| /' conftest.$ac_ext >&5
29564 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29566 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29568 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
29569 -echo "${ECHO_T}$ac_cv_c_const" >&6
29570 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
29571 +$as_echo "$ac_cv_c_const" >&6; }
29572 if test $ac_cv_c_const = no; then
29574 cat >>confdefs.h <<\_ACEOF
29576 +#define const /**/
29581 -echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
29582 -echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
29583 +{ $as_echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
29584 +$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
29585 if test "${ac_cv_type_uid_t+set}" = set; then
29586 - echo $ECHO_N "(cached) $ECHO_C" >&6
29587 + $as_echo_n "(cached) " >&6
29589 cat >conftest.$ac_ext <<_ACEOF
29591 @@ -20422,8 +21239,8 @@ fi
29595 -echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29596 -echo "${ECHO_T}$ac_cv_type_uid_t" >&6
29597 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29598 +$as_echo "$ac_cv_type_uid_t" >&6; }
29599 if test $ac_cv_type_uid_t = no; then
29601 cat >>confdefs.h <<\_ACEOF
29602 @@ -20437,12 +21254,13 @@ _ACEOF
29606 -echo "$as_me:$LINENO: checking for size_t" >&5
29607 -echo $ECHO_N "checking for size_t... $ECHO_C" >&6
29608 +{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
29609 +$as_echo_n "checking for size_t... " >&6; }
29610 if test "${ac_cv_type_size_t+set}" = set; then
29611 - echo $ECHO_N "(cached) $ECHO_C" >&6
29612 + $as_echo_n "(cached) " >&6
29614 - cat >conftest.$ac_ext <<_ACEOF
29615 + ac_cv_type_size_t=no
29616 +cat >conftest.$ac_ext <<_ACEOF
29619 cat confdefs.h >>conftest.$ac_ext
29620 @@ -20452,63 +21270,101 @@ $ac_includes_default
29626 if (sizeof (size_t))
29633 rm -f conftest.$ac_objext
29634 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29635 - (eval $ac_compile) 2>conftest.er1
29636 +if { (ac_try="$ac_compile"
29637 +case "(($ac_try" in
29638 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29639 + *) ac_try_echo=$ac_try;;
29641 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29642 +$as_echo "$ac_try_echo") >&5
29643 + (eval "$ac_compile") 2>conftest.er1
29645 grep -v '^ *+' conftest.er1 >conftest.err
29647 cat conftest.err >&5
29648 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29649 - (exit $ac_status); } &&
29650 - { ac_try='test -z "$ac_c_werror_flag"
29651 - || test ! -s conftest.err'
29652 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29653 - (eval $ac_try) 2>&5
29655 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 - (exit $ac_status); }; } &&
29657 - { ac_try='test -s conftest.$ac_objext'
29658 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29659 - (eval $ac_try) 2>&5
29660 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29661 + (exit $ac_status); } && {
29662 + test -z "$ac_c_werror_flag" ||
29663 + test ! -s conftest.err
29664 + } && test -s conftest.$ac_objext; then
29665 + cat >conftest.$ac_ext <<_ACEOF
29668 +cat confdefs.h >>conftest.$ac_ext
29669 +cat >>conftest.$ac_ext <<_ACEOF
29670 +/* end confdefs.h. */
29671 +$ac_includes_default
29675 +if (sizeof ((size_t)))
29681 +rm -f conftest.$ac_objext
29682 +if { (ac_try="$ac_compile"
29683 +case "(($ac_try" in
29684 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29685 + *) ac_try_echo=$ac_try;;
29687 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29688 +$as_echo "$ac_try_echo") >&5
29689 + (eval "$ac_compile") 2>conftest.er1
29691 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29692 - (exit $ac_status); }; }; then
29693 - ac_cv_type_size_t=yes
29694 + grep -v '^ *+' conftest.er1 >conftest.err
29695 + rm -f conftest.er1
29696 + cat conftest.err >&5
29697 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29698 + (exit $ac_status); } && {
29699 + test -z "$ac_c_werror_flag" ||
29700 + test ! -s conftest.err
29701 + } && test -s conftest.$ac_objext; then
29704 - echo "$as_me: failed program was:" >&5
29705 + $as_echo "$as_me: failed program was:" >&5
29706 sed 's/^/| /' conftest.$ac_ext >&5
29708 -ac_cv_type_size_t=no
29709 + ac_cv_type_size_t=yes
29711 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29713 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29715 + $as_echo "$as_me: failed program was:" >&5
29716 +sed 's/^/| /' conftest.$ac_ext >&5
29721 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29723 -echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29724 -echo "${ECHO_T}$ac_cv_type_size_t" >&6
29725 -if test $ac_cv_type_size_t = yes; then
29726 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29727 +$as_echo "$ac_cv_type_size_t" >&6; }
29728 +if test "x$ac_cv_type_size_t" = x""yes; then
29732 cat >>confdefs.h <<_ACEOF
29733 -#define size_t unsigned
29734 +#define size_t unsigned int
29739 -echo "$as_me:$LINENO: checking for socklen_t" >&5
29740 -echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
29741 +{ $as_echo "$as_me:$LINENO: checking for socklen_t" >&5
29742 +$as_echo_n "checking for socklen_t... " >&6; }
29743 if test "${ac_cv_type_socklen_t+set}" = set; then
29744 - echo $ECHO_N "(cached) $ECHO_C" >&6
29745 + $as_echo_n "(cached) " >&6
29747 - cat >conftest.$ac_ext <<_ACEOF
29748 + ac_cv_type_socklen_t=no
29749 +cat >conftest.$ac_ext <<_ACEOF
29752 cat confdefs.h >>conftest.$ac_ext
29753 @@ -20522,48 +21378,89 @@ cat >>conftest.$ac_ext <<_ACEOF
29757 -if ((socklen_t *) 0)
29759 if (sizeof (socklen_t))
29766 rm -f conftest.$ac_objext
29767 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29768 - (eval $ac_compile) 2>conftest.er1
29769 +if { (ac_try="$ac_compile"
29770 +case "(($ac_try" in
29771 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29772 + *) ac_try_echo=$ac_try;;
29774 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29775 +$as_echo "$ac_try_echo") >&5
29776 + (eval "$ac_compile") 2>conftest.er1
29778 grep -v '^ *+' conftest.er1 >conftest.err
29780 cat conftest.err >&5
29781 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29782 - (exit $ac_status); } &&
29783 - { ac_try='test -z "$ac_c_werror_flag"
29784 - || test ! -s conftest.err'
29785 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29786 - (eval $ac_try) 2>&5
29788 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29789 - (exit $ac_status); }; } &&
29790 - { ac_try='test -s conftest.$ac_objext'
29791 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29792 - (eval $ac_try) 2>&5
29793 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29794 + (exit $ac_status); } && {
29795 + test -z "$ac_c_werror_flag" ||
29796 + test ! -s conftest.err
29797 + } && test -s conftest.$ac_objext; then
29798 + cat >conftest.$ac_ext <<_ACEOF
29801 +cat confdefs.h >>conftest.$ac_ext
29802 +cat >>conftest.$ac_ext <<_ACEOF
29803 +/* end confdefs.h. */
29805 +#include <unistd.h>
29806 +#include <sys/socket.h>
29812 +if (sizeof ((socklen_t)))
29818 +rm -f conftest.$ac_objext
29819 +if { (ac_try="$ac_compile"
29820 +case "(($ac_try" in
29821 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29822 + *) ac_try_echo=$ac_try;;
29824 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29825 +$as_echo "$ac_try_echo") >&5
29826 + (eval "$ac_compile") 2>conftest.er1
29828 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29829 - (exit $ac_status); }; }; then
29830 - ac_cv_type_socklen_t=yes
29831 + grep -v '^ *+' conftest.er1 >conftest.err
29832 + rm -f conftest.er1
29833 + cat conftest.err >&5
29834 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 + (exit $ac_status); } && {
29836 + test -z "$ac_c_werror_flag" ||
29837 + test ! -s conftest.err
29838 + } && test -s conftest.$ac_objext; then
29841 + $as_echo "$as_me: failed program was:" >&5
29842 +sed 's/^/| /' conftest.$ac_ext >&5
29844 + ac_cv_type_socklen_t=yes
29847 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29849 - echo "$as_me: failed program was:" >&5
29850 + $as_echo "$as_me: failed program was:" >&5
29851 sed 's/^/| /' conftest.$ac_ext >&5
29853 -ac_cv_type_socklen_t=no
29856 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29858 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29860 -echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
29861 -echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
29862 -if test $ac_cv_type_socklen_t = yes; then
29863 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
29864 +$as_echo "$ac_cv_type_socklen_t" >&6; }
29865 +if test "x$ac_cv_type_socklen_t" = x""yes; then
29867 cat >>confdefs.h <<_ACEOF
29868 #define HAVE_SOCKLEN_T 1
29869 @@ -20585,7 +21482,7 @@ cat >>confdefs.h <<_ACEOF
29873 - ac_config_files="$ac_config_files Makefile src/Makefile src/version.c"
29874 +ac_config_files="$ac_config_files Makefile src/Makefile src/version.c"
29876 cat >confcache <<\_ACEOF
29877 # This file is a shell script that caches the results of configure
29878 @@ -20605,39 +21502,59 @@ _ACEOF
29880 # The following way of writing the cache mishandles newlines in values,
29881 # but we know of no workaround that is simple, portable, and efficient.
29882 -# So, don't put newlines in cache variables' values.
29883 +# So, we kill variables containing newlines.
29884 # Ultrix sh set writes to stderr and can't be redirected directly,
29885 # and sets the high bit in the cache file unless we assign to the vars.
29888 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
29889 + eval ac_val=\$$ac_var
29890 + case $ac_val in #(
29892 + case $ac_var in #(
29893 + *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
29894 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
29896 + case $ac_var in #(
29897 + _ | IFS | as_nl) ;; #(
29898 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
29899 + *) $as_unset $ac_var ;;
29905 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
29907 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
29908 + *${as_nl}ac_space=\ *)
29909 # `set' does not quote correctly, so add quotes (double-quote
29910 # substitution turns \\\\ into \\, and sed turns \\ into \).
29913 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29917 # `set' quotes correctly as required by POSIX, so do not add quotes.
29919 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29920 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
29928 + /^ac_cv_env_/b end
29932 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29934 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29935 - : end' >>confcache
29936 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
29937 - if test -w $cache_file; then
29938 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29939 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29940 + :end' >>confcache
29941 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
29942 + if test -w "$cache_file"; then
29943 + test "x$cache_file" != "x/dev/null" &&
29944 + { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
29945 +$as_echo "$as_me: updating cache $cache_file" >&6;}
29946 cat confcache >$cache_file
29948 - echo "not updating unwritable cache $cache_file"
29949 + { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
29950 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
29954 @@ -20646,32 +21563,18 @@ test "x$prefix" = xNONE && prefix=$ac_default_prefix
29955 # Let make expand exec_prefix.
29956 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
29958 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
29959 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
29960 -# trailing colons and then remove the whole line if VPATH becomes empty
29961 -# (actually we leave an empty line to preserve line numbers).
29962 -if test "x$srcdir" = x.; then
29963 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
29964 -s/:*\$(srcdir):*/:/;
29965 -s/:*\${srcdir}:*/:/;
29966 -s/:*@srcdir@:*/:/;
29967 -s/^\([^=]*=[ ]*\):*/\1/;
29973 DEFS=-DHAVE_CONFIG_H
29977 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
29978 # 1. Remove the extension, and $U if already installed.
29979 - ac_i=`echo "$ac_i" |
29980 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
29982 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
29983 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
29984 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
29985 + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
29986 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
29987 + # will be set to the directory where LIBOBJS objects are built.
29988 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
29989 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
29991 LIBOBJS=$ac_libobjs
29993 @@ -20679,47 +21582,48 @@ LTLIBOBJS=$ac_ltlibobjs
29996 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
29997 - { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
29998 + { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
29999 Usually this means the macro was only invoked conditionally." >&5
30000 -echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
30001 +$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
30002 Usually this means the macro was only invoked conditionally." >&2;}
30003 { (exit 1); exit 1; }; }
30005 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
30006 - { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
30007 + { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
30008 Usually this means the macro was only invoked conditionally." >&5
30009 -echo "$as_me: error: conditional \"AMDEP\" was never defined.
30010 +$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
30011 Usually this means the macro was only invoked conditionally." >&2;}
30012 { (exit 1); exit 1; }; }
30014 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
30015 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
30016 + { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
30017 Usually this means the macro was only invoked conditionally." >&5
30018 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
30019 +$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
30020 Usually this means the macro was only invoked conditionally." >&2;}
30021 { (exit 1); exit 1; }; }
30023 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
30024 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
30025 + { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
30026 Usually this means the macro was only invoked conditionally." >&5
30027 -echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
30028 +$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
30029 Usually this means the macro was only invoked conditionally." >&2;}
30030 { (exit 1); exit 1; }; }
30032 if test -z "${RENAME_TRUE}" && test -z "${RENAME_FALSE}"; then
30033 - { { echo "$as_me:$LINENO: error: conditional \"RENAME\" was never defined.
30034 + { { $as_echo "$as_me:$LINENO: error: conditional \"RENAME\" was never defined.
30035 Usually this means the macro was only invoked conditionally." >&5
30036 -echo "$as_me: error: conditional \"RENAME\" was never defined.
30037 +$as_echo "$as_me: error: conditional \"RENAME\" was never defined.
30038 Usually this means the macro was only invoked conditionally." >&2;}
30039 { (exit 1); exit 1; }; }
30042 : ${CONFIG_STATUS=./config.status}
30044 ac_clean_files_save=$ac_clean_files
30045 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
30046 -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
30047 -echo "$as_me: creating $CONFIG_STATUS" >&6;}
30048 -cat >$CONFIG_STATUS <<_ACEOF
30049 +{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
30050 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
30051 +cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30053 # Generated by $as_me.
30054 # Run this file to recreate the current configuration.
30055 @@ -20732,22 +21636,78 @@ ac_cs_silent=false
30056 SHELL=\${CONFIG_SHELL-$SHELL}
30059 -cat >>$CONFIG_STATUS <<\_ACEOF
30060 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30061 ## --------------------- ##
30062 ## M4sh Initialization. ##
30063 ## --------------------- ##
30065 -# Be Bourne compatible
30066 +# Be more Bourne compatible
30067 +DUALCASE=1; export DUALCASE # for MKS sh
30068 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
30071 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
30072 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
30073 # is contrary to our usage. Disable this feature.
30074 alias -g '${1+"$@"}'='"$@"'
30075 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
30077 + setopt NO_GLOB_SUBST
30079 + case `(set -o) 2>/dev/null` in
30080 + *posix*) set -o posix ;;
30089 +# Avoid depending upon Character Ranges.
30090 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
30091 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
30092 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
30093 +as_cr_digits='0123456789'
30094 +as_cr_alnum=$as_cr_Letters$as_cr_digits
30099 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
30100 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
30101 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
30102 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
30103 +if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
30104 + as_echo='printf %s\n'
30105 + as_echo_n='printf %s'
30107 + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
30108 + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
30109 + as_echo_n='/usr/ucb/echo -n'
30111 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
30112 + as_echo_n_body='eval
30116 + expr "X$arg" : "X\\(.*\\)$as_nl";
30117 + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
30119 + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
30121 + export as_echo_n_body
30122 + as_echo_n='sh -c $as_echo_n_body as_echo'
30124 + export as_echo_body
30125 + as_echo='sh -c $as_echo_body as_echo'
30128 +# The user is always right.
30129 +if test "${PATH_SEPARATOR+set}" != set; then
30131 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
30132 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
30133 + PATH_SEPARATOR=';'
30136 -DUALCASE=1; export DUALCASE # for MKS sh
30138 # Support unset when possible.
30139 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
30140 @@ -20757,33 +21717,60 @@ else
30145 +# We need space, tab and new line, in precisely that order. Quoting is
30146 +# there to prevent editors from complaining about space-tab.
30147 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
30148 +# splitting by setting IFS to empty value.)
30151 +# Find who we are. Look in the path if we contain no directory separator.
30153 + *[\\/]* ) as_myself=$0 ;;
30154 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30155 +for as_dir in $PATH
30158 + test -z "$as_dir" && as_dir=.
30159 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
30165 +# We did not find ourselves, most probably we were run as `sh COMMAND'
30166 +# in which case we are not to be found in the path.
30167 +if test "x$as_myself" = x; then
30170 +if test ! -f "$as_myself"; then
30171 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
30172 + { (exit 1); exit 1; }
30175 # Work around bugs in pre-3.0 UWIN ksh.
30176 -$as_unset ENV MAIL MAILPATH
30177 +for as_var in ENV MAIL MAILPATH
30178 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
30186 - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
30187 - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
30188 - LC_TELEPHONE LC_TIME
30190 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
30191 - eval $as_var=C; export $as_var
30193 - $as_unset $as_var
30201 # Required to use basename.
30202 -if expr a : '\(a\)' >/dev/null 2>&1; then
30203 +if expr a : '\(a\)' >/dev/null 2>&1 &&
30204 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
30210 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
30211 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
30212 as_basename=basename
30215 @@ -20791,159 +21778,122 @@ fi
30218 # Name of the executable.
30219 -as_me=`$as_basename "$0" ||
30220 +as_me=`$as_basename -- "$0" ||
30221 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
30222 X"$0" : 'X\(//\)$' \| \
30223 - X"$0" : 'X\(/\)$' \| \
30224 - . : '\(.\)' 2>/dev/null ||
30226 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
30227 - /^X\/\(\/\/\)$/{ s//\1/; q; }
30228 - /^X\/\(\/\).*/{ s//\1/; q; }
30231 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
30233 + sed '/^.*\/\([^/][^/]*\)\/*$/{
30247 -# PATH needs CR, and LINENO needs CR and PATH.
30248 -# Avoid depending upon Character Ranges.
30249 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
30250 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
30251 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
30252 -as_cr_digits='0123456789'
30253 -as_cr_alnum=$as_cr_Letters$as_cr_digits
30257 -# The user is always right.
30258 -if test "${PATH_SEPARATOR+set}" != set; then
30259 - echo "#! /bin/sh" >conf$$.sh
30260 - echo "exit 0" >>conf$$.sh
30261 - chmod +x conf$$.sh
30262 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
30263 - PATH_SEPARATOR=';'
30271 as_lineno_1=$LINENO
30272 as_lineno_2=$LINENO
30273 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
30274 test "x$as_lineno_1" != "x$as_lineno_2" &&
30275 - test "x$as_lineno_3" = "x$as_lineno_2" || {
30276 - # Find who we are. Look in the path if we contain no path at all
30277 - # relative or not.
30279 - *[\\/]* ) as_myself=$0 ;;
30280 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30281 -for as_dir in $PATH
30284 - test -z "$as_dir" && as_dir=.
30285 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
30290 - # We did not find ourselves, most probably we were run as `sh COMMAND'
30291 - # in which case we are not to be found in the path.
30292 - if test "x$as_myself" = x; then
30295 - if test ! -f "$as_myself"; then
30296 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
30297 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
30298 - { (exit 1); exit 1; }; }
30300 - case $CONFIG_SHELL in
30302 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30303 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
30306 - test -z "$as_dir" && as_dir=.
30307 - for as_base in sh bash ksh sh5; do
30310 - if ("$as_dir/$as_base" -c '
30311 - as_lineno_1=$LINENO
30312 - as_lineno_2=$LINENO
30313 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
30314 - test "x$as_lineno_1" != "x$as_lineno_2" &&
30315 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
30316 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
30317 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
30318 - CONFIG_SHELL=$as_dir/$as_base
30319 - export CONFIG_SHELL
30320 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
30327 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
30329 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
30330 # uniformly replaced by the line number. The first 'sed' inserts a
30331 - # line-number line before each line; the second 'sed' does the real
30332 - # work. The second script uses 'N' to pair each line-number line
30333 - # with the numbered line, and appends trailing '-' during
30334 - # substitution so that $LINENO is not a special case at line end.
30335 + # line-number line after each line using $LINENO; the second 'sed'
30336 + # does the real work. The second script uses 'N' to pair each
30337 + # line-number line with the line containing $LINENO, and appends
30338 + # trailing '-' during substitution so that $LINENO is not a special
30339 + # case at line end.
30340 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
30341 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
30342 - sed '=' <$as_myself |
30343 + # scripts with optimization help from Paolo Bonzini. Blame Lee
30344 + # E. McMahon (1931-1989) for sed's syntax. :-)
30350 + s/[$]LINENO.*/&-/
30357 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
30359 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
30362 - s,^['$as_cr_digits']*\n,,
30364 ' >$as_me.lineno &&
30365 - chmod +x $as_me.lineno ||
30366 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
30367 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
30368 + chmod +x "$as_me.lineno" ||
30369 + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
30370 { (exit 1); exit 1; }; }
30372 # Don't try to exec as it changes $[0], causing all sort of problems
30373 # (the dirname of $[0] is not the place where we might find the
30374 - # original and so on. Autoconf is especially sensible to this).
30375 - . ./$as_me.lineno
30376 + # original and so on. Autoconf is especially sensitive to this).
30377 + . "./$as_me.lineno"
30378 # Exit status is that of the last command.
30383 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
30384 - *c*,-n*) ECHO_N= ECHO_C='
30386 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
30387 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
30389 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
30390 + as_dirname=dirname
30395 -if expr a : '\(a\)' >/dev/null 2>&1; then
30396 +ECHO_C= ECHO_N= ECHO_T=
30397 +case `echo -n x` in
30399 + case `echo 'x\c'` in
30400 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
30406 +if expr a : '\(a\)' >/dev/null 2>&1 &&
30407 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
30413 rm -f conf$$ conf$$.exe conf$$.file
30415 -if ln -s conf$$.file conf$$ 2>/dev/null; then
30416 - # We could just check for DJGPP; but this test a) works b) is more generic
30417 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
30418 - if test -f conf$$.exe; then
30419 - # Don't use ln at all; we don't have any links
30422 +if test -d conf$$.dir; then
30423 + rm -f conf$$.dir/conf$$.file
30426 + mkdir conf$$.dir 2>/dev/null
30428 +if (echo >conf$$.file) 2>/dev/null; then
30429 + if ln -s conf$$.file conf$$ 2>/dev/null; then
30431 + # ... but there are two gotchas:
30432 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
30433 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
30434 + # In both cases, we have to default to `cp -p'.
30435 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
30437 + elif ln conf$$.file conf$$ 2>/dev/null; then
30442 -elif ln conf$$.file conf$$ 2>/dev/null; then
30447 -rm -f conf$$ conf$$.exe conf$$.file
30448 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
30449 +rmdir conf$$.dir 2>/dev/null
30451 if mkdir -p . 2>/dev/null; then
30453 @@ -20952,7 +21902,28 @@ else
30457 -as_executable_p="test -f"
30458 +if test -x / >/dev/null 2>&1; then
30459 + as_test_x='test -x'
30461 + if ls -dL / >/dev/null 2>&1; then
30468 + if test -d "$1"; then
30474 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
30475 + ???[sx]*):;;*)false;;esac;fi
30479 +as_executable_p=$as_test_x
30481 # Sed expression to map a string onto a valid CPP name.
30482 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
30483 @@ -20961,31 +21932,14 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
30484 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
30488 -# We need space, tab and new line, in precisely that order.
30498 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
30499 +# Save the log message, to keep $[0] and so on meaningful, and to
30500 # report actual input values of CONFIG_FILES etc. instead of their
30501 -# values after options handling. Logging --version etc. is OK.
30502 -exec 5>>config.log
30505 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
30506 -## Running $as_me. ##
30511 +# values after options handling.
30513 This file was extended by $as_me, which was
30514 -generated by GNU Autoconf 2.59. Invocation command line was
30515 +generated by GNU Autoconf 2.63. Invocation command line was
30517 CONFIG_FILES = $CONFIG_FILES
30518 CONFIG_HEADERS = $CONFIG_HEADERS
30519 @@ -20993,45 +21947,45 @@ generated by GNU Autoconf 2.59. Invocation command line was
30520 CONFIG_COMMANDS = $CONFIG_COMMANDS
30524 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
30526 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
30531 -# Files that config.status was made for.
30532 -if test -n "$ac_config_files"; then
30533 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
30535 +case $ac_config_files in *"
30536 +"*) set x $ac_config_files; shift; ac_config_files=$*;;
30539 -if test -n "$ac_config_headers"; then
30540 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
30542 +case $ac_config_headers in *"
30543 +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
30546 -if test -n "$ac_config_links"; then
30547 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
30550 -if test -n "$ac_config_commands"; then
30551 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
30553 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30554 +# Files that config.status was made for.
30555 +config_files="$ac_config_files"
30556 +config_headers="$ac_config_headers"
30557 +config_commands="$ac_config_commands"
30559 -cat >>$CONFIG_STATUS <<\_ACEOF
30562 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30564 \`$as_me' instantiates files from templates according to the
30565 current configuration.
30567 -Usage: $0 [OPTIONS] [FILE]...
30568 +Usage: $0 [OPTION]... [FILE]...
30570 -h, --help print this help, then exit
30571 - -V, --version print version number, then exit
30572 - -q, --quiet do not print progress messages
30573 + -V, --version print version number and configuration settings, then exit
30574 + -q, --quiet, --silent
30575 + do not print progress messages
30576 -d, --debug don't remove temporary files
30577 --recheck update $as_me by reconfiguring in the same conditions
30578 - --file=FILE[:TEMPLATE]
30579 - instantiate the configuration file FILE
30580 - --header=FILE[:TEMPLATE]
30581 - instantiate the configuration header FILE
30582 + --file=FILE[:TEMPLATE]
30583 + instantiate the configuration file FILE
30584 + --header=FILE[:TEMPLATE]
30585 + instantiate the configuration header FILE
30587 Configuration files:
30589 @@ -21043,83 +21997,83 @@ Configuration commands:
30592 Report bugs to <bug-autoconf@gnu.org>."
30595 -cat >>$CONFIG_STATUS <<_ACEOF
30597 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30600 -configured by $0, generated by GNU Autoconf 2.59,
30601 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
30602 +configured by $0, generated by GNU Autoconf 2.63,
30603 + with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
30605 -Copyright (C) 2003 Free Software Foundation, Inc.
30606 +Copyright (C) 2008 Free Software Foundation, Inc.
30607 This config.status script is free software; the Free Software Foundation
30608 gives unlimited permission to copy, distribute and modify it."
30610 -INSTALL="$INSTALL"
30614 +INSTALL='$INSTALL'
30616 +test -n "\$AWK" || AWK=awk
30619 -cat >>$CONFIG_STATUS <<\_ACEOF
30620 -# If no file are specified by the user, then we need to provide default
30621 -# value. By we need to know if files were specified by the user.
30622 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30623 +# The default lists apply if the user does not specify any file.
30629 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
30630 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
30631 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
30632 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
30641 - *) # This is not an option, so the user has probably given explicit
30644 - ac_need_defaults=false;;
30648 # Handling of the options.
30650 -cat >>$CONFIG_STATUS <<\_ACEOF
30651 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
30653 - --version | --vers* | -V )
30654 - echo "$ac_cs_version"; exit 0 ;;
30656 - # Conflict between --help and --header
30657 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
30658 -Try \`$0 --help' for more information." >&5
30659 -echo "$as_me: error: ambiguous option: $1
30660 -Try \`$0 --help' for more information." >&2;}
30661 - { (exit 1); exit 1; }; };;
30662 - --help | --hel | -h )
30663 - echo "$ac_cs_usage"; exit 0 ;;
30664 - --debug | --d* | -d )
30665 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
30666 + $as_echo "$ac_cs_version"; exit ;;
30667 + --debug | --debu | --deb | --de | --d | -d )
30669 --file | --fil | --fi | --f )
30671 - CONFIG_FILES="$CONFIG_FILES $ac_optarg"
30672 + case $ac_optarg in
30673 + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
30675 + CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
30676 ac_need_defaults=false;;
30677 --header | --heade | --head | --hea )
30679 - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
30680 + case $ac_optarg in
30681 + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
30683 + CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
30684 ac_need_defaults=false;;
30686 + # Conflict between --help and --header
30687 + { $as_echo "$as_me: error: ambiguous option: $1
30688 +Try \`$0 --help' for more information." >&2
30689 + { (exit 1); exit 1; }; };;
30690 + --help | --hel | -h )
30691 + $as_echo "$ac_cs_usage"; exit ;;
30692 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
30693 | -silent | --silent | --silen | --sile | --sil | --si | --s)
30696 # This is an error.
30697 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
30698 -Try \`$0 --help' for more information." >&5
30699 -echo "$as_me: error: unrecognized option: $1
30700 -Try \`$0 --help' for more information." >&2;}
30701 + -*) { $as_echo "$as_me: error: unrecognized option: $1
30702 +Try \`$0 --help' for more information." >&2
30703 { (exit 1); exit 1; }; } ;;
30705 - *) ac_config_targets="$ac_config_targets $1" ;;
30706 + *) ac_config_targets="$ac_config_targets $1"
30707 + ac_need_defaults=false ;;
30711 @@ -21133,41 +22087,55 @@ if $ac_cs_silent; then
30715 -cat >>$CONFIG_STATUS <<_ACEOF
30716 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30717 if \$ac_cs_recheck; then
30718 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
30719 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
30720 + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
30722 + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
30723 + CONFIG_SHELL='$SHELL'
30724 + export CONFIG_SHELL
30729 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30730 +exec 5>>config.log
30733 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
30734 +## Running $as_me. ##
30736 + $as_echo "$ac_log"
30739 -cat >>$CONFIG_STATUS <<_ACEOF
30741 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30743 -# INIT-COMMANDS section.
30747 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
30751 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30754 -cat >>$CONFIG_STATUS <<\_ACEOF
30755 +# Handling of arguments.
30756 for ac_config_target in $ac_config_targets
30758 - case "$ac_config_target" in
30759 - # Handling of arguments.
30760 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
30761 - "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
30762 - "src/version.c" ) CONFIG_FILES="$CONFIG_FILES src/version.c" ;;
30763 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
30764 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
30765 - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
30766 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
30767 + case $ac_config_target in
30768 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
30769 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
30770 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
30771 + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
30772 + "src/version.c") CONFIG_FILES="$CONFIG_FILES src/version.c" ;;
30774 + *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
30775 +$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
30776 { (exit 1); exit 1; }; };;
30781 # If the user did not use the arguments to specify the items to instantiate,
30782 # then the envvar interface is used. Set only those that are not.
30783 # We use the long form for the default assignment because of an extremely
30784 @@ -21179,750 +22147,635 @@ if $ac_need_defaults; then
30787 # Have a temporary directory for convenience. Make it in the build tree
30788 -# simply because there is no reason to put it here, and in addition,
30789 +# simply because there is no reason against having it here, and in addition,
30790 # creating and moving files from /tmp can sometimes cause problems.
30791 -# Create a temporary directory, and hook for its removal unless debugging.
30792 +# Hook for its removal unless debugging.
30793 +# Note that there is a small window in which the directory will not be cleaned:
30794 +# after its creation but before its name has been assigned to `$tmp'.
30797 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
30799 + trap 'exit_status=$?
30800 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
30802 trap '{ (exit 1); exit 1; }' 1 2 13 15
30805 # Create a (secure) tmp directory for tmp files.
30808 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
30809 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
30810 test -n "$tmp" && test -d "$tmp"
30813 - tmp=./confstat$$-$RANDOM
30814 - (umask 077 && mkdir $tmp)
30815 + tmp=./conf$$-$RANDOM
30816 + (umask 077 && mkdir "$tmp")
30819 - echo "$me: cannot create a temporary directory in ." >&2
30820 + $as_echo "$as_me: cannot create a temporary directory in ." >&2
30821 { (exit 1); exit 1; }
30824 +# Set up the scripts for CONFIG_FILES section.
30825 +# No need to generate them if there are no CONFIG_FILES.
30826 +# This happens for instance with `./config.status config.h'.
30827 +if test -n "$CONFIG_FILES"; then
30831 +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
30832 +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
30833 + ac_cs_awk_cr='\\r'
30835 + ac_cs_awk_cr=$ac_cr
30838 +echo 'BEGIN {' >"$tmp/subs1.awk" &&
30841 -cat >>$CONFIG_STATUS <<_ACEOF
30844 -# CONFIG_FILES section.
30847 + echo "cat >conf$$subs.awk <<_ACEOF" &&
30848 + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
30850 +} >conf$$subs.sh ||
30851 + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30852 +$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30853 + { (exit 1); exit 1; }; }
30854 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
30856 +for ac_last_try in false false false false false :; do
30857 + . ./conf$$subs.sh ||
30858 + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30859 +$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30860 + { (exit 1); exit 1; }; }
30862 -# No need to generate the scripts if there are no CONFIG_FILES.
30863 -# This happens for instance when ./config.status config.h
30864 -if test -n "\$CONFIG_FILES"; then
30865 - # Protect against being on the right side of a sed subst in config.status.
30866 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
30867 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
30868 -s,@SHELL@,$SHELL,;t t
30869 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
30870 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
30871 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
30872 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
30873 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
30874 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
30875 -s,@exec_prefix@,$exec_prefix,;t t
30876 -s,@prefix@,$prefix,;t t
30877 -s,@program_transform_name@,$program_transform_name,;t t
30878 -s,@bindir@,$bindir,;t t
30879 -s,@sbindir@,$sbindir,;t t
30880 -s,@libexecdir@,$libexecdir,;t t
30881 -s,@datadir@,$datadir,;t t
30882 -s,@sysconfdir@,$sysconfdir,;t t
30883 -s,@sharedstatedir@,$sharedstatedir,;t t
30884 -s,@localstatedir@,$localstatedir,;t t
30885 -s,@libdir@,$libdir,;t t
30886 -s,@includedir@,$includedir,;t t
30887 -s,@oldincludedir@,$oldincludedir,;t t
30888 -s,@infodir@,$infodir,;t t
30889 -s,@mandir@,$mandir,;t t
30890 -s,@build_alias@,$build_alias,;t t
30891 -s,@host_alias@,$host_alias,;t t
30892 -s,@target_alias@,$target_alias,;t t
30893 -s,@DEFS@,$DEFS,;t t
30894 -s,@ECHO_C@,$ECHO_C,;t t
30895 -s,@ECHO_N@,$ECHO_N,;t t
30896 -s,@ECHO_T@,$ECHO_T,;t t
30897 -s,@LIBS@,$LIBS,;t t
30898 -s,@build@,$build,;t t
30899 -s,@build_cpu@,$build_cpu,;t t
30900 -s,@build_vendor@,$build_vendor,;t t
30901 -s,@build_os@,$build_os,;t t
30902 -s,@host@,$host,;t t
30903 -s,@host_cpu@,$host_cpu,;t t
30904 -s,@host_vendor@,$host_vendor,;t t
30905 -s,@host_os@,$host_os,;t t
30906 -s,@target@,$target,;t t
30907 -s,@target_cpu@,$target_cpu,;t t
30908 -s,@target_vendor@,$target_vendor,;t t
30909 -s,@target_os@,$target_os,;t t
30910 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
30911 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
30912 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
30913 -s,@CYGPATH_W@,$CYGPATH_W,;t t
30914 -s,@PACKAGE@,$PACKAGE,;t t
30915 -s,@VERSION@,$VERSION,;t t
30916 -s,@ACLOCAL@,$ACLOCAL,;t t
30917 -s,@AUTOCONF@,$AUTOCONF,;t t
30918 -s,@AUTOMAKE@,$AUTOMAKE,;t t
30919 -s,@AUTOHEADER@,$AUTOHEADER,;t t
30920 -s,@MAKEINFO@,$MAKEINFO,;t t
30921 -s,@install_sh@,$install_sh,;t t
30922 -s,@STRIP@,$STRIP,;t t
30923 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
30924 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
30925 -s,@mkdir_p@,$mkdir_p,;t t
30927 -s,@SET_MAKE@,$SET_MAKE,;t t
30928 -s,@am__leading_dot@,$am__leading_dot,;t t
30929 -s,@AMTAR@,$AMTAR,;t t
30930 -s,@am__tar@,$am__tar,;t t
30931 -s,@am__untar@,$am__untar,;t t
30932 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
30933 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
30934 -s,@MAINT@,$MAINT,;t t
30936 -s,@CFLAGS@,$CFLAGS,;t t
30937 -s,@LDFLAGS@,$LDFLAGS,;t t
30938 -s,@CPPFLAGS@,$CPPFLAGS,;t t
30939 -s,@ac_ct_CC@,$ac_ct_CC,;t t
30940 -s,@EXEEXT@,$EXEEXT,;t t
30941 -s,@OBJEXT@,$OBJEXT,;t t
30942 -s,@DEPDIR@,$DEPDIR,;t t
30943 -s,@am__include@,$am__include,;t t
30944 -s,@am__quote@,$am__quote,;t t
30945 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
30946 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
30947 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
30948 -s,@CCDEPMODE@,$CCDEPMODE,;t t
30949 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
30950 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
30951 -s,@EGREP@,$EGREP,;t t
30952 -s,@LN_S@,$LN_S,;t t
30953 -s,@ECHO@,$ECHO,;t t
30955 -s,@ac_ct_AR@,$ac_ct_AR,;t t
30956 -s,@RANLIB@,$RANLIB,;t t
30957 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
30960 -s,@CXXFLAGS@,$CXXFLAGS,;t t
30961 -s,@ac_ct_CXX@,$ac_ct_CXX,;t t
30962 -s,@CXXDEPMODE@,$CXXDEPMODE,;t t
30963 -s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
30964 -s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
30965 -s,@CXXCPP@,$CXXCPP,;t t
30967 -s,@FFLAGS@,$FFLAGS,;t t
30968 -s,@ac_ct_F77@,$ac_ct_F77,;t t
30969 -s,@LIBTOOL@,$LIBTOOL,;t t
30970 -s,@RENAME_TRUE@,$RENAME_TRUE,;t t
30971 -s,@RENAME_FALSE@,$RENAME_FALSE,;t t
30972 -s,@LIBVER@,$LIBVER,;t t
30974 -s,@LIBOBJS@,$LIBOBJS,;t t
30975 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
30977 + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
30978 + if test $ac_delim_n = $ac_delim_num; then
30980 + elif $ac_last_try; then
30981 + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30982 +$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30983 + { (exit 1); exit 1; }; }
30985 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30988 +rm -f conf$$subs.sh
30990 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30991 +cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
30995 +s/^/S["/; s/!.*/"]=/
31001 +s/'"$ac_delim"'$//
31005 +s/\(.\{148\}\).*/\1/
31007 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
31012 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
31019 +s/\(.\{148\}\).*/\1/
31021 +s/["\\]/\\&/g; s/^/"/; s/$/"/
31025 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
31030 +' <conf$$subs.awk | sed '
31035 +' >>$CONFIG_STATUS || ac_write_fail=1
31036 +rm -f conf$$subs.awk
31037 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31039 +cat >>"\$tmp/subs1.awk" <<_ACAWK &&
31040 + for (key in S) S_is_set[key] = 1
31043 - cat >>$CONFIG_STATUS <<\_ACEOF
31044 - # Split the substitutions into bite-sized pieces for seds with
31045 - # small command number limits, like on Digital OSF/1 and HP-UX.
31046 - ac_max_sed_lines=48
31047 - ac_sed_frag=1 # Number of current file.
31048 - ac_beg=1 # First line for current file.
31049 - ac_end=$ac_max_sed_lines # Line after last line for current file.
31052 - while $ac_more_lines; do
31053 - if test $ac_beg -gt 1; then
31054 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
31056 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
31058 - if test ! -s $tmp/subs.frag; then
31059 - ac_more_lines=false
31061 - # The purpose of the label and of the branching condition is to
31062 - # speed up the sed processing (if there are no `@' at all, there
31063 - # is no need to browse any of the substitutions).
31064 - # These are the two extra sed commands mentioned above.
31066 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
31067 - if test -z "$ac_sed_cmds"; then
31068 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
31070 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
31072 - ac_sed_frag=`expr $ac_sed_frag + 1`
31074 - ac_end=`expr $ac_end + $ac_max_sed_lines`
31077 - if test -z "$ac_sed_cmds"; then
31083 + nfields = split(line, field, "@")
31085 + len = length(field[1])
31086 + for (i = 2; i < nfields; i++) {
31088 + keylen = length(key)
31089 + if (S_is_set[key]) {
31091 + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
31092 + len += length(value) + length(field[++i])
31095 + len += 1 + keylen
31103 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31104 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
31105 + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
31108 +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
31109 + || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
31110 +$as_echo "$as_me: error: could not setup config files machinery" >&2;}
31111 + { (exit 1); exit 1; }; }
31114 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
31115 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
31116 +# trailing colons and then remove the whole line if VPATH becomes empty
31117 +# (actually we leave an empty line to preserve line numbers).
31118 +if test "x$srcdir" = x.; then
31119 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
31120 +s/:*\$(srcdir):*/:/
31121 +s/:*\${srcdir}:*/:/
31123 +s/^\([^=]*=[ ]*\):*/\1/
31129 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31130 fi # test -n "$CONFIG_FILES"
31132 +# Set up the scripts for CONFIG_HEADERS section.
31133 +# No need to generate them if there are no CONFIG_HEADERS.
31134 +# This happens for instance with `./config.status Makefile'.
31135 +if test -n "$CONFIG_HEADERS"; then
31136 +cat >"$tmp/defines.awk" <<\_ACAWK ||
31139 -cat >>$CONFIG_STATUS <<\_ACEOF
31140 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
31141 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
31143 - - | *:- | *:-:* ) # input from stdin
31145 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
31146 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
31147 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
31148 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
31149 - * ) ac_file_in=$ac_file.in ;;
31151 +# Transform confdefs.h into an awk script `defines.awk', embedded as
31152 +# here-document in config.status, that substitutes the proper values into
31153 +# config.h.in to produce config.h.
31155 +# Create a delimiter string that does not exist in confdefs.h, to ease
31156 +# handling of long lines.
31158 +for ac_last_try in false false :; do
31159 + ac_t=`sed -n "/$ac_delim/p" confdefs.h`
31160 + if test -z "$ac_t"; then
31162 + elif $ac_last_try; then
31163 + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
31164 +$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
31165 + { (exit 1); exit 1; }; }
31167 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
31171 +# For the awk script, D is an array of macro values keyed by name,
31172 +# likewise P contains macro parameters if any. Preserve backslash
31173 +# newline sequences.
31175 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
31177 +s/.\{148\}/&'"$ac_delim"'/g
31180 +s/^[ ]*#[ ]*define[ ][ ]*/ /
31187 +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
31189 +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
31193 +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
31194 +D["\1"]=" \3\\\\\\n"\\/p
31196 +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
31201 +s/.\{148\}/&'"$ac_delim"'/g
31206 +s/["\\]/\\&/g; s/^/"/; s/$/"/p
31209 +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
31211 +' <confdefs.h | sed '
31212 +s/'"$ac_delim"'/"\\\
31213 +"/g' >>$CONFIG_STATUS || ac_write_fail=1
31215 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31216 + for (key in D) D_is_set[key] = 1
31219 +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
31221 + split(line, arg, " ")
31222 + if (arg[1] == "#") {
31223 + defundef = arg[2]
31226 + defundef = substr(arg[1], 2)
31229 + split(mac1, mac2, "(") #)
31231 + prefix = substr(line, 1, index(line, defundef) - 1)
31232 + if (D_is_set[macro]) {
31233 + # Preserve the white space surrounding the "#".
31234 + print prefix "define", macro P[macro] D[macro]
31237 + # Replace #undef with comments. This is necessary, for example,
31238 + # in the case of _POSIX_SOURCE, which is predefined and required
31239 + # on some systems where configure will not decide to define it.
31240 + if (defundef == "undef") {
31241 + print "/*", prefix defundef, macro, "*/"
31249 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31250 + { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
31251 +$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
31252 + { (exit 1); exit 1; }; }
31253 +fi # test -n "$CONFIG_HEADERS"
31256 +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
31261 + :[FHLC]) ac_mode=$ac_tag; continue;;
31263 + case $ac_mode$ac_tag in
31265 + :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
31266 +$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
31267 + { (exit 1); exit 1; }; };;
31268 + :[FH]-) ac_tag=-:-;;
31269 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
31280 + :L) ac_source=$1;;
31286 + -) ac_f="$tmp/stdin";;
31287 + *) # Look for the file first in the build tree, then in the source tree
31288 + # (if the path is not absolute). The absolute path cannot be DOS-style,
31289 + # because $ac_f cannot contain `:'.
31290 + test -f "$ac_f" ||
31293 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
31295 + { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
31296 +$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
31297 + { (exit 1); exit 1; }; };;
31299 + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
31300 + ac_file_inputs="$ac_file_inputs '$ac_f'"
31303 + # Let's still pretend it is `configure' which instantiates (i.e., don't
31304 + # use $as_me), people would be surprised to read:
31305 + # /* config.h. Generated by config.status. */
31306 + configure_input='Generated from '`
31307 + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
31308 + `' by configure.'
31309 + if test x"$ac_file" != x-; then
31310 + configure_input="$ac_file. $configure_input"
31311 + { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
31312 +$as_echo "$as_me: creating $ac_file" >&6;}
31314 + # Neutralize special characters interpreted by sed in replacement strings.
31315 + case $configure_input in #(
31316 + *\&* | *\|* | *\\* )
31317 + ac_sed_conf_input=`$as_echo "$configure_input" |
31318 + sed 's/[\\\\&|]/\\\\&/g'`;; #(
31319 + *) ac_sed_conf_input=$configure_input;;
31323 + *:-:* | *:-) cat >"$tmp/stdin" \
31324 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
31325 +$as_echo "$as_me: error: could not create $ac_file" >&2;}
31326 + { (exit 1); exit 1; }; } ;;
31331 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
31332 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
31333 + ac_dir=`$as_dirname -- "$ac_file" ||
31334 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31335 X"$ac_file" : 'X\(//\)[^/]' \| \
31336 X"$ac_file" : 'X\(//\)$' \| \
31337 - X"$ac_file" : 'X\(/\)' \| \
31338 - . : '\(.\)' 2>/dev/null ||
31339 -echo X"$ac_file" |
31340 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31341 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31342 - /^X\(\/\/\)$/{ s//\1/; q; }
31343 - /^X\(\/\).*/{ s//\1/; q; }
31345 - { if $as_mkdir_p; then
31346 - mkdir -p "$ac_dir"
31349 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
31350 +$as_echo X"$ac_file" |
31351 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31355 + /^X\(\/\/\)[^/].*/{
31368 + { as_dir="$ac_dir"
31369 + case $as_dir in #(
31370 + -*) as_dir=./$as_dir;;
31372 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
31374 - while test ! -d "$as_dir"; do
31375 - as_dirs="$as_dir $as_dirs"
31376 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
31378 + case $as_dir in #(
31379 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
31380 + *) as_qdir=$as_dir;;
31382 + as_dirs="'$as_qdir' $as_dirs"
31383 + as_dir=`$as_dirname -- "$as_dir" ||
31384 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31385 X"$as_dir" : 'X\(//\)[^/]' \| \
31386 X"$as_dir" : 'X\(//\)$' \| \
31387 - X"$as_dir" : 'X\(/\)' \| \
31388 - . : '\(.\)' 2>/dev/null ||
31390 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31391 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31392 - /^X\(\/\/\)$/{ s//\1/; q; }
31393 - /^X\(\/\).*/{ s//\1/; q; }
31395 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
31396 +$as_echo X"$as_dir" |
31397 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31401 + /^X\(\/\/\)[^/].*/{
31414 + test -d "$as_dir" && break
31416 - test ! -n "$as_dirs" || mkdir $as_dirs
31417 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31418 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31419 + test -z "$as_dirs" || eval "mkdir $as_dirs"
31420 + } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
31421 +$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
31422 { (exit 1); exit 1; }; }; }
31426 -if test "$ac_dir" != .; then
31427 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31428 - # A "../" for each directory in $ac_dir_suffix.
31429 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31431 - ac_dir_suffix= ac_top_builddir=
31434 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
31436 + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
31437 + # A ".." for each directory in $ac_dir_suffix.
31438 + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
31439 + case $ac_top_builddir_sub in
31440 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
31441 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
31444 +ac_abs_top_builddir=$ac_pwd
31445 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
31446 +# for backward compatibility:
31447 +ac_top_builddir=$ac_top_build_prefix
31450 - .) # No --srcdir option. We are building in place.
31451 + .) # We are building in place.
31453 - if test -z "$ac_top_builddir"; then
31456 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
31458 - [\\/]* | ?:[\\/]* ) # Absolute path.
31459 + ac_top_srcdir=$ac_top_builddir_sub
31460 + ac_abs_top_srcdir=$ac_pwd ;;
31461 + [\\/]* | ?:[\\/]* ) # Absolute name.
31462 ac_srcdir=$srcdir$ac_dir_suffix;
31463 - ac_top_srcdir=$srcdir ;;
31464 - *) # Relative path.
31465 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
31466 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
31467 + ac_top_srcdir=$srcdir
31468 + ac_abs_top_srcdir=$srcdir ;;
31469 + *) # Relative name.
31470 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
31471 + ac_top_srcdir=$ac_top_build_prefix$srcdir
31472 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
31474 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
31476 -# Do not use `cd foo && pwd` to compute absolute paths, because
31477 -# the directories may not exist.
31479 -.) ac_abs_builddir="$ac_dir";;
31481 - case "$ac_dir" in
31482 - .) ac_abs_builddir=`pwd`;;
31483 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
31484 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
31487 -case $ac_abs_builddir in
31488 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
31490 - case ${ac_top_builddir}. in
31491 - .) ac_abs_top_builddir=$ac_abs_builddir;;
31492 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
31493 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
31496 -case $ac_abs_builddir in
31497 -.) ac_abs_srcdir=$ac_srcdir;;
31499 - case $ac_srcdir in
31500 - .) ac_abs_srcdir=$ac_abs_builddir;;
31501 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
31502 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
31505 -case $ac_abs_builddir in
31506 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
31508 - case $ac_top_srcdir in
31509 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
31510 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
31511 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
31522 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
31523 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
31524 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
31528 - if test x"$ac_file" != x-; then
31529 - { echo "$as_me:$LINENO: creating $ac_file" >&5
31530 -echo "$as_me: creating $ac_file" >&6;}
31533 - # Let's still pretend it is `configure' which instantiates (i.e., don't
31534 - # use $as_me), people would be surprised to read:
31535 - # /* config.h. Generated by config.status. */
31536 - if test x"$ac_file" = x-; then
31539 - configure_input="$ac_file. "
31541 - configure_input=$configure_input"Generated from `echo $ac_file_in |
31542 - sed 's,.*/,,'` by configure."
31544 - # First look for the input files in the build tree, otherwise in the
31546 - ac_file_inputs=`IFS=:
31547 - for f in $ac_file_in; do
31549 - -) echo $tmp/stdin ;;
31551 - # Absolute (can't be DOS-style, as IFS=:)
31552 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31553 -echo "$as_me: error: cannot find input file: $f" >&2;}
31554 - { (exit 1); exit 1; }; }
31557 - if test -f "$f"; then
31560 - elif test -f "$srcdir/$f"; then
31562 - echo "$srcdir/$f"
31565 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31566 -echo "$as_me: error: cannot find input file: $f" >&2;}
31567 - { (exit 1); exit 1; }; }
31570 - done` || { (exit 1); exit 1; }
31571 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31572 +# If the template does not know about datarootdir, expand it.
31573 +# FIXME: This hack should be removed a few years after 2.60.
31574 +ac_datarootdir_hack=; ac_datarootdir_seen=
31587 +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
31588 +*datarootdir*) ac_datarootdir_seen=yes;;
31589 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
31590 + { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
31591 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
31593 -cat >>$CONFIG_STATUS <<_ACEOF
31595 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31596 + ac_datarootdir_hack='
31597 + s&@datadir@&$datadir&g
31598 + s&@docdir@&$docdir&g
31599 + s&@infodir@&$infodir&g
31600 + s&@localedir@&$localedir&g
31601 + s&@mandir@&$mandir&g
31602 + s&\\\${datarootdir}&$datarootdir&g' ;;
31606 +# Neutralize VPATH when `$srcdir' = `.'.
31607 +# Shell code in configure.ac might set extrasub.
31608 +# FIXME: do we really want to maintain this feature?
31609 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31610 +ac_sed_extra="$ac_vpsub
31613 -cat >>$CONFIG_STATUS <<\_ACEOF
31614 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31616 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
31617 -s,@configure_input@,$configure_input,;t t
31618 -s,@srcdir@,$ac_srcdir,;t t
31619 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
31620 -s,@top_srcdir@,$ac_top_srcdir,;t t
31621 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
31622 -s,@builddir@,$ac_builddir,;t t
31623 -s,@abs_builddir@,$ac_abs_builddir,;t t
31624 -s,@top_builddir@,$ac_top_builddir,;t t
31625 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
31626 -s,@INSTALL@,$ac_INSTALL,;t t
31627 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
31629 - if test x"$ac_file" != x-; then
31630 - mv $tmp/out $ac_file
31638 -cat >>$CONFIG_STATUS <<\_ACEOF
31639 +s|@configure_input@|$ac_sed_conf_input|;t t
31640 +s&@top_builddir@&$ac_top_builddir_sub&;t t
31641 +s&@top_build_prefix@&$ac_top_build_prefix&;t t
31642 +s&@srcdir@&$ac_srcdir&;t t
31643 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
31644 +s&@top_srcdir@&$ac_top_srcdir&;t t
31645 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
31646 +s&@builddir@&$ac_builddir&;t t
31647 +s&@abs_builddir@&$ac_abs_builddir&;t t
31648 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
31649 +s&@INSTALL@&$ac_INSTALL&;t t
31650 +$ac_datarootdir_hack
31652 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
31653 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
31654 +$as_echo "$as_me: error: could not create $ac_file" >&2;}
31655 + { (exit 1); exit 1; }; }
31658 -# CONFIG_HEADER section.
31660 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
31661 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
31662 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
31663 + { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
31664 +which seems to be undefined. Please make sure it is defined." >&5
31665 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
31666 +which seems to be undefined. Please make sure it is defined." >&2;}
31668 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
31669 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
31671 -# ac_d sets the value in "#define NAME VALUE" lines.
31672 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
31673 -ac_dB='[ ].*$,\1#\2'
31676 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
31677 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
31678 -ac_uB='$,\1#\2define\3'
31682 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
31683 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
31684 + rm -f "$tmp/stdin"
31686 - - | *:- | *:-:* ) # input from stdin
31688 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
31689 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
31690 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
31691 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
31692 - * ) ac_file_in=$ac_file.in ;;
31695 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
31696 -echo "$as_me: creating $ac_file" >&6;}
31698 - # First look for the input files in the build tree, otherwise in the
31700 - ac_file_inputs=`IFS=:
31701 - for f in $ac_file_in; do
31703 - -) echo $tmp/stdin ;;
31705 - # Absolute (can't be DOS-style, as IFS=:)
31706 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31707 -echo "$as_me: error: cannot find input file: $f" >&2;}
31708 - { (exit 1); exit 1; }; }
31709 - # Do quote $f, to prevent DOS paths from being IFS'd.
31712 - if test -f "$f"; then
31715 - elif test -f "$srcdir/$f"; then
31717 - echo "$srcdir/$f"
31720 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31721 -echo "$as_me: error: cannot find input file: $f" >&2;}
31722 + -) cat "$tmp/out" && rm -f "$tmp/out";;
31723 + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
31725 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
31726 +$as_echo "$as_me: error: could not create $ac_file" >&2;}
31727 { (exit 1); exit 1; }; }
31730 - done` || { (exit 1); exit 1; }
31731 - # Remove the trailing spaces.
31732 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
31736 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
31737 -# `conftest.undefs', that substitutes the proper values into
31738 -# config.h.in to produce config.h. The first handles `#define'
31739 -# templates, and the second `#undef' templates.
31740 -# And first: Protect against being on the right side of a sed subst in
31741 -# config.status. Protect against being in an unquoted here document
31742 -# in config.status.
31743 -rm -f conftest.defines conftest.undefs
31744 -# Using a here document instead of a string reduces the quoting nightmare.
31745 -# Putting comments in sed scripts is not portable.
31747 -# `end' is used to avoid that the second main sed command (meant for
31748 -# 0-ary CPP macros) applies to n-ary macro definitions.
31749 -# See the Autoconf documentation for `clear'.
31750 -cat >confdef2sed.sed <<\_ACEOF
31755 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
31757 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
31760 -# If some macros were called several times there might be several times
31761 -# the same #defines, which is useless. Nevertheless, we may not want to
31762 -# sort them, since we want the *last* AC-DEFINE to be honored.
31763 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
31764 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
31765 -rm -f confdef2sed.sed
31767 -# This sed command replaces #undef with comments. This is necessary, for
31768 -# example, in the case of _POSIX_SOURCE, which is predefined and required
31769 -# on some systems where configure will not decide to define it.
31770 -cat >>conftest.undefs <<\_ACEOF
31771 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
31774 -# Break up conftest.defines because some shells have a limit on the size
31775 -# of here documents, and old seds have small limits too (100 cmds).
31776 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
31777 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
31778 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
31779 -echo ' :' >>$CONFIG_STATUS
31780 -rm -f conftest.tail
31781 -while grep . conftest.defines >/dev/null
31783 - # Write a limited-size here document to $tmp/defines.sed.
31784 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
31785 - # Speed up: don't consider the non `#define' lines.
31786 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
31787 - # Work around the forget-to-reset-the-flag bug.
31788 - echo 't clr' >>$CONFIG_STATUS
31789 - echo ': clr' >>$CONFIG_STATUS
31790 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
31792 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
31794 - mv $tmp/out $tmp/in
31795 -' >>$CONFIG_STATUS
31796 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
31797 - rm -f conftest.defines
31798 - mv conftest.tail conftest.defines
31800 -rm -f conftest.defines
31801 -echo ' fi # grep' >>$CONFIG_STATUS
31802 -echo >>$CONFIG_STATUS
31804 -# Break up conftest.undefs because some shells have a limit on the size
31805 -# of here documents, and old seds have small limits too (100 cmds).
31806 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
31807 -rm -f conftest.tail
31808 -while grep . conftest.undefs >/dev/null
31810 - # Write a limited-size here document to $tmp/undefs.sed.
31811 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
31812 - # Speed up: don't consider the non `#undef'
31813 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
31814 - # Work around the forget-to-reset-the-flag bug.
31815 - echo 't clr' >>$CONFIG_STATUS
31816 - echo ': clr' >>$CONFIG_STATUS
31817 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
31819 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
31821 - mv $tmp/out $tmp/in
31822 -' >>$CONFIG_STATUS
31823 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
31824 - rm -f conftest.undefs
31825 - mv conftest.tail conftest.undefs
31827 -rm -f conftest.undefs
31829 -cat >>$CONFIG_STATUS <<\_ACEOF
31830 - # Let's still pretend it is `configure' which instantiates (i.e., don't
31831 - # use $as_me), people would be surprised to read:
31832 - # /* config.h. Generated by config.status. */
31833 - if test x"$ac_file" = x-; then
31834 - echo "/* Generated by configure. */" >$tmp/config.h
31836 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
31838 - cat $tmp/in >>$tmp/config.h
31845 if test x"$ac_file" != x-; then
31846 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
31847 - { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
31848 -echo "$as_me: $ac_file is unchanged" >&6;}
31850 + $as_echo "/* $configure_input */" \
31851 + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
31852 + } >"$tmp/config.h" \
31853 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
31854 +$as_echo "$as_me: error: could not create $ac_file" >&2;}
31855 + { (exit 1); exit 1; }; }
31856 + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
31857 + { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
31858 +$as_echo "$as_me: $ac_file is unchanged" >&6;}
31860 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
31861 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31862 - X"$ac_file" : 'X\(//\)[^/]' \| \
31863 - X"$ac_file" : 'X\(//\)$' \| \
31864 - X"$ac_file" : 'X\(/\)' \| \
31865 - . : '\(.\)' 2>/dev/null ||
31866 -echo X"$ac_file" |
31867 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31868 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31869 - /^X\(\/\/\)$/{ s//\1/; q; }
31870 - /^X\(\/\).*/{ s//\1/; q; }
31872 - { if $as_mkdir_p; then
31873 - mkdir -p "$ac_dir"
31877 - while test ! -d "$as_dir"; do
31878 - as_dirs="$as_dir $as_dirs"
31879 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
31880 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31881 - X"$as_dir" : 'X\(//\)[^/]' \| \
31882 - X"$as_dir" : 'X\(//\)$' \| \
31883 - X"$as_dir" : 'X\(/\)' \| \
31884 - . : '\(.\)' 2>/dev/null ||
31886 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31887 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31888 - /^X\(\/\/\)$/{ s//\1/; q; }
31889 - /^X\(\/\).*/{ s//\1/; q; }
31892 - test ! -n "$as_dirs" || mkdir $as_dirs
31893 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31894 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31895 - { (exit 1); exit 1; }; }; }
31898 - mv $tmp/config.h $ac_file
31900 + mv "$tmp/config.h" "$ac_file" \
31901 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
31902 +$as_echo "$as_me: error: could not create $ac_file" >&2;}
31903 + { (exit 1); exit 1; }; }
31906 - cat $tmp/config.h
31907 - rm -f $tmp/config.h
31908 + $as_echo "/* $configure_input */" \
31909 + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
31910 + || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
31911 +$as_echo "$as_me: error: could not create -" >&2;}
31912 + { (exit 1); exit 1; }; }
31914 -# Compute $ac_file's index in $config_headers.
31915 +# Compute "$ac_file"'s index in $config_headers.
31917 for _am_header in $config_headers :; do
31918 case $_am_header in
31919 - $ac_file | $ac_file:* )
31920 + "$ac_file" | "$ac_file":* )
31923 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
31926 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
31927 -$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31928 - X$ac_file : 'X\(//\)[^/]' \| \
31929 - X$ac_file : 'X\(//\)$' \| \
31930 - X$ac_file : 'X\(/\)' \| \
31931 - . : '\(.\)' 2>/dev/null ||
31933 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31934 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31935 - /^X\(\/\/\)$/{ s//\1/; q; }
31936 - /^X\(\/\).*/{ s//\1/; q; }
31937 - s/.*/./; q'`/stamp-h$_am_stamp_count
31940 -cat >>$CONFIG_STATUS <<\_ACEOF
31943 -# CONFIG_COMMANDS section.
31945 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
31946 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
31947 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
31948 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
31949 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31950 - X"$ac_dest" : 'X\(//\)[^/]' \| \
31951 - X"$ac_dest" : 'X\(//\)$' \| \
31952 - X"$ac_dest" : 'X\(/\)' \| \
31953 - . : '\(.\)' 2>/dev/null ||
31954 -echo X"$ac_dest" |
31955 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31956 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31957 - /^X\(\/\/\)$/{ s//\1/; q; }
31958 - /^X\(\/\).*/{ s//\1/; q; }
31960 - { if $as_mkdir_p; then
31961 - mkdir -p "$ac_dir"
31965 - while test ! -d "$as_dir"; do
31966 - as_dirs="$as_dir $as_dirs"
31967 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
31968 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31969 - X"$as_dir" : 'X\(//\)[^/]' \| \
31970 - X"$as_dir" : 'X\(//\)$' \| \
31971 - X"$as_dir" : 'X\(/\)' \| \
31972 - . : '\(.\)' 2>/dev/null ||
31974 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31975 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31976 - /^X\(\/\/\)$/{ s//\1/; q; }
31977 - /^X\(\/\).*/{ s//\1/; q; }
31980 - test ! -n "$as_dirs" || mkdir $as_dirs
31981 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31982 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31983 - { (exit 1); exit 1; }; }; }
31987 -if test "$ac_dir" != .; then
31988 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31989 - # A "../" for each directory in $ac_dir_suffix.
31990 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31992 - ac_dir_suffix= ac_top_builddir=
31996 - .) # No --srcdir option. We are building in place.
31998 - if test -z "$ac_top_builddir"; then
32001 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
32003 - [\\/]* | ?:[\\/]* ) # Absolute path.
32004 - ac_srcdir=$srcdir$ac_dir_suffix;
32005 - ac_top_srcdir=$srcdir ;;
32006 - *) # Relative path.
32007 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
32008 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
32010 +echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
32011 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32012 + X"$ac_file" : 'X\(//\)[^/]' \| \
32013 + X"$ac_file" : 'X\(//\)$' \| \
32014 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
32015 +$as_echo X"$ac_file" |
32016 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32020 + /^X\(\/\/\)[^/].*/{
32032 + s/.*/./; q'`/stamp-h$_am_stamp_count
32035 -# Do not use `cd foo && pwd` to compute absolute paths, because
32036 -# the directories may not exist.
32038 -.) ac_abs_builddir="$ac_dir";;
32040 - case "$ac_dir" in
32041 - .) ac_abs_builddir=`pwd`;;
32042 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
32043 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
32046 -case $ac_abs_builddir in
32047 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
32049 - case ${ac_top_builddir}. in
32050 - .) ac_abs_top_builddir=$ac_abs_builddir;;
32051 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
32052 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
32055 -case $ac_abs_builddir in
32056 -.) ac_abs_srcdir=$ac_srcdir;;
32058 - case $ac_srcdir in
32059 - .) ac_abs_srcdir=$ac_abs_builddir;;
32060 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
32061 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
32064 -case $ac_abs_builddir in
32065 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
32067 - case $ac_top_srcdir in
32068 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
32069 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
32070 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
32073 + :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
32074 +$as_echo "$as_me: executing $ac_file commands" >&6;}
32079 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
32080 -echo "$as_me: executing $ac_dest commands" >&6;}
32082 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
32083 + case $ac_file$ac_mode in
32084 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
32085 # Strip MF so we end up with the name of the file.
32086 mf=`echo "$mf" | sed -e 's/:.*$//'`
32087 # Check whether this is an Automake generated Makefile or not.
32088 @@ -21932,18 +22785,29 @@ echo "$as_me: executing $ac_dest commands" >&6;}
32089 # each Makefile.in and add a new line on top of each file to say so.
32090 # So let's grep whole file.
32091 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
32092 - dirpart=`(dirname "$mf") 2>/dev/null ||
32093 + dirpart=`$as_dirname -- "$mf" ||
32094 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32095 X"$mf" : 'X\(//\)[^/]' \| \
32096 X"$mf" : 'X\(//\)$' \| \
32097 - X"$mf" : 'X\(/\)' \| \
32098 - . : '\(.\)' 2>/dev/null ||
32100 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32101 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32102 - /^X\(\/\/\)$/{ s//\1/; q; }
32103 - /^X\(\/\).*/{ s//\1/; q; }
32105 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
32107 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32111 + /^X\(\/\/\)[^/].*/{
32127 @@ -21965,59 +22829,90 @@ echo X"$mf" |
32128 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
32129 # Make sure the directory exists.
32130 test -f "$dirpart/$file" && continue
32131 - fdir=`(dirname "$file") 2>/dev/null ||
32132 + fdir=`$as_dirname -- "$file" ||
32133 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32134 X"$file" : 'X\(//\)[^/]' \| \
32135 X"$file" : 'X\(//\)$' \| \
32136 - X"$file" : 'X\(/\)' \| \
32137 - . : '\(.\)' 2>/dev/null ||
32139 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32140 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32141 - /^X\(\/\/\)$/{ s//\1/; q; }
32142 - /^X\(\/\).*/{ s//\1/; q; }
32144 - { if $as_mkdir_p; then
32145 - mkdir -p $dirpart/$fdir
32147 - as_dir=$dirpart/$fdir
32148 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
32149 +$as_echo X"$file" |
32150 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32154 + /^X\(\/\/\)[^/].*/{
32167 + { as_dir=$dirpart/$fdir
32168 + case $as_dir in #(
32169 + -*) as_dir=./$as_dir;;
32171 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
32173 - while test ! -d "$as_dir"; do
32174 - as_dirs="$as_dir $as_dirs"
32175 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
32177 + case $as_dir in #(
32178 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
32179 + *) as_qdir=$as_dir;;
32181 + as_dirs="'$as_qdir' $as_dirs"
32182 + as_dir=`$as_dirname -- "$as_dir" ||
32183 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32184 X"$as_dir" : 'X\(//\)[^/]' \| \
32185 X"$as_dir" : 'X\(//\)$' \| \
32186 - X"$as_dir" : 'X\(/\)' \| \
32187 - . : '\(.\)' 2>/dev/null ||
32189 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32190 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32191 - /^X\(\/\/\)$/{ s//\1/; q; }
32192 - /^X\(\/\).*/{ s//\1/; q; }
32194 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
32195 +$as_echo X"$as_dir" |
32196 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32200 + /^X\(\/\/\)[^/].*/{
32213 + test -d "$as_dir" && break
32215 - test ! -n "$as_dirs" || mkdir $as_dirs
32216 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
32217 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
32218 + test -z "$as_dirs" || eval "mkdir $as_dirs"
32219 + } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
32220 +$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
32221 { (exit 1); exit 1; }; }; }
32223 # echo "creating $dirpart/$file"
32224 echo '# dummy' > "$dirpart/$file"
32234 -cat >>$CONFIG_STATUS <<\_ACEOF
32236 { (exit 0); exit 0; }
32238 chmod +x $CONFIG_STATUS
32239 ac_clean_files=$ac_clean_files_save
32241 +test $ac_write_fail = 0 ||
32242 + { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
32243 +$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
32244 + { (exit 1); exit 1; }; }
32247 # configure is writing to config.log, and then calls config.status.
32248 # config.status does its own redirection, appending to config.log.
32249 @@ -22039,4 +22934,8 @@ if test "$no_create" != yes; then
32250 # would make configure fail if this is the last instruction.
32251 $ac_cs_success || { (exit 1); exit 1; }
32253 +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
32254 + { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
32255 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
32258 --- ./src/Makefile.in
32259 +++ ./src/Makefile.in
32261 -# Makefile.in generated by automake 1.9.2 from Makefile.am.
32262 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
32263 # @configure_input@
32265 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
32266 -# 2003, 2004 Free Software Foundation, Inc.
32267 +# 2003, 2004, 2005 Free Software Foundation, Inc.
32268 # This Makefile.in is free software; the Free Software Foundation
32269 # gives unlimited permission to copy and/or distribute it,
32270 # with or without modifications, as long as this notice is preserved.
32272 # From Makefile.am $Revision: 1.3 $
32275 -SOURCES = $(libnss_mysql_la_SOURCES) $(nss_mysql_la_SOURCES)
32278 top_srcdir = @top_srcdir@
32280 @@ -83,11 +81,11 @@ depcomp = $(SHELL) $(top_srcdir)/aux/depcomp
32281 am__depfiles_maybe = depfiles
32282 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
32283 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
32284 -LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
32285 +LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
32286 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
32287 $(AM_CFLAGS) $(CFLAGS)
32289 -LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
32290 +LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
32291 $(AM_LDFLAGS) $(LDFLAGS) -o $@
32292 SOURCES = $(libnss_mysql_la_SOURCES) $(nss_mysql_la_SOURCES)
32293 DIST_SOURCES = $(am__libnss_mysql_la_SOURCES_DIST) \
32294 @@ -117,6 +115,7 @@ CXXFLAGS = @CXXFLAGS@
32295 CYGPATH_W = @CYGPATH_W@
32298 +DSYMUTIL = @DSYMUTIL@
32302 @@ -125,6 +124,7 @@ EGREP = @EGREP@
32307 INSTALL_DATA = @INSTALL_DATA@
32308 INSTALL_PROGRAM = @INSTALL_PROGRAM@
32309 INSTALL_SCRIPT = @INSTALL_SCRIPT@
32310 @@ -140,6 +140,7 @@ MAINT = @MAINT@
32311 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
32312 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
32313 MAKEINFO = @MAKEINFO@
32317 PACKAGE = @PACKAGE@
32318 @@ -152,16 +153,14 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
32320 RENAME_FALSE = @RENAME_FALSE@
32321 RENAME_TRUE = @RENAME_TRUE@
32323 SET_MAKE = @SET_MAKE@
32326 VERSION = @VERSION@
32327 -ac_ct_AR = @ac_ct_AR@
32328 ac_ct_CC = @ac_ct_CC@
32329 ac_ct_CXX = @ac_ct_CXX@
32330 ac_ct_F77 = @ac_ct_F77@
32331 -ac_ct_RANLIB = @ac_ct_RANLIB@
32332 -ac_ct_STRIP = @ac_ct_STRIP@
32333 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
32334 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
32335 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
32336 @@ -178,23 +177,30 @@ build_cpu = @build_cpu@
32337 build_os = @build_os@
32338 build_vendor = @build_vendor@
32339 datadir = @datadir@
32340 +datarootdir = @datarootdir@
32343 exec_prefix = @exec_prefix@
32345 host_alias = @host_alias@
32346 host_cpu = @host_cpu@
32347 host_os = @host_os@
32348 host_vendor = @host_vendor@
32349 +htmldir = @htmldir@
32350 includedir = @includedir@
32351 infodir = @infodir@
32352 install_sh = @install_sh@
32354 libexecdir = @libexecdir@
32355 +localedir = @localedir@
32356 localstatedir = @localstatedir@
32358 mkdir_p = @mkdir_p@
32359 oldincludedir = @oldincludedir@
32362 program_transform_name = @program_transform_name@
32364 sbindir = @sbindir@
32365 sharedstatedir = @sharedstatedir@
32366 sysconfdir = @sysconfdir@