• 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*|powerpc64le-*linux*)
1421 LD="${LD-ld} -m elf64lppc"
1423 powerpc-*linux*|powerpc64-*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,
1724 if test -x /sbin/sysctl; then
1725 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
1726 elif test -x /usr/sbin/sysctl; then
1727 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
1753 if test -x /sbin/sysconfig; then
1754 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
1755 *1*) lt_cv_sys_max_cmd_len=-1 ;;
1764 if test -n "$kargmax"; then
1772 if test -n "$lt_cv_sys_max_cmd_len" && \
1782 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
1783 # If test is not a shell built-in, we'll probably end up computing a
1804 if test -n "$lt_cv_sys_max_cmd_len"; then
1816 dnl aclocal-1.4 backwards compatibility:
1821 # ----------------
1827 # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1828 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1829 # ----------------------------------------------------------------
1879 /* When -fvisibility=hidden is used, assume the code has been annotated
1907 if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
1920 rm -fr conftest*
1925 # ------------------
1956 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
1965 # because TPF is a cross-compiler, and we know how we open DSOs.
1975 [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
1979 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
1981 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
1983 [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
2001 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
2004 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
2017 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
2052 dnl aclocal-1.4 backwards compatibility:
2057 # ---------------------------
2058 # Check to see if options -c and -o are simultaneously supported by compiler.
2064 AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
2067 $RM -r conftest 2>/dev/null
2073 lt_compiler_flag="-o out/conftest2.$ac_objext"
2079 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2080 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
2081 -e 's:$: $lt_compiler_flag:'`
2087 if (exit $ac_status) && test -s out/conftest2.$ac_objext
2093 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
2101 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
2104 $RM -r conftest
2108 [Does compiler simultaneously support -c and -o options?])
2113 # ----------------------------------
2132 AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe])
2143 # ----------------
2146 [rm -f .libs 2>/dev/null
2148 if test -d .libs; then
2151 # MS-DOS does not allow filenames that begin with a dot.
2160 [Define to the sub-directory where libtool stores uninstalled libraries.])
2165 # --------------------------------------
2170 if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
2171 test -n "$_LT_TAGVAR(runpath_var, $1)" ||
2174 # We can hardcode non-existent directories.
2178 # when we should be linking with a yet-to-be-installed one
2209 # ----------------
2215 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
2216 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
2217 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
2220 # FIXME - insert some real tests, host_os isn't really good enough
2223 if test -n "$STRIP"; then
2224 striplib="$STRIP -x"
2225 old_striplib="$STRIP -S"
2242 # ---------------------------
2246 # -----------------------------------
2271 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
2272 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
2283 # -----------------------------
2302 mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
2305 …lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_s…
2309 # otherwise default to the standard path separator (i.e. ":") - it is
2321 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
2323 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
2330 if test -d "$lt_sys_path$lt_multi_os_dir"; then
2332 elif test -n "$lt_multi_os_dir"; then
2333 test -d "$lt_sys_path" && \
2341 for (lt_i = NF; lt_i > 0; lt_i--) {
2349 lt_count--;
2361 $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
2383 # when you set need_version to no, make sure it does not cause -set_version
2388 [User-defined run-time library search path.])
2400 aix[[4-9]]*)
2419 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
2427 # filename-based versioning of shared library archives on AIX. While
2429 # prevent static linking of such archives. So we do filename-based
2434 # versioned .so libs for executables only if there is the -brtl
2435 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
2436 # To allow for filename-based versioning support, we need to create
2446 # but for link time we create the symlink libNAME.so -> libNAME.so.V
2476-n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$…
2486-z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z …
2487 …postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_librar…
2498 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
2526 # libtool to hard-code these into programs
2541 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2543 test -d \$dldir || mkdir -p \$dldir~
2546 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2549 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2557 …soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuff…
2563 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2567 …library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$v…
2576 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2593 …path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|…
2599 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
2600 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
2601 …sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEP…
2605 if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
2607 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2609 … sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2612 # common. (e.g. "Program Files" -> "PROGRA~1")
2618 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2620 test -d \$dldir || mkdir -p \$dldir~
2622 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2631 …library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.…
2666 if test -x /usr/bin/objformat; then
2679 version_type=freebsd-$objformat ;;
2683 freebsd-elf*)
2689 freebsd-*)
2709 freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
2710 freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
2777 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
2783 interix[[3-9]]*)
2815 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
2816 libsuff= shlibsuff= libmagic=32-bit;;
2817 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
2819 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
2820 libsuff=64 shlibsuff=64 libmagic=64-bit;;
2821 *) libsuff= shlibsuff= libmagic=never-match;;
2853 # Don't embed -rpath directories since the linker doesn't support them.
2854 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2858 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2864 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2873 eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
2876 [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
2891 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
2892 # even though it is searched at run-time. Try to do the best guess by
2894 if test -f /etc/ld.so.conf; then
2895 …skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwc…
2902 # most powerpc-linux boxes support dynamic linking these days and
2903 # people can always --disable-shared, the test was removed, and we
2912 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
2914 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2949 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
2955 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2967 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
2968 v=$($ECHO $release$versuffix | tr -d .-);
2969 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
2977 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
2979 test -d \$dldir || mkdir -p \$dldir~
2982 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2985 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
3054 if test -d /usr/nec; then
3085 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
3125 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
3141 [Is shlibpath searched before the hard-coded library search path?])
3145 The last name is the one that the linker finds with -lNAME]])
3162 [Compile-time system search path for libraries])
3164 [Detected run-time system search path for libraries])
3171 # --------------------------
3184 dnl $ac_dummy forces splitting on constant user-supplied paths.
3190 test -z "$ac_dir" && ac_dir=.
3191 if test -f "$ac_dir/$1"; then
3193 if test -n "$file_magic_test_file"; then
3211 *** bug-libtool@gnu.org
3225 if test -n "$MAGIC_CMD"; then
3236 dnl aclocal-1.4 backwards compatibility:
3241 # --------------
3245 if test -z "$lt_cv_path_MAGIC_CMD"; then
3246 if test -n "$ac_tool_prefix"; then
3256 # ----------
3257 # find the pathname to the GNU or non-GNU linker
3266 AC_ARG_WITH([gnu-ld],
3267 [AS_HELP_STRING([--with-gnu-ld],
3274 # Check if gcc -print-prog-name=ld gives a path.
3277 *-*-mingw*)
3279 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3281 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3292 test -z "$LD" && LD=$ac_prog
3306 AC_MSG_CHECKING([for non-GNU ld])
3309 [if test -z "$LD"; then
3313 test -z "$ac_dir" && ac_dir=.
3314 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3316 # Check to see if the program is GNU ld. I'd rather use --version,
3317 # but apparently some variants of GNU ld only accept -v.
3318 # Break only if it was the GNU/non-GNU ld that we prefer.
3319 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3334 if test -n "$LD"; then
3339 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
3349 dnl aclocal-1.4 backwards compatibility:
3355 #- --------------
3358 [# I'd rather use --version here, but apparently some GNU lds only accept -v.
3359 case `$LD -v 2>&1 </dev/null` in
3372 # --------------
3374 # -- PORTME Some linkers may need a different reload flag.
3378 [lt_cv_ld_reload_flag='-r'])
3384 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3393 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
3395 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3405 # -----------
3414 cmp -s conftest.i conftest.out \
3417 rm -f conftest.i conftest2.i conftest.out])
3422 # ----------------
3431 cmp -s conftest.i conftest.out \
3434 rm -f conftest.i conftest2.i conftest.out
3435 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"])
3442 # ----------------------
3444 # -- PORTME fill in with the dynamic library characteristics
3455 # 'none' -- dependencies not supported.
3456 # 'unknown' -- same as none, but documents that we really don't know.
3457 # 'pass_all' -- all dependencies passed with no checks.
3458 # 'test_compile' -- check by making test program.
3459 # 'file_magic [[regex]]' -- check by looking for files in library path
3465 aix[[4-9]]*)
3474 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
3475 lt_cv_file_magic_cmd='/usr/bin/file -L'
3488 # unless we find 'file', for example because we are cross-compiling.
3494 …v_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x…
3495 lt_cv_file_magic_cmd='$OBJDUMP -f'
3501 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3502 lt_cv_file_magic_cmd='$OBJDUMP -f'
3510 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3515 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
3533 …lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object f…
3537 …heck_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)…
3541 …lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared lib…
3547 interix[[3-9]]*)
3554 *-32|*"-32 ") libmagic=32-bit;;
3555 *-n32|*"-n32 ") libmagic=N32;;
3556 *-64|*"-64 ") libmagic=64-bit;;
3557 *) libmagic=never-match;;
3563 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
3568 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3569 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3576 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3586 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
3587 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
3589 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3612 …bs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][…
3620 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib…
3624 lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
3653 …file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/…
3661 test -z "$deplibs_check_method" && deplibs_check_method=unknown
3675 # ----------
3676 # find the pathname to a BSD- or MS-compatible name lister
3679 AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
3680 [if test -n "$NM"; then
3685 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3692 test -z "$ac_dir" && ac_dir=.
3694 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
3695 # Check to see if the nm accepts a BSD-compat flag.
3696 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
3704 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
3706 lt_cv_path_NM="$tmp_nm -B"
3710 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3712 lt_cv_path_NM="$tmp_nm -p"
3732 if test -n "$DUMPBIN"; then :
3735 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
3736 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
3738 DUMPBIN="$DUMPBIN -symbols -headers"
3750 test -z "$NM" && NM=nm
3752 _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
3768 rm -f conftest*])
3774 dnl aclocal-1.4 backwards compatibility:
3779 # --------------------------------
3782 # -- PORTME fill in with the dynamic library characteristics
3795 case `$DLLTOOL --help 2>&1` in
3796 *--identify-strict*)
3811 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
3819 # ----------------------
3823 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
3826 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
3827 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
3832 rm -f conftest*])
3841 # ---------------------
3846 test DEF = "`$SED -n dnl
3847 -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
3848 -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
3849 -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
3850 -e q dnl Only consider the first "real" line
3856 # --------
3862 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
3865 *-ncr-sysv4.3*)
3866 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
3867 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
3870 AC_CHECK_LIB(m, cos, LIBM=-lm)
3878 dnl aclocal-1.4 backwards compatibility:
3883 # -------------------------------
3892 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
3894 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
3897 _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
3899 [-fno-rtti -fno-exceptions], [],
3900 …o_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
3908 # ----------------------
3930 sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
3932 # Define system-specific variables.
3969 case `$NM -V 2>&1` in
3976 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
3978 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
3979 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
3981 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
3982 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
3994 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
3996 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
3997 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
4000 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
4002 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
4003 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
4007 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
4009 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
4010 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
4011 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
4029 # Fake it for dumpbin and say T for any non-static function,
4049 …lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$…
4056 rm -f conftest*
4073 …if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$n…
4076 mv -f "$nlist"T "$nlist"
4078 rm -f "$nlist"T
4088 relocations are performed -- see ld's documentation on pseudo-relocs. */
4103 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4116 …$SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> c…
4138 if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
4156 rm -rf conftest* conftst*
4166 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4169 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4178 elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
4202 # ---------------------------
4210 # C++ specific cases for pic, static, wl, etc.
4212 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4213 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4220 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4222 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4229 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4233 # adding the '-m68020' flag to GCC prevents building anything better,
4234 # like '-m68040'.
4235 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4246 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4247 # (--disable-auto-import) libraries
4249 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4252 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4259 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4267 # The "-static" flag exists, but is broken.
4270 interix[[3-9]]*)
4271 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4275 if test -d /usr/nec; then
4276 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4280 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4281 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4287 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4292 # QNX uses GNU C++, but need to define -shared option too, otherwise
4294 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4297 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4302 aix[[4-9]]*)
4306 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4308 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4315 …# _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abor…
4323 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4328 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4332 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4344 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4345 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4351 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4352 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4373 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4374 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4375 # CC pic flag -KPIC is the default.
4381 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4385 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4386 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4389 # old Intel C++ for x86_64, which still supported -KPIC.
4390 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4391 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4392 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4396 # ICC 10 doesn't accept -KPIC any more.
4397 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4398 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4399 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4403 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4404 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4405 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4412 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4416 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4417 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4418 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4421 case `$CC -V 2>&1 | sed 5q` in
4424 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4425 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4426 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4439 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
4448 # QNX uses GNU C++, but need to define -shared option too, otherwise
4450 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4455 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4459 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4463 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4467 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4479 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4480 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4481 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4485 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4495 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4496 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4500 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4509 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4510 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4511 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4518 # NonStop-UX NCC 3.20
4519 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4535 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4536 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4543 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4545 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4552 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4556 # adding the '-m68020' flag to GCC prevents building anything better,
4557 # like '-m68040'.
4558 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4570 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4571 # (--disable-auto-import) libraries
4573 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4576 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4584 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4589 # The "-static" flag exists, but is broken.
4594 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4595 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4602 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4607 interix[[3-9]]*)
4608 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4620 # QNX uses GNU C++, but need to define -shared option too, otherwise
4622 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4626 if test -d /usr/nec; then
4627 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4632 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4638 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
4639 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4640 _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
4648 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4651 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4653 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4660 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4664 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4665 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4666 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4675 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4678 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4684 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4685 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4686 # not for PA HP-UX.
4696 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4700 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4701 # PIC (with -KPIC) is the default.
4702 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4705 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4707 # old Intel for x86_64, which still supported -KPIC.
4709 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4710 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4711 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4714 # ICC 10 doesn't accept -KPIC any more.
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'
4722 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4723 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
4724 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
4728 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4729 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4730 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4734 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4735 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4736 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4741 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4742 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4743 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4746 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4748 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4752 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4753 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4754 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4757 case `$CC -V 2>&1 | sed 5q` in
4758 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
4760 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4761 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4765 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4766 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4767 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4771 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4772 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4773 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4776 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4777 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4778 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4781 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4782 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4783 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4791 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4792 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4796 # QNX uses GNU C++, but need to define -shared option too, otherwise
4798 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4802 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4804 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4808 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4812 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4813 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4816 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
4818 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
4823 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4824 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4825 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4829 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4830 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4831 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4835 if test -d /usr/nec; then
4836 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
4837 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4842 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4843 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4844 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4848 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4853 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4854 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4864 # For platforms that do not support PIC, -DPIC is meaningless:
4869 …$1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[]…
4881 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4884 …[$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])]…
4895 _LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
4900 wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_stat…
4912 # ----------------------------
4928 aix[[4-9]]*)
4929 # If we're using GNU nm, then we don't want the "-C" option.
4930 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
4931 # Without the "-l" option, or with the "-B" option, AIX nm treats
4935 # it in the Import File for the 'aix-soname' feature, so we have
4936 # to replace the "-B" option with "-P" for AIX nm.
4937 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
4938-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
4940-e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\…
4952 …_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\'…
4953 … $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
4986 # include_expsyms should be a list of space-separated symbols to be *always*
5033 case `$LD -v 2>&1` in
5035 *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
5036 *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
5050 wlarc='$wl'
5056 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5057 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
5058 # ancient GNU ld didn't support --whole-archive et. al.
5059 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
5060 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
5065 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
5067 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
5076 aix[[3-9]]*)
5086 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
5097 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5101 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5102 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5109 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5112 # support --undefined. This deserves some investigation. FIXME
5113 …_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname…
5122 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5123 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
5127 …_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\'…
5128 … $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
5130 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
5131 …e_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-a…
5132 # If the export-symbols file already is a .def file, use it as
5140 …CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname …
5147 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5152 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5161 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5162 emximp -o $lib $output_objdir/$libname.def'
5169 prefix_cmds="$prefix_cmds -e 1d";
5171 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5173 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5174 emximp -o $lib $output_objdir/$libname.def'
5175 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
5179 interix[[3-9]]*)
5182 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5183 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5188 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
5190 …1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
5191-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output…
5194 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
5196 if test linux-dietlibc = "$host_os"; then
5198 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
5201 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
5205 tmp_sharedflag='-shared'
5208wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_co…
5213wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_co…
5214 tmp_addflag=' $pic_flag -Mnomain' ;;
5216 tmp_addflag=' -i_dynamic' ;;
5218 tmp_addflag=' -i_dynamic -nofor_main' ;;
5220 tmp_addflag=' -nofor_main' ;;
5223 tmp_sharedflag='--shared' ;;
5225 tmp_sharedflag='-Wl,-shared' ;;
5227 tmp_sharedflag='-qmkshrobj'
5230wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_co…
5234 case `$CC -V 2>&1 | sed 5q` in
5236wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conv…
5238 tmp_sharedflag='-G' ;;
5240 tmp_sharedflag='-G' ;;
5242 … '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5246 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5248 …ag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/…
5253 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
5257 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
5258 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5259 … _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
5262 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5264 …$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libnam…
5274 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5275 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5278 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $
5279 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5284 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
5296 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5297 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $
5298 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5305 case `$LD -v 2>&1` in
5306 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
5324 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5325 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5326 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5327 …expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-s…
5336 …_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_…
5343 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5344 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $
5345 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5364 …(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$expo…
5366 # are no directories specified by -L.
5368 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
5375 aix[[4-9]]*)
5380 exp_sym_flag='-Bexport'
5383 # If we're using GNU nm, then we don't want the "-C" option.
5384 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
5385 # Without the "-l" option, or with the "-B" option, AIX nm treats
5389 # it in the Import File for the 'aix-soname' feature, so we have
5390 # to replace the "-B" option with "-P" for AIX nm.
5391 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
5392-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
5394-e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\…
5399 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5402 # depending on the kind of the shared library created -
5413 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
5415 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
5421 # With aix-soname=svr4, we create the lib.so.V shared archives only,
5425 LDFLAGS="$LDFLAGS -Wl,-brtl"
5430 exp_sym_flag='-bexport'
5431 no_entry_flag='-bnoentry'
5436 # or program results in "error TOC overflow" add -mminimal-toc to
5438 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5445 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
5459 collect2name=`$CC -print-prog-name=collect2`
5460 if test -f "$collect2name" &&
5472 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5477 shared_flag='-shared'
5479 shared_flag="$shared_flag "'$wl-G'
5483 # /with/ Import File - we do not want to mix them.
5484 shared_flag_aix='-shared'
5485 shared_flag_svr4='-shared $wl-G'
5489 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
5490 # chokes on -Wl,-G. The following line is correct:
5491 shared_flag='-G'
5494 shared_flag='$wl-G'
5496 shared_flag='$wl-bM:SRE'
5498 shared_flag_aix='$wl-bM:SRE'
5499 shared_flag_svr4='$wl-G'
5503 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
5504 # It seems that -bexpall does not export symbols beginning with
5508 # Warning - without using the other runtime loading flags (-brtl),
5509 # -berok will link without error, but may produce a broken library.
5510 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
5514 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5515-o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allo…
5518 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
5519 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
5520 …$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_fl…
5525 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5526 # Warning - without using the other run time loading flags,
5527 # -berok will link without error, but may produce a broken library.
5528 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
5529 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
5531 # We only use this code for GNU lds that support --whole-archive.
5532 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
5538 …_LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$real…
5539 # -brtl affects multiple linker settings, -berok does not and is overridden later
5540 …compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\…
5543 …)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$…
5546-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
5548 # used by -dlpreopen to get the symbols
5551 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/…
5560 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5564 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5565 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5572 _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
5592 …_LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,
5597 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
5599 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
5605 … $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'…
5617 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
5618 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
5631 …TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\…
5635 _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
5646 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5647 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5656 …_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++…
5657 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5664 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5670 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5672 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5673 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5680 …VAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -
5682 …_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objd…
5684 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5691 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5696 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $…
5698 …_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $link…
5701 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5705 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5716 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_fla…
5719 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $l…
5722 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $…
5728 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
5731 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs…
5735 # Older versions of the 11.00 compiler do not understand -b yet
5736 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
5737 _LT_LINKER_OPTION([if $CC understands -b],
5738 _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
5739 …[_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $…
5740 …[_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $lin…
5741 …[_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $…
5746 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5757 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5769-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
5770 # Try to use the -exported_symbol ld option, if it does not
5771 # work, assume that -exports_file does not work either and
5773 # This should be the same for all languages, so no per-tag cache variable.
5774 AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
5777 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
5792-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
5795-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "
5796-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "
5799 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5810 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5816 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5817 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
5819 _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
5821 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5827 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5829 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5838 if test -f /usr/libexec/ld.so; then
5842 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5843 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5844 …TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $
5845 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5846 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5848 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5849 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5857 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5866 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5867 emximp -o $lib $output_objdir/$libname.def'
5874 prefix_cmds="$prefix_cmds -e 1d";
5876 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5878 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5879 emximp -o $lib $output_objdir/$libname.def'
5880 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
5886 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
5887-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$ve…
5889 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5890-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstrin…
5893 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5897 osf4* | osf5*) # as osf3* with the addition of -msym flag
5899 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
5900-shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$s…
5901 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5903 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5904-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$ve…
5905 …in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%…
5906-shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $sona…
5908 # Both c and cxx compiler support -rpath directly
5909 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5916 _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
5918 wlarc='$wl'
5919 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libo…
5920 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5921 …$CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs…
5923 case `$CC -V 2>&1` in
5926 …_LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $li…
5927 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5928 …$LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $li…
5931 wlarc='$wl'
5932 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $co…
5933 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5934 …$CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $…
5938 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5941 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
5944 # but understands '-z linker_flag'. GCC discards it without '$wl',
5948 …_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextra…
5950 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
5961 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
5963 …_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_fla…
5965 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5974 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5980 _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5981 _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
5985 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5994 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5996 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
6000 if test -d /usr/nec; then
6001 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6010 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6016 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6017 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
6019 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6020 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
6025 # Note: We CANNOT use -z defs as we might desire, because we do not
6026 # link with -lc, and that would cause any symbols used from libc to
6028 # ever link correctly. If we're not using GNU ld we use -z text
6029 # though, which does catch some bad symbols but isn't as heavy-handed
6030 # as -z defs.
6031 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6032 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
6035 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
6038 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
6042 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6043 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
6045 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6046 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
6051 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6052 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6064 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym'
6085 # Assume -lc should be added
6091 # FIXME: we may have to deal with multi-command sequences.
6094 # Test whether the compiler implicitly links with -lc since on some
6095 # systems, -lgcc has to come before -lc. If gcc already passes -lc
6096 # to ld, don't add -lc before -lgcc.
6097 AC_CACHE_CHECK([whether -lc should be explicitly linked in],
6107 wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
6109 compiler_flags=-v
6110 linker_flags=-v
6116 if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
6136 [Whether or not to add -lc for building shared libraries])
6147 [Create an old-style archive from a shared archive])
6149 [Create a temporary old-style archive to link instead of a shared archive])
6166 [Whether we need a single "-rpath" flag with a separated argument])
6176 [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
6211 # ------------------------
6246 if test -n "$compiler"; then
6269 if test -n "$RANLIB"; then
6275 aix[[4-9]]*)
6300 # --------------------------
6308 if test -n "$CXX" && ( test no != "$CXX" &&
6309 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
6351 # and will be corrupted by setting them based on a non-working compiler.
6374 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
6379 if test -n "${lt_cv_path_LDCXX+set}"; then
6384 test -z "${LDCXX+set}" || LD=$LDCXX
6385 CC=${CXX-"c++"}
6391 if test -n "$compiler"; then
6392 # We don't want -fno-exception when compiling C++ code, so set the
6395 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
6408 …s, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compil…
6409-shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $
6411 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6412 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6415 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
6417 wlarc='$wl'
6419 # ancient GNU ld didn't support --whole-archive et. al.
6420 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
6421 $GREP 'no-whole-archive' > /dev/null; then
6422 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
6435 …LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_obje…
6441 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
6457 aix[[4-9]]*)
6462 exp_sym_flag='-Bexport'
6468 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6471 # depending on the kind of the shared library created -
6482 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
6485 *-brtl*)
6492 # With aix-soname=svr4, we create the lib.so.V shared archives only,
6496 LDFLAGS="$LDFLAGS -Wl,-brtl"
6501 exp_sym_flag='-bexport'
6502 no_entry_flag='-bnoentry'
6507 # or program results in "error TOC overflow" add -mminimal-toc to
6509 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6516 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
6530 collect2name=`$CC -print-prog-name=collect2`
6531 if test -f "$collect2name" &&
6543 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6547 shared_flag='-shared'
6549 shared_flag=$shared_flag' $wl-G'
6553 # /with/ Import File - we do not want to mix them.
6554 shared_flag_aix='-shared'
6555 shared_flag_svr4='-shared $wl-G'
6559 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6560 # chokes on -Wl,-G. The following line is correct:
6561 shared_flag='-G'
6564 shared_flag='$wl-G'
6566 shared_flag='$wl-bM:SRE'
6568 shared_flag_aix='$wl-bM:SRE'
6569 shared_flag_svr4='$wl-G'
6573 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
6574 # It seems that -bexpall does not export symbols beginning with
6579 # Warning - without using the other runtime loading flags (-brtl),
6580 # -berok will link without error, but may produce a broken library.
6581 # The "-G" linker flag allows undefined symbols.
6582 _LT_TAGVAR(no_undefined_flag, $1)='-bernotok'
6586 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6588-o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allo…
6591 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
6592 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
6593 …$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_fl…
6598 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6599 # Warning - without using the other run time loading flags,
6600 # -berok will link without error, but may produce a broken library.
6601 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
6602 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
6604 # We only use this code for GNU lds that support --whole-archive.
6605 … _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
6611 …_LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$real…
6612 # -brtl affects multiple linker settings, -berok does not and is overridden later
6613 …compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\…
6616 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
6617 …)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$…
6620-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
6622 # used by -dlpreopen to get the symbols
6625 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/…
6631 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6634 # support --undefined. This deserves some investigation. FIXME
6635 …_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname…
6665 …_LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,
6670 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
6672 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
6689 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
6690 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
6698 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6699 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
6704 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
6705-shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_ob…
6706 # If the export-symbols file already is a .def file, use it as
6714-shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $c…
6726 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6735 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
6736 emximp -o $lib $output_objdir/$libname.def'
6743 prefix_cmds="$prefix_cmds -e 1d";
6745 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
6747 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
6748 emximp -o $lib $output_objdir/$libname.def'
6749 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
6777 freebsd-elf*)
6788 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
6793 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
6795 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6807 …_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $outpu…
6816 …output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list…
6820 …rchive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_lib…
6831 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
6838 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6864 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $p…
6867 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $…
6870 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_obj…
6881 …output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=…
6888 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects…
6891 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath
6894 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_l…
6906 interix[[3-9]]*)
6909 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6910 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6915 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6917 …1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
6918-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output…
6924-shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname …
6927 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
6930 _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
6935-shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl…
6937-shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl…
6943 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6948 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6954 # ends with ".so" (or ".sl" for HP-UX), so rename the library
6956-e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"…
6957-e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"…
6966 …_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GRE…
6968 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6969 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6972 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
6973 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
6981 case `$CC -V 2>&1` in
6983 …VAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_fl…
6984 …='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$so…
6989 ia64*) tmp_idyn=' -i_dynamic';;
6991 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-sonam…
6992 …_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-r…
6996 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6997 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6998 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
7002 case `$CC -V` in
7003 *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
7005 rm -rf $tpldir~
7006 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
7007 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
7009 rm -rf $tpldir~
7010 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
7011 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
7014 rm -rf $tpldir~
7015 …$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $…
7016-shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $po…
7018 rm -rf $tpldir~
7019 …$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $…
7020-shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $pos…
7023 …rchive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compil…
7024-shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $
7028 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir'
7029 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7030wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_co…
7034 …VAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_fl…
7035 … $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $w…
7038 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7049 …output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; tem…
7053 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7054 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7055 …_LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$sona…
7058 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7060 …$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$outp…
7064 case `$CC -V 2>&1 | sed 5q` in
7067 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7068 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libob…
7069 …1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objec…
7070 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7071wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conv…
7075 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
7080 # "CC -xar", where "CC" is the Sun C++ compiler. This is
7083 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7114 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7115 …_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_…
7117 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7121 # Workaround some broken pre-1.5 toolchains
7122 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $…
7130 if test -f /usr/libexec/ld.so; then
7134 …LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_obje…
7135 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7136 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
7137 …ds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags …
7138 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
7139 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
7153 # ends with ".so" (or ".sl" for HP-UX), so rename the library
7155-e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so…
7157 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7163 osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
7164 *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
7175 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
7176-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $w…
7177 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7180 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
7181-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -m…
7182 …hive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i"…
7183 echo "-hidden">> $lib.exp~
7184-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -m…
7186 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7200 …output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GR…
7204 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
7207-shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compil…
7210-shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objec…
7214 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7220 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
7259 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7260 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libob…
7261 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
7262 …$CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs …
7264 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7267 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7270 # but understands '-z linker_flag'.
7272 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
7280 # "CC -xar", where "CC" is the Sun C++ compiler. This is
7283 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7287 …TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler…
7290 _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
7295 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs'
7296 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
7297 …hive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects…
7298 …ve_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
7299 …$CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobj…
7304 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
7306 # g++ 2.7 appears to require '-G' NOT '-shared' on this
7308 …VAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compil…
7309 …ve_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
7310 …$CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $pos…
7315 …output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | …
7318 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
7320 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7322 …_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextra…
7331 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7338 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7339 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
7342 … _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7343 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
7349 # Note: We CANNOT use -z defs as we might desire, because we do not
7350 # link with -lc, and that would cause any symbols used from libc to
7352 # ever link correctly. If we're not using GNU ld we use -z text
7353 # though, which does catch some bad symbols but isn't as heavy-handed
7354 # as -z defs.
7355 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7356 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
7359 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
7362 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
7367 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7368 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
7369 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
7371 _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
7375 … _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7376 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
7384 # NonStop-UX NCC 3.20
7425 fi # test -n "$compiler"
7444 # ----------------------
7451 # This function is identical to the (non-XSI) version of func_stripname,
7468 # ---------------------------------
7534 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
7535 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
7536 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
7552 -L* | -R* | -l*)
7553 # Some compilers place space between "-{L,R}" and the path.
7555 if test x-L = "$p" ||
7556 test x-R = "$p"; then
7562 if test -z "$prev"; then
7564 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
7565 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
7566 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
7574 -L | -R)
7578 if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
7584 # The "-l" case would never come before the object being
7588 if test -z "$_LT_TAGVAR(postdeps, $1)"; then
7607 if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
7613 if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
7627 rm -f a.out a.exe
7632 $RM -f confest.$objext
7638 interix[[3-9]]*)
7649 *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
7652 if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
7653 …h_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'`
7670 # --------------------------
7676 if test -z "$F77" || test no = "$F77"; then
7712 # and will be corrupted by setting them based on a non-working compiler.
7738 CC=${F77-"f77"}
7744 if test -n "$compiler"; then
7756 if test -n "$RANLIB"; then
7761 aix[[4-9]]*)
7793 fi # test -n "$compiler"
7805 # -------------------------
7812 if test -z "$FC" || test no = "$FC"; then
7839 ac_ext=${ac_fc_srcext-f}
7848 # and will be corrupted by setting them based on a non-working compiler.
7874 CC=${FC-"f95"}
7882 if test -n "$compiler"; then
7894 if test -n "$RANLIB"; then
7899 aix[[4-9]]*)
7932 fi # test -n "$compiler"
7944 # --------------------------
7977 CC=${GCJ-"gcj"}
7995 if test -n "$compiler"; then
8015 # --------------------------
8048 CC=${GOC-"gccgo"}
8066 if test -n "$compiler"; then
8086 # -------------------------
8119 CC=${RC-"windres"}
8126 if test -n "$compiler"; then
8139 # -----------
8144 test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
8150 dnl aclocal-1.4 backwards compatibility:
8155 # ----------
8162 # ----------
8169 dnl aclocal-1.4 backwards compatibility:
8174 # --------------
8180 test -z "$GREP" && GREP=grep
8184 dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
8190 # --------------
8195 test -z "$OBJDUMP" && OBJDUMP=objdump
8201 # ----------------
8205 test -z "$DLLTOOL" && DLLTOOL=dlltool
8211 # ------------
8212 # Check for a fully-functional sed program, that truncates
8216 test -z "$SED" && SED=sed
8217 Xsed="$SED -e 1s/^X//"
8219 _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
8220 [Sed that helps us avoid accidentally triggering echo(1) options like -n])
8240 test -z "$as_dir" && as_dir=.
8255 test ! -f "$lt_ac_sed" && continue
8260 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
8269 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
8270 cmp -s conftest.out conftest.nl || break
8272 test 10 -lt "$lt_ac_count" && break
8274 if test "$lt_ac_count" -gt "$lt_ac_max"; then
8289 dnl aclocal-1.4 backwards compatibility:
8294 # ------------------------
8323 # -----------------------------
8326 # for certain cross-compile configurations and native mingw.
8333 *-*-mingw* )
8335 *-*-mingw* ) # actually msys
8338 *-*-cygwin* )
8346 *-*-cygwin* )
8348 *-*-mingw* ) # actually msys
8351 *-*-cygwin* )
8374 *-*-mingw* )
8376 *-*-mingw* ) # actually msys