Lines Matching +full:- +full:- +full:versioned +full:- +full:dirs
1 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
3 # Copyright (C) 1996-2001, 2003-2018 Free Software Foundation, Inc.
38 # ------------------
41 [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
49 # ------------------
60 # ------------------
70 m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
80 _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
101 dnl aclocal-1.4 backwards compatibility:
107 # -----------------------
109 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
116 \-*) ;;
120 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
126 # -------------------
140 # ----------------------
144 [: ${CP="cp -f"}
145 : ${MV="mv -f"}
146 : ${RM="rm -f"}
151 # ---------
173 test -z "$LN_S" && LN_S="ln -s"
194 if test -n "\${ZSH_VERSION+set}"; then
198 if test -n "${ZSH_VERSION+set}"; then
232 test -z "$CC" && CC=cc
233 test -z "$LTCC" && LTCC=$CC
234 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
235 test -z "$LD" && LD=ld
236 test -z "$ac_objext" && ac_objext=o
241 test -z "$MAGIC_CMD" && MAGIC_CMD=file
259 # --------------------------
263 # double-quoted strings.
281 # ---------------
293 ## ------------------------------------- ##
295 ## ------------------------------------- ##
303 # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
304 # ----------------------------------------
305 # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
317 # ------------------------------
330 # -----------------------------------------------------
338 # -----------------------------
340 # full-stop to the whole comment if one is not present already.
349 ## ------------------------ ##
351 ## ------------------------ ##
354 # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
355 # -------------------------------------------------------------------
373 # --------------------------------------------------------
378 # ------------------------------------------------
384 # ---------------------------------------------------------
396 # --------------------------------------------------
402 # ---------------------------------------------------
408 # ---------------------------------------------------
419 # ------------------------------------------------
433 # ------------------------------------
442 # ------------------------------
455 # ----------------
464 # -----------------------------------
485 # -----------------------
486 # Produce commented declarations of non-tagged libtool config variables
497 # -------------------------
504 # ------------------------------
509 # -------------------
535 # The HP-UX ksh and POSIX shell print the target directory to stdout
568 # Double-quote double-evaled strings.
573 …\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_s…
585 # ------------------------------------
591 # the child script. The macro ends with non-zero status if the
603 SHELL=\${CONFIG_SHELL-$SHELL}
615 # ---------
640 -h, --help print this help, then exit
641 -V, --version print version number, then exit
642 -q, --quiet do not print progress messages
643 -d, --debug don't remove temporary files
645 Report bugs to <bug-libtool@gnu.org>."
659 --version | --v* | -V )
661 --help | --h* | -h )
663 --debug | --d* | -d )
665 --quiet | --q* | --silent | --s* | -q )
668 -*) AC_MSG_ERROR([unrecognized option: $[1]
669 Try '$[0] --help' for more information.]) ;;
672 Try '$[0] --help' for more information.]) ;;
699 lt_config_lt_args="$lt_config_lt_args --quiet"
708 # ---------------
709 # If TAG is the built-in tag, create an initial libtool script with a
720 if test -n "${ZSH_VERSION+set}"; then
733 # Provide generalized library-building support services.
777 # if finds mixed CR/LF and LF-only lines. Since sed operates in
781 || (rm -f "$cfgfile"; exit 1)
783 mv -f "$cfgfile" "$ofile" ||
784 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
807 # ---------------------
809 # --tag option, using:
810 # autoconf --trace 'LT_SUPPORTED_TAG:$1'
814 # C support is built-in for now
820 # -------------
839 # ------------------
862 if test -z "$GOC"; then
863 if test -n "$ac_tool_prefix"; then
867 if test -z "$GOC"; then
875 # -----------------------
919 dnl aclocal-1.4 backwards compatibility:
928 # ----------------
938 LTCC=${LTCC-"$CC"}
941 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
949 # ------------------------
963 # ----------------------
972 $RM -r conftest*
976 # -------------------------
992 [ldd/readelf like tool for Mach-O binaries on Mac OS X])
994 [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
996 AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
998 if test -z "$LT_MULTI_MODULE"; then
999 # By default we will add the -single_module flag. You can override
1001 # non-empty at configure time, or by adding -multi_module to the
1003 rm -rf libconftest.dylib*
1005 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1006 -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
1007 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1008 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
1010 # If there is a non-empty error log, and "single_module"
1012 if test -s conftest.err && $GREP single_module conftest.err; then
1016 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
1021 rm -rf libconftest.dylib*
1022 rm -f conftest.*
1025 AC_CACHE_CHECK([for -exported_symbols_list linker flag],
1030 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1037 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
1042 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
1043 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
1051 …echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAG…
1052 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
1054 if test -s conftest.err && $GREP force_load conftest.err; then
1056 …elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
1061 rm -f conftest.err libconftest.a conftest conftest.c
1062 rm -rf conftest.dSYM
1066 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
1068 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1073 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1074 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1075 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1077 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1079 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1087 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
1089 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
1102 # ---------------------------------
1112 …ec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenienc…
1126 …_LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs…
1127 …_LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$co…
1128 …\$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobj…
1129 …psym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC…
1132 …-r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_…
1133 …-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamicl…
1142 # ----------------------------------
1165 …_LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_a…
1166 # Check for a 64-bit object if we didn't find anything.
1167 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1168 …_LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$l…
1170 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1180 # -------------------
1182 [m4_divert_text([M4SH-INIT], [$1
1188 # -----------------------
1200 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
1201 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
1202 ECHO='print -r --'
1217 # Invoke $ECHO with all args, space-separated.
1225 print*) AC_MSG_RESULT([print -r]) ;;
1231 test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
1237 || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
1245 # ----------------
1249 [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
1260 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
1264 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
1274 AC_MSG_RESULT([${lt_sysroot:-no}])
1279 # ---------------
1281 [AC_ARG_ENABLE([libtool-lock],
1282 [AS_HELP_STRING([--disable-libtool-lock],
1289 ia64-*-hpux*)
1295 *ELF-32*)
1298 *ELF-64*)
1303 rm -rf conftest*
1305 *-*-irix6*)
1312 *32-bit*)
1313 LD="${LD-ld} -melf32bsmip"
1316 LD="${LD-ld} -melf32bmipn32"
1318 *64-bit*)
1319 LD="${LD-ld} -melf64bmip"
1324 *32-bit*)
1325 LD="${LD-ld} -32"
1328 LD="${LD-ld} -n32"
1330 *64-bit*)
1331 LD="${LD-ld} -64"
1336 rm -rf conftest*
1339 mips64*-*linux*)
1346 *32-bit*)
1349 *64-bit*)
1366 LD="${LD-ld} -m $emul"
1368 rm -rf conftest*
1371 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
1372 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1376 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
1382 *32-bit*)
1384 x86_64-*kfreebsd*-gnu)
1385 LD="${LD-ld} -m elf_i386_fbsd"
1387 x86_64-*linux*)
1389 *x86-64*)
1390 LD="${LD-ld} -m elf32_x86_64"
1393 LD="${LD-ld} -m elf_i386"
1397 powerpc64le-*linux*)
1398 LD="${LD-ld} -m elf32lppclinux"
1400 powerpc64-*linux*)
1401 LD="${LD-ld} -m elf32ppclinux"
1403 s390x-*linux*)
1404 LD="${LD-ld} -m elf_s390"
1406 sparc64-*linux*)
1407 LD="${LD-ld} -m elf32_sparc"
1411 *64-bit*)
1413 x86_64-*kfreebsd*-gnu)
1414 LD="${LD-ld} -m elf_x86_64_fbsd"
1416 x86_64-*linux*)
1417 LD="${LD-ld} -m elf_x86_64"
1419 powerpcle-*linux*)
1420 LD="${LD-ld} -m elf64lppc"
1422 powerpc-*linux*)
1423 LD="${LD-ld} -m elf64ppc"
1425 s390*-*linux*|s390*-*tpf*)
1426 LD="${LD-ld} -m elf64_s390"
1428 sparc*-*linux*)
1429 LD="${LD-ld} -m elf64_sparc"
1435 rm -rf conftest*
1438 *-*-sco3.2v5*)
1439 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1441 CFLAGS="$CFLAGS -belf"
1442 AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1447 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1451 *-*solaris*)
1457 *64-bit*)
1461 i?86-*-solaris*|x86_64-*-solaris*)
1462 LD="${LD-ld} -m elf_x86_64"
1464 sparc*-*-solaris*)
1465 LD="${LD-ld} -m elf64_sparc"
1469 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
1470 LD=${LD-ld}_sol2
1474 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1475 LD="${LD-ld} -64"
1482 rm -rf conftest*
1491 # -----------
1503 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
1507 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
1509 _LT_DECL([], [AR_FLAGS], [\@S|@{ARFLAGS-"\@S|@lt_ar_flags"}],
1518 if test 0 -eq "$ac_status"; then
1520 rm -f conftest.$ac_objext libconftest.a
1522 if test 0 -ne "$ac_status"; then
1526 rm -f conftest.* libconftest.a
1541 # -------------------
1546 test -z "$STRIP" && STRIP=:
1550 test -z "$RANLIB" && RANLIB=:
1552 [Commands used to install an old-style archive])
1554 # Determine commands to create old-style static archives.
1559 if test -n "$RANLIB"; then
1562 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1580 [Commands used to build an old-style archive])
1586 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1587 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
1588 # ----------------------------------------------------------------
1604 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1605 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1606 -e 's:$: $lt_compiler_flag:'`
1612 if (exit $ac_status) && test -s "$ac_outfile"; then
1617 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1633 dnl aclocal-1.4 backwards compatibility:
1637 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1638 # [ACTION-SUCCESS], [ACTION-FAILURE])
1639 # ----------------------------------------------------
1649 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1652 if test -s conftest.err; then
1664 $RM -r conftest*
1677 dnl aclocal-1.4 backwards compatibility:
1682 #---------------
1703 # Libtool will interpret -1 as no limit whatsoever
1704 lt_cv_sys_max_cmd_len=-1;
1708 # On Win9x/ME, this test blows up -- it succeeds, but takes
1710 # Worse, since 9x/ME are not pre-emptively multitasking,
1731 if test -x /sbin/sysctl; then
1732 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
1733 elif test -x /usr/sbin/sysctl; then
1734 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
1760 if test -x /sbin/sysconfig; then
1761 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
1762 *1*) lt_cv_sys_max_cmd_len=-1 ;;
1771 if test -n "$kargmax"; then
1779 if test -n "$lt_cv_sys_max_cmd_len" && \
1789 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
1790 # If test is not a shell built-in, we'll probably end up computing a
1811 if test -n "$lt_cv_sys_max_cmd_len"; then
1823 dnl aclocal-1.4 backwards compatibility:
1828 # ----------------
1834 # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1835 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1836 # ----------------------------------------------------------------
1886 /* When -fvisibility=hidden is used, assume the code has been annotated
1914 if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
1927 rm -fr conftest*
1932 # ------------------
1963 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
1972 # because TPF is a cross-compiler, and we know how we open DSOs.
1982 [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
1986 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
1988 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
1990 [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
2008 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
2059 dnl aclocal-1.4 backwards compatibility:
2064 # ---------------------------
2065 # Check to see if options -c and -o are simultaneously supported by compiler.
2071 AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
2074 $RM -r conftest 2>/dev/null
2080 lt_compiler_flag="-o out/conftest2.$ac_objext"
2086 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2087 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
2088 -e 's:$: $lt_compiler_flag:'`
2094 if (exit $ac_status) && test -s out/conftest2.$ac_objext
2100 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
2108 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
2111 $RM -r conftest
2115 [Does compiler simultaneously support -c and -o options?])
2120 # ----------------------------------
2139 AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe])
2150 # ----------------
2153 [rm -f .libs 2>/dev/null
2155 if test -d .libs; then
2158 # MS-DOS does not allow filenames that begin with a dot.
2167 [Define to the sub-directory where libtool stores uninstalled libraries.])
2172 # --------------------------------------
2177 if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
2178 test -n "$_LT_TAGVAR(runpath_var, $1)" ||
2181 # We can hardcode non-existent directories.
2185 # when we should be linking with a yet-to-be-installed one
2191 # We can link without hardcoding, and we can hardcode nonexisting dirs.
2216 # ----------------
2222 if test -z "$STRIP"; then
2225 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
2226 old_striplib="$STRIP --strip-debug"
2227 striplib="$STRIP --strip-unneeded"
2232 # FIXME - insert some real tests, host_os isn't really good enough
2233 striplib="$STRIP -x"
2234 old_striplib="$STRIP -S"
2238 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
2239 old_striplib="$STRIP --strip-debug"
2240 striplib="$STRIP --strip-unneeded"
2258 # ---------------------------
2262 # -----------------------------------
2287 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
2288 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
2299 # -----------------------------
2318 mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
2321 …lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_s…
2325 # otherwise default to the standard path separator (i.e. ":") - it is
2337 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
2339 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
2346 if test -d "$lt_sys_path$lt_multi_os_dir"; then
2348 elif test -n "$lt_multi_os_dir"; then
2349 test -d "$lt_sys_path" && \
2357 for (lt_i = NF; lt_i > 0; lt_i--) {
2365 lt_count--;
2377 $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
2399 # when you set need_version to no, make sure it does not cause -set_version
2404 [User-defined run-time library search path.])
2416 aix[[4-9]]*)
2435 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
2443 # filename-based versioning of shared library archives on AIX. While
2445 # prevent static linking of such archives. So we do filename-based
2450 # versioned .so libs for executables only if there is the -brtl
2451 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
2452 # To allow for filename-based versioning support, we need to create
2454 # *) an Import File, referring to the versioned filename of the
2462 # but for link time we create the symlink libNAME.so -> libNAME.so.V
2492 …-n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$…
2502 …-z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z …
2503 …postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_librar…
2514 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
2542 # libtool to hard-code these into programs
2557 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2559 test -d \$dldir || mkdir -p \$dldir~
2562 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2565 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2573 …soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuff…
2579 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2583 …library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$v…
2592 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2609 …path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|…
2615 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
2616 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
2617 …sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEP…
2621 if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
2623 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2625 … sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2628 # common. (e.g. "Program Files" -> "PROGRA~1")
2634 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2636 test -d \$dldir || mkdir -p \$dldir~
2638 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2647 …library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.…
2682 if test -x /usr/bin/objformat; then
2690 version_type=freebsd-$objformat
2692 freebsd-elf*)
2698 freebsd-*)
2712 freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
2713 freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
2780 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
2786 interix[[3-9]]*)
2818 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
2819 libsuff= shlibsuff= libmagic=32-bit;;
2820 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
2822 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
2823 libsuff=64 shlibsuff=64 libmagic=64-bit;;
2824 *) libsuff= shlibsuff= libmagic=never-match;;
2841 version_type=none # Android doesn't support versioned libraries.
2856 # Don't embed -rpath directories since the linker doesn't support them.
2857 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2861 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2867 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2879 [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
2894 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
2895 # even though it is searched at run-time. Try to do the best guess by
2897 if test -f /etc/ld.so.conf; then
2898 …skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwc…
2905 # most powerpc-linux boxes support dynamic linking these days and
2906 # people can always --disable-shared, the test was removed, and we
2915 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
2917 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2952 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
2958 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2970 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
2971 v=$($ECHO $release$versuffix | tr -d .-);
2972 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
2980 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
2982 test -d \$dldir || mkdir -p \$dldir~
2985 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2988 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
3057 if test -d /usr/nec; then
3088 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
3128 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
3144 [Is shlibpath searched before the hard-coded library search path?])
3148 The last name is the one that the linker finds with -lNAME]])
3165 [Compile-time system search path for libraries])
3167 [Detected run-time system search path for libraries])
3174 # --------------------------
3187 dnl $ac_dummy forces splitting on constant user-supplied paths.
3193 test -z "$ac_dir" && ac_dir=.
3194 if test -f "$ac_dir/$1"; then
3196 if test -n "$file_magic_test_file"; then
3214 *** bug-libtool@gnu.org
3228 if test -n "$MAGIC_CMD"; then
3239 dnl aclocal-1.4 backwards compatibility:
3244 # --------------
3248 if test -z "$lt_cv_path_MAGIC_CMD"; then
3249 if test -n "$ac_tool_prefix"; then
3259 # ----------
3260 # find the pathname to the GNU or non-GNU linker
3269 AC_ARG_WITH([gnu-ld],
3270 [AS_HELP_STRING([--with-gnu-ld],
3277 # Check if gcc -print-prog-name=ld gives a path.
3280 *-*-mingw*)
3282 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3284 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3295 test -z "$LD" && LD=$ac_prog
3309 AC_MSG_CHECKING([for non-GNU ld])
3312 [if test -z "$LD"; then
3316 test -z "$ac_dir" && ac_dir=.
3317 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3319 # Check to see if the program is GNU ld. I'd rather use --version,
3320 # but apparently some variants of GNU ld only accept -v.
3321 # Break only if it was the GNU/non-GNU ld that we prefer.
3322 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3337 if test -n "$LD"; then
3342 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
3352 dnl aclocal-1.4 backwards compatibility:
3358 #- --------------
3361 [# I'd rather use --version here, but apparently some GNU lds only accept -v.
3362 case `$LD -v 2>&1 </dev/null` in
3375 # --------------
3377 # -- PORTME Some linkers may need a different reload flag.
3381 [lt_cv_ld_reload_flag='-r'])
3387 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3396 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
3398 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3408 # -----------
3417 cmp -s conftest.i conftest.out \
3420 rm -f conftest.i conftest2.i conftest.out])
3425 # ----------------
3434 cmp -s conftest.i conftest.out \
3437 rm -f conftest.i conftest2.i conftest.out
3438 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"])
3445 # ----------------------
3447 # -- PORTME fill in with the dynamic library characteristics
3458 # 'none' -- dependencies not supported.
3459 # 'unknown' -- same as none, but documents that we really don't know.
3460 # 'pass_all' -- all dependencies passed with no checks.
3461 # 'test_compile' -- check by making test program.
3462 # 'file_magic [[regex]]' -- check by looking for files in library path
3468 aix[[4-9]]*)
3477 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib…
3478 lt_cv_file_magic_cmd='/usr/bin/file -L'
3491 # unless we find 'file', for example because we are cross-compiling.
3497 …v_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x…
3498 lt_cv_file_magic_cmd='$OBJDUMP -f'
3504 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3505 lt_cv_file_magic_cmd='$OBJDUMP -f'
3513 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3518 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand pa…
3536 …lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object f…
3540 …heck_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)…
3544 …lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared lib…
3550 interix[[3-9]]*)
3557 *-32|*"-32 ") libmagic=32-bit;;
3558 *-n32|*"-n32 ") libmagic=N32;;
3559 *-64|*"-64 ") libmagic=64-bit;;
3560 *) libmagic=never-match;;
3566 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
3571 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3572 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3579 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3589 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
3590 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
3592 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3615 …bs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][…
3623 …lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib…
3627 lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
3656 …file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/…
3664 test -z "$deplibs_check_method" && deplibs_check_method=unknown
3678 # ----------
3679 # find the pathname to a BSD- or MS-compatible name lister
3682 AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
3683 [if test -n "$NM"; then
3688 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3695 test -z "$ac_dir" && ac_dir=.
3697 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
3698 # Check to see if the nm accepts a BSD-compat flag.
3699 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
3707 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
3709 lt_cv_path_NM="$tmp_nm -B"
3713 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3715 lt_cv_path_NM="$tmp_nm -p"
3735 if test -n "$DUMPBIN"; then :
3738 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
3739 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
3741 DUMPBIN="$DUMPBIN -symbols -headers"
3753 test -z "$NM" && NM=nm
3755 _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
3771 rm -f conftest*])
3777 dnl aclocal-1.4 backwards compatibility:
3782 # --------------------------------
3785 # -- PORTME fill in with the dynamic library characteristics
3798 case `$DLLTOOL --help 2>&1` in
3799 *--identify-strict*)
3814 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
3822 # ----------------------
3826 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
3829 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
3830 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
3835 rm -f conftest*])
3844 # ---------------------
3849 test DEF = "`$SED -n dnl
3850 -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
3851 -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
3852 -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
3853 -e q dnl Only consider the first "real" line
3859 # --------
3865 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
3868 *-ncr-sysv4.3*)
3869 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
3870 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
3873 AC_CHECK_LIB(m, cos, LIBM=-lm)
3881 dnl aclocal-1.4 backwards compatibility:
3886 # -------------------------------
3895 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
3897 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
3900 _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
3902 [-fno-rtti -fno-exceptions], [],
3903 …o_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
3911 # ----------------------
3933 sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
3935 # Define system-specific variables.
3972 case `$NM -V 2>&1` in
3979 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
3981 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
3982 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
3984 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
3985 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
3997 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
3999 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
4000 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
4003 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
4005 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
4006 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
4010 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
4012 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
4013 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
4014 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
4032 # Fake it for dumpbin and say T for any non-static function,
4052 …lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$…
4059 rm -f conftest*
4076 …if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$n…
4079 mv -f "$nlist"T "$nlist"
4081 rm -f "$nlist"T
4091 relocations are performed -- see ld's documentation on pseudo-relocs. */
4106 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4119 …$SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> c…
4141 if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
4159 rm -rf conftest* conftst*
4169 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4172 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4181 elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
4205 # ---------------------------
4215 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4216 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4223 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4225 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4232 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4236 # adding the '-m68020' flag to GCC prevents building anything better,
4237 # like '-m68040'.
4238 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4249 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4250 # (--disable-auto-import) libraries
4252 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4255 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4262 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4270 # The "-static" flag exists, but is broken.
4273 interix[[3-9]]*)
4274 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4278 if test -d /usr/nec; then
4279 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4283 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4284 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4290 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4295 # QNX uses GNU C++, but need to define -shared option too, otherwise
4297 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4300 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4305 aix[[4-9]]*)
4309 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4311 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4318 …# _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abor…
4326 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4331 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4335 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
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_wl, $1)='-Wl,'
4355 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4376 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4377 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4378 # CC pic flag -KPIC is the default.
4384 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4388 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4389 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4392 # old Intel C++ for x86_64, which still supported -KPIC.
4393 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4394 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4395 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4399 # ICC 10 doesn't accept -KPIC any more.
4400 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4401 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4402 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4406 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4407 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4408 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4415 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4419 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4420 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4421 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4424 case `$CC -V 2>&1 | sed 5q` in
4427 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4428 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4429 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4442 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
4451 # QNX uses GNU C++, but need to define -shared option too, otherwise
4453 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4458 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4462 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4466 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4470 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4482 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4483 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4484 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4488 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4498 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4499 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4503 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4512 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4513 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4514 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4521 # NonStop-UX NCC 3.20
4522 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4538 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4539 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4546 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4548 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4555 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4559 # adding the '-m68020' flag to GCC prevents building anything better,
4560 # like '-m68040'.
4561 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4573 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4574 # (--disable-auto-import) libraries
4576 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4579 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4587 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4592 # The "-static" flag exists, but is broken.
4597 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4598 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4605 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4610 interix[[3-9]]*)
4611 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4623 # QNX uses GNU C++, but need to define -shared option too, otherwise
4625 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4629 if test -d /usr/nec; then
4630 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4635 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4641 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
4642 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4643 _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
4651 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4654 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4656 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4663 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4667 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4668 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4669 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4678 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4681 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4687 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4688 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4689 # not for PA HP-UX.
4699 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4703 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4704 # PIC (with -KPIC) is the default.
4705 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4708 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4710 # old Intel for x86_64, which still supported -KPIC.
4712 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4713 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4714 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4717 # ICC 10 doesn't accept -KPIC any more.
4719 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4720 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4721 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4725 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4726 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
4727 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
4731 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4732 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4733 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
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)='-static'
4744 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4745 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4746 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4749 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4751 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4755 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4756 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4757 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4760 case `$CC -V 2>&1 | sed 5q` in
4761 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
4763 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4764 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4768 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4769 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4770 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4774 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4775 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4776 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4779 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4780 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4781 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4784 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4785 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4786 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4794 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4795 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4799 # QNX uses GNU C++, but need to define -shared option too, otherwise
4801 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4805 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4807 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4811 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4815 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4816 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4819 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
4821 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
4826 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4827 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4828 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4832 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4833 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4834 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4838 if test -d /usr/nec; then
4839 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
4840 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4845 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4846 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4847 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4851 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4856 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4857 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4867 # For platforms that do not support PIC, -DPIC is meaningless:
4872 …$1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[]…
4884 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4887 …[$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])]…
4915 # ----------------------------
4931 aix[[4-9]]*)
4932 # If we're using GNU nm, then we don't want the "-C" option.
4933 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
4934 # Without the "-l" option, or with the "-B" option, AIX nm treats
4938 # it in the Import File for the 'aix-soname' feature, so we have
4939 # to replace the "-B" option with "-P" for AIX nm.
4940 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
4941 …-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
4943 …-e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\…
4955 …_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\'…
4956 … $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
4989 # include_expsyms should be a list of space-separated symbols to be *always*
5036 case `$LD -v 2>&1` in
5038 *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
5039 *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
5059 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5060 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
5061 # ancient GNU ld didn't support --whole-archive et. al.
5062 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
5063 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
5068 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
5070 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
5079 aix[[3-9]]*)
5089 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
5100 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname …
5104 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5105 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5112 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5115 # support --undefined. This deserves some investigation. FIXME
5116 …_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname…
5125 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5126 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
5130 …_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\'…
5131 … $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
5133 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
5134 …e_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-a…
5135 # If the export-symbols file already is a .def file, use it as
5143 …CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname …
5150 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname …
5155 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5164 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5165 emximp -o $lib $output_objdir/$libname.def'
5172 prefix_cmds="$prefix_cmds -e 1d";
5174 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5176 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5177 emximp -o $lib $output_objdir/$libname.def'
5178 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
5183 interix[[3-9]]*)
5186 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5187 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5192 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
5194 …1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
5195 …-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output…
5198 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
5200 if test linux-dietlibc = "$host_os"; then
5202 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
5205 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
5209 tmp_sharedflag='-shared'
5212 …--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
5217 …--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
5218 tmp_addflag=' $pic_flag -Mnomain' ;;
5220 tmp_addflag=' -i_dynamic' ;;
5222 tmp_addflag=' -i_dynamic -nofor_main' ;;
5224 tmp_addflag=' -nofor_main' ;;
5227 tmp_sharedflag='--shared' ;;
5229 tmp_sharedflag='-Wl,-shared' ;;
5231 tmp_sharedflag='-qmkshrobj'
5234 …--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
5238 case `$CC -V 2>&1 | sed 5q` in
5240 …--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conven…
5242 tmp_sharedflag='-G' ;;
5244 tmp_sharedflag='-G' ;;
5246 … '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5250 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5252 …g"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$…
5257 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
5261 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
5262 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5263 … _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
5266 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5268 …$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libnam…
5278 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5279 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5282 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5283 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5288 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
5300 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5301 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5302 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5309 case `$LD -v 2>&1` in
5310 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
5328 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5329 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5330 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname …
5331 …expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-s…
5340 …_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_…
5347 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5348 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $…
5349 …m_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
5368 …(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$expo…
5370 # are no directories specified by -L.
5372 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
5379 aix[[4-9]]*)
5384 exp_sym_flag='-Bexport'
5387 # If we're using GNU nm, then we don't want the "-C" option.
5388 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
5389 # Without the "-l" option, or with the "-B" option, AIX nm treats
5393 # it in the Import File for the 'aix-soname' feature, so we have
5394 # to replace the "-B" option with "-P" for AIX nm.
5395 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
5396 …-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
5398 …-e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\…
5403 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5406 # depending on the kind of the shared library created -
5417 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
5419 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
5425 # With aix-soname=svr4, we create the lib.so.V shared archives only,
5429 LDFLAGS="$LDFLAGS -Wl,-brtl"
5434 exp_sym_flag='-bexport'
5435 no_entry_flag='-bnoentry'
5440 # or program results in "error TOC overflow" add -mminimal-toc to
5442 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5449 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
5463 collect2name=`$CC -print-prog-name=collect2`
5464 if test -f "$collect2name" &&
5476 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5481 shared_flag='-shared'
5483 shared_flag="$shared_flag "'$wl-G'
5487 # /with/ Import File - we do not want to mix them.
5488 shared_flag_aix='-shared'
5489 shared_flag_svr4='-shared $wl-G'
5493 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
5494 # chokes on -Wl,-G. The following line is correct:
5495 shared_flag='-G'
5498 shared_flag='$wl-G'
5500 shared_flag='$wl-bM:SRE'
5502 shared_flag_aix='$wl-bM:SRE'
5503 shared_flag_svr4='$wl-G'
5507 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
5508 # It seems that -bexpall does not export symbols beginning with
5512 # Warning - without using the other runtime loading flags (-brtl),
5513 # -berok will link without error, but may produce a broken library.
5514 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
5518 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5519 …(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $co…
5522 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
5523 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
5524 …_LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $depli…
5529 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5530 # Warning - without using the other run time loading flags,
5531 # -berok will link without error, but may produce a broken library.
5532 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
5533 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
5535 # We only use this code for GNU lds that support --whole-archive.
5536 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
5542 …_LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$real…
5543 # -brtl affects multiple linker settings, -berok does not and is overridden later
5544 …compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\…
5547 …)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$…
5550 …-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
5552 # used by -dlpreopen to get the symbols
5555 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/…
5564 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname …
5568 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5569 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5576 _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
5596 …_LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,…
5601 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
5603 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
5609 … $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'…
5621 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
5622 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
5635 …TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\…
5639 _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
5650 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5651 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5660 …_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++…
5661 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5668 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5674 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5676 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5677 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5684 …VAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -…
5686 …_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objd…
5695 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5700 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $…
5702 …_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $link…
5709 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5720 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_fla…
5723 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $l…
5726 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $…
5732 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
5735 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs…
5739 # Older versions of the 11.00 compiler do not understand -b yet
5740 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
5741 _LT_LINKER_OPTION([if $CC understands -b],
5742 _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
5743 …[_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $…
5744 …[_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $lin…
5745 …[_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $…
5761 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5773 …-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
5774 # Try to use the -exported_symbol ld option, if it does not
5775 # work, assume that -exports_file does not work either and
5777 # This should be the same for all languages, so no per-tag cache variable.
5778 AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
5781 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
5796 …-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
5799 …-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "…
5800 …-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "…
5803 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5814 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5820 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5821 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
5823 _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
5825 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5831 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5833 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5842 if test -f /usr/libexec/ld.so; then
5846 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5847 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5848 …TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $…
5849 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5850 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5852 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5853 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5861 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5870 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5871 emximp -o $lib $output_objdir/$libname.def'
5878 prefix_cmds="$prefix_cmds -e 1d";
5880 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5882 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
5883 emximp -o $lib $output_objdir/$libname.def'
5884 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
5891 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
5892 …-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$ve…
5894 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5895 …-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstrin…
5898 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5902 osf4* | osf5*) # as osf3* with the addition of -msym flag
5904 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
5905 …-shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$s…
5906 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5908 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5909 …-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$ve…
5910 …in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%…
5911 …-shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $sona…
5913 # Both c and cxx compiler support -rpath directly
5914 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5921 _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
5924 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libo…
5925 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5926 …$CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs…
5928 case `$CC -V 2>&1` in
5931 …_LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $li…
5932 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5933 …$LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $li…
5937 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $co…
5938 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
5939 …$CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $…
5943 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5946 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
5949 # but understands '-z linker_flag'. GCC discards it without '$wl',
5953 …_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextra…
5955 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
5966 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
5968 …_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_fla…
5970 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5979 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5985 _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5986 _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
5990 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5999 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6001 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
6005 if test -d /usr/nec; then
6006 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6015 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6021 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6022 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
6024 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6025 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
6030 # Note: We CANNOT use -z defs as we might desire, because we do not
6031 # link with -lc, and that would cause any symbols used from libc to
6033 # ever link correctly. If we're not using GNU ld we use -z text
6034 # though, which does catch some bad symbols but isn't as heavy-handed
6035 # as -z defs.
6036 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6037 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
6040 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
6043 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
6047 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6048 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
6050 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6051 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
6056 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6057 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6069 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym'
6090 # Assume -lc should be added
6096 # FIXME: we may have to deal with multi-command sequences.
6099 # Test whether the compiler implicitly links with -lc since on some
6100 # systems, -lgcc has to come before -lc. If gcc already passes -lc
6101 # to ld, don't add -lc before -lgcc.
6102 AC_CACHE_CHECK([whether -lc should be explicitly linked in],
6114 compiler_flags=-v
6115 linker_flags=-v
6121 if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
6141 [Whether or not to add -lc for building shared libraries])
6152 [Create an old-style archive from a shared archive])
6154 [Create a temporary old-style archive to link instead of a shared archive])
6171 [Whether we need a single "-rpath" flag with a separated argument])
6181 [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
6216 # ------------------------
6251 if test -n "$compiler"; then
6274 if test -n "$RANLIB"; then
6280 aix[[4-9]]*)
6305 # --------------------------
6313 if test -n "$CXX" && ( test no != "$CXX" &&
6314 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
6356 # and will be corrupted by setting them based on a non-working compiler.
6379 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
6384 if test -n "${lt_cv_path_LDCXX+set}"; then
6389 test -z "${LDCXX+set}" || LD=$LDCXX
6390 CC=${CXX-"c++"}
6396 if test -n "$compiler"; then
6397 # We don't want -fno-exception when compiling C++ code, so set the
6400 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
6413 …s, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compil…
6414 … -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $…
6416 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6417 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6420 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
6424 # ancient GNU ld didn't support --whole-archive et. al.
6425 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
6426 $GREP 'no-whole-archive' > /dev/null; then
6427 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
6440 …LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_obje…
6446 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
6462 aix[[4-9]]*)
6467 exp_sym_flag='-Bexport'
6473 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6476 # depending on the kind of the shared library created -
6487 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
6490 *-brtl*)
6497 # With aix-soname=svr4, we create the lib.so.V shared archives only,
6501 LDFLAGS="$LDFLAGS -Wl,-brtl"
6506 exp_sym_flag='-bexport'
6507 no_entry_flag='-bnoentry'
6512 # or program results in "error TOC overflow" add -mminimal-toc to
6514 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6521 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
6535 collect2name=`$CC -print-prog-name=collect2`
6536 if test -f "$collect2name" &&
6548 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6552 shared_flag='-shared'
6554 shared_flag=$shared_flag' $wl-G'
6558 # /with/ Import File - we do not want to mix them.
6559 shared_flag_aix='-shared'
6560 shared_flag_svr4='-shared $wl-G'
6564 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6565 # chokes on -Wl,-G. The following line is correct:
6566 shared_flag='-G'
6569 shared_flag='$wl-G'
6571 shared_flag='$wl-bM:SRE'
6573 shared_flag_aix='$wl-bM:SRE'
6574 shared_flag_svr4='$wl-G'
6578 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
6579 # It seems that -bexpall does not export symbols beginning with
6584 # Warning - without using the other runtime loading flags (-brtl),
6585 # -berok will link without error, but may produce a broken library.
6586 # The "-G" linker flag allows undefined symbols.
6587 _LT_TAGVAR(no_undefined_flag, $1)='-bernotok'
6591 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6593 …(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $co…
6596 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
6597 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
6598 …_LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $depli…
6603 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6604 # Warning - without using the other run time loading flags,
6605 # -berok will link without error, but may produce a broken library.
6606 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
6607 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
6609 # We only use this code for GNU lds that support --whole-archive.
6610 … _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
6616 …_LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$real…
6617 # -brtl affects multiple linker settings, -berok does not and is overridden later
6618 …compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\…
6621 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
6622 …)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$…
6625 …-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
6627 # used by -dlpreopen to get the symbols
6630 …_LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/…
6636 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6639 # support --undefined. This deserves some investigation. FIXME
6640 …_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname…
6670 …_LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,…
6675 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
6677 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
6694 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
6695 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
6703 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6704 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
6709 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
6710 …-shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_ob…
6711 # If the export-symbols file already is a .def file, use it as
6719 …-shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $c…
6731 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6740 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
6741 emximp -o $lib $output_objdir/$libname.def'
6748 prefix_cmds="$prefix_cmds -e 1d";
6750 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
6752 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
6753 emximp -o $lib $output_objdir/$libname.def'
6754 …_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdi…
6783 freebsd-elf*)
6794 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname …
6801 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6813 …_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $outpu…
6822 …output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list…
6826 …rchive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_lib…
6844 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6870 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $p…
6873 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $…
6876 …_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_obj…
6887 …output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=…
6894 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects…
6897 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath …
6900 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_l…
6912 interix[[3-9]]*)
6915 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6916 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6921 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6923 …1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
6924 …-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output…
6930 …-shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname …
6933 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
6936 _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
6941 …-shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl…
6943 …-shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl…
6949 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6954 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6960 # ends with ".so" (or ".sl" for HP-UX), so rename the library
6962 …-e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"…
6963 …-e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"…
6972 …_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GRE…
6974 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6975 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6978 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
6979 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
6987 case `$CC -V 2>&1` in
6989 …VAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_fl…
6990 …='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$so…
6995 ia64*) tmp_idyn=' -i_dynamic';;
6997 …_LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-sonam…
6998 …_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-r…
7002 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7003 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7004 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
7008 case `$CC -V` in
7009 *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
7011 rm -rf $tpldir~
7012 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
7013 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
7015 rm -rf $tpldir~
7016 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
7017 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
7020 rm -rf $tpldir~
7021 …$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $…
7022 … -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $po…
7024 rm -rf $tpldir~
7025 …$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $…
7026 …-shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $pos…
7029 …rchive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compil…
7030 … -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $…
7034 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir'
7035 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7036 …--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
7040 …VAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_fl…
7041 …mds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-sonam…
7044 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7055 …output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; tem…
7059 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7060 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7061 …_LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$sona…
7064 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7066 …$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$outp…
7070 case `$CC -V 2>&1 | sed 5q` in
7073 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7074 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libob…
7075 …s, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_o…
7076 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7077 …--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conven…
7081 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
7086 # "CC -xar", where "CC" is the Sun C++ compiler. This is
7089 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7120 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7121 …_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_…
7123 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7127 # Workaround some broken pre-1.5 toolchains
7128 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $…
7136 if test -f /usr/libexec/ld.so; then
7140 …LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_obje…
7141 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7142 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
7143 …ds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags …
7144 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
7145 …_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-arch…
7159 # ends with ".so" (or ".sl" for HP-UX), so rename the library
7161 …-e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so…
7163 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7169 osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
7170 *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
7181 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
7182 …-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $w…
7183 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7186 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
7187 …-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -m…
7188 …hive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i"…
7189 echo "-hidden">> $lib.exp~
7190 …-shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -m…
7192 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7206 …output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GR…
7210 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
7213 …-shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compil…
7216 …-shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objec…
7220 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7226 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
7265 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7266 …_LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libob…
7267 …_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/…
7268 …$CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs …
7270 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7273 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7276 # but understands '-z linker_flag'.
7278 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
7286 # "CC -xar", where "CC" is the Sun C++ compiler. This is
7289 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7293 …TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler…
7296 _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
7301 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs'
7302 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
7303 …hive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects…
7304 …ve_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
7305 …$CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobj…
7310 …output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with…
7312 # g++ 2.7 appears to require '-G' NOT '-shared' on this
7314 …VAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compil…
7315 …ve_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
7316 …$CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $pos…
7321 …output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | …
7324 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
7326 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7328 …_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextra…
7337 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7344 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7345 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
7348 … _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7349 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
7355 # Note: We CANNOT use -z defs as we might desire, because we do not
7356 # link with -lc, and that would cause any symbols used from libc to
7358 # ever link correctly. If we're not using GNU ld we use -z text
7359 # though, which does catch some bad symbols but isn't as heavy-handed
7360 # as -z defs.
7361 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7362 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
7365 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
7368 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
7373 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7374 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $lib…
7375 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
7377 _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
7381 … _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7382 …_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib…
7390 # NonStop-UX NCC 3.20
7431 fi # test -n "$compiler"
7450 # ----------------------
7457 # This function is identical to the (non-XSI) version of func_stripname,
7474 # ---------------------------------
7540 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
7541 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
7542 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
7558 -L* | -R* | -l*)
7559 # Some compilers place space between "-{L,R}" and the path.
7561 if test x-L = "$p" ||
7562 test x-R = "$p"; then
7568 if test -z "$prev"; then
7570 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
7571 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
7572 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
7580 -L | -R)
7584 if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
7590 # The "-l" case would never come before the object being
7594 if test -z "$_LT_TAGVAR(postdeps, $1)"; then
7613 if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
7619 if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
7633 rm -f a.out a.exe
7638 $RM -f confest.$objext
7644 interix[[3-9]]*)
7655 *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
7658 if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
7659 …h_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'`
7676 # --------------------------
7682 if test -z "$F77" || test no = "$F77"; then
7718 # and will be corrupted by setting them based on a non-working compiler.
7744 CC=${F77-"f77"}
7750 if test -n "$compiler"; then
7762 if test -n "$RANLIB"; then
7767 aix[[4-9]]*)
7799 fi # test -n "$compiler"
7811 # -------------------------
7818 if test -z "$FC" || test no = "$FC"; then
7845 ac_ext=${ac_fc_srcext-f}
7854 # and will be corrupted by setting them based on a non-working compiler.
7880 CC=${FC-"f95"}
7888 if test -n "$compiler"; then
7900 if test -n "$RANLIB"; then
7905 aix[[4-9]]*)
7938 fi # test -n "$compiler"
7950 # --------------------------
7983 CC=${GCJ-"gcj"}
8001 if test -n "$compiler"; then
8021 # --------------------------
8054 CC=${GOC-"gccgo"}
8072 if test -n "$compiler"; then
8092 # -------------------------
8125 CC=${RC-"windres"}
8132 if test -n "$compiler"; then
8145 # -----------
8150 test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
8156 dnl aclocal-1.4 backwards compatibility:
8161 # ----------
8168 # ----------
8175 dnl aclocal-1.4 backwards compatibility:
8180 # --------------
8186 test -z "$GREP" && GREP=grep
8190 dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
8196 # --------------
8201 test -z "$OBJDUMP" && OBJDUMP=objdump
8207 # ----------------
8211 test -z "$DLLTOOL" && DLLTOOL=dlltool
8217 # ------------
8218 # Check for a fully-functional sed program, that truncates
8222 test -z "$SED" && SED=sed
8223 Xsed="$SED -e 1s/^X//"
8225 _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
8226 [Sed that helps us avoid accidentally triggering echo(1) options like -n])
8246 test -z "$as_dir" && as_dir=.
8261 test ! -f "$lt_ac_sed" && continue
8266 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
8275 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
8276 cmp -s conftest.out conftest.nl || break
8278 test 10 -lt "$lt_ac_count" && break
8280 if test "$lt_ac_count" -gt "$lt_ac_max"; then
8295 dnl aclocal-1.4 backwards compatibility:
8300 # ------------------------
8329 # -----------------------------
8332 # for certain cross-compile configurations and native mingw.
8339 *-*-mingw* )
8341 *-*-mingw* ) # actually msys
8344 *-*-cygwin* )
8352 *-*-cygwin* )
8354 *-*-mingw* ) # actually msys
8357 *-*-cygwin* )
8380 *-*-mingw* )
8382 *-*-mingw* ) # actually msys