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
733 # Provide generalized library-building support services.
777 # if finds mixed CR/LF and LF-only lines. Since sed operates in
781 || (rm -f "$cfgfile"; exit 1)
783 mv -f "$cfgfile" "$ofile" ||
784 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
807 # ---------------------
809 # --tag option, using:
810 # autoconf --trace 'LT_SUPPORTED_TAG:$1'
814 # C support is built-in for now
820 # -------------
839 # ------------------
862 if test -z "$GOC"; then
863 if test -n "$ac_tool_prefix"; then
867 if test -z "$GOC"; then
875 # -----------------------
919 dnl aclocal-1.4 backwards compatibility:
928 # ----------------
938 LTCC=${LTCC-"$CC"}
941 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
949 # ------------------------
963 # ----------------------
972 $RM -r conftest*
976 # -------------------------
992 [ldd/readelf like tool for Mach-O binaries on Mac OS X])
994 [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
996 AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
998 if test -z "$LT_MULTI_MODULE"; then
999 # By default we will add the -single_module flag. You can override
1001 # non-empty at configure time, or by adding -multi_module to the
1003 rm -rf libconftest.dylib*
1005 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1006 -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
1007 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1008 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
1010 # If there is a non-empty error log, and "single_module"
1012 if test -s conftest.err && $GREP single_module conftest.err; then
1016 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
1021 rm -rf libconftest.dylib*
1022 rm -f conftest.*
1025 AC_CACHE_CHECK([for -exported_symbols_list linker flag],
1030 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1037 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
1042 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
1043 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
1051 …echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAG…
1052 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
1054 if test -s conftest.err && $GREP force_load conftest.err; then
1056 …elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
1061 rm -f conftest.err libconftest.a conftest conftest.c
1062 rm -rf conftest.dSYM
1066 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
1068 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1073 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1074 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1075 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1077 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1079 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1087 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
1089 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
1102 # ---------------------------------
1112 …ec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenienc…
1126 …_LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs…
1127 …_LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$co…
1128 …\$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobj…
1129 …psym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC…
1132 …-r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_…
1133 …-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamicl…
1142 # ----------------------------------
1165 …_LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_a…
1166 # Check for a 64-bit object if we didn't find anything.
1167 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1168 …_LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$l…
1170 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1180 # -------------------
1182 [m4_divert_text([M4SH-INIT], [$1
1188 # -----------------------
1200 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
1201 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
1202 ECHO='print -r --'
1217 # Invoke $ECHO with all args, space-separated.
1225 print*) AC_MSG_RESULT([print -r]) ;;
1231 test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
1237 || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
1245 # ----------------
1249 [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
1260 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
1264 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
1274 AC_MSG_RESULT([${lt_sysroot:-no}])
1279 # ---------------
1281 [AC_ARG_ENABLE([libtool-lock],
1282 [AS_HELP_STRING([--disable-libtool-lock],
1289 ia64-*-hpux*)
1295 *ELF-32*)
1298 *ELF-64*)
1303 rm -rf conftest*
1305 *-*-irix6*)
1312 *32-bit*)
1313 LD="${LD-ld} -melf32bsmip"
1316 LD="${LD-ld} -melf32bmipn32"
1318 *64-bit*)
1319 LD="${LD-ld} -melf64bmip"
1324 *32-bit*)
1325 LD="${LD-ld} -32"
1328 LD="${LD-ld} -n32"
1330 *64-bit*)
1331 LD="${LD-ld} -64"
1336 rm -rf conftest*
1339 mips64*-*linux*)
1346 *32-bit*)
1349 *64-bit*)
1366 LD="${LD-ld} -m $emul"
1368 rm -rf conftest*
1371 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
1372 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1376 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
1382 *32-bit*)
1384 x86_64-*kfreebsd*-gnu)
1385 LD="${LD-ld} -m elf_i386_fbsd"
1387 x86_64-*linux*)
1389 *x86-64*)
1390 LD="${LD-ld} -m elf32_x86_64"
1393 LD="${LD-ld} -m elf_i386"
1397 powerpc64le-*linux*)
1398 LD="${LD-ld} -m elf32lppclinux"
1400 powerpc64-*linux*)
1401 LD="${LD-ld} -m elf32ppclinux"
1403 s390x-*linux*)
1404 LD="${LD-ld} -m elf_s390"
1406 sparc64-*linux*)
1407 LD="${LD-ld} -m elf32_sparc"
1411 *64-bit*)
1413 x86_64-*kfreebsd*-gnu)
1414 LD="${LD-ld} -m elf_x86_64_fbsd"
1416 x86_64-*linux*)
1417 LD="${LD-ld} -m elf_x86_64"
1419 powerpcle-*linux*)
1420 LD="${LD-ld} -m elf64lppc"
1422 powerpc-*linux*)
1423 LD="${LD-ld} -m elf64ppc"
1425 s390*-*linux*|s390*-*tpf*)
1426 LD="${LD-ld} -m elf64_s390"
1428 sparc*-*linux*)
1429 LD="${LD-ld} -m elf64_sparc"
1435 rm -rf conftest*
1438 *-*-sco3.2v5*)
1439 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1441 CFLAGS="$CFLAGS -belf"
1442 AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1447 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1451 *-*solaris*)
1457 *64-bit*)
1461 i?86-*-solaris*|x86_64-*-solaris*)
1462 LD="${LD-ld} -m elf_x86_64"
1464 sparc*-*-solaris*)
1465 LD="${LD-ld} -m elf64_sparc"
1469 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
1470 LD=${LD-ld}_sol2
1474 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1475 LD="${LD-ld} -64"
1482 rm -rf conftest*
1491 # -----------
1505 if test 0 -eq "$ac_status"; then
1507 rm -f conftest.$ac_objext libconftest.a
1509 if test 0 -ne "$ac_status"; then
1513 rm -f conftest.* libconftest.a
1528 # -------------------
1533 test -z "$STRIP" && STRIP=:
1537 test -z "$RANLIB" && RANLIB=:
1539 [Commands used to install an old-style archive])
1541 # Determine commands to create old-style static archives.
1546 if test -n "$RANLIB"; then
1549 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1567 [Commands used to build an old-style archive])
1573 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1574 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
1575 # ----------------------------------------------------------------
1591 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1592 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1593 -e 's:$: $lt_compiler_flag:'`
1599 if (exit $ac_status) && test -s "$ac_outfile"; then
1604 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1620 dnl aclocal-1.4 backwards compatibility:
1624 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1625 # [ACTION-SUCCESS], [ACTION-FAILURE])
1626 # ----------------------------------------------------
1636 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1639 if test -s conftest.err; then
1651 $RM -r conftest*
1664 dnl aclocal-1.4 backwards compatibility:
1669 #---------------
1690 # Libtool will interpret -1 as no limit whatsoever
1691 lt_cv_sys_max_cmd_len=-1;
1695 # On Win9x/ME, this test blows up -- it succeeds, but takes
1697 # Worse, since 9x/ME are not pre-emptively multitasking,
1718 if test -x /sbin/sysctl; then
1719 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
1720 elif test -x /usr/sbin/sysctl; then
1721 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
1747 if test -x /sbin/sysconfig; then
1748 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
1749 *1*) lt_cv_sys_max_cmd_len=-1 ;;
1758 if test -n "$kargmax"; then
1766 if test -n "$lt_cv_sys_max_cmd_len" && \
1776 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
1777 # If test is not a shell built-in, we'll probably end up computing a
1798 if test -n "$lt_cv_sys_max_cmd_len"; then
1810 dnl aclocal-1.4 backwards compatibility:
1815 # ----------------
1821 # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1822 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1823 # ----------------------------------------------------------------
1873 /* When -fvisibility=hidden is used, assume the code has been annotated
1901 if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
1914 rm -fr conftest*
1919 # ------------------
1950 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
1959 # because TPF is a cross-compiler, and we know how we open DSOs.
1969 [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
1973 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
1975 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
1977 [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
1995 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1998 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
2011 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
2046 dnl aclocal-1.4 backwards compatibility:
2051 # ---------------------------
2052 # Check to see if options -c and -o are simultaneously supported by compiler.
2058 AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
2061 $RM -r conftest 2>/dev/null
2067 lt_compiler_flag="-o out/conftest2.$ac_objext"
2073 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2074 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
2075 -e 's:$: $lt_compiler_flag:'`
2081 if (exit $ac_status) && test -s out/conftest2.$ac_objext
2087 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
2095 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
2098 $RM -r conftest
2102 [Does compiler simultaneously support -c and -o options?])
2107 # ----------------------------------
2126 AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe])
2137 # ----------------
2140 [rm -f .libs 2>/dev/null
2142 if test -d .libs; then
2145 # MS-DOS does not allow filenames that begin with a dot.
2154 [Define to the sub-directory where libtool stores uninstalled libraries.])
2159 # --------------------------------------
2164 if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
2165 test -n "$_LT_TAGVAR(runpath_var, $1)" ||
2168 # We can hardcode non-existent directories.
2172 # when we should be linking with a yet-to-be-installed one
2203 # ----------------
2209 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
2210 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
2211 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
2214 # FIXME - insert some real tests, host_os isn't really good enough
2217 if test -n "$STRIP"; then
2218 striplib="$STRIP -x"
2219 old_striplib="$STRIP -S"
2236 # ---------------------------
2240 # -----------------------------------
2265 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
2266 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
2277 # -----------------------------
2296 mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
2299 …lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_s…
2303 # otherwise default to the standard path separator (i.e. ":") - it is
2315 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
2317 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
2324 if test -d "$lt_sys_path$lt_multi_os_dir"; then
2326 elif test -n "$lt_multi_os_dir"; then
2327 test -d "$lt_sys_path" && \
2335 for (lt_i = NF; lt_i > 0; lt_i--) {
2343 lt_count--;
2355 $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
2377 # when you set need_version to no, make sure it does not cause -set_version
2382 [User-defined run-time library search path.])
2394 aix[[4-9]]*)
2413 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
2421 # filename-based versioning of shared library archives on AIX. While
2423 # prevent static linking of such archives. So we do filename-based
2428 # versioned .so libs for executables only if there is the -brtl
2429 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
2430 # To allow for filename-based versioning support, we need to create
2440 # but for link time we create the symlink libNAME.so -> libNAME.so.V
2470 …-n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$…
2480 …-z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z …
2481 …postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_librar…
2492 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
2520 # libtool to hard-code these into programs
2535 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2537 test -d \$dldir || mkdir -p \$dldir~
2540 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2543 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2551 …soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuff…
2557 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2561 …library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$v…
2570 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2587 …path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|…
2593 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
2594 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
2595 …sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEP…
2599 if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
2601 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2603 … sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2606 # common. (e.g. "Program Files" -> "PROGRA~1")
2612 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2614 test -d \$dldir || mkdir -p \$dldir~
2616 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2625 …library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.…
2660 if test -x /usr/bin/objformat; then
2668 version_type=freebsd-$objformat
2670 freebsd-elf*)
2676 freebsd-*)
2690 freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
2691 freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
2758 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
2764 interix[[3-9]]*)
2796 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
2797 libsuff= shlibsuff= libmagic=32-bit;;
2798 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
2800 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
2801 libsuff=64 shlibsuff=64 libmagic=64-bit;;
2802 *) libsuff= shlibsuff= libmagic=never-match;;
2834 # Don't embed -rpath directories since the linker doesn't support them.
2835 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2839 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2845 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2854 eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
2857 [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
2872 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
2873 # even though it is searched at run-time. Try to do the best guess by
2875 if test -f /etc/ld.so.conf; then
2876 …skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwc…
2883 # most powerpc-linux boxes support dynamic linking these days and
2884 # people can always --disable-shared, the test was removed, and we
2889 netbsdelf*-gnu)
2905 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
2907 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2942 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
2948 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2960 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
2961 v=$($ECHO $release$versuffix | tr -d .-);
2962 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
2970 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
2972 test -d \$dldir || mkdir -p \$dldir~
2975 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2978 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
3047 if test -d /usr/nec; then
3078 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
3118 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
3134 [Is shlibpath searched before the hard-coded library search path?])
3138 The last name is the one that the linker finds with -lNAME]])
3155 [Compile-time system search path for libraries])
3157 [Detected run-time system search path for libraries])
3164 # --------------------------
3177 dnl $ac_dummy forces splitting on constant user-supplied paths.
3183 test -z "$ac_dir" && ac_dir=.
3184 if test -f "$ac_dir/$1"; then
3186 if test -n "$file_magic_test_file"; then
3204 *** bug-libtool@gnu.org
3218 if test -n "$MAGIC_CMD"; then
3229 dnl aclocal-1.4 backwards compatibility:
3234 # --------------
3238 if test -z "$lt_cv_path_MAGIC_CMD"; then
3239 if test -n "$ac_tool_prefix"; then
3249 # ----------
3250 # find the pathname to the GNU or non-GNU linker
3259 AC_ARG_WITH([gnu-ld],
3260 [AS_HELP_STRING([--with-gnu-ld],
3267 # Check if gcc -print-prog-name=ld gives a path.
3270 *-*-mingw*)
3272 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3274 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3285 test -z "$LD" && LD=$ac_prog
3299 AC_MSG_CHECKING([for non-GNU ld])
3302 [if test -z "$LD"; then
3306 test -z "$ac_dir" && ac_dir=.
3307 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3309 # Check to see if the program is GNU ld. I'd rather use --version,
3310 # but apparently some variants of GNU ld only accept -v.
3311 # Break only if it was the GNU/non-GNU ld that we prefer.
3312 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3327 if test -n "$LD"; then
3332 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
3342 dnl aclocal-1.4 backwards compatibility:
3348 #- --------------
3351 [# I'd rather use --version here, but apparently some GNU lds only accept -v.
3352 case `$LD -v 2>&1 </dev/null` in
3365 # --------------
3367 # -- PORTME Some linkers may need a different reload flag.
3371 [lt_cv_ld_reload_flag='-r'])
3377 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3386 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
3388 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3398 # -----------
3407 cmp -s conftest.i conftest.out \
3410 rm -f conftest.i conftest2.i conftest.out])
3415 # ----------------
3424 cmp -s conftest.i conftest.out \
3427 rm -f conftest.i conftest2.i conftest.out
3428 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"])
3435 # ----------------------
3437 # -- PORTME fill in with the dynamic library characteristics
3448 # 'none' -- dependencies not supported.
3449 # 'unknown' -- same as none, but documents that we really don't know.
3450 # 'pass_all' -- all dependencies passed with no checks.
3451 # 'test_compile' -- check by making test program.
3452 # 'file_magic [[regex]]' -- check by looking for files in library path
3458 aix[[4-9]]*)
3467 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
3468 lt_cv_file_magic_cmd='/usr/bin/file -L'
3481 # unless we find 'file', for example because we are cross-compiling.
3487 …v_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x…
3488 lt_cv_file_magic_cmd='$OBJDUMP -f'
3494 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3495 lt_cv_file_magic_cmd='$OBJDUMP -f'
3503 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3508 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
3526 …lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object f…
3530 …heck_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)…
3534 …lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared lib…
3540 interix[[3-9]]*)
3547 *-32|*"-32 ") libmagic=32-bit;;
3548 *-n32|*"-n32 ") libmagic=N32;;
3549 *-64|*"-64 ") libmagic=64-bit;;
3550 *) libmagic=never-match;;
3556 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
3560 netbsd* | netbsdelf*-gnu)
3561 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3562 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3569 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3579 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
3580 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
3582 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3605 …bs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][…
3613 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib…
3617 lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
3646 …file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/…
3654 test -z "$deplibs_check_method" && deplibs_check_method=unknown
3668 # ----------
3669 # find the pathname to a BSD- or MS-compatible name lister
3672 AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
3673 [if test -n "$NM"; then
3678 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3685 test -z "$ac_dir" && ac_dir=.
3687 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
3688 # Check to see if the nm accepts a BSD-compat flag.
3689 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
3697 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
3699 lt_cv_path_NM="$tmp_nm -B"
3703 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3705 lt_cv_path_NM="$tmp_nm -p"
3725 if test -n "$DUMPBIN"; then :
3728 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
3729 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
3731 DUMPBIN="$DUMPBIN -symbols -headers"
3743 test -z "$NM" && NM=nm
3745 _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
3761 rm -f conftest*])
3767 dnl aclocal-1.4 backwards compatibility:
3772 # --------------------------------
3775 # -- PORTME fill in with the dynamic library characteristics
3788 case `$DLLTOOL --help 2>&1` in
3789 *--identify-strict*)
3804 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
3812 # ----------------------
3816 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
3819 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
3820 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
3825 rm -f conftest*])
3834 # ---------------------
3839 test DEF = "`$SED -n dnl
3840 -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
3841 -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
3842 -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
3843 -e q dnl Only consider the first "real" line
3849 # --------
3855 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
3858 *-ncr-sysv4.3*)
3859 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
3860 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
3863 AC_CHECK_LIB(m, cos, LIBM=-lm)
3871 dnl aclocal-1.4 backwards compatibility:
3876 # -------------------------------
3885 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
3887 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
3890 _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
3892 [-fno-rtti -fno-exceptions], [],
3893 …o_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
3901 # ----------------------
3923 sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
3925 # Define system-specific variables.
3962 case `$NM -V 2>&1` in
3969 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
3971 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
3972 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
3974 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
3975 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
3987 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
3989 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
3990 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
3993 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
3995 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
3996 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
4000 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
4002 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
4003 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
4004 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
4022 # Fake it for dumpbin and say T for any non-static function,
4042 …lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$…
4049 rm -f conftest*
4066 …if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$n…
4069 mv -f "$nlist"T "$nlist"
4071 rm -f "$nlist"T
4081 relocations are performed -- see ld's documentation on pseudo-relocs. */
4096 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4109 …$SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> c…
4126 mv -f conftest.$ac_objext conftstm.$ac_objext
4131 if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
4149 rm -rf conftest* conftst*
4159 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4162 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4171 elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
4195 # ---------------------------
4203 # C++ specific cases for pic, static, wl, etc.
4205 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4206 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4213 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4215 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4222 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4226 # adding the '-m68020' flag to GCC prevents building anything better,
4227 # like '-m68040'.
4228 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4239 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4240 # (--disable-auto-import) libraries
4242 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4245 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4252 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4260 # The "-static" flag exists, but is broken.
4263 interix[[3-9]]*)
4264 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4268 if test -d /usr/nec; then
4269 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4273 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4274 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4280 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4285 # QNX uses GNU C++, but need to define -shared option too, otherwise
4287 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4290 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4295 aix[[4-9]]*)
4299 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4301 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4308 …# _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abor…
4316 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4321 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4325 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4337 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4338 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4344 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4345 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4366 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4367 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4368 # CC pic flag -KPIC is the default.
4374 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4378 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4379 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4382 # old Intel C++ for x86_64, which still supported -KPIC.
4383 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4384 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4385 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4389 # ICC 10 doesn't accept -KPIC any more.
4390 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4391 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4392 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4396 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4397 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4398 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4405 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4409 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4410 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4411 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4414 case `$CC -V 2>&1 | sed 5q` in
4417 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4418 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4419 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4432 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
4438 netbsd* | netbsdelf*-gnu)
4441 # QNX uses GNU C++, but need to define -shared option too, otherwise
4443 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4448 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4452 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4456 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4460 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4472 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4473 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4474 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4478 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4488 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4489 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4493 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4502 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4503 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4504 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4511 # NonStop-UX NCC 3.20
4512 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4528 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4529 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4536 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4538 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4545 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4549 # adding the '-m68020' flag to GCC prevents building anything better,
4550 # like '-m68040'.
4551 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4563 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4564 # (--disable-auto-import) libraries
4566 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4569 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4577 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4582 # The "-static" flag exists, but is broken.
4587 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4588 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4595 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4600 interix[[3-9]]*)
4601 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4613 # QNX uses GNU C++, but need to define -shared option too, otherwise
4615 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4619 if test -d /usr/nec; then
4620 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4625 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4631 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
4632 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4633 _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
4641 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4644 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4646 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4653 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4657 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4658 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4659 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4668 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4671 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4677 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4678 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4679 # not for PA HP-UX.
4689 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4693 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4694 # PIC (with -KPIC) is the default.
4695 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4698 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4700 # old Intel for x86_64, which still supported -KPIC.
4702 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4703 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4704 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4707 # ICC 10 doesn't accept -KPIC any more.
4709 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4710 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4711 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4715 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4716 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
4717 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
4721 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4722 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4723 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4727 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4728 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4729 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
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)='-Bstatic'
4739 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4741 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4745 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4746 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4747 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4750 case `$CC -V 2>&1 | sed 5q` in
4751 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
4753 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4754 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4758 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4759 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4760 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4764 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4765 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4766 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4769 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4770 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4771 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4774 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4775 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4776 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4784 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4785 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4789 # QNX uses GNU C++, but need to define -shared option too, otherwise
4791 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4795 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4797 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4801 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4805 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4806 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4809 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
4811 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
4816 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4817 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4818 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4822 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4823 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4824 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4828 if test -d /usr/nec; then
4829 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
4830 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4835 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4836 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4837 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4841 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4846 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4847 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4857 # For platforms that do not support PIC, -DPIC is meaningless:
4862 …$1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[]…
4874 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4877 …[$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])]…
4888 _LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
4893 wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_stat…
4905 # ----------------------------
4921 aix[[4-9]]*)
4922 # If we're using GNU nm, then we don't want the "-C" option.
4923 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
4924 # Without the "-l" option, or with the "-B" option, AIX nm treats
4928 # it in the Import File for the 'aix-soname' feature, so we have
4929 # to replace the "-B" option with "-P" for AIX nm.
4930 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
4931 …-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
4933 …-e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\…
4945 …_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\'…
4946 … $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
4950 linux* | k*bsd*-gnu | gnu*)
4982 # include_expsyms should be a list of space-separated symbols to be *always*
5015 linux* | k*bsd*-gnu | gnu*)
5032 case `$LD -v 2>&1` in
5034 *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
5035 *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
5049 wlarc='$wl'
5055 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5056 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
5057 # ancient GNU ld didn't support --whole-archive et. al.
5058 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
5059 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
5064 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
5066 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
5075 aix[[3-9]]*)
5085 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
5096 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname …
5100 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5101 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5108 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5111 # support --undefined. This deserves some investigation. FIXME
5112 …_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname…
5121 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5122 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
5126 …_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\'…
5127 … $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
5129 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
5130 …e_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-a…
5131 # If the export-symbols file already is a .def file, use it as
5139 …CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname …
5146 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname …
5151 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5160 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5161 emximp -o $lib $output_objdir/$libname.def'
5168 prefix_cmds="$prefix_cmds -e 1d";
5170 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5172 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5173 emximp -o $lib $output_objdir/$libname.def'
5174 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
5178 interix[[3-9]]*)
5181 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5182 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5187 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
5189 …1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
5190 …-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output…
5193 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
5195 if test linux-dietlibc = "$host_os"; then
5197 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
5200 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
5204 tmp_sharedflag='-shared'
5207 …wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_co…
5212 …wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_co…
5213 tmp_addflag=' $pic_flag -Mnomain' ;;
5215 tmp_addflag=' -i_dynamic' ;;
5217 tmp_addflag=' -i_dynamic -nofor_main' ;;
5219 tmp_addflag=' -nofor_main' ;;
5222 tmp_sharedflag='--shared' ;;
5224 tmp_sharedflag='-Wl,-shared' ;;
5226 tmp_sharedflag='-qmkshrobj'
5229 …wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_co…
5233 case `$CC -V 2>&1 | sed 5q` in
5235 …wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conv…
5237 tmp_sharedflag='-G' ;;
5239 tmp_sharedflag='-G' ;;
5241 … '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5245 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5247 …ag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/…
5252 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
5256 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
5257 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5258 … _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
5261 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5263 …$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libnam…
5272 netbsd* | netbsdelf*-gnu)
5273 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5274 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5277 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5278 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5283 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
5295 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5296 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5297 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5304 case `$LD -v 2>&1` in
5305 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
5323 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5324 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5325 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname …
5326 …expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-s…
5335 …_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_…
5342 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5343 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5344 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5363 …(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$expo…
5365 # are no directories specified by -L.
5367 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
5374 aix[[4-9]]*)
5379 exp_sym_flag='-Bexport'
5382 # If we're using GNU nm, then we don't want the "-C" option.
5383 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
5384 # Without the "-l" option, or with the "-B" option, AIX nm treats
5388 # it in the Import File for the 'aix-soname' feature, so we have
5389 # to replace the "-B" option with "-P" for AIX nm.
5390 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
5391 …-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
5393 …-e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\…
5398 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5401 # depending on the kind of the shared library created -
5412 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
5414 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
5420 # With aix-soname=svr4, we create the lib.so.V shared archives only,
5424 LDFLAGS="$LDFLAGS -Wl,-brtl"
5429 exp_sym_flag='-bexport'
5430 no_entry_flag='-bnoentry'
5435 # or program results in "error TOC overflow" add -mminimal-toc to
5437 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5444 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
5458 collect2name=`$CC -print-prog-name=collect2`
5459 if test -f "$collect2name" &&
5471 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5476 shared_flag='-shared'
5478 shared_flag="$shared_flag "'$wl-G'
5482 # /with/ Import File - we do not want to mix them.
5483 shared_flag_aix='-shared'
5484 shared_flag_svr4='-shared $wl-G'
5488 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
5489 # chokes on -Wl,-G. The following line is correct:
5490 shared_flag='-G'
5493 shared_flag='$wl-G'
5495 shared_flag='$wl-bM:SRE'
5497 shared_flag_aix='$wl-bM:SRE'
5498 shared_flag_svr4='$wl-G'
5502 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
5503 # It seems that -bexpall does not export symbols beginning with
5507 # Warning - without using the other runtime loading flags (-brtl),
5508 # -berok will link without error, but may produce a broken library.
5509 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
5513 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5514 …-o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allo…
5517 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
5518 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
5519 …$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_fl…
5524 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5525 # Warning - without using the other run time loading flags,
5526 # -berok will link without error, but may produce a broken library.
5527 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
5528 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
5530 # We only use this code for GNU lds that support --whole-archive.
5531 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
5537 …_LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$real…
5538 # -brtl affects multiple linker settings, -berok does not and is overridden later
5539 …compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\…
5542 …)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$…
5545 …-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
5547 # used by -dlpreopen to get the symbols
5550 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/…
5559 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname …
5563 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5564 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5571 _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
5591 …_LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,…
5596 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
5598 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
5604 … $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'…
5616 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
5617 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
5630 …TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\…
5634 _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
5645 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5646 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5655 …_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++…
5656 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5663 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5669 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5671 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5672 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5679 … -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_…
5681 …$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "…
5683 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5690 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5695 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $…
5697 …_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $link…
5700 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5704 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5715 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_fla…
5718 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $l…
5721 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $…
5727 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
5730 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs…
5734 # Older versions of the 11.00 compiler do not understand -b yet
5735 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
5736 _LT_LINKER_OPTION([if $CC understands -b],
5737 _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
5738 …[_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $…
5739 …[_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $lin…
5740 …[_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $…
5745 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5756 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5768 …-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
5769 # Try to use the -exported_symbol ld option, if it does not
5770 # work, assume that -exports_file does not work either and
5772 # This should be the same for all languages, so no per-tag cache variable.
5773 AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
5776 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
5791 …-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'
5815 netbsd* | netbsdelf*-gnu)
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 …-b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_o…
6816 …output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list…
6820 …-shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $li…
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'
7030 …wl--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'
7071 …wl--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
8266 mv -f conftest.tmp conftest.in
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