Lines Matching +full:no +full:- +full:dump +full:- +full:oops

1 # generated automatically by aclocal 1.16.5 -*- Autoconf -*-
3 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
23 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
25 # Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
34 # This is free software; see the source for copying conditions. There is NO
60 # ------------------
63 [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
71 # ------------------
82 # ------------------
92 m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
102 _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
123 dnl aclocal-1.4 backwards compatibility:
129 # -----------------------
131 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
138 \-*) ;;
142 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
148 # -------------------
162 # ----------------------
166 [: ${CP="cp -f"}
167 : ${MV="mv -f"}
168 : ${RM="rm -f"}
173 # ---------
195 test -z "$LN_S" && LN_S="ln -s"
216 if test -n "\${ZSH_VERSION+set}"; then
220 if test -n "${ZSH_VERSION+set}"; then
254 test -z "$CC" && CC=cc
255 test -z "$LTCC" && LTCC=$CC
256 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
257 test -z "$LD" && LD=ld
258 test -z "$ac_objext" && ac_objext=o
263 test -z "$MAGIC_CMD" && MAGIC_CMD=file
281 # --------------------------
285 # double-quoted strings.
303 # ---------------
306 # 'config.status' has no value for ac_aux_dir unless we are using Automake,
322 # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
323 # ----------------------------------------
324 # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
336 # ------------------------------
349 # -----------------------------------------------------
357 # -----------------------------
359 # full-stop to the whole comment if one is not present already.
370 # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
371 # -------------------------------------------------------------------
384 [tagged?], [m4_ifval([$5], [yes], [no])])])
389 # --------------------------------------------------------
394 # ------------------------------------------------
400 # ---------------------------------------------------------
412 # --------------------------------------------------
418 # ---------------------------------------------------
424 # ---------------------------------------------------
435 # ------------------------------------------------
449 # ------------------------------------
458 # ------------------------------
471 # ----------------
480 # -----------------------------------
501 # -----------------------
502 # Produce commented declarations of non-tagged libtool config variables
508 m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
513 # -------------------------
520 # ------------------------------
525 # -------------------
551 # The HP-UX ksh and POSIX shell print the target directory to stdout
563 # A function that is used when there is no print builtin or printf.
584 # Double-quote double-evaled strings.
589 …\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_s…
601 # ------------------------------------
607 # the child script. The macro ends with non-zero status if the
619 SHELL=\${CONFIG_SHELL-$SHELL}
631 # ---------
656 -h, --help print this help, then exit
657 -V, --version print version number, then exit
658 -q, --quiet do not print progress messages
659 -d, --debug don't remove temporary files
661 Report bugs to <bug-libtool@gnu.org>."
675 --version | --v* | -V )
677 --help | --h* | -h )
679 --debug | --d* | -d )
681 --quiet | --q* | --silent | --s* | -q )
684 -*) AC_MSG_ERROR([unrecognized option: $[1]
685 Try '$[0] --help' for more information.]) ;;
688 Try '$[0] --help' for more information.]) ;;
715 lt_config_lt_args="$lt_config_lt_args --quiet"
724 # ---------------
725 # If TAG is the built-in tag, create an initial libtool script with a
736 if test -n "${ZSH_VERSION+set}"; then
749 # Provide generalized library-building support services.
793 # if finds mixed CR/LF and LF-only lines. Since sed operates in
797 || (rm -f "$cfgfile"; exit 1)
799 mv -f "$cfgfile" "$ofile" ||
800 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
823 # ---------------------
825 # --tag option, using:
826 # autoconf --trace 'LT_SUPPORTED_TAG:$1'
830 # C support is built-in for now
836 # -------------
855 # ------------------
876 if test -z "$GOC"; then
877 if test -n "$ac_tool_prefix"; then
881 if test -z "$GOC"; then
889 # -----------------------
933 dnl aclocal-1.4 backwards compatibility:
942 # ----------------
951 # If no C compiler was specified, use CC.
952 LTCC=${LTCC-"$CC"}
954 # If no C compiler flags were specified, use CFLAGS.
955 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
963 # ------------------------
977 # ----------------------
986 $RM -r conftest*
990 # -------------------------
1006 [ldd/readelf like tool for Mach-O binaries on Mac OS X])
1008 [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
1010 AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
1011 [lt_cv_apple_cc_single_mod=no
1012 if test -z "$LT_MULTI_MODULE"; then
1013 # By default we will add the -single_module flag. You can override
1015 # non-empty at configure time, or by adding -multi_module to the
1017 rm -rf libconftest.dylib*
1019 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1020 -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
1021 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1022 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
1024 # If there is a non-empty error log, and "single_module"
1026 if test -s conftest.err && $GREP single_module conftest.err; then
1030 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
1035 rm -rf libconftest.dylib*
1036 rm -f conftest.*
1039 AC_CACHE_CHECK([for -exported_symbols_list linker flag],
1041 [lt_cv_ld_exported_symbols_list=no
1044 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1047 [lt_cv_ld_exported_symbols_list=no])
1051 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
1052 [lt_cv_ld_force_load=no
1056 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
1057 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
1065 …echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAG…
1066 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
1068 if test -s conftest.err && $GREP force_load conftest.err; then
1070 …elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
1075 rm -f conftest.err libconftest.a conftest conftest.c
1076 rm -rf conftest.dSYM
1080 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
1082 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1087 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1088 10.0,*86*-darwin8*|10.0,*-darwin[[912]]*)
1089 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1091 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1093 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1101 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
1103 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
1105 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
1116 # ---------------------------------
1121 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
1122 _LT_TAGVAR(hardcode_direct, $1)=no
1126 …ec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenienc…
1140 …_LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs…
1141 …_LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$co…
1142 …\$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobj…
1143 …psym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC…
1146-r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_…
1147-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamicl…
1151 _LT_TAGVAR(ld_shlibs, $1)=no
1156 # ----------------------------------
1179 …_LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_a…
1180 # Check for a 64-bit object if we didn't find anything.
1181 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1182 …_LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$l…
1184 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1194 # -------------------
1196 [m4_divert_text([M4SH-INIT], [$1
1202 # -----------------------
1214 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
1215 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
1216 ECHO='print -r --'
1231 # Invoke $ECHO with all args, space-separated.
1239 print*) AC_MSG_RESULT([print -r]) ;;
1245 test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
1251 || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
1259 # ----------------
1263 [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
1266 [], [with_sysroot=no])
1274 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
1278 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
1280 no|'')
1288 AC_MSG_RESULT([${lt_sysroot:-no}])
1293 # ---------------
1295 [AC_ARG_ENABLE([libtool-lock],
1296 [AS_HELP_STRING([--disable-libtool-lock],
1298 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
1303 ia64-*-hpux*)
1309 *ELF-32*)
1312 *ELF-64*)
1317 rm -rf conftest*
1319 *-*-irix6*)
1326 *32-bit*)
1327 LD="${LD-ld} -melf32bsmip"
1330 LD="${LD-ld} -melf32bmipn32"
1332 *64-bit*)
1333 LD="${LD-ld} -melf64bmip"
1338 *32-bit*)
1339 LD="${LD-ld} -32"
1342 LD="${LD-ld} -n32"
1344 *64-bit*)
1345 LD="${LD-ld} -64"
1350 rm -rf conftest*
1353 mips64*-*linux*)
1360 *32-bit*)
1363 *64-bit*)
1380 LD="${LD-ld} -m $emul"
1382 rm -rf conftest*
1385 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
1386 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1390 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
1391 # vice versa); the common cases where no linker options are needed do
1396 *32-bit*)
1398 x86_64-*kfreebsd*-gnu)
1399 LD="${LD-ld} -m elf_i386_fbsd"
1401 x86_64-*linux*)
1403 *x86-64*)
1404 LD="${LD-ld} -m elf32_x86_64"
1407 LD="${LD-ld} -m elf_i386"
1411 powerpc64le-*linux*)
1412 LD="${LD-ld} -m elf32lppclinux"
1414 powerpc64-*linux*)
1415 LD="${LD-ld} -m elf32ppclinux"
1417 s390x-*linux*)
1418 LD="${LD-ld} -m elf_s390"
1420 sparc64-*linux*)
1421 LD="${LD-ld} -m elf32_sparc"
1425 *64-bit*)
1427 x86_64-*kfreebsd*-gnu)
1428 LD="${LD-ld} -m elf_x86_64_fbsd"
1430 x86_64-*linux*)
1431 LD="${LD-ld} -m elf_x86_64"
1433 powerpcle-*linux*)
1434 LD="${LD-ld} -m elf64lppc"
1436 powerpc-*linux*)
1437 LD="${LD-ld} -m elf64ppc"
1439 s390*-*linux*|s390*-*tpf*)
1440 LD="${LD-ld} -m elf64_s390"
1442 sparc*-*linux*)
1443 LD="${LD-ld} -m elf64_sparc"
1449 rm -rf conftest*
1452 *-*-sco3.2v5*)
1453 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1455 CFLAGS="$CFLAGS -belf"
1456 AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1458 AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
1461 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1465 *-*solaris*)
1471 *64-bit*)
1475 i?86-*-solaris*|x86_64-*-solaris*)
1476 LD="${LD-ld} -m elf_x86_64"
1478 sparc*-*-solaris*)
1479 LD="${LD-ld} -m elf64_sparc"
1483 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
1484 LD=${LD-ld}_sol2
1488 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1489 LD="${LD-ld} -64"
1496 rm -rf conftest*
1505 # -----------
1514 [lt_cv_ar_at_file=no
1519 if test 0 -eq "$ac_status"; then
1521 rm -f conftest.$ac_objext libconftest.a
1523 if test 0 -ne "$ac_status"; then
1527 rm -f conftest.* libconftest.a
1531 if test no = "$lt_cv_ar_at_file"; then
1542 # -------------------
1547 test -z "$STRIP" && STRIP=:
1551 test -z "$RANLIB" && RANLIB=:
1553 [Commands used to install an old-style archive])
1555 # Determine commands to create old-style static archives.
1560 if test -n "$RANLIB"; then
1563 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1576 lock_old_archive_extraction=no ;;
1581 [Commands used to build an old-style archive])
1587 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1588 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
1589 # ----------------------------------------------------------------
1595 [$2=no
1605 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1606 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1607 -e 's:$: $lt_compiler_flag:'`
1613 if (exit $ac_status) && test -s "$ac_outfile"; then
1615 # So say no if there are warnings other than the usual output.
1618 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1634 dnl aclocal-1.4 backwards compatibility:
1638 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1639 # [ACTION-SUCCESS], [ACTION-FAILURE])
1640 # ----------------------------------------------------
1646 [$2=no
1650 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1652 # So say no if there are warnings
1653 if test -s conftest.err; then
1665 $RM -r conftest*
1678 dnl aclocal-1.4 backwards compatibility:
1683 #---------------
1703 # no limit to the length of command line arguments.
1704 # Libtool will interpret -1 as no limit whatsoever
1705 lt_cv_sys_max_cmd_len=-1;
1709 # On Win9x/ME, this test blows up -- it succeeds, but takes
1711 # Worse, since 9x/ME are not pre-emptively multitasking,
1732 if test -x /sbin/sysctl; then
1733 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
1734 elif test -x /usr/sbin/sysctl; then
1735 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
1761 if test -x /sbin/sysconfig; then
1762 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
1763 *1*) lt_cv_sys_max_cmd_len=-1 ;;
1772 if test -n "$kargmax"; then
1780 if test -n "$lt_cv_sys_max_cmd_len" && \
1790 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
1791 # If test is not a shell built-in, we'll probably end up computing a
1812 if test -n "$lt_cv_sys_max_cmd_len"; then
1824 dnl aclocal-1.4 backwards compatibility:
1829 # ----------------
1835 # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1836 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1837 # ----------------------------------------------------------------
1887 /* When -fvisibility=hidden is used, assume the code has been annotated
1915 if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
1928 rm -fr conftest*
1933 # ------------------
1941 lt_cv_dlopen=no
1964 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
1973 # because TPF is a cross-compiler, and we know how we open DSOs.
1976 lt_cv_dlopen_self=no
1983 [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
1987 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
1989 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
1991 [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
2000 if test no = "$lt_cv_dlopen"; then
2001 enable_dlopen=no
2009 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
2021 lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
2030 lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
2041 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
2046 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
2060 dnl aclocal-1.4 backwards compatibility:
2065 # ---------------------------
2066 # Check to see if options -c and -o are simultaneously supported by compiler.
2072 AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
2074 [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
2075 $RM -r conftest 2>/dev/null
2081 lt_compiler_flag="-o out/conftest2.$ac_objext"
2087 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2088 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
2089 -e 's:$: $lt_compiler_flag:'`
2095 if (exit $ac_status) && test -s out/conftest2.$ac_objext
2098 # So say no if there are warnings
2101 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
2109 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
2112 $RM -r conftest
2116 [Does compiler simultaneously support -c and -o options?])
2121 # ----------------------------------
2129 if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; then
2134 ln conftest.a conftest.b 2>/dev/null && hard_links=no
2136 ln conftest.a conftest.b 2>&5 || hard_links=no
2137 ln conftest.a conftest.b 2>/dev/null && hard_links=no
2139 if test no = "$hard_links"; then
2140 AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe])
2144 need_locks=no
2151 # ----------------
2154 [rm -f .libs 2>/dev/null
2156 if test -d .libs; then
2159 # MS-DOS does not allow filenames that begin with a dot.
2168 [Define to the sub-directory where libtool stores uninstalled libraries.])
2173 # --------------------------------------
2178 if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
2179 test -n "$_LT_TAGVAR(runpath_var, $1)" ||
2182 # We can hardcode non-existent directories.
2183 if test no != "$_LT_TAGVAR(hardcode_direct, $1)" &&
2186 # when we should be linking with a yet-to-be-installed one
2187 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" &&
2188 test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then
2205 enable_fast_install=no
2207 test no = "$enable_shared"; then
2217 # ----------------
2223 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
2224 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
2225 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
2228 # FIXME - insert some real tests, host_os isn't really good enough
2231 if test -n "$STRIP"; then
2232 striplib="$STRIP -x"
2233 old_striplib="$STRIP -S"
2236 AC_MSG_RESULT([no])
2240 AC_MSG_RESULT([no])
2250 # ---------------------------
2254 # -----------------------------------
2279 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
2280 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
2291 # -----------------------------
2310 mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
2313 …lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_s…
2317 # otherwise default to the standard path separator (i.e. ":") - it is
2318 # assumed that no part of a normal pathname contains ";" but that should
2329 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
2331 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
2338 if test -d "$lt_sys_path$lt_multi_os_dir"; then
2340 elif test -n "$lt_multi_os_dir"; then
2341 test -d "$lt_sys_path" && \
2349 for (lt_i = NF; lt_i > 0; lt_i--) {
2357 lt_count--;
2369 $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
2389 hardcode_into_libs=no
2391 # when you set need_version to no, make sure it does not cause -set_version
2396 [User-defined run-time library search path.])
2404 # AIX 3 has no versioning support, so we append a major version to the name.
2408 aix[[4-9]]*)
2410 need_lib_prefix=no
2411 need_version=no
2427 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
2430 can_build_shared=no
2435 # filename-based versioning of shared library archives on AIX. While
2437 # prevent static linking of such archives. So we do filename-based
2442 # versioned .so libs for executables only if there is the -brtl
2443 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
2444 # To allow for filename-based versioning support, we need to create
2454 # but for link time we create the symlink libNAME.so -> libNAME.so.V
2457 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
2467 aix,no) # traditional AIX only
2484-n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$…
2489 *,no) # both, prefer aix
2494-z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z …
2495 …postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_librar…
2506 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
2525 need_version=no
2534 # libtool to hard-code these into programs
2540 need_version=no
2541 need_lib_prefix=no
2549 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2551 test -d \$dldir || mkdir -p \$dldir~
2554 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2557 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2565 …soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuff…
2571 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2575 …library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$v…
2584 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2601 …path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|…
2605 # but this time dos style (no spaces!) so that the unix form looks
2607 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
2608 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
2609 …sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEP…
2613 if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
2615 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2617 … sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2620 # common. (e.g. "Program Files" -> "PROGRA~1")
2626 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2628 test -d \$dldir || mkdir -p \$dldir~
2630 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2639 …library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.…
2650 need_lib_prefix=no
2651 need_version=no
2664 need_lib_prefix=no
2665 need_version=no
2674 if test -x /usr/bin/objformat; then
2682 version_type=freebsd-$objformat
2684 freebsd-elf*)
2687 need_version=no
2688 need_lib_prefix=no
2690 freebsd-*)
2704 freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
2705 freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
2706 shlibpath_overrides_runpath=no
2718 need_lib_prefix=no
2719 need_version=no
2724 shlibpath_overrides_runpath=no
2733 need_lib_prefix=no
2734 need_version=no
2767 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
2772 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
2778 interix[[3-9]]*)
2780 need_lib_prefix=no
2781 need_version=no
2786 shlibpath_overrides_runpath=no
2800 need_lib_prefix=no
2801 need_version=no
2810 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
2811 libsuff= shlibsuff= libmagic=32-bit;;
2812 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
2814 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
2815 libsuff=64 shlibsuff=64 libmagic=64-bit;;
2816 *) libsuff= shlibsuff= libmagic=never-match;;
2821 shlibpath_overrides_runpath=no
2827 # No shared lib support for Linux oldld, aout, or coff.
2829 dynamic_linker=no
2834 need_lib_prefix=no
2835 need_version=no
2842 # This implies no fast_install, which is unacceptable.
2848 # Don't embed -rpath directories since the linker doesn't support them.
2849 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2853 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2855 need_lib_prefix=no
2856 need_version=no
2859 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2861 shlibpath_overrides_runpath=no
2865 [lt_cv_shlibpath_overrides_runpath=no
2871 [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
2878 # This implies no fast_install, which is unacceptable.
2886 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
2887 # even though it is searched at run-time. Try to do the best guess by
2889 if test -f /etc/ld.so.conf; then
2890 …skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwc…
2897 # most powerpc-linux boxes support dynamic linking these days and
2898 # people can always --disable-shared, the test was removed, and we
2903 netbsdelf*-gnu)
2905 need_lib_prefix=no
2906 need_version=no
2910 shlibpath_overrides_runpath=no
2917 need_lib_prefix=no
2918 need_version=no
2919 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
2921 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2942 need_lib_prefix=no
2943 need_version=no
2947 shlibpath_overrides_runpath=no
2955 need_lib_prefix=no
2956 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
2957 need_version=no
2962 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2971 need_version=no
2972 need_lib_prefix=no
2974 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
2975 v=$($ECHO $release$versuffix | tr -d .-);
2976 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
2984 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
2986 test -d \$dldir || mkdir -p \$dldir~
2989 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2992 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
2999 need_lib_prefix=no
3000 need_version=no
3009 dynamic_linker=no
3014 need_lib_prefix=no
3015 need_version=no
3032 need_lib_prefix=no
3044 shlibpath_overrides_runpath=no
3045 need_lib_prefix=no
3049 need_lib_prefix=no
3052 need_lib_prefix=no
3053 need_version=no
3054 shlibpath_overrides_runpath=no
3061 if test -d /usr/nec; then
3071 need_lib_prefix=no
3072 need_version=no
3092 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
3094 need_lib_prefix=no
3095 need_version=no
3098 shlibpath_overrides_runpath=no
3110 dynamic_linker=no
3114 test no = "$dynamic_linker" && can_build_shared=no
3132 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
3148 [Is shlibpath searched before the hard-coded library search path?])
3152 The last name is the one that the linker finds with -lNAME]])
3169 [Compile-time system search path for libraries])
3171 [Detected run-time system search path for libraries])
3178 # --------------------------
3191 dnl $ac_dummy forces splitting on constant user-supplied paths.
3197 test -z "$ac_dir" && ac_dir=.
3198 if test -f "$ac_dir/$1"; then
3200 if test -n "$file_magic_test_file"; then
3218 *** bug-libtool@gnu.org
3232 if test -n "$MAGIC_CMD"; then
3235 AC_MSG_RESULT(no)
3243 dnl aclocal-1.4 backwards compatibility:
3248 # --------------
3252 if test -z "$lt_cv_path_MAGIC_CMD"; then
3253 if test -n "$ac_tool_prefix"; then
3263 # ----------
3264 # find the pathname to the GNU or non-GNU linker
3273 AC_ARG_WITH([gnu-ld],
3274 [AS_HELP_STRING([--with-gnu-ld],
3275 [assume the C compiler uses GNU ld @<:@default=no@:>@])],
3276 [test no = "$withval" || with_gnu_ld=yes],
3277 [with_gnu_ld=no])dnl
3281 # Check if gcc -print-prog-name=ld gives a path.
3284 *-*-mingw*)
3286 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3288 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3299 test -z "$LD" && LD=$ac_prog
3313 AC_MSG_CHECKING([for non-GNU ld])
3316 [if test -z "$LD"; then
3320 test -z "$ac_dir" && ac_dir=.
3321 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3323 # Check to see if the program is GNU ld. I'd rather use --version,
3324 # but apparently some variants of GNU ld only accept -v.
3325 # Break only if it was the GNU/non-GNU ld that we prefer.
3326 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3328 test no != "$with_gnu_ld" && break
3341 if test -n "$LD"; then
3344 AC_MSG_RESULT(no)
3346 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
3356 dnl aclocal-1.4 backwards compatibility:
3362 #- --------------
3365 [# I'd rather use --version here, but apparently some GNU lds only accept -v.
3366 case `$LD -v 2>&1 </dev/null` in
3371 lt_cv_prog_gnu_ld=no
3379 # --------------
3381 # -- PORTME Some linkers may need a different reload flag.
3385 [lt_cv_ld_reload_flag='-r'])
3391 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3400 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
3402 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3412 # -----------
3421 cmp -s conftest.i conftest.out \
3424 rm -f conftest.i conftest2.i conftest.out])
3429 # ----------------
3438 cmp -s conftest.i conftest.out \
3441 rm -f conftest.i conftest2.i conftest.out
3442 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"])
3449 # ----------------------
3451 # -- PORTME fill in with the dynamic library characteristics
3462 # 'none' -- dependencies not supported.
3463 # 'unknown' -- same as none, but documents that we really don't know.
3464 # 'pass_all' -- all dependencies passed with no checks.
3465 # 'test_compile' -- check by making test program.
3466 # 'file_magic [[regex]]' -- check by looking for files in library path
3472 aix[[4-9]]*)
3481 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
3482 lt_cv_file_magic_cmd='/usr/bin/file -L'
3495 # unless we find 'file', for example because we are cross-compiling.
3501 …v_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x…
3502 lt_cv_file_magic_cmd='$OBJDUMP -f'
3508 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3509 lt_cv_file_magic_cmd='$OBJDUMP -f'
3517 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3522 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
3540 …lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object f…
3544 …heck_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)…
3548 …lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared lib…
3554 interix[[3-9]]*)
3561 *-32|*"-32 ") libmagic=32-bit;;
3562 *-n32|*"-n32 ") libmagic=N32;;
3563 *-64|*"-64 ") libmagic=64-bit;;
3564 *) libmagic=never-match;;
3570 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
3574 netbsd* | netbsdelf*-gnu)
3575 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3576 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3583 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3593 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
3594 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
3596 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3619 …bs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][…
3627 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib…
3631 lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
3653 want_nocaseglob=no
3660 …file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/…
3668 test -z "$deplibs_check_method" && deplibs_check_method=unknown
3682 # ----------
3683 # find the pathname to a BSD- or MS-compatible name lister
3686 AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
3687 [if test -n "$NM"; then
3692 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3699 test -z "$ac_dir" && ac_dir=.
3701 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
3702 # Check to see if the nm accepts a BSD-compat flag.
3703 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
3711 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
3713 lt_cv_path_NM="$tmp_nm -B"
3717 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3719 lt_cv_path_NM="$tmp_nm -p"
3733 : ${lt_cv_path_NM=no}
3735 if test no != "$lt_cv_path_NM"; then
3739 if test -n "$DUMPBIN"; then :
3742 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
3743 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
3745 DUMPBIN="$DUMPBIN -symbols -headers"
3757 test -z "$NM" && NM=nm
3759 _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
3775 rm -f conftest*])
3781 dnl aclocal-1.4 backwards compatibility:
3786 # --------------------------------
3789 # -- PORTME fill in with the dynamic library characteristics
3802 case `$DLLTOOL --help 2>&1` in
3803 *--identify-strict*)
3818 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
3826 # ----------------------
3830 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
3832 [lt_cv_path_mainfest_tool=no
3833 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
3834 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
3839 rm -f conftest*])
3848 # ---------------------
3853 test DEF = "`$SED -n dnl
3854 -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
3855 -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
3856 -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
3857 -e q dnl Only consider the first "real" line
3863 # --------
3869 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
3872 *-ncr-sysv4.3*)
3873 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
3874 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
3877 AC_CHECK_LIB(m, cos, LIBM=-lm)
3885 dnl aclocal-1.4 backwards compatibility:
3890 # -------------------------------
3899 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
3901 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
3904 _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
3906 [-fno-rtti -fno-exceptions], [],
3907 …o_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
3915 # ----------------------
3937 sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
3939 # Define system-specific variables.
3976 case `$NM -V 2>&1` in
3983 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
3985 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
3986 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
3988 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
3989 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
4001 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
4003 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
4004 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
4007 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
4009 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
4010 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
4014 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
4016 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
4017 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
4018 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
4036 # Fake it for dumpbin and say T for any non-static function,
4056 …lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$…
4061 pipe_works=no
4063 rm -f conftest*
4081 …_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&AS_MESSAGE_LOG_FD && test -s "$nlist"; then
4084 mv -f "$nlist"T "$nlist"
4086 rm -f "$nlist"T
4096 relocations are performed -- see ld's documentation on pseudo-relocs. */
4111 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4124 …$SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> c…
4146 if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
4164 rm -rf conftest* conftst*
4174 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4177 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4186 elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
4210 # ---------------------------
4220 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4221 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4228 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4230 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4237 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4241 # adding the '-m68020' flag to GCC prevents building anything better,
4242 # like '-m68040'.
4243 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4254 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4255 # (--disable-auto-import) libraries
4257 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4260 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4267 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4275 # The "-static" flag exists, but is broken.
4278 interix[[3-9]]*)
4279 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4283 if test -d /usr/nec; then
4284 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4288 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4289 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4295 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4300 # QNX uses GNU C++, but need to define -shared option too, otherwise
4302 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4305 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4310 aix[[4-9]]*)
4314 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4316 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4323 …# _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abor…
4331 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4336 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4340 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4352 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4353 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4359 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4360 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4375 # This is c89, which is MS Visual C++ (no shared libs)
4381 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4382 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4383 # CC pic flag -KPIC is the default.
4389 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4393 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4394 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4397 # old Intel C++ for x86_64, which still supported -KPIC.
4398 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4399 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4400 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4404 # ICC 10 doesn't accept -KPIC any more.
4405 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4406 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4407 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4411 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4412 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4413 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4420 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4424 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4425 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4426 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4429 case `$CC -V 2>&1 | sed 5q` in
4432 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4433 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4434 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4447 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
4453 netbsd* | netbsdelf*-gnu)
4456 # QNX uses GNU C++, but need to define -shared option too, otherwise
4458 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4463 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4467 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4471 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4475 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4487 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4488 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4489 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4493 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4503 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4504 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4508 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4517 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4518 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4519 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4526 # NonStop-UX NCC 3.20
4527 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4536 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4543 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4544 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4551 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4553 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4560 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4564 # adding the '-m68020' flag to GCC prevents building anything better,
4565 # like '-m68040'.
4566 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4578 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4579 # (--disable-auto-import) libraries
4581 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4584 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4592 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4597 # The "-static" flag exists, but is broken.
4602 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4603 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4610 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4615 interix[[3-9]]*)
4616 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4623 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4624 enable_shared=no
4628 # QNX uses GNU C++, but need to define -shared option too, otherwise
4630 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4634 if test -d /usr/nec; then
4635 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4640 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4646 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
4647 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4648 _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
4656 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4659 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4661 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4668 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4672 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4673 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4674 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4683 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4686 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4692 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4693 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4694 # not for PA HP-UX.
4704 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4708 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4709 # PIC (with -KPIC) is the default.
4710 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4713 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4715 # old Intel for x86_64, which still supported -KPIC.
4717 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4718 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4719 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4723 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4724 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4725 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4728 # ICC 10 doesn't accept -KPIC any more.
4730 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4731 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4732 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4736 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4737 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
4738 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
4742 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4743 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4744 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4748 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4749 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4750 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4755 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4756 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4757 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4760 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4762 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4766 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4767 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4768 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4771 case `$CC -V 2>&1 | sed 5q` in
4772 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
4774 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4775 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4779 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4780 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4781 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4785 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4786 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4787 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4790 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4791 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4792 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4795 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4796 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4797 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4805 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4806 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4810 # QNX uses GNU C++, but need to define -shared option too, otherwise
4812 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4816 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4818 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4822 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4826 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4827 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4830 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
4832 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
4837 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4838 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4839 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4843 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4844 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4845 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4849 if test -d /usr/nec; then
4850 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
4851 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4856 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4857 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4858 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4862 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4863 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4867 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4868 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4872 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4878 # For platforms that do not support PIC, -DPIC is meaningless:
4883 …$1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[]…
4895 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4898 …[$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])]…
4904 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
4926 # ----------------------------
4942 aix[[4-9]]*)
4943 # If we're using GNU nm, then we don't want the "-C" option.
4944 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
4945 # Without the "-l" option, or with the "-B" option, AIX nm treats
4949 # it in the Import File for the 'aix-soname' feature, so we have
4950 # to replace the "-B" option with "-P" for AIX nm.
4951 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
4952-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
4954-e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\…
4966 …_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\'…
4967 … $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
4971 linux* | k*bsd*-gnu | gnu*)
4972 _LT_TAGVAR(link_all_deplibs, $1)=no
4981 _LT_TAGVAR(always_export_symbols, $1)=no
4984 _LT_TAGVAR(compiler_needs_object, $1)=no
4985 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
4988 _LT_TAGVAR(hardcode_automatic, $1)=no
4989 _LT_TAGVAR(hardcode_direct, $1)=no
4990 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
4993 _LT_TAGVAR(hardcode_minus_L, $1)=no
4995 _LT_TAGVAR(inherit_rpath, $1)=no
5003 # include_expsyms should be a list of space-separated symbols to be *always*
5026 with_gnu_ld=no
5034 with_gnu_ld=no
5036 linux* | k*bsd*-gnu | gnu*)
5037 _LT_TAGVAR(link_all_deplibs, $1)=no
5045 lt_use_gnu_ld_interface=no
5053 case `$LD -v 2>&1` in
5055 *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
5056 *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
5076 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5077 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
5078 # ancient GNU ld didn't support --whole-archive et. al.
5079 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
5080 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
5084 supports_anon_versioning=no
5085 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
5087 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
5096 aix[[3-9]]*)
5099 _LT_TAGVAR(ld_shlibs, $1)=no
5106 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
5117 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5121 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5122 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5129 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5132 # support --undefined. This deserves some investigation. FIXME
5133 …_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname…
5135 _LT_TAGVAR(ld_shlibs, $1)=no
5141 # as there is no search path for DLLs.
5142 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5143 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
5145 _LT_TAGVAR(always_export_symbols, $1)=no
5147 …_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\'…
5148 … $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
5150 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
5151 …e_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-a…
5152 # If the export-symbols file already is a .def file, use it as
5160 …CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname …
5162 _LT_TAGVAR(ld_shlibs, $1)=no
5167 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5172 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5181 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5182 emximp -o $lib $output_objdir/$libname.def'
5189 prefix_cmds="$prefix_cmds -e 1d";
5191 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5193 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5194 emximp -o $lib $output_objdir/$libname.def'
5195 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
5199 interix[[3-9]]*)
5200 _LT_TAGVAR(hardcode_direct, $1)=no
5201 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5202 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5203 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5208 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
5210 …1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
5211-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output…
5214 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
5215 tmp_diet=no
5216 if test linux-dietlibc = "$host_os"; then
5218 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
5221 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
5222 && test no = "$tmp_diet"
5225 tmp_sharedflag='-shared'
5228--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
5233--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
5234 tmp_addflag=' $pic_flag -Mnomain' ;;
5236 tmp_addflag=' -i_dynamic' ;;
5238 tmp_addflag=' -i_dynamic -nofor_main' ;;
5240 tmp_addflag=' -nofor_main' ;;
5243 tmp_sharedflag='--shared' ;;
5245 tmp_sharedflag='-Wl,-shared' ;;
5247 tmp_sharedflag='-qmkshrobj'
5250--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
5254 case `$CC -V 2>&1 | sed 5q` in
5256--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conven…
5258 tmp_sharedflag='-G' ;;
5260 tmp_sharedflag='-G' ;;
5262 … '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5266 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5268 …g"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$…
5273 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
5277 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
5278 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5279 … _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
5282 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5284 …$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libnam…
5289 _LT_TAGVAR(ld_shlibs, $1)=no
5293 netbsd* | netbsdelf*-gnu)
5294 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5295 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5298 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5299 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5304 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
5305 _LT_TAGVAR(ld_shlibs, $1)=no
5316 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5317 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5318 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5320 _LT_TAGVAR(ld_shlibs, $1)=no
5325 case `$LD -v 2>&1` in
5326 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
5327 _LT_TAGVAR(ld_shlibs, $1)=no
5344 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5345 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5346 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5347 …expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-s…
5349 _LT_TAGVAR(ld_shlibs, $1)=no
5356 …_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_…
5359 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5363 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5364 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5365 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5367 _LT_TAGVAR(ld_shlibs, $1)=no
5372 if test no = "$_LT_TAGVAR(ld_shlibs, $1)"; then
5384 …(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$expo…
5386 # are no directories specified by -L.
5388 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
5395 aix[[4-9]]*)
5399 aix_use_runtimelinking=no
5400 exp_sym_flag='-Bexport'
5403 # If we're using GNU nm, then we don't want the "-C" option.
5404 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
5405 # Without the "-l" option, or with the "-B" option, AIX nm treats
5409 # it in the Import File for the 'aix-soname' feature, so we have
5410 # to replace the "-B" option with "-P" for AIX nm.
5411 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
5412-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
5414-e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\…
5416 aix_use_runtimelinking=no
5419 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5422 # depending on the kind of the shared library created -
5424 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
5427 # "both,no" lib.so.V(shr.o) shared, rtl:yes
5428 # lib.a(lib.so.V) shared, rtl:no, for executables
5430 # lib.a(lib.so.V) shared, rtl:no
5433 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
5435 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
5440 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
5441 # With aix-soname=svr4, we create the lib.so.V shared archives only,
5445 LDFLAGS="$LDFLAGS -Wl,-brtl"
5450 exp_sym_flag='-bexport'
5451 no_entry_flag='-bnoentry'
5456 # or program results in "error TOC overflow" add -mminimal-toc to
5458 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5465 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
5467 aix,*) ;; # traditional, no import file
5470 _LT_TAGVAR(hardcode_direct, $1)=no
5471 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
5479 collect2name=`$CC -print-prog-name=collect2`
5480 if test -f "$collect2name" &&
5492 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5497 shared_flag='-shared'
5499 shared_flag="$shared_flag "'$wl-G'
5503 # /with/ Import File - we do not want to mix them.
5504 shared_flag_aix='-shared'
5505 shared_flag_svr4='-shared $wl-G'
5509 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
5510 # chokes on -Wl,-G. The following line is correct:
5511 shared_flag='-G'
5514 shared_flag='$wl-G'
5516 shared_flag='$wl-bM:SRE'
5518 shared_flag_aix='$wl-bM:SRE'
5519 shared_flag_svr4='$wl-G'
5523 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
5524 # It seems that -bexpall does not export symbols beginning with
5528 # Warning - without using the other runtime loading flags (-brtl),
5529 # -berok will link without error, but may produce a broken library.
5530 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
5534 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5535 …(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $co…
5538 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
5539 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
5540 …_LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $depli…
5545 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5546 # Warning - without using the other run time loading flags,
5547 # -berok will link without error, but may produce a broken library.
5548 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
5549 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
5551 # We only use this code for GNU lds that support --whole-archive.
5552 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
5558 …_LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$real…
5559 # -brtl affects multiple linker settings, -berok does not and is overridden later
5560 …compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\…
5563 …)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$…
5566-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
5568 # used by -dlpreopen to get the symbols
5571 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/…
5580 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5584 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5585 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5592 _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
5599 # no search path for DLLs.
5612 …_LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,
5617 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
5619 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
5625 … $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'…
5637 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
5638 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
5651 …TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\…
5655 _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
5666 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5667 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5668 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5676 …_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++…
5677 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5679 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5684 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5687 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5690 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5692 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5693 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5695 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5700 …VAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -
5702 …_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objd…
5711 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5715 if test yes,no = "$GCC,$with_gnu_ld"; then
5716 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $…
5718 …_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $link…
5720 if test no = "$with_gnu_ld"; then
5725 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5733 if test yes,no = "$GCC,$with_gnu_ld"; then
5736 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_fla…
5739 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $l…
5742 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $…
5748 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
5751 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs…
5755 # Older versions of the 11.00 compiler do not understand -b yet
5756 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
5757 _LT_LINKER_OPTION([if $CC understands -b],
5758 _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
5759 …[_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $…
5760 …[_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $lin…
5761 …[_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $…
5765 if test no = "$with_gnu_ld"; then
5771 _LT_TAGVAR(hardcode_direct, $1)=no
5772 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5777 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5789-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
5790 # Try to use the -exported_symbol ld option, if it does not
5791 # work, assume that -exports_file does not work either and
5793 # This should be the same for all languages, so no per-tag cache variable.
5794 AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
5797 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
5809 [lt_cv_irix_exported_symbol=no])
5812-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
5814 _LT_TAGVAR(link_all_deplibs, $1)=no
5816-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "
5817-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "
5819 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5820 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5831 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5836 netbsd* | netbsdelf*-gnu)
5837 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5838 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
5840 _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
5842 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5844 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5848 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5850 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5852 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5859 if test -f /usr/libexec/ld.so; then
5861 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5863 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5864 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5865 …TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $…
5866 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5867 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5869 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5870 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5873 _LT_TAGVAR(ld_shlibs, $1)=no
5878 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5887 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5888 emximp -o $lib $output_objdir/$libname.def'
5895 prefix_cmds="$prefix_cmds -e 1d";
5897 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5899 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5900 emximp -o $lib $output_objdir/$libname.def'
5901 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
5907 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
5908-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$ve…
5910 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5911-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstrin…
5913 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5914 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5918 osf4* | osf5*) # as osf3* with the addition of -msym flag
5920 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
5921-shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$s…
5922 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5924 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5925-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$ve…
5926 …in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%…
5927-shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $sona…
5929 # Both c and cxx compiler support -rpath directly
5930 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5932 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5937 _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
5940 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libo…
5941 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5942 …$CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs…
5944 case `$CC -V 2>&1` in
5947 …_LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $li…
5948 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5949 …$LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $li…
5953 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $co…
5954 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5955 …$CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $…
5959 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5960 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5962 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
5965 # but understands '-z linker_flag'. GCC discards it without '$wl',
5969 …_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextra…
5971 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
5982 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
5984 …_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_fla…
5986 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5989 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5995 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6001 _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6002 _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
6003 _LT_TAGVAR(hardcode_direct, $1)=no
6006 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6007 _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
6011 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6015 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6016 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6017 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
6021 if test -d /usr/nec; then
6022 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6023 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6031 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6032 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6033 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6037 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6038 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
6040 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6041 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
6046 # Note: We CANNOT use -z defs as we might desire, because we do not
6047 # link with -lc, and that would cause any symbols used from libc to
6048 # always be unresolved, which means just about no library would
6049 # ever link correctly. If we're not using GNU ld we use -z text
6050 # though, which does catch some bad symbols but isn't as heavy-handed
6051 # as -z defs.
6052 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6053 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
6054 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6055 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6056 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
6059 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
6063 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6064 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
6066 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6067 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
6072 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6073 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6074 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6078 _LT_TAGVAR(ld_shlibs, $1)=no
6085 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym'
6092 test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
6106 # Assume -lc should be added
6112 # FIXME: we may have to deal with multi-command sequences.
6115 # Test whether the compiler implicitly links with -lc since on some
6116 # systems, -lgcc has to come before -lc. If gcc already passes -lc
6117 # to ld, don't add -lc before -lgcc.
6118 AC_CACHE_CHECK([whether -lc should be explicitly linked in],
6130 compiler_flags=-v
6131 linker_flags=-v
6137 if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
6139 lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
6157 [Whether or not to add -lc for building shared libraries])
6166 [Whether the compiler copes with passing no objects directly])
6168 [Create an old-style archive from a shared archive])
6170 [Create a temporary old-style archive to link instead of a shared archive])
6182 [Flag that enforces no undefined symbols])
6187 [Whether we need a single "-rpath" flag with a separated argument])
6197 [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
6232 # ------------------------
6263 if test -n "$compiler"; then
6279 test no = "$can_build_shared" && enable_shared=no
6285 test yes = "$enable_shared" && enable_static=no
6286 if test -n "$RANLIB"; then
6292 aix[[4-9]]*)
6297 yes,*) enable_static=no ;; # shared object in lib.a archive as well
6317 # --------------------------
6325 if test -n "$CXX" && ( test no != "$CXX" &&
6326 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
6334 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6336 _LT_TAGVAR(always_export_symbols, $1)=no
6338 _LT_TAGVAR(compiler_needs_object, $1)=no
6340 _LT_TAGVAR(hardcode_direct, $1)=no
6341 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
6344 _LT_TAGVAR(hardcode_minus_L, $1)=no
6346 _LT_TAGVAR(hardcode_automatic, $1)=no
6347 _LT_TAGVAR(inherit_rpath, $1)=no
6356 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
6365 # No sense in running all these tests if we already determined that
6368 # and will be corrupted by setting them based on a non-working compiler.
6391 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
6396 if test -n "${lt_cv_path_LDCXX+set}"; then
6401 test -z "${LDCXX+set}" || LD=$LDCXX
6402 CC=${CXX-"c++"}
6408 if test -n "$compiler"; then
6409 # We don't want -fno-exception when compiling C++ code, so set the
6412 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
6425 …s, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compil…
6426-shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $…
6428 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6429 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6432 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
6436 # ancient GNU ld didn't support --whole-archive et. al.
6437 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
6438 $GREP 'no-whole-archive' > /dev/null; then
6439 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
6444 with_gnu_ld=no
6452 …LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_obje…
6458 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
6461 GXX=no
6462 with_gnu_ld=no
6472 _LT_TAGVAR(ld_shlibs, $1)=no
6474 aix[[4-9]]*)
6478 aix_use_runtimelinking=no
6479 exp_sym_flag='-Bexport'
6482 aix_use_runtimelinking=no
6485 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6488 # depending on the kind of the shared library created -
6490 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
6493 # "both,no" lib.so.V(shr.o) shared, rtl:yes
6494 # lib.a(lib.so.V) shared, rtl:no, for executables
6496 # lib.a(lib.so.V) shared, rtl:no
6499 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
6502 *-brtl*)
6508 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
6509 # With aix-soname=svr4, we create the lib.so.V shared archives only,
6513 LDFLAGS="$LDFLAGS -Wl,-brtl"
6518 exp_sym_flag='-bexport'
6519 no_entry_flag='-bnoentry'
6524 # or program results in "error TOC overflow" add -mminimal-toc to
6526 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6533 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
6535 aix,*) ;; # no import file
6538 _LT_TAGVAR(hardcode_direct, $1)=no
6539 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
6547 collect2name=`$CC -print-prog-name=collect2`
6548 if test -f "$collect2name" &&
6560 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6564 shared_flag='-shared'
6566 shared_flag=$shared_flag' $wl-G'
6570 # /with/ Import File - we do not want to mix them.
6571 shared_flag_aix='-shared'
6572 shared_flag_svr4='-shared $wl-G'
6576 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6577 # chokes on -Wl,-G. The following line is correct:
6578 shared_flag='-G'
6581 shared_flag='$wl-G'
6583 shared_flag='$wl-bM:SRE'
6585 shared_flag_aix='$wl-bM:SRE'
6586 shared_flag_svr4='$wl-G'
6590 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
6591 # It seems that -bexpall does not export symbols beginning with
6596 # Warning - without using the other runtime loading flags (-brtl),
6597 # -berok will link without error, but may produce a broken library.
6598 # The "-G" linker flag allows undefined symbols.
6599 _LT_TAGVAR(no_undefined_flag, $1)='-bernotok'
6603 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6605 …(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $co…
6608 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
6609 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
6610 …_LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $depli…
6615 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6616 # Warning - without using the other run time loading flags,
6617 # -berok will link without error, but may produce a broken library.
6618 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
6619 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
6621 # We only use this code for GNU lds that support --whole-archive.
6622 … _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
6628 …_LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$real…
6629 # -brtl affects multiple linker settings, -berok does not and is overridden later
6630 …compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\…
6633 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
6634 …)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$…
6637-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
6639 # used by -dlpreopen to get the symbols
6642 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/…
6648 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6651 # support --undefined. This deserves some investigation. FIXME
6652 …_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname…
6654 _LT_TAGVAR(ld_shlibs, $1)=no
6662 _LT_TAGVAR(ld_shlibs, $1)=no
6669 ,cl* | no,cl*)
6672 # no search path for DLLs.
6682 …_LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,
6687 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
6689 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
6706 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
6707 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
6714 # as there is no search path for DLLs.
6715 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6716 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
6718 _LT_TAGVAR(always_export_symbols, $1)=no
6721 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
6722-shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_ob…
6723 # If the export-symbols file already is a .def file, use it as
6731-shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $c…
6733 _LT_TAGVAR(ld_shlibs, $1)=no
6743 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6752 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
6753 emximp -o $lib $output_objdir/$libname.def'
6760 prefix_cmds="$prefix_cmds -e 1d";
6762 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
6764 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
6765 emximp -o $lib $output_objdir/$libname.def'
6766 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
6774 _LT_TAGVAR(ld_shlibs, $1)=no
6779 _LT_TAGVAR(ld_shlibs, $1)=no
6783 _LT_TAGVAR(ld_shlibs, $1)=no
6791 _LT_TAGVAR(ld_shlibs, $1)=no
6794 freebsd-elf*)
6795 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6805 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
6812 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6821 _LT_TAGVAR(ld_shlibs, $1)=no
6824 …_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $outpu…
6833 …output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP " \-L"`; lis…
6837 …rchive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_lib…
6840 _LT_TAGVAR(ld_shlibs, $1)=no
6847 if test no = "$with_gnu_ld"; then
6855 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6861 _LT_TAGVAR(hardcode_direct, $1)=no
6862 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6876 _LT_TAGVAR(ld_shlibs, $1)=no
6881 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $p…
6884 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $…
6887 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_obj…
6898 …output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP " \-L"`; list…
6902 if test no = "$with_gnu_ld"; then
6905 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects…
6908 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath
6911 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_l…
6917 _LT_TAGVAR(ld_shlibs, $1)=no
6923 interix[[3-9]]*)
6924 _LT_TAGVAR(hardcode_direct, $1)=no
6925 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6926 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6927 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6932 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6934 …1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
6935-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output…
6941-shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname …
6944 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
6947 _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
6951 if test no = "$with_gnu_ld"; then
6952-shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl
6954-shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl
6960 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6965 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6971 # ends with ".so" (or ".sl" for HP-UX), so rename the library
6973-e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"…
6974-e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"…
6983 …_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GRE…
6985 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6986 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6989 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
6990 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
6998 case `$CC -V 2>&1` in
7000 …VAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_fl…
7001 …='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$so…
7006 ia64*) tmp_idyn=' -i_dynamic';;
7008 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-sonam…
7009 …_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-r…
7012 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7013 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7014 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7015 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
7019 case `$CC -V` in
7020 *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
7022 rm -rf $tpldir~
7023 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
7024 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
7026 rm -rf $tpldir~
7027 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
7028 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
7031 rm -rf $tpldir~
7032 …$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $…
7033-shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $po…
7035 rm -rf $tpldir~
7036 …$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $…
7037-shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $pos…
7040 …rchive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compil…
7041-shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $…
7045 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir'
7046 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7047--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
7051 …VAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_fl…
7052 …mds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-sonam…
7055 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7066 …output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; tem…
7070 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7071 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7072 …_LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$sona…
7075 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7077 …$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$outp…
7081 case `$CC -V 2>&1 | sed 5q` in
7084 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7085 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libob…
7086 …s, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_o…
7087 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7088--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conven…
7092 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
7097 # "CC -xar", where "CC" is the Sun C++ compiler. This is
7100 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7109 _LT_TAGVAR(ld_shlibs, $1)=no
7114 _LT_TAGVAR(ld_shlibs, $1)=no
7121 _LT_TAGVAR(ld_shlibs, $1)=no
7125 _LT_TAGVAR(ld_shlibs, $1)=no
7131 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7132 …_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_…
7134 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7136 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7138 # Workaround some broken pre-1.5 toolchains
7139 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $…
7147 if test -f /usr/libexec/ld.so; then
7149 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7151 …LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_obje…
7152 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7153 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
7154 …ds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags …
7155 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
7156 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
7160 _LT_TAGVAR(ld_shlibs, $1)=no
7170 # ends with ".so" (or ".sl" for HP-UX), so rename the library
7172-e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so…
7174 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7180 osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
7181 *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
7187 _LT_TAGVAR(ld_shlibs, $1)=no
7192 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
7193-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $w…
7194 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7197 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
7198-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -m…
7199 …hive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i"…
7200 echo "-hidden">> $lib.exp~
7201-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -m…
7203 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7217 …output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GR…
7220 if test yes,no = "$GXX,$with_gnu_ld"; then
7221 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
7224-shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compil…
7227-shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objec…
7231 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7237 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
7241 _LT_TAGVAR(ld_shlibs, $1)=no
7249 _LT_TAGVAR(ld_shlibs, $1)=no
7257 _LT_TAGVAR(ld_shlibs, $1)=no
7262 _LT_TAGVAR(ld_shlibs, $1)=no
7266 _LT_TAGVAR(ld_shlibs, $1)=no
7276 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7277 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libob…
7278 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
7279 …$CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs …
7281 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7282 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7284 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7287 # but understands '-z linker_flag'.
7289 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
7297 # "CC -xar", where "CC" is the Sun C++ compiler. This is
7300 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7304 …TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler…
7307 _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
7311 if test yes,no = "$GXX,$with_gnu_ld"; then
7312 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs'
7313 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
7314 …hive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects…
7315 …ve_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
7316 …$CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobj…
7321 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
7323 # g++ 2.7 appears to require '-G' NOT '-shared' on this
7325 …VAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compil…
7326 …ve_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
7327 …$CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $pos…
7332 …output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | …
7335 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
7337 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7339 …_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextra…
7348 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7349 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7350 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7355 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7356 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
7359 … _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7360 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
7366 # Note: We CANNOT use -z defs as we might desire, because we do not
7367 # link with -lc, and that would cause any symbols used from libc to
7368 # always be unresolved, which means just about no library would
7369 # ever link correctly. If we're not using GNU ld we use -z text
7370 # though, which does catch some bad symbols but isn't as heavy-handed
7371 # as -z defs.
7372 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7373 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
7374 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7375 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7376 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
7379 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
7384 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7385 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
7386 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
7388 _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
7392 … _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7393 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
7401 # NonStop-UX NCC 3.20
7403 _LT_TAGVAR(ld_shlibs, $1)=no
7407 _LT_TAGVAR(ld_shlibs, $1)=no
7414 _LT_TAGVAR(ld_shlibs, $1)=no
7419 _LT_TAGVAR(ld_shlibs, $1)=no
7424 test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
7430 ## There is no encapsulation within the following macros, do not change
7442 fi # test -n "$compiler"
7461 # ----------------------
7468 # This function is identical to the (non-XSI) version of func_stripname,
7485 # ---------------------------------
7551 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
7552 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
7553 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
7564 pre_test_object_deps_done=no
7569 -L* | -R* | -l*)
7570 # Some compilers place space between "-{L,R}" and the path.
7572 if test x-L = "$p" ||
7573 test x-R = "$p"; then
7579 if test -z "$prev"; then
7581 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
7582 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
7583 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
7589 if test no = "$pre_test_object_deps_done"; then
7591 -L | -R)
7594 # user supplied libs so there is no need to process them.
7595 if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
7601 # The "-l" case would never come before the object being
7605 if test -z "$_LT_TAGVAR(postdeps, $1)"; then
7623 if test no = "$pre_test_object_deps_done"; then
7624 if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
7630 if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
7644 rm -f a.out a.exe
7649 $RM -f confest.$objext
7655 interix[[3-9]]*)
7666 *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
7669 if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
7670 …h_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'`
7687 # --------------------------
7693 if test -z "$F77" || test no = "$F77"; then
7697 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7699 _LT_TAGVAR(always_export_symbols, $1)=no
7702 _LT_TAGVAR(hardcode_direct, $1)=no
7703 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
7706 _LT_TAGVAR(hardcode_minus_L, $1)=no
7707 _LT_TAGVAR(hardcode_automatic, $1)=no
7708 _LT_TAGVAR(inherit_rpath, $1)=no
7717 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
7726 # No sense in running all these tests if we already determined that
7729 # and will be corrupted by setting them based on a non-working compiler.
7755 CC=${F77-"f77"}
7761 if test -n "$compiler"; then
7766 test no = "$can_build_shared" && enable_shared=no
7772 test yes = "$enable_shared" && enable_static=no
7773 if test -n "$RANLIB"; then
7778 aix[[4-9]]*)
7783 yes,*) enable_static=no ;; # shared object in lib.a archive as well
7799 ## There is no encapsulation within the following macros, do not change
7810 fi # test -n "$compiler"
7822 # -------------------------
7829 if test -z "$FC" || test no = "$FC"; then
7833 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7835 _LT_TAGVAR(always_export_symbols, $1)=no
7838 _LT_TAGVAR(hardcode_direct, $1)=no
7839 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
7842 _LT_TAGVAR(hardcode_minus_L, $1)=no
7843 _LT_TAGVAR(hardcode_automatic, $1)=no
7844 _LT_TAGVAR(inherit_rpath, $1)=no
7853 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
7856 ac_ext=${ac_fc_srcext-f}
7862 # No sense in running all these tests if we already determined that
7865 # and will be corrupted by setting them based on a non-working compiler.
7891 CC=${FC-"f95"}
7899 if test -n "$compiler"; then
7904 test no = "$can_build_shared" && enable_shared=no
7910 test yes = "$enable_shared" && enable_static=no
7911 if test -n "$RANLIB"; then
7916 aix[[4-9]]*)
7921 yes,*) enable_static=no ;; # shared object in lib.a archive as well
7937 ## There is no encapsulation within the following macros, do not change
7949 fi # test -n "$compiler"
7961 # --------------------------
7994 CC=${GCJ-"gcj"}
8002 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
8008 if test -n "$compiler"; then
8028 # --------------------------
8061 CC=${GOC-"gccgo"}
8069 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
8075 if test -n "$compiler"; then
8095 # -------------------------
8128 CC=${RC-"windres"}
8135 if test -n "$compiler"; then
8148 # -----------
8153 test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
8159 dnl aclocal-1.4 backwards compatibility:
8164 # ----------
8171 # ----------
8178 dnl aclocal-1.4 backwards compatibility:
8183 # --------------
8189 test -z "$GREP" && GREP=grep
8193 dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
8199 # --------------
8204 test -z "$OBJDUMP" && OBJDUMP=objdump
8210 # ----------------
8214 test -z "$DLLTOOL" && DLLTOOL=dlltool
8220 # ------------
8221 # Check for a fully-functional sed program, that truncates
8225 test -z "$SED" && SED=sed
8226 Xsed="$SED -e 1s/^X//"
8228 _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
8229 [Sed that helps us avoid accidentally triggering echo(1) options like -n])
8247 test -z "$as_dir" && as_dir=.
8262 test ! -f "$lt_ac_sed" && continue
8267 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
8276 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
8277 cmp -s conftest.out conftest.nl || break
8279 test 10 -lt "$lt_ac_count" && break
8281 if test "$lt_ac_count" -gt "$lt_ac_max"; then
8296 dnl aclocal-1.4 backwards compatibility:
8301 # ------------------------
8330 # -----------------------------
8333 # for certain cross-compile configurations and native mingw.
8340 *-*-mingw* )
8342 *-*-mingw* ) # actually msys
8345 *-*-cygwin* )
8353 *-*-cygwin* )
8355 *-*-mingw* ) # actually msys
8358 *-*-cygwin* )
8381 *-*-mingw* )
8383 *-*-mingw* ) # actually msys
8396 # Helper functions for option handling. -*- Autoconf -*-
8398 # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software
8412 # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
8413 # ------------------------------------------
8415 [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
8418 # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
8419 # ---------------------------------------
8420 # Set option OPTION-NAME for macro MACRO-NAME, and if there is a
8421 # matching handler defined, dispatch to it. Other OPTION-NAMEs are
8431 # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
8432 # ------------------------------------------------------------
8433 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
8438 # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
8439 # -------------------------------------------------------
8440 # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
8451 # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
8452 # ----------------------------------------
8453 # OPTION-LIST is a space-separated list of Libtool options associated
8454 # with MACRO-NAME. If any OPTION has a matching handler declared with
8466 _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
8468 _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
8471 dnl If no reference was made to various pairs of opposing options, then
8473 dnl 'shared' nor 'disable-shared' was passed, we enable building of shared
8475 _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
8476 _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
8477 _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
8478 _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
8480 _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4],
8487 # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
8488 # -----------------------------------------
8490 [[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
8493 # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
8494 # -----------------------------------------------
8501 # ------
8512 dnl aclocal-1.4 backwards compatibility:
8516 # win32-dll
8517 # ---------
8519 LT_OPTION_DEFINE([LT_INIT], [win32-dll],
8523 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8530 test -z "$AS" && AS=as
8533 test -z "$DLLTOOL" && DLLTOOL=dlltool
8536 test -z "$OBJDUMP" && OBJDUMP=objdump
8538 ])# win32-dll
8542 _LT_SET_OPTION([LT_INIT], [win32-dll])
8545 put the 'win32-dll' option into LT_INIT's first parameter.])
8548 dnl aclocal-1.4 backwards compatibility:
8553 # ----------------------------
8554 # implement the --enable-shared flag, and supports the 'shared' and
8555 # 'disable-shared' LT_INIT options.
8556 # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
8558 [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
8560 [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
8562 [p=${PACKAGE-default}
8565 no) enable_shared=no ;;
8567 enable_shared=no
8586 LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
8590 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
8594 [_LT_SET_OPTION([LT_INIT], [disable-shared])
8600 dnl aclocal-1.4 backwards compatibility:
8607 # ----------------------------
8608 # implement the --enable-static flag, and support the 'static' and
8609 # 'disable-static' LT_INIT options.
8610 # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
8612 [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
8614 [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
8616 [p=${PACKAGE-default}
8619 no) enable_static=no ;;
8621 enable_static=no
8640 LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
8644 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
8648 [_LT_SET_OPTION([LT_INIT], [disable-static])
8654 dnl aclocal-1.4 backwards compatibility:
8661 # ----------------------------------
8662 # implement the --enable-fast-install flag, and support the 'fast-install'
8663 # and 'disable-fast-install' LT_INIT options.
8664 # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
8666 [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
8667 AC_ARG_ENABLE([fast-install],
8668 [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
8670 [p=${PACKAGE-default}
8673 no) enable_fast_install=no ;;
8675 enable_fast_install=no
8693 LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
8694 LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
8698 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
8701 the 'fast-install' option into LT_INIT's first parameter.])
8705 [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
8708 the 'disable-fast-install' option into LT_INIT's first parameter.])
8711 dnl aclocal-1.4 backwards compatibility:
8717 # ----------------------------------
8718 # implement the --with-aix-soname flag, and support the `aix-soname=aix'
8719 # and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT
8725 power*-*-aix[[5-9]]*,yes)
8727 AC_ARG_WITH([aix-soname],
8728 [AS_HELP_STRING([--with-aix-soname=aix|svr4|both],
8734 AC_MSG_ERROR([Unknown argument to --with-aix-soname])
8746 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8748 if test 64 = "${OBJECT_MODE-32}"; then
8764 LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])])
8765 LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])])
8766 LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])])
8770 # --------------------
8771 # implement the --with-pic flag, and support the 'pic-only' and 'no-pic'
8773 # MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'.
8776 [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
8777 [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
8778 [lt_p=${PACKAGE-default}
8780 yes|no) pic_mode=$withval ;;
8799 LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
8800 LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
8804 [_LT_SET_OPTION([LT_INIT], [pic-only])
8807 put the 'pic-only' option into LT_INIT's first parameter.])
8810 dnl aclocal-1.4 backwards compatibility:
8828 # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
8830 # Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software
8845 # -----------------------------
8861 # ------------
8864 # Autoconf-2.59, which quotes differently.
8873 # lt_append(MACRO-NAME, STRING, [SEPARATOR])
8874 # ------------------------------------------
8875 # Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'.
8877 # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
8878 # No SEPARATOR is output if MACRO-NAME was previously undefined (different
8889 # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
8890 # ----------------------------------------------------------
8892 # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
8904 # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
8905 # -----------------------------------------------------------------------
8906 # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
8907 # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
8910 [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
8917 # -----------------------------
8923 # --------------------------------------------
8929 # ----------------------------------
8936 # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
8937 # -----------------------------------------------------------------
8945 # --------------------------------------------------------------
8953 # ltversion.m4 -- version numbers -*- Autoconf -*-
8955 # Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc.
8977 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
8979 # Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software
9005 # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
9077 # Copyright (C) 2002-2021 Free Software Foundation, Inc.
9084 # ----------------------------
9097 # -----------------------------
9104 # -------------------------------
9113 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
9115 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
9141 # are both prefixed by $srcdir. In an in-source build this is usually
9151 # unfortunately $(top_srcdir) has no meaning in configure.
9165 # AM_CONDITIONAL -*- Autoconf -*-
9167 # Copyright (C) 1997-2021 Free Software Foundation, Inc.
9173 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
9174 # -------------------------------------
9193 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
9198 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
9213 # ----------------------
9238 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9241 # instance it was reported that on HP-UX the gcc test will end up
9242 # making a dummy file named 'D' -- because '-MD' means "put the output
9244 rm -rf conftest.dir
9252 # both Tru64's cc and ICC support -MD to output dependencies as a
9260 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
9265 *\ -arch\ *\ -arch\ *) am__universal=true ;;
9269 *\ -arch\ *\ -arch\ *) am__universal=true ;;
9289 # We check with '-c' and '-o' for the sake of the "dashmstdout"
9291 # handle '-M -o', and we need to detect this. Also, some Intel
9293 am__obj=sub/conftest.${OBJEXT-o}
9294 am__minus_obj="-o $am__obj"
9301 # After this tag, mechanisms are not by side-effect, so they'll
9310 # This compiler won't grok '-c -o', but also, the minuso test has
9313 am__obj=conftest.${OBJEXT-o}
9321 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9326 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9328 # or remarks (even with -Werror). So we grep stderr for any message
9330 # When given -MP, icc 7.0 and 7.1 complain thusly:
9331 # icc: Command line warning: ignoring option '-M'; no argument required
9333 # icc: Command line remark: option '-MP' not supported
9343 rm -rf conftest.dir
9356 # -------------
9366 # ------------
9368 [AC_ARG_ENABLE([dependency-tracking], [dnl
9370 [--enable-dependency-tracking],
9373 [--disable-dependency-tracking],
9374 [speeds up one-time build])])
9387 # Generate code to set up dependency tracking. -*- Autoconf -*-
9389 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
9396 # ------------------------------
9399 # Older Autoconf quotes --file arguments for eval, but not when files
9400 # are listed without --file. Let's play safe and only enable the eval
9413 am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
9415 # dependency-tracking related rules and includes.
9418 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
9423 && sed -e '/# am--include-marker/d' "$am_filepart" \
9424 | $MAKE -f - am--depfiles]) || am_rc=$?
9426 if test $am_rc -ne 0; then
9429 re-running the configure script with MAKE="gmake" (or whatever is
9430 necessary). You can also try re-running configure with the
9431 '--disable-dependency-tracking' option to at least be able to build
9438 rm -f conftest-deps.mk
9444 # -----------------------------
9445 # This macro should only be invoked once -- use via AC_REQUIRE.
9453 [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
9455 # Do all the work for Automake. -*- Autoconf -*-
9457 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
9472 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
9474 # -----------------------------------------------
9476 # call (pre autoconf-2.50), which is being phased out. PACKAGE
9491 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
9495 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
9496 # is not polluted with repeated "-I."
9497 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
9499 if test -f $srcdir/config.status; then
9505 if test -z "$CYGPATH_W"; then
9506 if (cygpath --version) >/dev/null 2>/dev/null; then
9507 CYGPATH_W='cygpath -w'
9515 dnl Distinguish between old-style and new-style calls.
9518 [$0: two- and three-arguments forms are deprecated.])
9519 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
9523 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
9531 _AM_IF_OPTION([no-define],,
9538 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
9540 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
9548 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
9549 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
9556 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
9557 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
9559 _AM_IF_OPTION([no-dependencies],,
9578 if test -z "$CTAGS"; then
9582 if test -z "$ETAGS"; then
9586 if test -z "$CSCOPE"; then
9597 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
9599 # POSIX will say in a future version that running "rm -f" with no argument
9607 if rm -f && rm -fr && rm -rf; then : OK; else
9609 Oops!
9612 on the command line, even when the '-f' option is present. This is contrary
9616 Please tell bug-automake@gnu.org about your system, including the value
9634 to "yes", and re-run configure.
9641 dnl backward compatibility and to allow trailing 'dnl'-style comments
9651 # When config.status generates a header, we must update the stamp-h file.
9670 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
9672 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
9679 # ------------------
9686 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
9688 install_sh="\${SHELL} $am_aux_dir/install-sh"
9693 # Copyright (C) 2003-2021 Free Software Foundation, Inc.
9699 # Check whether the underlying file-system supports filenames
9700 # with a leading dot. For instance MS-DOS doesn't.
9702 [rm -rf .tst 2>/dev/null
9704 if test -d .tst; then
9712 # Check to see how 'make' treats includes. -*- Autoconf -*-
9714 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
9721 # -----------------
9725 [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
9737 _am_result=no
9739 AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
9750 rm -f confinc.* confmf.*
9755 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
9757 # Copyright (C) 1997-2021 Free Software Foundation, Inc.
9764 # ------------------------------
9767 $1=${$1-"${am_missing_run}$2"}
9771 # ------------------
9781 if eval "$MISSING --is-lightweight"; then
9789 # Helper functions for option handling. -*- Autoconf -*-
9791 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
9798 # -----------------------
9800 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
9803 # --------------------
9809 # ------------------------
9810 # OPTIONS is a space-separated list of Automake options.
9814 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
9815 # -------------------------------------------
9816 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
9820 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
9827 # ---------------
9835 [whether $CC understands -c and -o together],
9840 # compilers refuse to overwrite an existing .o file with -o,
9844 if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
9845 && test -f conftest2.$ac_objext; then
9848 am_cv_prog_cc_c_o=no
9852 rm -f core conftest*
9858 # A longer-term fix would be to have automake use am__CC in this case,
9867 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
9874 # -------------------
9884 # Check to make sure that the build environment is sane. -*- Autoconf -*-
9886 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
9893 # ---------------
9910 # arguments. Must try -L first in case configure is actually a
9915 am_has_slept=no
9918 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
9920 # -L didn't work.
9921 set X `ls -t "$srcdir/configure" conftest.file`
9930 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
9933 if test "$[2]" = conftest.file || test $am_try -eq 2; then
9953 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
9959 if test -n "$am_sleep_pid"; then
9964 rm -f conftest.file
9967 # Copyright (C) 2009-2021 Free Software Foundation, Inc.
9974 # --------------------------
9976 # ("yes" being less verbose, "no" or empty being verbose).
9978 [AC_ARG_ENABLE([silent-rules], [dnl
9980 [--enable-silent-rules],
9983 [--disable-silent-rules],
9988 no) AM_DEFAULT_VERBOSITY=1;;
9995 am_make=${MAKE-make}
10004 .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
10007 am_cv_make_support_nested_variables=no
10027 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
10034 # ---------------------
10037 # annoying in cross-compiling environments, where the build's strip
10039 # Fortunately install-sh will honor a STRIPPROG variable, so we
10040 # always use install-sh in "make install-strip", and initialize
10045 # run "make install-strip". However 'strip' might not be the right
10046 # tool to use in cross-compilation environments, therefore Automake
10049 if test "$cross_compiling" != no; then
10052 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
10055 # Copyright (C) 2006-2021 Free Software Foundation, Inc.
10062 # ---------------------------
10068 # --------------------------
10072 # Check how to create a tarball. -*- Autoconf -*-
10074 # Copyright (C) 2004-2021 Free Software Foundation, Inc.
10081 # --------------------
10086 # writing to stdout a FORMAT-tarball containing the directory
10096 # in the wild :-( We should find a proper way to deprecate it ...
10097 AC_SUBST([AMTAR], ['$${TAR-tar}'])
10103 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
10107 [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
10111 am_max_uid=2097151 # 2^21 - 1
10114 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
10117 am_uid=`id -u || echo unknown`
10118 am_gid=`id -g || echo unknown`
10120 if test $am_uid -le $am_max_uid; then
10123 AC_MSG_RESULT([no])
10127 if test $am_gid -le $am_max_gid; then
10130 AC_MSG_RESULT([no])
10143 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
10149 AM_RUN_LOG([$_am_tar --version]) && break
10151 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
10152 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
10153 am__untar="$_am_tar -xf -"
10156 # Must skip GNU tar: if it does not support --format= it doesn't create
10158 (tar --version) >/dev/null 2>&1 && continue
10159 am__tar='tar chf - "$$tardir"'
10160 am__tar_='tar chf - "$tardir"'
10161 am__untar='tar xf -'
10164 am__tar='pax -L -x $1 -w "$$tardir"'
10165 am__tar_='pax -L -x $1 -w "$tardir"'
10166 am__untar='pax -r'
10169 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
10170 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
10171 am__untar='cpio -i -H $1 -d'
10182 test -n "${am_cv_prog_tar_$1}" && break
10185 rm -rf conftest.dir
10189 rm -rf conftest.dir
10190 if test -s conftest.tar; then
10196 rm -rf conftest.dir