• Home
  • Raw
  • Download

Lines Matching +full:binutils +full:- +full:powerpc64 +full:- +full:linux +full:- +full:gnu

1 # generated automatically by aclocal 1.16.5 -*- Autoconf -*-
3 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
23 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
25 # Copyright (C) 1996-2001, 2003-2019, 2021-2022 Free Software
38 # GNU Libtool is free software; you can redistribute it and/or modify
39 # it under the terms of the GNU General Public License as published by
43 # As a special exception to the GNU General Public License, if you
45 # using GNU Libtool, you may include this file under the same
48 # GNU Libtool is distributed in the hope that it will be useful, but
51 # GNU General Public License for more details.
53 # You should have received a copy of the GNU General Public License
54 # along with this program. If not, see <http://www.gnu.org/licenses/>.
61 # ------------------
64 [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
72 # ------------------
83 # ------------------
93 m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
103 _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
124 dnl aclocal-1.4 backwards compatibility:
130 # -----------------------
132 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
139 \-*) ;;
143 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
149 # -------------------
163 # ----------------------
167 [: ${CP="cp -f"}
168 : ${MV="mv -f"}
169 : ${RM="rm -f"}
174 # ---------
196 test -z "$LN_S" && LN_S="ln -s"
218 if test -n "\${ZSH_VERSION+set}"; then
222 if test -n "${ZSH_VERSION+set}"; then
256 test -z "$CC" && CC=cc
257 test -z "$LTCC" && LTCC=$CC
258 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
259 test -z "$LD" && LD=ld
260 test -z "$ac_objext" && ac_objext=o
265 test -z "$MAGIC_CMD" && MAGIC_CMD=file
283 # --------------------------
287 # double-quoted strings.
305 # ---------------
324 # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
325 # ----------------------------------------
326 # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
338 # ------------------------------
351 # -----------------------------------------------------
359 # -----------------------------
361 # full-stop to the whole comment if one is not present already.
372 # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
373 # -------------------------------------------------------------------
391 # --------------------------------------------------------
396 # ------------------------------------------------
402 # ---------------------------------------------------------
414 # --------------------------------------------------
420 # ---------------------------------------------------
426 # ---------------------------------------------------
437 # ------------------------------------------------
451 # ------------------------------------
460 # ------------------------------
473 # ----------------
482 # -----------------------------------
503 # -----------------------
504 # Produce commented declarations of non-tagged libtool config variables
515 # -------------------------
522 # ------------------------------
527 # -------------------
553 # The HP-UX ksh and POSIX shell print the target directory to stdout
586 # Double-quote double-evaled strings.
591 …\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_s…
603 # ------------------------------------
609 # the child script. The macro ends with non-zero status if the
621 SHELL=\${CONFIG_SHELL-$SHELL}
633 # ---------
658 -h, --help print this help, then exit
659 -V, --version print version number, then exit
660 -q, --quiet do not print progress messages
661 -d, --debug don't remove temporary files
663 Report bugs to <bug-libtool@gnu.org>."
677 --version | --v* | -V )
679 --help | --h* | -h )
681 --debug | --d* | -d )
683 --quiet | --q* | --silent | --s* | -q )
686 -*) AC_MSG_ERROR([unrecognized option: $[1]
687 Try '$[0] --help' for more information.]) ;;
690 Try '$[0] --help' for more information.]) ;;
717 lt_config_lt_args="$lt_config_lt_args --quiet"
726 # ---------------
727 # If TAG is the built-in tag, create an initial libtool script with a
738 if test -n "${ZSH_VERSION+set}"; then
751 # Provide generalized library-building support services.
795 # if finds mixed CR/LF and LF-only lines. Since sed operates in
799 || (rm -f "$cfgfile"; exit 1)
801 mv -f "$cfgfile" "$ofile" ||
802 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
825 # ---------------------
827 # --tag option, using:
828 # autoconf --trace 'LT_SUPPORTED_TAG:$1'
832 # C support is built-in for now
838 # -------------
857 # ------------------
869 # GNU Autoconf as AC_PROG_GO. When it is available in #
878 if test -z "$GOC"; then
879 if test -n "$ac_tool_prefix"; then
883 if test -z "$GOC"; then
891 # -----------------------
935 dnl aclocal-1.4 backwards compatibility:
944 # ----------------
951 _LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
954 LTCC=${LTCC-"$CC"}
957 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
965 # ------------------------
979 # ----------------------
988 $RM -r conftest*
992 # -------------------------
1008 [ldd/readelf like tool for Mach-O binaries on Mac OS X])
1010 [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
1012 AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
1014 if test -z "$LT_MULTI_MODULE"; then
1015 # By default we will add the -single_module flag. You can override
1017 # non-empty at configure time, or by adding -multi_module to the
1019 rm -rf libconftest.dylib*
1021 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1022 -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
1023 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1024 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
1026 # If there is a non-empty error log, and "single_module"
1028 if test -s conftest.err && $GREP single_module conftest.err; then
1032 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
1037 rm -rf libconftest.dylib*
1038 rm -f conftest.*
1041 AC_CACHE_CHECK([for -exported_symbols_list linker flag],
1046 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1053 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
1058 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
1059 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
1067 …echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAG…
1068 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
1070 if test -s conftest.err && $GREP force_load conftest.err; then
1072 …elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
1077 rm -f conftest.err libconftest.a conftest conftest.c
1078 rm -rf conftest.dSYM
1082 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
1084 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1087 10.[[012]],*|,*powerpc*-darwin[[5-8]]*)
1088 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1090 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1098 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
1100 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
1113 # ---------------------------------
1123 …ec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenienc…
1137 …_LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs…
1138 …_LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$co…
1139 …\$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobj…
1140 …sym_cmds, $1)="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC…
1143-r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_…
1144-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamicl…
1153 # ----------------------------------
1176 …_LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_a…
1177 # Check for a 64-bit object if we didn't find anything.
1178 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1179 …_LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$l…
1181 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1191 # -------------------
1193 [m4_divert_text([M4SH-INIT], [$1
1199 # -----------------------
1211 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
1212 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
1213 ECHO='print -r --'
1228 # Invoke $ECHO with all args, space-separated.
1236 print*) AC_MSG_RESULT([print -r]) ;;
1242 test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
1248 || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
1256 # ----------------
1261 [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
1272 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
1276 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
1286 AC_MSG_RESULT([${lt_sysroot:-no}])
1291 # ---------------
1293 [AC_ARG_ENABLE([libtool-lock],
1294 [AS_HELP_STRING([--disable-libtool-lock],
1301 ia64-*-hpux*)
1307 *ELF-32*)
1310 *ELF-64*)
1315 rm -rf conftest*
1317 *-*-irix6*)
1324 *32-bit*)
1325 LD="${LD-ld} -melf32bsmip"
1328 LD="${LD-ld} -melf32bmipn32"
1330 *64-bit*)
1331 LD="${LD-ld} -melf64bmip"
1336 *32-bit*)
1337 LD="${LD-ld} -32"
1340 LD="${LD-ld} -n32"
1342 *64-bit*)
1343 LD="${LD-ld} -64"
1348 rm -rf conftest*
1351 mips64*-*linux*)
1358 *32-bit*)
1361 *64-bit*)
1378 LD="${LD-ld} -m $emul"
1380 rm -rf conftest*
1383 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
1384 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1388 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
1394 *32-bit*)
1396 x86_64-*kfreebsd*-gnu)
1397 LD="${LD-ld} -m elf_i386_fbsd"
1399 x86_64-*linux*)
1401 *x86-64*)
1402 LD="${LD-ld} -m elf32_x86_64"
1405 LD="${LD-ld} -m elf_i386"
1409 powerpc64le-*linux*)
1410 LD="${LD-ld} -m elf32lppclinux"
1412 powerpc64-*linux*)
1413 LD="${LD-ld} -m elf32ppclinux"
1415 s390x-*linux*)
1416 LD="${LD-ld} -m elf_s390"
1418 sparc64-*linux*)
1419 LD="${LD-ld} -m elf32_sparc"
1423 *64-bit*)
1425 x86_64-*kfreebsd*-gnu)
1426 LD="${LD-ld} -m elf_x86_64_fbsd"
1428 x86_64-*linux*)
1429 LD="${LD-ld} -m elf_x86_64"
1431 powerpcle-*linux*)
1432 LD="${LD-ld} -m elf64lppc"
1434 powerpc-*linux*)
1435 LD="${LD-ld} -m elf64ppc"
1437 s390*-*linux*|s390*-*tpf*)
1438 LD="${LD-ld} -m elf64_s390"
1440 sparc*-*linux*)
1441 LD="${LD-ld} -m elf64_sparc"
1447 rm -rf conftest*
1450 *-*-sco3.2v5*)
1451 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1453 CFLAGS="$CFLAGS -belf"
1454 AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1459 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1463 *-*solaris*)
1469 *64-bit*)
1473 i?86-*-solaris*|x86_64-*-solaris*)
1474 LD="${LD-ld} -m elf_x86_64"
1476 sparc*-*-solaris*)
1477 LD="${LD-ld} -m elf64_sparc"
1480 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
1481 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
1482 LD=${LD-ld}_sol2
1486 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1487 LD="${LD-ld} -64"
1494 rm -rf conftest*
1503 # -----------
1515 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
1519 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
1521 _LT_DECL([], [AR_FLAGS], [\@S|@{ARFLAGS-"\@S|@lt_ar_flags"}],
1530 if test 0 -eq "$ac_status"; then
1532 rm -f conftest.$ac_objext libconftest.a
1534 if test 0 -ne "$ac_status"; then
1538 rm -f conftest.* libconftest.a
1553 # -------------------
1558 test -z "$STRIP" && STRIP=:
1562 test -z "$RANLIB" && RANLIB=:
1564 [Commands used to install an old-style archive])
1566 # Determine commands to create old-style static archives.
1571 if test -n "$RANLIB"; then
1574 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1592 [Commands used to build an old-style archive])
1598 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1599 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
1600 # ----------------------------------------------------------------
1616 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1617 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1618 -e 's:$: $lt_compiler_flag:'`
1624 if (exit $ac_status) && test -s "$ac_outfile"; then
1629 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1645 dnl aclocal-1.4 backwards compatibility:
1649 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1650 # [ACTION-SUCCESS], [ACTION-FAILURE])
1651 # ----------------------------------------------------
1661 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1664 if test -s conftest.err; then
1676 $RM -r conftest*
1689 dnl aclocal-1.4 backwards compatibility:
1694 #---------------
1712 gnu*)
1713 # Under GNU Hurd, this test is not required because there is
1715 # Libtool will interpret -1 as no limit whatsoever
1716 lt_cv_sys_max_cmd_len=-1;
1720 # On Win9x/ME, this test blows up -- it succeeds, but takes
1722 # Worse, since 9x/ME are not pre-emptively multitasking,
1743 if test -x /sbin/sysctl; then
1744 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
1745 elif test -x /usr/sbin/sysctl; then
1746 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
1772 if test -x /sbin/sysconfig; then
1773 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
1774 *1*) lt_cv_sys_max_cmd_len=-1 ;;
1783 if test -n "$kargmax"; then
1791 if test -n "$lt_cv_sys_max_cmd_len" && \
1801 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
1802 # If test is not a shell built-in, we'll probably end up computing a
1823 if test -n "$lt_cv_sys_max_cmd_len"; then
1835 dnl aclocal-1.4 backwards compatibility:
1840 # ----------------
1846 # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1847 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1848 # ----------------------------------------------------------------
1898 /* When -fvisibility=hidden is used, assume the code has been annotated
1926 if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
1939 rm -fr conftest*
1944 # ------------------
1975 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
1984 # because TPF is a cross-compiler, and we know how we open DSOs.
1994 [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
1998 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
2000 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
2002 [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
2020 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
2071 dnl aclocal-1.4 backwards compatibility:
2076 # ---------------------------
2077 # Check to see if options -c and -o are simultaneously supported by compiler.
2083 AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
2086 $RM -r conftest 2>/dev/null
2092 lt_compiler_flag="-o out/conftest2.$ac_objext"
2098 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2099 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
2100 -e 's:$: $lt_compiler_flag:'`
2106 if (exit $ac_status) && test -s out/conftest2.$ac_objext
2112 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
2120 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
2123 $RM -r conftest
2127 [Does compiler simultaneously support -c and -o options?])
2132 # ----------------------------------
2151 AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe])
2162 # ----------------
2165 [rm -f .libs 2>/dev/null
2167 if test -d .libs; then
2170 # MS-DOS does not allow filenames that begin with a dot.
2179 [Define to the sub-directory where libtool stores uninstalled libraries.])
2184 # --------------------------------------
2189 if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
2190 test -n "$_LT_TAGVAR(runpath_var, $1)" ||
2193 # We can hardcode non-existent directories.
2197 # when we should be linking with a yet-to-be-installed one
2228 # ----------------
2234 if test -z "$STRIP"; then
2237 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
2238 old_striplib="$STRIP --strip-debug"
2239 striplib="$STRIP --strip-unneeded"
2244 # FIXME - insert some real tests, host_os isn't really good enough
2245 striplib="$STRIP -x"
2246 old_striplib="$STRIP -S"
2250 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
2251 old_striplib="$STRIP --strip-debug"
2252 striplib="$STRIP --strip-unneeded"
2270 # ---------------------------
2274 # -----------------------------------
2299 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
2300 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
2311 # -----------------------------
2330 mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
2333 …lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_s…
2337 # otherwise default to the standard path separator (i.e. ":") - it is
2349 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
2351 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
2358 if test -d "$lt_sys_path$lt_multi_os_dir"; then
2360 elif test -n "$lt_multi_os_dir"; then
2361 test -d "$lt_sys_path" && \
2369 for (lt_i = NF; lt_i > 0; lt_i--) {
2377 lt_count--;
2389 $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
2411 # when you set need_version to no, make sure it does not cause -set_version
2416 [User-defined run-time library search path.])
2420 version_type=linux # correct to gnu/linux during the next big refactor
2428 aix[[4-9]]*)
2429 version_type=linux # correct to gnu/linux during the next big refactor
2447 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
2455 # filename-based versioning of shared library archives on AIX. While
2457 # prevent static linking of such archives. So we do filename-based
2462 # versioned .so libs for executables only if there is the -brtl
2463 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
2464 # To allow for filename-based versioning support, we need to create
2474 # but for link time we create the symlink libNAME.so -> libNAME.so.V
2504-n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$…
2514-z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z …
2515 …postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_librar…
2526 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
2544 version_type=linux # correct to gnu/linux during the next big refactor
2554 # libtool to hard-code these into programs
2569 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2571 test -d \$dldir || mkdir -p \$dldir~
2574 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2577 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2585 …soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuf…
2591 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2595 …library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$…
2604 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2621 …ath_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|…
2627 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
2628 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
2629 …sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEP…
2633 if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
2635 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2637 … sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2640 # common. (e.g. "Program Files" -> "PROGRA~1")
2646 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2648 test -d \$dldir || mkdir -p \$dldir~
2650 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2659 …library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.…
2683 version_type=linux # correct to gnu/linux during the next big refactor
2694 if test -x /usr/bin/objformat; then
2702 version_type=freebsd-$objformat
2704 freebsd-elf*)
2710 freebsd-*)
2724 freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
2725 freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
2737 version_type=linux # correct to gnu/linux during the next big refactor
2792 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
2798 interix[[3-9]]*)
2799 version_type=linux # correct to gnu/linux during the next big refactor
2815 version_type=linux # correct to gnu/linux during the next big refactor
2830 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
2831 libsuff= shlibsuff= libmagic=32-bit;;
2832 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
2834 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
2835 libsuff=64 shlibsuff=64 libmagic=64-bit;;
2836 *) libsuff= shlibsuff= libmagic=never-match;;
2847 # No shared lib support for Linux oldld, aout, or coff.
2848 linux*oldld* | linux*aout* | linux*coff*)
2852 linux*android*)
2868 # Don't embed -rpath directories since the linker doesn't support them.
2869 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2873 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2874 version_type=linux # correct to gnu/linux during the next big refactor
2879 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2883 # Some binutils ld are patched to set DT_RUNPATH
2891 [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
2906 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
2907 # even though it is searched at run-time. Try to do the best guess by
2909 if test -f /etc/ld.so.conf; then
2910 …skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwc…
2916 # GNU dynamic linker. Since this was broken with cross compilers,
2917 # most powerpc-linux boxes support dynamic linking these days and
2918 # people can always --disable-shared, the test was removed, and we
2919 # assume the GNU/Linux dynamic linker is in use.
2920 dynamic_linker='GNU/Linux ld.so'
2923 netbsdelf*-gnu)
2924 version_type=linux
2939 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
2941 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2954 version_type=linux # correct to gnu/linux during the next big refactor
2976 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
2982 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2994 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
2995 v=$($ECHO $release$versuffix | tr -d .-);
2996 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
3004 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
3006 test -d \$dldir || mkdir -p \$dldir~
3009 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
3012 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
3033 version_type=linux # correct to gnu/linux during the next big refactor
3058 version_type=linux # correct to gnu/linux during the next big refactor
3081 if test -d /usr/nec; then
3082 version_type=linux # correct to gnu/linux during the next big refactor
3099 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
3112 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
3113 version_type=linux # correct to gnu/linux during the next big refactor
3123 version_type=linux # correct to gnu/linux during the next big refactor
3152 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
3168 [Is shlibpath searched before the hard-coded library search path?])
3172 The last name is the one that the linker finds with -lNAME]])
3189 [Compile-time system search path for libraries])
3191 [Detected run-time system search path for libraries])
3198 # --------------------------
3211 dnl $ac_dummy forces splitting on constant user-supplied paths.
3217 test -z "$ac_dir" && ac_dir=.
3218 if test -f "$ac_dir/$1"; then
3220 if test -n "$file_magic_test_file"; then
3238 *** bug-libtool@gnu.org
3252 if test -n "$MAGIC_CMD"; then
3263 dnl aclocal-1.4 backwards compatibility:
3268 # --------------
3272 if test -z "$lt_cv_path_MAGIC_CMD"; then
3273 if test -n "$ac_tool_prefix"; then
3283 # ----------
3284 # find the pathname to the GNU or non-GNU linker
3293 AC_ARG_WITH([gnu-ld],
3294 [AS_HELP_STRING([--with-gnu-ld],
3295 [assume the C compiler uses GNU ld @<:@default=no@:>@])],
3301 # Check if gcc -print-prog-name=ld gives a path.
3304 *-*-mingw*)
3306 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3308 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3319 test -z "$LD" && LD=$ac_prog
3331 AC_MSG_CHECKING([for GNU ld])
3333 AC_MSG_CHECKING([for non-GNU ld])
3336 [if test -z "$LD"; then
3340 test -z "$ac_dir" && ac_dir=.
3341 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3343 # Check to see if the program is GNU ld. I'd rather use --version,
3344 # but apparently some variants of GNU ld only accept -v.
3345 # Break only if it was the GNU/non-GNU ld that we prefer.
3346 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3347 *GNU* | *'with BFD'*)
3361 if test -n "$LD"; then
3366 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
3376 dnl aclocal-1.4 backwards compatibility:
3382 #- --------------
3384 [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
3385 [# I'd rather use --version here, but apparently some GNU lds only accept -v.
3386 case `$LD -v 2>&1 </dev/null` in
3387 *GNU* | *'with BFD'*)
3399 # --------------
3401 # -- PORTME Some linkers may need a different reload flag.
3405 [lt_cv_ld_reload_flag='-r'])
3411 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3420 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
3422 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3432 # -----------
3441 cmp -s conftest.i conftest.out \
3444 rm -f conftest.i conftest2.i conftest.out])
3449 # ----------------
3458 cmp -s conftest.i conftest.out \
3461 rm -f conftest.i conftest2.i conftest.out
3462 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"])
3469 # ----------------------
3471 # -- PORTME fill in with the dynamic library characteristics
3482 # 'none' -- dependencies not supported.
3483 # 'unknown' -- same as none, but documents that we really don't know.
3484 # 'pass_all' -- all dependencies passed with no checks.
3485 # 'test_compile' -- check by making test program.
3486 # 'file_magic [[regex]]' -- check by looking for files in library path
3492 aix[[4-9]]*)
3501 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
3502 lt_cv_file_magic_cmd='$FILECMD -L'
3515 # unless we find 'file', for example because we are cross-compiling.
3521 …v_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x…
3522 lt_cv_file_magic_cmd='$OBJDUMP -f'
3528 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3529 lt_cv_file_magic_cmd='$OBJDUMP -f'
3537 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3542 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
3560 …lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object f…
3564 …heck_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)…
3568 …lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared lib…
3574 interix[[3-9]]*)
3581 *-32|*"-32 ") libmagic=32-bit;;
3582 *-n32|*"-n32 ") libmagic=N32;;
3583 *-64|*"-64 ") libmagic=64-bit;;
3584 *) libmagic=never-match;;
3590 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
3594 netbsd* | netbsdelf*-gnu)
3595 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3596 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3603 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3613 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
3614 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
3616 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3639 …bs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][…
3647 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib…
3651 lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
3680 …file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/…
3688 test -z "$deplibs_check_method" && deplibs_check_method=unknown
3702 # ----------
3703 # find the pathname to a BSD- or MS-compatible name lister
3706 AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
3707 [if test -n "$NM"; then
3712 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3719 test -z "$ac_dir" && ac_dir=.
3721 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
3722 # Check to see if the nm accepts a BSD-compat flag.
3723 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
3731 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
3733 lt_cv_path_NM="$tmp_nm -B"
3737 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
3739 lt_cv_path_NM="$tmp_nm -p"
3759 if test -n "$DUMPBIN"; then :
3762 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
3763 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
3765 DUMPBIN="$DUMPBIN -symbols -headers"
3777 test -z "$NM" && NM=nm
3779 _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
3795 rm -f conftest*])
3801 dnl aclocal-1.4 backwards compatibility:
3806 # --------------------------------
3809 # -- PORTME fill in with the dynamic library characteristics
3822 case `$DLLTOOL --help 2>&1` in
3823 *--identify-strict*)
3838 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
3846 # ----------------------
3850 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
3853 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
3854 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
3859 rm -f conftest*])
3868 # ---------------------
3873 test DEF = "`$SED -n dnl
3874 -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
3875 -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
3876 -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
3877 -e q dnl Only consider the first "real" line
3883 # --------
3889 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
3892 *-ncr-sysv4.3*)
3893 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
3894 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
3897 AC_CHECK_LIB(m, cos, LIBM=-lm)
3905 dnl aclocal-1.4 backwards compatibility:
3910 # -------------------------------
3919 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
3921 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
3924 _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
3926 [-fno-rtti -fno-exceptions], [],
3927 …o_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
3935 # ----------------------
3957 sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
3959 # Define system-specific variables.
3995 # If we're using GNU nm, then use its standard symbol codes.
3996 case `$NM -V 2>&1` in
3997 *GNU* | *'with BFD'*)
4003 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
4005 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
4006 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
4008 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
4009 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
4021 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
4023 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
4024 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
4027 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
4029 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
4030 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
4034 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
4036 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
4037 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
4038 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
4056 # Fake it for dumpbin and say T for any non-static function,
4076 …lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx…
4083 rm -f conftest*
4101 …_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&AS_MESSAGE_LOG_FD && test -s "$nlist"; then
4104 mv -f "$nlist"T "$nlist"
4106 rm -f "$nlist"T
4116 relocations are performed -- see ld's documentation on pseudo-relocs. */
4131 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4144 …$SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> c…
4166 if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
4184 rm -rf conftest* conftst*
4194 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4197 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4206 elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
4230 # ---------------------------
4240 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4241 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4248 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4250 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4257 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4261 # adding the '-m68020' flag to GCC prevents building anything better,
4262 # like '-m68040'.
4263 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4274 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4275 # (--disable-auto-import) libraries
4277 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4280 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4287 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4295 # The "-static" flag exists, but is broken.
4298 interix[[3-9]]*)
4299 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4303 if test -d /usr/nec; then
4304 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4308 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4309 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4315 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4320 # QNX uses GNU C++, but need to define -shared option too, otherwise
4322 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4325 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4330 aix[[4-9]]*)
4334 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4336 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4343 …# _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abor…
4351 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4356 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4360 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4367 # FreeBSD uses GNU C++
4372 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4373 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4379 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4380 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4401 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4402 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4403 # CC pic flag -KPIC is the default.
4409 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4413 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4414 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4417 # old Intel C++ for x86_64, which still supported -KPIC.
4418 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4419 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4420 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4424 # ICC 10 doesn't accept -KPIC any more.
4425 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4426 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4427 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4431 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4432 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4433 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4438 # Linux and Compaq Tru64 Unix objects are PIC.
4440 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4444 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4445 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4446 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4449 case `$CC -V 2>&1 | $SED 5q` in
4452 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4453 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4454 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4467 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
4473 netbsd* | netbsdelf*-gnu)
4476 # QNX uses GNU C++, but need to define -shared option too, otherwise
4478 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4483 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4487 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4491 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4493 # Linux and Compaq Tru64 Unix objects are PIC.
4495 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4507 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4508 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4509 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4513 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4523 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4524 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4528 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4537 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4538 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4539 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4546 # NonStop-UX NCC 3.20
4547 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4563 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4564 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4571 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4573 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4580 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4584 # adding the '-m68020' flag to GCC prevents building anything better,
4585 # like '-m68040'.
4586 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4598 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4599 # (--disable-auto-import) libraries
4601 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4604 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4612 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4617 # The "-static" flag exists, but is broken.
4622 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4623 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4630 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4635 interix[[3-9]]*)
4636 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4648 # QNX uses GNU C++, but need to define -shared option too, otherwise
4650 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4654 if test -d /usr/nec; then
4655 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4660 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4666 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
4667 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4668 _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
4676 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4679 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4681 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4688 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4692 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4693 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4694 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4703 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4706 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4712 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4713 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4714 # not for PA HP-UX.
4724 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4728 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4729 # PIC (with -KPIC) is the default.
4730 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4733 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4735 # old Intel for x86_64, which still supported -KPIC.
4737 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4738 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4739 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4743 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4744 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4745 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4748 # ICC 10 doesn't accept -KPIC any more.
4750 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4751 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4752 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4756 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4757 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
4758 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
4762 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4763 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4764 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4768 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4769 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4770 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4775 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4776 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4777 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4780 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4782 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4786 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4787 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4788 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4791 case `$CC -V 2>&1 | $SED 5q` in
4792 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
4794 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4795 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4799 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4800 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4801 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4805 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4806 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4807 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4810 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4811 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4812 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4815 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4816 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4817 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4825 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4826 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4830 # QNX uses GNU C++, but need to define -shared option too, otherwise
4832 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4836 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4838 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4842 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4846 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4847 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4850 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
4852 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
4857 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
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)='-KPIC'
4865 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4869 if test -d /usr/nec; then
4870 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
4871 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4876 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4877 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4878 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4882 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4887 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4888 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4898 # For platforms that do not support PIC, -DPIC is meaningless:
4903 …$1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[]…
4915 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4918 …[$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])]…
4946 # ----------------------------
4962 aix[[4-9]]*)
4963 # If we're using GNU nm, then we don't want the "-C" option.
4964 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
4965 # Without the "-l" option, or with the "-B" option, AIX nm treats
4967 # GNU nm marks them as "W".
4969 # it in the Import File for the 'aix-soname' feature, so we have
4970 # to replace the "-B" option with "-P" for AIX nm.
4971 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
4972-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
4974-e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\…
4986 …_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\'…
4987 … $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
4991 linux* | k*bsd*-gnu | gnu*)
5023 # include_expsyms should be a list of space-separated symbols to be *always*
5056 linux* | k*bsd*-gnu | gnu*)
5063 # On some targets, GNU ld is compatible enough with the native linker
5069 # The AIX port of GNU ld has always aspired to compatibility
5070 # with the native linker. However, as the warning in the GNU ld
5073 case `$LD -v 2>&1` in
5074 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
5075 *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
5076 *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
5092 # Set some defaults for GNU ld with shared library support. These
5096 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5097 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
5098 # ancient GNU ld didn't support --whole-archive et. al.
5099 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
5100 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
5105 case `$LD -v | $SED -e 's/([[^)]]\+)\s\+//' 2>&1` in
5106 *GNU\ gold*) supports_anon_versioning=yes ;;
5107 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
5114 # See if GNU ld supports shared libraries.
5116 aix[[3-9]]*)
5117 # On AIX/PPC, the GNU linker is very broken
5122 *** Warning: the GNU linker, at least up to release 2.19, is reported
5125 *** really care for shared libraries, you may want to install binutils
5126 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
5137 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5141 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5142 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5149 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5152 # support --undefined. This deserves some investigation. FIXME
5153 …_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname…
5162 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5163 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
5167 …_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\'…
5168 … $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
5170 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
5171 …e_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-a…
5172 # If the export-symbols file already is a .def file, use it as
5180 …CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname …
5187 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5192 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5201 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5202 emximp -o $lib $output_objdir/$libname.def'
5209 prefix_cmds="$prefix_cmds -e 1d";
5211 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5213 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5214 emximp -o $lib $output_objdir/$libname.def'
5215 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
5220 interix[[3-9]]*)
5223 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5224 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5229 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
5231 …1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
5232-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output…
5235 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
5237 if test linux-dietlibc = "$host_os"; then
5239 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
5242 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
5246 tmp_sharedflag='-shared'
5249--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
5254--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
5255 tmp_addflag=' $pic_flag -Mnomain' ;;
5257 tmp_addflag=' -i_dynamic' ;;
5259 tmp_addflag=' -i_dynamic -nofor_main' ;;
5261 tmp_addflag=' -nofor_main' ;;
5264 tmp_sharedflag='--shared' ;;
5266 tmp_sharedflag='-Wl,-shared' ;;
5268 tmp_sharedflag='-qmkshrobj'
5271--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
5275 case `$CC -V 2>&1 | $SED 5q` in
5277--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conven…
5279 tmp_sharedflag='-G' ;;
5281 tmp_sharedflag='-G' ;;
5283 … '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5287 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5289 …g"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$…
5294 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5295 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
5299 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
5300 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5301 … _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
5304 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5306 …$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libnam…
5315 netbsd* | netbsdelf*-gnu)
5316 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5317 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5320 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5321 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5326 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
5330 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
5332 *** is disabling shared libraries support. We urge you to upgrade GNU
5333 *** binutils to release 2.9.1 or newer. Another option is to modify
5338 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5339 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5340 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5347 case `$LD -v 2>&1` in
5348 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
5352 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
5354 *** is disabling shared libraries support. We urge you to upgrade GNU
5355 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
5366 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5367 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5368 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5369 …expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-s…
5378 …_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_…
5385 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5386 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5387 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5401 # PORTME fill in a description of your system's linker (not GNU ld)
5406 …(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$expo…
5408 # are no directories specified by -L.
5410 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
5417 aix[[4-9]]*)
5422 exp_sym_flag='-Bexport'
5425 # If we're using GNU nm, then we don't want the "-C" option.
5426 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
5427 # Without the "-l" option, or with the "-B" option, AIX nm treats
5429 # GNU nm marks them as "W".
5431 # it in the Import File for the 'aix-soname' feature, so we have
5432 # to replace the "-B" option with "-P" for AIX nm.
5433 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
5434-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
5436-e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\…
5441 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5444 # depending on the kind of the shared library created -
5455 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
5457 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
5463 # With aix-soname=svr4, we create the lib.so.V shared archives only,
5467 LDFLAGS="$LDFLAGS -Wl,-brtl"
5472 exp_sym_flag='-bexport'
5473 no_entry_flag='-bnoentry'
5478 # or program results in "error TOC overflow" add -mminimal-toc to
5480 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5487 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
5501 collect2name=`$CC -print-prog-name=collect2`
5502 if test -f "$collect2name" &&
5514 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5519 shared_flag='-shared'
5521 shared_flag="$shared_flag "'$wl-G'
5525 # /with/ Import File - we do not want to mix them.
5526 shared_flag_aix='-shared'
5527 shared_flag_svr4='-shared $wl-G'
5531 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
5532 # chokes on -Wl,-G. The following line is correct:
5533 shared_flag='-G'
5536 shared_flag='$wl-G'
5538 shared_flag='$wl-bM:SRE'
5540 shared_flag_aix='$wl-bM:SRE'
5541 shared_flag_svr4='$wl-G'
5545 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
5546 # It seems that -bexpall does not export symbols beginning with
5550 # Warning - without using the other runtime loading flags (-brtl),
5551 # -berok will link without error, but may produce a broken library.
5552 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
5556 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5557 …(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $co…
5560 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
5561 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
5562 …_LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $depli…
5567 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5568 # Warning - without using the other run time loading flags,
5569 # -berok will link without error, but may produce a broken library.
5570 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
5571 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
5573 # We only use this code for GNU lds that support --whole-archive.
5574 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
5580 …_LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$real…
5581 # -brtl affects multiple linker settings, -berok does not and is overridden later
5582 …compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\…
5585 …)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$…
5588-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
5590 # used by -dlpreopen to get the symbols
5593 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/…
5602 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5606 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5607 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5614 _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
5634 …_LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,
5639 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
5641 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
5647 … $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'…
5659 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
5660 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
5673 …TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\…
5677 _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
5688 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5689 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5698 …_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++…
5699 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5706 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5712 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5714 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5715 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5722 …VAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -
5724 …_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objd…
5733 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5738 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $…
5740 …_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $link…
5747 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5758 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_fla…
5761 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $l…
5764 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $…
5770 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
5773 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs…
5777 # Older versions of the 11.00 compiler do not understand -b yet
5778 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
5779 _LT_LINKER_OPTION([if $CC understands -b],
5780 _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
5781 …[_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $…
5782 …[_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $lin…
5783 …[_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $…
5799 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5811-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
5812 # Try to use the -exported_symbol ld option, if it does not
5813 # work, assume that -exports_file does not work either and
5815 # This should be the same for all languages, so no per-tag cache variable.
5816 AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
5819 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
5834-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
5838-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "
5839-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "
5842 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5848 linux*)
5853 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5854 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5859 netbsd* | netbsdelf*-gnu)
5860 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5861 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
5863 _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
5865 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5871 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5873 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5882 if test -f /usr/libexec/ld.so; then
5886 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5887 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5888 …TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $…
5889 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5890 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5892 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5893 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5901 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5910 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5911 emximp -o $lib $output_objdir/$libname.def'
5918 prefix_cmds="$prefix_cmds -e 1d";
5920 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5922 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5923 emximp -o $lib $output_objdir/$libname.def'
5924 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
5931 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
5932-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$ve…
5934 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5935-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstrin…
5938 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5942 osf4* | osf5*) # as osf3* with the addition of -msym flag
5944 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
5945-shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$s…
5946 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5948 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5949-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$ve…
5950 …in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%…
5951-shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $sona…
5953 # Both c and cxx compiler support -rpath directly
5954 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5961 _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
5964 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libo…
5965 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5966 …$CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs…
5968 case `$CC -V 2>&1` in
5971 …_LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $li…
5972 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5973 …$LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $li…
5977 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $co…
5978 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5979 …$CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $…
5983 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5986 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
5989 # but understands '-z linker_flag'. GCC discards it without '$wl',
5993 …_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextra…
5995 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
6006 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
6008 …_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_fla…
6010 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6019 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6025 _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6026 _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
6030 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6039 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6041 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
6045 if test -d /usr/nec; then
6046 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6055 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6061 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6062 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
6064 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6065 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
6070 # Note: We CANNOT use -z defs as we might desire, because we do not
6071 # link with -lc, and that would cause any symbols used from libc to
6073 # ever link correctly. If we're not using GNU ld we use -z text
6074 # though, which does catch some bad symbols but isn't as heavy-handed
6075 # as -z defs.
6076 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6077 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
6080 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
6083 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
6087 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6088 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
6090 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6091 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
6096 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6097 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6109 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym'
6130 # Assume -lc should be added
6136 # FIXME: we may have to deal with multi-command sequences.
6139 # Test whether the compiler implicitly links with -lc since on some
6140 # systems, -lgcc has to come before -lc. If gcc already passes -lc
6141 # to ld, don't add -lc before -lgcc.
6142 AC_CACHE_CHECK([whether -lc should be explicitly linked in],
6154 compiler_flags=-v
6155 linker_flags=-v
6161 if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
6181 [Whether or not to add -lc for building shared libraries])
6192 [Create an old-style archive from a shared archive])
6194 [Create a temporary old-style archive to link instead of a shared archive])
6202 [Whether we are building with GNU ld or not])
6211 [Whether we need a single "-rpath" flag with a separated argument])
6221 [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
6256 # ------------------------
6287 if test -n "$compiler"; then
6310 if test -n "$RANLIB"; then
6316 aix[[4-9]]*)
6341 # --------------------------
6349 if test -n "$CXX" && ( test no != "$CXX" &&
6350 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
6392 # and will be corrupted by setting them based on a non-working compiler.
6415 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
6420 if test -n "${lt_cv_path_LDCXX+set}"; then
6425 test -z "${LDCXX+set}" || LD=$LDCXX
6426 CC=${CXX-"c++"}
6432 if test -n "$compiler"; then
6433 # We don't want -fno-exception when compiling C++ code, so set the
6436 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
6442 # Set up default GNU C++ configuration
6446 # Check if GNU C++ uses GNU ld as the underlying linker, since the
6447 # archiving commands below assume that GNU ld is being used.
6449 …s, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compil…
6450-shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $…
6452 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6453 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6456 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
6460 # ancient GNU ld didn't support --whole-archive et. al.
6461 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
6462 $GREP 'no-whole-archive' > /dev/null; then
6463 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
6472 # command for GNU C++ for the case where it uses the native
6473 # linker, instead of GNU ld. If possible, this setting should
6476 …LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_obje…
6482 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
6498 aix[[4-9]]*)
6503 exp_sym_flag='-Bexport'
6509 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6512 # depending on the kind of the shared library created -
6523 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
6526 *-brtl*)
6533 # With aix-soname=svr4, we create the lib.so.V shared archives only,
6537 LDFLAGS="$LDFLAGS -Wl,-brtl"
6542 exp_sym_flag='-bexport'
6543 no_entry_flag='-bnoentry'
6548 # or program results in "error TOC overflow" add -mminimal-toc to
6550 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6557 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
6571 collect2name=`$CC -print-prog-name=collect2`
6572 if test -f "$collect2name" &&
6584 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6588 shared_flag='-shared'
6590 shared_flag=$shared_flag' $wl-G'
6594 # /with/ Import File - we do not want to mix them.
6595 shared_flag_aix='-shared'
6596 shared_flag_svr4='-shared $wl-G'
6600 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6601 # chokes on -Wl,-G. The following line is correct:
6602 shared_flag='-G'
6605 shared_flag='$wl-G'
6607 shared_flag='$wl-bM:SRE'
6609 shared_flag_aix='$wl-bM:SRE'
6610 shared_flag_svr4='$wl-G'
6614 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
6615 # It seems that -bexpall does not export symbols beginning with
6620 # Warning - without using the other runtime loading flags (-brtl),
6621 # -berok will link without error, but may produce a broken library.
6622 # The "-G" linker flag allows undefined symbols.
6623 _LT_TAGVAR(no_undefined_flag, $1)='-bernotok'
6627 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6629 …(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $co…
6632 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
6633 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
6634 …_LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $depli…
6639 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6640 # Warning - without using the other run time loading flags,
6641 # -berok will link without error, but may produce a broken library.
6642 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
6643 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
6645 # We only use this code for GNU lds that support --whole-archive.
6646 … _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
6652 …_LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$real…
6653 # -brtl affects multiple linker settings, -berok does not and is overridden later
6654 …compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\…
6657 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
6658 …)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$…
6661-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
6663 # used by -dlpreopen to get the symbols
6666 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/…
6672 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6675 # support --undefined. This deserves some investigation. FIXME
6676 …_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname…
6706 …_LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,
6711 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
6713 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
6730 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
6731 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
6739 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6740 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
6745 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
6746-shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_ob…
6747 # If the export-symbols file already is a .def file, use it as
6755-shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $c…
6767 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6776 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
6777 emximp -o $lib $output_objdir/$libname.def'
6784 prefix_cmds="$prefix_cmds -e 1d";
6786 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
6788 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
6789 emximp -o $lib $output_objdir/$libname.def'
6790 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
6819 freebsd-elf*)
6824 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
6830 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
6837 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6849 …_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $outpu…
6858 …output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP " \-L"`; lis…
6862 …rchive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_lib…
6880 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6906 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $p…
6909 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $…
6912 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_obj…
6923 …output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP " \-L"`; list…
6930 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects…
6933 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath
6936 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_l…
6948 interix[[3-9]]*)
6951 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6952 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6957 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6959 …1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
6960-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output…
6966-shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname …
6969 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
6972 _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
6977-shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl
6979-shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl
6985 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6990 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6996 # ends with ".so" (or ".sl" for HP-UX), so rename the library
6998-e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"…
6999-e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"…
7008 …_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GRE…
7010 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7011 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7014 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
7015 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
7023 case `$CC -V 2>&1` in
7025 …VAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_fl…
7026 …='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$so…
7031 ia64*) tmp_idyn=' -i_dynamic';;
7033 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-sonam…
7034 …_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-r…
7038 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7039 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7040 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
7044 case `$CC -V` in
7045 *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
7047 rm -rf $tpldir~
7048 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
7049 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
7051 rm -rf $tpldir~
7052 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
7053 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
7056 rm -rf $tpldir~
7057 …$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $…
7058-shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $po…
7060 rm -rf $tpldir~
7061 …$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $…
7062-shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $pos…
7065 …rchive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compil…
7066-shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $…
7070 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir'
7071 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7072--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
7076 …VAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_fl…
7077 …mds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-sonam…
7080 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7091 …output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; tem…
7094 # IBM XL 8.0 on PPC, with GNU ld
7095 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7096 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7097 …_LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$sona…
7100 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7102 …$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$outp…
7106 case `$CC -V 2>&1 | $SED 5q` in
7109 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7110 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libob…
7111 …s, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_o…
7112 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7113--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conven…
7117 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
7122 # "CC -xar", where "CC" is the Sun C++ compiler. This is
7125 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7156 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7157 …_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_…
7159 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7163 # Workaround some broken pre-1.5 toolchains
7164 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $…
7172 if test -f /usr/libexec/ld.so; then
7176 …LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_obje…
7177 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7178 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
7179 …ds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags …
7180 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
7181 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
7195 # ends with ".so" (or ".sl" for HP-UX), so rename the library
7197-e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so…
7199 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7205 osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
7206 *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
7217 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
7218-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $w…
7219 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7222 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
7223-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -m…
7224 …hive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i"…
7225 echo "-hidden">> $lib.exp~
7226-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -m…
7228 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7242 …output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GR…
7246 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
7249-shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compil…
7252-shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objec…
7256 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7262 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
7301 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7302 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libob…
7303 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
7304 …$CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs …
7306 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7309 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7312 # but understands '-z linker_flag'.
7314 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
7322 # "CC -xar", where "CC" is the Sun C++ compiler. This is
7325 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7329 …TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler…
7332 _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
7335 # GNU C++ compiler with Solaris linker
7337 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs'
7338 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
7339 …hive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects…
7340 …ve_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
7341 …$CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobj…
7346 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
7348 # g++ 2.7 appears to require '-G' NOT '-shared' on this
7350 …VAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compil…
7351 …ve_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
7352 …$CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $pos…
7357 …output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | …
7360 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
7362 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7364 …_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextra…
7373 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7380 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7381 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
7384 … _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7385 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
7391 # Note: We CANNOT use -z defs as we might desire, because we do not
7392 # link with -lc, and that would cause any symbols used from libc to
7394 # ever link correctly. If we're not using GNU ld we use -z text
7395 # though, which does catch some bad symbols but isn't as heavy-handed
7396 # as -z defs.
7397 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7398 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
7401 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
7404 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
7409 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7410 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
7411 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
7413 _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
7417 … _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7418 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
7426 # NonStop-UX NCC 3.20
7467 fi # test -n "$compiler"
7486 # ----------------------
7493 # This function is identical to the (non-XSI) version of func_stripname,
7510 # ---------------------------------
7576 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
7577 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
7578 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
7594 -L* | -R* | -l*)
7595 # Some compilers place space between "-{L,R}" and the path.
7597 if test x-L = "$p" ||
7598 test x-R = "$p"; then
7604 if test -z "$prev"; then
7606 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
7607 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
7608 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
7616 -L | -R)
7620 if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
7626 # The "-l" case would never come before the object being
7630 if test -z "$_LT_TAGVAR(postdeps, $1)"; then
7649 if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
7655 if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
7669 rm -f a.out a.exe
7674 $RM -f confest.$objext
7680 interix[[3-9]]*)
7691 *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
7694 if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
7695 …h_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'`
7712 # --------------------------
7718 if test -z "$F77" || test no = "$F77"; then
7754 # and will be corrupted by setting them based on a non-working compiler.
7780 CC=${F77-"f77"}
7786 if test -n "$compiler"; then
7798 if test -n "$RANLIB"; then
7803 aix[[4-9]]*)
7835 fi # test -n "$compiler"
7847 # -------------------------
7854 if test -z "$FC" || test no = "$FC"; then
7881 ac_ext=${ac_fc_srcext-f}
7890 # and will be corrupted by setting them based on a non-working compiler.
7916 CC=${FC-"f95"}
7924 if test -n "$compiler"; then
7936 if test -n "$RANLIB"; then
7941 aix[[4-9]]*)
7974 fi # test -n "$compiler"
7986 # --------------------------
7987 # Ensure that the configuration variables for the GNU Java Compiler compiler
8019 CC=${GCJ-"gcj"}
8033 if test -n "$compiler"; then
8053 # --------------------------
8054 # Ensure that the configuration variables for the GNU Go compiler
8086 CC=${GOC-"gccgo"}
8100 if test -n "$compiler"; then
8120 # -------------------------
8153 CC=${RC-"windres"}
8160 if test -n "$compiler"; then
8173 # -----------
8178 test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
8184 dnl aclocal-1.4 backwards compatibility:
8189 # ----------
8196 # ----------
8203 dnl aclocal-1.4 backwards compatibility:
8208 # --------------
8214 test -z "$GREP" && GREP=grep
8218 dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
8224 # --------------
8229 test -z "$OBJDUMP" && OBJDUMP=objdump
8235 # ----------------
8239 test -z "$DLLTOOL" && DLLTOOL=dlltool
8245 # ----------------
8253 # ------------
8254 # Check for a fully-functional sed program, that truncates
8255 # as few characters as possible. Prefer GNU sed if found.
8258 test -z "$SED" && SED=sed
8259 Xsed="$SED -e 1s/^X//"
8261 _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
8262 [Sed that helps us avoid accidentally triggering echo(1) options like -n])
8267 # GNU Autoconf as AC_PROG_SED. When it is available in #
8280 test -z "$as_dir" && as_dir=.
8295 test ! -f "$lt_ac_sed" && continue
8299 # Check for GNU sed and select it if it is found.
8300 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
8309 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
8310 cmp -s conftest.out conftest.nl || break
8312 test 10 -lt "$lt_ac_count" && break
8314 if test "$lt_ac_count" -gt "$lt_ac_max"; then
8329 dnl aclocal-1.4 backwards compatibility:
8334 # ------------------------
8363 # -----------------------------
8366 # for certain cross-compile configurations and native mingw.
8373 *-*-mingw* )
8375 *-*-mingw* ) # actually msys
8378 *-*-cygwin* )
8386 *-*-cygwin* )
8388 *-*-mingw* ) # actually msys
8391 *-*-cygwin* )
8414 *-*-mingw* )
8416 *-*-mingw* ) # actually msys
8429 # Helper functions for option handling. -*- Autoconf -*-
8431 # Copyright (C) 2004-2005, 2007-2009, 2011-2019, 2021-2022 Free
8445 # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
8446 # ------------------------------------------
8448 [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
8451 # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
8452 # ---------------------------------------
8453 # Set option OPTION-NAME for macro MACRO-NAME, and if there is a
8454 # matching handler defined, dispatch to it. Other OPTION-NAMEs are
8464 # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
8465 # ------------------------------------------------------------
8466 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
8471 # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
8472 # -------------------------------------------------------
8473 # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
8484 # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
8485 # ----------------------------------------
8486 # OPTION-LIST is a space-separated list of Libtool options associated
8487 # with MACRO-NAME. If any OPTION has a matching handler declared with
8501 _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
8506 dnl 'shared' nor 'disable-shared' was passed, we enable building of shared
8508 _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
8509 _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
8510 _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
8511 _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
8513 _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4],
8520 # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
8521 # -----------------------------------------
8523 [[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
8526 # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
8527 # -----------------------------------------------
8534 # ------
8545 dnl aclocal-1.4 backwards compatibility:
8549 # win32-dll
8550 # ---------
8552 LT_OPTION_DEFINE([LT_INIT], [win32-dll],
8556 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8563 test -z "$AS" && AS=as
8566 test -z "$DLLTOOL" && DLLTOOL=dlltool
8569 test -z "$OBJDUMP" && OBJDUMP=objdump
8571 ])# win32-dll
8575 _LT_SET_OPTION([LT_INIT], [win32-dll])
8578 put the 'win32-dll' option into LT_INIT's first parameter.])
8581 dnl aclocal-1.4 backwards compatibility:
8586 # ----------------------------
8587 # implement the --enable-shared flag, and supports the 'shared' and
8588 # 'disable-shared' LT_INIT options.
8593 [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
8595 [p=${PACKAGE-default}
8619 LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
8623 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
8627 [_LT_SET_OPTION([LT_INIT], [disable-shared])
8633 dnl aclocal-1.4 backwards compatibility:
8640 # ----------------------------
8641 # implement the --enable-static flag, and support the 'static' and
8642 # 'disable-static' LT_INIT options.
8647 [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
8649 [p=${PACKAGE-default}
8673 LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
8677 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
8681 [_LT_SET_OPTION([LT_INIT], [disable-static])
8687 dnl aclocal-1.4 backwards compatibility:
8694 # ----------------------------------
8695 # implement the --enable-fast-install flag, and support the 'fast-install'
8696 # and 'disable-fast-install' LT_INIT options.
8700 AC_ARG_ENABLE([fast-install],
8701 [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
8703 [p=${PACKAGE-default}
8726 LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
8727 LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
8731 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
8734 the 'fast-install' option into LT_INIT's first parameter.])
8738 [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
8741 the 'disable-fast-install' option into LT_INIT's first parameter.])
8744 dnl aclocal-1.4 backwards compatibility:
8750 # ----------------------------------
8751 # implement the --with-aix-soname flag, and support the `aix-soname=aix'
8752 # and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT
8758 power*-*-aix[[5-9]]*,yes)
8760 AC_ARG_WITH([aix-soname],
8761 [AS_HELP_STRING([--with-aix-soname=aix|svr4|both],
8767 AC_MSG_ERROR([Unknown argument to --with-aix-soname])
8779 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8781 if test 64 = "${OBJECT_MODE-32}"; then
8797 LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])])
8798 LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])])
8799 LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])])
8803 # --------------------
8804 # implement the --with-pic flag, and support the 'pic-only' and 'no-pic'
8809 [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
8810 [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
8811 [lt_p=${PACKAGE-default}
8832 LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
8833 LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
8837 [_LT_SET_OPTION([LT_INIT], [pic-only])
8840 put the 'pic-only' option into LT_INIT's first parameter.])
8843 dnl aclocal-1.4 backwards compatibility:
8861 # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
8863 # Copyright (C) 2004-2005, 2007-2008, 2011-2019, 2021-2022 Free Software
8878 # -----------------------------
8894 # ------------
8897 # Autoconf-2.59, which quotes differently.
8906 # lt_append(MACRO-NAME, STRING, [SEPARATOR])
8907 # ------------------------------------------
8908 # Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'.
8910 # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
8911 # No SEPARATOR is output if MACRO-NAME was previously undefined (different
8922 # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
8923 # ----------------------------------------------------------
8925 # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
8937 # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
8938 # -----------------------------------------------------------------------
8939 # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
8940 # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
8943 [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
8950 # -----------------------------
8956 # --------------------------------------------
8962 # ----------------------------------
8969 # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
8970 # -----------------------------------------------------------------
8978 # --------------------------------------------------------------
8986 # ltversion.m4 -- version numbers -*- Autoconf -*-
8988 # Copyright (C) 2004, 2011-2019, 2021-2022 Free Software Foundation,
8999 # This file is part of GNU Libtool
9011 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
9013 # Copyright (C) 2004-2005, 2007, 2009, 2011-2019, 2021-2022 Free
9039 # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
9111 # Copyright (C) 2002-2021 Free Software Foundation, Inc.
9118 # ----------------------------
9131 # -----------------------------
9138 # -------------------------------
9147 # Copyright (C) 2011-2021 Free Software Foundation, Inc.
9153 # AM_PROG_AR([ACT-IF-FAIL])
9154 # -------------------------
9155 # Try to determine the archiver interface, and trigger the ar-lib wrapper
9157 # ACT-IF-FAIL (default is to abort configure with a proper error message).
9162 AC_REQUIRE_AUX_FILE([ar-lib])dnl
9163 AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false])
9172 if test "$ac_status" -eq 0; then
9175 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
9177 if test "$ac_status" -eq 0; then
9183 rm -f conftest.lib libconftest.a
9191 # Microsoft lib, so override with the ar-lib wrapper script.
9194 # A longer-term fix would be to have automake use am__AR in this case,
9195 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
9197 AR="$am_aux_dir/ar-lib $AR"
9207 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
9209 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
9235 # are both prefixed by $srcdir. In an in-source build this is usually
9259 # AM_CONDITIONAL -*- Autoconf -*-
9261 # Copyright (C) 1997-2021 Free Software Foundation, Inc.
9267 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
9268 # -------------------------------------
9287 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
9292 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
9307 # ----------------------
9332 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9335 # instance it was reported that on HP-UX the gcc test will end up
9336 # making a dummy file named 'D' -- because '-MD' means "put the output
9338 rm -rf conftest.dir
9346 # both Tru64's cc and ICC support -MD to output dependencies as a
9354 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
9359 *\ -arch\ *\ -arch\ *) am__universal=true ;;
9363 *\ -arch\ *\ -arch\ *) am__universal=true ;;
9383 # We check with '-c' and '-o' for the sake of the "dashmstdout"
9385 # handle '-M -o', and we need to detect this. Also, some Intel
9387 am__obj=sub/conftest.${OBJEXT-o}
9388 am__minus_obj="-o $am__obj"
9395 # After this tag, mechanisms are not by side-effect, so they'll
9404 # This compiler won't grok '-c -o', but also, the minuso test has
9407 am__obj=conftest.${OBJEXT-o}
9415 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9420 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9422 # or remarks (even with -Werror). So we grep stderr for any message
9424 # When given -MP, icc 7.0 and 7.1 complain thusly:
9425 # icc: Command line warning: ignoring option '-M'; no argument required
9427 # icc: Command line remark: option '-MP' not supported
9437 rm -rf conftest.dir
9450 # -------------
9460 # ------------
9462 [AC_ARG_ENABLE([dependency-tracking], [dnl
9464 [--enable-dependency-tracking],
9467 [--disable-dependency-tracking],
9468 [speeds up one-time build])])
9481 # Generate code to set up dependency tracking. -*- Autoconf -*-
9483 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
9490 # ------------------------------
9493 # Older Autoconf quotes --file arguments for eval, but not when files
9494 # are listed without --file. Let's play safe and only enable the eval
9507 am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
9509 # dependency-tracking related rules and includes.
9512 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
9517 && sed -e '/# am--include-marker/d' "$am_filepart" \
9518 | $MAKE -f - am--depfiles]) || am_rc=$?
9520 if test $am_rc -ne 0; then
9522 for automatic dependency tracking. If GNU make was not used, consider
9523 re-running the configure script with MAKE="gmake" (or whatever is
9524 necessary). You can also try re-running configure with the
9525 '--disable-dependency-tracking' option to at least be able to build
9532 rm -f conftest-deps.mk
9538 # -----------------------------
9539 # This macro should only be invoked once -- use via AC_REQUIRE.
9547 [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
9549 # Do all the work for Automake. -*- Autoconf -*-
9551 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
9566 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
9568 # -----------------------------------------------
9570 # call (pre autoconf-2.50), which is being phased out. PACKAGE
9585 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
9589 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
9590 # is not polluted with repeated "-I."
9591 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
9593 if test -f $srcdir/config.status; then
9599 if test -z "$CYGPATH_W"; then
9600 if (cygpath --version) >/dev/null 2>/dev/null; then
9601 CYGPATH_W='cygpath -w'
9609 dnl Distinguish between old-style and new-style calls.
9612 [$0: two- and three-arguments forms are deprecated.])
9613 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
9617 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
9625 _AM_IF_OPTION([no-define],,
9632 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
9634 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
9642 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
9643 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
9650 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
9651 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
9653 _AM_IF_OPTION([no-dependencies],,
9672 if test -z "$CTAGS"; then
9676 if test -z "$ETAGS"; then
9680 if test -z "$CSCOPE"; then
9691 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
9693 # POSIX will say in a future version that running "rm -f" with no argument
9701 if rm -f && rm -fr && rm -rf; then : OK; else
9706 on the command line, even when the '-f' option is present. This is contrary
9710 Please tell bug-automake@gnu.org about your system, including the value
9723 You can download and install GNU coreutils to get an 'rm' implementation
9724 that behaves properly: <https://www.gnu.org/software/coreutils/>.
9728 to "yes", and re-run configure.
9735 dnl backward compatibility and to allow trailing 'dnl'-style comments
9745 # When config.status generates a header, we must update the stamp-h file.
9764 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
9766 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
9773 # ------------------
9780 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
9782 install_sh="\${SHELL} $am_aux_dir/install-sh"
9787 # Copyright (C) 2003-2021 Free Software Foundation, Inc.
9793 # Check whether the underlying file-system supports filenames
9794 # with a leading dot. For instance MS-DOS doesn't.
9796 [rm -rf .tst 2>/dev/null
9798 if test -d .tst; then
9806 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
9809 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
9815 # AM_MAINTAINER_MODE([DEFAULT-MODE])
9816 # ----------------------------------
9817 # Control maintainer-specific portions of Makefiles.
9820 # can override the default with the --enable/--disable switch.
9827 AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
9828 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
9829 AC_ARG_ENABLE([maintainer-mode],
9830 [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
9842 # Check to see how 'make' treats includes. -*- Autoconf -*-
9844 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
9851 # -----------------
9855 [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
9865 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
9866 echo 'include confinc.mk # ignored' > confmf.GNU
9868 for s in GNU BSD; do
9869 AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
9880 rm -f confinc.* confmf.*
9885 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
9887 # Copyright (C) 1997-2021 Free Software Foundation, Inc.
9894 # ------------------------------
9897 $1=${$1-"${am_missing_run}$2"}
9901 # ------------------
9911 if eval "$MISSING --is-lightweight"; then
9919 # -*- Autoconf -*-
9923 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
9945 [AC_FATAL([automatic de-ANSI-fication support has been removed])])
9948 # Helper functions for option handling. -*- Autoconf -*-
9950 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
9957 # -----------------------
9959 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
9962 # --------------------
9968 # ------------------------
9969 # OPTIONS is a space-separated list of Automake options.
9973 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
9974 # -------------------------------------------
9975 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
9979 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
9986 # ---------------
9994 [whether $CC understands -c and -o together],
9999 # compilers refuse to overwrite an existing .o file with -o,
10003 if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
10004 && test -f conftest2.$ac_objext; then
10011 rm -f core conftest*
10017 # A longer-term fix would be to have automake use am__CC in this case,
10026 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
10033 # -------------------
10043 # Check to make sure that the build environment is sane. -*- Autoconf -*-
10045 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
10052 # ---------------
10069 # arguments. Must try -L first in case configure is actually a
10077 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
10079 # -L didn't work.
10080 set X `ls -t "$srcdir/configure" conftest.file`
10089 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
10092 if test "$[2]" = conftest.file || test $am_try -eq 2; then
10118 if test -n "$am_sleep_pid"; then
10123 rm -f conftest.file
10126 # Copyright (C) 2009-2021 Free Software Foundation, Inc.
10133 # --------------------------
10137 [AC_ARG_ENABLE([silent-rules], [dnl
10139 [--enable-silent-rules],
10142 [--disable-silent-rules],
10154 am_make=${MAKE-make}
10163 .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
10186 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
10193 # ---------------------
10194 # One issue with vendor 'install' (even GNU) is that you can't
10196 # annoying in cross-compiling environments, where the build's strip
10198 # Fortunately install-sh will honor a STRIPPROG variable, so we
10199 # always use install-sh in "make install-strip", and initialize
10204 # run "make install-strip". However 'strip' might not be the right
10205 # tool to use in cross-compilation environments, therefore Automake
10211 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
10214 # Copyright (C) 2006-2021 Free Software Foundation, Inc.
10221 # ---------------------------
10227 # --------------------------
10231 # Check how to create a tarball. -*- Autoconf -*-
10233 # Copyright (C) 2004-2021 Free Software Foundation, Inc.
10240 # --------------------
10245 # writing to stdout a FORMAT-tarball containing the directory
10255 # in the wild :-( We should find a proper way to deprecate it ...
10256 AC_SUBST([AMTAR], ['$${TAR-tar}'])
10262 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
10266 [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
10270 am_max_uid=2097151 # 2^21 - 1
10273 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
10276 am_uid=`id -u || echo unknown`
10277 am_gid=`id -g || echo unknown`
10279 if test $am_uid -le $am_max_uid; then
10286 if test $am_gid -le $am_max_gid; then
10302 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
10308 AM_RUN_LOG([$_am_tar --version]) && break
10310 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
10311 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
10312 am__untar="$_am_tar -xf -"
10315 # Must skip GNU tar: if it does not support --format= it doesn't create
10317 (tar --version) >/dev/null 2>&1 && continue
10318 am__tar='tar chf - "$$tardir"'
10319 am__tar_='tar chf - "$tardir"'
10320 am__untar='tar xf -'
10323 am__tar='pax -L -x $1 -w "$$tardir"'
10324 am__tar_='pax -L -x $1 -w "$tardir"'
10325 am__untar='pax -r'
10328 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
10329 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
10330 am__untar='cpio -i -H $1 -d'
10341 test -n "${am_cv_prog_tar_$1}" && break
10344 rm -rf conftest.dir
10348 rm -rf conftest.dir
10349 if test -s conftest.tar; then
10355 rm -rf conftest.dir