Lines Matching +full:echo +full:- +full:active +full:- +full:ms

1 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
3 # Copyright (C) 1996-2001, 2003-2019, 2021-2024 Free Software
39 # ------------------
42 [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
50 # ------------------
61 # ------------------
71 m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
81 _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
102 dnl aclocal-1.4 backwards compatibility:
108 # -----------------------
110 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
117 \-*) ;;
121 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
127 # -------------------
130 # arranges for $SED and $ECHO to be set by different means.
141 # ----------------------
145 [: ${CP="cp -f"}
146 : ${MV="mv -f"}
147 : ${RM="rm -f"}
152 # ---------
174 test -z "$LN_S" && LN_S="ln -s"
196 if test -n "\${ZSH_VERSION+set}"; then
200 if test -n "${ZSH_VERSION+set}"; then
234 test -z "$CC" && CC=cc
235 test -z "$LTCC" && LTCC=$CC
236 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
237 test -z "$LD" && LD=ld
238 test -z "$ac_objext" && ac_objext=o
243 test -z "$MAGIC_CMD" && MAGIC_CMD=file
261 # --------------------------
264 [# Backslashify metacharacters that are still active within
265 # double-quoted strings.
283 # ---------------
295 ## ------------------------------------- ##
297 ## ------------------------------------- ##
305 # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
306 # ----------------------------------------
307 # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
319 # ------------------------------
332 # -----------------------------------------------------
340 # -----------------------------
342 # full-stop to the whole comment if one is not present already.
351 ## ------------------------ ##
353 ## ------------------------ ##
356 # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
357 # -------------------------------------------------------------------
375 # --------------------------------------------------------
380 # ------------------------------------------------
386 # ---------------------------------------------------------
398 # --------------------------------------------------
404 # ---------------------------------------------------
410 # ---------------------------------------------------
421 # ------------------------------------------------
435 # ------------------------------------
440 [$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
444 # ------------------------------
450 # <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
457 # ----------------
466 # -----------------------------------
487 # -----------------------
488 # Produce commented declarations of non-tagged libtool config variables
499 # -------------------------
506 # ------------------------------
511 # -------------------
537 # The HP-UX ksh and POSIX shell print the target directory to stdout
560 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
562 …eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""…
570 # Double-quote double-evaled strings.
573 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
575 …eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\…
587 # ------------------------------------
593 # the child script. The macro ends with non-zero status if the
605 SHELL=\${CONFIG_SHELL-$SHELL}
617 # ---------
631 echo
642 -h, --help print this help, then exit
643 -V, --version print version number, then exit
644 -q, --quiet do not print progress messages
645 -d, --debug don't remove temporary files
647 Report bugs to <bug-libtool@gnu.org>."
661 --version | --v* | -V )
662 echo "$lt_cl_version"; exit 0 ;;
663 --help | --h* | -h )
664 echo "$lt_cl_help"; exit 0 ;;
665 --debug | --d* | -d )
667 --quiet | --q* | --silent | --s* | -q )
670 -*) AC_MSG_ERROR([unrecognized option: $[1]
671 Try '$[0] --help' for more information.]) ;;
674 Try '$[0] --help' for more information.]) ;;
701 lt_config_lt_args="$lt_config_lt_args --quiet"
710 # ---------------
711 # If TAG is the built-in tag, create an initial libtool script with a
722 if test -n "${ZSH_VERSION+set}"; then
735 # Provide generalized library-building support services.
779 # if finds mixed CR/LF and LF-only lines. Since sed operates in
783 || (rm -f "$cfgfile"; exit 1)
785 mv -f "$cfgfile" "$ofile" ||
786 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
809 # ---------------------
811 # --tag option, using:
812 # autoconf --trace 'LT_SUPPORTED_TAG:$1'
816 # C support is built-in for now
822 # -------------
841 # ------------------
864 if test -z "$GOC"; then
865 if test -n "$ac_tool_prefix"; then
869 if test -z "$GOC"; then
877 # -----------------------
921 dnl aclocal-1.4 backwards compatibility:
930 # ----------------
940 LTCC=${LTCC-"$CC"}
943 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
951 # ------------------------
957 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
965 # ----------------------
971 echo "$lt_simple_link_test_code" >conftest.$ac_ext
974 $RM -r conftest*
979 # -------------------------
995 [ldd/readelf like tool for Mach-O binaries on Mac OS X])
997 [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
999 AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
1001 if test -z "$LT_MULTI_MODULE"; then
1002 # By default we will add the -single_module flag. You can override
1004 # non-empty at configure time, or by adding -multi_module to the
1006 rm -rf libconftest.dylib*
1007 echo "int foo(void){return 1;}" > conftest.c
1008 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1009 -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
1010 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1011 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
1013 # If there is a non-empty error log, and "single_module"
1015 if test -s conftest.err && $GREP single_module conftest.err; then
1019 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
1024 rm -rf libconftest.dylib*
1025 rm -f conftest.*
1029 # compatible with '-undefined dynamic_lookup'
1030 AC_CACHE_CHECK([for -no_fixup_chains linker flag],
1033 LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
1043 AC_CACHE_CHECK([for -exported_symbols_list linker flag],
1047 echo "_main" > conftest.sym
1048 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1055 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
1060 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
1061 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
1062 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
1064 echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
1069echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAG…
1070 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
1072 if test -s conftest.err && $GREP force_load conftest.err; then
1074 …elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
1079 rm -f conftest.err libconftest.a conftest conftest.c
1080 rm -rf conftest.dSYM
1084 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
1086 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1089 10.[[012]],*|,*powerpc*-darwin[[5-8]]*)
1090 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1092 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
1094 AS_VAR_APPEND([_lt_dar_allow_undefined], [' $wl-no_fixup_chains'])
1109 # -single_module is the default and -multi_module is unsupported.
1111 # target any OS version that needs -single_module.
1112 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1113 10.0,*-darwin[[567]].*|10.[[0-3]],*-darwin[[5-9]].*|10.[[0-3]],*-darwin1[[0-7]].*)
1119 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
1121 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
1134 # ---------------------------------
1144 …ec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenienc…
1158 …_LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs…
1159 …_LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$co…
1160 …\$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobj…
1161 …sym_cmds, $1)="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC…
1163 [ if test yes = "$_lt_dar_needs_single_mod" -a yes != "$lt_cv_apple_cc_single_mod"; then
1164-r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_…
1165-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamicl…
1174 # ----------------------------------
1197 …_LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_a…
1198 # Check for a 64-bit object if we didn't find anything.
1199 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1200 …_LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$l…
1202 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1212 # -------------------
1214 [m4_divert_text([M4SH-INIT], [$1
1220 # -----------------------
1221 # Find how we can fake an echo command that does not interpret backslash.
1224 # printf (that we can use as an echo command).
1226 [ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\…
1227 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
1228 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1232 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
1233 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
1234 ECHO='print -r --'
1235 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
1236 ECHO='printf %s\n'
1245 ECHO='func_fallback_echo'
1249 # Invoke $ECHO with all args, space-separated.
1252 $ECHO "$*"
1255 case $ECHO in
1257 print*) AC_MSG_RESULT([print -r]) ;;
1263 test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
1264ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\…
1265 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
1266 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1268 test "X`printf %s $ECHO`" = "X$ECHO" \
1269 || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
1272 _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
1277 # ----------------
1282 [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
1295 lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
1299 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
1309 AC_MSG_RESULT([${lt_sysroot:-no}])
1314 # ---------------
1316 [AC_ARG_ENABLE([libtool-lock],
1317 [AS_HELP_STRING([--disable-libtool-lock],
1324 ia64-*-hpux*)
1327 echo 'int i;' > conftest.$ac_ext
1330 *ELF-32*)
1333 *ELF-64*)
1338 rm -rf conftest*
1340 *-*-irix6*)
1343 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
1347 *32-bit*)
1348 LD="${LD-ld} -melf32bsmip"
1351 LD="${LD-ld} -melf32bmipn32"
1353 *64-bit*)
1354 LD="${LD-ld} -melf64bmip"
1359 *32-bit*)
1360 LD="${LD-ld} -32"
1363 LD="${LD-ld} -n32"
1365 *64-bit*)
1366 LD="${LD-ld} -64"
1371 rm -rf conftest*
1374 mips64*-*linux*)
1377 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
1381 *32-bit*)
1384 *64-bit*)
1401 LD="${LD-ld} -m $emul"
1403 rm -rf conftest*
1406 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
1407 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
1411 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
1414 echo 'int i;' > conftest.$ac_ext
1417 *32-bit*)
1419 x86_64-*kfreebsd*-gnu)
1420 LD="${LD-ld} -m elf_i386_fbsd"
1422 x86_64-*linux*|x86_64-gnu*)
1424 *x86-64*)
1425 LD="${LD-ld} -m elf32_x86_64"
1428 LD="${LD-ld} -m elf_i386"
1432 powerpc64le-*linux*)
1433 LD="${LD-ld} -m elf32lppclinux"
1435 powerpc64-*linux*)
1436 LD="${LD-ld} -m elf32ppclinux"
1438 s390x-*linux*)
1439 LD="${LD-ld} -m elf_s390"
1441 sparc64-*linux*)
1442 LD="${LD-ld} -m elf32_sparc"
1446 *64-bit*)
1448 x86_64-*kfreebsd*-gnu)
1449 LD="${LD-ld} -m elf_x86_64_fbsd"
1451 x86_64-*linux*|x86_64-gnu*)
1452 LD="${LD-ld} -m elf_x86_64"
1454 powerpcle-*linux*)
1455 LD="${LD-ld} -m elf64lppc"
1457 powerpc-*linux*)
1458 LD="${LD-ld} -m elf64ppc"
1460 s390*-*linux*|s390*-*tpf*)
1461 LD="${LD-ld} -m elf64_s390"
1463 sparc*-*linux*)
1464 LD="${LD-ld} -m elf64_sparc"
1470 rm -rf conftest*
1473 *-*-sco3.2v5*)
1474 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1476 CFLAGS="$CFLAGS -belf"
1477 AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1482 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1486 *-*solaris*)
1489 echo 'int i;' > conftest.$ac_ext
1492 *64-bit*)
1496 i?86-*-solaris*|x86_64-*-solaris*)
1497 LD="${LD-ld} -m elf_x86_64"
1499 sparc*-*-solaris*)
1500 LD="${LD-ld} -m elf64_sparc"
1504 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
1505 LD=${LD-ld}_sol2
1509 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1510 LD="${LD-ld} -64"
1517 rm -rf conftest*
1526 # -----------
1538 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
1542 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
1544 _LT_DECL([], [AR_FLAGS], [\@S|@{ARFLAGS-"\@S|@lt_ar_flags"}],
1550 [echo conftest.$ac_objext > conftest.lst
1553 if test 0 -eq "$ac_status"; then
1555 rm -f conftest.$ac_objext libconftest.a
1557 if test 0 -ne "$ac_status"; then
1561 rm -f conftest.* libconftest.a
1576 # -------------------
1581 test -z "$STRIP" && STRIP=:
1585 test -z "$RANLIB" && RANLIB=:
1587 [Commands used to install an old-style archive])
1589 # Determine commands to create old-style static archives.
1594 if test -n "$RANLIB"; then
1608 [Commands used to build an old-style archive])
1614 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1615 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
1616 # ----------------------------------------------------------------
1624 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1629 # with a dollar sign (not a hyphen), so the echo should work correctly.
1631 lt_compile=`echo "$ac_compile" | $SED \
1632 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1633 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1634 -e 's:$: $lt_compiler_flag:'`
1635 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1639 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1640 if (exit $ac_status) && test -s "$ac_outfile"; then
1643 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
1645 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1661 dnl aclocal-1.4 backwards compatibility:
1665 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1666 # [ACTION-SUCCESS], [ACTION-FAILURE])
1667 # ----------------------------------------------------
1676 echo "$lt_simple_link_test_code" > conftest.$ac_ext
1677 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1680 if test -s conftest.err; then
1683 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
1692 $RM -r conftest*
1705 dnl aclocal-1.4 backwards compatibility:
1710 #---------------
1731 # Libtool will interpret -1 as no limit whatsoever
1732 lt_cv_sys_max_cmd_len=-1;
1736 # On Win9x/ME, this test blows up -- it succeeds, but takes
1738 # Worse, since 9x/ME are not pre-emptively multitasking,
1759 if test -x /sbin/sysctl; then
1760 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
1761 elif test -x /usr/sbin/sysctl; then
1762 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
1788 if test -x /sbin/sysconfig; then
1789 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
1790 *1*) lt_cv_sys_max_cmd_len=-1 ;;
1799 if test -n "$kargmax"; then
1800 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[[ ]]//'`
1807 if test -n "$lt_cv_sys_max_cmd_len" && \
1817 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
1818 # If test is not a shell built-in, we'll probably end up computing a
1821 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
1839 if test -n "$lt_cv_sys_max_cmd_len"; then
1851 dnl aclocal-1.4 backwards compatibility:
1856 # ----------------
1862 # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1863 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1864 # ----------------------------------------------------------------
1914 /* When -fvisibility=hidden is used, assume the code has been annotated
1942 if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
1955 rm -fr conftest*
1960 # ------------------
1991 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
2000 # because TPF is a cross-compiler, and we know how we open DSOs.
2010 [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
2014 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
2016 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
2018 [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
2036 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
2087 dnl aclocal-1.4 backwards compatibility:
2092 # ---------------------------
2093 # Check to see if options -c and -o are simultaneously supported by compiler.
2099 AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
2102 $RM -r conftest 2>/dev/null
2106 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
2108 lt_compiler_flag="-o out/conftest2.$ac_objext"
2112 # with a dollar sign (not a hyphen), so the echo should work correctly.
2113 lt_compile=`echo "$ac_compile" | $SED \
2114 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2115 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
2116 -e 's:$: $lt_compiler_flag:'`
2117 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
2121 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
2122 if (exit $ac_status) && test -s out/conftest2.$ac_objext
2126 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
2128 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
2136 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
2139 $RM -r conftest
2143 [Does compiler simultaneously support -c and -o options?])
2148 # ----------------------------------
2167 AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe])
2178 # ----------------
2181 [rm -f .libs 2>/dev/null
2183 if test -d .libs; then
2186 # MS-DOS does not allow filenames that begin with a dot.
2195 [Define to the sub-directory where libtool stores uninstalled libraries.])
2200 # --------------------------------------
2205 if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
2206 test -n "$_LT_TAGVAR(runpath_var, $1)" ||
2209 # We can hardcode non-existent directories.
2213 # when we should be linking with a yet-to-be-installed one
2244 # ----------------
2250 if test -z "$STRIP"; then
2253 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
2254 old_striplib="$STRIP --strip-debug"
2255 striplib="$STRIP --strip-unneeded"
2260 # FIXME - insert some real tests, host_os isn't really good enough
2261 striplib="$STRIP -x"
2262 old_striplib="$STRIP -S"
2266 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
2267 old_striplib="$STRIP --strip-debug"
2268 striplib="$STRIP --strip-unneeded"
2286 # ---------------------------
2290 # -----------------------------------
2309 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
2312 eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
2315 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
2316 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
2319 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
2327 # -----------------------------
2346 mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
2349 …lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_s…
2353 # otherwise default to the standard path separator (i.e. ":") - it is
2356 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
2359 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
2365 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
2367 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
2374 if test -d "$lt_sys_path$lt_multi_os_dir"; then
2376 elif test -n "$lt_multi_os_dir"; then
2377 test -d "$lt_sys_path" && \
2381 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
2385 for (lt_i = NF; lt_i > 0; lt_i--) {
2393 lt_count--;
2404 mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
2405 $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
2407 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
2427 # when you set need_version to no, make sure it does not cause -set_version
2432 [User-defined run-time library search path.])
2444 aix[[4-9]]*)
2461 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
2462 echo ' yes '
2463 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
2471 # filename-based versioning of shared library archives on AIX. While
2473 # prevent static linking of such archives. So we do filename-based
2478 # versioned .so libs for executables only if there is the -brtl
2479 # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
2480 # To allow for filename-based versioning support, we need to create
2490 # but for link time we create the symlink libNAME.so -> libNAME.so.V
2520-n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$…
2530-z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z …
2531 …postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_librar…
2542 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
2570 # libtool to hard-code these into programs
2589 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2593 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2598 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2600 test -d \$dldir || mkdir -p \$dldir~
2603 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2607 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2615 …soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuf…
2621 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2625 …library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$…
2634 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2646 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
2651 …sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([[a-z…
2657 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
2658 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
2659 …sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEP…
2663 if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
2665 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2667 … sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2670 # common. (e.g. "Program Files" -> "PROGRA~1")
2676 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2678 test -d \$dldir || mkdir -p \$dldir~
2680 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2689 …library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.…
2706 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
2724 if test -x /usr/bin/objformat; then
2732 version_type=freebsd-$objformat
2734 freebsd-elf*)
2740 freebsd-*)
2747 # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
2751 [[int test_pointer_size[sizeof (void *) - 5];
2768 freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
2769 freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
2789 sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
2790 …sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/…
2837 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
2843 interix[[3-9]]*)
2875 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
2876 libsuff= shlibsuff= libmagic=32-bit;;
2877 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
2879 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
2880 libsuff=64 shlibsuff=64 libmagic=64-bit;;
2881 *) libsuff= shlibsuff= libmagic=never-match;;
2913 # -rpath works at least for libraries that are not overridden by
2915 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
2919 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2925 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2937 [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
2952 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
2953 # even though it is searched at run-time. Try to do the best guess by
2955 if test -f /etc/ld.so.conf; then
2956 …skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwc…
2963 # most powerpc-linux boxes support dynamic linking these days and
2964 # people can always --disable-shared, the test was removed, and we
2969 netbsdelf*-gnu)
2985 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
2987 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2999 *-mlibc)
3034 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
3040 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
3052 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
3053 v=$($ECHO $release$versuffix | tr -d .-);
3054 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
3055 $ECHO $n$v`$shared_ext'
3062 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
3064 test -d \$dldir || mkdir -p \$dldir~
3067 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
3070 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
3150 if test -d /usr/nec; then
3181 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
3206 _LT_COMPILER_PIC($1)='-fPIC'
3207 …_LT_TAGVAR(archive_cmds, $1)='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $li…
3208 …symbols >$output_objdir/$soname.expsym~$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_fla…
3236 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
3252 [Is shlibpath searched before the hard-coded library search path?])
3256 The last name is the one that the linker finds with -lNAME]])
3273 [Compile-time system search path for libraries])
3275 [Detected run-time system search path for libraries])
3282 # --------------------------
3295 dnl $ac_dummy forces splitting on constant user-supplied paths.
3301 test -z "$ac_dir" && ac_dir=.
3302 if test -f "$ac_dir/$1"; then
3304 if test -n "$file_magic_test_file"; then
3322 *** bug-libtool@gnu.org
3336 if test -n "$MAGIC_CMD"; then
3347 dnl aclocal-1.4 backwards compatibility:
3352 # --------------
3356 if test -z "$lt_cv_path_MAGIC_CMD"; then
3357 if test -n "$ac_tool_prefix"; then
3367 # ----------
3368 # find the pathname to the GNU or non-GNU linker
3377 AC_ARG_WITH([gnu-ld],
3378 [AS_HELP_STRING([--with-gnu-ld],
3385 # Check if gcc -print-prog-name=ld gives a path.
3388 *-*-mingw* | *-*-windows*)
3390 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3392 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3399 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3400 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3401 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3403 test -z "$LD" && LD=$ac_prog
3417 AC_MSG_CHECKING([for non-GNU ld])
3420 [if test -z "$LD"; then
3424 test -z "$ac_dir" && ac_dir=.
3425 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3427 # Check to see if the program is GNU ld. I'd rather use --version,
3428 # but apparently some variants of GNU ld only accept -v.
3429 # Break only if it was the GNU/non-GNU ld that we prefer.
3430 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3445 if test -n "$LD"; then
3450 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
3460 dnl aclocal-1.4 backwards compatibility:
3466 #- --------------
3469 [# I'd rather use --version here, but apparently some GNU lds only accept -v.
3470 case `$LD -v 2>&1 </dev/null` in
3483 # --------------
3485 # -- PORTME Some linkers may need a different reload flag.
3489 [lt_cv_ld_reload_flag='-r'])
3495 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3504 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
3506 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3516 # -----------
3525 cmp -s conftest.i conftest.out \
3528 rm -f conftest.i conftest2.i conftest.out])
3533 # ----------------
3542 cmp -s conftest.i conftest.out \
3545 rm -f conftest.i conftest2.i conftest.out
3546 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"])
3553 # ----------------------
3555 # -- PORTME fill in with the dynamic library characteristics
3566 # 'none' -- dependencies not supported.
3567 # 'unknown' -- same as none, but documents that we really don't know.
3568 # 'pass_all' -- all dependencies passed with no checks.
3569 # 'file_magic [[regex]]' -- check by looking for files in library path
3575 aix[[4-9]]*)
3584 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
3585 lt_cv_file_magic_cmd='$FILECMD -L'
3598 # unless we find 'file', for example because we are cross-compiling.
3604 …eplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-
3605 lt_cv_file_magic_cmd='$OBJDUMP -f'
3611 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3612 lt_cv_file_magic_cmd='$OBJDUMP -f'
3620 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3625 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
3627 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3643 …lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object f…
3647 …heck_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)…
3651 …lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared lib…
3657 interix[[3-9]]*)
3664 *-32|*"-32 ") libmagic=32-bit;;
3665 *-n32|*"-n32 ") libmagic=N32;;
3666 *-64|*"-64 ") libmagic=64-bit;;
3667 *) libmagic=never-match;;
3673 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
3677 *-mlibc)
3681 netbsd* | netbsdelf*-gnu)
3682 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3683 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3690 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3700 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
3701 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
3703 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3730 …bs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][…
3731 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3738 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib…
3742 lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
3771 …file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/…
3779 test -z "$deplibs_check_method" && deplibs_check_method=unknown
3793 # ----------
3794 # find the pathname to a BSD- or MS-compatible name lister
3797 AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
3798 [if test -n "$NM"; then
3803 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3810 test -z "$ac_dir" && ac_dir=.
3812 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
3813 # Check to see if the nm accepts a BSD-compat flag.
3814 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
3822 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
3824 lt_cv_path_NM="$tmp_nm -B"
3828 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
3830 lt_cv_path_NM="$tmp_nm -p"
3850 if test -n "$DUMPBIN"; then :
3853 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
3854 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
3856 DUMPBIN="$DUMPBIN -symbols -headers"
3868 test -z "$NM" && NM=nm
3870 _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
3874 echo "int some_variable = 0;" > conftest.$ac_ext
3875 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
3878 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
3881 (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
3884 lt_cv_nm_interface="MS dumpbin"
3886 rm -f conftest*])
3892 dnl aclocal-1.4 backwards compatibility:
3897 # --------------------------------
3900 # -- PORTME fill in with the dynamic library characteristics
3913 case `$DLLTOOL --help 2>&1` in
3914 *--identify-strict*)
3924 lt_cv_sharedlib_from_linklib_cmd=$ECHO
3929 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
3937 # ----------------------
3941 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
3944 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
3945 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
3950 rm -f conftest*])
3959 # ---------------------
3964 test DEF = "`$SED -n dnl
3965 -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
3966 -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
3967 -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
3968 -e q dnl Only consider the first "real" line
3974 # --------
3980 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-mingw* | *-*-pw32* | *-*-darwin*)
3983 *-ncr-sysv4.3*)
3984 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
3985 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
3988 AC_CHECK_LIB(m, cos, LIBM=-lm)
3996 dnl aclocal-1.4 backwards compatibility:
4001 # -------------------------------
4010 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
4012 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
4015 _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
4017 [-fno-rtti -fno-exceptions], [],
4018 …o_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
4026 # ----------------------
4048 sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
4050 # Define system-specific variables.
4087 case `$NM -V 2>&1` in
4092 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
4094 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
4096 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
4097 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
4099 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
4100 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
4112 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
4114 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
4115 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
4118 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
4120 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
4121 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
4125 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
4127 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
4128 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
4129 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
4135 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4146 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
4147 # Fake it for dumpbin and say T for any non-static function,
4167 …lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx…
4174 rm -f conftest*
4191 …$ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&AS_MESS…
4192 …_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&AS_MESSAGE_LOG_FD && test -s "$nlist"; then
4195 mv -f "$nlist"T "$nlist"
4197 rm -f "$nlist"T
4207 relocations are performed -- see ld's documentation on pseudo-relocs. */
4222 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4235 …$SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> c…
4257 if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
4263 echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
4266 echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
4269 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
4272 echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
4275 rm -rf conftest* conftst*
4285 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4288 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4295 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
4297 elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
4321 # ---------------------------
4331 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4332 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4339 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4341 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4348 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4352 # adding the '-m68020' flag to GCC prevents building anything better,
4353 # like '-m68040'.
4354 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4365 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4366 # (--disable-auto-import) libraries
4368 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4371 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4378 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4386 # The "-static" flag exists, but is broken.
4389 interix[[3-9]]*)
4390 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4394 if test -d /usr/nec; then
4395 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4399 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4400 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4406 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4411 # QNX uses GNU C++, but need to define -shared option too, otherwise
4413 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4416 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4421 aix[[4-9]]*)
4425 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4427 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4434 …# _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abor…
4442 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4447 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4451 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4463 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4464 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4470 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4471 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4486 # This is c89, which is MS Visual C++ (no shared libs)
4492 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4493 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4494 # CC pic flag -KPIC is the default.
4500 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4504 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4505 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4508 # old Intel C++ for x86_64, which still supported -KPIC.
4509 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4510 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4511 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4515 # ICC 10 doesn't accept -KPIC any more.
4516 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4517 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4518 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4522 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4523 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4524 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4531 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4535 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4536 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4537 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4540 case `$CC -V 2>&1 | $SED 5q` in
4543 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4544 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4545 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4558 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
4564 netbsd* | netbsdelf*-gnu)
4566 *-mlibc)
4569 # QNX uses GNU C++, but need to define -shared option too, otherwise
4571 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4576 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4580 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4584 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4588 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4602 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4603 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4604 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4608 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4618 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4619 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4623 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4632 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4633 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4634 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4641 # NonStop-UX NCC 3.20
4642 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4658 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4659 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4666 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4668 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4675 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4679 # adding the '-m68020' flag to GCC prevents building anything better,
4680 # like '-m68040'.
4681 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4693 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4694 # (--disable-auto-import) libraries
4696 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4699 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4707 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4712 # The "-static" flag exists, but is broken.
4717 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4718 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4725 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4730 interix[[3-9]]*)
4731 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4743 # QNX uses GNU C++, but need to define -shared option too, otherwise
4745 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4749 if test -d /usr/nec; then
4750 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4755 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4761 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
4762 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4763 _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
4771 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4774 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4776 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4783 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4787 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4788 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4789 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4798 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4801 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4807 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4808 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4809 # not for PA HP-UX.
4819 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4823 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4824 # PIC (with -KPIC) is the default.
4825 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4828 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4830 # old Intel for x86_64, which still supported -KPIC.
4832 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4833 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4834 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4838 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4839 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4840 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4843 # ICC 10 doesn't accept -KPIC any more.
4845 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4846 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4847 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4851 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4852 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
4853 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
4857 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4858 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4859 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4863 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4864 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4865 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4870 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4871 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4872 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4875 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4877 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4881 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4882 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4883 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4886 case `$CC -V 2>&1 | $SED 5q` in
4887 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
4889 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4890 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4894 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4895 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4896 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4900 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4901 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4902 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4905 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4906 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4907 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4910 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4911 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4912 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4920 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4921 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4924 *-mlibc)
4925 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4926 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4927 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4931 # QNX uses GNU C++, but need to define -shared option too, otherwise
4933 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4937 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4939 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4943 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4950 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4951 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4954 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
4956 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
4961 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4962 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4963 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4967 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4968 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4969 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4973 if test -d /usr/nec; then
4974 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
4975 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4980 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4981 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4982 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4986 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4991 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4992 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5002 # For platforms that do not support PIC, -DPIC is meaningless:
5007 …$1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[]…
5019 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
5022 …[$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])]…
5050 # ----------------------------
5066 aix[[4-9]]*)
5067 # If we're using GNU nm, then we don't want the "-C" option.
5068 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
5069 # Without the "-l" option, or with the "-B" option, AIX nm treats
5073 # it in the Import File for the 'aix-soname' feature, so we have
5074 # to replace the "-B" option with "-P" for AIX nm.
5075 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
5076-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
5078-e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\…
5090 …_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\'…
5091 … $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
5124 # include_expsyms should be a list of space-separated symbols to be *always*
5168 case `$LD -v 2>&1` in
5170 *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
5171 *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
5191 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5192 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
5193 # ancient GNU ld didn't support --whole-archive et. al.
5194 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
5195 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
5200 case `$LD -v | $SED -e 's/([[^)]]\+)\s\+//' 2>&1` in
5202 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
5211 aix[[3-9]]*)
5221 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
5232 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5236ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $ou…
5237 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5244 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5247 # support --undefined. This deserves some investigation. FIXME
5248 …_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname…
5257 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5258 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
5262 …_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\'…
5263 … $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
5266 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
5267 …e_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-a…
5268 # If the export-symbols file already is a .def file, use it as
5273 echo EXPORTS > $output_objdir/$soname.def;
5276 …CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname …
5283 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5288 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5292 …_LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $o…
5293 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
5294 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
5295 $ECHO EXPORTS >> $output_objdir/$libname.def~
5297 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5298 emximp -o $lib $output_objdir/$libname.def'
5299 …_LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANC…
5300 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
5301 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
5302 $ECHO EXPORTS >> $output_objdir/$libname.def~
5305 prefix_cmds="$prefix_cmds -e 1d";
5307 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5309 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5310 emximp -o $lib $output_objdir/$libname.def'
5311 …_LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
5316 interix[[3-9]]*)
5319 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5320 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5325 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
5327 …1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
5328-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output…
5331 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
5333 if test linux-dietlibc = "$host_os"; then
5335 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
5338 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
5342 tmp_sharedflag='-shared'
5345--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
5350--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
5351 tmp_addflag=' $pic_flag -Mnomain' ;;
5353 tmp_addflag=' -i_dynamic' ;;
5355 tmp_addflag=' -i_dynamic -nofor_main' ;;
5357 tmp_addflag=' -nofor_main' ;;
5360 tmp_sharedflag='--shared' ;;
5362 tmp_sharedflag='-Wl,-shared' ;;
5364 tmp_sharedflag='-qmkshrobj'
5367--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
5371 case `$CC -V 2>&1 | $SED 5q` in
5373--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conven…
5375 tmp_sharedflag='-G' ;;
5377 tmp_sharedflag='-G' ;;
5379 … '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5382 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
5383 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5384 echo "local: *; };" >> $output_objdir/$libname.ver~
5385 …g"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$…
5390 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5391 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
5395 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
5396 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5397 … _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
5399 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
5400 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5401 echo "local: *; };" >> $output_objdir/$libname.ver~
5402 …$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libnam…
5411 *-mlibc)
5412 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5413 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5416 netbsd* | netbsdelf*-gnu)
5417 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5418 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5421 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5422 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5427 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
5439 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5440 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5441 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5448 case `$LD -v 2>&1` in
5449 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
5467 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5468 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5469 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5470 …expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-s…
5479 …_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_…
5486 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5487 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5488 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5507 …(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$expo…
5509 # are no directories specified by -L.
5511 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
5518 aix[[4-9]]*)
5523 exp_sym_flag='-Bexport'
5526 # If we're using GNU nm, then we don't want the "-C" option.
5527 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
5528 # Without the "-l" option, or with the "-B" option, AIX nm treats
5532 # it in the Import File for the 'aix-soname' feature, so we have
5533 # to replace the "-B" option with "-P" for AIX nm.
5534 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
5535-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
5537-e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\…
5542 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5545 # depending on the kind of the shared library created -
5556 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
5558 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
5564 # With aix-soname=svr4, we create the lib.so.V shared archives only,
5568 LDFLAGS="$LDFLAGS -Wl,-brtl"
5573 exp_sym_flag='-bexport'
5574 no_entry_flag='-bnoentry'
5579 # or program results in "error TOC overflow" add -mminimal-toc to
5581 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5588 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
5602 collect2name=`$CC -print-prog-name=collect2`
5603 if test -f "$collect2name" &&
5615 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5620 shared_flag='-shared'
5622 shared_flag="$shared_flag "'$wl-G'
5626 # /with/ Import File - we do not want to mix them.
5627 shared_flag_aix='-shared'
5628 shared_flag_svr4='-shared $wl-G'
5632 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
5633 # chokes on -Wl,-G. The following line is correct:
5634 shared_flag='-G'
5637 shared_flag='$wl-G'
5639 shared_flag='$wl-bM:SRE'
5641 shared_flag_aix='$wl-bM:SRE'
5642 shared_flag_svr4='$wl-G'
5646 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
5647 # It seems that -bexpall does not export symbols beginning with
5651 # Warning - without using the other runtime loading flags (-brtl),
5652 # -berok will link without error, but may produce a broken library.
5653 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
5657 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5658 …(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $co…
5661 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
5662 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
5663 …_LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $depli…
5668 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5669 # Warning - without using the other run time loading flags,
5670 # -berok will link without error, but may produce a broken library.
5671 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
5672 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
5674 # We only use this code for GNU lds that support --whole-archive.
5675 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
5681 …_LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$real…
5682 # -brtl affects multiple linker settings, -berok does not and is overridden later
5683 …compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\…
5686 …)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$…
5689-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
5691 # used by -dlpreopen to get the symbols
5694 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/…
5703 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5707ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $ou…
5708 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5715 _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
5735 …_LT_TAGVAR(archive_cmds, $1)='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,
5738 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
5740 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
5742 …$CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
5748 … $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'…
5760 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
5761 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
5774 …TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\…
5778 _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
5789 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5790 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5799 …_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++…
5800 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5807 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5813 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5815 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5816 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5823 …VAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -
5825 …_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objd…
5834 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5839 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $…
5841 …_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $link…
5848 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5859 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_fla…
5862 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $l…
5865 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $…
5871 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
5874 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs…
5878 # Older versions of the 11.00 compiler do not understand -b yet
5879 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
5880 _LT_LINKER_OPTION([if $CC understands -b],
5881 _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
5882 …[_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $…
5883 …[_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $lin…
5884 …[_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $…
5900 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5912-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
5913 # Try to use the -exported_symbol ld option, if it does not
5914 # work, assume that -exports_file does not work either and
5916 # This should be the same for all languages, so no per-tag cache variable.
5917 AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
5920 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
5935-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
5938-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "
5939-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "
5942 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5953 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5954 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5959 *-mlibc)
5962 netbsd* | netbsdelf*-gnu)
5963 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5964 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
5966 _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
5968 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5974 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5976 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5985 if test -f /usr/libexec/ld.so; then
5989 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5990 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5991 …TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $…
5992 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5993 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5995 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5996 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6004 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6008 …_LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $o…
6009 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
6010 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
6011 $ECHO EXPORTS >> $output_objdir/$libname.def~
6013 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
6014 emximp -o $lib $output_objdir/$libname.def'
6015 …_LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANC…
6016 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
6017 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
6018 $ECHO EXPORTS >> $output_objdir/$libname.def~
6021 prefix_cmds="$prefix_cmds -e 1d";
6023 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
6025 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
6026 emximp -o $lib $output_objdir/$libname.def'
6027 …_LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
6034 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
6035-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$ve…
6037 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
6038-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstrin…
6041 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6045 osf4* | osf5*) # as osf3* with the addition of -msym flag
6047 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
6048-shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$s…
6049 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6051 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
6052-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$ve…
6053 …in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%…
6054-shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $sona…
6056 # Both c and cxx compiler support -rpath directly
6057 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
6067 _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
6070 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libo…
6071 …GVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)…
6072 …$CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs…
6074 case `$CC -V 2>&1` in
6077 …_LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $li…
6078 …GVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)…
6079 …$LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $li…
6083 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $co…
6084 …GVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)…
6085 …$CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $…
6089 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6092 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
6095 # but understands '-z linker_flag'. GCC discards it without '$wl',
6099 …_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextra…
6101 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
6112 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
6114 …_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_fla…
6116 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6125 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6131 _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6132 _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
6136 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6145 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6147 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
6151 if test -d /usr/nec; then
6152 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6161 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6167 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6168 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
6170 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6171 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
6176 # Note: We CANNOT use -z defs as we might desire, because we do not
6177 # link with -lc, and that would cause any symbols used from libc to
6179 # ever link correctly. If we're not using GNU ld we use -z text
6180 # though, which does catch some bad symbols but isn't as heavy-handed
6181 # as -z defs.
6182 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6183 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
6186 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
6189 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
6193 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6194 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
6196 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6197 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
6202 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6203 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6215 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym'
6236 # Assume -lc should be added
6242 # FIXME: we may have to deal with multi-command sequences.
6245 # Test whether the compiler implicitly links with -lc since on some
6246 # systems, -lgcc has to come before -lc. If gcc already passes -lc
6247 # to ld, don't add -lc before -lgcc.
6248 AC_CACHE_CHECK([whether -lc should be explicitly linked in],
6251 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6260 compiler_flags=-v
6261 linker_flags=-v
6267 if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
6287 [Whether or not to add -lc for building shared libraries])
6298 [Create an old-style archive from a shared archive])
6300 [Create a temporary old-style archive to link instead of a shared archive])
6317 [Whether we need a single "-rpath" flag with a separated argument])
6327 [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
6362 # ------------------------
6397 if test -n "$compiler"; then
6420 if test -n "$RANLIB"; then
6426 aix[[4-9]]*)
6451 # --------------------------
6459 if test -n "$CXX" && ( test no != "$CXX" &&
6460 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
6502 # and will be corrupted by setting them based on a non-working compiler.
6525 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
6530 if test -n "${lt_cv_path_LDCXX+set}"; then
6535 test -z "${LDCXX+set}" || LD=$LDCXX
6536 CC=${CXX-"c++"}
6542 if test -n "$compiler"; then
6543 # We don't want -fno-exception when compiling C++ code, so set the
6546 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
6559 …s, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compil…
6560-shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $…
6562 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6563 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6566 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
6570 # ancient GNU ld didn't support --whole-archive et. al.
6571 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
6572 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
6585 …LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_obje…
6591 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
6607 aix[[4-9]]*)
6612 exp_sym_flag='-Bexport'
6618 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6621 # depending on the kind of the shared library created -
6632 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
6635 *-brtl*)
6642 # With aix-soname=svr4, we create the lib.so.V shared archives only,
6646 LDFLAGS="$LDFLAGS -Wl,-brtl"
6651 exp_sym_flag='-bexport'
6652 no_entry_flag='-bnoentry'
6657 # or program results in "error TOC overflow" add -mminimal-toc to
6659 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6666 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
6680 collect2name=`$CC -print-prog-name=collect2`
6681 if test -f "$collect2name" &&
6693 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6697 shared_flag='-shared'
6699 shared_flag=$shared_flag' $wl-G'
6703 # /with/ Import File - we do not want to mix them.
6704 shared_flag_aix='-shared'
6705 shared_flag_svr4='-shared $wl-G'
6709 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6710 # chokes on -Wl,-G. The following line is correct:
6711 shared_flag='-G'
6714 shared_flag='$wl-G'
6716 shared_flag='$wl-bM:SRE'
6718 shared_flag_aix='$wl-bM:SRE'
6719 shared_flag_svr4='$wl-G'
6723 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
6724 # It seems that -bexpall does not export symbols beginning with
6729 # Warning - without using the other runtime loading flags (-brtl),
6730 # -berok will link without error, but may produce a broken library.
6731 # The "-G" linker flag allows undefined symbols.
6732 _LT_TAGVAR(no_undefined_flag, $1)='-bernotok'
6736 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6738 …(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $co…
6741 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
6742 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
6743 …_LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $depli…
6748 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6749 # Warning - without using the other run time loading flags,
6750 # -berok will link without error, but may produce a broken library.
6751 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
6752 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
6754 # We only use this code for GNU lds that support --whole-archive.
6755 … _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
6761 …_LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$real…
6762 # -brtl affects multiple linker settings, -berok does not and is overridden later
6763 …compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\…
6766 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
6767 …)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$…
6770-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
6772 # used by -dlpreopen to get the symbols
6775 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/…
6781 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6784 # support --undefined. This deserves some investigation. FIXME
6785 …_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname…
6815 …_LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,
6818 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
6820 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
6822 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
6839 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
6840 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
6848 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6849 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
6855 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
6856-shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_ob…
6857 # If the export-symbols file already is a .def file, use it as
6862 echo EXPORTS > $output_objdir/$soname.def;
6865-shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $c…
6877 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6881 …_LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $o…
6882 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
6883 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
6884 $ECHO EXPORTS >> $output_objdir/$libname.def~
6886 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
6887 emximp -o $lib $output_objdir/$libname.def'
6888 …_LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANC…
6889 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
6890 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
6891 $ECHO EXPORTS >> $output_objdir/$libname.def~
6894 prefix_cmds="$prefix_cmds -e 1d";
6896 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
6898 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
6899 emximp -o $lib $output_objdir/$libname.def'
6900 …_LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
6929 freebsd-elf*)
6940 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
6947 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6959 …_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $outpu…
6968 …output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "[[-]]L"`; l…
6972 …rchive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_lib…
6990 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
7016 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $p…
7019 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $…
7022 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_obj…
7033 …output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP " [[-]]L"`; l…
7040 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects…
7043 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath
7046 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_l…
7058 interix[[3-9]]*)
7061 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7062 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
7067 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7069 …1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
7070-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output…
7076-shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname …
7079 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
7082 _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
7087-shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl
7089-shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl
7095 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7100 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7106 # ends with ".so" (or ".sl" for HP-UX), so rename the library
7108echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -
7109echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -
7118 …_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GRE…
7120 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7121 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7124 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
7125 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
7133 case `$CC -V 2>&1` in
7135 …VAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_fl…
7136 …='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$so…
7141 ia64*) tmp_idyn=' -i_dynamic';;
7143 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-sonam…
7144 …_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-r…
7148 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7149 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7150 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
7154 case `$CC -V` in
7155 *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
7157 rm -rf $tpldir~
7158 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
7159 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
7161 rm -rf $tpldir~
7162 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
7163 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
7166 rm -rf $tpldir~
7167 …$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $…
7168-shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $po…
7170 rm -rf $tpldir~
7171 …$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $…
7172-shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $pos…
7175 …rchive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compil…
7176-shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $…
7180 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir'
7181 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7182--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
7186 …VAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_fl…
7187 …mds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-sonam…
7190 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7201 …output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; tem…
7205 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7206 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7207 …_LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$sona…
7209 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
7210 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7211 echo "local: *; };" >> $output_objdir/$libname.ver~
7212 …$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$outp…
7216 case `$CC -V 2>&1 | $SED 5q` in
7219 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7220 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libob…
7221 …s, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_o…
7222 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7223--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conven…
7227 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
7232 # "CC -xar", where "CC" is the Sun C++ compiler. This is
7235 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7265 *-mlibc)
7270 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7271 …_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_…
7273 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7277 # Workaround some broken pre-1.5 toolchains
7278 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $…
7286 if test -f /usr/libexec/ld.so; then
7290 …LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_obje…
7291 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7292 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
7293 …ds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags …
7294 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
7295 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
7309 # ends with ".so" (or ".sl" for HP-UX), so rename the library
7311echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED…
7313 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7319 osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
7320 *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
7331 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
7332-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $w…
7333 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7336 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
7337-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -m…
7338 …hive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i"…
7339 echo "-hidden">> $lib.exp~
7340-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -m…
7342 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7356 …output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GR…
7360 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
7363-shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compil…
7366-shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objec…
7370 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7376 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
7418 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7419 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libob…
7420 …GVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)…
7421 …$CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs …
7423 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7426 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7429 # but understands '-z linker_flag'.
7431 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
7439 # "CC -xar", where "CC" is the Sun C++ compiler. This is
7442 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7446 …TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler…
7449 _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
7454 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs'
7455 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
7456 …hive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects…
7457 …GVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)…
7458 …$CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobj…
7463 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
7465 # g++ 2.7 appears to require '-G' NOT '-shared' on this
7467 …VAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compil…
7468 …GVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)…
7469 …$CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $pos…
7474 …output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | …
7477 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
7479 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7481 …_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextra…
7490 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7497 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7498 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
7501 … _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7502 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
7508 # Note: We CANNOT use -z defs as we might desire, because we do not
7509 # link with -lc, and that would cause any symbols used from libc to
7511 # ever link correctly. If we're not using GNU ld we use -z text
7512 # though, which does catch some bad symbols but isn't as heavy-handed
7513 # as -z defs.
7514 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7515 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
7518 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
7521 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
7526 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7527 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
7528 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
7530 _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
7534 … _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7535 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
7543 # NonStop-UX NCC 3.20
7584 fi # test -n "$compiler"
7603 # ----------------------
7610 # This function is identical to the (non-XSI) version of func_stripname,
7619 .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;;
7620 *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;;
7627 # ---------------------------------
7693 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
7694 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
7695 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
7711 -L* | -R* | -l*)
7712 # Some compilers place space between "-{L,R,l}" and the path.
7714 if test x-L = x"$p" ||
7715 test x-R = x"$p" ||
7716 test x-l = x"$p"; then
7722 if test -z "$prev"; then
7724 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
7725 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
7726 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
7734 -L | -R)
7738 if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
7744 # The "-l" case would never come before the object being
7748 if test -z "$_LT_TAGVAR(postdeps, $1)"; then
7767 if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
7773 if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
7787 rm -f a.out a.exe
7789 echo "libtool.m4: error: problem compiling $1 test program"
7792 $RM -f confest.$objext
7798 interix[[3-9]]*)
7809 *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
7812 if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
7813 …_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED
7830 # --------------------------
7836 if test -z "$F77" || test no = "$F77"; then
7872 # and will be corrupted by setting them based on a non-working compiler.
7898 CC=${F77-"f77"}
7904 if test -n "$compiler"; then
7916 if test -n "$RANLIB"; then
7921 aix[[4-9]]*)
7953 fi # test -n "$compiler"
7965 # -------------------------
7972 if test -z "$FC" || test no = "$FC"; then
7999 ac_ext=${ac_fc_srcext-f}
8008 # and will be corrupted by setting them based on a non-working compiler.
8034 CC=${FC-"f95"}
8042 if test -n "$compiler"; then
8054 if test -n "$RANLIB"; then
8059 aix[[4-9]]*)
8092 fi # test -n "$compiler"
8104 # --------------------------
8137 CC=${GCJ-"gcj"}
8155 if test -n "$compiler"; then
8175 # --------------------------
8208 CC=${GOC-"gccgo"}
8226 if test -n "$compiler"; then
8246 # -------------------------
8279 CC=${RC-"windres"}
8286 if test -n "$compiler"; then
8299 # -----------
8304 test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
8310 dnl aclocal-1.4 backwards compatibility:
8315 # ----------
8322 # ----------
8329 dnl aclocal-1.4 backwards compatibility:
8334 # --------------
8340 test -z "$GREP" && GREP=grep
8344 dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
8350 # --------------
8355 test -z "$OBJDUMP" && OBJDUMP=objdump
8361 # ----------------
8365 test -z "$DLLTOOL" && DLLTOOL=dlltool
8371 # ----------------
8379 # ------------
8380 # Check for a fully-functional sed program, that truncates
8384 test -z "$SED" && SED=sed
8385 Xsed="$SED -e 1s/^X//"
8387 _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
8388 [Sed that helps us avoid accidentally triggering echo(1) options like -n])
8390 dnl aclocal-1.4 backwards compatibility:
8395 # ------------------------
8407 case `echo X|tr X '\101'` in
8424 # -----------------------------
8427 # for certain cross-compile configurations and native mingw.
8434 *-*-mingw* )
8436 *-*-mingw* | *-*-windows* ) # actually msys
8439 *-*-cygwin* )
8447 *-*-cygwin* )
8449 *-*-mingw* | *-*-windows* ) # actually msys
8452 *-*-cygwin* )
8475 *-*-mingw* | *-*-windows* )
8477 *-*-mingw* | *-*-windows* ) # actually msys