• Home
  • Raw
  • Download

Lines Matching +full:- +full:wl

1 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
3 # Copyright (C) 1996-2001, 2003-2015 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 # -----------
1506 if test 0 -eq "$ac_status"; then
1508 rm -f conftest.$ac_objext libconftest.a
1510 if test 0 -ne "$ac_status"; then
1514 rm -f conftest.* libconftest.a
1529 # -------------------
1534 test -z "$STRIP" && STRIP=:
1538 test -z "$RANLIB" && RANLIB=:
1540 [Commands used to install an old-style archive])
1542 # Determine commands to create old-style static archives.
1547 if test -n "$RANLIB"; then
1550 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1568 [Commands used to build an old-style archive])
1574 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1575 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
1576 # ----------------------------------------------------------------
1592 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1593 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1594 -e 's:$: $lt_compiler_flag:'`
1600 if (exit $ac_status) && test -s "$ac_outfile"; then
1605 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1621 dnl aclocal-1.4 backwards compatibility:
1625 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1626 # [ACTION-SUCCESS], [ACTION-FAILURE])
1627 # ----------------------------------------------------
1637 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1640 if test -s conftest.err; then
1652 $RM -r conftest*
1665 dnl aclocal-1.4 backwards compatibility:
1670 #---------------
1691 # Libtool will interpret -1 as no limit whatsoever
1692 lt_cv_sys_max_cmd_len=-1;
1696 # On Win9x/ME, this test blows up -- it succeeds, but takes
1698 # Worse, since 9x/ME are not pre-emptively multitasking,
1719 if test -x /sbin/sysctl; then
1720 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
1721 elif test -x /usr/sbin/sysctl; then
1722 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
1748 if test -x /sbin/sysconfig; then
1749 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
1750 *1*) lt_cv_sys_max_cmd_len=-1 ;;
1759 if test -n "$kargmax"; then
1767 if test -n "$lt_cv_sys_max_cmd_len" && \
1777 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
1778 # If test is not a shell built-in, we'll probably end up computing a
1799 if test -n "$lt_cv_sys_max_cmd_len"; then
1811 dnl aclocal-1.4 backwards compatibility:
1816 # ----------------
1822 # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1823 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1824 # ----------------------------------------------------------------
1874 /* When -fvisibility=hidden is used, assume the code has been annotated
1902 if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
1915 rm -fr conftest*
1920 # ------------------
1951 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
1960 # because TPF is a cross-compiler, and we know how we open DSOs.
1970 [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
1974 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
1976 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
1978 [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
1996 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1999 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
2012 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
2047 dnl aclocal-1.4 backwards compatibility:
2052 # ---------------------------
2053 # Check to see if options -c and -o are simultaneously supported by compiler.
2059 AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
2062 $RM -r conftest 2>/dev/null
2068 lt_compiler_flag="-o out/conftest2.$ac_objext"
2074 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2075 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
2076 -e 's:$: $lt_compiler_flag:'`
2082 if (exit $ac_status) && test -s out/conftest2.$ac_objext
2088 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
2096 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
2099 $RM -r conftest
2103 [Does compiler simultaneously support -c and -o options?])
2108 # ----------------------------------
2127 AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe])
2138 # ----------------
2141 [rm -f .libs 2>/dev/null
2143 if test -d .libs; then
2146 # MS-DOS does not allow filenames that begin with a dot.
2155 [Define to the sub-directory where libtool stores uninstalled libraries.])
2160 # --------------------------------------
2165 if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
2166 test -n "$_LT_TAGVAR(runpath_var, $1)" ||
2169 # We can hardcode non-existent directories.
2173 # when we should be linking with a yet-to-be-installed one
2204 # ----------------
2210 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
2211 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
2212 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
2215 # FIXME - insert some real tests, host_os isn't really good enough
2218 if test -n "$STRIP"; then
2219 striplib="$STRIP -x"
2220 old_striplib="$STRIP -S"
2237 # ---------------------------
2241 # -----------------------------------
2266 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
2267 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
2278 # -----------------------------
2297 mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
2300 …lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_s…
2304 # otherwise default to the standard path separator (i.e. ":") - it is
2316 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
2318 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
2325 if test -d "$lt_sys_path$lt_multi_os_dir"; then
2327 elif test -n "$lt_multi_os_dir"; then
2328 test -d "$lt_sys_path" && \
2336 for (lt_i = NF; lt_i > 0; lt_i--) {
2344 lt_count--;
2356 $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
2378 # when you set need_version to no, make sure it does not cause -set_version
2383 [User-defined run-time library search path.])
2395 aix[[4-9]]*)
2414 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
2422 # filename-based versioning of shared library archives on AIX. While
2424 # prevent static linking of such archives. So we do filename-based
2429 # versioned .so libs for executables only if there is the -brtl
2430 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
2431 # To allow for filename-based versioning support, we need to create
2441 # but for link time we create the symlink libNAME.so -> libNAME.so.V
2471-n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$…
2481-z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z …
2482 …postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_librar…
2493 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
2521 # libtool to hard-code these into programs
2536 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2538 test -d \$dldir || mkdir -p \$dldir~
2541 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2544 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2552 …soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuff…
2558 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2562 …library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$v…
2571 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2588 …path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|…
2594 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
2595 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
2596 …sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEP…
2600 if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
2602 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2604 … sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2607 # common. (e.g. "Program Files" -> "PROGRA~1")
2613 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2615 test -d \$dldir || mkdir -p \$dldir~
2617 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2626 …library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.…
2661 if test -x /usr/bin/objformat; then
2669 version_type=freebsd-$objformat
2671 freebsd-elf*)
2677 freebsd-*)
2691 freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
2692 freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
2759 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
2765 interix[[3-9]]*)
2797 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
2798 libsuff= shlibsuff= libmagic=32-bit;;
2799 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
2801 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
2802 libsuff=64 shlibsuff=64 libmagic=64-bit;;
2803 *) libsuff= shlibsuff= libmagic=never-match;;
2835 # Don't embed -rpath directories since the linker doesn't support them.
2836 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2840 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2846 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2855 eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
2858 [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
2873 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
2874 # even though it is searched at run-time. Try to do the best guess by
2876 if test -f /etc/ld.so.conf; then
2877 …skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwc…
2884 # most powerpc-linux boxes support dynamic linking these days and
2885 # people can always --disable-shared, the test was removed, and we
2894 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
2896 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2931 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
2937 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2949 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
2950 v=$($ECHO $release$versuffix | tr -d .-);
2951 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
2959 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
2961 test -d \$dldir || mkdir -p \$dldir~
2964 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2967 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
3036 if test -d /usr/nec; then
3067 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
3107 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
3123 [Is shlibpath searched before the hard-coded library search path?])
3127 The last name is the one that the linker finds with -lNAME]])
3144 [Compile-time system search path for libraries])
3146 [Detected run-time system search path for libraries])
3153 # --------------------------
3166 dnl $ac_dummy forces splitting on constant user-supplied paths.
3172 test -z "$ac_dir" && ac_dir=.
3173 if test -f "$ac_dir/$1"; then
3175 if test -n "$file_magic_test_file"; then
3193 *** bug-libtool@gnu.org
3207 if test -n "$MAGIC_CMD"; then
3218 dnl aclocal-1.4 backwards compatibility:
3223 # --------------
3227 if test -z "$lt_cv_path_MAGIC_CMD"; then
3228 if test -n "$ac_tool_prefix"; then
3238 # ----------
3239 # find the pathname to the GNU or non-GNU linker
3248 AC_ARG_WITH([gnu-ld],
3249 [AS_HELP_STRING([--with-gnu-ld],
3256 # Check if gcc -print-prog-name=ld gives a path.
3259 *-*-mingw*)
3261 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3263 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3274 test -z "$LD" && LD=$ac_prog
3288 AC_MSG_CHECKING([for non-GNU ld])
3291 [if test -z "$LD"; then
3295 test -z "$ac_dir" && ac_dir=.
3296 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3298 # Check to see if the program is GNU ld. I'd rather use --version,
3299 # but apparently some variants of GNU ld only accept -v.
3300 # Break only if it was the GNU/non-GNU ld that we prefer.
3301 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3316 if test -n "$LD"; then
3321 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
3331 dnl aclocal-1.4 backwards compatibility:
3337 #- --------------
3340 [# I'd rather use --version here, but apparently some GNU lds only accept -v.
3341 case `$LD -v 2>&1 </dev/null` in
3354 # --------------
3356 # -- PORTME Some linkers may need a different reload flag.
3360 [lt_cv_ld_reload_flag='-r'])
3366 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3375 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
3377 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3387 # -----------
3396 cmp -s conftest.i conftest.out \
3399 rm -f conftest.i conftest2.i conftest.out])
3404 # ----------------
3413 cmp -s conftest.i conftest.out \
3416 rm -f conftest.i conftest2.i conftest.out
3417 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"])
3424 # ----------------------
3426 # -- PORTME fill in with the dynamic library characteristics
3437 # 'none' -- dependencies not supported.
3438 # 'unknown' -- same as none, but documents that we really don't know.
3439 # 'pass_all' -- all dependencies passed with no checks.
3440 # 'test_compile' -- check by making test program.
3441 # 'file_magic [[regex]]' -- check by looking for files in library path
3447 aix[[4-9]]*)
3456 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
3457 lt_cv_file_magic_cmd='/usr/bin/file -L'
3470 # unless we find 'file', for example because we are cross-compiling.
3476 …v_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x…
3477 lt_cv_file_magic_cmd='$OBJDUMP -f'
3483 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3484 lt_cv_file_magic_cmd='$OBJDUMP -f'
3492 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3497 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
3515 …lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object f…
3519 …heck_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)…
3523 …lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared lib…
3529 interix[[3-9]]*)
3536 *-32|*"-32 ") libmagic=32-bit;;
3537 *-n32|*"-n32 ") libmagic=N32;;
3538 *-64|*"-64 ") libmagic=64-bit;;
3539 *) libmagic=never-match;;
3545 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
3550 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3551 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3558 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3568 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
3569 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
3571 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3594 …bs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][…
3602 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib…
3606 lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
3635 …file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/…
3643 test -z "$deplibs_check_method" && deplibs_check_method=unknown
3657 # ----------
3658 # find the pathname to a BSD- or MS-compatible name lister
3661 AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
3662 [if test -n "$NM"; then
3667 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3674 test -z "$ac_dir" && ac_dir=.
3676 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
3677 # Check to see if the nm accepts a BSD-compat flag.
3678 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
3686 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
3688 lt_cv_path_NM="$tmp_nm -B"
3692 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3694 lt_cv_path_NM="$tmp_nm -p"
3714 if test -n "$DUMPBIN"; then :
3717 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
3718 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
3720 DUMPBIN="$DUMPBIN -symbols -headers"
3732 test -z "$NM" && NM=nm
3734 _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
3750 rm -f conftest*])
3756 dnl aclocal-1.4 backwards compatibility:
3761 # --------------------------------
3764 # -- PORTME fill in with the dynamic library characteristics
3777 case `$DLLTOOL --help 2>&1` in
3778 *--identify-strict*)
3793 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
3801 # ----------------------
3805 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
3808 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
3809 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
3814 rm -f conftest*])
3823 # ---------------------
3828 test DEF = "`$SED -n dnl
3829 -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
3830 -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
3831 -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
3832 -e q dnl Only consider the first "real" line
3838 # --------
3844 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
3847 *-ncr-sysv4.3*)
3848 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
3849 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
3852 AC_CHECK_LIB(m, cos, LIBM=-lm)
3860 dnl aclocal-1.4 backwards compatibility:
3865 # -------------------------------
3874 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
3876 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
3879 _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
3881 [-fno-rtti -fno-exceptions], [],
3882 …o_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
3890 # ----------------------
3912 sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
3914 # Define system-specific variables.
3951 case `$NM -V 2>&1` in
3958 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
3960 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
3961 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
3963 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
3964 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
3976 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
3978 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
3979 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
3982 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
3984 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
3985 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
3989 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
3991 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
3992 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
3993 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
4011 # Fake it for dumpbin and say T for any non-static function,
4031 …lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$…
4038 rm -f conftest*
4055 …if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$n…
4058 mv -f "$nlist"T "$nlist"
4060 rm -f "$nlist"T
4070 relocations are performed -- see ld's documentation on pseudo-relocs. */
4085 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4098 …$SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> c…
4120 if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
4138 rm -rf conftest* conftst*
4148 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4151 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4160 elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
4184 # ---------------------------
4192 # C++ specific cases for pic, static, wl, etc.
4194 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4195 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4202 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4204 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4211 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4215 # adding the '-m68020' flag to GCC prevents building anything better,
4216 # like '-m68040'.
4217 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4228 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4229 # (--disable-auto-import) libraries
4231 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4234 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4241 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4249 # The "-static" flag exists, but is broken.
4252 interix[[3-9]]*)
4253 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4257 if test -d /usr/nec; then
4258 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4262 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4263 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4269 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4274 # QNX uses GNU C++, but need to define -shared option too, otherwise
4276 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4279 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4284 aix[[4-9]]*)
4288 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4290 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4297 …# _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abor…
4305 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4310 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4314 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4326 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4327 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4333 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4334 _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)='-non_shared'
4357 # CC pic flag -KPIC is the default.
4363 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4367 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4368 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4371 # old Intel C++ for x86_64, which still supported -KPIC.
4372 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4373 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4374 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4378 # ICC 10 doesn't accept -KPIC any more.
4379 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4380 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4381 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4385 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4386 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4387 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4394 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4398 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4399 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4400 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4403 case `$CC -V 2>&1 | sed 5q` in
4406 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4407 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4408 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4421 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
4430 # QNX uses GNU C++, but need to define -shared option too, otherwise
4432 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4437 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4441 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4445 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4449 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4461 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4462 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4463 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4467 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4477 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4478 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4482 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4491 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4492 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4493 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4500 # NonStop-UX NCC 3.20
4501 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4517 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4518 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4525 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4527 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4534 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4538 # adding the '-m68020' flag to GCC prevents building anything better,
4539 # like '-m68040'.
4540 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4552 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4553 # (--disable-auto-import) libraries
4555 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4558 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4566 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4571 # The "-static" flag exists, but is broken.
4576 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4577 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4584 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4589 interix[[3-9]]*)
4590 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4602 # QNX uses GNU C++, but need to define -shared option too, otherwise
4604 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4608 if test -d /usr/nec; then
4609 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4614 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4620 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
4621 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4622 _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
4630 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4633 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4635 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4642 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4646 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4647 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4648 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4657 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4660 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4666 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4667 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4668 # not for PA HP-UX.
4678 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4682 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4683 # PIC (with -KPIC) is the default.
4684 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4687 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4689 # old Intel for x86_64, which still supported -KPIC.
4691 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4692 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4693 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4696 # ICC 10 doesn't accept -KPIC any more.
4698 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4699 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4700 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4704 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4705 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
4706 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
4710 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4711 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4712 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4716 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4717 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4718 _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)='-Bstatic'
4728 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4730 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4734 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4735 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4736 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4739 case `$CC -V 2>&1 | sed 5q` in
4740 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
4742 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4743 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4747 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4748 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4749 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4753 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4754 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4755 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4758 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4759 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4760 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4763 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4764 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4765 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4773 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4774 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4778 # QNX uses GNU C++, but need to define -shared option too, otherwise
4780 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4784 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4786 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4790 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4794 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4795 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4798 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
4800 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
4805 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4806 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4807 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4811 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4812 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4813 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4817 if test -d /usr/nec; then
4818 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
4819 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4824 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4825 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4826 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4830 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4835 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4836 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4846 # For platforms that do not support PIC, -DPIC is meaningless:
4851 …$1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[]…
4863 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4866 …[$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])]…
4877 _LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
4882 wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_stat…
4894 # ----------------------------
4910 aix[[4-9]]*)
4911 # If we're using GNU nm, then we don't want the "-C" option.
4912 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
4913 # Without the "-l" option, or with the "-B" option, AIX nm treats
4917 # it in the Import File for the 'aix-soname' feature, so we have
4918 # to replace the "-B" option with "-P" for AIX nm.
4919 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
4920-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
4922-e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\…
4934 …_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\'…
4935 … $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
4968 # include_expsyms should be a list of space-separated symbols to be *always*
5015 case `$LD -v 2>&1` in
5017 *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
5018 *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
5032 wlarc='$wl'
5038 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5039 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
5040 # ancient GNU ld didn't support --whole-archive et. al.
5041 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
5042 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
5047 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
5049 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
5058 aix[[3-9]]*)
5068 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
5079 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5083 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5084 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5091 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5094 # support --undefined. This deserves some investigation. FIXME
5095 …_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname…
5104 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5105 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
5109 …_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\'…
5110 … $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
5112 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
5113 …e_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-a…
5114 # If the export-symbols file already is a .def file, use it as
5122 …CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname …
5129 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5134 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5143 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5144 emximp -o $lib $output_objdir/$libname.def'
5151 prefix_cmds="$prefix_cmds -e 1d";
5153 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5155 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5156 emximp -o $lib $output_objdir/$libname.def'
5157 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
5161 interix[[3-9]]*)
5164 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5165 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5170 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
5172 …1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
5173-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output…
5176 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
5178 if test linux-dietlibc = "$host_os"; then
5180 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
5183 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
5187 tmp_sharedflag='-shared'
5190wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_co…
5195wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_co…
5196 tmp_addflag=' $pic_flag -Mnomain' ;;
5198 tmp_addflag=' -i_dynamic' ;;
5200 tmp_addflag=' -i_dynamic -nofor_main' ;;
5202 tmp_addflag=' -nofor_main' ;;
5205 tmp_sharedflag='--shared' ;;
5207 tmp_sharedflag='-Wl,-shared' ;;
5209 tmp_sharedflag='-qmkshrobj'
5212wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_co…
5216 case `$CC -V 2>&1 | sed 5q` in
5218wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conv…
5220 tmp_sharedflag='-G' ;;
5222 tmp_sharedflag='-G' ;;
5224 … '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5228 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5230 …ag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/…
5235 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
5239 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
5240 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5241 … _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
5244 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5246 …$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libnam…
5256 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5257 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5260 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $
5261 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5266 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
5278 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5279 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $
5280 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5287 case `$LD -v 2>&1` in
5288 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
5306 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5307 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5308 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5309 …expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-s…
5318 …_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_…
5325 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5326 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $
5327 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5346 …(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$expo…
5348 # are no directories specified by -L.
5350 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
5357 aix[[4-9]]*)
5362 exp_sym_flag='-Bexport'
5365 # If we're using GNU nm, then we don't want the "-C" option.
5366 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
5367 # Without the "-l" option, or with the "-B" option, AIX nm treats
5371 # it in the Import File for the 'aix-soname' feature, so we have
5372 # to replace the "-B" option with "-P" for AIX nm.
5373 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
5374-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
5376-e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\…
5381 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5384 # depending on the kind of the shared library created -
5395 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
5397 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
5403 # With aix-soname=svr4, we create the lib.so.V shared archives only,
5407 LDFLAGS="$LDFLAGS -Wl,-brtl"
5412 exp_sym_flag='-bexport'
5413 no_entry_flag='-bnoentry'
5418 # or program results in "error TOC overflow" add -mminimal-toc to
5420 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5427 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
5441 collect2name=`$CC -print-prog-name=collect2`
5442 if test -f "$collect2name" &&
5454 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5459 shared_flag='-shared'
5461 shared_flag="$shared_flag "'$wl-G'
5465 # /with/ Import File - we do not want to mix them.
5466 shared_flag_aix='-shared'
5467 shared_flag_svr4='-shared $wl-G'
5471 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
5472 # chokes on -Wl,-G. The following line is correct:
5473 shared_flag='-G'
5476 shared_flag='$wl-G'
5478 shared_flag='$wl-bM:SRE'
5480 shared_flag_aix='$wl-bM:SRE'
5481 shared_flag_svr4='$wl-G'
5485 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
5486 # It seems that -bexpall does not export symbols beginning with
5490 # Warning - without using the other runtime loading flags (-brtl),
5491 # -berok will link without error, but may produce a broken library.
5492 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
5496 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5497-o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allo…
5500 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
5501 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
5502 …$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_fl…
5507 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5508 # Warning - without using the other run time loading flags,
5509 # -berok will link without error, but may produce a broken library.
5510 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
5511 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
5513 # We only use this code for GNU lds that support --whole-archive.
5514 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
5520 …_LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$real…
5521 # -brtl affects multiple linker settings, -berok does not and is overridden later
5522 …compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\…
5525 …)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$…
5528-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
5530 # used by -dlpreopen to get the symbols
5533 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/…
5542 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5546 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5547 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5554 _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
5574 …_LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,
5579 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
5581 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
5587 … $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'…
5599 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
5600 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
5613 …TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\…
5617 _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
5628 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5629 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5638 …_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++…
5639 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5646 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5652 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5654 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5655 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5662 …VAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -
5664 …_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objd…
5666 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5673 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5678 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $…
5680 …_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $link…
5683 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5687 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5698 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_fla…
5701 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $l…
5704 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $…
5710 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
5713 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs…
5717 # Older versions of the 11.00 compiler do not understand -b yet
5718 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
5719 _LT_LINKER_OPTION([if $CC understands -b],
5720 _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
5721 …[_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $…
5722 …[_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $lin…
5723 …[_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $…
5728 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5739 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5751-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
5752 # Try to use the -exported_symbol ld option, if it does not
5753 # work, assume that -exports_file does not work either and
5755 # This should be the same for all languages, so no per-tag cache variable.
5756 AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
5759 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
5774-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
5777-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "
5778-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "
5781 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5792 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5798 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5799 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
5801 _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
5803 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5809 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5811 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5820 if test -f /usr/libexec/ld.so; then
5824 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5825 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5826 …TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $
5827 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5828 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5830 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5831 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5839 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5848 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5849 emximp -o $lib $output_objdir/$libname.def'
5856 prefix_cmds="$prefix_cmds -e 1d";
5858 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5860 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5861 emximp -o $lib $output_objdir/$libname.def'
5862 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
5868 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
5869-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$ve…
5871 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5872-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstrin…
5875 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5879 osf4* | osf5*) # as osf3* with the addition of -msym flag
5881 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
5882-shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$s…
5883 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5885 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5886-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$ve…
5887 …in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%…
5888-shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $sona…
5890 # Both c and cxx compiler support -rpath directly
5891 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5898 _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
5900 wlarc='$wl'
5901 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libo…
5902 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5903 …$CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs…
5905 case `$CC -V 2>&1` in
5908 …_LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $li…
5909 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5910 …$LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $li…
5913 wlarc='$wl'
5914 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $co…
5915 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5916 …$CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $…
5920 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5923 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
5926 # but understands '-z linker_flag'. GCC discards it without '$wl',
5930 …_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextra…
5932 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
5943 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
5945 …_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_fla…
5947 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5956 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5962 _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5963 _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
5967 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5976 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5978 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
5982 if test -d /usr/nec; then
5983 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5992 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
5998 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5999 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
6001 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6002 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
6007 # Note: We CANNOT use -z defs as we might desire, because we do not
6008 # link with -lc, and that would cause any symbols used from libc to
6010 # ever link correctly. If we're not using GNU ld we use -z text
6011 # though, which does catch some bad symbols but isn't as heavy-handed
6012 # as -z defs.
6013 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6014 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
6017 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
6020 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
6024 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6025 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
6027 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6028 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
6033 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6034 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6046 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym'
6067 # Assume -lc should be added
6073 # FIXME: we may have to deal with multi-command sequences.
6076 # Test whether the compiler implicitly links with -lc since on some
6077 # systems, -lgcc has to come before -lc. If gcc already passes -lc
6078 # to ld, don't add -lc before -lgcc.
6079 AC_CACHE_CHECK([whether -lc should be explicitly linked in],
6089 wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
6091 compiler_flags=-v
6092 linker_flags=-v
6098 if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
6118 [Whether or not to add -lc for building shared libraries])
6129 [Create an old-style archive from a shared archive])
6131 [Create a temporary old-style archive to link instead of a shared archive])
6148 [Whether we need a single "-rpath" flag with a separated argument])
6158 [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
6193 # ------------------------
6228 if test -n "$compiler"; then
6251 if test -n "$RANLIB"; then
6257 aix[[4-9]]*)
6282 # --------------------------
6290 if test -n "$CXX" && ( test no != "$CXX" &&
6291 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
6333 # and will be corrupted by setting them based on a non-working compiler.
6356 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
6361 if test -n "${lt_cv_path_LDCXX+set}"; then
6366 test -z "${LDCXX+set}" || LD=$LDCXX
6367 CC=${CXX-"c++"}
6373 if test -n "$compiler"; then
6374 # We don't want -fno-exception when compiling C++ code, so set the
6377 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
6390 …s, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compil…
6391-shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $
6393 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6394 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6397 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
6399 wlarc='$wl'
6401 # ancient GNU ld didn't support --whole-archive et. al.
6402 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
6403 $GREP 'no-whole-archive' > /dev/null; then
6404 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
6417 …LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_obje…
6423 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
6439 aix[[4-9]]*)
6444 exp_sym_flag='-Bexport'
6450 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6453 # depending on the kind of the shared library created -
6464 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
6467 *-brtl*)
6474 # With aix-soname=svr4, we create the lib.so.V shared archives only,
6478 LDFLAGS="$LDFLAGS -Wl,-brtl"
6483 exp_sym_flag='-bexport'
6484 no_entry_flag='-bnoentry'
6489 # or program results in "error TOC overflow" add -mminimal-toc to
6491 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6498 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
6512 collect2name=`$CC -print-prog-name=collect2`
6513 if test -f "$collect2name" &&
6525 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6529 shared_flag='-shared'
6531 shared_flag=$shared_flag' $wl-G'
6535 # /with/ Import File - we do not want to mix them.
6536 shared_flag_aix='-shared'
6537 shared_flag_svr4='-shared $wl-G'
6541 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6542 # chokes on -Wl,-G. The following line is correct:
6543 shared_flag='-G'
6546 shared_flag='$wl-G'
6548 shared_flag='$wl-bM:SRE'
6550 shared_flag_aix='$wl-bM:SRE'
6551 shared_flag_svr4='$wl-G'
6555 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
6556 # It seems that -bexpall does not export symbols beginning with
6561 # Warning - without using the other runtime loading flags (-brtl),
6562 # -berok will link without error, but may produce a broken library.
6563 # The "-G" linker flag allows undefined symbols.
6564 _LT_TAGVAR(no_undefined_flag, $1)='-bernotok'
6568 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6570-o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allo…
6573 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
6574 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
6575 …$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_fl…
6580 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6581 # Warning - without using the other run time loading flags,
6582 # -berok will link without error, but may produce a broken library.
6583 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
6584 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
6586 # We only use this code for GNU lds that support --whole-archive.
6587 … _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
6593 …_LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$real…
6594 # -brtl affects multiple linker settings, -berok does not and is overridden later
6595 …compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\…
6598 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
6599 …)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$…
6602-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
6604 # used by -dlpreopen to get the symbols
6607 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/…
6613 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6616 # support --undefined. This deserves some investigation. FIXME
6617 …_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname…
6647 …_LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,
6652 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
6654 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
6671 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
6672 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
6680 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6681 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
6686 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
6687-shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_ob…
6688 # If the export-symbols file already is a .def file, use it as
6696-shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $c…
6708 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6717 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
6718 emximp -o $lib $output_objdir/$libname.def'
6725 prefix_cmds="$prefix_cmds -e 1d";
6727 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
6729 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
6730 emximp -o $lib $output_objdir/$libname.def'
6731 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
6759 freebsd-elf*)
6770 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
6775 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
6777 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6789 …_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $outpu…
6798 …output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list…
6802 …rchive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_lib…
6813 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
6820 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6846 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $p…
6849 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $…
6852 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_obj…
6863 …output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=…
6870 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects…
6873 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath
6876 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_l…
6888 interix[[3-9]]*)
6891 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6892 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6897 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6899 …1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
6900-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output…
6906-shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname …
6909 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
6912 _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
6917-shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl…
6919-shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl…
6925 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6930 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6936 # ends with ".so" (or ".sl" for HP-UX), so rename the library
6938-e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"…
6939-e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"…
6948 …_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GRE…
6950 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6951 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6954 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
6955 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
6963 case `$CC -V 2>&1` in
6965 …VAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_fl…
6966 …='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$so…
6971 ia64*) tmp_idyn=' -i_dynamic';;
6973 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-sonam…
6974 …_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-r…
6978 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6979 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6980 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
6984 case `$CC -V` in
6985 *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
6987 rm -rf $tpldir~
6988 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
6989 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
6991 rm -rf $tpldir~
6992 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
6993 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
6996 rm -rf $tpldir~
6997 …$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $…
6998-shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $po…
7000 rm -rf $tpldir~
7001 …$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $…
7002-shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $pos…
7005 …rchive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compil…
7006-shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $
7010 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir'
7011 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7012wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_co…
7016 …VAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_fl…
7017 … $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $w…
7020 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7031 …output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; tem…
7035 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7036 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7037 …_LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$sona…
7040 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7042 …$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$outp…
7046 case `$CC -V 2>&1 | sed 5q` in
7049 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7050 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libob…
7051 …1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objec…
7052 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7053wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conv…
7057 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
7062 # "CC -xar", where "CC" is the Sun C++ compiler. This is
7065 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7096 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7097 …_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_…
7099 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7103 # Workaround some broken pre-1.5 toolchains
7104 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $…
7112 if test -f /usr/libexec/ld.so; then
7116 …LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_obje…
7117 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7118 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
7119 …ds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags …
7120 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
7121 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
7135 # ends with ".so" (or ".sl" for HP-UX), so rename the library
7137-e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so…
7139 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7145 osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
7146 *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
7157 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
7158-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $w…
7159 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7162 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
7163-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -m…
7164 …hive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i"…
7165 echo "-hidden">> $lib.exp~
7166-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -m…
7168 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7182 …output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GR…
7186 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
7189-shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compil…
7192-shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objec…
7196 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7202 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
7241 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7242 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libob…
7243 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
7244 …$CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs …
7246 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7249 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7252 # but understands '-z linker_flag'.
7254 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
7262 # "CC -xar", where "CC" is the Sun C++ compiler. This is
7265 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7269 …TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler…
7272 _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
7277 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs'
7278 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
7279 …hive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects…
7280 …ve_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
7281 …$CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobj…
7286 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
7288 # g++ 2.7 appears to require '-G' NOT '-shared' on this
7290 …VAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compil…
7291 …ve_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
7292 …$CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $pos…
7297 …output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | …
7300 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
7302 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7304 …_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextra…
7313 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7320 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7321 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
7324 … _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7325 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
7331 # Note: We CANNOT use -z defs as we might desire, because we do not
7332 # link with -lc, and that would cause any symbols used from libc to
7334 # ever link correctly. If we're not using GNU ld we use -z text
7335 # though, which does catch some bad symbols but isn't as heavy-handed
7336 # as -z defs.
7337 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7338 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
7341 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
7344 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
7349 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7350 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
7351 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
7353 _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
7357 … _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7358 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
7366 # NonStop-UX NCC 3.20
7407 fi # test -n "$compiler"
7426 # ----------------------
7433 # This function is identical to the (non-XSI) version of func_stripname,
7450 # ---------------------------------
7516 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
7517 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
7518 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
7534 -L* | -R* | -l*)
7535 # Some compilers place space between "-{L,R}" and the path.
7537 if test x-L = "$p" ||
7538 test x-R = "$p"; then
7544 if test -z "$prev"; then
7546 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
7547 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
7548 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
7556 -L | -R)
7560 if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
7566 # The "-l" case would never come before the object being
7570 if test -z "$_LT_TAGVAR(postdeps, $1)"; then
7589 if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
7595 if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
7609 rm -f a.out a.exe
7614 $RM -f confest.$objext
7620 interix[[3-9]]*)
7631 *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
7634 if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
7635 …h_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'`
7652 # --------------------------
7658 if test -z "$F77" || test no = "$F77"; then
7694 # and will be corrupted by setting them based on a non-working compiler.
7720 CC=${F77-"f77"}
7726 if test -n "$compiler"; then
7738 if test -n "$RANLIB"; then
7743 aix[[4-9]]*)
7775 fi # test -n "$compiler"
7787 # -------------------------
7794 if test -z "$FC" || test no = "$FC"; then
7821 ac_ext=${ac_fc_srcext-f}
7830 # and will be corrupted by setting them based on a non-working compiler.
7856 CC=${FC-"f95"}
7864 if test -n "$compiler"; then
7876 if test -n "$RANLIB"; then
7881 aix[[4-9]]*)
7914 fi # test -n "$compiler"
7926 # --------------------------
7959 CC=${GCJ-"gcj"}
7977 if test -n "$compiler"; then
7997 # --------------------------
8030 CC=${GOC-"gccgo"}
8048 if test -n "$compiler"; then
8068 # -------------------------
8101 CC=${RC-"windres"}
8108 if test -n "$compiler"; then
8121 # -----------
8126 test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
8132 dnl aclocal-1.4 backwards compatibility:
8137 # ----------
8144 # ----------
8151 dnl aclocal-1.4 backwards compatibility:
8156 # --------------
8162 test -z "$GREP" && GREP=grep
8166 dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
8172 # --------------
8177 test -z "$OBJDUMP" && OBJDUMP=objdump
8183 # ----------------
8187 test -z "$DLLTOOL" && DLLTOOL=dlltool
8193 # ------------
8194 # Check for a fully-functional sed program, that truncates
8198 test -z "$SED" && SED=sed
8199 Xsed="$SED -e 1s/^X//"
8201 _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
8202 [Sed that helps us avoid accidentally triggering echo(1) options like -n])
8222 test -z "$as_dir" && as_dir=.
8237 test ! -f "$lt_ac_sed" && continue
8242 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
8251 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
8252 cmp -s conftest.out conftest.nl || break
8254 test 10 -lt "$lt_ac_count" && break
8256 if test "$lt_ac_count" -gt "$lt_ac_max"; then
8271 dnl aclocal-1.4 backwards compatibility:
8276 # ------------------------
8305 # -----------------------------
8308 # for certain cross-compile configurations and native mingw.
8315 *-*-mingw* )
8317 *-*-mingw* ) # actually msys
8320 *-*-cygwin* )
8328 *-*-cygwin* )
8330 *-*-mingw* ) # actually msys
8333 *-*-cygwin* )
8356 *-*-mingw* )
8358 *-*-mingw* ) # actually msys