Lines Matching +full:- +full:wl
1 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
3 # Copyright (C) 1996-2001, 2003-2017 Free Software Foundation, Inc.
38 # ------------------
41 [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
49 # ------------------
60 # ------------------
70 m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
80 _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
101 dnl aclocal-1.4 backwards compatibility:
107 # -----------------------
109 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
116 \-*) ;;
120 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
126 # -------------------
140 # ----------------------
144 [: ${CP="cp -f"}
145 : ${MV="mv -f"}
146 : ${RM="rm -f"}
151 # ---------
173 test -z "$LN_S" && LN_S="ln -s"
194 if test -n "\${ZSH_VERSION+set}"; then
198 if test -n "${ZSH_VERSION+set}"; then
232 test -z "$CC" && CC=cc
233 test -z "$LTCC" && LTCC=$CC
234 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
235 test -z "$LD" && LD=ld
236 test -z "$ac_objext" && ac_objext=o
241 test -z "$MAGIC_CMD" && MAGIC_CMD=file
259 # --------------------------
263 # double-quoted strings.
281 # ---------------
293 ## ------------------------------------- ##
295 ## ------------------------------------- ##
303 # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
304 # ----------------------------------------
305 # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
317 # ------------------------------
330 # -----------------------------------------------------
338 # -----------------------------
340 # full-stop to the whole comment if one is not present already.
349 ## ------------------------ ##
351 ## ------------------------ ##
354 # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
355 # -------------------------------------------------------------------
373 # --------------------------------------------------------
378 # ------------------------------------------------
384 # ---------------------------------------------------------
396 # --------------------------------------------------
402 # ---------------------------------------------------
408 # ---------------------------------------------------
419 # ------------------------------------------------
433 # ------------------------------------
442 # ------------------------------
455 # ----------------
464 # -----------------------------------
485 # -----------------------
486 # Produce commented declarations of non-tagged libtool config variables
497 # -------------------------
504 # ------------------------------
509 # -------------------
535 # The HP-UX ksh and POSIX shell print the target directory to stdout
568 # Double-quote double-evaled strings.
573 …\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_s…
585 # ------------------------------------
591 # the child script. The macro ends with non-zero status if the
603 SHELL=\${CONFIG_SHELL-$SHELL}
615 # ---------
640 -h, --help print this help, then exit
641 -V, --version print version number, then exit
642 -q, --quiet do not print progress messages
643 -d, --debug don't remove temporary files
645 Report bugs to <bug-libtool@gnu.org>."
659 --version | --v* | -V )
661 --help | --h* | -h )
663 --debug | --d* | -d )
665 --quiet | --q* | --silent | --s* | -q )
668 -*) AC_MSG_ERROR([unrecognized option: $[1]
669 Try '$[0] --help' for more information.]) ;;
672 Try '$[0] --help' for more information.]) ;;
699 lt_config_lt_args="$lt_config_lt_args --quiet"
708 # ---------------
709 # If TAG is the built-in tag, create an initial libtool script with a
720 if test -n "${ZSH_VERSION+set}"; then
731 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
734 # Provide generalized library-building support services.
778 # if finds mixed CR/LF and LF-only lines. Since sed operates in
782 || (rm -f "$cfgfile"; exit 1)
784 mv -f "$cfgfile" "$ofile" ||
785 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
808 # ---------------------
810 # --tag option, using:
811 # autoconf --trace 'LT_SUPPORTED_TAG:$1'
815 # C support is built-in for now
821 # -------------
840 # ------------------
863 if test -z "$GOC"; then
864 if test -n "$ac_tool_prefix"; then
868 if test -z "$GOC"; then
876 # -----------------------
920 dnl aclocal-1.4 backwards compatibility:
929 # ----------------
939 LTCC=${LTCC-"$CC"}
942 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
950 # ------------------------
964 # ----------------------
973 $RM -r conftest*
977 # -------------------------
993 [ldd/readelf like tool for Mach-O binaries on Mac OS X])
995 [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
997 AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
999 if test -z "$LT_MULTI_MODULE"; then
1000 # By default we will add the -single_module flag. You can override
1002 # non-empty at configure time, or by adding -multi_module to the
1004 rm -rf libconftest.dylib*
1006 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1007 -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
1008 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1009 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
1011 # If there is a non-empty error log, and "single_module"
1013 if test -s conftest.err && $GREP single_module conftest.err; then
1017 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
1022 rm -rf libconftest.dylib*
1023 rm -f conftest.*
1026 AC_CACHE_CHECK([for -exported_symbols_list linker flag],
1031 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1038 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
1043 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
1044 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
1052 …echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAG…
1053 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
1055 if test -s conftest.err && $GREP force_load conftest.err; then
1057 …elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
1062 rm -f conftest.err libconftest.a conftest conftest.c
1063 rm -rf conftest.dSYM
1067 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
1069 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1074 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1075 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1076 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1078 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1080 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1088 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
1090 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
1103 # ---------------------------------
1113 …ec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenienc…
1127 …_LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs…
1128 …_LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$co…
1129 …\$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobj…
1130 …psym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC…
1133 …-r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_…
1134 …-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamicl…
1143 # ----------------------------------
1166 …_LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_a…
1167 # Check for a 64-bit object if we didn't find anything.
1168 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1169 …_LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$l…
1171 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1181 # -------------------
1183 [m4_divert_text([M4SH-INIT], [$1
1189 # -----------------------
1201 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
1202 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
1203 ECHO='print -r --'
1218 # Invoke $ECHO with all args, space-separated.
1226 print*) AC_MSG_RESULT([print -r]) ;;
1232 test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
1238 || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
1246 # ----------------
1250 [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
1261 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
1265 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
1275 AC_MSG_RESULT([${lt_sysroot:-no}])
1280 # ---------------
1282 [AC_ARG_ENABLE([libtool-lock],
1283 [AS_HELP_STRING([--disable-libtool-lock],
1290 ia64-*-hpux*)
1296 *ELF-32*)
1299 *ELF-64*)
1304 rm -rf conftest*
1306 *-*-irix6*)
1313 *32-bit*)
1314 LD="${LD-ld} -melf32bsmip"
1317 LD="${LD-ld} -melf32bmipn32"
1319 *64-bit*)
1320 LD="${LD-ld} -melf64bmip"
1325 *32-bit*)
1326 LD="${LD-ld} -32"
1329 LD="${LD-ld} -n32"
1331 *64-bit*)
1332 LD="${LD-ld} -64"
1337 rm -rf conftest*
1340 mips64*-*linux*)
1347 *32-bit*)
1350 *64-bit*)
1367 LD="${LD-ld} -m $emul"
1369 rm -rf conftest*
1372 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
1373 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1377 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
1383 *32-bit*)
1385 x86_64-*kfreebsd*-gnu)
1386 LD="${LD-ld} -m elf_i386_fbsd"
1388 x86_64-*linux*)
1390 *x86-64*)
1391 LD="${LD-ld} -m elf32_x86_64"
1394 LD="${LD-ld} -m elf_i386"
1398 powerpc64le-*linux*)
1399 LD="${LD-ld} -m elf32lppclinux"
1401 powerpc64-*linux*)
1402 LD="${LD-ld} -m elf32ppclinux"
1404 s390x-*linux*)
1405 LD="${LD-ld} -m elf_s390"
1407 sparc64-*linux*)
1408 LD="${LD-ld} -m elf32_sparc"
1412 *64-bit*)
1414 x86_64-*kfreebsd*-gnu)
1415 LD="${LD-ld} -m elf_x86_64_fbsd"
1417 x86_64-*linux*)
1418 LD="${LD-ld} -m elf_x86_64"
1420 powerpcle-*linux*)
1421 LD="${LD-ld} -m elf64lppc"
1423 powerpc-*linux*)
1424 LD="${LD-ld} -m elf64ppc"
1426 s390*-*linux*|s390*-*tpf*)
1427 LD="${LD-ld} -m elf64_s390"
1429 sparc*-*linux*)
1430 LD="${LD-ld} -m elf64_sparc"
1436 rm -rf conftest*
1439 *-*-sco3.2v5*)
1440 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1442 CFLAGS="$CFLAGS -belf"
1443 AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1448 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1452 *-*solaris*)
1458 *64-bit*)
1462 i?86-*-solaris*|x86_64-*-solaris*)
1463 LD="${LD-ld} -m elf_x86_64"
1465 sparc*-*-solaris*)
1466 LD="${LD-ld} -m elf64_sparc"
1470 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
1471 LD=${LD-ld}_sol2
1475 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1476 LD="${LD-ld} -64"
1483 rm -rf conftest*
1492 # -----------
1504 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
1508 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
1510 _LT_DECL([], [AR_FLAGS], [\@S|@{ARFLAGS-"\@S|@lt_ar_flags"}],
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
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"
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 # ----------------------------------------------------------------
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
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 # ----------------------------------------------------
1650 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1653 if test -s conftest.err; then
1665 $RM -r conftest*
1678 dnl aclocal-1.4 backwards compatibility:
1683 #---------------
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 # ------------------
1964 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
1973 # because TPF is a cross-compiler, and we know how we open DSOs.
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])
2009 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
2012 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
2025 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_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],
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
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 # ----------------------------------
2140 AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe])
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.
2186 # when we should be linking with a yet-to-be-installed one
2217 # ----------------
2223 if test -z "$STRIP"; then
2226 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
2227 old_striplib="$STRIP --strip-debug"
2228 striplib="$STRIP --strip-unneeded"
2233 # FIXME - insert some real tests, host_os isn't really good enough
2234 striplib="$STRIP -x"
2235 old_striplib="$STRIP -S"
2239 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
2240 old_striplib="$STRIP --strip-debug"
2241 striplib="$STRIP --strip-unneeded"
2259 # ---------------------------
2263 # -----------------------------------
2288 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
2289 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
2300 # -----------------------------
2319 mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
2322 …lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_s…
2326 # otherwise default to the standard path separator (i.e. ":") - it is
2338 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
2340 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
2347 if test -d "$lt_sys_path$lt_multi_os_dir"; then
2349 elif test -n "$lt_multi_os_dir"; then
2350 test -d "$lt_sys_path" && \
2358 for (lt_i = NF; lt_i > 0; lt_i--) {
2366 lt_count--;
2378 $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
2400 # when you set need_version to no, make sure it does not cause -set_version
2405 [User-defined run-time library search path.])
2417 aix[[4-9]]*)
2436 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
2444 # filename-based versioning of shared library archives on AIX. While
2446 # prevent static linking of such archives. So we do filename-based
2451 # versioned .so libs for executables only if there is the -brtl
2452 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
2453 # To allow for filename-based versioning support, we need to create
2463 # but for link time we create the symlink libNAME.so -> libNAME.so.V
2493 …-n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$…
2503 …-z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z …
2504 …postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_librar…
2515 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
2543 # libtool to hard-code these into programs
2558 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2560 test -d \$dldir || mkdir -p \$dldir~
2563 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2566 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2574 …soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuff…
2580 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2584 …library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$v…
2593 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2610 …path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|…
2616 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
2617 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
2618 …sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEP…
2622 if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
2624 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2626 … sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2629 # common. (e.g. "Program Files" -> "PROGRA~1")
2635 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2637 test -d \$dldir || mkdir -p \$dldir~
2639 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2648 …library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.…
2683 if test -x /usr/bin/objformat; then
2691 version_type=freebsd-$objformat
2693 freebsd-elf*)
2699 freebsd-*)
2713 freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
2714 freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
2781 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
2787 interix[[3-9]]*)
2819 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
2820 libsuff= shlibsuff= libmagic=32-bit;;
2821 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
2823 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
2824 libsuff=64 shlibsuff=64 libmagic=64-bit;;
2825 *) libsuff= shlibsuff= libmagic=never-match;;
2857 # Don't embed -rpath directories since the linker doesn't support them.
2858 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2862 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2868 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2877 eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
2880 [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
2895 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
2896 # even though it is searched at run-time. Try to do the best guess by
2898 if test -f /etc/ld.so.conf; then
2899 …skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwc…
2906 # most powerpc-linux boxes support dynamic linking these days and
2907 # people can always --disable-shared, the test was removed, and we
2916 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
2918 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2953 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
2959 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2971 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
2972 v=$($ECHO $release$versuffix | tr -d .-);
2973 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
2981 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
2983 test -d \$dldir || mkdir -p \$dldir~
2986 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2989 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
3058 if test -d /usr/nec; then
3089 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
3129 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
3145 [Is shlibpath searched before the hard-coded library search path?])
3149 The last name is the one that the linker finds with -lNAME]])
3166 [Compile-time system search path for libraries])
3168 [Detected run-time system search path for libraries])
3175 # --------------------------
3188 dnl $ac_dummy forces splitting on constant user-supplied paths.
3194 test -z "$ac_dir" && ac_dir=.
3195 if test -f "$ac_dir/$1"; then
3197 if test -n "$file_magic_test_file"; then
3215 *** bug-libtool@gnu.org
3229 if test -n "$MAGIC_CMD"; then
3240 dnl aclocal-1.4 backwards compatibility:
3245 # --------------
3249 if test -z "$lt_cv_path_MAGIC_CMD"; then
3250 if test -n "$ac_tool_prefix"; then
3260 # ----------
3261 # find the pathname to the GNU or non-GNU linker
3270 AC_ARG_WITH([gnu-ld],
3271 [AS_HELP_STRING([--with-gnu-ld],
3278 # Check if gcc -print-prog-name=ld gives a path.
3281 *-*-mingw*)
3283 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3285 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3296 test -z "$LD" && LD=$ac_prog
3310 AC_MSG_CHECKING([for non-GNU ld])
3313 [if test -z "$LD"; then
3317 test -z "$ac_dir" && ac_dir=.
3318 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3320 # Check to see if the program is GNU ld. I'd rather use --version,
3321 # but apparently some variants of GNU ld only accept -v.
3322 # Break only if it was the GNU/non-GNU ld that we prefer.
3323 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3338 if test -n "$LD"; then
3343 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
3353 dnl aclocal-1.4 backwards compatibility:
3359 #- --------------
3362 [# I'd rather use --version here, but apparently some GNU lds only accept -v.
3363 case `$LD -v 2>&1 </dev/null` in
3376 # --------------
3378 # -- PORTME Some linkers may need a different reload flag.
3382 [lt_cv_ld_reload_flag='-r'])
3388 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3397 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
3399 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3409 # -----------
3418 cmp -s conftest.i conftest.out \
3421 rm -f conftest.i conftest2.i conftest.out])
3426 # ----------------
3435 cmp -s conftest.i conftest.out \
3438 rm -f conftest.i conftest2.i conftest.out
3439 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"])
3446 # ----------------------
3448 # -- PORTME fill in with the dynamic library characteristics
3459 # 'none' -- dependencies not supported.
3460 # 'unknown' -- same as none, but documents that we really don't know.
3461 # 'pass_all' -- all dependencies passed with no checks.
3462 # 'test_compile' -- check by making test program.
3463 # 'file_magic [[regex]]' -- check by looking for files in library path
3469 aix[[4-9]]*)
3478 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
3479 lt_cv_file_magic_cmd='/usr/bin/file -L'
3492 # unless we find 'file', for example because we are cross-compiling.
3498 …v_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x…
3499 lt_cv_file_magic_cmd='$OBJDUMP -f'
3505 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3506 lt_cv_file_magic_cmd='$OBJDUMP -f'
3514 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3519 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
3537 …lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object f…
3541 …heck_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)…
3545 …lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared lib…
3551 interix[[3-9]]*)
3558 *-32|*"-32 ") libmagic=32-bit;;
3559 *-n32|*"-n32 ") libmagic=N32;;
3560 *-64|*"-64 ") libmagic=64-bit;;
3561 *) libmagic=never-match;;
3567 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
3572 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3573 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3580 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3590 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
3591 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
3593 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3616 …bs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][…
3624 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib…
3628 lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
3657 …file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/…
3665 test -z "$deplibs_check_method" && deplibs_check_method=unknown
3679 # ----------
3680 # find the pathname to a BSD- or MS-compatible name lister
3683 AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
3684 [if test -n "$NM"; then
3689 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3696 test -z "$ac_dir" && ac_dir=.
3698 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
3699 # Check to see if the nm accepts a BSD-compat flag.
3700 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
3708 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
3710 lt_cv_path_NM="$tmp_nm -B"
3714 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3716 lt_cv_path_NM="$tmp_nm -p"
3736 if test -n "$DUMPBIN"; then :
3739 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
3740 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
3742 DUMPBIN="$DUMPBIN -symbols -headers"
3754 test -z "$NM" && NM=nm
3756 _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
3772 rm -f conftest*])
3778 dnl aclocal-1.4 backwards compatibility:
3783 # --------------------------------
3786 # -- PORTME fill in with the dynamic library characteristics
3799 case `$DLLTOOL --help 2>&1` in
3800 *--identify-strict*)
3815 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
3823 # ----------------------
3827 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
3830 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
3831 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
3836 rm -f conftest*])
3845 # ---------------------
3850 test DEF = "`$SED -n dnl
3851 -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
3852 -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
3853 -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
3854 -e q dnl Only consider the first "real" line
3860 # --------
3866 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
3869 *-ncr-sysv4.3*)
3870 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
3871 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
3874 AC_CHECK_LIB(m, cos, LIBM=-lm)
3882 dnl aclocal-1.4 backwards compatibility:
3887 # -------------------------------
3896 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
3898 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
3901 _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
3903 [-fno-rtti -fno-exceptions], [],
3904 …o_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
3912 # ----------------------
3934 sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
3936 # Define system-specific variables.
3973 case `$NM -V 2>&1` in
3980 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
3982 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
3983 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
3985 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
3986 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
3998 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
4000 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
4001 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
4004 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
4006 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
4007 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
4011 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
4013 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
4014 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
4015 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
4033 # Fake it for dumpbin and say T for any non-static function,
4053 …lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$…
4060 rm -f conftest*
4077 …if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$n…
4080 mv -f "$nlist"T "$nlist"
4082 rm -f "$nlist"T
4092 relocations are performed -- see ld's documentation on pseudo-relocs. */
4107 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4120 …$SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> c…
4142 if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
4160 rm -rf conftest* conftst*
4170 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4173 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4182 elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
4206 # ---------------------------
4214 # C++ specific cases for pic, static, wl, etc.
4216 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4217 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4224 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4226 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4233 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4237 # adding the '-m68020' flag to GCC prevents building anything better,
4238 # like '-m68040'.
4239 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4250 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4251 # (--disable-auto-import) libraries
4253 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4256 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4263 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4271 # The "-static" flag exists, but is broken.
4274 interix[[3-9]]*)
4275 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4279 if test -d /usr/nec; then
4280 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4284 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4285 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4291 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4296 # QNX uses GNU C++, but need to define -shared option too, otherwise
4298 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4301 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4306 aix[[4-9]]*)
4310 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4312 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4319 …# _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abor…
4327 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4332 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4336 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4348 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4349 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4355 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4356 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4377 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4378 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4379 # CC pic flag -KPIC is the default.
4385 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4389 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4390 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4393 # old Intel C++ for x86_64, which still supported -KPIC.
4394 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4395 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4396 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4400 # ICC 10 doesn't accept -KPIC any more.
4401 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4402 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4403 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4407 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4408 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4409 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4416 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4420 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4421 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4422 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4425 case `$CC -V 2>&1 | sed 5q` in
4428 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4429 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4430 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4443 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
4452 # QNX uses GNU C++, but need to define -shared option too, otherwise
4454 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4459 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4463 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4467 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4471 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4483 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4484 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4485 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4489 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4499 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4500 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4504 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4513 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4514 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4515 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4522 # NonStop-UX NCC 3.20
4523 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4539 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4540 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4547 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4549 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4556 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4560 # adding the '-m68020' flag to GCC prevents building anything better,
4561 # like '-m68040'.
4562 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4574 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4575 # (--disable-auto-import) libraries
4577 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4580 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4588 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4593 # The "-static" flag exists, but is broken.
4598 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4599 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4606 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4611 interix[[3-9]]*)
4612 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4624 # QNX uses GNU C++, but need to define -shared option too, otherwise
4626 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4630 if test -d /usr/nec; then
4631 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4636 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4642 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
4643 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4644 _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
4652 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4655 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4657 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4664 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4668 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4669 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4670 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4679 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4682 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4688 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4689 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4690 # not for PA HP-UX.
4700 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4704 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4705 # PIC (with -KPIC) is the default.
4706 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4709 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4711 # old Intel for x86_64, which still supported -KPIC.
4713 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4714 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4715 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4718 # ICC 10 doesn't accept -KPIC any more.
4720 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4721 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4722 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4726 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4727 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
4728 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
4732 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4733 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4734 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4738 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4739 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4740 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4745 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4746 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4747 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4750 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4752 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4756 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4757 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4758 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4761 case `$CC -V 2>&1 | sed 5q` in
4762 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
4764 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4765 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4769 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4770 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4771 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4775 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4776 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4777 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4780 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4781 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4782 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4785 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4786 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4787 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4795 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4796 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4800 # QNX uses GNU C++, but need to define -shared option too, otherwise
4802 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4806 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4808 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4812 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4816 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4817 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4820 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
4822 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
4827 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4828 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4829 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4833 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4834 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4835 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4839 if test -d /usr/nec; then
4840 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
4841 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4846 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4847 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4848 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4852 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4857 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4858 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4868 # For platforms that do not support PIC, -DPIC is meaningless:
4873 …$1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[]…
4885 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4888 …[$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])]…
4899 _LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
4904 wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_stat…
4916 # ----------------------------
4932 aix[[4-9]]*)
4933 # If we're using GNU nm, then we don't want the "-C" option.
4934 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
4935 # Without the "-l" option, or with the "-B" option, AIX nm treats
4939 # it in the Import File for the 'aix-soname' feature, so we have
4940 # to replace the "-B" option with "-P" for AIX nm.
4941 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
4942 …-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
4944 …-e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\…
4956 …_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\'…
4957 … $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
4990 # include_expsyms should be a list of space-separated symbols to be *always*
5037 case `$LD -v 2>&1` in
5039 *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
5040 *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
5054 wlarc='$wl'
5060 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5061 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
5062 # ancient GNU ld didn't support --whole-archive et. al.
5063 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
5064 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
5069 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
5071 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
5080 aix[[3-9]]*)
5090 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
5101 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname …
5105 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5106 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5113 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5116 # support --undefined. This deserves some investigation. FIXME
5117 …_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname…
5126 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5127 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
5131 …_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\'…
5132 … $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
5134 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
5135 …e_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-a…
5136 # If the export-symbols file already is a .def file, use it as
5144 …CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname …
5151 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname …
5156 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5165 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5166 emximp -o $lib $output_objdir/$libname.def'
5173 prefix_cmds="$prefix_cmds -e 1d";
5175 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5177 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5178 emximp -o $lib $output_objdir/$libname.def'
5179 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
5184 interix[[3-9]]*)
5187 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5188 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5193 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
5195 …1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
5196 …-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output…
5199 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
5201 if test linux-dietlibc = "$host_os"; then
5203 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
5206 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
5210 tmp_sharedflag='-shared'
5213 …wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_co…
5218 …wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_co…
5219 tmp_addflag=' $pic_flag -Mnomain' ;;
5221 tmp_addflag=' -i_dynamic' ;;
5223 tmp_addflag=' -i_dynamic -nofor_main' ;;
5225 tmp_addflag=' -nofor_main' ;;
5228 tmp_sharedflag='--shared' ;;
5230 tmp_sharedflag='-Wl,-shared' ;;
5232 tmp_sharedflag='-qmkshrobj'
5235 …wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_co…
5239 case `$CC -V 2>&1 | sed 5q` in
5241 …wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conv…
5243 tmp_sharedflag='-G' ;;
5245 tmp_sharedflag='-G' ;;
5247 … '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5251 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5253 …ag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/…
5258 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
5262 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
5263 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5264 … _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
5267 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5269 …$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libnam…
5279 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5280 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5283 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5284 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5289 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
5301 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5302 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5303 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5310 case `$LD -v 2>&1` in
5311 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
5329 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5330 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5331 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname …
5332 …expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-s…
5341 …_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_…
5348 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5349 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5350 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5369 …(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$expo…
5371 # are no directories specified by -L.
5373 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
5380 aix[[4-9]]*)
5385 exp_sym_flag='-Bexport'
5388 # If we're using GNU nm, then we don't want the "-C" option.
5389 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
5390 # Without the "-l" option, or with the "-B" option, AIX nm treats
5394 # it in the Import File for the 'aix-soname' feature, so we have
5395 # to replace the "-B" option with "-P" for AIX nm.
5396 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
5397 …-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
5399 …-e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\…
5404 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5407 # depending on the kind of the shared library created -
5418 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
5420 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
5426 # With aix-soname=svr4, we create the lib.so.V shared archives only,
5430 LDFLAGS="$LDFLAGS -Wl,-brtl"
5435 exp_sym_flag='-bexport'
5436 no_entry_flag='-bnoentry'
5441 # or program results in "error TOC overflow" add -mminimal-toc to
5443 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5450 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
5464 collect2name=`$CC -print-prog-name=collect2`
5465 if test -f "$collect2name" &&
5477 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5482 shared_flag='-shared'
5484 shared_flag="$shared_flag "'$wl-G'
5488 # /with/ Import File - we do not want to mix them.
5489 shared_flag_aix='-shared'
5490 shared_flag_svr4='-shared $wl-G'
5494 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
5495 # chokes on -Wl,-G. The following line is correct:
5496 shared_flag='-G'
5499 shared_flag='$wl-G'
5501 shared_flag='$wl-bM:SRE'
5503 shared_flag_aix='$wl-bM:SRE'
5504 shared_flag_svr4='$wl-G'
5508 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
5509 # It seems that -bexpall does not export symbols beginning with
5513 # Warning - without using the other runtime loading flags (-brtl),
5514 # -berok will link without error, but may produce a broken library.
5515 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
5519 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5520 …-o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allo…
5523 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
5524 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
5525 …$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_fl…
5530 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5531 # Warning - without using the other run time loading flags,
5532 # -berok will link without error, but may produce a broken library.
5533 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
5534 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
5536 # We only use this code for GNU lds that support --whole-archive.
5537 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
5543 …_LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$real…
5544 # -brtl affects multiple linker settings, -berok does not and is overridden later
5545 …compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\…
5548 …)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$…
5551 …-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
5553 # used by -dlpreopen to get the symbols
5556 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/…
5565 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname …
5569 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5570 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5577 _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
5597 …_LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,…
5602 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
5604 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
5610 … $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'…
5622 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
5623 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
5636 …TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\…
5640 _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
5651 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5652 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5661 …_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++…
5662 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5669 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5675 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5677 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5678 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5685 …VAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -…
5687 …_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objd…
5689 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5696 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5701 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $…
5703 …_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $link…
5706 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5710 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5721 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_fla…
5724 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $l…
5727 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $…
5733 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
5736 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs…
5740 # Older versions of the 11.00 compiler do not understand -b yet
5741 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
5742 _LT_LINKER_OPTION([if $CC understands -b],
5743 _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
5744 …[_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $…
5745 …[_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $lin…
5746 …[_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $…
5751 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5762 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5774 …-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
5775 # Try to use the -exported_symbol ld option, if it does not
5776 # work, assume that -exports_file does not work either and
5778 # This should be the same for all languages, so no per-tag cache variable.
5779 AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
5782 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
5797 …-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
5800 …-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "…
5801 …-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "…
5804 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5815 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5821 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5822 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
5824 _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
5826 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5832 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5834 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5843 if test -f /usr/libexec/ld.so; then
5847 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5848 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5849 …TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $…
5850 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5851 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5853 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5854 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5862 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5871 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5872 emximp -o $lib $output_objdir/$libname.def'
5879 prefix_cmds="$prefix_cmds -e 1d";
5881 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5883 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5884 emximp -o $lib $output_objdir/$libname.def'
5885 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
5892 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
5893 …-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$ve…
5895 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5896 …-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstrin…
5899 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5903 osf4* | osf5*) # as osf3* with the addition of -msym flag
5905 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
5906 …-shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$s…
5907 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5909 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5910 …-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$ve…
5911 …in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%…
5912 …-shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $sona…
5914 # Both c and cxx compiler support -rpath directly
5915 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5922 _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
5924 wlarc='$wl'
5925 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libo…
5926 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5927 …$CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs…
5929 case `$CC -V 2>&1` in
5932 …_LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $li…
5933 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5934 …$LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $li…
5937 wlarc='$wl'
5938 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $co…
5939 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5940 …$CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $…
5944 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5947 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
5950 # but understands '-z linker_flag'. GCC discards it without '$wl',
5954 …_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextra…
5956 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
5967 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
5969 …_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_fla…
5971 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5980 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5986 _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5987 _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
5991 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6000 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6002 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
6006 if test -d /usr/nec; then
6007 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6016 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6022 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6023 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
6025 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6026 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
6031 # Note: We CANNOT use -z defs as we might desire, because we do not
6032 # link with -lc, and that would cause any symbols used from libc to
6034 # ever link correctly. If we're not using GNU ld we use -z text
6035 # though, which does catch some bad symbols but isn't as heavy-handed
6036 # as -z defs.
6037 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6038 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
6041 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
6044 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
6048 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6049 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
6051 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6052 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
6057 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6058 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6070 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym'
6091 # Assume -lc should be added
6097 # FIXME: we may have to deal with multi-command sequences.
6100 # Test whether the compiler implicitly links with -lc since on some
6101 # systems, -lgcc has to come before -lc. If gcc already passes -lc
6102 # to ld, don't add -lc before -lgcc.
6103 AC_CACHE_CHECK([whether -lc should be explicitly linked in],
6113 wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
6115 compiler_flags=-v
6116 linker_flags=-v
6122 if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
6142 [Whether or not to add -lc for building shared libraries])
6153 [Create an old-style archive from a shared archive])
6155 [Create a temporary old-style archive to link instead of a shared archive])
6172 [Whether we need a single "-rpath" flag with a separated argument])
6182 [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
6217 # ------------------------
6252 if test -n "$compiler"; then
6275 if test -n "$RANLIB"; then
6281 aix[[4-9]]*)
6306 # --------------------------
6314 if test -n "$CXX" && ( test no != "$CXX" &&
6315 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
6357 # and will be corrupted by setting them based on a non-working compiler.
6380 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
6385 if test -n "${lt_cv_path_LDCXX+set}"; then
6390 test -z "${LDCXX+set}" || LD=$LDCXX
6391 CC=${CXX-"c++"}
6397 if test -n "$compiler"; then
6398 # We don't want -fno-exception when compiling C++ code, so set the
6401 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
6414 …s, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compil…
6415 … -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $…
6417 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6418 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6421 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
6423 wlarc='$wl'
6425 # ancient GNU ld didn't support --whole-archive et. al.
6426 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
6427 $GREP 'no-whole-archive' > /dev/null; then
6428 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
6441 …LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_obje…
6447 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
6463 aix[[4-9]]*)
6468 exp_sym_flag='-Bexport'
6474 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6477 # depending on the kind of the shared library created -
6488 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
6491 *-brtl*)
6498 # With aix-soname=svr4, we create the lib.so.V shared archives only,
6502 LDFLAGS="$LDFLAGS -Wl,-brtl"
6507 exp_sym_flag='-bexport'
6508 no_entry_flag='-bnoentry'
6513 # or program results in "error TOC overflow" add -mminimal-toc to
6515 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6522 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
6536 collect2name=`$CC -print-prog-name=collect2`
6537 if test -f "$collect2name" &&
6549 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6553 shared_flag='-shared'
6555 shared_flag=$shared_flag' $wl-G'
6559 # /with/ Import File - we do not want to mix them.
6560 shared_flag_aix='-shared'
6561 shared_flag_svr4='-shared $wl-G'
6565 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6566 # chokes on -Wl,-G. The following line is correct:
6567 shared_flag='-G'
6570 shared_flag='$wl-G'
6572 shared_flag='$wl-bM:SRE'
6574 shared_flag_aix='$wl-bM:SRE'
6575 shared_flag_svr4='$wl-G'
6579 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
6580 # It seems that -bexpall does not export symbols beginning with
6585 # Warning - without using the other runtime loading flags (-brtl),
6586 # -berok will link without error, but may produce a broken library.
6587 # The "-G" linker flag allows undefined symbols.
6588 _LT_TAGVAR(no_undefined_flag, $1)='-bernotok'
6592 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6594 …-o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allo…
6597 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
6598 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
6599 …$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_fl…
6604 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6605 # Warning - without using the other run time loading flags,
6606 # -berok will link without error, but may produce a broken library.
6607 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
6608 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
6610 # We only use this code for GNU lds that support --whole-archive.
6611 … _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
6617 …_LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$real…
6618 # -brtl affects multiple linker settings, -berok does not and is overridden later
6619 …compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\…
6622 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
6623 …)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$…
6626 …-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
6628 # used by -dlpreopen to get the symbols
6631 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/…
6637 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6640 # support --undefined. This deserves some investigation. FIXME
6641 …_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname…
6671 …_LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,…
6676 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
6678 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
6695 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
6696 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
6704 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6705 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
6710 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
6711 …-shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_ob…
6712 # If the export-symbols file already is a .def file, use it as
6720 …-shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $c…
6732 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6741 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
6742 emximp -o $lib $output_objdir/$libname.def'
6749 prefix_cmds="$prefix_cmds -e 1d";
6751 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
6753 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
6754 emximp -o $lib $output_objdir/$libname.def'
6755 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
6784 freebsd-elf*)
6795 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname …
6800 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
6802 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6814 …_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $outpu…
6823 …output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list…
6827 …rchive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_lib…
6838 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
6845 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6871 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $p…
6874 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $…
6877 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_obj…
6888 …output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=…
6895 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects…
6898 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath …
6901 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_l…
6913 interix[[3-9]]*)
6916 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6917 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6922 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6924 …1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
6925 …-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output…
6931 …-shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname …
6934 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
6937 _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
6942 …-shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl…
6944 …-shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl…
6950 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6955 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6961 # ends with ".so" (or ".sl" for HP-UX), so rename the library
6963 …-e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"…
6964 …-e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"…
6973 …_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GRE…
6975 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6976 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6979 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
6980 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
6988 case `$CC -V 2>&1` in
6990 …VAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_fl…
6991 …='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$so…
6996 ia64*) tmp_idyn=' -i_dynamic';;
6998 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-sonam…
6999 …_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-r…
7003 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7004 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7005 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
7009 case `$CC -V` in
7010 *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
7012 rm -rf $tpldir~
7013 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
7014 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
7016 rm -rf $tpldir~
7017 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
7018 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
7021 rm -rf $tpldir~
7022 …$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $…
7023 … -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $po…
7025 rm -rf $tpldir~
7026 …$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $…
7027 …-shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $pos…
7030 …rchive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compil…
7031 … -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $…
7035 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir'
7036 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7037 …wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_co…
7041 …VAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_fl…
7042 … $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $w…
7045 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7056 …output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; tem…
7060 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7061 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7062 …_LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$sona…
7065 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7067 …$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$outp…
7071 case `$CC -V 2>&1 | sed 5q` in
7074 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7075 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libob…
7076 …1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objec…
7077 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7078 …wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conv…
7082 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
7087 # "CC -xar", where "CC" is the Sun C++ compiler. This is
7090 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7121 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7122 …_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_…
7124 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7128 # Workaround some broken pre-1.5 toolchains
7129 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $…
7137 if test -f /usr/libexec/ld.so; then
7141 …LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_obje…
7142 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7143 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
7144 …ds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags …
7145 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
7146 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
7160 # ends with ".so" (or ".sl" for HP-UX), so rename the library
7162 …-e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so…
7164 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7170 osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
7171 *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
7182 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
7183 …-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $w…
7184 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7187 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
7188 …-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -m…
7189 …hive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i"…
7190 echo "-hidden">> $lib.exp~
7191 …-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -m…
7193 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7207 …output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GR…
7211 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
7214 …-shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compil…
7217 …-shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objec…
7221 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7227 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
7266 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7267 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libob…
7268 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
7269 …$CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs …
7271 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7274 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7277 # but understands '-z linker_flag'.
7279 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
7287 # "CC -xar", where "CC" is the Sun C++ compiler. This is
7290 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7294 …TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler…
7297 _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
7302 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs'
7303 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
7304 …hive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects…
7305 …ve_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
7306 …$CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobj…
7311 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
7313 # g++ 2.7 appears to require '-G' NOT '-shared' on this
7315 …VAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compil…
7316 …ve_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
7317 …$CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $pos…
7322 …output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | …
7325 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
7327 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7329 …_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextra…
7338 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7345 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7346 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
7349 … _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7350 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
7356 # Note: We CANNOT use -z defs as we might desire, because we do not
7357 # link with -lc, and that would cause any symbols used from libc to
7359 # ever link correctly. If we're not using GNU ld we use -z text
7360 # though, which does catch some bad symbols but isn't as heavy-handed
7361 # as -z defs.
7362 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7363 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
7366 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
7369 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
7374 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7375 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
7376 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
7378 _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
7382 … _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7383 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
7391 # NonStop-UX NCC 3.20
7432 fi # test -n "$compiler"
7451 # ----------------------
7458 # This function is identical to the (non-XSI) version of func_stripname,
7475 # ---------------------------------
7541 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
7542 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
7543 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
7559 -L* | -R* | -l*)
7560 # Some compilers place space between "-{L,R}" and the path.
7562 if test x-L = "$p" ||
7563 test x-R = "$p"; then
7569 if test -z "$prev"; then
7571 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
7572 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
7573 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
7581 -L | -R)
7585 if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
7591 # The "-l" case would never come before the object being
7595 if test -z "$_LT_TAGVAR(postdeps, $1)"; then
7614 if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
7620 if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
7634 rm -f a.out a.exe
7639 $RM -f confest.$objext
7645 interix[[3-9]]*)
7656 *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
7659 if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
7660 …h_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'`
7677 # --------------------------
7683 if test -z "$F77" || test no = "$F77"; then
7719 # and will be corrupted by setting them based on a non-working compiler.
7745 CC=${F77-"f77"}
7751 if test -n "$compiler"; then
7763 if test -n "$RANLIB"; then
7768 aix[[4-9]]*)
7800 fi # test -n "$compiler"
7812 # -------------------------
7819 if test -z "$FC" || test no = "$FC"; then
7846 ac_ext=${ac_fc_srcext-f}
7855 # and will be corrupted by setting them based on a non-working compiler.
7881 CC=${FC-"f95"}
7889 if test -n "$compiler"; then
7901 if test -n "$RANLIB"; then
7906 aix[[4-9]]*)
7939 fi # test -n "$compiler"
7951 # --------------------------
7984 CC=${GCJ-"gcj"}
8002 if test -n "$compiler"; then
8022 # --------------------------
8055 CC=${GOC-"gccgo"}
8073 if test -n "$compiler"; then
8093 # -------------------------
8126 CC=${RC-"windres"}
8133 if test -n "$compiler"; then
8146 # -----------
8151 test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
8157 dnl aclocal-1.4 backwards compatibility:
8162 # ----------
8169 # ----------
8176 dnl aclocal-1.4 backwards compatibility:
8181 # --------------
8187 test -z "$GREP" && GREP=grep
8191 dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
8197 # --------------
8202 test -z "$OBJDUMP" && OBJDUMP=objdump
8208 # ----------------
8212 test -z "$DLLTOOL" && DLLTOOL=dlltool
8218 # ------------
8219 # Check for a fully-functional sed program, that truncates
8223 test -z "$SED" && SED=sed
8224 Xsed="$SED -e 1s/^X//"
8226 _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
8227 [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