• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:versioned +full:- +full:dirs

1 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
3 # Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
38 # ------------------
41 [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
49 # ------------------
60 # ------------------
70 m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
80 _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
101 dnl aclocal-1.4 backwards compatibility:
107 # -----------------------
109 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
116 \-*) ;;
120 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
126 # -------------------
140 # ----------------------
144 [: ${CP="cp -f"}
145 : ${MV="mv -f"}
146 : ${RM="rm -f"}
151 # ---------
173 test -z "$LN_S" && LN_S="ln -s"
194 if test -n "\${ZSH_VERSION+set}"; then
198 if test -n "${ZSH_VERSION+set}"; then
232 test -z "$CC" && CC=cc
233 test -z "$LTCC" && LTCC=$CC
234 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
235 test -z "$LD" && LD=ld
236 test -z "$ac_objext" && ac_objext=o
241 test -z "$MAGIC_CMD" && MAGIC_CMD=file
259 # --------------------------
263 # double-quoted strings.
281 # ---------------
293 ## ------------------------------------- ##
295 ## ------------------------------------- ##
303 # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
304 # ----------------------------------------
305 # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
317 # ------------------------------
330 # -----------------------------------------------------
338 # -----------------------------
340 # full-stop to the whole comment if one is not present already.
349 ## ------------------------ ##
351 ## ------------------------ ##
354 # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
355 # -------------------------------------------------------------------
373 # --------------------------------------------------------
378 # ------------------------------------------------
384 # ---------------------------------------------------------
396 # --------------------------------------------------
402 # ---------------------------------------------------
408 # ---------------------------------------------------
419 # ------------------------------------------------
433 # ------------------------------------
442 # ------------------------------
455 # ----------------
464 # -----------------------------------
485 # -----------------------
486 # Produce commented declarations of non-tagged libtool config variables
497 # -------------------------
504 # ------------------------------
509 # -------------------
535 # The HP-UX ksh and POSIX shell print the target directory to stdout
568 # Double-quote double-evaled strings.
573 …\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_s…
585 # ------------------------------------
591 # the child script. The macro ends with non-zero status if the
603 SHELL=\${CONFIG_SHELL-$SHELL}
615 # ---------
640 -h, --help print this help, then exit
641 -V, --version print version number, then exit
642 -q, --quiet do not print progress messages
643 -d, --debug don't remove temporary files
645 Report bugs to <bug-libtool@gnu.org>."
659 --version | --v* | -V )
661 --help | --h* | -h )
663 --debug | --d* | -d )
665 --quiet | --q* | --silent | --s* | -q )
668 -*) AC_MSG_ERROR([unrecognized option: $[1]
669 Try '$[0] --help' for more information.]) ;;
672 Try '$[0] --help' for more information.]) ;;
699 lt_config_lt_args="$lt_config_lt_args --quiet"
708 # ---------------
709 # If TAG is the built-in tag, create an initial libtool script with a
720 if test -n "${ZSH_VERSION+set}"; then
731 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
734 # Provide generalized library-building support services.
778 # if finds mixed CR/LF and LF-only lines. Since sed operates in
782 || (rm -f "$cfgfile"; exit 1)
784 mv -f "$cfgfile" "$ofile" ||
785 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
808 # ---------------------
810 # --tag option, using:
811 # autoconf --trace 'LT_SUPPORTED_TAG:$1'
815 # C support is built-in for now
821 # -------------
840 # ------------------
863 if test -z "$GOC"; then
864 if test -n "$ac_tool_prefix"; then
868 if test -z "$GOC"; then
876 # -----------------------
920 dnl aclocal-1.4 backwards compatibility:
929 # ----------------
939 LTCC=${LTCC-"$CC"}
942 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
950 # ------------------------
964 # ----------------------
973 $RM -r conftest*
977 # -------------------------
993 [ldd/readelf like tool for Mach-O binaries on Mac OS X])
995 [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
997 AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
999 if test -z "$LT_MULTI_MODULE"; then
1000 # By default we will add the -single_module flag. You can override
1002 # non-empty at configure time, or by adding -multi_module to the
1004 rm -rf libconftest.dylib*
1006 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1007 -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
1008 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1009 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
1011 # If there is a non-empty error log, and "single_module"
1013 if test -s conftest.err && $GREP single_module conftest.err; then
1017 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
1022 rm -rf libconftest.dylib*
1023 rm -f conftest.*
1026 AC_CACHE_CHECK([for -exported_symbols_list linker flag],
1031 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1038 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
1043 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
1044 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
1052 …echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAG…
1053 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
1055 if test -s conftest.err && $GREP force_load conftest.err; then
1057 …elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
1062 rm -f conftest.err libconftest.a conftest conftest.c
1063 rm -rf conftest.dSYM
1067 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
1069 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1074 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1075 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1076 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1078 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1080 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1088 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
1090 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
1103 # ---------------------------------
1113 …ec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenienc…
1127 …_LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs…
1128 …_LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$co…
1129 …\$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobj…
1130 …psym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC…
1133-r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_…
1134-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamicl…
1143 # ----------------------------------
1166 …_LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_a…
1167 # Check for a 64-bit object if we didn't find anything.
1168 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1169 …_LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$l…
1171 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1181 # -------------------
1183 [m4_divert_text([M4SH-INIT], [$1
1189 # -----------------------
1201 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
1202 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
1203 ECHO='print -r --'
1218 # Invoke $ECHO with all args, space-separated.
1226 print*) AC_MSG_RESULT([print -r]) ;;
1232 test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
1238 || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
1246 # ----------------
1250 [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
1261 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
1265 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
1275 AC_MSG_RESULT([${lt_sysroot:-no}])
1280 # ---------------
1282 [AC_ARG_ENABLE([libtool-lock],
1283 [AS_HELP_STRING([--disable-libtool-lock],
1290 ia64-*-hpux*)
1296 *ELF-32*)
1299 *ELF-64*)
1304 rm -rf conftest*
1306 *-*-irix6*)
1313 *32-bit*)
1314 LD="${LD-ld} -melf32bsmip"
1317 LD="${LD-ld} -melf32bmipn32"
1319 *64-bit*)
1320 LD="${LD-ld} -melf64bmip"
1325 *32-bit*)
1326 LD="${LD-ld} -32"
1329 LD="${LD-ld} -n32"
1331 *64-bit*)
1332 LD="${LD-ld} -64"
1337 rm -rf conftest*
1340 mips64*-*linux*)
1347 *32-bit*)
1350 *64-bit*)
1367 LD="${LD-ld} -m $emul"
1369 rm -rf conftest*
1372 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
1373 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1377 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
1383 *32-bit*)
1385 x86_64-*kfreebsd*-gnu)
1386 LD="${LD-ld} -m elf_i386_fbsd"
1388 x86_64-*linux*)
1390 *x86-64*)
1391 LD="${LD-ld} -m elf32_x86_64"
1394 LD="${LD-ld} -m elf_i386"
1398 powerpc64le-*linux*)
1399 LD="${LD-ld} -m elf32lppclinux"
1401 powerpc64-*linux*)
1402 LD="${LD-ld} -m elf32ppclinux"
1404 s390x-*linux*)
1405 LD="${LD-ld} -m elf_s390"
1407 sparc64-*linux*)
1408 LD="${LD-ld} -m elf32_sparc"
1412 *64-bit*)
1414 x86_64-*kfreebsd*-gnu)
1415 LD="${LD-ld} -m elf_x86_64_fbsd"
1417 x86_64-*linux*)
1418 LD="${LD-ld} -m elf_x86_64"
1420 powerpcle-*linux*)
1421 LD="${LD-ld} -m elf64lppc"
1423 powerpc-*linux*)
1424 LD="${LD-ld} -m elf64ppc"
1426 s390*-*linux*|s390*-*tpf*)
1427 LD="${LD-ld} -m elf64_s390"
1429 sparc*-*linux*)
1430 LD="${LD-ld} -m elf64_sparc"
1436 rm -rf conftest*
1439 *-*-sco3.2v5*)
1440 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1442 CFLAGS="$CFLAGS -belf"
1443 AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1448 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1452 *-*solaris*)
1458 *64-bit*)
1462 i?86-*-solaris*|x86_64-*-solaris*)
1463 LD="${LD-ld} -m elf_x86_64"
1465 sparc*-*-solaris*)
1466 LD="${LD-ld} -m elf64_sparc"
1470 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
1471 LD=${LD-ld}_sol2
1475 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1476 LD="${LD-ld} -64"
1483 rm -rf conftest*
1492 # -----------
1506 if test 0 -eq "$ac_status"; then
1508 rm -f conftest.$ac_objext libconftest.a
1510 if test 0 -ne "$ac_status"; then
1514 rm -f conftest.* libconftest.a
1529 # -------------------
1534 test -z "$STRIP" && STRIP=:
1538 test -z "$RANLIB" && RANLIB=:
1540 [Commands used to install an old-style archive])
1542 # Determine commands to create old-style static archives.
1547 if test -n "$RANLIB"; then
1550 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1568 [Commands used to build an old-style archive])
1574 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1575 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
1576 # ----------------------------------------------------------------
1592 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1593 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1594 -e 's:$: $lt_compiler_flag:'`
1600 if (exit $ac_status) && test -s "$ac_outfile"; then
1605 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1621 dnl aclocal-1.4 backwards compatibility:
1625 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1626 # [ACTION-SUCCESS], [ACTION-FAILURE])
1627 # ----------------------------------------------------
1637 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1640 if test -s conftest.err; then
1652 $RM -r conftest*
1665 dnl aclocal-1.4 backwards compatibility:
1670 #---------------
1691 # Libtool will interpret -1 as no limit whatsoever
1692 lt_cv_sys_max_cmd_len=-1;
1696 # On Win9x/ME, this test blows up -- it succeeds, but takes
1698 # Worse, since 9x/ME are not pre-emptively multitasking,
1719 if test -x /sbin/sysctl; then
1720 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
1721 elif test -x /usr/sbin/sysctl; then
1722 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
1748 if test -x /sbin/sysconfig; then
1749 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
1750 *1*) lt_cv_sys_max_cmd_len=-1 ;;
1759 if test -n "$kargmax"; then
1767 if test -n "$lt_cv_sys_max_cmd_len" && \
1777 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
1778 # If test is not a shell built-in, we'll probably end up computing a
1799 if test -n "$lt_cv_sys_max_cmd_len"; then
1811 dnl aclocal-1.4 backwards compatibility:
1816 # ----------------
1822 # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1823 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1824 # ----------------------------------------------------------------
1874 /* When -fvisibility=hidden is used, assume the code has been annotated
1902 if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
1915 rm -fr conftest*
1920 # ------------------
1951 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
1960 # because TPF is a cross-compiler, and we know how we open DSOs.
1970 [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
1974 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
1976 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
1978 [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
1996 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
2047 dnl aclocal-1.4 backwards compatibility:
2052 # ---------------------------
2053 # Check to see if options -c and -o are simultaneously supported by compiler.
2059 AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
2062 $RM -r conftest 2>/dev/null
2068 lt_compiler_flag="-o out/conftest2.$ac_objext"
2074 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2075 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
2076 -e 's:$: $lt_compiler_flag:'`
2082 if (exit $ac_status) && test -s out/conftest2.$ac_objext
2088 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
2096 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
2099 $RM -r conftest
2103 [Does compiler simultaneously support -c and -o options?])
2108 # ----------------------------------
2127 AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe])
2138 # ----------------
2141 [rm -f .libs 2>/dev/null
2143 if test -d .libs; then
2146 # MS-DOS does not allow filenames that begin with a dot.
2155 [Define to the sub-directory where libtool stores uninstalled libraries.])
2160 # --------------------------------------
2165 if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
2166 test -n "$_LT_TAGVAR(runpath_var, $1)" ||
2169 # We can hardcode non-existent directories.
2173 # when we should be linking with a yet-to-be-installed one
2179 # We can link without hardcoding, and we can hardcode nonexisting dirs.
2204 # ----------------
2210 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
2211 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
2212 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
2215 # FIXME - insert some real tests, host_os isn't really good enough
2218 if test -n "$STRIP"; then
2219 striplib="$STRIP -x"
2220 old_striplib="$STRIP -S"
2237 # ---------------------------
2241 # -----------------------------------
2266 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
2267 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
2278 # -----------------------------
2297 mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
2300 …lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_s…
2304 # otherwise default to the standard path separator (i.e. ":") - it is
2316 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
2318 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
2325 if test -d "$lt_sys_path$lt_multi_os_dir"; then
2327 elif test -n "$lt_multi_os_dir"; then
2328 test -d "$lt_sys_path" && \
2336 for (lt_i = NF; lt_i > 0; lt_i--) {
2344 lt_count--;
2356 $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
2378 # when you set need_version to no, make sure it does not cause -set_version
2383 [User-defined run-time library search path.])
2395 aix[[4-9]]*)
2414 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
2422 # filename-based versioning of shared library archives on AIX. While
2424 # prevent static linking of such archives. So we do filename-based
2429 # versioned .so libs for executables only if there is the -brtl
2430 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
2431 # To allow for filename-based versioning support, we need to create
2433 # *) an Import File, referring to the versioned filename of the
2441 # but for link time we create the symlink libNAME.so -> libNAME.so.V
2471-n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$…
2481-z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z …
2482 …postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_librar…
2493 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
2521 # libtool to hard-code these into programs
2536 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2538 test -d \$dldir || mkdir -p \$dldir~
2541 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2544 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2552 …soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuff…
2558 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2562 …library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$v…
2571 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2588 …path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|…
2594 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
2595 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
2596 …sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEP…
2600 if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
2602 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2604 … sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2607 # common. (e.g. "Program Files" -> "PROGRA~1")
2613 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2615 test -d \$dldir || mkdir -p \$dldir~
2617 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2626 …library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.…
2661 if test -x /usr/bin/objformat; then
2669 version_type=freebsd-$objformat
2671 freebsd-elf*)
2677 freebsd-*)
2691 freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
2692 freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
2759 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
2765 interix[[3-9]]*)
2797 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
2798 libsuff= shlibsuff= libmagic=32-bit;;
2799 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
2801 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
2802 libsuff=64 shlibsuff=64 libmagic=64-bit;;
2803 *) libsuff= shlibsuff= libmagic=never-match;;
2820 version_type=none # Android doesn't support versioned libraries.
2835 # Don't embed -rpath directories since the linker doesn't support them.
2836 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2840 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2846 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2858 [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
2870 # Add ABI-specific directories to the system library path.
2876 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
2877 # even though it is searched at run-time. Try to do the best guess by
2879 if test -f /etc/ld.so.conf; then
2880 …skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwc…
2887 # most powerpc-linux boxes support dynamic linking these days and
2888 # people can always --disable-shared, the test was removed, and we
2897 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
2899 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2934 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
2940 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2952 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
2953 v=$($ECHO $release$versuffix | tr -d .-);
2954 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
2962 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
2964 test -d \$dldir || mkdir -p \$dldir~
2967 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2970 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
3039 if test -d /usr/nec; then
3070 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
3110 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
3126 [Is shlibpath searched before the hard-coded library search path?])
3130 The last name is the one that the linker finds with -lNAME]])
3147 [Compile-time system search path for libraries])
3149 [Detected run-time system search path for libraries])
3156 # --------------------------
3169 dnl $ac_dummy forces splitting on constant user-supplied paths.
3175 test -z "$ac_dir" && ac_dir=.
3176 if test -f "$ac_dir/$1"; then
3178 if test -n "$file_magic_test_file"; then
3196 *** bug-libtool@gnu.org
3210 if test -n "$MAGIC_CMD"; then
3221 dnl aclocal-1.4 backwards compatibility:
3226 # --------------
3230 if test -z "$lt_cv_path_MAGIC_CMD"; then
3231 if test -n "$ac_tool_prefix"; then
3241 # ----------
3242 # find the pathname to the GNU or non-GNU linker
3251 AC_ARG_WITH([gnu-ld],
3252 [AS_HELP_STRING([--with-gnu-ld],
3259 # Check if gcc -print-prog-name=ld gives a path.
3262 *-*-mingw*)
3264 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3266 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3277 test -z "$LD" && LD=$ac_prog
3291 AC_MSG_CHECKING([for non-GNU ld])
3294 [if test -z "$LD"; then
3298 test -z "$ac_dir" && ac_dir=.
3299 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3301 # Check to see if the program is GNU ld. I'd rather use --version,
3302 # but apparently some variants of GNU ld only accept -v.
3303 # Break only if it was the GNU/non-GNU ld that we prefer.
3304 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3319 if test -n "$LD"; then
3324 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
3334 dnl aclocal-1.4 backwards compatibility:
3340 #- --------------
3343 [# I'd rather use --version here, but apparently some GNU lds only accept -v.
3344 case `$LD -v 2>&1 </dev/null` in
3357 # --------------
3359 # -- PORTME Some linkers may need a different reload flag.
3363 [lt_cv_ld_reload_flag='-r'])
3369 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3378 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
3380 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3390 # -----------
3399 cmp -s conftest.i conftest.out \
3402 rm -f conftest.i conftest2.i conftest.out])
3407 # ----------------
3416 cmp -s conftest.i conftest.out \
3419 rm -f conftest.i conftest2.i conftest.out
3420 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"])
3427 # ----------------------
3429 # -- PORTME fill in with the dynamic library characteristics
3440 # 'none' -- dependencies not supported.
3441 # 'unknown' -- same as none, but documents that we really don't know.
3442 # 'pass_all' -- all dependencies passed with no checks.
3443 # 'test_compile' -- check by making test program.
3444 # 'file_magic [[regex]]' -- check by looking for files in library path
3450 aix[[4-9]]*)
3459 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
3460 lt_cv_file_magic_cmd='/usr/bin/file -L'
3473 # unless we find 'file', for example because we are cross-compiling.
3479 …v_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x…
3480 lt_cv_file_magic_cmd='$OBJDUMP -f'
3486 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3487 lt_cv_file_magic_cmd='$OBJDUMP -f'
3495 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3500 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
3518 …lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object f…
3522 …heck_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)…
3526 …lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared lib…
3532 interix[[3-9]]*)
3539 *-32|*"-32 ") libmagic=32-bit;;
3540 *-n32|*"-n32 ") libmagic=N32;;
3541 *-64|*"-64 ") libmagic=64-bit;;
3542 *) libmagic=never-match;;
3548 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
3553 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3554 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3561 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3571 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
3572 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
3574 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3597 …bs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][…
3605 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib…
3609 lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
3638 …file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/…
3646 test -z "$deplibs_check_method" && deplibs_check_method=unknown
3660 # ----------
3661 # find the pathname to a BSD- or MS-compatible name lister
3664 AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
3665 [if test -n "$NM"; then
3670 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3677 test -z "$ac_dir" && ac_dir=.
3679 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
3680 # Check to see if the nm accepts a BSD-compat flag.
3681 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
3689 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
3691 lt_cv_path_NM="$tmp_nm -B"
3695 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3697 lt_cv_path_NM="$tmp_nm -p"
3717 if test -n "$DUMPBIN"; then :
3720 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
3721 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
3723 DUMPBIN="$DUMPBIN -symbols -headers"
3735 test -z "$NM" && NM=nm
3737 _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
3753 rm -f conftest*])
3759 dnl aclocal-1.4 backwards compatibility:
3764 # --------------------------------
3767 # -- PORTME fill in with the dynamic library characteristics
3780 case `$DLLTOOL --help 2>&1` in
3781 *--identify-strict*)
3796 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
3804 # ----------------------
3808 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
3811 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
3812 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
3817 rm -f conftest*])
3826 # ---------------------
3831 test DEF = "`$SED -n dnl
3832 -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
3833 -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
3834 -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
3835 -e q dnl Only consider the first "real" line
3841 # --------
3847 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
3850 *-ncr-sysv4.3*)
3851 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
3852 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
3855 AC_CHECK_LIB(m, cos, LIBM=-lm)
3863 dnl aclocal-1.4 backwards compatibility:
3868 # -------------------------------
3877 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
3879 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
3882 _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
3884 [-fno-rtti -fno-exceptions], [],
3885 …o_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
3893 # ----------------------
3915 sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
3917 # Define system-specific variables.
3954 case `$NM -V 2>&1` in
3961 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
3963 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
3964 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
3966 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
3967 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
3979 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
3981 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
3982 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
3985 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
3987 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
3988 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
3992 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
3994 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
3995 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
3996 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
4014 # Fake it for dumpbin and say T for any non-static function,
4034 …lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$…
4041 rm -f conftest*
4058 …if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$n…
4061 mv -f "$nlist"T "$nlist"
4063 rm -f "$nlist"T
4073 relocations are performed -- see ld's documentation on pseudo-relocs. */
4088 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4101 …$SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> c…
4123 if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
4141 rm -rf conftest* conftst*
4151 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4154 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4163 elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
4187 # ---------------------------
4197 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4198 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4205 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4207 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4214 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4218 # adding the '-m68020' flag to GCC prevents building anything better,
4219 # like '-m68040'.
4220 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4231 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4232 # (--disable-auto-import) libraries
4234 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4237 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4244 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4252 # The "-static" flag exists, but is broken.
4255 interix[[3-9]]*)
4256 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4260 if test -d /usr/nec; then
4261 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4265 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4266 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4272 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4277 # QNX uses GNU C++, but need to define -shared option too, otherwise
4279 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4282 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4287 aix[[4-9]]*)
4291 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4293 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4300 …# _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abor…
4308 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4313 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4317 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4329 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4330 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4336 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4337 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4358 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4359 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4360 # CC pic flag -KPIC is the default.
4366 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4370 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4371 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4374 # old Intel C++ for x86_64, which still supported -KPIC.
4375 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4376 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4377 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4381 # ICC 10 doesn't accept -KPIC any more.
4382 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4383 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4384 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4388 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4389 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4390 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4397 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4401 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4402 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4403 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4406 case `$CC -V 2>&1 | sed 5q` in
4409 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4410 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4411 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4424 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
4433 # QNX uses GNU C++, but need to define -shared option too, otherwise
4435 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4440 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4444 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4448 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4452 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4464 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4465 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4466 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4470 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4480 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4481 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4485 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4494 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4495 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4496 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4503 # NonStop-UX NCC 3.20
4504 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4520 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4521 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4528 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4530 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4537 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4541 # adding the '-m68020' flag to GCC prevents building anything better,
4542 # like '-m68040'.
4543 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4555 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4556 # (--disable-auto-import) libraries
4558 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4561 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4569 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4574 # The "-static" flag exists, but is broken.
4579 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4580 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4587 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4592 interix[[3-9]]*)
4593 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4605 # QNX uses GNU C++, but need to define -shared option too, otherwise
4607 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4611 if test -d /usr/nec; then
4612 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4617 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4623 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
4624 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4625 _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
4633 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4636 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4638 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4645 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4649 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4650 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4651 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4660 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4663 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4669 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4670 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4671 # not for PA HP-UX.
4681 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4685 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4686 # PIC (with -KPIC) is the default.
4687 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4690 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4692 # old Intel for x86_64, which still supported -KPIC.
4694 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4695 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4696 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4699 # ICC 10 doesn't accept -KPIC any more.
4701 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4702 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4703 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4707 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4708 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
4709 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
4713 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4714 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4715 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4719 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4720 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4721 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4726 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4727 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4728 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4731 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4733 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4737 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4738 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4739 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4742 case `$CC -V 2>&1 | sed 5q` in
4743 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
4745 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4746 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4750 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4751 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4752 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4756 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4757 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4758 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4761 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4762 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4763 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4766 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4767 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4768 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4776 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4777 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4781 # QNX uses GNU C++, but need to define -shared option too, otherwise
4783 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4787 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4789 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4793 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4797 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4798 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4801 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
4803 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
4808 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4809 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4810 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4814 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4815 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4816 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4820 if test -d /usr/nec; then
4821 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
4822 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4827 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4828 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4829 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4833 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4838 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4839 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4849 # For platforms that do not support PIC, -DPIC is meaningless:
4854 …$1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[]…
4866 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4869 …[$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])]…
4897 # ----------------------------
4913 aix[[4-9]]*)
4914 # If we're using GNU nm, then we don't want the "-C" option.
4915 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
4916 # Without the "-l" option, or with the "-B" option, AIX nm treats
4920 # it in the Import File for the 'aix-soname' feature, so we have
4921 # to replace the "-B" option with "-P" for AIX nm.
4922 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
4923-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
4925-e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\…
4937 …_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\'…
4938 … $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
4971 # include_expsyms should be a list of space-separated symbols to be *always*
5018 case `$LD -v 2>&1` in
5020 *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
5021 *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
5041 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5042 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
5043 # ancient GNU ld didn't support --whole-archive et. al.
5044 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
5045 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
5050 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
5052 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
5061 aix[[3-9]]*)
5071 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
5082 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5086 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5087 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5094 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5097 # support --undefined. This deserves some investigation. FIXME
5098 …_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname…
5107 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5108 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
5112 …_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\'…
5113 … $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
5115 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
5116 …e_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-a…
5117 # If the export-symbols file already is a .def file, use it as
5125 …CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname …
5132 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5137 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5146 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5147 emximp -o $lib $output_objdir/$libname.def'
5154 prefix_cmds="$prefix_cmds -e 1d";
5156 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5158 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5159 emximp -o $lib $output_objdir/$libname.def'
5160 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
5164 interix[[3-9]]*)
5167 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5168 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5173 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
5175 …1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
5176-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output…
5179 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
5181 if test linux-dietlibc = "$host_os"; then
5183 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
5186 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
5190 tmp_sharedflag='-shared'
5193--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
5198--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
5199 tmp_addflag=' $pic_flag -Mnomain' ;;
5201 tmp_addflag=' -i_dynamic' ;;
5203 tmp_addflag=' -i_dynamic -nofor_main' ;;
5205 tmp_addflag=' -nofor_main' ;;
5208 tmp_sharedflag='--shared' ;;
5210 tmp_sharedflag='-Wl,-shared' ;;
5212 tmp_sharedflag='-qmkshrobj'
5215--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
5219 case `$CC -V 2>&1 | sed 5q` in
5221--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conven…
5223 tmp_sharedflag='-G' ;;
5225 tmp_sharedflag='-G' ;;
5227 … '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5231 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5233 …g"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$…
5238 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
5242 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
5243 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5244 … _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
5247 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5249 …$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libnam…
5259 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5260 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5263 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5264 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5269 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
5281 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5282 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5283 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5290 case `$LD -v 2>&1` in
5291 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
5309 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5310 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5311 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5312 …expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-s…
5321 …_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_…
5328 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5329 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5330 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5349 …(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$expo…
5351 # are no directories specified by -L.
5353 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
5360 aix[[4-9]]*)
5365 exp_sym_flag='-Bexport'
5368 # If we're using GNU nm, then we don't want the "-C" option.
5369 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
5370 # Without the "-l" option, or with the "-B" option, AIX nm treats
5374 # it in the Import File for the 'aix-soname' feature, so we have
5375 # to replace the "-B" option with "-P" for AIX nm.
5376 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
5377-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
5379-e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\…
5384 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5387 # depending on the kind of the shared library created -
5398 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
5400 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
5406 # With aix-soname=svr4, we create the lib.so.V shared archives only,
5410 LDFLAGS="$LDFLAGS -Wl,-brtl"
5415 exp_sym_flag='-bexport'
5416 no_entry_flag='-bnoentry'
5421 # or program results in "error TOC overflow" add -mminimal-toc to
5423 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5430 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
5444 collect2name=`$CC -print-prog-name=collect2`
5445 if test -f "$collect2name" &&
5457 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5462 shared_flag='-shared'
5464 shared_flag="$shared_flag "'$wl-G'
5468 # /with/ Import File - we do not want to mix them.
5469 shared_flag_aix='-shared'
5470 shared_flag_svr4='-shared $wl-G'
5474 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
5475 # chokes on -Wl,-G. The following line is correct:
5476 shared_flag='-G'
5479 shared_flag='$wl-G'
5481 shared_flag='$wl-bM:SRE'
5483 shared_flag_aix='$wl-bM:SRE'
5484 shared_flag_svr4='$wl-G'
5488 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
5489 # It seems that -bexpall does not export symbols beginning with
5493 # Warning - without using the other runtime loading flags (-brtl),
5494 # -berok will link without error, but may produce a broken library.
5495 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
5499 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5500 …(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $co…
5503 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
5504 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
5505 …_LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $depli…
5510 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5511 # Warning - without using the other run time loading flags,
5512 # -berok will link without error, but may produce a broken library.
5513 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
5514 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
5516 # We only use this code for GNU lds that support --whole-archive.
5517 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
5523 …_LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$real…
5524 # -brtl affects multiple linker settings, -berok does not and is overridden later
5525 …compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\…
5528 …)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$…
5531-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
5533 # used by -dlpreopen to get the symbols
5536 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/…
5545 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5549 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5550 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5557 _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
5577 …_LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,
5582 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
5584 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
5590 … $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'…
5602 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
5603 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
5616 …TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\…
5620 _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
5631 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5632 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5641 …_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++…
5642 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5649 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5655 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5657 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5658 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5665 …VAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -
5667 …_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objd…
5676 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5681 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $…
5683 …_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $link…
5690 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5701 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_fla…
5704 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $l…
5707 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $…
5713 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
5716 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs…
5720 # Older versions of the 11.00 compiler do not understand -b yet
5721 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
5722 _LT_LINKER_OPTION([if $CC understands -b],
5723 _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
5724 …[_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $…
5725 …[_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $lin…
5726 …[_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $…
5742 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5754-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
5755 # Try to use the -exported_symbol ld option, if it does not
5756 # work, assume that -exports_file does not work either and
5758 # This should be the same for all languages, so no per-tag cache variable.
5759 AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
5762 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
5777-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
5780-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "
5781-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "
5784 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5795 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5801 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5802 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
5804 _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
5806 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5812 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5814 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5823 if test -f /usr/libexec/ld.so; then
5827 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5828 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5829 …TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $…
5830 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5831 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5833 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5834 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5842 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5851 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5852 emximp -o $lib $output_objdir/$libname.def'
5859 prefix_cmds="$prefix_cmds -e 1d";
5861 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5863 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5864 emximp -o $lib $output_objdir/$libname.def'
5865 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
5871 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
5872-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$ve…
5874 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5875-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstrin…
5878 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5882 osf4* | osf5*) # as osf3* with the addition of -msym flag
5884 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
5885-shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$s…
5886 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5888 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5889-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$ve…
5890 …in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%…
5891-shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $sona…
5893 # Both c and cxx compiler support -rpath directly
5894 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5901 _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
5904 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libo…
5905 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5906 …$CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs…
5908 case `$CC -V 2>&1` in
5911 …_LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $li…
5912 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5913 …$LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $li…
5917 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $co…
5918 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5919 …$CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $…
5923 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5926 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
5929 # but understands '-z linker_flag'. GCC discards it without '$wl',
5933 …_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextra…
5935 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
5946 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
5948 …_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_fla…
5950 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5959 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5965 _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5966 _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
5970 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5979 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5981 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
5985 if test -d /usr/nec; then
5986 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5995 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6001 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6002 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
6004 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6005 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
6010 # Note: We CANNOT use -z defs as we might desire, because we do not
6011 # link with -lc, and that would cause any symbols used from libc to
6013 # ever link correctly. If we're not using GNU ld we use -z text
6014 # though, which does catch some bad symbols but isn't as heavy-handed
6015 # as -z defs.
6016 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6017 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
6020 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
6023 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
6027 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6028 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
6030 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6031 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
6036 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6037 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6049 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym'
6070 # Assume -lc should be added
6076 # FIXME: we may have to deal with multi-command sequences.
6079 # Test whether the compiler implicitly links with -lc since on some
6080 # systems, -lgcc has to come before -lc. If gcc already passes -lc
6081 # to ld, don't add -lc before -lgcc.
6082 AC_CACHE_CHECK([whether -lc should be explicitly linked in],
6094 compiler_flags=-v
6095 linker_flags=-v
6101 if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
6121 [Whether or not to add -lc for building shared libraries])
6132 [Create an old-style archive from a shared archive])
6134 [Create a temporary old-style archive to link instead of a shared archive])
6151 [Whether we need a single "-rpath" flag with a separated argument])
6161 [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
6196 # ------------------------
6231 if test -n "$compiler"; then
6254 if test -n "$RANLIB"; then
6260 aix[[4-9]]*)
6285 # --------------------------
6293 if test -n "$CXX" && ( test no != "$CXX" &&
6294 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
6336 # and will be corrupted by setting them based on a non-working compiler.
6359 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
6364 if test -n "${lt_cv_path_LDCXX+set}"; then
6369 test -z "${LDCXX+set}" || LD=$LDCXX
6370 CC=${CXX-"c++"}
6376 if test -n "$compiler"; then
6377 # We don't want -fno-exception when compiling C++ code, so set the
6380 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
6393 …s, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compil…
6394-shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $…
6396 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6397 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6400 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
6404 # ancient GNU ld didn't support --whole-archive et. al.
6405 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
6406 $GREP 'no-whole-archive' > /dev/null; then
6407 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
6420 …LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_obje…
6426 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
6442 aix[[4-9]]*)
6447 exp_sym_flag='-Bexport'
6453 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6456 # depending on the kind of the shared library created -
6467 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
6470 *-brtl*)
6477 # With aix-soname=svr4, we create the lib.so.V shared archives only,
6481 LDFLAGS="$LDFLAGS -Wl,-brtl"
6486 exp_sym_flag='-bexport'
6487 no_entry_flag='-bnoentry'
6492 # or program results in "error TOC overflow" add -mminimal-toc to
6494 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6501 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
6515 collect2name=`$CC -print-prog-name=collect2`
6516 if test -f "$collect2name" &&
6528 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6532 shared_flag='-shared'
6534 shared_flag=$shared_flag' $wl-G'
6538 # /with/ Import File - we do not want to mix them.
6539 shared_flag_aix='-shared'
6540 shared_flag_svr4='-shared $wl-G'
6544 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6545 # chokes on -Wl,-G. The following line is correct:
6546 shared_flag='-G'
6549 shared_flag='$wl-G'
6551 shared_flag='$wl-bM:SRE'
6553 shared_flag_aix='$wl-bM:SRE'
6554 shared_flag_svr4='$wl-G'
6558 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
6559 # It seems that -bexpall does not export symbols beginning with
6564 # Warning - without using the other runtime loading flags (-brtl),
6565 # -berok will link without error, but may produce a broken library.
6566 # The "-G" linker flag allows undefined symbols.
6567 _LT_TAGVAR(no_undefined_flag, $1)='-bernotok'
6571 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6573 …(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $co…
6576 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
6577 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
6578 …_LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $depli…
6583 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6584 # Warning - without using the other run time loading flags,
6585 # -berok will link without error, but may produce a broken library.
6586 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
6587 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
6589 # We only use this code for GNU lds that support --whole-archive.
6590 … _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
6596 …_LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$real…
6597 # -brtl affects multiple linker settings, -berok does not and is overridden later
6598 …compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\…
6601 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
6602 …)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$…
6605-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
6607 # used by -dlpreopen to get the symbols
6610 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/…
6616 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6619 # support --undefined. This deserves some investigation. FIXME
6620 …_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname…
6650 …_LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,
6655 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
6657 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
6674 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
6675 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
6683 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6684 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
6689 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
6690-shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_ob…
6691 # If the export-symbols file already is a .def file, use it as
6699-shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $c…
6711 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6720 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
6721 emximp -o $lib $output_objdir/$libname.def'
6728 prefix_cmds="$prefix_cmds -e 1d";
6730 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
6732 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
6733 emximp -o $lib $output_objdir/$libname.def'
6734 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
6762 freebsd-elf*)
6773 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
6780 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6792 …_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $outpu…
6801 …output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list…
6805 …rchive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_lib…
6823 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6849 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $p…
6852 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $…
6855 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_obj…
6866 …output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=…
6873 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects…
6876 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath
6879 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_l…
6891 interix[[3-9]]*)
6894 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6895 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6900 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6902 …1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
6903-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output…
6909-shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname …
6912 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
6915 _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
6920-shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl
6922-shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl
6928 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6933 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6939 # ends with ".so" (or ".sl" for HP-UX), so rename the library
6941-e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"…
6942-e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"…
6951 …_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GRE…
6953 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6954 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6957 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
6958 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
6966 case `$CC -V 2>&1` in
6968 …VAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_fl…
6969 …='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$so…
6974 ia64*) tmp_idyn=' -i_dynamic';;
6976 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-sonam…
6977 …_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-r…
6981 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6982 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6983 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
6987 case `$CC -V` in
6988 *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
6990 rm -rf $tpldir~
6991 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
6992 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
6994 rm -rf $tpldir~
6995 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
6996 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
6999 rm -rf $tpldir~
7000 …$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $…
7001-shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $po…
7003 rm -rf $tpldir~
7004 …$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $…
7005-shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $pos…
7008 …rchive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compil…
7009-shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $…
7013 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir'
7014 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7015--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
7019 …VAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_fl…
7020 …mds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-sonam…
7023 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7034 …output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; tem…
7038 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7039 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7040 …_LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$sona…
7043 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7045 …$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$outp…
7049 case `$CC -V 2>&1 | sed 5q` in
7052 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7053 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libob…
7054 …s, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_o…
7055 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7056--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conven…
7060 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
7065 # "CC -xar", where "CC" is the Sun C++ compiler. This is
7068 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7099 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7100 …_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_…
7102 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7106 # Workaround some broken pre-1.5 toolchains
7107 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $…
7115 if test -f /usr/libexec/ld.so; then
7119 …LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_obje…
7120 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7121 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
7122 …ds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags …
7123 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
7124 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
7138 # ends with ".so" (or ".sl" for HP-UX), so rename the library
7140-e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so…
7142 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7148 osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
7149 *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
7160 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
7161-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $w…
7162 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7165 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
7166-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -m…
7167 …hive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i"…
7168 echo "-hidden">> $lib.exp~
7169-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -m…
7171 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7185 …output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GR…
7189 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
7192-shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compil…
7195-shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objec…
7199 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7205 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
7244 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7245 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libob…
7246 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
7247 …$CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs …
7249 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7252 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7255 # but understands '-z linker_flag'.
7257 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
7265 # "CC -xar", where "CC" is the Sun C++ compiler. This is
7268 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7272 …TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler…
7275 _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
7280 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs'
7281 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
7282 …hive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects…
7283 …ve_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
7284 …$CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobj…
7289 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
7291 # g++ 2.7 appears to require '-G' NOT '-shared' on this
7293 …VAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compil…
7294 …ve_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
7295 …$CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $pos…
7300 …output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | …
7303 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
7305 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7307 …_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextra…
7316 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7323 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7324 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
7327 … _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7328 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
7334 # Note: We CANNOT use -z defs as we might desire, because we do not
7335 # link with -lc, and that would cause any symbols used from libc to
7337 # ever link correctly. If we're not using GNU ld we use -z text
7338 # though, which does catch some bad symbols but isn't as heavy-handed
7339 # as -z defs.
7340 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7341 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
7344 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
7347 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
7352 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7353 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
7354 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
7356 _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
7360 … _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7361 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
7369 # NonStop-UX NCC 3.20
7410 fi # test -n "$compiler"
7429 # ----------------------
7436 # This function is identical to the (non-XSI) version of func_stripname,
7453 # ---------------------------------
7519 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
7520 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
7521 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
7537 -L* | -R* | -l*)
7538 # Some compilers place space between "-{L,R}" and the path.
7540 if test x-L = "$p" ||
7541 test x-R = "$p"; then
7547 if test -z "$prev"; then
7549 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
7550 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
7551 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
7559 -L | -R)
7563 if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
7569 # The "-l" case would never come before the object being
7573 if test -z "$_LT_TAGVAR(postdeps, $1)"; then
7592 if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
7598 if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
7612 rm -f a.out a.exe
7617 $RM -f confest.$objext
7623 interix[[3-9]]*)
7634 *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
7637 if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
7638 …h_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'`
7655 # --------------------------
7661 if test -z "$F77" || test no = "$F77"; then
7697 # and will be corrupted by setting them based on a non-working compiler.
7723 CC=${F77-"f77"}
7729 if test -n "$compiler"; then
7741 if test -n "$RANLIB"; then
7746 aix[[4-9]]*)
7778 fi # test -n "$compiler"
7790 # -------------------------
7797 if test -z "$FC" || test no = "$FC"; then
7824 ac_ext=${ac_fc_srcext-f}
7833 # and will be corrupted by setting them based on a non-working compiler.
7859 CC=${FC-"f95"}
7867 if test -n "$compiler"; then
7879 if test -n "$RANLIB"; then
7884 aix[[4-9]]*)
7917 fi # test -n "$compiler"
7929 # --------------------------
7962 CC=${GCJ-"gcj"}
7980 if test -n "$compiler"; then
8000 # --------------------------
8033 CC=${GOC-"gccgo"}
8051 if test -n "$compiler"; then
8071 # -------------------------
8104 CC=${RC-"windres"}
8111 if test -n "$compiler"; then
8124 # -----------
8129 test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
8135 dnl aclocal-1.4 backwards compatibility:
8140 # ----------
8147 # ----------
8154 dnl aclocal-1.4 backwards compatibility:
8159 # --------------
8165 test -z "$GREP" && GREP=grep
8169 dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
8175 # --------------
8180 test -z "$OBJDUMP" && OBJDUMP=objdump
8186 # ----------------
8190 test -z "$DLLTOOL" && DLLTOOL=dlltool
8196 # ------------
8197 # Check for a fully-functional sed program, that truncates
8201 test -z "$SED" && SED=sed
8202 Xsed="$SED -e 1s/^X//"
8204 _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
8205 [Sed that helps us avoid accidentally triggering echo(1) options like -n])
8225 test -z "$as_dir" && as_dir=.
8240 test ! -f "$lt_ac_sed" && continue
8245 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
8254 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
8255 cmp -s conftest.out conftest.nl || break
8257 test 10 -lt "$lt_ac_count" && break
8259 if test "$lt_ac_count" -gt "$lt_ac_max"; then
8274 dnl aclocal-1.4 backwards compatibility:
8279 # ------------------------
8308 # -----------------------------
8311 # for certain cross-compile configurations and native mingw.
8318 *-*-mingw* )
8320 *-*-mingw* ) # actually msys
8323 *-*-cygwin* )
8331 *-*-cygwin* )
8333 *-*-mingw* ) # actually msys
8336 *-*-cygwin* )
8359 *-*-mingw* )
8361 *-*-mingw* ) # actually msys