Lines Matching +full:1 +full:- +full:installer +full:- +full:darwin +full:- +full:x86_64

1 # generated automatically by aclocal 1.16.2 -*- Autoconf -*-
3 # Copyright (C) 1996-2020 Free Software Foundation, Inc.
23 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
25 # Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
60 # ------------------
63 [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
65 [m4_fatal([Libtool version $1 or higher is required],
71 # ------------------
82 # ------------------
92 m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
102 _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
105 _LT_SET_OPTIONS([$0], [$1])
123 dnl aclocal-1.4 backwards compatibility:
129 # -----------------------
131 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
138 \-*) ;;
142 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
148 # -------------------
156 func_cc_basename $1
162 # ----------------------
166 [: ${CP="cp -f"}
167 : ${MV="mv -f"}
168 : ${RM="rm -f"}
173 # ---------
180 _LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
195 test -z "$LN_S" && LN_S="ln -s"
196 _LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
216 if test -n "\${ZSH_VERSION+set}"; then
220 if test -n "${ZSH_VERSION+set}"; then
254 test -z "$CC" && CC=cc
255 test -z "$LTCC" && LTCC=$CC
256 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
257 test -z "$LD" && LD=ld
258 test -z "$ac_objext" && ac_objext=o
263 test -z "$MAGIC_CMD" && MAGIC_CMD=file
281 # --------------------------
285 # double-quoted strings.
286 sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
289 double_quote_subst='s/\([["`\\]]\)/\\\1/g'
303 # ---------------
322 # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
323 # ----------------------------------------
324 # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
326 [m4_ifval([$1],
328 [$1
336 # ------------------------------
339 [m4_ifval([$1],
341 [$1
349 # -----------------------------------------------------
351 [_LT_CONFIG_LIBTOOL([$1])
357 # -----------------------------
359 # full-stop to the whole comment if one is not present already.
361 [m4_ifval([$1], [
362 m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
363 [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
370 # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
371 # -------------------------------------------------------------------
374 # VALUE may be 0, 1 or 2 for a computed quote escaped value based on
379 [m4_ifval([$1], [$1], [$2])])
389 # --------------------------------------------------------
390 m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
394 # ------------------------------------------------
400 # ---------------------------------------------------------
404 [1], [m4_fatal([$0: too few arguments: $#: $1])],
405 [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
406 [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
412 # --------------------------------------------------
414 [_lt_decl_filter([value], [1], $@)])
418 # ---------------------------------------------------
424 # ---------------------------------------------------
427 _$0(m4_quote(m4_default([$1], [[, ]])),
431 [m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
435 # ------------------------------------------------
437 [_$0(m4_quote(m4_default([$1], [[, ]])),
443 [lt_join($@, lt_decl_varnames_tagged([$1],
449 # ------------------------------------
454 [$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
458 # ------------------------------
471 # ----------------
480 # -----------------------------------
487 [_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
490 m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
491 m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
492 [0], [_libtool_name=[$]$1],
493 [1], [_libtool_name=$lt_[]$1],
494 [2], [_libtool_name=$lt_[]$1],
495 [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
501 # -----------------------
502 # Produce commented declarations of non-tagged libtool config variables
513 # -------------------------
516 [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
520 # ------------------------------
521 m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
525 # -------------------
539 [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
551 # The HP-UX ksh and POSIX shell print the target directory to stdout
553 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
567 \$[]1
584 # Double-quote double-evaled strings.
589 …\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_s…
601 # ------------------------------------
607 # the child script. The macro ends with non-zero status if the
615 cat >$1 <<_ASEOF || lt_write_fail=1
619 SHELL=\${CONFIG_SHELL-$SHELL}
622 cat >>$1 <<\_ASEOF || lt_write_fail=1
625 exec AS_MESSAGE_FD>&1
627 test 0 = "$lt_write_fail" && chmod +x $1[]dnl
631 # ---------
656 -h, --help print this help, then exit
657 -V, --version print version number, then exit
658 -q, --quiet do not print progress messages
659 -d, --debug don't remove temporary files
661 Report bugs to <bug-libtool@gnu.org>."
674 case $[1] in
675 --version | --v* | -V )
677 --help | --h* | -h )
679 --debug | --d* | -d )
681 --quiet | --q* | --silent | --s* | -q )
684 -*) AC_MSG_ERROR([unrecognized option: $[1]
685 Try '$[0] --help' for more information.]) ;;
687 *) AC_MSG_ERROR([unrecognized argument: $[1]
688 Try '$[0] --help' for more information.]) ;;
715 lt_config_lt_args="$lt_config_lt_args --quiet"
719 $lt_cl_success || AS_EXIT(1)
724 # ---------------
725 # If TAG is the built-in tag, create an initial libtool script with a
732 m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
736 if test -n "${ZSH_VERSION+set}"; then
741 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
747 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
750 # Provide generalized library-building support services.
794 # if finds mixed CR/LF and LF-only lines. Since sed operates in
798 || (rm -f "$cfgfile"; exit 1)
800 mv -f "$cfgfile" "$ofile" ||
801 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
806 dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
808 # ### BEGIN LIBTOOL TAG CONFIG: $1
810 # ### END LIBTOOL TAG CONFIG: $1
814 [m4_if([$1], [], [
824 # ---------------------
826 # --tag option, using:
827 # autoconf --trace 'LT_SUPPORTED_TAG:$1'
831 # C support is built-in for now
837 # -------------
841 m4_case([$1],
849 [m4_ifdef([_LT_LANG_]$1[_CONFIG],
850 [_LT_LANG($1)],
851 [m4_fatal([$0: unsupported language: "$1"])])])dnl
856 # ------------------
858 [m4_ifdef([_LT_LANG_]$1[_enabled], [],
859 [LT_SUPPORTED_TAG([$1])dnl
860 m4_append([_LT_TAGS], [$1 ])dnl
861 m4_define([_LT_LANG_]$1[_enabled], [])dnl
862 _LT_LANG_$1_CONFIG($1)])dnl
877 if test -z "$GOC"; then
878 if test -n "$ac_tool_prefix"; then
882 if test -z "$GOC"; then
890 # -----------------------
934 dnl aclocal-1.4 backwards compatibility:
943 # ----------------
947 _LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
948 _LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
949 _LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
953 LTCC=${LTCC-"$CC"}
956 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
964 # ------------------------
971 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
978 # ----------------------
985 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
987 $RM -r conftest*
991 # -------------------------
994 rhapsody* | darwin*)
1000 _LT_DECL([], [DSYMUTIL], [1],
1002 _LT_DECL([], [NMEDIT], [1],
1004 _LT_DECL([], [LIPO], [1],
1006 _LT_DECL([], [OTOOL], [1],
1007 [ldd/readelf like tool for Mach-O binaries on Mac OS X])
1008 _LT_DECL([], [OTOOL64], [1],
1009 [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
1011 AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
1013 if test -z "$LT_MULTI_MODULE"; then
1014 # By default we will add the -single_module flag. You can override
1016 # non-empty at configure time, or by adding -multi_module to the
1018 rm -rf libconftest.dylib*
1019 echo "int foo(void){return 1;}" > conftest.c
1020 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1021 -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
1022 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1023 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
1025 # If there is a non-empty error log, and "single_module"
1027 if test -s conftest.err && $GREP single_module conftest.err; then
1031 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
1036 rm -rf libconftest.dylib*
1037 rm -f conftest.*
1040 AC_CACHE_CHECK([for -exported_symbols_list linker flag],
1045 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1052 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
1057 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
1058 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
1066 …echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAG…
1067 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
1069 if test -s conftest.err && $GREP force_load conftest.err; then
1071 …elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
1076 rm -f conftest.err libconftest.a conftest conftest.c
1077 rm -rf conftest.dSYM
1081 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
1083 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1084 darwin*)
1087 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1089 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1097 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
1099 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
1112 # ---------------------------------
1113 # Checks for linker and compiler features on darwin
1117 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
1118 _LT_TAGVAR(hardcode_direct, $1)=no
1119 _LT_TAGVAR(hardcode_automatic, $1)=yes
1120 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1122 …(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_conveni…
1123 m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
1124 [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes])
1126 _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1128 _LT_TAGVAR(link_all_deplibs, $1)=yes
1129 _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined
1136 …_LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs…
1137 …_LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$co…
11381)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$…
1139 …e_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~…
1140 m4_if([$1], [CXX],
11421)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_u…
11431)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_priva…
1147 _LT_TAGVAR(ld_shlibs, $1)=no
1152 # ----------------------------------
1166 AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
1171 s/^0 *\([^ ]*\) *$/\1/
1175 …_LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_a…
1176 # Check for a 64-bit object if we didn't find anything.
1177 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1178 …_LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$l…
1180 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1181 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib
1184 aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
1190 # -------------------
1192 [m4_divert_text([M4SH-INIT], [$1
1198 # -----------------------
1210 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
1211 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
1212 ECHO='print -r --'
1220 $[]1
1227 # Invoke $ECHO with all args, space-separated.
1235 print*) AC_MSG_RESULT([print -r]) ;;
1241 test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
1247 || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
1249 _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
1250 _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
1255 # ----------------
1259 [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
1270 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
1274 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
1284 AC_MSG_RESULT([${lt_sysroot:-no}])
1289 # ---------------
1291 [AC_ARG_ENABLE([libtool-lock],
1292 [AS_HELP_STRING([--disable-libtool-lock],
1299 ia64-*-hpux*)
1305 *ELF-32*)
1308 *ELF-64*)
1313 rm -rf conftest*
1315 *-*-irix6*)
1322 *32-bit*)
1323 LD="${LD-ld} -melf32bsmip"
1326 LD="${LD-ld} -melf32bmipn32"
1328 *64-bit*)
1329 LD="${LD-ld} -melf64bmip"
1334 *32-bit*)
1335 LD="${LD-ld} -32"
1338 LD="${LD-ld} -n32"
1340 *64-bit*)
1341 LD="${LD-ld} -64"
1346 rm -rf conftest*
1349 mips64*-*linux*)
1356 *32-bit*)
1359 *64-bit*)
1376 LD="${LD-ld} -m $emul"
1378 rm -rf conftest*
1381 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
1382 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1386 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
1392 *32-bit*)
1394 x86_64-*kfreebsd*-gnu)
1395 LD="${LD-ld} -m elf_i386_fbsd"
1397 x86_64-*linux*)
1399 *x86-64*)
1400 LD="${LD-ld} -m elf32_x86_64"
1403 LD="${LD-ld} -m elf_i386"
1407 powerpc64le-*linux*)
1408 LD="${LD-ld} -m elf32lppclinux"
1410 powerpc64-*linux*)
1411 LD="${LD-ld} -m elf32ppclinux"
1413 s390x-*linux*)
1414 LD="${LD-ld} -m elf_s390"
1416 sparc64-*linux*)
1417 LD="${LD-ld} -m elf32_sparc"
1421 *64-bit*)
1423 x86_64-*kfreebsd*-gnu)
1424 LD="${LD-ld} -m elf_x86_64_fbsd"
1426 x86_64-*linux*)
1427 LD="${LD-ld} -m elf_x86_64"
1429 powerpcle-*linux*)
1430 LD="${LD-ld} -m elf64lppc"
1432 powerpc-*linux*)
1433 LD="${LD-ld} -m elf64ppc"
1435 s390*-*linux*|s390*-*tpf*)
1436 LD="${LD-ld} -m elf64_s390"
1438 sparc*-*linux*)
1439 LD="${LD-ld} -m elf64_sparc"
1445 rm -rf conftest*
1448 *-*-sco3.2v5*)
1449 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1451 CFLAGS="$CFLAGS -belf"
1452 AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1457 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1461 *-*solaris*)
1467 *64-bit*)
1471 i?86-*-solaris*|x86_64-*-solaris*)
1472 LD="${LD-ld} -m elf_x86_64"
1474 sparc*-*-solaris*)
1475 LD="${LD-ld} -m elf64_sparc"
1479 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
1480 LD=${LD-ld}_sol2
1484 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1485 LD="${LD-ld} -64"
1492 rm -rf conftest*
1501 # -----------
1506 _LT_DECL([], [AR], [1], [The archiver])
1507 _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
1515 if test 0 -eq "$ac_status"; then
1517 rm -f conftest.$ac_objext libconftest.a
1519 if test 0 -ne "$ac_status"; then
1523 rm -f conftest.* libconftest.a
1532 _LT_DECL([], [archiver_list_spec], [1],
1538 # -------------------
1543 test -z "$STRIP" && STRIP=:
1544 _LT_DECL([], [STRIP], [1], [A symbol stripping program])
1547 test -z "$RANLIB" && RANLIB=:
1548 _LT_DECL([], [RANLIB], [1],
1549 [Commands used to install an old-style archive])
1551 # Determine commands to create old-style static archives.
1556 if test -n "$RANLIB"; then
1559 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1569 darwin*)
1577 [Commands used to build an old-style archive])
1583 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1584 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
1585 # ----------------------------------------------------------------
1590 AC_CACHE_CHECK([$1], [$2],
1595 # Insert the option either (1) after the last *FLAGS variable, or
1601 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1602 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1603 -e 's:$: $lt_compiler_flag:'`
1609 if (exit $ac_status) && test -s "$ac_outfile"; then
1614 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1630 dnl aclocal-1.4 backwards compatibility:
1634 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1635 # [ACTION-SUCCESS], [ACTION-FAILURE])
1636 # ----------------------------------------------------
1641 AC_CACHE_CHECK([$1], [$2],
1646 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1649 if test -s conftest.err; then
1651 cat conftest.err 1>&AS_MESSAGE_LOG_FD
1661 $RM -r conftest*
1674 dnl aclocal-1.4 backwards compatibility:
1679 #---------------
1700 # Libtool will interpret -1 as no limit whatsoever
1701 lt_cv_sys_max_cmd_len=-1;
1705 # On Win9x/ME, this test blows up -- it succeeds, but takes
1707 # Worse, since 9x/ME are not pre-emptively multitasking,
1726 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
1728 if test -x /sbin/sysctl; then
1729 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
1730 elif test -x /usr/sbin/sysctl; then
1731 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
1752 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
1757 if test -x /sbin/sysconfig; then
1758 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
1759 *1*) lt_cv_sys_max_cmd_len=-1 ;;
1768 if test -n "$kargmax"; then
1776 if test -n "$lt_cv_sys_max_cmd_len" && \
1782 # a 1K string should be a reasonable start.
1783 for i in 1 2 3 4 5 6 7 8; do
1786 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
1787 # If test is not a shell built-in, we'll probably end up computing a
1791 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
1792 test 17 != "$i" # 1/2 MB should be enough
1794 i=`expr $i + 1`
1798 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
1802 # linker. It appears as though 1/2 is a usable value.
1808 if test -n "$lt_cv_sys_max_cmd_len"; then
1820 dnl aclocal-1.4 backwards compatibility:
1825 # ----------------
1831 # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1832 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1833 # ----------------------------------------------------------------
1839 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1883 /* When -fvisibility=hidden is used, assume the code has been annotated
1911 if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
1915 x$lt_dlno_uscore) $1 ;;
1924 rm -fr conftest*
1929 # ------------------
1957 darwin*)
1960 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
1969 # because TPF is a cross-compiler, and we know how we open DSOs.
1979 [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
1983 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
1985 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
1987 [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
2005 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
2056 dnl aclocal-1.4 backwards compatibility:
2061 # ---------------------------
2062 # Check to see if options -c and -o are simultaneously supported by compiler.
2068 AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
2069 [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
2070 [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
2071 $RM -r conftest 2>/dev/null
2077 lt_compiler_flag="-o out/conftest2.$ac_objext"
2078 # Insert the option either (1) after the last *FLAGS variable, or
2083 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2084 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
2085 -e 's:$: $lt_compiler_flag:'`
2091 if (exit $ac_status) && test -s out/conftest2.$ac_objext
2097 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
2098 _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
2105 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
2108 $RM -r conftest
2111 _LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
2112 [Does compiler simultaneously support -c and -o options?])
2117 # ----------------------------------
2122 _LT_COMPILER_C_O([$1])
2125 if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; then
2136 AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe])
2142 _LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
2147 # ----------------
2150 [rm -f .libs 2>/dev/null
2152 if test -d .libs; then
2155 # MS-DOS does not allow filenames that begin with a dot.
2164 [Define to the sub-directory where libtool stores uninstalled libraries.])
2169 # --------------------------------------
2173 _LT_TAGVAR(hardcode_action, $1)=
2174 if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
2175 test -n "$_LT_TAGVAR(runpath_var, $1)" ||
2176 test yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then
2178 # We can hardcode non-existent directories.
2179 if test no != "$_LT_TAGVAR(hardcode_direct, $1)" &&
2182 # when we should be linking with a yet-to-be-installed one
2183 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" &&
2184 test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then
2186 _LT_TAGVAR(hardcode_action, $1)=relink
2189 _LT_TAGVAR(hardcode_action, $1)=immediate
2194 _LT_TAGVAR(hardcode_action, $1)=unsupported
2196 AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
2198 if test relink = "$_LT_TAGVAR(hardcode_action, $1)" ||
2199 test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then
2213 # ----------------
2219 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
2220 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
2221 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
2224 # FIXME - insert some real tests, host_os isn't really good enough
2226 darwin*)
2227 if test -n "$STRIP"; then
2228 striplib="$STRIP -x"
2229 old_striplib="$STRIP -S"
2240 _LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
2241 _LT_DECL([], [striplib], [1])
2246 # ---------------------------
2250 # -----------------------------------
2269 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
2272 eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
2275 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
2276 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
2279 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
2287 # -----------------------------
2298 m4_if([$1],
2302 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
2306 mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
2309 …lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_s…
2313 # otherwise default to the standard path separator (i.e. ":") - it is
2325 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
2327 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
2334 if test -d "$lt_sys_path$lt_multi_os_dir"; then
2336 elif test -n "$lt_multi_os_dir"; then
2337 test -d "$lt_sys_path" && \
2345 for (lt_i = NF; lt_i > 0; lt_i--) {
2353 lt_count--;
2359 if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
2365 $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
2387 # when you set need_version to no, make sure it does not cause -set_version
2392 [User-defined run-time library search path.])
2404 aix[[4-9]]*)
2423 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
2431 # filename-based versioning of shared library archives on AIX. While
2433 # prevent static linking of such archives. So we do filename-based
2438 # versioned .so libs for executables only if there is the -brtl
2439 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
2440 # To allow for filename-based versioning support, we need to create
2450 # but for link time we create the symlink libNAME.so -> libNAME.so.V
2480-n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$…
2490-z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z …
2491 …postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_librar…
2502 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
25081%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibr…
2530 # libtool to hard-code these into programs
2545 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2547 test -d \$dldir || mkdir -p \$dldir~
2550 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2553 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2561 …soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuff…
2562 m4_if([$1], [],[
2567 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2571 …library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$v…
2580 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2597 …path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|…
2602 # like /cygdrive/c/PROGRA~1:/cygdr...
2603 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
2604 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
2605 …sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEP…
2609 if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
2611 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2613 … sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2616 # common. (e.g. "Program Files" -> "PROGRA~1")
2622 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2624 test -d \$dldir || mkdir -p \$dldir~
2626 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2635 …library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.…
2643 darwin* | rhapsody*)
2645 version_type=darwin
2653 m4_if([$1], [],[
2670 if test -x /usr/bin/objformat; then
2678 version_type=freebsd-$objformat
2680 freebsd-elf*)
2686 freebsd-*)
2700 freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
2701 freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
2768 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
2774 interix[[3-9]]*)
2780 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
2806 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
2807 libsuff= shlibsuff= libmagic=32-bit;;
2808 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
2810 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
2811 libsuff=64 shlibsuff=64 libmagic=64-bit;;
2812 *) libsuff= shlibsuff= libmagic=never-match;;
2844 # Don't embed -rpath directories since the linker doesn't support them.
2845 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2849 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2855 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2864 eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
2865 LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
2867 [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
2882 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
2883 # even though it is searched at run-time. Try to do the best guess by
2885 if test -f /etc/ld.so.conf; then
2886 …tc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.…
2890 # We used to test for /lib/ld.so.1 and disable shared libraries on
2893 # most powerpc-linux boxes support dynamic linking these days and
2894 # people can always --disable-shared, the test was removed, and we
2903 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
2905 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2940 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
2946 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2958 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
2959 v=$($ECHO $release$versuffix | tr -d .-);
2960 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
2968 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
2970 test -d \$dldir || mkdir -p \$dldir~
2973 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2976 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
3045 if test -d /usr/nec; then
3076 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
3116 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
3122 _LT_DECL([], [variables_saved_for_relink], [1],
3132 [Is shlibpath searched before the hard-coded library search path?])
3133 _LT_DECL([], [libname_spec], [1], [Format of library name prefix])
3134 _LT_DECL([], [library_names_spec], [1],
3136 The last name is the one that the linker finds with -lNAME]])
3137 _LT_DECL([], [soname_spec], [1],
3139 _LT_DECL([], [install_override_mode], [1],
3147 _LT_DECL([], [finish_eval], [1],
3153 [Compile-time system search path for libraries])
3155 [Detected run-time system search path for libraries])
3162 # --------------------------
3166 AC_MSG_CHECKING([for $1])
3175 dnl $ac_dummy forces splitting on constant user-supplied paths.
3181 test -z "$ac_dir" && ac_dir=.
3182 if test -f "$ac_dir/$1"; then
3183 lt_cv_path_MAGIC_CMD=$ac_dir/"$1"
3184 if test -n "$file_magic_test_file"; then
3193 cat <<_LT_EOF 1>&2
3202 *** bug-libtool@gnu.org
3216 if test -n "$MAGIC_CMD"; then
3227 dnl aclocal-1.4 backwards compatibility:
3232 # --------------
3236 if test -z "$lt_cv_path_MAGIC_CMD"; then
3237 if test -n "$ac_tool_prefix"; then
3247 # ----------
3248 # find the pathname to the GNU or non-GNU linker
3257 AC_ARG_WITH([gnu-ld],
3258 [AS_HELP_STRING([--with-gnu-ld],
3265 # Check if gcc -print-prog-name=ld gives a path.
3268 *-*-mingw*)
3270 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3272 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3280 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3283 test -z "$LD" && LD=$ac_prog
3297 AC_MSG_CHECKING([for non-GNU ld])
3300 [if test -z "$LD"; then
3304 test -z "$ac_dir" && ac_dir=.
3305 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3307 # Check to see if the program is GNU ld. I'd rather use --version,
3308 # but apparently some variants of GNU ld only accept -v.
3309 # Break only if it was the GNU/non-GNU ld that we prefer.
3310 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3325 if test -n "$LD"; then
3330 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
3334 _LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
3340 dnl aclocal-1.4 backwards compatibility:
3346 #- --------------
3349 [# I'd rather use --version here, but apparently some GNU lds only accept -v.
3350 case `$LD -v 2>&1 </dev/null` in
3363 # --------------
3365 # -- PORTME Some linkers may need a different reload flag.
3369 [lt_cv_ld_reload_flag='-r'])
3375 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3382 darwin*)
3384 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
3386 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3390 _LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
3396 # -----------
3404 [if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
3405 cmp -s conftest.i conftest.out \
3408 rm -f conftest.i conftest2.i conftest.out])
3413 # ----------------
3421 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
3422 cmp -s conftest.i conftest.out \
3423 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
3425 rm -f conftest.i conftest2.i conftest.out
3426 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"])
3427 _LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1],
3433 # ----------------------
3435 # -- PORTME fill in with the dynamic library characteristics
3446 # 'none' -- dependencies not supported.
3447 # 'unknown' -- same as none, but documents that we really don't know.
3448 # 'pass_all' -- all dependencies passed with no checks.
3449 # 'test_compile' -- check by making test program.
3450 # 'file_magic [[regex]]' -- check by looking for files in library path
3456 aix[[4-9]]*)
3465 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
3466 lt_cv_file_magic_cmd='/usr/bin/file -L'
3479 # unless we find 'file', for example because we are cross-compiling.
3480 if ( file / ) >/dev/null 2>&1; then
3485 …v_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x…
3486 lt_cv_file_magic_cmd='$OBJDUMP -f'
3492 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3493 lt_cv_file_magic_cmd='$OBJDUMP -f'
3496 darwin* | rhapsody*)
3501 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3506 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
3524 …lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object f…
3528 …heck_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)…
3532 …lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared lib…
3538 interix[[3-9]]*)
3545 *-32|*"-32 ") libmagic=32-bit;;
3546 *-n32|*"-n32 ") libmagic=N32;;
3547 *-64|*"-64 ") libmagic=64-bit;;
3548 *) libmagic=never-match;;
3554 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
3559 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3560 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3567 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3577 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
3578 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
3580 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3603 …bs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][…
3611 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib…
3615 lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
3641 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
3644 …o aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g…
3652 test -z "$deplibs_check_method" && deplibs_check_method=unknown
3654 _LT_DECL([], [deplibs_check_method], [1],
3656 _LT_DECL([], [file_magic_cmd], [1],
3658 _LT_DECL([], [file_magic_glob], [1],
3660 _LT_DECL([], [want_nocaseglob], [1],
3666 # ----------
3667 # find the pathname to a BSD- or MS-compatible name lister
3670 AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
3671 [if test -n "$NM"; then
3676 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3683 test -z "$ac_dir" && ac_dir=.
3685 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
3686 # Check to see if the nm accepts a BSD-compat flag.
3687 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
3695 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
3697 lt_cv_path_NM="$tmp_nm -B"
3701 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3703 lt_cv_path_NM="$tmp_nm -p"
3723 if test -n "$DUMPBIN"; then :
3726 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
3727 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
3729 DUMPBIN="$DUMPBIN -symbols -headers"
3741 test -z "$NM" && NM=nm
3743 _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
3759 rm -f conftest*])
3765 dnl aclocal-1.4 backwards compatibility:
3770 # --------------------------------
3773 # -- PORTME fill in with the dynamic library characteristics
3786 case `$DLLTOOL --help 2>&1` in
3787 *--identify-strict*)
3802 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
3804 _LT_DECL([], [sharedlib_from_linklib_cmd], [1],
3810 # ----------------------
3814 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
3817 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
3818 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
3823 rm -f conftest*])
3827 _LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl
3832 # ---------------------
3837 test DEF = "`$SED -n dnl
3838 -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
3839 -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
3840 -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
3841 -e q dnl Only consider the first "real" line
3842 $1`" dnl
3847 # --------
3853 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
3856 *-ncr-sysv4.3*)
3857 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
3858 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
3861 AC_CHECK_LIB(m, cos, LIBM=-lm)
3869 dnl aclocal-1.4 backwards compatibility:
3874 # -------------------------------
3878 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
3883 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
3885 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
3888 _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
3890 [-fno-rtti -fno-exceptions], [],
3891 …TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -f…
3893 _LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
3899 # ----------------------
3921 sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
3923 # Define system-specific variables.
3960 case `$NM -V 2>&1` in
3967 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
3969 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
3970 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
3972 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
3973 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
3985 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
3987 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
3988 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
3991 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
3993 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
3994 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
3998 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
4000 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
4001 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
4002 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
4008 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4016 symxfrm="\\1 $ac_symprfx\\2 \\2"
4020 # Fake it for dumpbin and say T for any non-static function,
4027 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4036 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
4037 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
4040 …lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$…
4047 rm -f conftest*
4064 …if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$n…
4067 mv -f "$nlist"T "$nlist"
4069 rm -f "$nlist"T
4079 relocations are performed -- see ld's documentation on pseudo-relocs. */
4094 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4107 …$SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> c…
4128 CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
4129 if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
4147 rm -rf conftest* conftst*
4157 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4160 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4169 elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
4173 _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
4175 _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
4177 _LT_DECL([global_symbol_to_import], [lt_cv_sys_global_symbol_to_import], [1],
4180 [lt_cv_sys_global_symbol_to_c_name_address], [1],
4183 [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
4185 _LT_DECL([nm_interface], [lt_cv_nm_interface], [1],
4187 _LT_DECL([], [nm_file_list_spec], [1],
4193 # ---------------------------
4196 _LT_TAGVAR(lt_prog_compiler_wl, $1)=
4197 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4198 _LT_TAGVAR(lt_prog_compiler_static, $1)=
4200 m4_if([$1], [CXX], [
4203 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4204 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4211 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4213 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4220 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4224 # adding the '-m68020' flag to GCC prevents building anything better,
4225 # like '-m68040'.
4226 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4237 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4238 # (--disable-auto-import) libraries
4239 m4_if([$1], [GCJ], [],
4240 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4243 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4247 darwin* | rhapsody*)
4250 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4254 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4258 # The "-static" flag exists, but is broken.
4259 _LT_TAGVAR(lt_prog_compiler_static, $1)=
4261 interix[[3-9]]*)
4262 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4266 if test -d /usr/nec; then
4267 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4271 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4272 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4278 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4283 # QNX uses GNU C++, but need to define -shared option too, otherwise
4285 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4288 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4293 aix[[4-9]]*)
4297 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4299 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4306 …# _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abor…
4313 m4_if([$1], [GCJ], [],
4314 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4319 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4323 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4335 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4336 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4338 _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4342 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4343 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4349 _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4364 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4365 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4366 # CC pic flag -KPIC is the default.
4372 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4376 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4377 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4380 # old Intel C++ for x86_64, which still supported -KPIC.
4381 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4382 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4383 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4387 # ICC 10 doesn't accept -KPIC any more.
4388 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4389 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4390 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4394 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4395 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4396 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4402 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4403 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4407 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4408 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4409 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4412 case `$CC -V 2>&1 | sed 5q` in
4415 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4416 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4417 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4430 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
4439 # QNX uses GNU C++, but need to define -shared option too, otherwise
4441 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4446 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4449 # Rational C++ 2.4.1
4450 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4454 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4457 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4458 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4470 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4471 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4472 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4476 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4486 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4487 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4491 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4500 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4501 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4502 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4509 # NonStop-UX NCC 3.20
4510 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4519 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4526 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4527 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4534 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4536 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4543 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4547 # adding the '-m68020' flag to GCC prevents building anything better,
4548 # like '-m68040'.
4549 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4561 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4562 # (--disable-auto-import) libraries
4563 m4_if([$1], [GCJ], [],
4564 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4567 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4572 darwin* | rhapsody*)
4575 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4580 # The "-static" flag exists, but is broken.
4581 _LT_TAGVAR(lt_prog_compiler_static, $1)=
4585 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4586 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4593 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4598 interix[[3-9]]*)
4599 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4606 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4611 # QNX uses GNU C++, but need to define -shared option too, otherwise
4613 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4617 if test -d /usr/nec; then
4618 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4623 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4629 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
4630 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4631 _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
4639 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4642 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4644 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4648 darwin* | rhapsody*)
4651 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4655 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4656 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4657 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4665 m4_if([$1], [GCJ], [],
4666 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4669 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4675 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4676 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4677 # not for PA HP-UX.
4683 _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4687 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4691 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4692 # PIC (with -KPIC) is the default.
4693 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4696 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4698 # old Intel for x86_64, which still supported -KPIC.
4700 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4701 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4702 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4705 # ICC 10 doesn't accept -KPIC any more.
4707 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4708 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4709 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4713 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4714 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
4715 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
4719 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4720 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4721 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4725 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4726 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4727 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4732 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4733 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4734 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4737 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4739 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4743 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4744 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4745 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4748 case `$CC -V 2>&1 | sed 5q` in
4749 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
4751 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4752 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4753 _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
4756 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4757 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4758 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4762 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4763 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4764 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4767 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4768 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4769 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4772 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4773 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4774 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4782 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4783 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4787 # QNX uses GNU C++, but need to define -shared option too, otherwise
4789 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4793 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4794 # All OSF/1 code is PIC.
4795 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4799 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4803 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4804 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4807 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
4809 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
4814 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4815 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4816 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4820 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4821 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4822 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4826 if test -d /usr/nec; then
4827 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
4828 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4833 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4834 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4835 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4839 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4840 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4844 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4845 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4849 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4855 # For platforms that do not support PIC, -DPIC is meaningless:
4857 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4860 …T_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC…
4865 [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)],
4866 [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
4867 _LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)
4872 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4873 _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
4874 [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
4875 …[$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])]…
4876 [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
4878 *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
4880 [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
4881 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
4883 _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
4886 _LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
4891 wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_stat…
4893 _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
4896 [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
4897 _LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
4903 # ----------------------------
4915 m4_if([$1], [CXX], [
4916 …_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/…
4917 _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
4919 aix[[4-9]]*)
4920 # If we're using GNU nm, then we don't want the "-C" option.
4921 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
4922 # Without the "-l" option, or with the "-B" option, AIX nm treats
4926 # it in the Import File for the 'aix-soname' feature, so we have
4927 # to replace the "-B" option with "-P" for AIX nm.
4928 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
49291)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B"…
49311)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk …
4935 _LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds
4940 _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
49431)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^…
4944 …_LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-
4949 …_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/…
4954 _LT_TAGVAR(allow_undefined_flag, $1)=
4955 _LT_TAGVAR(always_export_symbols, $1)=no
4956 _LT_TAGVAR(archive_cmds, $1)=
4957 _LT_TAGVAR(archive_expsym_cmds, $1)=
4958 _LT_TAGVAR(compiler_needs_object, $1)=no
4959 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
4960 _LT_TAGVAR(export_dynamic_flag_spec, $1)=
4961 …_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/…
4962 _LT_TAGVAR(hardcode_automatic, $1)=no
4963 _LT_TAGVAR(hardcode_direct, $1)=no
4964 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
4965 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
4966 _LT_TAGVAR(hardcode_libdir_separator, $1)=
4967 _LT_TAGVAR(hardcode_minus_L, $1)=no
4968 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
4969 _LT_TAGVAR(inherit_rpath, $1)=no
4970 _LT_TAGVAR(link_all_deplibs, $1)=unknown
4971 _LT_TAGVAR(module_cmds, $1)=
4972 _LT_TAGVAR(module_expsym_cmds, $1)=
4973 _LT_TAGVAR(old_archive_from_new_cmds, $1)=
4974 _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
4975 _LT_TAGVAR(thread_safe_flag_spec, $1)=
4976 _LT_TAGVAR(whole_archive_flag_spec, $1)=
4977 # include_expsyms should be a list of space-separated symbols to be *always*
4979 _LT_TAGVAR(include_expsyms, $1)=
4984 _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
5012 _LT_TAGVAR(ld_shlibs, $1)=yes
5024 case `$LD -v 2>&1` in
5026 *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
5027 *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
5047 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5048 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
5049 # ancient GNU ld didn't support --whole-archive et. al.
5050 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
5051 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
5053 _LT_TAGVAR(whole_archive_flag_spec, $1)=
5056 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
5058 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
5067 aix[[3-9]]*)
5070 _LT_TAGVAR(ld_shlibs, $1)=no
5071 cat <<_LT_EOF 1>&2
5077 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
5088 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5089 _LT_TAGVAR(archive_expsym_cmds, $1)=''
50921)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary…
5093 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5094 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5100 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5101 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5103 # support --undefined. This deserves some investigation. FIXME
5104 …_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname…
5106 _LT_TAGVAR(ld_shlibs, $1)=no
5111 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
5113 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5114 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
5115 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5116 _LT_TAGVAR(always_export_symbols, $1)=no
5117 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
51181)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^…
5119 …_LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-
5121 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
5122 …chive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enab…
5123 # If the export-symbols file already is a .def file, use it as
5125 _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
5131 …CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname …
5133 _LT_TAGVAR(ld_shlibs, $1)=no
5138 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5139 _LT_TAGVAR(link_all_deplibs, $1)=yes
5143 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5144 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5145 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5147 …_LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $o…
5152 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5153 emximp -o $lib $output_objdir/$libname.def'
5154 …_LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANC…
5159 if test EXPORTS = "`$SED 1q $export_symbols`"; then
5160 prefix_cmds="$prefix_cmds -e 1d";
5162 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5164 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5165 emximp -o $lib $output_objdir/$libname.def'
5166 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
5167 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5170 interix[[3-9]]*)
5171 _LT_TAGVAR(hardcode_direct, $1)=no
5172 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5173 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5174 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5179 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
5181 …s, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`exp…
51821)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $de…
5185 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
5187 if test linux-dietlibc = "$host_os"; then
5189 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
5192 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
5196 tmp_sharedflag='-shared'
51991)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$n…
52041)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$n…
5205 tmp_addflag=' $pic_flag -Mnomain' ;;
5207 tmp_addflag=' -i_dynamic' ;;
5209 tmp_addflag=' -i_dynamic -nofor_main' ;;
5211 tmp_addflag=' -nofor_main' ;;
5213 _LT_TAGVAR(whole_archive_flag_spec, $1)=
5214 tmp_sharedflag='--shared' ;;
5216 tmp_sharedflag='-Wl,-shared' ;;
5218 tmp_sharedflag='-qmkshrobj'
52211)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$n…
5222 _LT_TAGVAR(compiler_needs_object, $1)=yes
5225 case `$CC -V 2>&1 | sed 5q` in
52271)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new…
5228 _LT_TAGVAR(compiler_needs_object, $1)=yes
5229 tmp_sharedflag='-G' ;;
5231 tmp_sharedflag='-G' ;;
5233 …_LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_fl…
5236 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
5237 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5239 …g"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$…
5244 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
5248 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
5249 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5250 … _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
5252 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
5253 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5255 …$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libnam…
5260 _LT_TAGVAR(ld_shlibs, $1)=no
5265 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5266 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5269 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5270 …xpsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl
5275 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
5276 _LT_TAGVAR(ld_shlibs, $1)=no
5277 cat <<_LT_EOF 1>&2
5282 *** binutils to release 2.9.1 or newer. Another option is to modify
5287 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5288 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5289 …xpsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl
5291 _LT_TAGVAR(ld_shlibs, $1)=no
5296 case `$LD -v 2>&1` in
5297 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
5298 _LT_TAGVAR(ld_shlibs, $1)=no
5299 cat <<_LT_EOF 1>&2
5315 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5316 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5317 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5318 …ive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-reta…
5320 _LT_TAGVAR(ld_shlibs, $1)=no
5327 …_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_…
5329 _LT_TAGVAR(hardcode_direct, $1)=yes
5330 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5334 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5335 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5336 …xpsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl
5338 _LT_TAGVAR(ld_shlibs, $1)=no
5343 if test no = "$_LT_TAGVAR(ld_shlibs, $1)"; then
5345 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
5346 _LT_TAGVAR(export_dynamic_flag_spec, $1)=
5347 _LT_TAGVAR(whole_archive_flag_spec, $1)=
5353 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5354 _LT_TAGVAR(always_export_symbols, $1)=yes
5355 …GVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$…
5357 # are no directories specified by -L.
5358 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5359 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
5362 _LT_TAGVAR(hardcode_direct, $1)=unsupported
5366 aix[[4-9]]*)
5371 exp_sym_flag='-Bexport'
5374 # If we're using GNU nm, then we don't want the "-C" option.
5375 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
5376 # Without the "-l" option, or with the "-B" option, AIX nm treats
5380 # it in the Import File for the 'aix-soname' feature, so we have
5381 # to replace the "-B" option with "-P" for AIX nm.
5382 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
53831)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B"…
53851)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk …
5390 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5393 # depending on the kind of the shared library created -
5404 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
5406 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
5412 # With aix-soname=svr4, we create the lib.so.V shared archives only,
5416 LDFLAGS="$LDFLAGS -Wl,-brtl"
5421 exp_sym_flag='-bexport'
5422 no_entry_flag='-bnoentry'
5427 # or program results in "error TOC overflow" add -mminimal-toc to
5429 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5431 _LT_TAGVAR(archive_cmds, $1)=''
5432 _LT_TAGVAR(hardcode_direct, $1)=yes
5433 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5434 _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
5435 _LT_TAGVAR(link_all_deplibs, $1)=yes
5436 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
5441 _LT_TAGVAR(hardcode_direct, $1)=no
5442 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
5450 collect2name=`$CC -print-prog-name=collect2`
5451 if test -f "$collect2name" &&
5458 _LT_TAGVAR(hardcode_direct, $1)=unsupported
5462 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5463 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5464 _LT_TAGVAR(hardcode_libdir_separator, $1)=
5468 shared_flag='-shared'
5470 shared_flag="$shared_flag "'$wl-G'
5474 # /with/ Import File - we do not want to mix them.
5475 shared_flag_aix='-shared'
5476 shared_flag_svr4='-shared $wl-G'
5480 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
5481 # chokes on -Wl,-G. The following line is correct:
5482 shared_flag='-G'
5485 shared_flag='$wl-G'
5487 shared_flag='$wl-bM:SRE'
5489 shared_flag_aix='$wl-bM:SRE'
5490 shared_flag_svr4='$wl-G'
5494 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
5495 # It seems that -bexpall does not export symbols beginning with
5497 _LT_TAGVAR(always_export_symbols, $1)=yes
5499 # Warning - without using the other runtime loading flags (-brtl),
5500 # -berok will link without error, but may produce a broken library.
5501 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
5504 _LT_SYS_MODULE_PATH_AIX([$1])
5505 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5506 …GVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag'…
5509 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
5510 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
5511 …_LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $depli…
5515 _LT_SYS_MODULE_PATH_AIX([$1])
5516 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5517 # Warning - without using the other run time loading flags,
5518 # -berok will link without error, but may produce a broken library.
5519 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
5520 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
5522 # We only use this code for GNU lds that support --whole-archive.
5523 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
5526 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
5528 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
5529 …_LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$real…
5530 # -brtl affects multiple linker settings, -berok does not and is overridden later
5531 …ler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
55341)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$s…
55371)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$…
5539 # used by -dlpreopen to get the symbols
5540 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$r…
5542 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/…
5551 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
5552 _LT_TAGVAR(archive_expsym_cmds, $1)=''
55551)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary…
5556 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5557 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5563 _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
5574 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
5575 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5576 _LT_TAGVAR(always_export_symbols, $1)=yes
5577 _LT_TAGVAR(file_list_spec, $1)='@'
5583 …_LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,
5584 _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
5588 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
5590 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
5593 # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
5594 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5595 _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
5596 …mbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s…
5598 _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
5599 _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
5608 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
5609 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
5615 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
5616 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5622 …_LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SE…
5624 _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
5626 _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
5627 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5632 darwin* | rhapsody*)
5633 _LT_DARWIN_LINKER_FEATURES($1)
5637 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5638 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5639 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5647 …_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++…
5648 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5649 _LT_TAGVAR(hardcode_direct, $1)=yes
5650 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5655 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5656 _LT_TAGVAR(hardcode_direct, $1)=yes
5657 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5658 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5661 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5663 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5664 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5665 _LT_TAGVAR(hardcode_direct, $1)=yes
5666 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5671 …_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_l…
5673 …_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objd…
5675 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5676 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5677 _LT_TAGVAR(hardcode_direct, $1)=yes
5681 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5682 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5687 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $…
5689 …_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $link…
5692 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5693 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5694 _LT_TAGVAR(hardcode_direct, $1)=yes
5695 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5696 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5699 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5707 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_fla…
5710 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $l…
5713 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $…
5719 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
5722 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs…
5725 m4_if($1, [], [
5726 # Older versions of the 11.00 compiler do not understand -b yet
5727 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
5728 _LT_LINKER_OPTION([if $CC understands -b],
5729 _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
5730 …[_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $…
5731 …[_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $lin…
5732 …[_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $…
5737 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5738 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5742 _LT_TAGVAR(hardcode_direct, $1)=no
5743 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5746 _LT_TAGVAR(hardcode_direct, $1)=yes
5747 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5748 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5752 _LT_TAGVAR(hardcode_minus_L, $1)=yes
57601)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verst…
5761 # Try to use the -exported_symbol ld option, if it does not
5762 # work, assume that -exports_file does not work either and
5764 # This should be the same for all languages, so no per-tag cache variable.
5765 AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
5768 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
57831)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verst…
57861)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_ec…
57871)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_ec…
5789 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5790 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5791 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5792 _LT_TAGVAR(inherit_rpath, $1)=yes
5793 _LT_TAGVAR(link_all_deplibs, $1)=yes
5800 _LT_TAGVAR(ld_shlibs, $1)=yes
5801 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5807 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5808 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
5810 _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
5812 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5813 _LT_TAGVAR(hardcode_direct, $1)=yes
5814 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5818 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5819 _LT_TAGVAR(hardcode_direct, $1)=yes
5820 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5821 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5822 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5829 if test -f /usr/libexec/ld.so; then
5830 _LT_TAGVAR(hardcode_direct, $1)=yes
5831 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5832 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5833 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5834 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5835 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_fla…
5836 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5837 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5839 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5840 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5843 _LT_TAGVAR(ld_shlibs, $1)=no
5848 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5849 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5850 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5852 …_LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $o…
5857 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5858 emximp -o $lib $output_objdir/$libname.def'
5859 …_LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANC…
5864 if test EXPORTS = "`$SED 1q $export_symbols`"; then
5865 prefix_cmds="$prefix_cmds -e 1d";
5867 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5869 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5870 emximp -o $lib $output_objdir/$libname.def'
5871 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
5872 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5877 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
58781)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test…
5880 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
58811)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$…
5883 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5884 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5885 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5888 osf4* | osf5*) # as osf3* with the addition of -msym flag
5890 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
58911)='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-sona…
5892 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5894 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
58951)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test…
5896 …ive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" …
5897-shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $sona…
5899 # Both c and cxx compiler support -rpath directly
5900 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5902 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5903 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5907 _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
5910 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libo…
5911 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5912 …$CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs…
5914 case `$CC -V 2>&1` in
5917 …_LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $li…
5918 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5919 …$LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $li…
5923 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $co…
5924 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5925 …$CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $…
5929 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5930 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5932 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
5935 # but understands '-z linker_flag'. GCC discards it without '$wl',
5937 # Supported since Solaris 2.6 (maybe 2.5.1?)
5939 …_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextra…
5941 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
5945 _LT_TAGVAR(link_all_deplibs, $1)=yes
5952 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
5954 …_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_fla…
5956 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5957 _LT_TAGVAR(hardcode_direct, $1)=yes
5958 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5959 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5965 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5966 _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
5971 _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5972 _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
5973 _LT_TAGVAR(hardcode_direct, $1)=no
5976 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5977 _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
5981 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5985 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5986 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5987 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
5991 if test -d /usr/nec; then
5992 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5993 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5996 _LT_TAGVAR(ld_shlibs, $1)=yes
6001 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6002 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6003 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6007 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6008 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
6010 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6011 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
6016 # Note: We CANNOT use -z defs as we might desire, because we do not
6017 # link with -lc, and that would cause any symbols used from libc to
6019 # ever link correctly. If we're not using GNU ld we use -z text
6020 # though, which does catch some bad symbols but isn't as heavy-handed
6021 # as -z defs.
6022 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6023 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
6024 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6025 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6026 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
6027 _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
6028 _LT_TAGVAR(link_all_deplibs, $1)=yes
6029 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
6033 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6034 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
6036 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6037 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
6042 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6043 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6044 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6048 _LT_TAGVAR(ld_shlibs, $1)=no
6055 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym'
6061 AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
6062 test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
6064 _LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
6067 _LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
6074 case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
6076 # Assume -lc should be added
6077 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
6080 case $_LT_TAGVAR(archive_cmds, $1) in
6082 # FIXME: we may have to deal with multi-command sequences.
6085 # Test whether the compiler implicitly links with -lc since on some
6086 # systems, -lgcc has to come before -lc. If gcc already passes -lc
6087 # to ld, don't add -lc before -lgcc.
6088 AC_CACHE_CHECK([whether -lc should be explicitly linked in],
6089 [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),
6098 wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
6099 pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
6100 compiler_flags=-v
6101 linker_flags=-v
6105 lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
6106 _LT_TAGVAR(allow_undefined_flag, $1)=
6107 if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
6109 lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
6111 lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
6113 _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
6115 cat conftest.err 1>&5
6119 _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
6127 [Whether or not to add -lc for building shared libraries])
6131 _LT_TAGDECL([], [export_dynamic_flag_spec], [1],
6133 _LT_TAGDECL([], [whole_archive_flag_spec], [1],
6135 _LT_TAGDECL([], [compiler_needs_object], [1],
6138 [Create an old-style archive from a shared archive])
6140 [Create a temporary old-style archive to link instead of a shared archive])
6147 _LT_TAGDECL([], [with_gnu_ld], [1],
6149 _LT_TAGDECL([], [allow_undefined_flag], [1],
6151 _LT_TAGDECL([], [no_undefined_flag], [1],
6153 _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
6156 _LT_TAGDECL([], [hardcode_libdir_separator], [1],
6157 [Whether we need a single "-rpath" flag with a separated argument])
6167 [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
6185 _LT_TAGDECL([], [exclude_expsyms], [1],
6187 _LT_TAGDECL([], [include_expsyms], [1],
6193 _LT_TAGDECL([], [file_list_spec], [1],
6196 dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
6202 # ------------------------
6216 _LT_TAGVAR(objext, $1)=$objext
6233 if test -n "$compiler"; then
6234 _LT_COMPILER_NO_RTTI($1)
6235 _LT_COMPILER_PIC($1)
6236 _LT_COMPILER_C_O($1)
6237 _LT_COMPILER_FILE_LOCKS($1)
6238 _LT_LINKER_SHLIBS($1)
6239 _LT_SYS_DYNAMIC_LINKER($1)
6240 _LT_LINKER_HARDCODE_LIBPATH($1)
6256 if test -n "$RANLIB"; then
6262 aix[[4-9]]*)
6279 _LT_CONFIG($1)
6287 # --------------------------
6295 if test -n "$CXX" && ( test no != "$CXX" &&
6296 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
6304 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6305 _LT_TAGVAR(allow_undefined_flag, $1)=
6306 _LT_TAGVAR(always_export_symbols, $1)=no
6307 _LT_TAGVAR(archive_expsym_cmds, $1)=
6308 _LT_TAGVAR(compiler_needs_object, $1)=no
6309 _LT_TAGVAR(export_dynamic_flag_spec, $1)=
6310 _LT_TAGVAR(hardcode_direct, $1)=no
6311 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
6312 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
6313 _LT_TAGVAR(hardcode_libdir_separator, $1)=
6314 _LT_TAGVAR(hardcode_minus_L, $1)=no
6315 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
6316 _LT_TAGVAR(hardcode_automatic, $1)=no
6317 _LT_TAGVAR(inherit_rpath, $1)=no
6318 _LT_TAGVAR(module_cmds, $1)=
6319 _LT_TAGVAR(module_expsym_cmds, $1)=
6320 _LT_TAGVAR(link_all_deplibs, $1)=unknown
6321 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
6322 _LT_TAGVAR(reload_flag, $1)=$reload_flag
6323 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
6324 _LT_TAGVAR(no_undefined_flag, $1)=
6325 _LT_TAGVAR(whole_archive_flag_spec, $1)=
6326 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
6333 _LT_TAGVAR(objext, $1)=$objext
6338 # and will be corrupted by setting them based on a non-working compiler.
6361 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
6366 if test -n "${lt_cv_path_LDCXX+set}"; then
6371 test -z "${LDCXX+set}" || LD=$LDCXX
6372 CC=${CXX-"c++"}
6375 _LT_TAGVAR(compiler, $1)=$CC
6378 if test -n "$compiler"; then
6379 # We don't want -fno-exception when compiling C++ code, so set the
6382 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
6384 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
6395 …chive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_object…
63961)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_f…
6398 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6399 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6402 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
6406 # ancient GNU ld didn't support --whole-archive et. al.
6407 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
6408 $GREP 'no-whole-archive' > /dev/null; then
6409 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
6411 _LT_TAGVAR(whole_archive_flag_spec, $1)=
6422 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_obj…
6428 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
6438 _LT_TAGVAR(ld_shlibs, $1)=yes
6442 _LT_TAGVAR(ld_shlibs, $1)=no
6444 aix[[4-9]]*)
6449 exp_sym_flag='-Bexport'
6455 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6458 # depending on the kind of the shared library created -
6469 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
6472 *-brtl*)
6479 # With aix-soname=svr4, we create the lib.so.V shared archives only,
6483 LDFLAGS="$LDFLAGS -Wl,-brtl"
6488 exp_sym_flag='-bexport'
6489 no_entry_flag='-bnoentry'
6494 # or program results in "error TOC overflow" add -mminimal-toc to
6496 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6498 _LT_TAGVAR(archive_cmds, $1)=''
6499 _LT_TAGVAR(hardcode_direct, $1)=yes
6500 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
6501 _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
6502 _LT_TAGVAR(link_all_deplibs, $1)=yes
6503 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
6508 _LT_TAGVAR(hardcode_direct, $1)=no
6509 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
6517 collect2name=`$CC -print-prog-name=collect2`
6518 if test -f "$collect2name" &&
6525 _LT_TAGVAR(hardcode_direct, $1)=unsupported
6529 _LT_TAGVAR(hardcode_minus_L, $1)=yes
6530 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6531 _LT_TAGVAR(hardcode_libdir_separator, $1)=
6534 shared_flag='-shared'
6536 shared_flag=$shared_flag' $wl-G'
6540 # /with/ Import File - we do not want to mix them.
6541 shared_flag_aix='-shared'
6542 shared_flag_svr4='-shared $wl-G'
6546 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6547 # chokes on -Wl,-G. The following line is correct:
6548 shared_flag='-G'
6551 shared_flag='$wl-G'
6553 shared_flag='$wl-bM:SRE'
6555 shared_flag_aix='$wl-bM:SRE'
6556 shared_flag_svr4='$wl-G'
6560 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
6561 # It seems that -bexpall does not export symbols beginning with
6564 _LT_TAGVAR(always_export_symbols, $1)=yes
6566 # Warning - without using the other runtime loading flags (-brtl),
6567 # -berok will link without error, but may produce a broken library.
6568 # The "-G" linker flag allows undefined symbols.
6569 _LT_TAGVAR(no_undefined_flag, $1)='-bernotok'
6572 _LT_SYS_MODULE_PATH_AIX([$1])
6573 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6575 …GVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag'…
6578 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
6579 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
6580 …_LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $depli…
6584 _LT_SYS_MODULE_PATH_AIX([$1])
6585 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6586 # Warning - without using the other run time loading flags,
6587 # -berok will link without error, but may produce a broken library.
6588 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
6589 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
6591 # We only use this code for GNU lds that support --whole-archive.
6592 … _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
6595 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
6597 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
6598 …_LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$real…
6599 # -brtl affects multiple linker settings, -berok does not and is overridden later
6600 …ler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
6603 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
66041)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$s…
66071)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$…
6609 # used by -dlpreopen to get the symbols
6610 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$r…
6612 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/…
6618 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6619 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
6621 # support --undefined. This deserves some investigation. FIXME
6622 …_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname…
6624 _LT_TAGVAR(ld_shlibs, $1)=no
6632 _LT_TAGVAR(ld_shlibs, $1)=no
6643 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
6644 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
6645 _LT_TAGVAR(always_export_symbols, $1)=yes
6646 _LT_TAGVAR(file_list_spec, $1)='@'
6652 …_LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,
6653 _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
6657 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
6659 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
6662 # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
6663 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6665 _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
6666 _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
6676 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
6677 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
6683 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
6685 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6686 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
6687 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
6688 _LT_TAGVAR(always_export_symbols, $1)=no
6689 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6691 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
66921)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $o…
6693 # If the export-symbols file already is a .def file, use it as
6695 _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
6701-shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $c…
6703 _LT_TAGVAR(ld_shlibs, $1)=no
6708 darwin* | rhapsody*)
6709 _LT_DARWIN_LINKER_FEATURES($1)
6713 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6714 _LT_TAGVAR(hardcode_minus_L, $1)=yes
6715 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
6717 …_LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $o…
6722 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
6723 emximp -o $lib $output_objdir/$libname.def'
6724 …_LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANC…
6729 if test EXPORTS = "`$SED 1q $export_symbols`"; then
6730 prefix_cmds="$prefix_cmds -e 1d";
6732 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
6734 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
6735 emximp -o $lib $output_objdir/$libname.def'
6736 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
6737 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6744 _LT_TAGVAR(ld_shlibs, $1)=no
6749 _LT_TAGVAR(ld_shlibs, $1)=no
6753 _LT_TAGVAR(ld_shlibs, $1)=no
6761 _LT_TAGVAR(ld_shlibs, $1)=no
6764 freebsd-elf*)
6765 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6771 _LT_TAGVAR(ld_shlibs, $1)=yes
6775 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname
6776 _LT_TAGVAR(link_all_deplibs, $1)=yes
6780 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
6781 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6782 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6783 _LT_TAGVAR(hardcode_direct, $1)=yes
6784 _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
6791 _LT_TAGVAR(ld_shlibs, $1)=no
6794 …_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $outpu…
6803 …output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list…
6807 …_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl…
6810 _LT_TAGVAR(ld_shlibs, $1)=no
6818 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
6819 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6825 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6831 _LT_TAGVAR(hardcode_direct, $1)=no
6832 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6835 _LT_TAGVAR(hardcode_direct, $1)=yes
6836 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
6837 _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
6846 _LT_TAGVAR(ld_shlibs, $1)=no
6851 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $p…
6854 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $…
6857 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_obj…
6868 …output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=…
6875 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects…
6878 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath
6881 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_l…
6887 _LT_TAGVAR(ld_shlibs, $1)=no
6893 interix[[3-9]]*)
6894 _LT_TAGVAR(hardcode_direct, $1)=no
6895 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6896 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6897 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6902 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6904 …s, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`exp…
69051)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $de…
69111)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags
6914 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
6917 _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
69221)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_f…
69241)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_f…
6927 _LT_TAGVAR(link_all_deplibs, $1)=yes
6930 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6931 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6932 _LT_TAGVAR(inherit_rpath, $1)=yes
6935 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6941 # ends with ".so" (or ".sl" for HP-UX), so rename the library
69431)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo …
69441)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo …
6953 …_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GRE…
6955 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6956 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6959 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
6960 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
6968 case `$CC -V 2>&1` in
6970 …_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compile…
6971 … $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $w…
6976 ia64*) tmp_idyn=' -i_dynamic';;
6978 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-sonam…
6979 …psym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $…
6982 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6983 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6984 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6985 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
6989 case `$CC -V` in
6990 *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
6991 _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
6992 rm -rf $tpldir~
6993 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
6994 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
6995 _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
6996 rm -rf $tpldir~
6997 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
6998 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
7000 _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
7001 rm -rf $tpldir~
7002 …$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $…
7003-shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $po…
7004 _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
7005 rm -rf $tpldir~
7006 …$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $…
7007-shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $pos…
7010 …AR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $co…
70111)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-s…
7015 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir'
7016 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
70171)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$n…
7021 …_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compile…
7022 …ym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-s…
7025 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7026 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
7036 …mplist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$temp…
7040 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7041 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7042 …_LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$sona…
7044 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
7045 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7047 …$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$outp…
7051 case `$CC -V 2>&1 | sed 5q` in
7054 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7055 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libob…
7056 …_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postd…
7057 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
70581)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new…
7059 _LT_TAGVAR(compiler_needs_object, $1)=yes
7062 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
7067 # "CC -xar", where "CC" is the Sun C++ compiler. This is
7070 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7079 _LT_TAGVAR(ld_shlibs, $1)=no
7084 _LT_TAGVAR(ld_shlibs, $1)=no
7091 _LT_TAGVAR(ld_shlibs, $1)=no
7095 _LT_TAGVAR(ld_shlibs, $1)=no
7101 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7102 …_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_…
7104 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7105 _LT_TAGVAR(hardcode_direct, $1)=yes
7106 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7108 # Workaround some broken pre-1.5 toolchains
7109 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $…
7113 _LT_TAGVAR(ld_shlibs, $1)=yes
7117 if test -f /usr/libexec/ld.so; then
7118 _LT_TAGVAR(hardcode_direct, $1)=yes
7119 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7120 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
7121 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_obj…
7122 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7123 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
7124 …m_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_fl…
7125 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
7126 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
7130 _LT_TAGVAR(ld_shlibs, $1)=no
7140 # ends with ".so" (or ".sl" for HP-UX), so rename the library
71421)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo …
7144 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7145 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
7150 osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
7151 *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
7155 # Rational C++ 2.4.1
7157 _LT_TAGVAR(ld_shlibs, $1)=no
7162 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
71631)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_…
7164 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7167 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
71681)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_…
7169 …_LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exporte…
7170 echo "-hidden">> $lib.exp~
7171-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -m…
7173 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7177 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
7187 …$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_a…
7191 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
71941)='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects…
71971)='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postd…
7201 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7202 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
7207 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
7211 _LT_TAGVAR(ld_shlibs, $1)=no
7219 _LT_TAGVAR(ld_shlibs, $1)=no
7227 _LT_TAGVAR(ld_shlibs, $1)=no
7232 _LT_TAGVAR(ld_shlibs, $1)=no
7236 _LT_TAGVAR(ld_shlibs, $1)=no
7245 _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
7246 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7247 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libob…
7248 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
7249 …$CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs …
7251 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7252 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7254 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7257 # but understands '-z linker_flag'.
7258 # Supported since Solaris 2.6 (maybe 2.5.1?)
7259 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
7262 _LT_TAGVAR(link_all_deplibs, $1)=yes
7267 # "CC -xar", where "CC" is the Sun C++ compiler. This is
7270 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7274 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $comp…
7277 _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
7282 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs'
7283 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
7284 …(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_obj…
7285 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
7286 …$CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobj…
7291 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
7293 # g++ 2.7 appears to require '-G' NOT '-shared' on this
7295 …_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $co…
7296 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
7297 …$CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $pos…
7302 …output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | …
7305 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
7307 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7309 …_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextra…
7318 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7319 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7320 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7325 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7326 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
7329 … _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7330 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
7336 # Note: We CANNOT use -z defs as we might desire, because we do not
7337 # link with -lc, and that would cause any symbols used from libc to
7339 # ever link correctly. If we're not using GNU ld we use -z text
7340 # though, which does catch some bad symbols but isn't as heavy-handed
7341 # as -z defs.
7342 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7343 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
7344 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7345 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7346 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
7347 _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
7348 _LT_TAGVAR(link_all_deplibs, $1)=yes
7349 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
7354 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7355 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
7356 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
7357 '"$_LT_TAGVAR(old_archive_cmds, $1)"
7358 _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
7359 '"$_LT_TAGVAR(reload_cmds, $1)"
7362 … _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7363 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
7371 # NonStop-UX NCC 3.20
7373 _LT_TAGVAR(ld_shlibs, $1)=no
7377 _LT_TAGVAR(ld_shlibs, $1)=no
7384 _LT_TAGVAR(ld_shlibs, $1)=no
7389 _LT_TAGVAR(ld_shlibs, $1)=no
7393 AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
7394 test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
7396 _LT_TAGVAR(GCC, $1)=$GXX
7397 _LT_TAGVAR(LD, $1)=$LD
7403 _LT_SYS_HIDDEN_LIBDEPS($1)
7404 _LT_COMPILER_PIC($1)
7405 _LT_COMPILER_C_O($1)
7406 _LT_COMPILER_FILE_LOCKS($1)
7407 _LT_LINKER_SHLIBS($1)
7408 _LT_SYS_DYNAMIC_LINKER($1)
7409 _LT_LINKER_HARDCODE_LIBPATH($1)
7411 _LT_CONFIG($1)
7412 fi # test -n "$compiler"
7431 # ----------------------
7438 # This function is identical to the (non-XSI) version of func_stripname,
7447 .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;;
7448 *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;;
7455 # ---------------------------------
7464 _LT_TAGVAR(predep_objects, $1)=
7465 _LT_TAGVAR(postdep_objects, $1)=
7466 _LT_TAGVAR(predeps, $1)=
7467 _LT_TAGVAR(postdeps, $1)=
7468 _LT_TAGVAR(compiler_lib_search_path, $1)=
7475 m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
7479 ], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
7488 ], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
7496 ], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
7504 ], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
7512 ], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
7521 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
7522 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
7523 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
7539 -L* | -R* | -l*)
7540 # Some compilers place space between "-{L,R}" and the path.
7542 if test x-L = "$p" ||
7543 test x-R = "$p"; then
7549 if test -z "$prev"; then
7551 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
7552 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
7553 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
7561 -L | -R)
7565 if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
7566 _LT_TAGVAR(compiler_lib_search_path, $1)=$prev$p
7568 _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} $prev$p"
7571 # The "-l" case would never come before the object being
7575 if test -z "$_LT_TAGVAR(postdeps, $1)"; then
7576 _LT_TAGVAR(postdeps, $1)=$prev$p
7578 _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} $prev$p"
7594 if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
7595 _LT_TAGVAR(predep_objects, $1)=$p
7597 _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
7600 if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
7601 _LT_TAGVAR(postdep_objects, $1)=$p
7603 _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
7614 rm -f a.out a.exe
7616 echo "libtool.m4: error: problem compiling $1 test program"
7619 $RM -f confest.$objext
7623 m4_if([$1], [CXX],
7625 interix[[3-9]]*)
7628 _LT_TAGVAR(predep_objects,$1)=
7629 _LT_TAGVAR(postdep_objects,$1)=
7630 _LT_TAGVAR(postdeps,$1)=
7635 case " $_LT_TAGVAR(postdeps, $1) " in
7636 *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
7638 _LT_TAGVAR(compiler_lib_search_dirs, $1)=
7639 if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
7640 …LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SE…
7642 _LT_TAGDECL([], [compiler_lib_search_dirs], [1],
7644 _LT_TAGDECL([], [predep_objects], [1],
7647 _LT_TAGDECL([], [postdep_objects], [1])
7648 _LT_TAGDECL([], [predeps], [1])
7649 _LT_TAGDECL([], [postdeps], [1])
7650 _LT_TAGDECL([], [compiler_lib_search_path], [1],
7657 # --------------------------
7663 if test -z "$F77" || test no = "$F77"; then
7667 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7668 _LT_TAGVAR(allow_undefined_flag, $1)=
7669 _LT_TAGVAR(always_export_symbols, $1)=no
7670 _LT_TAGVAR(archive_expsym_cmds, $1)=
7671 _LT_TAGVAR(export_dynamic_flag_spec, $1)=
7672 _LT_TAGVAR(hardcode_direct, $1)=no
7673 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
7674 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
7675 _LT_TAGVAR(hardcode_libdir_separator, $1)=
7676 _LT_TAGVAR(hardcode_minus_L, $1)=no
7677 _LT_TAGVAR(hardcode_automatic, $1)=no
7678 _LT_TAGVAR(inherit_rpath, $1)=no
7679 _LT_TAGVAR(module_cmds, $1)=
7680 _LT_TAGVAR(module_expsym_cmds, $1)=
7681 _LT_TAGVAR(link_all_deplibs, $1)=unknown
7682 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7683 _LT_TAGVAR(reload_flag, $1)=$reload_flag
7684 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
7685 _LT_TAGVAR(no_undefined_flag, $1)=
7686 _LT_TAGVAR(whole_archive_flag_spec, $1)=
7687 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
7694 _LT_TAGVAR(objext, $1)=$objext
7699 # and will be corrupted by setting them based on a non-working compiler.
7725 CC=${F77-"f77"}
7728 _LT_TAGVAR(compiler, $1)=$CC
7731 if test -n "$compiler"; then
7743 if test -n "$RANLIB"; then
7748 aix[[4-9]]*)
7765 _LT_TAGVAR(GCC, $1)=$G77
7766 _LT_TAGVAR(LD, $1)=$LD
7772 _LT_COMPILER_PIC($1)
7773 _LT_COMPILER_C_O($1)
7774 _LT_COMPILER_FILE_LOCKS($1)
7775 _LT_LINKER_SHLIBS($1)
7776 _LT_SYS_DYNAMIC_LINKER($1)
7777 _LT_LINKER_HARDCODE_LIBPATH($1)
7779 _LT_CONFIG($1)
7780 fi # test -n "$compiler"
7792 # -------------------------
7799 if test -z "$FC" || test no = "$FC"; then
7803 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7804 _LT_TAGVAR(allow_undefined_flag, $1)=
7805 _LT_TAGVAR(always_export_symbols, $1)=no
7806 _LT_TAGVAR(archive_expsym_cmds, $1)=
7807 _LT_TAGVAR(export_dynamic_flag_spec, $1)=
7808 _LT_TAGVAR(hardcode_direct, $1)=no
7809 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
7810 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
7811 _LT_TAGVAR(hardcode_libdir_separator, $1)=
7812 _LT_TAGVAR(hardcode_minus_L, $1)=no
7813 _LT_TAGVAR(hardcode_automatic, $1)=no
7814 _LT_TAGVAR(inherit_rpath, $1)=no
7815 _LT_TAGVAR(module_cmds, $1)=
7816 _LT_TAGVAR(module_expsym_cmds, $1)=
7817 _LT_TAGVAR(link_all_deplibs, $1)=unknown
7818 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7819 _LT_TAGVAR(reload_flag, $1)=$reload_flag
7820 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
7821 _LT_TAGVAR(no_undefined_flag, $1)=
7822 _LT_TAGVAR(whole_archive_flag_spec, $1)=
7823 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
7826 ac_ext=${ac_fc_srcext-f}
7830 _LT_TAGVAR(objext, $1)=$objext
7835 # and will be corrupted by setting them based on a non-working compiler.
7861 CC=${FC-"f95"}
7866 _LT_TAGVAR(compiler, $1)=$CC
7869 if test -n "$compiler"; then
7881 if test -n "$RANLIB"; then
7886 aix[[4-9]]*)
7903 _LT_TAGVAR(GCC, $1)=$ac_cv_fc_compiler_gnu
7904 _LT_TAGVAR(LD, $1)=$LD
7910 _LT_SYS_HIDDEN_LIBDEPS($1)
7911 _LT_COMPILER_PIC($1)
7912 _LT_COMPILER_C_O($1)
7913 _LT_COMPILER_FILE_LOCKS($1)
7914 _LT_LINKER_SHLIBS($1)
7915 _LT_SYS_DYNAMIC_LINKER($1)
7916 _LT_LINKER_HARDCODE_LIBPATH($1)
7918 _LT_CONFIG($1)
7919 fi # test -n "$compiler"
7931 # --------------------------
7944 _LT_TAGVAR(objext, $1)=$objext
7964 CC=${GCJ-"gcj"}
7967 _LT_TAGVAR(compiler, $1)=$CC
7968 _LT_TAGVAR(LD, $1)=$LD
7972 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7974 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7975 _LT_TAGVAR(reload_flag, $1)=$reload_flag
7976 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
7978 if test -n "$compiler"; then
7979 _LT_COMPILER_NO_RTTI($1)
7980 _LT_COMPILER_PIC($1)
7981 _LT_COMPILER_C_O($1)
7982 _LT_COMPILER_FILE_LOCKS($1)
7983 _LT_LINKER_SHLIBS($1)
7984 _LT_LINKER_HARDCODE_LIBPATH($1)
7986 _LT_CONFIG($1)
7998 # --------------------------
8011 _LT_TAGVAR(objext, $1)=$objext
8031 CC=${GOC-"gccgo"}
8034 _LT_TAGVAR(compiler, $1)=$CC
8035 _LT_TAGVAR(LD, $1)=$LD
8039 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
8041 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
8042 _LT_TAGVAR(reload_flag, $1)=$reload_flag
8043 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
8045 if test -n "$compiler"; then
8046 _LT_COMPILER_NO_RTTI($1)
8047 _LT_COMPILER_PIC($1)
8048 _LT_COMPILER_C_O($1)
8049 _LT_COMPILER_FILE_LOCKS($1)
8050 _LT_LINKER_SHLIBS($1)
8051 _LT_LINKER_HARDCODE_LIBPATH($1)
8053 _LT_CONFIG($1)
8065 # -------------------------
8078 _LT_TAGVAR(objext, $1)=$objext
8098 CC=${RC-"windres"}
8101 _LT_TAGVAR(compiler, $1)=$CC
8103 _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
8105 if test -n "$compiler"; then
8107 _LT_CONFIG($1)
8118 # -----------
8123 test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
8129 dnl aclocal-1.4 backwards compatibility:
8134 # ----------
8141 # ----------
8148 dnl aclocal-1.4 backwards compatibility:
8153 # --------------
8159 test -z "$GREP" && GREP=grep
8160 _LT_DECL([], [GREP], [1], [A grep program that handles long lines])
8161 _LT_DECL([], [EGREP], [1], [An ERE matcher])
8162 _LT_DECL([], [FGREP], [1], [A literal string matcher])
8163 dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
8169 # --------------
8174 test -z "$OBJDUMP" && OBJDUMP=objdump
8175 _LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
8180 # ----------------
8184 test -z "$DLLTOOL" && DLLTOOL=dlltool
8185 _LT_DECL([], [DLLTOOL], [1], [DLL creation program])
8190 # ------------
8191 # Check for a fully-functional sed program, that truncates
8195 test -z "$SED" && SED=sed
8196 Xsed="$SED -e 1s/^X//"
8197 _LT_DECL([], [SED], [1], [A sed program that does not truncate output])
8198 _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
8199 [Sed that helps us avoid accidentally triggering echo(1) options like -n])
8217 test -z "$as_dir" && as_dir=.
8232 test ! -f "$lt_ac_sed" && continue
8237 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
8246 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
8247 cmp -s conftest.out conftest.nl || break
8249 test 10 -lt "$lt_ac_count" && break
8250 lt_ac_count=`expr $lt_ac_count + 1`
8251 if test "$lt_ac_count" -gt "$lt_ac_max"; then
8266 dnl aclocal-1.4 backwards compatibility:
8271 # ------------------------
8275 [if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8294 _LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
8295 _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
8300 # -----------------------------
8303 # for certain cross-compile configurations and native mingw.
8310 *-*-mingw* )
8312 *-*-mingw* ) # actually msys
8315 *-*-cygwin* )
8323 *-*-cygwin* )
8325 *-*-mingw* ) # actually msys
8328 *-*-cygwin* )
8351 *-*-mingw* )
8353 *-*-mingw* ) # actually msys
8366 # Helper functions for option handling. -*- Autoconf -*-
8368 # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software
8379 AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
8382 # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
8383 # ------------------------------------------
8385 [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
8388 # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
8389 # ---------------------------------------
8390 # Set option OPTION-NAME for macro MACRO-NAME, and if there is a
8391 # matching handler defined, dispatch to it. Other OPTION-NAMEs are
8394 [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
8395 m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
8396 _LT_MANGLE_DEFUN([$1], [$2]),
8397 [m4_warning([Unknown $1 option '$2'])])[]dnl
8401 # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
8402 # ------------------------------------------------------------
8403 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
8405 [m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
8408 # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
8409 # -------------------------------------------------------
8410 # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
8414 [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
8421 # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
8422 # ----------------------------------------
8423 # OPTION-LIST is a space-separated list of Libtool options associated
8424 # with MACRO-NAME. If any OPTION has a matching handler declared with
8430 [_LT_SET_OPTION([$1], _LT_Option)])
8432 m4_if([$1],[LT_INIT],[
8438 _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
8443 dnl 'shared' nor 'disable-shared' was passed, we enable building of shared
8445 _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
8446 _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
8447 _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
8448 _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
8450 _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4],
8457 # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
8458 # -----------------------------------------
8460 [[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
8463 # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
8464 # -----------------------------------------------
8466 [m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
8471 # ------
8482 dnl aclocal-1.4 backwards compatibility:
8486 # win32-dll
8487 # ---------
8489 LT_OPTION_DEFINE([LT_INIT], [win32-dll],
8493 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8500 test -z "$AS" && AS=as
8501 _LT_DECL([], [AS], [1], [Assembler program])dnl
8503 test -z "$DLLTOOL" && DLLTOOL=dlltool
8504 _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
8506 test -z "$OBJDUMP" && OBJDUMP=objdump
8507 _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
8508 ])# win32-dll
8512 _LT_SET_OPTION([LT_INIT], [win32-dll])
8515 put the 'win32-dll' option into LT_INIT's first parameter.])
8518 dnl aclocal-1.4 backwards compatibility:
8523 # ----------------------------
8524 # implement the --enable-shared flag, and supports the 'shared' and
8525 # 'disable-shared' LT_INIT options.
8528 [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
8530 [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
8532 [p=${PACKAGE-default}
8556 LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
8560 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
8564 [_LT_SET_OPTION([LT_INIT], [disable-shared])
8570 dnl aclocal-1.4 backwards compatibility:
8577 # ----------------------------
8578 # implement the --enable-static flag, and support the 'static' and
8579 # 'disable-static' LT_INIT options.
8582 [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
8584 [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
8586 [p=${PACKAGE-default}
8610 LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
8614 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
8618 [_LT_SET_OPTION([LT_INIT], [disable-static])
8624 dnl aclocal-1.4 backwards compatibility:
8631 # ----------------------------------
8632 # implement the --enable-fast-install flag, and support the 'fast-install'
8633 # and 'disable-fast-install' LT_INIT options.
8636 [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
8637 AC_ARG_ENABLE([fast-install],
8638 [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
8640 [p=${PACKAGE-default}
8663 LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
8664 LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
8668 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
8671 the 'fast-install' option into LT_INIT's first parameter.])
8675 [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
8678 the 'disable-fast-install' option into LT_INIT's first parameter.])
8681 dnl aclocal-1.4 backwards compatibility:
8687 # ----------------------------------
8688 # implement the --with-aix-soname flag, and support the `aix-soname=aix'
8689 # and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT
8692 [m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl
8695 power*-*-aix[[5-9]]*,yes)
8697 AC_ARG_WITH([aix-soname],
8698 [AS_HELP_STRING([--with-aix-soname=aix|svr4|both],
8704 AC_MSG_ERROR([Unknown argument to --with-aix-soname])
8716 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8718 if test 64 = "${OBJECT_MODE-32}"; then
8734 LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])])
8735 LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])])
8736 LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])])
8740 # --------------------
8741 # implement the --with-pic flag, and support the 'pic-only' and 'no-pic'
8746 [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
8747 [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
8748 [lt_p=${PACKAGE-default}
8764 [pic_mode=m4_default([$1], [default])])
8769 LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
8770 LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
8774 [_LT_SET_OPTION([LT_INIT], [pic-only])
8777 put the 'pic-only' option into LT_INIT's first parameter.])
8780 dnl aclocal-1.4 backwards compatibility:
8798 # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
8800 # Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software
8815 # -----------------------------
8821 [m4_if([$#], [1], [],
8823 [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
8826 [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
8831 # ------------
8834 # Autoconf-2.59, which quotes differently.
8835 m4_define([lt_car], [[$1]])
8838 [$#], 1, [],
8840 m4_define([lt_unquote], $1)
8843 # lt_append(MACRO-NAME, STRING, [SEPARATOR])
8844 # ------------------------------------------
8845 # Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'.
8847 # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
8848 # No SEPARATOR is output if MACRO-NAME was previously undefined (different
8854 [m4_define([$1],
8855 m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
8859 # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
8860 # ----------------------------------------------------------
8862 # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
8866 [m4_if(m4_eval([$# > 3]), [1],
8871 [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
8874 # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
8875 # -----------------------------------------------------------------------
8876 # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
8877 # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
8879 [m4_ifdef([$1],
8880 [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
8881 [lt_append([$1], [$2], [$3])$4],
8883 [lt_append([$1], [$2], [$3])$4])])
8887 # -----------------------------
8889 [m4_define([$1($2)], [$3])])
8893 # --------------------------------------------
8895 [m4_define([$1($2:$3)], [$4])])
8899 # ----------------------------------
8902 m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
8903 m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
8906 # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
8907 # -----------------------------------------------------------------
8909 [m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
8915 # --------------------------------------------------------------
8920 [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
8923 # ltversion.m4 -- version numbers -*- Autoconf -*-
8925 # Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc.
8947 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
8949 # Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software
8975 # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
8983 AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
9047 # Copyright (C) 2002-2020 Free Software Foundation, Inc.
9054 # ----------------------------
9062 m4_if([$1], [1.16.2], [],
9063 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
9067 # -----------------------------
9074 # -------------------------------
9083 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
9085 # Copyright (C) 2001-2020 Free Software Foundation, Inc.
9111 # are both prefixed by $srcdir. In an in-source build this is usually
9135 # AM_CONDITIONAL -*- Autoconf -*-
9137 # Copyright (C) 1997-2020 Free Software Foundation, Inc.
9143 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
9144 # -------------------------------------
9148 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
9149 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
9150 AC_SUBST([$1_TRUE])dnl
9151 AC_SUBST([$1_FALSE])dnl
9152 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
9153 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
9154 m4_define([_AM_COND_VALUE_$1], [$2])dnl
9156 $1_TRUE=
9157 $1_FALSE='#'
9159 $1_TRUE='#'
9160 $1_FALSE=
9163 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
9164 AC_MSG_ERROR([[conditional "$1" was never defined.
9168 # Copyright (C) 1999-2020 Free Software Foundation, Inc.
9183 # ----------------------
9198 m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
9199 [$1], [CXX], [depcc="$CXX" am_compiler_list=],
9200 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
9201 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
9202 [$1], [UPC], [depcc="$UPC" am_compiler_list=],
9203 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
9204 [depcc="$$1" am_compiler_list=])
9207 [am_cv_$1_dependencies_compiler_type],
9208 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9211 # instance it was reported that on HP-UX the gcc test will end up
9212 # making a dummy file named 'D' -- because '-MD' means "put the output
9214 rm -rf conftest.dir
9222 # both Tru64's cc and ICC support -MD to output dependencies as a
9228 am_cv_$1_dependencies_compiler_type=none
9230 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
9233 m4_case([$1], [CC],
9235 *\ -arch\ *\ -arch\ *) am__universal=true ;;
9239 *\ -arch\ *\ -arch\ *) am__universal=true ;;
9251 for i in 1 2 3 4 5 6; do
9259 # We check with '-c' and '-o' for the sake of the "dashmstdout"
9261 # handle '-M -o', and we need to detect this. Also, some Intel
9263 am__obj=sub/conftest.${OBJEXT-o}
9264 am__minus_obj="-o $am__obj"
9271 # After this tag, mechanisms are not by side-effect, so they'll
9280 # This compiler won't grok '-c -o', but also, the minuso test has
9283 am__obj=conftest.${OBJEXT-o}
9291 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9293 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9294 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9295 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9296 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9298 # or remarks (even with -Werror). So we grep stderr for any message
9300 # When given -MP, icc 7.0 and 7.1 complain thusly:
9301 # icc: Command line warning: ignoring option '-M'; no argument required
9303 # icc: Command line remark: option '-MP' not supported
9305 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
9306 am_cv_$1_dependencies_compiler_type=$depmode
9313 rm -rf conftest.dir
9315 am_cv_$1_dependencies_compiler_type=none
9318 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
9319 AM_CONDITIONAL([am__fastdep$1], [
9321 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
9326 # -------------
9336 # ------------
9338 [AC_ARG_ENABLE([dependency-tracking], [dnl
9340 [--enable-dependency-tracking],
9343 [--disable-dependency-tracking],
9344 [speeds up one-time build])])
9357 # Generate code to set up dependency tracking. -*- Autoconf -*-
9359 # Copyright (C) 1999-2020 Free Software Foundation, Inc.
9366 # ------------------------------
9369 # Older Autoconf quotes --file arguments for eval, but not when files
9370 # are listed without --file. Let's play safe and only enable the eval
9383 am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
9385 # dependency-tracking related rules and includes.
9388 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
9393 && sed -e '/# am--include-marker/d' "$am_filepart" \
9394 | $MAKE -f - am--depfiles]) || am_rc=$?
9396 if test $am_rc -ne 0; then
9399 re-running the configure script with MAKE="gmake" (or whatever is
9400 necessary). You can also try re-running configure with the
9401 '--disable-dependency-tracking' option to at least be able to build
9408 rm -f conftest-deps.mk
9414 # -----------------------------
9415 # This macro should only be invoked once -- use via AC_REQUIRE.
9423 [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
9425 # Do all the work for Automake. -*- Autoconf -*-
9427 # Copyright (C) 1996-2020 Free Software Foundation, Inc.
9442 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
9444 # -----------------------------------------------
9446 # call (pre autoconf-2.50), which is being phased out. PACKAGE
9457 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
9461 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
9462 # is not polluted with repeated "-I."
9463 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
9465 if test -f $srcdir/config.status; then
9471 if test -z "$CYGPATH_W"; then
9472 if (cygpath --version) >/dev/null 2>/dev/null; then
9473 CYGPATH_W='cygpath -w'
9481 dnl Distinguish between old-style and new-style calls.
9484 [$0: two- and three-arguments forms are deprecated.])
9485 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
9486 AC_SUBST([PACKAGE], [$1])dnl
9488 [_AM_SET_OPTIONS([$1])dnl
9489 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
9497 _AM_IF_OPTION([no-define],,
9504 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
9506 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
9514 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
9515 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
9522 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
9523 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
9525 _AM_IF_OPTION([no-dependencies],,
9549 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
9551 # POSIX will say in a future version that running "rm -f" with no argument
9559 if rm -f && rm -fr && rm -rf; then : OK; else
9564 on the command line, even when the '-f' option is present. This is contrary
9568 Please tell bug-automake@gnu.org about your system, including the value
9586 to "yes", and re-run configure.
9593 dnl backward compatibility and to allow trailing 'dnl'-style comments
9603 # When config.status generates a header, we must update the stamp-h file.
9611 [# Compute $1's index in $config_headers.
9612 _am_arg=$1
9613 _am_stamp_count=1
9619 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9622 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
9624 # Copyright (C) 2001-2020 Free Software Foundation, Inc.
9631 # ------------------
9638 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
9640 install_sh="\${SHELL} $am_aux_dir/install-sh"
9645 # Copyright (C) 2003-2020 Free Software Foundation, Inc.
9651 # Check whether the underlying file-system supports filenames
9652 # with a leading dot. For instance MS-DOS doesn't.
9654 [rm -rf .tst 2>/dev/null
9656 if test -d .tst; then
9664 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
9667 # Copyright (C) 1996-2020 Free Software Foundation, Inc.
9673 # AM_MAINTAINER_MODE([DEFAULT-MODE])
9674 # ----------------------------------
9675 # Control maintainer-specific portions of Makefiles.
9678 # can override the default with the --enable/--disable switch.
9680 [m4_case(m4_default([$1], [disable]),
9684 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
9685 AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
9686 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
9687 AC_ARG_ENABLE([maintainer-mode],
9688 [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
9690 (and sometimes confusing) to the casual installer])],
9700 # Check to see how 'make' treats includes. -*- Autoconf -*-
9702 # Copyright (C) 2001-2020 Free Software Foundation, Inc.
9709 # -----------------
9713 [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
9727 AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
9738 rm -f confinc.* confmf.*
9743 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
9745 # Copyright (C) 1997-2020 Free Software Foundation, Inc.
9752 # ------------------------------
9755 $1=${$1-"${am_missing_run}$2"}
9756 AC_SUBST($1)])
9759 # ------------------
9774 if eval "$MISSING --is-lightweight"; then
9782 # -*- Autoconf -*-
9786 # Copyright (C) 1996-2020 Free Software Foundation, Inc.
9808 [AC_FATAL([automatic de-ANSI-fication support has been removed])])
9811 # Helper functions for option handling. -*- Autoconf -*-
9813 # Copyright (C) 2001-2020 Free Software Foundation, Inc.
9820 # -----------------------
9822 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
9825 # --------------------
9828 [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
9831 # ------------------------
9832 # OPTIONS is a space-separated list of Automake options.
9834 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
9836 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
9837 # -------------------------------------------
9838 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
9840 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
9842 # Copyright (C) 1999-2020 Free Software Foundation, Inc.
9849 # ---------------
9857 [whether $CC understands -c and -o together],
9862 # compilers refuse to overwrite an existing .o file with -o,
9865 for am_i in 1 2; do
9866 if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
9867 && test -f conftest2.$ac_objext; then
9874 rm -f core conftest*
9880 # A longer-term fix would be to have automake use am__CC in this case,
9889 # Copyright (C) 2001-2020 Free Software Foundation, Inc.
9896 # -------------------
9900 [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
9901 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
9906 # Check to make sure that the build environment is sane. -*- Autoconf -*-
9908 # Copyright (C) 1996-2020 Free Software Foundation, Inc.
9915 # ---------------
9932 # arguments. Must try -L first in case configure is actually a
9938 for am_try in 1 2; do
9940 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
9942 # -L didn't work.
9943 set X `ls -t "$srcdir/configure" conftest.file`
9952 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
9955 if test "$[2]" = conftest.file || test $am_try -eq 2; then
9959 sleep 1
9975 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
9976 ( sleep 1 ) &
9981 if test -n "$am_sleep_pid"; then
9986 rm -f conftest.file
9989 # Copyright (C) 2009-2020 Free Software Foundation, Inc.
9996 # --------------------------
10000 [AC_ARG_ENABLE([silent-rules], [dnl
10002 [--enable-silent-rules],
10003 [less verbose build output (undo: "make V=1")])
10005 [--disable-silent-rules],
10010 no) AM_DEFAULT_VERBOSITY=1;;
10011 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
10017 am_make=${MAKE-make}
10023 V=1
10026 .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
10049 # Copyright (C) 2001-2020 Free Software Foundation, Inc.
10056 # ---------------------
10059 # annoying in cross-compiling environments, where the build's strip
10061 # Fortunately install-sh will honor a STRIPPROG variable, so we
10062 # always use install-sh in "make install-strip", and initialize
10067 # run "make install-strip". However 'strip' might not be the right
10068 # tool to use in cross-compilation environments, therefore Automake
10074 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
10077 # Copyright (C) 2006-2020 Free Software Foundation, Inc.
10084 # ---------------------------
10090 # --------------------------
10094 # Check how to create a tarball. -*- Autoconf -*-
10096 # Copyright (C) 2004-2020 Free Software Foundation, Inc.
10103 # --------------------
10108 # writing to stdout a FORMAT-tarball containing the directory
10118 # in the wild :-( We should find a proper way to deprecate it ...
10119 AC_SUBST([AMTAR], ['$${TAR-tar}'])
10122 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
10124 m4_if([$1], [v7],
10125 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
10127 [m4_case([$1],
10129 [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
10133 am_max_uid=2097151 # 2^21 - 1
10136 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
10139 am_uid=`id -u || echo unknown`
10140 am_gid=`id -g || echo unknown`
10142 if test $am_uid -le $am_max_uid; then
10149 if test $am_gid -le $am_max_gid; then
10161 AC_MSG_CHECKING([how to create a $1 tar archive])
10165 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
10171 AM_RUN_LOG([$_am_tar --version]) && break
10173 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
10174 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
10175 am__untar="$_am_tar -xf -"
10178 # Must skip GNU tar: if it does not support --format= it doesn't create
10180 (tar --version) >/dev/null 2>&1 && continue
10181 am__tar='tar chf - "$$tardir"'
10182 am__tar_='tar chf - "$tardir"'
10183 am__untar='tar xf -'
10186 am__tar='pax -L -x $1 -w "$$tardir"'
10187 am__tar_='pax -L -x $1 -w "$tardir"'
10188 am__untar='pax -r'
10191 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
10192 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
10193 am__untar='cpio -i -H $1 -d'
10204 test -n "${am_cv_prog_tar_$1}" && break
10207 rm -rf conftest.dir
10211 rm -rf conftest.dir
10212 if test -s conftest.tar; then
10215 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
10218 rm -rf conftest.dir
10220 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
10221 AC_MSG_RESULT([$am_cv_prog_tar_$1])])