Lines Matching +full:1 +full:- +full:installer +full:- +full:darwin +full:- +full:x86_64
1 # generated automatically by aclocal 1.16.1 -*- Autoconf -*-
3 # Copyright (C) 1996-2018 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*) # darwin 5.x on
1088 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1089 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1090 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1092 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1094 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1102 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
1104 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
1117 # ---------------------------------
1118 # Checks for linker and compiler features on darwin
1122 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
1123 _LT_TAGVAR(hardcode_direct, $1)=no
1124 _LT_TAGVAR(hardcode_automatic, $1)=yes
1125 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1127 …(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_conveni…
1128 m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
1129 [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes])
1131 _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1133 _LT_TAGVAR(link_all_deplibs, $1)=yes
1134 _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined
1141 …_LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs…
1142 …_LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$co…
1143 …1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$…
1144 …e_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~…
1145 m4_if([$1], [CXX],
1147 …1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_u…
1148 …1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_priva…
1152 _LT_TAGVAR(ld_shlibs, $1)=no
1157 # ----------------------------------
1171 AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
1176 s/^0 *\([^ ]*\) *$/\1/
1180 …_LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_a…
1181 # Check for a 64-bit object if we didn't find anything.
1182 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1183 …_LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$l…
1185 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1186 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib
1189 aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
1195 # -------------------
1197 [m4_divert_text([M4SH-INIT], [$1
1203 # -----------------------
1215 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
1216 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
1217 ECHO='print -r --'
1225 $[]1
1232 # Invoke $ECHO with all args, space-separated.
1240 print*) AC_MSG_RESULT([print -r]) ;;
1246 test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
1252 || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
1254 _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
1255 _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
1260 # ----------------
1264 [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
1275 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
1279 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
1289 AC_MSG_RESULT([${lt_sysroot:-no}])
1294 # ---------------
1296 [AC_ARG_ENABLE([libtool-lock],
1297 [AS_HELP_STRING([--disable-libtool-lock],
1304 ia64-*-hpux*)
1310 *ELF-32*)
1313 *ELF-64*)
1318 rm -rf conftest*
1320 *-*-irix6*)
1327 *32-bit*)
1328 LD="${LD-ld} -melf32bsmip"
1331 LD="${LD-ld} -melf32bmipn32"
1333 *64-bit*)
1334 LD="${LD-ld} -melf64bmip"
1339 *32-bit*)
1340 LD="${LD-ld} -32"
1343 LD="${LD-ld} -n32"
1345 *64-bit*)
1346 LD="${LD-ld} -64"
1351 rm -rf conftest*
1354 mips64*-*linux*)
1361 *32-bit*)
1364 *64-bit*)
1381 LD="${LD-ld} -m $emul"
1383 rm -rf conftest*
1386 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
1387 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1391 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
1397 *32-bit*)
1399 x86_64-*kfreebsd*-gnu)
1400 LD="${LD-ld} -m elf_i386_fbsd"
1402 x86_64-*linux*)
1404 *x86-64*)
1405 LD="${LD-ld} -m elf32_x86_64"
1408 LD="${LD-ld} -m elf_i386"
1412 powerpc64le-*linux*)
1413 LD="${LD-ld} -m elf32lppclinux"
1415 powerpc64-*linux*)
1416 LD="${LD-ld} -m elf32ppclinux"
1418 s390x-*linux*)
1419 LD="${LD-ld} -m elf_s390"
1421 sparc64-*linux*)
1422 LD="${LD-ld} -m elf32_sparc"
1426 *64-bit*)
1428 x86_64-*kfreebsd*-gnu)
1429 LD="${LD-ld} -m elf_x86_64_fbsd"
1431 x86_64-*linux*)
1432 LD="${LD-ld} -m elf_x86_64"
1434 powerpcle-*linux*)
1435 LD="${LD-ld} -m elf64lppc"
1437 powerpc-*linux*)
1438 LD="${LD-ld} -m elf64ppc"
1440 s390*-*linux*|s390*-*tpf*)
1441 LD="${LD-ld} -m elf64_s390"
1443 sparc*-*linux*)
1444 LD="${LD-ld} -m elf64_sparc"
1450 rm -rf conftest*
1453 *-*-sco3.2v5*)
1454 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1456 CFLAGS="$CFLAGS -belf"
1457 AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1462 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1466 *-*solaris*)
1472 *64-bit*)
1476 i?86-*-solaris*|x86_64-*-solaris*)
1477 LD="${LD-ld} -m elf_x86_64"
1479 sparc*-*-solaris*)
1480 LD="${LD-ld} -m elf64_sparc"
1484 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
1485 LD=${LD-ld}_sol2
1489 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1490 LD="${LD-ld} -64"
1497 rm -rf conftest*
1506 # -----------
1511 _LT_DECL([], [AR], [1], [The archiver])
1512 _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
1520 if test 0 -eq "$ac_status"; then
1522 rm -f conftest.$ac_objext libconftest.a
1524 if test 0 -ne "$ac_status"; then
1528 rm -f conftest.* libconftest.a
1537 _LT_DECL([], [archiver_list_spec], [1],
1543 # -------------------
1548 test -z "$STRIP" && STRIP=:
1549 _LT_DECL([], [STRIP], [1], [A symbol stripping program])
1552 test -z "$RANLIB" && RANLIB=:
1553 _LT_DECL([], [RANLIB], [1],
1554 [Commands used to install an old-style archive])
1556 # Determine commands to create old-style static archives.
1561 if test -n "$RANLIB"; then
1564 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1574 darwin*)
1582 [Commands used to build an old-style archive])
1588 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1589 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
1590 # ----------------------------------------------------------------
1595 AC_CACHE_CHECK([$1], [$2],
1600 # Insert the option either (1) after the last *FLAGS variable, or
1606 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1607 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1608 -e 's:$: $lt_compiler_flag:'`
1614 if (exit $ac_status) && test -s "$ac_outfile"; then
1619 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1635 dnl aclocal-1.4 backwards compatibility:
1639 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1640 # [ACTION-SUCCESS], [ACTION-FAILURE])
1641 # ----------------------------------------------------
1646 AC_CACHE_CHECK([$1], [$2],
1651 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1654 if test -s conftest.err; then
1656 cat conftest.err 1>&AS_MESSAGE_LOG_FD
1666 $RM -r conftest*
1679 dnl aclocal-1.4 backwards compatibility:
1684 #---------------
1705 # Libtool will interpret -1 as no limit whatsoever
1706 lt_cv_sys_max_cmd_len=-1;
1710 # On Win9x/ME, this test blows up -- it succeeds, but takes
1712 # Worse, since 9x/ME are not pre-emptively multitasking,
1731 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
1733 if test -x /sbin/sysctl; then
1734 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
1735 elif test -x /usr/sbin/sysctl; then
1736 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
1757 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
1762 if test -x /sbin/sysconfig; then
1763 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
1764 *1*) lt_cv_sys_max_cmd_len=-1 ;;
1773 if test -n "$kargmax"; then
1781 if test -n "$lt_cv_sys_max_cmd_len" && \
1787 # a 1K string should be a reasonable start.
1788 for i in 1 2 3 4 5 6 7 8; do
1791 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
1792 # If test is not a shell built-in, we'll probably end up computing a
1796 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
1797 test 17 != "$i" # 1/2 MB should be enough
1799 i=`expr $i + 1`
1803 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
1807 # linker. It appears as though 1/2 is a usable value.
1813 if test -n "$lt_cv_sys_max_cmd_len"; then
1825 dnl aclocal-1.4 backwards compatibility:
1830 # ----------------
1836 # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1837 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1838 # ----------------------------------------------------------------
1844 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1888 /* When -fvisibility=hidden is used, assume the code has been annotated
1916 if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
1920 x$lt_dlno_uscore) $1 ;;
1929 rm -fr conftest*
1934 # ------------------
1962 darwin*)
1965 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
1974 # because TPF is a cross-compiler, and we know how we open DSOs.
1984 [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
1988 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
1990 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
1992 [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
2010 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
2061 dnl aclocal-1.4 backwards compatibility:
2066 # ---------------------------
2067 # Check to see if options -c and -o are simultaneously supported by compiler.
2073 AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
2074 [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
2075 [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
2076 $RM -r conftest 2>/dev/null
2082 lt_compiler_flag="-o out/conftest2.$ac_objext"
2083 # Insert the option either (1) after the last *FLAGS variable, or
2088 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2089 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
2090 -e 's:$: $lt_compiler_flag:'`
2096 if (exit $ac_status) && test -s out/conftest2.$ac_objext
2102 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
2103 _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
2110 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
2113 $RM -r conftest
2116 _LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
2117 [Does compiler simultaneously support -c and -o options?])
2122 # ----------------------------------
2127 _LT_COMPILER_C_O([$1])
2130 if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; then
2141 AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe])
2147 _LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
2152 # ----------------
2155 [rm -f .libs 2>/dev/null
2157 if test -d .libs; then
2160 # MS-DOS does not allow filenames that begin with a dot.
2169 [Define to the sub-directory where libtool stores uninstalled libraries.])
2174 # --------------------------------------
2178 _LT_TAGVAR(hardcode_action, $1)=
2179 if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
2180 test -n "$_LT_TAGVAR(runpath_var, $1)" ||
2181 test yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then
2183 # We can hardcode non-existent directories.
2184 if test no != "$_LT_TAGVAR(hardcode_direct, $1)" &&
2187 # when we should be linking with a yet-to-be-installed one
2188 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" &&
2189 test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then
2191 _LT_TAGVAR(hardcode_action, $1)=relink
2194 _LT_TAGVAR(hardcode_action, $1)=immediate
2199 _LT_TAGVAR(hardcode_action, $1)=unsupported
2201 AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
2203 if test relink = "$_LT_TAGVAR(hardcode_action, $1)" ||
2204 test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then
2218 # ----------------
2224 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
2225 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
2226 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
2229 # FIXME - insert some real tests, host_os isn't really good enough
2231 darwin*)
2232 if test -n "$STRIP"; then
2233 striplib="$STRIP -x"
2234 old_striplib="$STRIP -S"
2245 _LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
2246 _LT_DECL([], [striplib], [1])
2251 # ---------------------------
2255 # -----------------------------------
2274 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
2277 eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
2280 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
2281 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
2284 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
2292 # -----------------------------
2303 m4_if([$1],
2307 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
2311 mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
2314 …lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_s…
2318 # otherwise default to the standard path separator (i.e. ":") - it is
2330 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
2332 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
2339 if test -d "$lt_sys_path$lt_multi_os_dir"; then
2341 elif test -n "$lt_multi_os_dir"; then
2342 test -d "$lt_sys_path" && \
2350 for (lt_i = NF; lt_i > 0; lt_i--) {
2358 lt_count--;
2364 if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
2370 $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
2392 # when you set need_version to no, make sure it does not cause -set_version
2397 [User-defined run-time library search path.])
2409 aix[[4-9]]*)
2428 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
2436 # filename-based versioning of shared library archives on AIX. While
2438 # prevent static linking of such archives. So we do filename-based
2443 # versioned .so libs for executables only if there is the -brtl
2444 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
2445 # To allow for filename-based versioning support, we need to create
2455 # but for link time we create the symlink libNAME.so -> libNAME.so.V
2485 …-n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$…
2495 …-z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z …
2496 …postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_librar…
2507 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
2513 …1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibr…
2535 # libtool to hard-code these into programs
2550 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2552 test -d \$dldir || mkdir -p \$dldir~
2555 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2558 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2566 …soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuff…
2567 m4_if([$1], [],[
2572 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2576 …library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$v…
2585 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2602 …path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|…
2607 # like /cygdrive/c/PROGRA~1:/cygdr...
2608 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
2609 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
2610 …sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEP…
2614 if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
2616 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2618 … sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2621 # common. (e.g. "Program Files" -> "PROGRA~1")
2627 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2629 test -d \$dldir || mkdir -p \$dldir~
2631 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2640 …library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.…
2648 darwin* | rhapsody*)
2650 version_type=darwin
2658 m4_if([$1], [],[
2675 if test -x /usr/bin/objformat; then
2683 version_type=freebsd-$objformat
2685 freebsd-elf*)
2691 freebsd-*)
2705 freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
2706 freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
2773 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
2779 interix[[3-9]]*)
2785 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
2811 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
2812 libsuff= shlibsuff= libmagic=32-bit;;
2813 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
2815 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
2816 libsuff=64 shlibsuff=64 libmagic=64-bit;;
2817 *) libsuff= shlibsuff= libmagic=never-match;;
2849 # Don't embed -rpath directories since the linker doesn't support them.
2850 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2854 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2860 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2869 eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
2870 LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
2872 [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
2887 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
2888 # even though it is searched at run-time. Try to do the best guess by
2890 if test -f /etc/ld.so.conf; then
2891 …tc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.…
2895 # We used to test for /lib/ld.so.1 and disable shared libraries on
2898 # most powerpc-linux boxes support dynamic linking these days and
2899 # people can always --disable-shared, the test was removed, and we
2908 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
2910 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2945 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
2951 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2963 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
2964 v=$($ECHO $release$versuffix | tr -d .-);
2965 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
2973 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
2975 test -d \$dldir || mkdir -p \$dldir~
2978 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2981 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
3050 if test -d /usr/nec; then
3081 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
3121 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
3127 _LT_DECL([], [variables_saved_for_relink], [1],
3137 [Is shlibpath searched before the hard-coded library search path?])
3138 _LT_DECL([], [libname_spec], [1], [Format of library name prefix])
3139 _LT_DECL([], [library_names_spec], [1],
3141 The last name is the one that the linker finds with -lNAME]])
3142 _LT_DECL([], [soname_spec], [1],
3144 _LT_DECL([], [install_override_mode], [1],
3152 _LT_DECL([], [finish_eval], [1],
3158 [Compile-time system search path for libraries])
3160 [Detected run-time system search path for libraries])
3167 # --------------------------
3171 AC_MSG_CHECKING([for $1])
3180 dnl $ac_dummy forces splitting on constant user-supplied paths.
3186 test -z "$ac_dir" && ac_dir=.
3187 if test -f "$ac_dir/$1"; then
3188 lt_cv_path_MAGIC_CMD=$ac_dir/"$1"
3189 if test -n "$file_magic_test_file"; then
3198 cat <<_LT_EOF 1>&2
3207 *** bug-libtool@gnu.org
3221 if test -n "$MAGIC_CMD"; then
3232 dnl aclocal-1.4 backwards compatibility:
3237 # --------------
3241 if test -z "$lt_cv_path_MAGIC_CMD"; then
3242 if test -n "$ac_tool_prefix"; then
3252 # ----------
3253 # find the pathname to the GNU or non-GNU linker
3262 AC_ARG_WITH([gnu-ld],
3263 [AS_HELP_STRING([--with-gnu-ld],
3270 # Check if gcc -print-prog-name=ld gives a path.
3273 *-*-mingw*)
3275 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3277 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3285 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3288 test -z "$LD" && LD=$ac_prog
3302 AC_MSG_CHECKING([for non-GNU ld])
3305 [if test -z "$LD"; then
3309 test -z "$ac_dir" && ac_dir=.
3310 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3312 # Check to see if the program is GNU ld. I'd rather use --version,
3313 # but apparently some variants of GNU ld only accept -v.
3314 # Break only if it was the GNU/non-GNU ld that we prefer.
3315 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3330 if test -n "$LD"; then
3335 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
3339 _LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
3345 dnl aclocal-1.4 backwards compatibility:
3351 #- --------------
3354 [# I'd rather use --version here, but apparently some GNU lds only accept -v.
3355 case `$LD -v 2>&1 </dev/null` in
3368 # --------------
3370 # -- PORTME Some linkers may need a different reload flag.
3374 [lt_cv_ld_reload_flag='-r'])
3380 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3387 darwin*)
3389 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
3391 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3395 _LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
3401 # -----------
3409 [if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
3410 cmp -s conftest.i conftest.out \
3413 rm -f conftest.i conftest2.i conftest.out])
3418 # ----------------
3426 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
3427 cmp -s conftest.i conftest.out \
3428 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
3430 rm -f conftest.i conftest2.i conftest.out
3431 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"])
3432 _LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1],
3438 # ----------------------
3440 # -- PORTME fill in with the dynamic library characteristics
3451 # 'none' -- dependencies not supported.
3452 # 'unknown' -- same as none, but documents that we really don't know.
3453 # 'pass_all' -- all dependencies passed with no checks.
3454 # 'test_compile' -- check by making test program.
3455 # 'file_magic [[regex]]' -- check by looking for files in library path
3461 aix[[4-9]]*)
3470 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
3471 lt_cv_file_magic_cmd='/usr/bin/file -L'
3484 # unless we find 'file', for example because we are cross-compiling.
3485 if ( file / ) >/dev/null 2>&1; then
3490 …v_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x…
3491 lt_cv_file_magic_cmd='$OBJDUMP -f'
3497 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3498 lt_cv_file_magic_cmd='$OBJDUMP -f'
3501 darwin* | rhapsody*)
3506 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3511 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
3529 …lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object f…
3533 …heck_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)…
3537 …lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared lib…
3543 interix[[3-9]]*)
3550 *-32|*"-32 ") libmagic=32-bit;;
3551 *-n32|*"-n32 ") libmagic=N32;;
3552 *-64|*"-64 ") libmagic=64-bit;;
3553 *) libmagic=never-match;;
3559 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
3564 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3565 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3572 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3582 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
3583 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
3585 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3608 …bs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][…
3616 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib…
3620 lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
3646 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
3649 …o aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g…
3657 test -z "$deplibs_check_method" && deplibs_check_method=unknown
3659 _LT_DECL([], [deplibs_check_method], [1],
3661 _LT_DECL([], [file_magic_cmd], [1],
3663 _LT_DECL([], [file_magic_glob], [1],
3665 _LT_DECL([], [want_nocaseglob], [1],
3671 # ----------
3672 # find the pathname to a BSD- or MS-compatible name lister
3675 AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
3676 [if test -n "$NM"; then
3681 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3688 test -z "$ac_dir" && ac_dir=.
3690 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
3691 # Check to see if the nm accepts a BSD-compat flag.
3692 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
3700 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
3702 lt_cv_path_NM="$tmp_nm -B"
3706 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3708 lt_cv_path_NM="$tmp_nm -p"
3728 if test -n "$DUMPBIN"; then :
3731 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
3732 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
3734 DUMPBIN="$DUMPBIN -symbols -headers"
3746 test -z "$NM" && NM=nm
3748 _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
3764 rm -f conftest*])
3770 dnl aclocal-1.4 backwards compatibility:
3775 # --------------------------------
3778 # -- PORTME fill in with the dynamic library characteristics
3791 case `$DLLTOOL --help 2>&1` in
3792 *--identify-strict*)
3807 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
3809 _LT_DECL([], [sharedlib_from_linklib_cmd], [1],
3815 # ----------------------
3819 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
3822 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
3823 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
3828 rm -f conftest*])
3832 _LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl
3837 # ---------------------
3842 test DEF = "`$SED -n dnl
3843 -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
3844 -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
3845 -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
3846 -e q dnl Only consider the first "real" line
3847 $1`" dnl
3852 # --------
3858 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
3861 *-ncr-sysv4.3*)
3862 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
3863 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
3866 AC_CHECK_LIB(m, cos, LIBM=-lm)
3874 dnl aclocal-1.4 backwards compatibility:
3879 # -------------------------------
3883 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
3888 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
3890 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
3893 _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
3895 [-fno-rtti -fno-exceptions], [],
3896 …TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -f…
3898 _LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
3904 # ----------------------
3926 sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
3928 # Define system-specific variables.
3965 case `$NM -V 2>&1` in
3972 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
3974 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
3975 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
3977 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
3978 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
3990 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
3992 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
3993 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
3996 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
3998 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
3999 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
4003 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
4005 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
4006 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
4007 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
4013 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4021 symxfrm="\\1 $ac_symprfx\\2 \\2"
4025 # Fake it for dumpbin and say T for any non-static function,
4032 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4041 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
4042 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
4045 …lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$…
4052 rm -f conftest*
4069 …if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$n…
4072 mv -f "$nlist"T "$nlist"
4074 rm -f "$nlist"T
4084 relocations are performed -- see ld's documentation on pseudo-relocs. */
4099 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4112 …$SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> c…
4133 CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
4134 if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
4152 rm -rf conftest* conftst*
4162 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4165 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4174 elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
4178 _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
4180 _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
4182 _LT_DECL([global_symbol_to_import], [lt_cv_sys_global_symbol_to_import], [1],
4185 [lt_cv_sys_global_symbol_to_c_name_address], [1],
4188 [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
4190 _LT_DECL([nm_interface], [lt_cv_nm_interface], [1],
4192 _LT_DECL([], [nm_file_list_spec], [1],
4198 # ---------------------------
4201 _LT_TAGVAR(lt_prog_compiler_wl, $1)=
4202 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4203 _LT_TAGVAR(lt_prog_compiler_static, $1)=
4205 m4_if([$1], [CXX], [
4208 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4209 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4216 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4218 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4225 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4229 # adding the '-m68020' flag to GCC prevents building anything better,
4230 # like '-m68040'.
4231 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4242 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4243 # (--disable-auto-import) libraries
4244 m4_if([$1], [GCJ], [],
4245 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4248 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4252 darwin* | rhapsody*)
4255 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4259 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4263 # The "-static" flag exists, but is broken.
4264 _LT_TAGVAR(lt_prog_compiler_static, $1)=
4266 interix[[3-9]]*)
4267 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4271 if test -d /usr/nec; then
4272 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4276 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4277 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4283 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4288 # QNX uses GNU C++, but need to define -shared option too, otherwise
4290 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4293 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4298 aix[[4-9]]*)
4302 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4304 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4311 …# _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abor…
4318 m4_if([$1], [GCJ], [],
4319 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4324 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4328 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4340 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4341 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4343 _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4347 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4348 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4354 _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4369 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4370 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4371 # CC pic flag -KPIC is the default.
4377 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4381 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4382 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4385 # old Intel C++ for x86_64, which still supported -KPIC.
4386 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4387 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4388 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4392 # ICC 10 doesn't accept -KPIC any more.
4393 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4394 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4395 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4399 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4400 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4401 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4407 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4408 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4412 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4413 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4414 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4417 case `$CC -V 2>&1 | sed 5q` in
4420 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4421 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4422 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4435 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
4444 # QNX uses GNU C++, but need to define -shared option too, otherwise
4446 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4451 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4454 # Rational C++ 2.4.1
4455 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4459 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4462 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4463 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4475 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4476 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4477 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4481 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4491 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4492 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4496 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4505 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4506 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4507 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4514 # NonStop-UX NCC 3.20
4515 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4524 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4531 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4532 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4539 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4541 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4548 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4552 # adding the '-m68020' flag to GCC prevents building anything better,
4553 # like '-m68040'.
4554 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4566 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4567 # (--disable-auto-import) libraries
4568 m4_if([$1], [GCJ], [],
4569 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4572 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4577 darwin* | rhapsody*)
4580 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4585 # The "-static" flag exists, but is broken.
4586 _LT_TAGVAR(lt_prog_compiler_static, $1)=
4590 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4591 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4598 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4603 interix[[3-9]]*)
4604 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4611 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4616 # QNX uses GNU C++, but need to define -shared option too, otherwise
4618 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4622 if test -d /usr/nec; then
4623 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4628 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4634 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
4635 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4636 _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
4644 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4647 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4649 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4653 darwin* | rhapsody*)
4656 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4660 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4661 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4662 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4670 m4_if([$1], [GCJ], [],
4671 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4674 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4680 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4681 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4682 # not for PA HP-UX.
4688 _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4692 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4696 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4697 # PIC (with -KPIC) is the default.
4698 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4701 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4703 # old Intel for x86_64, which still supported -KPIC.
4705 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4706 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4707 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4710 # ICC 10 doesn't accept -KPIC any more.
4712 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4713 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4714 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4718 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4719 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
4720 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
4724 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4725 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4726 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4730 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4731 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4732 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4737 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4738 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4739 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4742 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4744 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4748 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4749 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4750 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4753 case `$CC -V 2>&1 | sed 5q` in
4754 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
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)=''
4761 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4762 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4763 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4767 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4768 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4769 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
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)='-static'
4777 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4778 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4779 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4787 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4788 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4792 # QNX uses GNU C++, but need to define -shared option too, otherwise
4794 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4798 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4799 # All OSF/1 code is PIC.
4800 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4804 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4808 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4809 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4812 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
4814 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
4819 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4820 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4821 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4825 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4826 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4827 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4831 if test -d /usr/nec; then
4832 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
4833 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4838 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4839 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4840 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4844 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4845 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4849 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4850 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4854 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4860 # For platforms that do not support PIC, -DPIC is meaningless:
4862 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4865 …T_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC…
4870 [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)],
4871 [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
4872 _LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)
4877 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4878 _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
4879 [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
4880 …[$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])]…
4881 [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
4883 *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
4885 [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
4886 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
4888 _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
4891 _LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
4896 wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_stat…
4898 _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
4901 [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
4902 _LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
4908 # ----------------------------
4920 m4_if([$1], [CXX], [
4921 …_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/…
4922 _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
4924 aix[[4-9]]*)
4925 # If we're using GNU nm, then we don't want the "-C" option.
4926 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
4927 # Without the "-l" option, or with the "-B" option, AIX nm treats
4931 # it in the Import File for the 'aix-soname' feature, so we have
4932 # to replace the "-B" option with "-P" for AIX nm.
4933 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
4934 …1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B"…
4936 …1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk …
4940 _LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds
4945 _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
4948 …1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^…
4949 …_LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-…
4954 …_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/…
4959 _LT_TAGVAR(allow_undefined_flag, $1)=
4960 _LT_TAGVAR(always_export_symbols, $1)=no
4961 _LT_TAGVAR(archive_cmds, $1)=
4962 _LT_TAGVAR(archive_expsym_cmds, $1)=
4963 _LT_TAGVAR(compiler_needs_object, $1)=no
4964 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
4965 _LT_TAGVAR(export_dynamic_flag_spec, $1)=
4966 …_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/…
4967 _LT_TAGVAR(hardcode_automatic, $1)=no
4968 _LT_TAGVAR(hardcode_direct, $1)=no
4969 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
4970 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
4971 _LT_TAGVAR(hardcode_libdir_separator, $1)=
4972 _LT_TAGVAR(hardcode_minus_L, $1)=no
4973 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
4974 _LT_TAGVAR(inherit_rpath, $1)=no
4975 _LT_TAGVAR(link_all_deplibs, $1)=unknown
4976 _LT_TAGVAR(module_cmds, $1)=
4977 _LT_TAGVAR(module_expsym_cmds, $1)=
4978 _LT_TAGVAR(old_archive_from_new_cmds, $1)=
4979 _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
4980 _LT_TAGVAR(thread_safe_flag_spec, $1)=
4981 _LT_TAGVAR(whole_archive_flag_spec, $1)=
4982 # include_expsyms should be a list of space-separated symbols to be *always*
4984 _LT_TAGVAR(include_expsyms, $1)=
4989 _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
5017 _LT_TAGVAR(ld_shlibs, $1)=yes
5029 case `$LD -v 2>&1` in
5031 *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
5032 *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
5052 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5053 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
5054 # ancient GNU ld didn't support --whole-archive et. al.
5055 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
5056 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
5058 _LT_TAGVAR(whole_archive_flag_spec, $1)=
5061 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
5063 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
5072 aix[[3-9]]*)
5075 _LT_TAGVAR(ld_shlibs, $1)=no
5076 cat <<_LT_EOF 1>&2
5082 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
5093 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname …
5094 _LT_TAGVAR(archive_expsym_cmds, $1)=''
5097 …1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary…
5098 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5099 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5105 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5106 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5108 # support --undefined. This deserves some investigation. FIXME
5109 …_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname…
5111 _LT_TAGVAR(ld_shlibs, $1)=no
5116 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
5118 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5119 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
5120 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5121 _LT_TAGVAR(always_export_symbols, $1)=no
5122 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5123 …1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^…
5124 …_LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-…
5126 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
5127 …chive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enab…
5128 # If the export-symbols file already is a .def file, use it as
5130 _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
5136 …CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname …
5138 _LT_TAGVAR(ld_shlibs, $1)=no
5143 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname …
5144 _LT_TAGVAR(link_all_deplibs, $1)=yes
5148 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5149 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5150 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5152 …_LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $o…
5157 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5158 emximp -o $lib $output_objdir/$libname.def'
5159 …_LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANC…
5164 if test EXPORTS = "`$SED 1q $export_symbols`"; then
5165 prefix_cmds="$prefix_cmds -e 1d";
5167 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5169 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5170 emximp -o $lib $output_objdir/$libname.def'
5171 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
5172 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5175 interix[[3-9]]*)
5176 _LT_TAGVAR(hardcode_direct, $1)=no
5177 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5178 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5179 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5184 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
5186 …s, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`exp…
5187 …1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $de…
5190 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
5192 if test linux-dietlibc = "$host_os"; then
5194 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
5197 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
5201 tmp_sharedflag='-shared'
5204 …1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$n…
5209 …1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$n…
5210 tmp_addflag=' $pic_flag -Mnomain' ;;
5212 tmp_addflag=' -i_dynamic' ;;
5214 tmp_addflag=' -i_dynamic -nofor_main' ;;
5216 tmp_addflag=' -nofor_main' ;;
5218 _LT_TAGVAR(whole_archive_flag_spec, $1)=
5219 tmp_sharedflag='--shared' ;;
5221 tmp_sharedflag='-Wl,-shared' ;;
5223 tmp_sharedflag='-qmkshrobj'
5226 …1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$n…
5227 _LT_TAGVAR(compiler_needs_object, $1)=yes
5230 case `$CC -V 2>&1 | sed 5q` in
5232 …1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new…
5233 _LT_TAGVAR(compiler_needs_object, $1)=yes
5234 tmp_sharedflag='-G' ;;
5236 tmp_sharedflag='-G' ;;
5238 …_LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_fl…
5241 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
5242 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5244 …g"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$…
5249 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
5253 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
5254 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5255 … _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
5257 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
5258 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5260 …$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libnam…
5265 _LT_TAGVAR(ld_shlibs, $1)=no
5270 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5271 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5274 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5275 …xpsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl…
5280 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
5281 _LT_TAGVAR(ld_shlibs, $1)=no
5282 cat <<_LT_EOF 1>&2
5287 *** binutils to release 2.9.1 or newer. Another option is to modify
5292 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5293 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5294 …xpsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl…
5296 _LT_TAGVAR(ld_shlibs, $1)=no
5301 case `$LD -v 2>&1` in
5302 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
5303 _LT_TAGVAR(ld_shlibs, $1)=no
5304 cat <<_LT_EOF 1>&2
5320 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5321 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5322 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname …
5323 …ive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-reta…
5325 _LT_TAGVAR(ld_shlibs, $1)=no
5332 …_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_…
5334 _LT_TAGVAR(hardcode_direct, $1)=yes
5335 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5339 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5340 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5341 …xpsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl…
5343 _LT_TAGVAR(ld_shlibs, $1)=no
5348 if test no = "$_LT_TAGVAR(ld_shlibs, $1)"; then
5350 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
5351 _LT_TAGVAR(export_dynamic_flag_spec, $1)=
5352 _LT_TAGVAR(whole_archive_flag_spec, $1)=
5358 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5359 _LT_TAGVAR(always_export_symbols, $1)=yes
5360 …GVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$…
5362 # are no directories specified by -L.
5363 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5364 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
5367 _LT_TAGVAR(hardcode_direct, $1)=unsupported
5371 aix[[4-9]]*)
5376 exp_sym_flag='-Bexport'
5379 # If we're using GNU nm, then we don't want the "-C" option.
5380 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
5381 # Without the "-l" option, or with the "-B" option, AIX nm treats
5385 # it in the Import File for the 'aix-soname' feature, so we have
5386 # to replace the "-B" option with "-P" for AIX nm.
5387 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
5388 …1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B"…
5390 …1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk …
5395 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5398 # depending on the kind of the shared library created -
5409 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
5411 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
5417 # With aix-soname=svr4, we create the lib.so.V shared archives only,
5421 LDFLAGS="$LDFLAGS -Wl,-brtl"
5426 exp_sym_flag='-bexport'
5427 no_entry_flag='-bnoentry'
5432 # or program results in "error TOC overflow" add -mminimal-toc to
5434 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5436 _LT_TAGVAR(archive_cmds, $1)=''
5437 _LT_TAGVAR(hardcode_direct, $1)=yes
5438 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5439 _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
5440 _LT_TAGVAR(link_all_deplibs, $1)=yes
5441 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
5446 _LT_TAGVAR(hardcode_direct, $1)=no
5447 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
5455 collect2name=`$CC -print-prog-name=collect2`
5456 if test -f "$collect2name" &&
5463 _LT_TAGVAR(hardcode_direct, $1)=unsupported
5467 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5468 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5469 _LT_TAGVAR(hardcode_libdir_separator, $1)=
5473 shared_flag='-shared'
5475 shared_flag="$shared_flag "'$wl-G'
5479 # /with/ Import File - we do not want to mix them.
5480 shared_flag_aix='-shared'
5481 shared_flag_svr4='-shared $wl-G'
5485 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
5486 # chokes on -Wl,-G. The following line is correct:
5487 shared_flag='-G'
5490 shared_flag='$wl-G'
5492 shared_flag='$wl-bM:SRE'
5494 shared_flag_aix='$wl-bM:SRE'
5495 shared_flag_svr4='$wl-G'
5499 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
5500 # It seems that -bexpall does not export symbols beginning with
5502 _LT_TAGVAR(always_export_symbols, $1)=yes
5504 # Warning - without using the other runtime loading flags (-brtl),
5505 # -berok will link without error, but may produce a broken library.
5506 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
5509 _LT_SYS_MODULE_PATH_AIX([$1])
5510 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5511 …GVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag'…
5514 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
5515 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
5516 …_LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $depli…
5520 _LT_SYS_MODULE_PATH_AIX([$1])
5521 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5522 # Warning - without using the other run time loading flags,
5523 # -berok will link without error, but may produce a broken library.
5524 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
5525 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
5527 # We only use this code for GNU lds that support --whole-archive.
5528 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
5531 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
5533 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
5534 …_LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$real…
5535 # -brtl affects multiple linker settings, -berok does not and is overridden later
5536 …ler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
5539 …1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$s…
5542 …1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$…
5544 # used by -dlpreopen to get the symbols
5545 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$r…
5547 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/…
5556 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname …
5557 _LT_TAGVAR(archive_expsym_cmds, $1)=''
5560 …1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary…
5561 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5562 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5568 _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
5579 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
5580 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5581 _LT_TAGVAR(always_export_symbols, $1)=yes
5582 _LT_TAGVAR(file_list_spec, $1)='@'
5588 …_LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,…
5589 _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
5593 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
5595 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
5598 # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
5599 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5600 _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
5601 …mbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s…
5603 _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
5604 _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
5613 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
5614 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
5620 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
5621 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5627 …_LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SE…
5629 _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
5631 _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
5632 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5637 darwin* | rhapsody*)
5638 _LT_DARWIN_LINKER_FEATURES($1)
5642 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5643 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5644 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5652 …_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++…
5653 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5654 _LT_TAGVAR(hardcode_direct, $1)=yes
5655 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5660 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5661 _LT_TAGVAR(hardcode_direct, $1)=yes
5662 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5663 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5666 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5668 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5669 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5670 _LT_TAGVAR(hardcode_direct, $1)=yes
5671 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5676 …_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_l…
5678 …_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objd…
5680 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5681 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5682 _LT_TAGVAR(hardcode_direct, $1)=yes
5686 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5687 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5692 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $…
5694 …_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $link…
5697 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5698 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5699 _LT_TAGVAR(hardcode_direct, $1)=yes
5700 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5701 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5704 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5712 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_fla…
5715 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $l…
5718 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $…
5724 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
5727 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs…
5730 m4_if($1, [], [
5731 # Older versions of the 11.00 compiler do not understand -b yet
5732 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
5733 _LT_LINKER_OPTION([if $CC understands -b],
5734 _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
5735 …[_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $…
5736 …[_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $lin…
5737 …[_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $…
5742 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5743 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5747 _LT_TAGVAR(hardcode_direct, $1)=no
5748 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5751 _LT_TAGVAR(hardcode_direct, $1)=yes
5752 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5753 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5757 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5765 …1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verst…
5766 # Try to use the -exported_symbol ld option, if it does not
5767 # work, assume that -exports_file does not work either and
5769 # This should be the same for all languages, so no per-tag cache variable.
5770 AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
5773 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
5788 …1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verst…
5791 …1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_ec…
5792 …1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_ec…
5794 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5795 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5796 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5797 _LT_TAGVAR(inherit_rpath, $1)=yes
5798 _LT_TAGVAR(link_all_deplibs, $1)=yes
5805 _LT_TAGVAR(ld_shlibs, $1)=yes
5806 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5812 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5813 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
5815 _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
5817 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5818 _LT_TAGVAR(hardcode_direct, $1)=yes
5819 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5823 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5824 _LT_TAGVAR(hardcode_direct, $1)=yes
5825 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5826 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5827 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5834 if test -f /usr/libexec/ld.so; then
5835 _LT_TAGVAR(hardcode_direct, $1)=yes
5836 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5837 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5838 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5839 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5840 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_fla…
5841 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5842 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5844 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5845 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5848 _LT_TAGVAR(ld_shlibs, $1)=no
5853 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5854 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5855 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5857 …_LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $o…
5862 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5863 emximp -o $lib $output_objdir/$libname.def'
5864 …_LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANC…
5869 if test EXPORTS = "`$SED 1q $export_symbols`"; then
5870 prefix_cmds="$prefix_cmds -e 1d";
5872 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5874 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5875 emximp -o $lib $output_objdir/$libname.def'
5876 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
5877 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5882 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
5883 …1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test…
5885 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5886 …1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$…
5888 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5889 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5890 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5893 osf4* | osf5*) # as osf3* with the addition of -msym flag
5895 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
5896 …1)='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-sona…
5897 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5899 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5900 …1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test…
5901 …ive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" …
5902 …-shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $sona…
5904 # Both c and cxx compiler support -rpath directly
5905 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5907 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5908 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5912 _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
5915 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libo…
5916 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5917 …$CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs…
5919 case `$CC -V 2>&1` in
5922 …_LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $li…
5923 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5924 …$LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $li…
5928 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $co…
5929 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5930 …$CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $…
5934 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5935 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5937 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
5940 # but understands '-z linker_flag'. GCC discards it without '$wl',
5942 # Supported since Solaris 2.6 (maybe 2.5.1?)
5944 …_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextra…
5946 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
5950 _LT_TAGVAR(link_all_deplibs, $1)=yes
5957 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
5959 …_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_fla…
5961 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5962 _LT_TAGVAR(hardcode_direct, $1)=yes
5963 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5964 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5970 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5971 _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
5976 _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5977 _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
5978 _LT_TAGVAR(hardcode_direct, $1)=no
5981 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5982 _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
5986 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5990 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5991 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5992 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
5996 if test -d /usr/nec; then
5997 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5998 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6001 _LT_TAGVAR(ld_shlibs, $1)=yes
6006 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6007 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6008 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6012 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6013 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
6015 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6016 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
6021 # Note: We CANNOT use -z defs as we might desire, because we do not
6022 # link with -lc, and that would cause any symbols used from libc to
6024 # ever link correctly. If we're not using GNU ld we use -z text
6025 # though, which does catch some bad symbols but isn't as heavy-handed
6026 # as -z defs.
6027 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6028 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
6029 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6030 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6031 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
6032 _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
6033 _LT_TAGVAR(link_all_deplibs, $1)=yes
6034 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
6038 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6039 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
6041 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6042 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
6047 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6048 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6049 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6053 _LT_TAGVAR(ld_shlibs, $1)=no
6060 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym'
6066 AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
6067 test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
6069 _LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
6072 _LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
6079 case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
6081 # Assume -lc should be added
6082 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
6085 case $_LT_TAGVAR(archive_cmds, $1) in
6087 # FIXME: we may have to deal with multi-command sequences.
6090 # Test whether the compiler implicitly links with -lc since on some
6091 # systems, -lgcc has to come before -lc. If gcc already passes -lc
6092 # to ld, don't add -lc before -lgcc.
6093 AC_CACHE_CHECK([whether -lc should be explicitly linked in],
6094 [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),
6103 wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
6104 pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
6105 compiler_flags=-v
6106 linker_flags=-v
6110 lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
6111 _LT_TAGVAR(allow_undefined_flag, $1)=
6112 if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
6114 lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
6116 lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
6118 _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
6120 cat conftest.err 1>&5
6124 _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
6132 [Whether or not to add -lc for building shared libraries])
6136 _LT_TAGDECL([], [export_dynamic_flag_spec], [1],
6138 _LT_TAGDECL([], [whole_archive_flag_spec], [1],
6140 _LT_TAGDECL([], [compiler_needs_object], [1],
6143 [Create an old-style archive from a shared archive])
6145 [Create a temporary old-style archive to link instead of a shared archive])
6152 _LT_TAGDECL([], [with_gnu_ld], [1],
6154 _LT_TAGDECL([], [allow_undefined_flag], [1],
6156 _LT_TAGDECL([], [no_undefined_flag], [1],
6158 _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
6161 _LT_TAGDECL([], [hardcode_libdir_separator], [1],
6162 [Whether we need a single "-rpath" flag with a separated argument])
6172 [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
6190 _LT_TAGDECL([], [exclude_expsyms], [1],
6192 _LT_TAGDECL([], [include_expsyms], [1],
6198 _LT_TAGDECL([], [file_list_spec], [1],
6201 dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
6207 # ------------------------
6221 _LT_TAGVAR(objext, $1)=$objext
6238 if test -n "$compiler"; then
6239 _LT_COMPILER_NO_RTTI($1)
6240 _LT_COMPILER_PIC($1)
6241 _LT_COMPILER_C_O($1)
6242 _LT_COMPILER_FILE_LOCKS($1)
6243 _LT_LINKER_SHLIBS($1)
6244 _LT_SYS_DYNAMIC_LINKER($1)
6245 _LT_LINKER_HARDCODE_LIBPATH($1)
6261 if test -n "$RANLIB"; then
6267 aix[[4-9]]*)
6284 _LT_CONFIG($1)
6292 # --------------------------
6300 if test -n "$CXX" && ( test no != "$CXX" &&
6301 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
6309 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6310 _LT_TAGVAR(allow_undefined_flag, $1)=
6311 _LT_TAGVAR(always_export_symbols, $1)=no
6312 _LT_TAGVAR(archive_expsym_cmds, $1)=
6313 _LT_TAGVAR(compiler_needs_object, $1)=no
6314 _LT_TAGVAR(export_dynamic_flag_spec, $1)=
6315 _LT_TAGVAR(hardcode_direct, $1)=no
6316 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
6317 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
6318 _LT_TAGVAR(hardcode_libdir_separator, $1)=
6319 _LT_TAGVAR(hardcode_minus_L, $1)=no
6320 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
6321 _LT_TAGVAR(hardcode_automatic, $1)=no
6322 _LT_TAGVAR(inherit_rpath, $1)=no
6323 _LT_TAGVAR(module_cmds, $1)=
6324 _LT_TAGVAR(module_expsym_cmds, $1)=
6325 _LT_TAGVAR(link_all_deplibs, $1)=unknown
6326 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
6327 _LT_TAGVAR(reload_flag, $1)=$reload_flag
6328 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
6329 _LT_TAGVAR(no_undefined_flag, $1)=
6330 _LT_TAGVAR(whole_archive_flag_spec, $1)=
6331 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
6338 _LT_TAGVAR(objext, $1)=$objext
6343 # and will be corrupted by setting them based on a non-working compiler.
6366 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
6371 if test -n "${lt_cv_path_LDCXX+set}"; then
6376 test -z "${LDCXX+set}" || LD=$LDCXX
6377 CC=${CXX-"c++"}
6380 _LT_TAGVAR(compiler, $1)=$CC
6383 if test -n "$compiler"; then
6384 # We don't want -fno-exception when compiling C++ code, so set the
6387 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
6389 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
6400 …chive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_object…
6401 …1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_f…
6403 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6404 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6407 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
6411 # ancient GNU ld didn't support --whole-archive et. al.
6412 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
6413 $GREP 'no-whole-archive' > /dev/null; then
6414 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
6416 _LT_TAGVAR(whole_archive_flag_spec, $1)=
6427 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_obj…
6433 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
6443 _LT_TAGVAR(ld_shlibs, $1)=yes
6447 _LT_TAGVAR(ld_shlibs, $1)=no
6449 aix[[4-9]]*)
6454 exp_sym_flag='-Bexport'
6460 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6463 # depending on the kind of the shared library created -
6474 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
6477 *-brtl*)
6484 # With aix-soname=svr4, we create the lib.so.V shared archives only,
6488 LDFLAGS="$LDFLAGS -Wl,-brtl"
6493 exp_sym_flag='-bexport'
6494 no_entry_flag='-bnoentry'
6499 # or program results in "error TOC overflow" add -mminimal-toc to
6501 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6503 _LT_TAGVAR(archive_cmds, $1)=''
6504 _LT_TAGVAR(hardcode_direct, $1)=yes
6505 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
6506 _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
6507 _LT_TAGVAR(link_all_deplibs, $1)=yes
6508 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
6513 _LT_TAGVAR(hardcode_direct, $1)=no
6514 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
6522 collect2name=`$CC -print-prog-name=collect2`
6523 if test -f "$collect2name" &&
6530 _LT_TAGVAR(hardcode_direct, $1)=unsupported
6534 _LT_TAGVAR(hardcode_minus_L, $1)=yes
6535 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6536 _LT_TAGVAR(hardcode_libdir_separator, $1)=
6539 shared_flag='-shared'
6541 shared_flag=$shared_flag' $wl-G'
6545 # /with/ Import File - we do not want to mix them.
6546 shared_flag_aix='-shared'
6547 shared_flag_svr4='-shared $wl-G'
6551 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6552 # chokes on -Wl,-G. The following line is correct:
6553 shared_flag='-G'
6556 shared_flag='$wl-G'
6558 shared_flag='$wl-bM:SRE'
6560 shared_flag_aix='$wl-bM:SRE'
6561 shared_flag_svr4='$wl-G'
6565 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
6566 # It seems that -bexpall does not export symbols beginning with
6569 _LT_TAGVAR(always_export_symbols, $1)=yes
6571 # Warning - without using the other runtime loading flags (-brtl),
6572 # -berok will link without error, but may produce a broken library.
6573 # The "-G" linker flag allows undefined symbols.
6574 _LT_TAGVAR(no_undefined_flag, $1)='-bernotok'
6577 _LT_SYS_MODULE_PATH_AIX([$1])
6578 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6580 …GVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag'…
6583 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
6584 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
6585 …_LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $depli…
6589 _LT_SYS_MODULE_PATH_AIX([$1])
6590 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6591 # Warning - without using the other run time loading flags,
6592 # -berok will link without error, but may produce a broken library.
6593 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
6594 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
6596 # We only use this code for GNU lds that support --whole-archive.
6597 … _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
6600 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
6602 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
6603 …_LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$real…
6604 # -brtl affects multiple linker settings, -berok does not and is overridden later
6605 …ler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
6608 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
6609 …1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$s…
6612 …1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$…
6614 # used by -dlpreopen to get the symbols
6615 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$r…
6617 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/…
6623 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6624 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
6626 # support --undefined. This deserves some investigation. FIXME
6627 …_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname…
6629 _LT_TAGVAR(ld_shlibs, $1)=no
6637 _LT_TAGVAR(ld_shlibs, $1)=no
6648 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
6649 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
6650 _LT_TAGVAR(always_export_symbols, $1)=yes
6651 _LT_TAGVAR(file_list_spec, $1)='@'
6657 …_LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,…
6658 _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
6662 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
6664 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
6667 # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
6668 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6670 _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
6671 _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
6681 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
6682 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
6688 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
6690 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6691 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
6692 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
6693 _LT_TAGVAR(always_export_symbols, $1)=no
6694 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6696 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
6697 …1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $o…
6698 # If the export-symbols file already is a .def file, use it as
6700 _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
6706 …-shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $c…
6708 _LT_TAGVAR(ld_shlibs, $1)=no
6713 darwin* | rhapsody*)
6714 _LT_DARWIN_LINKER_FEATURES($1)
6718 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6719 _LT_TAGVAR(hardcode_minus_L, $1)=yes
6720 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
6722 …_LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $o…
6727 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
6728 emximp -o $lib $output_objdir/$libname.def'
6729 …_LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANC…
6734 if test EXPORTS = "`$SED 1q $export_symbols`"; then
6735 prefix_cmds="$prefix_cmds -e 1d";
6737 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
6739 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
6740 emximp -o $lib $output_objdir/$libname.def'
6741 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
6742 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6749 _LT_TAGVAR(ld_shlibs, $1)=no
6754 _LT_TAGVAR(ld_shlibs, $1)=no
6758 _LT_TAGVAR(ld_shlibs, $1)=no
6766 _LT_TAGVAR(ld_shlibs, $1)=no
6769 freebsd-elf*)
6770 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6776 _LT_TAGVAR(ld_shlibs, $1)=yes
6780 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname …
6781 _LT_TAGVAR(link_all_deplibs, $1)=yes
6785 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
6786 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6787 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6788 _LT_TAGVAR(hardcode_direct, $1)=yes
6789 _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
6796 _LT_TAGVAR(ld_shlibs, $1)=no
6799 …_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $outpu…
6808 …output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list…
6812 …_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl…
6815 _LT_TAGVAR(ld_shlibs, $1)=no
6823 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
6824 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6830 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6836 _LT_TAGVAR(hardcode_direct, $1)=no
6837 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6840 _LT_TAGVAR(hardcode_direct, $1)=yes
6841 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
6842 _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
6851 _LT_TAGVAR(ld_shlibs, $1)=no
6856 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $p…
6859 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $…
6862 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_obj…
6873 …output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=…
6880 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects…
6883 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath …
6886 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_l…
6892 _LT_TAGVAR(ld_shlibs, $1)=no
6898 interix[[3-9]]*)
6899 _LT_TAGVAR(hardcode_direct, $1)=no
6900 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6901 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6902 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6907 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6909 …s, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`exp…
6910 …1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $de…
6916 …1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags …
6919 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
6922 _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
6927 …1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_f…
6929 …1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_f…
6932 _LT_TAGVAR(link_all_deplibs, $1)=yes
6935 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6936 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6937 _LT_TAGVAR(inherit_rpath, $1)=yes
6940 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6946 # ends with ".so" (or ".sl" for HP-UX), so rename the library
6948 …1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo …
6949 …1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo …
6958 …_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GRE…
6960 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6961 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6964 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
6965 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
6973 case `$CC -V 2>&1` in
6975 …_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compile…
6976 … $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $w…
6981 ia64*) tmp_idyn=' -i_dynamic';;
6983 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-sonam…
6984 …psym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $…
6987 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6988 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6989 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6990 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
6994 case `$CC -V` in
6995 *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
6996 _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
6997 rm -rf $tpldir~
6998 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
6999 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
7000 _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
7001 rm -rf $tpldir~
7002 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
7003 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
7005 _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
7006 rm -rf $tpldir~
7007 …$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $…
7008 … -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $po…
7009 _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
7010 rm -rf $tpldir~
7011 …$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $…
7012 …-shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $pos…
7015 …AR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $co…
7016 …1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-s…
7020 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir'
7021 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7022 …1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$n…
7026 …_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compile…
7027 …ym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-s…
7030 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7031 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
7041 …mplist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$temp…
7045 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7046 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7047 …_LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$sona…
7049 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
7050 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7052 …$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$outp…
7056 case `$CC -V 2>&1 | sed 5q` in
7059 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7060 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libob…
7061 …_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postd…
7062 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7063 …1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new…
7064 _LT_TAGVAR(compiler_needs_object, $1)=yes
7067 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
7072 # "CC -xar", where "CC" is the Sun C++ compiler. This is
7075 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7084 _LT_TAGVAR(ld_shlibs, $1)=no
7089 _LT_TAGVAR(ld_shlibs, $1)=no
7096 _LT_TAGVAR(ld_shlibs, $1)=no
7100 _LT_TAGVAR(ld_shlibs, $1)=no
7106 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7107 …_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_…
7109 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7110 _LT_TAGVAR(hardcode_direct, $1)=yes
7111 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7113 # Workaround some broken pre-1.5 toolchains
7114 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $…
7118 _LT_TAGVAR(ld_shlibs, $1)=yes
7122 if test -f /usr/libexec/ld.so; then
7123 _LT_TAGVAR(hardcode_direct, $1)=yes
7124 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7125 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
7126 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_obj…
7127 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7128 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
7129 …m_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_fl…
7130 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
7131 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
7135 _LT_TAGVAR(ld_shlibs, $1)=no
7145 # ends with ".so" (or ".sl" for HP-UX), so rename the library
7147 …1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo …
7149 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7150 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
7155 osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
7156 *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
7160 # Rational C++ 2.4.1
7162 _LT_TAGVAR(ld_shlibs, $1)=no
7167 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
7168 …1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_…
7169 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7172 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
7173 …1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_…
7174 …_LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exporte…
7175 echo "-hidden">> $lib.exp~
7176 …-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -m…
7178 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7182 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
7192 …$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_a…
7196 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
7199 …1)='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects…
7202 …1)='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postd…
7206 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7207 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
7212 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
7216 _LT_TAGVAR(ld_shlibs, $1)=no
7224 _LT_TAGVAR(ld_shlibs, $1)=no
7232 _LT_TAGVAR(ld_shlibs, $1)=no
7237 _LT_TAGVAR(ld_shlibs, $1)=no
7241 _LT_TAGVAR(ld_shlibs, $1)=no
7250 _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
7251 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7252 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libob…
7253 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
7254 …$CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs …
7256 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7257 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7259 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7262 # but understands '-z linker_flag'.
7263 # Supported since Solaris 2.6 (maybe 2.5.1?)
7264 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
7267 _LT_TAGVAR(link_all_deplibs, $1)=yes
7272 # "CC -xar", where "CC" is the Sun C++ compiler. This is
7275 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7279 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $comp…
7282 _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
7287 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs'
7288 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
7289 …(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_obj…
7290 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
7291 …$CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobj…
7296 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
7298 # g++ 2.7 appears to require '-G' NOT '-shared' on this
7300 …_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $co…
7301 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
7302 …$CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $pos…
7307 …output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | …
7310 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
7312 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7314 …_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextra…
7323 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7324 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7325 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7330 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7331 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
7334 … _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7335 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
7341 # Note: We CANNOT use -z defs as we might desire, because we do not
7342 # link with -lc, and that would cause any symbols used from libc to
7344 # ever link correctly. If we're not using GNU ld we use -z text
7345 # though, which does catch some bad symbols but isn't as heavy-handed
7346 # as -z defs.
7347 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7348 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
7349 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7350 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7351 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
7352 _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
7353 _LT_TAGVAR(link_all_deplibs, $1)=yes
7354 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
7359 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7360 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
7361 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
7362 '"$_LT_TAGVAR(old_archive_cmds, $1)"
7363 _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
7364 '"$_LT_TAGVAR(reload_cmds, $1)"
7367 … _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7368 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
7376 # NonStop-UX NCC 3.20
7378 _LT_TAGVAR(ld_shlibs, $1)=no
7382 _LT_TAGVAR(ld_shlibs, $1)=no
7389 _LT_TAGVAR(ld_shlibs, $1)=no
7394 _LT_TAGVAR(ld_shlibs, $1)=no
7398 AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
7399 test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
7401 _LT_TAGVAR(GCC, $1)=$GXX
7402 _LT_TAGVAR(LD, $1)=$LD
7408 _LT_SYS_HIDDEN_LIBDEPS($1)
7409 _LT_COMPILER_PIC($1)
7410 _LT_COMPILER_C_O($1)
7411 _LT_COMPILER_FILE_LOCKS($1)
7412 _LT_LINKER_SHLIBS($1)
7413 _LT_SYS_DYNAMIC_LINKER($1)
7414 _LT_LINKER_HARDCODE_LIBPATH($1)
7416 _LT_CONFIG($1)
7417 fi # test -n "$compiler"
7436 # ----------------------
7443 # This function is identical to the (non-XSI) version of func_stripname,
7452 .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;;
7453 *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;;
7460 # ---------------------------------
7469 _LT_TAGVAR(predep_objects, $1)=
7470 _LT_TAGVAR(postdep_objects, $1)=
7471 _LT_TAGVAR(predeps, $1)=
7472 _LT_TAGVAR(postdeps, $1)=
7473 _LT_TAGVAR(compiler_lib_search_path, $1)=
7480 m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
7484 ], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
7493 ], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
7501 ], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
7509 ], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
7517 ], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
7526 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
7527 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
7528 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
7544 -L* | -R* | -l*)
7545 # Some compilers place space between "-{L,R}" and the path.
7547 if test x-L = "$p" ||
7548 test x-R = "$p"; then
7554 if test -z "$prev"; then
7556 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
7557 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
7558 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
7566 -L | -R)
7570 if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
7571 _LT_TAGVAR(compiler_lib_search_path, $1)=$prev$p
7573 _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} $prev$p"
7576 # The "-l" case would never come before the object being
7580 if test -z "$_LT_TAGVAR(postdeps, $1)"; then
7581 _LT_TAGVAR(postdeps, $1)=$prev$p
7583 _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} $prev$p"
7599 if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
7600 _LT_TAGVAR(predep_objects, $1)=$p
7602 _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
7605 if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
7606 _LT_TAGVAR(postdep_objects, $1)=$p
7608 _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
7619 rm -f a.out a.exe
7621 echo "libtool.m4: error: problem compiling $1 test program"
7624 $RM -f confest.$objext
7628 m4_if([$1], [CXX],
7630 interix[[3-9]]*)
7633 _LT_TAGVAR(predep_objects,$1)=
7634 _LT_TAGVAR(postdep_objects,$1)=
7635 _LT_TAGVAR(postdeps,$1)=
7640 case " $_LT_TAGVAR(postdeps, $1) " in
7641 *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
7643 _LT_TAGVAR(compiler_lib_search_dirs, $1)=
7644 if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
7645 …LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SE…
7647 _LT_TAGDECL([], [compiler_lib_search_dirs], [1],
7649 _LT_TAGDECL([], [predep_objects], [1],
7652 _LT_TAGDECL([], [postdep_objects], [1])
7653 _LT_TAGDECL([], [predeps], [1])
7654 _LT_TAGDECL([], [postdeps], [1])
7655 _LT_TAGDECL([], [compiler_lib_search_path], [1],
7662 # --------------------------
7668 if test -z "$F77" || test no = "$F77"; then
7672 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7673 _LT_TAGVAR(allow_undefined_flag, $1)=
7674 _LT_TAGVAR(always_export_symbols, $1)=no
7675 _LT_TAGVAR(archive_expsym_cmds, $1)=
7676 _LT_TAGVAR(export_dynamic_flag_spec, $1)=
7677 _LT_TAGVAR(hardcode_direct, $1)=no
7678 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
7679 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
7680 _LT_TAGVAR(hardcode_libdir_separator, $1)=
7681 _LT_TAGVAR(hardcode_minus_L, $1)=no
7682 _LT_TAGVAR(hardcode_automatic, $1)=no
7683 _LT_TAGVAR(inherit_rpath, $1)=no
7684 _LT_TAGVAR(module_cmds, $1)=
7685 _LT_TAGVAR(module_expsym_cmds, $1)=
7686 _LT_TAGVAR(link_all_deplibs, $1)=unknown
7687 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7688 _LT_TAGVAR(reload_flag, $1)=$reload_flag
7689 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
7690 _LT_TAGVAR(no_undefined_flag, $1)=
7691 _LT_TAGVAR(whole_archive_flag_spec, $1)=
7692 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
7699 _LT_TAGVAR(objext, $1)=$objext
7704 # and will be corrupted by setting them based on a non-working compiler.
7730 CC=${F77-"f77"}
7733 _LT_TAGVAR(compiler, $1)=$CC
7736 if test -n "$compiler"; then
7748 if test -n "$RANLIB"; then
7753 aix[[4-9]]*)
7770 _LT_TAGVAR(GCC, $1)=$G77
7771 _LT_TAGVAR(LD, $1)=$LD
7777 _LT_COMPILER_PIC($1)
7778 _LT_COMPILER_C_O($1)
7779 _LT_COMPILER_FILE_LOCKS($1)
7780 _LT_LINKER_SHLIBS($1)
7781 _LT_SYS_DYNAMIC_LINKER($1)
7782 _LT_LINKER_HARDCODE_LIBPATH($1)
7784 _LT_CONFIG($1)
7785 fi # test -n "$compiler"
7797 # -------------------------
7804 if test -z "$FC" || test no = "$FC"; then
7808 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7809 _LT_TAGVAR(allow_undefined_flag, $1)=
7810 _LT_TAGVAR(always_export_symbols, $1)=no
7811 _LT_TAGVAR(archive_expsym_cmds, $1)=
7812 _LT_TAGVAR(export_dynamic_flag_spec, $1)=
7813 _LT_TAGVAR(hardcode_direct, $1)=no
7814 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
7815 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
7816 _LT_TAGVAR(hardcode_libdir_separator, $1)=
7817 _LT_TAGVAR(hardcode_minus_L, $1)=no
7818 _LT_TAGVAR(hardcode_automatic, $1)=no
7819 _LT_TAGVAR(inherit_rpath, $1)=no
7820 _LT_TAGVAR(module_cmds, $1)=
7821 _LT_TAGVAR(module_expsym_cmds, $1)=
7822 _LT_TAGVAR(link_all_deplibs, $1)=unknown
7823 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7824 _LT_TAGVAR(reload_flag, $1)=$reload_flag
7825 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
7826 _LT_TAGVAR(no_undefined_flag, $1)=
7827 _LT_TAGVAR(whole_archive_flag_spec, $1)=
7828 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
7831 ac_ext=${ac_fc_srcext-f}
7835 _LT_TAGVAR(objext, $1)=$objext
7840 # and will be corrupted by setting them based on a non-working compiler.
7866 CC=${FC-"f95"}
7871 _LT_TAGVAR(compiler, $1)=$CC
7874 if test -n "$compiler"; then
7886 if test -n "$RANLIB"; then
7891 aix[[4-9]]*)
7908 _LT_TAGVAR(GCC, $1)=$ac_cv_fc_compiler_gnu
7909 _LT_TAGVAR(LD, $1)=$LD
7915 _LT_SYS_HIDDEN_LIBDEPS($1)
7916 _LT_COMPILER_PIC($1)
7917 _LT_COMPILER_C_O($1)
7918 _LT_COMPILER_FILE_LOCKS($1)
7919 _LT_LINKER_SHLIBS($1)
7920 _LT_SYS_DYNAMIC_LINKER($1)
7921 _LT_LINKER_HARDCODE_LIBPATH($1)
7923 _LT_CONFIG($1)
7924 fi # test -n "$compiler"
7936 # --------------------------
7949 _LT_TAGVAR(objext, $1)=$objext
7969 CC=${GCJ-"gcj"}
7972 _LT_TAGVAR(compiler, $1)=$CC
7973 _LT_TAGVAR(LD, $1)=$LD
7977 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7979 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7980 _LT_TAGVAR(reload_flag, $1)=$reload_flag
7981 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
7983 if test -n "$compiler"; then
7984 _LT_COMPILER_NO_RTTI($1)
7985 _LT_COMPILER_PIC($1)
7986 _LT_COMPILER_C_O($1)
7987 _LT_COMPILER_FILE_LOCKS($1)
7988 _LT_LINKER_SHLIBS($1)
7989 _LT_LINKER_HARDCODE_LIBPATH($1)
7991 _LT_CONFIG($1)
8003 # --------------------------
8016 _LT_TAGVAR(objext, $1)=$objext
8036 CC=${GOC-"gccgo"}
8039 _LT_TAGVAR(compiler, $1)=$CC
8040 _LT_TAGVAR(LD, $1)=$LD
8044 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
8046 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
8047 _LT_TAGVAR(reload_flag, $1)=$reload_flag
8048 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
8050 if test -n "$compiler"; then
8051 _LT_COMPILER_NO_RTTI($1)
8052 _LT_COMPILER_PIC($1)
8053 _LT_COMPILER_C_O($1)
8054 _LT_COMPILER_FILE_LOCKS($1)
8055 _LT_LINKER_SHLIBS($1)
8056 _LT_LINKER_HARDCODE_LIBPATH($1)
8058 _LT_CONFIG($1)
8070 # -------------------------
8083 _LT_TAGVAR(objext, $1)=$objext
8103 CC=${RC-"windres"}
8106 _LT_TAGVAR(compiler, $1)=$CC
8108 _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
8110 if test -n "$compiler"; then
8112 _LT_CONFIG($1)
8123 # -----------
8128 test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
8134 dnl aclocal-1.4 backwards compatibility:
8139 # ----------
8146 # ----------
8153 dnl aclocal-1.4 backwards compatibility:
8158 # --------------
8164 test -z "$GREP" && GREP=grep
8165 _LT_DECL([], [GREP], [1], [A grep program that handles long lines])
8166 _LT_DECL([], [EGREP], [1], [An ERE matcher])
8167 _LT_DECL([], [FGREP], [1], [A literal string matcher])
8168 dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
8174 # --------------
8179 test -z "$OBJDUMP" && OBJDUMP=objdump
8180 _LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
8185 # ----------------
8189 test -z "$DLLTOOL" && DLLTOOL=dlltool
8190 _LT_DECL([], [DLLTOOL], [1], [DLL creation program])
8195 # ------------
8196 # Check for a fully-functional sed program, that truncates
8200 test -z "$SED" && SED=sed
8201 Xsed="$SED -e 1s/^X//"
8202 _LT_DECL([], [SED], [1], [A sed program that does not truncate output])
8203 _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
8204 [Sed that helps us avoid accidentally triggering echo(1) options like -n])
8222 test -z "$as_dir" && as_dir=.
8237 test ! -f "$lt_ac_sed" && continue
8242 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
8251 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
8252 cmp -s conftest.out conftest.nl || break
8254 test 10 -lt "$lt_ac_count" && break
8255 lt_ac_count=`expr $lt_ac_count + 1`
8256 if test "$lt_ac_count" -gt "$lt_ac_max"; then
8271 dnl aclocal-1.4 backwards compatibility:
8276 # ------------------------
8280 [if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8299 _LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
8300 _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
8305 # -----------------------------
8308 # for certain cross-compile configurations and native mingw.
8315 *-*-mingw* )
8317 *-*-mingw* ) # actually msys
8320 *-*-cygwin* )
8328 *-*-cygwin* )
8330 *-*-mingw* ) # actually msys
8333 *-*-cygwin* )
8356 *-*-mingw* )
8358 *-*-mingw* ) # actually msys
8371 # Helper functions for option handling. -*- Autoconf -*-
8373 # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software
8384 AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
8387 # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
8388 # ------------------------------------------
8390 [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
8393 # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
8394 # ---------------------------------------
8395 # Set option OPTION-NAME for macro MACRO-NAME, and if there is a
8396 # matching handler defined, dispatch to it. Other OPTION-NAMEs are
8399 [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
8400 m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
8401 _LT_MANGLE_DEFUN([$1], [$2]),
8402 [m4_warning([Unknown $1 option '$2'])])[]dnl
8406 # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
8407 # ------------------------------------------------------------
8408 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
8410 [m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
8413 # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
8414 # -------------------------------------------------------
8415 # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
8419 [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
8426 # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
8427 # ----------------------------------------
8428 # OPTION-LIST is a space-separated list of Libtool options associated
8429 # with MACRO-NAME. If any OPTION has a matching handler declared with
8435 [_LT_SET_OPTION([$1], _LT_Option)])
8437 m4_if([$1],[LT_INIT],[
8443 _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
8448 dnl 'shared' nor 'disable-shared' was passed, we enable building of shared
8450 _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
8451 _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
8452 _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
8453 _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
8455 _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4],
8462 # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
8463 # -----------------------------------------
8465 [[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
8468 # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
8469 # -----------------------------------------------
8471 [m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
8476 # ------
8487 dnl aclocal-1.4 backwards compatibility:
8491 # win32-dll
8492 # ---------
8494 LT_OPTION_DEFINE([LT_INIT], [win32-dll],
8498 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8505 test -z "$AS" && AS=as
8506 _LT_DECL([], [AS], [1], [Assembler program])dnl
8508 test -z "$DLLTOOL" && DLLTOOL=dlltool
8509 _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
8511 test -z "$OBJDUMP" && OBJDUMP=objdump
8512 _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
8513 ])# win32-dll
8517 _LT_SET_OPTION([LT_INIT], [win32-dll])
8520 put the 'win32-dll' option into LT_INIT's first parameter.])
8523 dnl aclocal-1.4 backwards compatibility:
8528 # ----------------------------
8529 # implement the --enable-shared flag, and supports the 'shared' and
8530 # 'disable-shared' LT_INIT options.
8533 [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
8535 [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
8537 [p=${PACKAGE-default}
8561 LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
8565 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
8569 [_LT_SET_OPTION([LT_INIT], [disable-shared])
8575 dnl aclocal-1.4 backwards compatibility:
8582 # ----------------------------
8583 # implement the --enable-static flag, and support the 'static' and
8584 # 'disable-static' LT_INIT options.
8587 [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
8589 [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
8591 [p=${PACKAGE-default}
8615 LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
8619 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
8623 [_LT_SET_OPTION([LT_INIT], [disable-static])
8629 dnl aclocal-1.4 backwards compatibility:
8636 # ----------------------------------
8637 # implement the --enable-fast-install flag, and support the 'fast-install'
8638 # and 'disable-fast-install' LT_INIT options.
8641 [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
8642 AC_ARG_ENABLE([fast-install],
8643 [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
8645 [p=${PACKAGE-default}
8668 LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
8669 LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
8673 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
8676 the 'fast-install' option into LT_INIT's first parameter.])
8680 [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
8683 the 'disable-fast-install' option into LT_INIT's first parameter.])
8686 dnl aclocal-1.4 backwards compatibility:
8692 # ----------------------------------
8693 # implement the --with-aix-soname flag, and support the `aix-soname=aix'
8694 # and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT
8697 [m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl
8700 power*-*-aix[[5-9]]*,yes)
8702 AC_ARG_WITH([aix-soname],
8703 [AS_HELP_STRING([--with-aix-soname=aix|svr4|both],
8709 AC_MSG_ERROR([Unknown argument to --with-aix-soname])
8721 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8723 if test 64 = "${OBJECT_MODE-32}"; then
8739 LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])])
8740 LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])])
8741 LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])])
8745 # --------------------
8746 # implement the --with-pic flag, and support the 'pic-only' and 'no-pic'
8751 [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
8752 [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
8753 [lt_p=${PACKAGE-default}
8769 [pic_mode=m4_default([$1], [default])])
8774 LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
8775 LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
8779 [_LT_SET_OPTION([LT_INIT], [pic-only])
8782 put the 'pic-only' option into LT_INIT's first parameter.])
8785 dnl aclocal-1.4 backwards compatibility:
8803 # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
8805 # Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software
8820 # -----------------------------
8826 [m4_if([$#], [1], [],
8828 [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
8831 [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
8836 # ------------
8839 # Autoconf-2.59, which quotes differently.
8840 m4_define([lt_car], [[$1]])
8843 [$#], 1, [],
8845 m4_define([lt_unquote], $1)
8848 # lt_append(MACRO-NAME, STRING, [SEPARATOR])
8849 # ------------------------------------------
8850 # Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'.
8852 # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
8853 # No SEPARATOR is output if MACRO-NAME was previously undefined (different
8859 [m4_define([$1],
8860 m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
8864 # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
8865 # ----------------------------------------------------------
8867 # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
8871 [m4_if(m4_eval([$# > 3]), [1],
8876 [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
8879 # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
8880 # -----------------------------------------------------------------------
8881 # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
8882 # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
8884 [m4_ifdef([$1],
8885 [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
8886 [lt_append([$1], [$2], [$3])$4],
8888 [lt_append([$1], [$2], [$3])$4])])
8892 # -----------------------------
8894 [m4_define([$1($2)], [$3])])
8898 # --------------------------------------------
8900 [m4_define([$1($2:$3)], [$4])])
8904 # ----------------------------------
8907 m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
8908 m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
8911 # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
8912 # -----------------------------------------------------------------
8914 [m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
8920 # --------------------------------------------------------------
8925 [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
8928 # ltversion.m4 -- version numbers -*- Autoconf -*-
8930 # Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc.
8952 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
8954 # Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software
8980 # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
8988 AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
9052 # Copyright (C) 2002-2018 Free Software Foundation, Inc.
9059 # ----------------------------
9067 m4_if([$1], [1.16.1], [],
9068 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
9072 # -----------------------------
9079 # -------------------------------
9083 [AM_AUTOMAKE_VERSION([1.16.1])dnl
9088 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
9090 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
9116 # are both prefixed by $srcdir. In an in-source build this is usually
9140 # AM_CONDITIONAL -*- Autoconf -*-
9142 # Copyright (C) 1997-2018 Free Software Foundation, Inc.
9148 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
9149 # -------------------------------------
9153 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
9154 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
9155 AC_SUBST([$1_TRUE])dnl
9156 AC_SUBST([$1_FALSE])dnl
9157 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
9158 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
9159 m4_define([_AM_COND_VALUE_$1], [$2])dnl
9161 $1_TRUE=
9162 $1_FALSE='#'
9164 $1_TRUE='#'
9165 $1_FALSE=
9168 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
9169 AC_MSG_ERROR([[conditional "$1" was never defined.
9173 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
9188 # ----------------------
9203 m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
9204 [$1], [CXX], [depcc="$CXX" am_compiler_list=],
9205 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
9206 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
9207 [$1], [UPC], [depcc="$UPC" am_compiler_list=],
9208 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
9209 [depcc="$$1" am_compiler_list=])
9212 [am_cv_$1_dependencies_compiler_type],
9213 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9216 # instance it was reported that on HP-UX the gcc test will end up
9217 # making a dummy file named 'D' -- because '-MD' means "put the output
9219 rm -rf conftest.dir
9227 # both Tru64's cc and ICC support -MD to output dependencies as a
9233 am_cv_$1_dependencies_compiler_type=none
9235 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
9238 m4_case([$1], [CC],
9240 *\ -arch\ *\ -arch\ *) am__universal=true ;;
9244 *\ -arch\ *\ -arch\ *) am__universal=true ;;
9256 for i in 1 2 3 4 5 6; do
9264 # We check with '-c' and '-o' for the sake of the "dashmstdout"
9266 # handle '-M -o', and we need to detect this. Also, some Intel
9268 am__obj=sub/conftest.${OBJEXT-o}
9269 am__minus_obj="-o $am__obj"
9276 # After this tag, mechanisms are not by side-effect, so they'll
9285 # This compiler won't grok '-c -o', but also, the minuso test has
9288 am__obj=conftest.${OBJEXT-o}
9296 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9298 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9299 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9300 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9301 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9303 # or remarks (even with -Werror). So we grep stderr for any message
9305 # When given -MP, icc 7.0 and 7.1 complain thusly:
9306 # icc: Command line warning: ignoring option '-M'; no argument required
9308 # icc: Command line remark: option '-MP' not supported
9310 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
9311 am_cv_$1_dependencies_compiler_type=$depmode
9318 rm -rf conftest.dir
9320 am_cv_$1_dependencies_compiler_type=none
9323 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
9324 AM_CONDITIONAL([am__fastdep$1], [
9326 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
9331 # -------------
9341 # ------------
9343 [AC_ARG_ENABLE([dependency-tracking], [dnl
9345 [--enable-dependency-tracking],
9348 [--disable-dependency-tracking],
9349 [speeds up one-time build])])
9362 # Generate code to set up dependency tracking. -*- Autoconf -*-
9364 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
9371 # ------------------------------
9374 # Older Autoconf quotes --file arguments for eval, but not when files
9375 # are listed without --file. Let's play safe and only enable the eval
9388 am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
9390 # dependency-tracking related rules and includes.
9393 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
9398 && sed -e '/# am--include-marker/d' "$am_filepart" \
9399 | $MAKE -f - am--depfiles]) || am_rc=$?
9401 if test $am_rc -ne 0; then
9403 for automatic dependency tracking. Try re-running configure with the
9404 '--disable-dependency-tracking' option to at least be able to build
9411 rm -f conftest-deps.mk
9417 # -----------------------------
9418 # This macro should only be invoked once -- use via AC_REQUIRE.
9426 [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
9428 # Do all the work for Automake. -*- Autoconf -*-
9430 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
9445 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
9447 # -----------------------------------------------
9449 # call (pre autoconf-2.50), which is being phased out. PACKAGE
9460 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
9464 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
9465 # is not polluted with repeated "-I."
9466 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
9468 if test -f $srcdir/config.status; then
9474 if test -z "$CYGPATH_W"; then
9475 if (cygpath --version) >/dev/null 2>/dev/null; then
9476 CYGPATH_W='cygpath -w'
9484 dnl Distinguish between old-style and new-style calls.
9487 [$0: two- and three-arguments forms are deprecated.])
9488 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
9489 AC_SUBST([PACKAGE], [$1])dnl
9491 [_AM_SET_OPTIONS([$1])dnl
9492 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
9500 _AM_IF_OPTION([no-define],,
9507 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
9509 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
9517 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
9518 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
9525 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
9526 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
9528 _AM_IF_OPTION([no-dependencies],,
9552 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
9554 # POSIX will say in a future version that running "rm -f" with no argument
9562 if rm -f && rm -fr && rm -rf; then : OK; else
9567 on the command line, even when the '-f' option is present. This is contrary
9571 Please tell bug-automake@gnu.org about your system, including the value
9589 to "yes", and re-run configure.
9596 dnl backward compatibility and to allow trailing 'dnl'-style comments
9606 # When config.status generates a header, we must update the stamp-h file.
9614 [# Compute $1's index in $config_headers.
9615 _am_arg=$1
9616 _am_stamp_count=1
9622 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9625 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
9627 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
9634 # ------------------
9641 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
9643 install_sh="\${SHELL} $am_aux_dir/install-sh"
9648 # Copyright (C) 2003-2018 Free Software Foundation, Inc.
9654 # Check whether the underlying file-system supports filenames
9655 # with a leading dot. For instance MS-DOS doesn't.
9657 [rm -rf .tst 2>/dev/null
9659 if test -d .tst; then
9667 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
9670 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
9676 # AM_MAINTAINER_MODE([DEFAULT-MODE])
9677 # ----------------------------------
9678 # Control maintainer-specific portions of Makefiles.
9681 # can override the default with the --enable/--disable switch.
9683 [m4_case(m4_default([$1], [disable]),
9687 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
9688 AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
9689 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
9690 AC_ARG_ENABLE([maintainer-mode],
9691 [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
9693 (and sometimes confusing) to the casual installer])],
9703 # Check to see how 'make' treats includes. -*- Autoconf -*-
9705 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
9712 # -----------------
9716 [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
9730 AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
9741 rm -f confinc.* confmf.*
9746 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
9748 # Copyright (C) 1997-2018 Free Software Foundation, Inc.
9755 # ------------------------------
9758 $1=${$1-"${am_missing_run}$2"}
9759 AC_SUBST($1)])
9762 # ------------------
9777 if eval "$MISSING --is-lightweight"; then
9785 # -*- Autoconf -*-
9789 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
9811 [AC_FATAL([automatic de-ANSI-fication support has been removed])])
9814 # Helper functions for option handling. -*- Autoconf -*-
9816 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
9823 # -----------------------
9825 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
9828 # --------------------
9831 [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
9834 # ------------------------
9835 # OPTIONS is a space-separated list of Automake options.
9837 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
9839 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
9840 # -------------------------------------------
9841 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
9843 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
9845 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
9852 # ---------------
9860 [whether $CC understands -c and -o together],
9865 # compilers refuse to overwrite an existing .o file with -o,
9868 for am_i in 1 2; do
9869 if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
9870 && test -f conftest2.$ac_objext; then
9877 rm -f core conftest*
9883 # A longer-term fix would be to have automake use am__CC in this case,
9892 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
9899 # -------------------
9903 [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
9904 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
9909 # Check to make sure that the build environment is sane. -*- Autoconf -*-
9911 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
9918 # ---------------
9935 # arguments. Must try -L first in case configure is actually a
9941 for am_try in 1 2; do
9943 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
9945 # -L didn't work.
9946 set X `ls -t "$srcdir/configure" conftest.file`
9955 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
9958 if test "$[2]" = conftest.file || test $am_try -eq 2; then
9962 sleep 1
9978 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
9979 ( sleep 1 ) &
9984 if test -n "$am_sleep_pid"; then
9989 rm -f conftest.file
9992 # Copyright (C) 2009-2018 Free Software Foundation, Inc.
9999 # --------------------------
10003 [AC_ARG_ENABLE([silent-rules], [dnl
10005 [--enable-silent-rules],
10006 [less verbose build output (undo: "make V=1")])
10008 [--disable-silent-rules],
10013 no) AM_DEFAULT_VERBOSITY=1;;
10014 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
10020 am_make=${MAKE-make}
10026 V=1
10029 .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
10052 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
10059 # ---------------------
10062 # annoying in cross-compiling environments, where the build's strip
10064 # Fortunately install-sh will honor a STRIPPROG variable, so we
10065 # always use install-sh in "make install-strip", and initialize
10070 # run "make install-strip". However 'strip' might not be the right
10071 # tool to use in cross-compilation environments, therefore Automake
10077 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
10080 # Copyright (C) 2006-2018 Free Software Foundation, Inc.
10087 # ---------------------------
10093 # --------------------------
10097 # Check how to create a tarball. -*- Autoconf -*-
10099 # Copyright (C) 2004-2018 Free Software Foundation, Inc.
10106 # --------------------
10111 # writing to stdout a FORMAT-tarball containing the directory
10121 # in the wild :-( We should find a proper way to deprecate it ...
10122 AC_SUBST([AMTAR], ['$${TAR-tar}'])
10125 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
10127 m4_if([$1], [v7],
10128 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
10130 [m4_case([$1],
10132 [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
10136 am_max_uid=2097151 # 2^21 - 1
10139 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
10142 am_uid=`id -u || echo unknown`
10143 am_gid=`id -g || echo unknown`
10145 if test $am_uid -le $am_max_uid; then
10152 if test $am_gid -le $am_max_gid; then
10164 AC_MSG_CHECKING([how to create a $1 tar archive])
10168 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
10174 AM_RUN_LOG([$_am_tar --version]) && break
10176 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
10177 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
10178 am__untar="$_am_tar -xf -"
10181 # Must skip GNU tar: if it does not support --format= it doesn't create
10183 (tar --version) >/dev/null 2>&1 && continue
10184 am__tar='tar chf - "$$tardir"'
10185 am__tar_='tar chf - "$tardir"'
10186 am__untar='tar xf -'
10189 am__tar='pax -L -x $1 -w "$$tardir"'
10190 am__tar_='pax -L -x $1 -w "$tardir"'
10191 am__untar='pax -r'
10194 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
10195 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
10196 am__untar='cpio -i -H $1 -d'
10207 test -n "${am_cv_prog_tar_$1}" && break
10210 rm -rf conftest.dir
10214 rm -rf conftest.dir
10215 if test -s conftest.tar; then
10218 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
10221 rm -rf conftest.dir
10223 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
10224 AC_MSG_RESULT([$am_cv_prog_tar_$1])])