• R/O
  • SSH
  • HTTPS

marathon: コミット


コミットメタ情報

リビジョン514 (tree)
日時2012-01-19 00:14:53
作者logue

ログメッセージ

Atque1.1.1とマージ。ferroビルド時にiconvをチェックするようにした。

変更サマリ

差分

--- atque/trunk/atque/merge.cpp (revision 513)
+++ atque/trunk/atque/merge.cpp (revision 514)
@@ -237,7 +237,11 @@
237237 }
238238 }
239239 }
240-
240+ else
241+ {
242+ throw merge_error(path.string() + "には、マップが含まれていません。");
243+ }
244+
241245 return wad;
242246 }
243247
@@ -384,11 +388,11 @@
384388 {
385389 if (!fs::exists(src))
386390 {
387- throw merge_error(src + " does not exist");
391+ throw merge_error(src + "は見つかりません。");
388392 }
389393 else if (!fs::is_directory(src))
390394 {
391- throw merge_error("source must be a directory");
395+ throw merge_error("ソースはディレクトリである必要があります。");
392396 }
393397
394398 marathon::Unimap wadfile;
--- atque/trunk/atque/configure (revision 513)
+++ atque/trunk/atque/configure (revision 514)
@@ -1,6 +1,6 @@
11 #! /bin/sh
22 # Guess values for system-dependent variables and create Makefiles.
3-# Generated by GNU Autoconf 2.67 for atque 1.1.
3+# Generated by GNU Autoconf 2.68 for atque 1.1.1.
44 #
55 # Report bugs to <http://sourceforge.net/tracker/?func=add&group_id=235817&atid=1097912 >.
66 #
@@ -91,6 +91,7 @@
9191 IFS=" "" $as_nl"
9292
9393 # Find who we are. Look in the path if we contain no directory separator.
94+as_myself=
9495 case $0 in #((
9596 *[\\/]* ) as_myself=$0 ;;
9697 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -173,14 +174,6 @@
173174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176-
177- test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
178- ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
179- ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180- ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181- PATH=/empty FPATH=/empty; export PATH FPATH
182- test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
183- || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
184177 test \$(( 1 + 1 )) = 2 || exit 1"
185178 if (eval "$as_required") 2>/dev/null; then :
186179 as_have_required=yes
@@ -224,11 +217,18 @@
224217 # We cannot yet assume a decent shell, so we have to provide a
225218 # neutralization value for shells without unset; and this also
226219 # works around shells that cannot unset nonexistent variables.
220+ # Preserve -v and -x to the replacement shell.
227221 BASH_ENV=/dev/null
228222 ENV=/dev/null
229223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
230224 export CONFIG_SHELL
231- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
225+ case $- in # ((((
226+ *v*x* | *x*v* ) as_opts=-vx ;;
227+ *v* ) as_opts=-v ;;
228+ *x* ) as_opts=-x ;;
229+ * ) as_opts= ;;
230+ esac
231+ exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232232 fi
233233
234234 if test x$as_have_required = xno; then :
@@ -537,9 +537,7 @@
537537 # Sed expression to map a string onto a valid variable name.
538538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539539
540-SHELL=${CONFIG_SHELL-/bin/sh}
541540
542-
543541 test -n "$DJDIR" || exec 7<&0 </dev/null
544542 exec 6>&1
545543
@@ -563,8 +561,8 @@
563561 # Identity of this package.
564562 PACKAGE_NAME='atque'
565563 PACKAGE_TARNAME='atque'
566-PACKAGE_VERSION='1.1'
567-PACKAGE_STRING='atque 1.1'
564+PACKAGE_VERSION='1.1.1'
565+PACKAGE_STRING='atque 1.1.1'
568566 PACKAGE_BUGREPORT='http://sourceforge.net/tracker/?func=add&group_id=235817&atid=1097912 '
569567 PACKAGE_URL=''
570568
@@ -612,6 +610,9 @@
612610 MAKE_WINDOWS_TRUE
613611 BUILD_ATQUEGUI_FALSE
614612 BUILD_ATQUEGUI_TRUE
613+WX_VERSION_MICRO
614+WX_VERSION_MINOR
615+WX_VERSION_MAJOR
615616 WX_RESCOMP
616617 WX_VERSION
617618 WX_LIBS_STATIC
@@ -622,38 +623,9 @@
622623 WX_CFLAGS
623624 WX_CPPFLAGS
624625 WX_CONFIG_PATH
625-BOOST_LDFLAGS
626-BOOST_CPPFLAGS
627-WINDRES
628-OTOOL64
629-OTOOL
630-LIPO
631-NMEDIT
632-DSYMUTIL
633-MANIFEST_TOOL
634-RANLIB
635-ac_ct_AR
636-AR
637-DLLTOOL
638-OBJDUMP
639-LN_S
640-NM
641-ac_ct_DUMPBIN
642-DUMPBIN
643-LD
644-FGREP
645626 EGREP
646627 GREP
647-SED
648-host_os
649-host_vendor
650-host_cpu
651-host
652-build_os
653-build_vendor
654-build_cpu
655-build
656-LIBTOOL
628+WINDRES
657629 CXXCPP
658630 am__fastdepCXX_FALSE
659631 am__fastdepCXX_TRUE
@@ -665,6 +637,7 @@
665637 am__fastdepCC_FALSE
666638 am__fastdepCC_TRUE
667639 CCDEPMODE
640+am__nodep
668641 AMDEPBACKSLASH
669642 AMDEP_FALSE
670643 AMDEP_TRUE
@@ -744,15 +717,6 @@
744717 enable_option_checking
745718 enable_gui
746719 enable_dependency_tracking
747-enable_shared
748-enable_static
749-with_pic
750-enable_fast_install
751-with_gnu_ld
752-with_sysroot
753-enable_libtool_lock
754-with_boost
755-with_boost_libdir
756720 with_wxdir
757721 with_wx_config
758722 with_wx_prefix
@@ -1175,7 +1139,7 @@
11751139 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
11761140 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11771141 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1178- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1142+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
11791143 ;;
11801144
11811145 esac
@@ -1313,7 +1277,7 @@
13131277 # Omit some internal or obsolete options to make the list less imposing.
13141278 # This message is too long to be a string in the A/UX 3.1 sh.
13151279 cat <<_ACEOF
1316-\`configure' configures atque 1.1 to adapt to many kinds of systems.
1280+\`configure' configures atque 1.1.1 to adapt to many kinds of systems.
13171281
13181282 Usage: $0 [OPTION]... [VAR=VALUE]...
13191283
@@ -1374,16 +1338,12 @@
13741338 --program-prefix=PREFIX prepend PREFIX to installed program names
13751339 --program-suffix=SUFFIX append SUFFIX to installed program names
13761340 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1377-
1378-System types:
1379- --build=BUILD configure for building on BUILD [guessed]
1380- --host=HOST cross-compile to build programs to run on HOST [BUILD]
13811341 _ACEOF
13821342 fi
13831343
13841344 if test -n "$ac_init_help"; then
13851345 case $ac_init_help in
1386- short | recursive ) echo "Configuration of atque 1.1:";;
1346+ short | recursive ) echo "Configuration of atque 1.1.1:";;
13871347 esac
13881348 cat <<\_ACEOF
13891349
@@ -1394,28 +1354,10 @@
13941354 --enable-gui build atque GUI default=yes
13951355 --disable-dependency-tracking speeds up one-time build
13961356 --enable-dependency-tracking do not reject slow dependency extractors
1397- --enable-shared[=PKGS] build shared libraries [default=yes]
1398- --enable-static[=PKGS] build static libraries [default=yes]
1399- --enable-fast-install[=PKGS]
1400- optimize for fast installation [default=yes]
1401- --disable-libtool-lock avoid locking (might break parallel builds)
14021357
14031358 Optional Packages:
14041359 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
14051360 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1406- --with-pic try to use only PIC/non-PIC objects [default=use
1407- both]
1408- --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1409- --with-sysroot=DIR Search for dependent libraries within DIR
1410- (or the compiler's sysroot if not specified).
1411- --with-boost[=DIR] use boost (default is yes) - it is possible to
1412- specify the root directory for boost (optional)
1413- --with-boost-libdir=LIB_DIR
1414- Force given directory for boost libraries. Note that
1415- this will overwrite library path detection, so use
1416- this parameter only if default library detection
1417- fails and you know exactly where your boost
1418- libraries are located.
14191361 --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH
14201362 --with-wx-config=CONFIG wx-config script to use (optional)
14211363 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
@@ -1501,8 +1443,8 @@
15011443 test -n "$ac_init_help" && exit $ac_status
15021444 if $ac_init_version; then
15031445 cat <<\_ACEOF
1504-atque configure 1.1
1505-generated by GNU Autoconf 2.67
1446+atque configure 1.1.1
1447+generated by GNU Autoconf 2.68
15061448
15071449 Copyright (C) 2010 Free Software Foundation, Inc.
15081450 This configure script is free software; the Free Software Foundation
@@ -1548,7 +1490,7 @@
15481490
15491491 ac_retval=1
15501492 fi
1551- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1493+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
15521494 as_fn_set_status $ac_retval
15531495
15541496 } # ac_fn_c_try_compile
@@ -1585,7 +1527,7 @@
15851527
15861528 ac_retval=1
15871529 fi
1588- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1530+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
15891531 as_fn_set_status $ac_retval
15901532
15911533 } # ac_fn_c_try_cpp
@@ -1623,7 +1565,7 @@
16231565
16241566 ac_retval=1
16251567 fi
1626- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1568+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16271569 as_fn_set_status $ac_retval
16281570
16291571 } # ac_fn_cxx_try_compile
@@ -1660,93 +1602,107 @@
16601602
16611603 ac_retval=1
16621604 fi
1663- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1605+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16641606 as_fn_set_status $ac_retval
16651607
16661608 } # ac_fn_cxx_try_cpp
16671609
1668-# ac_fn_c_try_link LINENO
1669-# -----------------------
1670-# Try to link conftest.$ac_ext, and return whether this succeeded.
1671-ac_fn_c_try_link ()
1610+# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1611+# ---------------------------------------------------------
1612+# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1613+# the include files in INCLUDES and setting the cache variable VAR
1614+# accordingly.
1615+ac_fn_cxx_check_header_mongrel ()
16721616 {
16731617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674- rm -f conftest.$ac_objext conftest$ac_exeext
1675- if { { ac_try="$ac_link"
1676-case "(($ac_try" in
1677- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678- *) ac_try_echo=$ac_try;;
1679-esac
1680-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681-$as_echo "$ac_try_echo"; } >&5
1682- (eval "$ac_link") 2>conftest.err
1683- ac_status=$?
1684- if test -s conftest.err; then
1685- grep -v '^ *+' conftest.err >conftest.er1
1686- cat conftest.er1 >&5
1687- mv -f conftest.er1 conftest.err
1688- fi
1689- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690- test $ac_status = 0; } && {
1691- test -z "$ac_c_werror_flag" ||
1692- test ! -s conftest.err
1693- } && test -s conftest$ac_exeext && {
1694- test "$cross_compiling" = yes ||
1695- $as_test_x conftest$ac_exeext
1696- }; then :
1697- ac_retval=0
1698-else
1699- $as_echo "$as_me: failed program was:" >&5
1700-sed 's/^/| /' conftest.$ac_ext >&5
1701-
1702- ac_retval=1
1703-fi
1704- # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1705- # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1706- # interfere with the next link command; also delete a directory that is
1707- # left behind by Apple's compiler. We do this before executing the actions.
1708- rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1709- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1710- as_fn_set_status $ac_retval
1711-
1712-} # ac_fn_c_try_link
1713-
1714-# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1715-# -------------------------------------------------------
1716-# Tests whether HEADER exists and can be compiled using the include files in
1717-# INCLUDES, setting the cache variable VAR accordingly.
1718-ac_fn_c_check_header_compile ()
1719-{
1720- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1618+ if eval \${$3+:} false; then :
17211619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
17221620 $as_echo_n "checking for $2... " >&6; }
1723-if eval "test \"\${$3+set}\"" = set; then :
1621+if eval \${$3+:} false; then :
17241622 $as_echo_n "(cached) " >&6
1623+fi
1624+eval ac_res=\$$3
1625+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1626+$as_echo "$ac_res" >&6; }
17251627 else
1726- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1628+ # Is the header compilable?
1629+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1630+$as_echo_n "checking $2 usability... " >&6; }
1631+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17271632 /* end confdefs.h. */
17281633 $4
17291634 #include <$2>
17301635 _ACEOF
1731-if ac_fn_c_try_compile "$LINENO"; then :
1732- eval "$3=yes"
1636+if ac_fn_cxx_try_compile "$LINENO"; then :
1637+ ac_header_compiler=yes
17331638 else
1734- eval "$3=no"
1639+ ac_header_compiler=no
17351640 fi
17361641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1642+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1643+$as_echo "$ac_header_compiler" >&6; }
1644+
1645+# Is the header present?
1646+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1647+$as_echo_n "checking $2 presence... " >&6; }
1648+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1649+/* end confdefs.h. */
1650+#include <$2>
1651+_ACEOF
1652+if ac_fn_cxx_try_cpp "$LINENO"; then :
1653+ ac_header_preproc=yes
1654+else
1655+ ac_header_preproc=no
17371656 fi
1657+rm -f conftest.err conftest.i conftest.$ac_ext
1658+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1659+$as_echo "$ac_header_preproc" >&6; }
1660+
1661+# So? What about this header?
1662+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1663+ yes:no: )
1664+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1665+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1666+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1667+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1668+ ;;
1669+ no:yes:* )
1670+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1671+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1672+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1673+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1674+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1675+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1676+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1677+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1678+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1679+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1680+( $as_echo "## ------------------------------------------------------------------------------------- ##
1681+## Report this to http://sourceforge.net/tracker/?func=add&group_id=235817&atid=1097912 ##
1682+## ------------------------------------------------------------------------------------- ##"
1683+ ) | sed "s/^/$as_me: WARNING: /" >&2
1684+ ;;
1685+esac
1686+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1687+$as_echo_n "checking for $2... " >&6; }
1688+if eval \${$3+:} false; then :
1689+ $as_echo_n "(cached) " >&6
1690+else
1691+ eval "$3=\$ac_header_compiler"
1692+fi
17381693 eval ac_res=\$$3
17391694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17401695 $as_echo "$ac_res" >&6; }
1741- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1696+fi
1697+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
17421698
1743-} # ac_fn_c_check_header_compile
1699+} # ac_fn_cxx_check_header_mongrel
17441700
1745-# ac_fn_c_try_run LINENO
1746-# ----------------------
1701+# ac_fn_cxx_try_run LINENO
1702+# ------------------------
17471703 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
17481704 # that executables *can* be run.
1749-ac_fn_c_try_run ()
1705+ac_fn_cxx_try_run ()
17501706 {
17511707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17521708 if { { ac_try="$ac_link"
@@ -1779,77 +1735,41 @@
17791735 ac_retval=$ac_status
17801736 fi
17811737 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1782- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1738+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
17831739 as_fn_set_status $ac_retval
17841740
1785-} # ac_fn_c_try_run
1741+} # ac_fn_cxx_try_run
17861742
1787-# ac_fn_c_check_func LINENO FUNC VAR
1788-# ----------------------------------
1789-# Tests whether FUNC exists, setting the cache variable VAR accordingly
1790-ac_fn_c_check_func ()
1743+# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1744+# ---------------------------------------------------------
1745+# Tests whether HEADER exists and can be compiled using the include files in
1746+# INCLUDES, setting the cache variable VAR accordingly.
1747+ac_fn_cxx_check_header_compile ()
17911748 {
17921749 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17931750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
17941751 $as_echo_n "checking for $2... " >&6; }
1795-if eval "test \"\${$3+set}\"" = set; then :
1752+if eval \${$3+:} false; then :
17961753 $as_echo_n "(cached) " >&6
17971754 else
17981755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17991756 /* end confdefs.h. */
1800-/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1801- For example, HP-UX 11i <limits.h> declares gettimeofday. */
1802-#define $2 innocuous_$2
1803-
1804-/* System header to define __stub macros and hopefully few prototypes,
1805- which can conflict with char $2 (); below.
1806- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1807- <limits.h> exists even on freestanding compilers. */
1808-
1809-#ifdef __STDC__
1810-# include <limits.h>
1811-#else
1812-# include <assert.h>
1813-#endif
1814-
1815-#undef $2
1816-
1817-/* Override any GCC internal prototype to avoid an error.
1818- Use char because int might match the return type of a GCC
1819- builtin and then its argument prototype would still apply. */
1820-#ifdef __cplusplus
1821-extern "C"
1822-#endif
1823-char $2 ();
1824-/* The GNU C library defines this for functions which it implements
1825- to always fail with ENOSYS. Some functions are actually named
1826- something starting with __ and the normal name is an alias. */
1827-#if defined __stub_$2 || defined __stub___$2
1828-choke me
1829-#endif
1830-
1831-int
1832-main ()
1833-{
1834-return $2 ();
1835- ;
1836- return 0;
1837-}
1757+$4
1758+#include <$2>
18381759 _ACEOF
1839-if ac_fn_c_try_link "$LINENO"; then :
1760+if ac_fn_cxx_try_compile "$LINENO"; then :
18401761 eval "$3=yes"
18411762 else
18421763 eval "$3=no"
18431764 fi
1844-rm -f core conftest.err conftest.$ac_objext \
1845- conftest$ac_exeext conftest.$ac_ext
1765+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18461766 fi
18471767 eval ac_res=\$$3
18481768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18491769 $as_echo "$ac_res" >&6; }
1850- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1770+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
18511771
1852-} # ac_fn_c_check_func
1772+} # ac_fn_cxx_check_header_compile
18531773
18541774 # ac_fn_cxx_try_link LINENO
18551775 # -------------------------
@@ -1892,107 +1812,16 @@
18921812 # interfere with the next link command; also delete a directory that is
18931813 # left behind by Apple's compiler. We do this before executing the actions.
18941814 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1895- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1815+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
18961816 as_fn_set_status $ac_retval
18971817
18981818 } # ac_fn_cxx_try_link
1899-
1900-# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1901-# ---------------------------------------------------------
1902-# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1903-# the include files in INCLUDES and setting the cache variable VAR
1904-# accordingly.
1905-ac_fn_cxx_check_header_mongrel ()
1906-{
1907- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1908- if eval "test \"\${$3+set}\"" = set; then :
1909- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1910-$as_echo_n "checking for $2... " >&6; }
1911-if eval "test \"\${$3+set}\"" = set; then :
1912- $as_echo_n "(cached) " >&6
1913-fi
1914-eval ac_res=\$$3
1915- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1916-$as_echo "$ac_res" >&6; }
1917-else
1918- # Is the header compilable?
1919-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1920-$as_echo_n "checking $2 usability... " >&6; }
1921-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1922-/* end confdefs.h. */
1923-$4
1924-#include <$2>
1925-_ACEOF
1926-if ac_fn_cxx_try_compile "$LINENO"; then :
1927- ac_header_compiler=yes
1928-else
1929- ac_header_compiler=no
1930-fi
1931-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1932-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1933-$as_echo "$ac_header_compiler" >&6; }
1934-
1935-# Is the header present?
1936-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1937-$as_echo_n "checking $2 presence... " >&6; }
1938-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1939-/* end confdefs.h. */
1940-#include <$2>
1941-_ACEOF
1942-if ac_fn_cxx_try_cpp "$LINENO"; then :
1943- ac_header_preproc=yes
1944-else
1945- ac_header_preproc=no
1946-fi
1947-rm -f conftest.err conftest.i conftest.$ac_ext
1948-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1949-$as_echo "$ac_header_preproc" >&6; }
1950-
1951-# So? What about this header?
1952-case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1953- yes:no: )
1954- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1955-$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1956- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1957-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1958- ;;
1959- no:yes:* )
1960- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1961-$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1962- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1963-$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1964- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1965-$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1966- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1967-$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1968- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1969-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1970-( $as_echo "## ------------------------------------------------------------------------------------- ##
1971-## Report this to http://sourceforge.net/tracker/?func=add&group_id=235817&atid=1097912 ##
1972-## ------------------------------------------------------------------------------------- ##"
1973- ) | sed "s/^/$as_me: WARNING: /" >&2
1974- ;;
1975-esac
1976- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1977-$as_echo_n "checking for $2... " >&6; }
1978-if eval "test \"\${$3+set}\"" = set; then :
1979- $as_echo_n "(cached) " >&6
1980-else
1981- eval "$3=\$ac_header_compiler"
1982-fi
1983-eval ac_res=\$$3
1984- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1985-$as_echo "$ac_res" >&6; }
1986-fi
1987- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1988-
1989-} # ac_fn_cxx_check_header_mongrel
19901819 cat >config.log <<_ACEOF
19911820 This file contains any messages produced by compilers while
19921821 running configure, to aid debugging if configure makes a mistake.
19931822
1994-It was created by atque $as_me 1.1, which was
1995-generated by GNU Autoconf 2.67. Invocation command line was
1823+It was created by atque $as_me 1.1.1, which was
1824+generated by GNU Autoconf 2.68. Invocation command line was
19961825
19971826 $ $0 $@
19981827
@@ -2250,7 +2079,7 @@
22502079 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22512080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22522081 as_fn_error $? "failed to load site script $ac_site_file
2253-See \`config.log' for more details" "$LINENO" 5 ; }
2082+See \`config.log' for more details" "$LINENO" 5; }
22542083 fi
22552084 done
22562085
@@ -2389,7 +2218,7 @@
23892218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
23902219 $as_echo_n "checking for a BSD-compatible install... " >&6; }
23912220 if test -z "$INSTALL"; then
2392-if test "${ac_cv_path_install+set}" = set; then :
2221+if ${ac_cv_path_install+:} false; then :
23932222 $as_echo_n "(cached) " >&6
23942223 else
23952224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -2476,11 +2305,11 @@
24762305 '
24772306 case `pwd` in
24782307 *[\\\"\#\$\&\'\`$am_lf]*)
2479- as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2308+ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
24802309 esac
24812310 case $srcdir in
24822311 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2483- as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2312+ as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
24842313 esac
24852314
24862315 # Do `set' in a subshell so we don't clobber the current shell's
@@ -2566,7 +2395,7 @@
25662395 set dummy ${ac_tool_prefix}strip; ac_word=$2
25672396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25682397 $as_echo_n "checking for $ac_word... " >&6; }
2569-if test "${ac_cv_prog_STRIP+set}" = set; then :
2398+if ${ac_cv_prog_STRIP+:} false; then :
25702399 $as_echo_n "(cached) " >&6
25712400 else
25722401 if test -n "$STRIP"; then
@@ -2606,7 +2435,7 @@
26062435 set dummy strip; ac_word=$2
26072436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26082437 $as_echo_n "checking for $ac_word... " >&6; }
2609-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2438+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
26102439 $as_echo_n "(cached) " >&6
26112440 else
26122441 if test -n "$ac_ct_STRIP"; then
@@ -2659,7 +2488,7 @@
26592488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
26602489 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
26612490 if test -z "$MKDIR_P"; then
2662- if test "${ac_cv_path_mkdir+set}" = set; then :
2491+ if ${ac_cv_path_mkdir+:} false; then :
26632492 $as_echo_n "(cached) " >&6
26642493 else
26652494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -2710,7 +2539,7 @@
27102539 set dummy $ac_prog; ac_word=$2
27112540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27122541 $as_echo_n "checking for $ac_word... " >&6; }
2713-if test "${ac_cv_prog_AWK+set}" = set; then :
2542+if ${ac_cv_prog_AWK+:} false; then :
27142543 $as_echo_n "(cached) " >&6
27152544 else
27162545 if test -n "$AWK"; then
@@ -2750,7 +2579,7 @@
27502579 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
27512580 set x ${MAKE-make}
27522581 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2753-if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2582+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
27542583 $as_echo_n "(cached) " >&6
27552584 else
27562585 cat >conftest.make <<\_ACEOF
@@ -2808,7 +2637,7 @@
28082637
28092638 # Define the identity of the package.
28102639 PACKAGE='atque'
2811- VERSION='1.1'
2640+ VERSION='1.1.1'
28122641
28132642
28142643 cat >>confdefs.h <<_ACEOF
@@ -2867,7 +2696,6 @@
28672696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28682697
28692698
2870-
28712699 ac_ext=c
28722700 ac_cpp='$CPP $CPPFLAGS'
28732701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -2878,7 +2706,7 @@
28782706 set dummy ${ac_tool_prefix}gcc; ac_word=$2
28792707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28802708 $as_echo_n "checking for $ac_word... " >&6; }
2881-if test "${ac_cv_prog_CC+set}" = set; then :
2709+if ${ac_cv_prog_CC+:} false; then :
28822710 $as_echo_n "(cached) " >&6
28832711 else
28842712 if test -n "$CC"; then
@@ -2918,7 +2746,7 @@
29182746 set dummy gcc; ac_word=$2
29192747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29202748 $as_echo_n "checking for $ac_word... " >&6; }
2921-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2749+if ${ac_cv_prog_ac_ct_CC+:} false; then :
29222750 $as_echo_n "(cached) " >&6
29232751 else
29242752 if test -n "$ac_ct_CC"; then
@@ -2971,7 +2799,7 @@
29712799 set dummy ${ac_tool_prefix}cc; ac_word=$2
29722800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29732801 $as_echo_n "checking for $ac_word... " >&6; }
2974-if test "${ac_cv_prog_CC+set}" = set; then :
2802+if ${ac_cv_prog_CC+:} false; then :
29752803 $as_echo_n "(cached) " >&6
29762804 else
29772805 if test -n "$CC"; then
@@ -3011,7 +2839,7 @@
30112839 set dummy cc; ac_word=$2
30122840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30132841 $as_echo_n "checking for $ac_word... " >&6; }
3014-if test "${ac_cv_prog_CC+set}" = set; then :
2842+if ${ac_cv_prog_CC+:} false; then :
30152843 $as_echo_n "(cached) " >&6
30162844 else
30172845 if test -n "$CC"; then
@@ -3070,7 +2898,7 @@
30702898 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
30712899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30722900 $as_echo_n "checking for $ac_word... " >&6; }
3073-if test "${ac_cv_prog_CC+set}" = set; then :
2901+if ${ac_cv_prog_CC+:} false; then :
30742902 $as_echo_n "(cached) " >&6
30752903 else
30762904 if test -n "$CC"; then
@@ -3114,7 +2942,7 @@
31142942 set dummy $ac_prog; ac_word=$2
31152943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31162944 $as_echo_n "checking for $ac_word... " >&6; }
3117-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2945+if ${ac_cv_prog_ac_ct_CC+:} false; then :
31182946 $as_echo_n "(cached) " >&6
31192947 else
31202948 if test -n "$ac_ct_CC"; then
@@ -3169,7 +2997,7 @@
31692997 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
31702998 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
31712999 as_fn_error $? "no acceptable C compiler found in \$PATH
3172-See \`config.log' for more details" "$LINENO" 5 ; }
3000+See \`config.log' for more details" "$LINENO" 5; }
31733001
31743002 # Provide some information about the compiler.
31753003 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -3284,7 +3112,7 @@
32843112 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32853113 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32863114 as_fn_error 77 "C compiler cannot create executables
3287-See \`config.log' for more details" "$LINENO" 5 ; }
3115+See \`config.log' for more details" "$LINENO" 5; }
32883116 else
32893117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32903118 $as_echo "yes" >&6; }
@@ -3327,7 +3155,7 @@
33273155 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
33283156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
33293157 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3330-See \`config.log' for more details" "$LINENO" 5 ; }
3158+See \`config.log' for more details" "$LINENO" 5; }
33313159 fi
33323160 rm -f conftest conftest$ac_cv_exeext
33333161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
@@ -3386,7 +3214,7 @@
33863214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
33873215 as_fn_error $? "cannot run C compiled programs.
33883216 If you meant to cross compile, use \`--host'.
3389-See \`config.log' for more details" "$LINENO" 5 ; }
3217+See \`config.log' for more details" "$LINENO" 5; }
33903218 fi
33913219 fi
33923220 fi
@@ -3397,7 +3225,7 @@
33973225 ac_clean_files=$ac_clean_files_save
33983226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
33993227 $as_echo_n "checking for suffix of object files... " >&6; }
3400-if test "${ac_cv_objext+set}" = set; then :
3228+if ${ac_cv_objext+:} false; then :
34013229 $as_echo_n "(cached) " >&6
34023230 else
34033231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -3438,7 +3266,7 @@
34383266 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
34393267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
34403268 as_fn_error $? "cannot compute suffix of object files: cannot compile
3441-See \`config.log' for more details" "$LINENO" 5 ; }
3269+See \`config.log' for more details" "$LINENO" 5; }
34423270 fi
34433271 rm -f conftest.$ac_cv_objext conftest.$ac_ext
34443272 fi
@@ -3448,7 +3276,7 @@
34483276 ac_objext=$OBJEXT
34493277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
34503278 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3451-if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3279+if ${ac_cv_c_compiler_gnu+:} false; then :
34523280 $as_echo_n "(cached) " >&6
34533281 else
34543282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -3485,7 +3313,7 @@
34853313 ac_save_CFLAGS=$CFLAGS
34863314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
34873315 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3488-if test "${ac_cv_prog_cc_g+set}" = set; then :
3316+if ${ac_cv_prog_cc_g+:} false; then :
34893317 $as_echo_n "(cached) " >&6
34903318 else
34913319 ac_save_c_werror_flag=$ac_c_werror_flag
@@ -3563,7 +3391,7 @@
35633391 fi
35643392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
35653393 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3566-if test "${ac_cv_prog_cc_c89+set}" = set; then :
3394+if ${ac_cv_prog_cc_c89+:} false; then :
35673395 $as_echo_n "(cached) " >&6
35683396 else
35693397 ac_cv_prog_cc_c89=no
@@ -3709,6 +3537,7 @@
37093537 if test "x$enable_dependency_tracking" != xno; then
37103538 am_depcomp="$ac_aux_dir/depcomp"
37113539 AMDEPBACKSLASH='\'
3540+ am__nodep='_no'
37123541 fi
37133542 if test "x$enable_dependency_tracking" != xno; then
37143543 AMDEP_TRUE=
@@ -3724,7 +3553,7 @@
37243553
37253554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
37263555 $as_echo_n "checking dependency style of $depcc... " >&6; }
3727-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3556+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
37283557 $as_echo_n "(cached) " >&6
37293558 else
37303559 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
@@ -3733,6 +3562,7 @@
37333562 # instance it was reported that on HP-UX the gcc test will end up
37343563 # making a dummy file named `D' -- because `-MD' means `put the output
37353564 # in D'.
3565+ rm -rf conftest.dir
37363566 mkdir conftest.dir
37373567 # Copy depcomp to subdir because otherwise we won't find it if we're
37383568 # using a relative directory.
@@ -3792,7 +3622,7 @@
37923622 break
37933623 fi
37943624 ;;
3795- msvisualcpp | msvcmsys)
3625+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
37963626 # This compiler won't grok `-c -o', but also, the minuso test has
37973627 # not run yet. These depmodes are late enough in the game, and
37983628 # so weak that their functioning should not be impacted.
@@ -3859,7 +3689,7 @@
38593689 CPP=
38603690 fi
38613691 if test -z "$CPP"; then
3862- if test "${ac_cv_prog_CPP+set}" = set; then :
3692+ if ${ac_cv_prog_CPP+:} false; then :
38633693 $as_echo_n "(cached) " >&6
38643694 else
38653695 # Double quotes because CPP needs to be expanded
@@ -3975,7 +3805,7 @@
39753805 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39763806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
39773807 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3978-See \`config.log' for more details" "$LINENO" 5 ; }
3808+See \`config.log' for more details" "$LINENO" 5; }
39793809 fi
39803810
39813811 ac_ext=cpp
@@ -4000,7 +3830,7 @@
40003830 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
40013831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40023832 $as_echo_n "checking for $ac_word... " >&6; }
4003-if test "${ac_cv_prog_CXX+set}" = set; then :
3833+if ${ac_cv_prog_CXX+:} false; then :
40043834 $as_echo_n "(cached) " >&6
40053835 else
40063836 if test -n "$CXX"; then
@@ -4044,7 +3874,7 @@
40443874 set dummy $ac_prog; ac_word=$2
40453875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40463876 $as_echo_n "checking for $ac_word... " >&6; }
4047-if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3877+if ${ac_cv_prog_ac_ct_CXX+:} false; then :
40483878 $as_echo_n "(cached) " >&6
40493879 else
40503880 if test -n "$ac_ct_CXX"; then
@@ -4122,7 +3952,7 @@
41223952
41233953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
41243954 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4125-if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3955+if ${ac_cv_cxx_compiler_gnu+:} false; then :
41263956 $as_echo_n "(cached) " >&6
41273957 else
41283958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -4159,7 +3989,7 @@
41593989 ac_save_CXXFLAGS=$CXXFLAGS
41603990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
41613991 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4162-if test "${ac_cv_prog_cxx_g+set}" = set; then :
3992+if ${ac_cv_prog_cxx_g+:} false; then :
41633993 $as_echo_n "(cached) " >&6
41643994 else
41653995 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
@@ -4245,7 +4075,7 @@
42454075
42464076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
42474077 $as_echo_n "checking dependency style of $depcc... " >&6; }
4248-if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4078+if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
42494079 $as_echo_n "(cached) " >&6
42504080 else
42514081 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
@@ -4254,6 +4084,7 @@
42544084 # instance it was reported that on HP-UX the gcc test will end up
42554085 # making a dummy file named `D' -- because `-MD' means `put the output
42564086 # in D'.
4087+ rm -rf conftest.dir
42574088 mkdir conftest.dir
42584089 # Copy depcomp to subdir because otherwise we won't find it if we're
42594090 # using a relative directory.
@@ -4313,7 +4144,7 @@
43134144 break
43144145 fi
43154146 ;;
4316- msvisualcpp | msvcmsys)
4147+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
43174148 # This compiler won't grok `-c -o', but also, the minuso test has
43184149 # not run yet. These depmodes are late enough in the game, and
43194150 # so weak that their functioning should not be impacted.
@@ -4376,7 +4207,7 @@
43764207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
43774208 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
43784209 if test -z "$CXXCPP"; then
4379- if test "${ac_cv_prog_CXXCPP+set}" = set; then :
4210+ if ${ac_cv_prog_CXXCPP+:} false; then :
43804211 $as_echo_n "(cached) " >&6
43814212 else
43824213 # Double quotes because CXXCPP needs to be expanded
@@ -4492,7 +4323,7 @@
44924323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44934324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44944325 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
4495-See \`config.log' for more details" "$LINENO" 5 ; }
4326+See \`config.log' for more details" "$LINENO" 5; }
44964327 fi
44974328
44984329 ac_ext=cpp
@@ -4502,256 +4333,115 @@
45024333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45034334
45044335
4505-case `pwd` in
4506- *\ * | *\ *)
4507- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4508-$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4509-esac
4336+AC_PROG_LIBTOOL
45104337
4511-
4512-
4513-macro_version='2.4'
4514-macro_revision='1.3294'
4515-
4516-
4517-
4518-
4519-
4520-
4521-
4522-
4523-
4524-
4525-
4526-
4527-
4528-ltmain="$ac_aux_dir/ltmain.sh"
4529-
4530-# Make sure we can run config.sub.
4531-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4532- as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4533-
4534-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4535-$as_echo_n "checking build system type... " >&6; }
4536-if test "${ac_cv_build+set}" = set; then :
4338+case "$host" in
4339+*-mingw32*)
4340+ if test -n "$ac_tool_prefix"; then
4341+ # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4342+set dummy ${ac_tool_prefix}windres; ac_word=$2
4343+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4344+$as_echo_n "checking for $ac_word... " >&6; }
4345+if ${ac_cv_prog_WINDRES+:} false; then :
45374346 $as_echo_n "(cached) " >&6
45384347 else
4539- ac_build_alias=$build_alias
4540-test "x$ac_build_alias" = x &&
4541- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4542-test "x$ac_build_alias" = x &&
4543- as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4544-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4545- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4348+ if test -n "$WINDRES"; then
4349+ ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
4350+else
4351+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4352+for as_dir in $PATH
4353+do
4354+ IFS=$as_save_IFS
4355+ test -z "$as_dir" && as_dir=.
4356+ for ac_exec_ext in '' $ac_executable_extensions; do
4357+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4358+ ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
4359+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4360+ break 2
4361+ fi
4362+done
4363+ done
4364+IFS=$as_save_IFS
45464365
45474366 fi
4548-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4549-$as_echo "$ac_cv_build" >&6; }
4550-case $ac_cv_build in
4551-*-*-*) ;;
4552-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
4553-esac
4554-build=$ac_cv_build
4555-ac_save_IFS=$IFS; IFS='-'
4556-set x $ac_cv_build
4557-shift
4558-build_cpu=$1
4559-build_vendor=$2
4560-shift; shift
4561-# Remember, the first character of IFS is used to create $*,
4562-# except with old shells:
4563-build_os=$*
4564-IFS=$ac_save_IFS
4565-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4566-
4567-
4568-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4569-$as_echo_n "checking host system type... " >&6; }
4570-if test "${ac_cv_host+set}" = set; then :
4571- $as_echo_n "(cached) " >&6
4367+fi
4368+WINDRES=$ac_cv_prog_WINDRES
4369+if test -n "$WINDRES"; then
4370+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
4371+$as_echo "$WINDRES" >&6; }
45724372 else
4573- if test "x$host_alias" = x; then
4574- ac_cv_host=$ac_cv_build
4575-else
4576- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4577- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4373+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4374+$as_echo "no" >&6; }
45784375 fi
45794376
4580-fi
4581-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4582-$as_echo "$ac_cv_host" >&6; }
4583-case $ac_cv_host in
4584-*-*-*) ;;
4585-*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
4586-esac
4587-host=$ac_cv_host
4588-ac_save_IFS=$IFS; IFS='-'
4589-set x $ac_cv_host
4590-shift
4591-host_cpu=$1
4592-host_vendor=$2
4593-shift; shift
4594-# Remember, the first character of IFS is used to create $*,
4595-# except with old shells:
4596-host_os=$*
4597-IFS=$ac_save_IFS
4598-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
45994377
4600-
4601-# Backslashify metacharacters that are still active within
4602-# double-quoted strings.
4603-sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4604-
4605-# Same as above, but do not quote variable references.
4606-double_quote_subst='s/\(["`\\]\)/\\\1/g'
4607-
4608-# Sed substitution to delay expansion of an escaped shell variable in a
4609-# double_quote_subst'ed string.
4610-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4611-
4612-# Sed substitution to delay expansion of an escaped single quote.
4613-delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4614-
4615-# Sed substitution to avoid accidental globbing in evaled expressions
4616-no_glob_subst='s/\*/\\\*/g'
4617-
4618-ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4619-ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4620-ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4621-
4622-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4623-$as_echo_n "checking how to print strings... " >&6; }
4624-# Test print first, because it will be a builtin if present.
4625-if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4626- test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4627- ECHO='print -r --'
4628-elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4629- ECHO='printf %s\n'
4630-else
4631- # Use this function as a fallback that always works.
4632- func_fallback_echo ()
4633- {
4634- eval 'cat <<_LTECHO_EOF
4635-$1
4636-_LTECHO_EOF'
4637- }
4638- ECHO='func_fallback_echo'
46394378 fi
4640-
4641-# func_echo_all arg...
4642-# Invoke $ECHO with all args, space-separated.
4643-func_echo_all ()
4644-{
4645- $ECHO ""
4646-}
4647-
4648-case "$ECHO" in
4649- printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4650-$as_echo "printf" >&6; } ;;
4651- print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4652-$as_echo "print -r" >&6; } ;;
4653- *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4654-$as_echo "cat" >&6; } ;;
4655-esac
4656-
4657-
4658-
4659-
4660-
4661-
4662-
4663-
4664-
4665-
4666-
4667-
4668-
4669-
4670-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4671-$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4672-if test "${ac_cv_path_SED+set}" = set; then :
4379+if test -z "$ac_cv_prog_WINDRES"; then
4380+ ac_ct_WINDRES=$WINDRES
4381+ # Extract the first word of "windres", so it can be a program name with args.
4382+set dummy windres; ac_word=$2
4383+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4384+$as_echo_n "checking for $ac_word... " >&6; }
4385+if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
46734386 $as_echo_n "(cached) " >&6
46744387 else
4675- ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4676- for ac_i in 1 2 3 4 5 6 7; do
4677- ac_script="$ac_script$as_nl$ac_script"
4678- done
4679- echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4680- { ac_script=; unset ac_script;}
4681- if test -z "$SED"; then
4682- ac_path_SED_found=false
4683- # Loop through the user's path and test for each of PROGNAME-LIST
4684- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4388+ if test -n "$ac_ct_WINDRES"; then
4389+ ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
4390+else
4391+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46854392 for as_dir in $PATH
46864393 do
46874394 IFS=$as_save_IFS
46884395 test -z "$as_dir" && as_dir=.
4689- for ac_prog in sed gsed; do
46904396 for ac_exec_ext in '' $ac_executable_extensions; do
4691- ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4692- { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4693-# Check for GNU ac_path_SED and select it if it is found.
4694- # Check for GNU $ac_path_SED
4695-case `"$ac_path_SED" --version 2>&1` in
4696-*GNU*)
4697- ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4698-*)
4699- ac_count=0
4700- $as_echo_n 0123456789 >"conftest.in"
4701- while :
4702- do
4703- cat "conftest.in" "conftest.in" >"conftest.tmp"
4704- mv "conftest.tmp" "conftest.in"
4705- cp "conftest.in" "conftest.nl"
4706- $as_echo '' >> "conftest.nl"
4707- "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4708- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4709- as_fn_arith $ac_count + 1 && ac_count=$as_val
4710- if test $ac_count -gt ${ac_path_SED_max-0}; then
4711- # Best one so far, save it but keep looking for a better one
4712- ac_cv_path_SED="$ac_path_SED"
4713- ac_path_SED_max=$ac_count
4714- fi
4715- # 10*(2^10) chars as input seems more than enough
4716- test $ac_count -gt 10 && break
4397+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4398+ ac_cv_prog_ac_ct_WINDRES="windres"
4399+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4400+ break 2
4401+ fi
4402+done
47174403 done
4718- rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4719-esac
4404+IFS=$as_save_IFS
47204405
4721- $ac_path_SED_found && break 3
4722- done
4723- done
4724- done
4725-IFS=$as_save_IFS
4726- if test -z "$ac_cv_path_SED"; then
4727- as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4728- fi
4406+fi
4407+fi
4408+ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
4409+if test -n "$ac_ct_WINDRES"; then
4410+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
4411+$as_echo "$ac_ct_WINDRES" >&6; }
47294412 else
4730- ac_cv_path_SED=$SED
4413+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4414+$as_echo "no" >&6; }
47314415 fi
47324416
4417+ if test "x$ac_ct_WINDRES" = x; then
4418+ WINDRES=":"
4419+ else
4420+ case $cross_compiling:$ac_tool_warned in
4421+yes:)
4422+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4423+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4424+ac_tool_warned=yes ;;
4425+esac
4426+ WINDRES=$ac_ct_WINDRES
4427+ fi
4428+else
4429+ WINDRES="$ac_cv_prog_WINDRES"
47334430 fi
4734-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4735-$as_echo "$ac_cv_path_SED" >&6; }
4736- SED="$ac_cv_path_SED"
4737- rm -f conftest.sed
47384431
4739-test -z "$SED" && SED=sed
4740-Xsed="$SED -e 1s/^X//"
4432+ make_windows=true
4433+ LDFLAGS="$LDFLAGS -Wl,-S"
4434+ ;;
4435+*)
4436+ make_windows=false
4437+ ;;
4438+esac
47414439
47424440
47434441
4744-
4745-
4746-
4747-
4748-
4749-
4750-
4751-
47524442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
47534443 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4754-if test "${ac_cv_path_GREP+set}" = set; then :
4444+if ${ac_cv_path_GREP+:} false; then :
47554445 $as_echo_n "(cached) " >&6
47564446 else
47574447 if test -z "$GREP"; then
@@ -4814,7 +4504,7 @@
48144504
48154505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
48164506 $as_echo_n "checking for egrep... " >&6; }
4817-if test "${ac_cv_path_EGREP+set}" = set; then :
4507+if ${ac_cv_path_EGREP+:} false; then :
48184508 $as_echo_n "(cached) " >&6
48194509 else
48204510 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
@@ -4879,2899 +4569,9 @@
48794569 EGREP="$ac_cv_path_EGREP"
48804570
48814571
4882-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4883-$as_echo_n "checking for fgrep... " >&6; }
4884-if test "${ac_cv_path_FGREP+set}" = set; then :
4885- $as_echo_n "(cached) " >&6
4886-else
4887- if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4888- then ac_cv_path_FGREP="$GREP -F"
4889- else
4890- if test -z "$FGREP"; then
4891- ac_path_FGREP_found=false
4892- # Loop through the user's path and test for each of PROGNAME-LIST
4893- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4894-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4895-do
4896- IFS=$as_save_IFS
4897- test -z "$as_dir" && as_dir=.
4898- for ac_prog in fgrep; do
4899- for ac_exec_ext in '' $ac_executable_extensions; do
4900- ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4901- { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4902-# Check for GNU ac_path_FGREP and select it if it is found.
4903- # Check for GNU $ac_path_FGREP
4904-case `"$ac_path_FGREP" --version 2>&1` in
4905-*GNU*)
4906- ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4907-*)
4908- ac_count=0
4909- $as_echo_n 0123456789 >"conftest.in"
4910- while :
4911- do
4912- cat "conftest.in" "conftest.in" >"conftest.tmp"
4913- mv "conftest.tmp" "conftest.in"
4914- cp "conftest.in" "conftest.nl"
4915- $as_echo 'FGREP' >> "conftest.nl"
4916- "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4917- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4918- as_fn_arith $ac_count + 1 && ac_count=$as_val
4919- if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4920- # Best one so far, save it but keep looking for a better one
4921- ac_cv_path_FGREP="$ac_path_FGREP"
4922- ac_path_FGREP_max=$ac_count
4923- fi
4924- # 10*(2^10) chars as input seems more than enough
4925- test $ac_count -gt 10 && break
4926- done
4927- rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4928-esac
4929-
4930- $ac_path_FGREP_found && break 3
4931- done
4932- done
4933- done
4934-IFS=$as_save_IFS
4935- if test -z "$ac_cv_path_FGREP"; then
4936- as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4937- fi
4938-else
4939- ac_cv_path_FGREP=$FGREP
4940-fi
4941-
4942- fi
4943-fi
4944-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4945-$as_echo "$ac_cv_path_FGREP" >&6; }
4946- FGREP="$ac_cv_path_FGREP"
4947-
4948-
4949-test -z "$GREP" && GREP=grep
4950-
4951-
4952-
4953-
4954-
4955-
4956-
4957-
4958-
4959-
4960-
4961-
4962-
4963-
4964-
4965-
4966-
4967-
4968-
4969-# Check whether --with-gnu-ld was given.
4970-if test "${with_gnu_ld+set}" = set; then :
4971- withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4972-else
4973- with_gnu_ld=no
4974-fi
4975-
4976-ac_prog=ld
4977-if test "$GCC" = yes; then
4978- # Check if gcc -print-prog-name=ld gives a path.
4979- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4980-$as_echo_n "checking for ld used by $CC... " >&6; }
4981- case $host in
4982- *-*-mingw*)
4983- # gcc leaves a trailing carriage return which upsets mingw
4984- ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4985- *)
4986- ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4987- esac
4988- case $ac_prog in
4989- # Accept absolute paths.
4990- [\\/]* | ?:[\\/]*)
4991- re_direlt='/[^/][^/]*/\.\./'
4992- # Canonicalize the pathname of ld
4993- ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4994- while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4995- ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4996- done
4997- test -z "$LD" && LD="$ac_prog"
4998- ;;
4999- "")
5000- # If it fails, then pretend we aren't using GCC.
5001- ac_prog=ld
5002- ;;
5003- *)
5004- # If it is relative, then search for the first ld in PATH.
5005- with_gnu_ld=unknown
5006- ;;
5007- esac
5008-elif test "$with_gnu_ld" = yes; then
5009- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5010-$as_echo_n "checking for GNU ld... " >&6; }
5011-else
5012- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5013-$as_echo_n "checking for non-GNU ld... " >&6; }
5014-fi
5015-if test "${lt_cv_path_LD+set}" = set; then :
5016- $as_echo_n "(cached) " >&6
5017-else
5018- if test -z "$LD"; then
5019- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5020- for ac_dir in $PATH; do
5021- IFS="$lt_save_ifs"
5022- test -z "$ac_dir" && ac_dir=.
5023- if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5024- lt_cv_path_LD="$ac_dir/$ac_prog"
5025- # Check to see if the program is GNU ld. I'd rather use --version,
5026- # but apparently some variants of GNU ld only accept -v.
5027- # Break only if it was the GNU/non-GNU ld that we prefer.
5028- case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5029- *GNU* | *'with BFD'*)
5030- test "$with_gnu_ld" != no && break
5031- ;;
5032- *)
5033- test "$with_gnu_ld" != yes && break
5034- ;;
5035- esac
5036- fi
5037- done
5038- IFS="$lt_save_ifs"
5039-else
5040- lt_cv_path_LD="$LD" # Let the user override the test with a path.
5041-fi
5042-fi
5043-
5044-LD="$lt_cv_path_LD"
5045-if test -n "$LD"; then
5046- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5047-$as_echo "$LD" >&6; }
5048-else
5049- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5050-$as_echo "no" >&6; }
5051-fi
5052-test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5053-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5054-$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5055-if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5056- $as_echo_n "(cached) " >&6
5057-else
5058- # I'd rather use --version here, but apparently some GNU lds only accept -v.
5059-case `$LD -v 2>&1 </dev/null` in
5060-*GNU* | *'with BFD'*)
5061- lt_cv_prog_gnu_ld=yes
5062- ;;
5063-*)
5064- lt_cv_prog_gnu_ld=no
5065- ;;
5066-esac
5067-fi
5068-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5069-$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5070-with_gnu_ld=$lt_cv_prog_gnu_ld
5071-
5072-
5073-
5074-
5075-
5076-
5077-
5078-
5079-
5080-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5081-$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5082-if test "${lt_cv_path_NM+set}" = set; then :
5083- $as_echo_n "(cached) " >&6
5084-else
5085- if test -n "$NM"; then
5086- # Let the user override the test.
5087- lt_cv_path_NM="$NM"
5088-else
5089- lt_nm_to_check="${ac_tool_prefix}nm"
5090- if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5091- lt_nm_to_check="$lt_nm_to_check nm"
5092- fi
5093- for lt_tmp_nm in $lt_nm_to_check; do
5094- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5095- for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5096- IFS="$lt_save_ifs"
5097- test -z "$ac_dir" && ac_dir=.
5098- tmp_nm="$ac_dir/$lt_tmp_nm"
5099- if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5100- # Check to see if the nm accepts a BSD-compat flag.
5101- # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5102- # nm: unknown option "B" ignored
5103- # Tru64's nm complains that /dev/null is an invalid object file
5104- case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5105- */dev/null* | *'Invalid file or object type'*)
5106- lt_cv_path_NM="$tmp_nm -B"
5107- break
5108- ;;
5109- *)
5110- case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5111- */dev/null*)
5112- lt_cv_path_NM="$tmp_nm -p"
5113- break
5114- ;;
5115- *)
5116- lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5117- continue # so that we can try to find one that supports BSD flags
5118- ;;
5119- esac
5120- ;;
5121- esac
5122- fi
5123- done
5124- IFS="$lt_save_ifs"
5125- done
5126- : ${lt_cv_path_NM=no}
5127-fi
5128-fi
5129-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5130-$as_echo "$lt_cv_path_NM" >&6; }
5131-if test "$lt_cv_path_NM" != "no"; then
5132- NM="$lt_cv_path_NM"
5133-else
5134- # Didn't find any BSD compatible name lister, look for dumpbin.
5135- if test -n "$DUMPBIN"; then :
5136- # Let the user override the test.
5137- else
5138- if test -n "$ac_tool_prefix"; then
5139- for ac_prog in dumpbin "link -dump"
5140- do
5141- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5142-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5143-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5144-$as_echo_n "checking for $ac_word... " >&6; }
5145-if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5146- $as_echo_n "(cached) " >&6
5147-else
5148- if test -n "$DUMPBIN"; then
5149- ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5150-else
5151-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5152-for as_dir in $PATH
5153-do
5154- IFS=$as_save_IFS
5155- test -z "$as_dir" && as_dir=.
5156- for ac_exec_ext in '' $ac_executable_extensions; do
5157- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5158- ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5159- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5160- break 2
5161- fi
5162-done
5163- done
5164-IFS=$as_save_IFS
5165-
5166-fi
5167-fi
5168-DUMPBIN=$ac_cv_prog_DUMPBIN
5169-if test -n "$DUMPBIN"; then
5170- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5171-$as_echo "$DUMPBIN" >&6; }
5172-else
5173- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5174-$as_echo "no" >&6; }
5175-fi
5176-
5177-
5178- test -n "$DUMPBIN" && break
5179- done
5180-fi
5181-if test -z "$DUMPBIN"; then
5182- ac_ct_DUMPBIN=$DUMPBIN
5183- for ac_prog in dumpbin "link -dump"
5184-do
5185- # Extract the first word of "$ac_prog", so it can be a program name with args.
5186-set dummy $ac_prog; ac_word=$2
5187-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5188-$as_echo_n "checking for $ac_word... " >&6; }
5189-if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5190- $as_echo_n "(cached) " >&6
5191-else
5192- if test -n "$ac_ct_DUMPBIN"; then
5193- ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5194-else
5195-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5196-for as_dir in $PATH
5197-do
5198- IFS=$as_save_IFS
5199- test -z "$as_dir" && as_dir=.
5200- for ac_exec_ext in '' $ac_executable_extensions; do
5201- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5202- ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5203- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5204- break 2
5205- fi
5206-done
5207- done
5208-IFS=$as_save_IFS
5209-
5210-fi
5211-fi
5212-ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5213-if test -n "$ac_ct_DUMPBIN"; then
5214- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5215-$as_echo "$ac_ct_DUMPBIN" >&6; }
5216-else
5217- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5218-$as_echo "no" >&6; }
5219-fi
5220-
5221-
5222- test -n "$ac_ct_DUMPBIN" && break
5223-done
5224-
5225- if test "x$ac_ct_DUMPBIN" = x; then
5226- DUMPBIN=":"
5227- else
5228- case $cross_compiling:$ac_tool_warned in
5229-yes:)
5230-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5231-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5232-ac_tool_warned=yes ;;
5233-esac
5234- DUMPBIN=$ac_ct_DUMPBIN
5235- fi
5236-fi
5237-
5238- case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5239- *COFF*)
5240- DUMPBIN="$DUMPBIN -symbols"
5241- ;;
5242- *)
5243- DUMPBIN=:
5244- ;;
5245- esac
5246- fi
5247-
5248- if test "$DUMPBIN" != ":"; then
5249- NM="$DUMPBIN"
5250- fi
5251-fi
5252-test -z "$NM" && NM=nm
5253-
5254-
5255-
5256-
5257-
5258-
5259-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5260-$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5261-if test "${lt_cv_nm_interface+set}" = set; then :
5262- $as_echo_n "(cached) " >&6
5263-else
5264- lt_cv_nm_interface="BSD nm"
5265- echo "int some_variable = 0;" > conftest.$ac_ext
5266- (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5267- (eval "$ac_compile" 2>conftest.err)
5268- cat conftest.err >&5
5269- (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5270- (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5271- cat conftest.err >&5
5272- (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5273- cat conftest.out >&5
5274- if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5275- lt_cv_nm_interface="MS dumpbin"
5276- fi
5277- rm -f conftest*
5278-fi
5279-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5280-$as_echo "$lt_cv_nm_interface" >&6; }
5281-
5282-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5283-$as_echo_n "checking whether ln -s works... " >&6; }
5284-LN_S=$as_ln_s
5285-if test "$LN_S" = "ln -s"; then
5286- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5287-$as_echo "yes" >&6; }
5288-else
5289- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5290-$as_echo "no, using $LN_S" >&6; }
5291-fi
5292-
5293-# find the maximum length of command line arguments
5294-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5295-$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5296-if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5297- $as_echo_n "(cached) " >&6
5298-else
5299- i=0
5300- teststring="ABCD"
5301-
5302- case $build_os in
5303- msdosdjgpp*)
5304- # On DJGPP, this test can blow up pretty badly due to problems in libc
5305- # (any single argument exceeding 2000 bytes causes a buffer overrun
5306- # during glob expansion). Even if it were fixed, the result of this
5307- # check would be larger than it should be.
5308- lt_cv_sys_max_cmd_len=12288; # 12K is about right
5309- ;;
5310-
5311- gnu*)
5312- # Under GNU Hurd, this test is not required because there is
5313- # no limit to the length of command line arguments.
5314- # Libtool will interpret -1 as no limit whatsoever
5315- lt_cv_sys_max_cmd_len=-1;
5316- ;;
5317-
5318- cygwin* | mingw* | cegcc*)
5319- # On Win9x/ME, this test blows up -- it succeeds, but takes
5320- # about 5 minutes as the teststring grows exponentially.
5321- # Worse, since 9x/ME are not pre-emptively multitasking,
5322- # you end up with a "frozen" computer, even though with patience
5323- # the test eventually succeeds (with a max line length of 256k).
5324- # Instead, let's just punt: use the minimum linelength reported by
5325- # all of the supported platforms: 8192 (on NT/2K/XP).
5326- lt_cv_sys_max_cmd_len=8192;
5327- ;;
5328-
5329- mint*)
5330- # On MiNT this can take a long time and run out of memory.
5331- lt_cv_sys_max_cmd_len=8192;
5332- ;;
5333-
5334- amigaos*)
5335- # On AmigaOS with pdksh, this test takes hours, literally.
5336- # So we just punt and use a minimum line length of 8192.
5337- lt_cv_sys_max_cmd_len=8192;
5338- ;;
5339-
5340- netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5341- # This has been around since 386BSD, at least. Likely further.
5342- if test -x /sbin/sysctl; then
5343- lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5344- elif test -x /usr/sbin/sysctl; then
5345- lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5346- else
5347- lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5348- fi
5349- # And add a safety zone
5350- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5351- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5352- ;;
5353-
5354- interix*)
5355- # We know the value 262144 and hardcode it with a safety zone (like BSD)
5356- lt_cv_sys_max_cmd_len=196608
5357- ;;
5358-
5359- osf*)
5360- # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5361- # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5362- # nice to cause kernel panics so lets avoid the loop below.
5363- # First set a reasonable default.
5364- lt_cv_sys_max_cmd_len=16384
5365- #
5366- if test -x /sbin/sysconfig; then
5367- case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5368- *1*) lt_cv_sys_max_cmd_len=-1 ;;
5369- esac
5370- fi
5371- ;;
5372- sco3.2v5*)
5373- lt_cv_sys_max_cmd_len=102400
5374- ;;
5375- sysv5* | sco5v6* | sysv4.2uw2*)
5376- kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5377- if test -n "$kargmax"; then
5378- lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5379- else
5380- lt_cv_sys_max_cmd_len=32768
5381- fi
5382- ;;
5383- *)
5384- lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5385- if test -n "$lt_cv_sys_max_cmd_len"; then
5386- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5387- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5388- else
5389- # Make teststring a little bigger before we do anything with it.
5390- # a 1K string should be a reasonable start.
5391- for i in 1 2 3 4 5 6 7 8 ; do
5392- teststring=$teststring$teststring
5393- done
5394- SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5395- # If test is not a shell built-in, we'll probably end up computing a
5396- # maximum length that is only half of the actual maximum length, but
5397- # we can't tell.
5398- while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5399- = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5400- test $i != 17 # 1/2 MB should be enough
5401- do
5402- i=`expr $i + 1`
5403- teststring=$teststring$teststring
5404- done
5405- # Only check the string length outside the loop.
5406- lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5407- teststring=
5408- # Add a significant safety factor because C++ compilers can tack on
5409- # massive amounts of additional arguments before passing them to the
5410- # linker. It appears as though 1/2 is a usable value.
5411- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5412- fi
5413- ;;
5414- esac
5415-
5416-fi
5417-
5418-if test -n $lt_cv_sys_max_cmd_len ; then
5419- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5420-$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5421-else
5422- { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5423-$as_echo "none" >&6; }
5424-fi
5425-max_cmd_len=$lt_cv_sys_max_cmd_len
5426-
5427-
5428-
5429-
5430-
5431-
5432-: ${CP="cp -f"}
5433-: ${MV="mv -f"}
5434-: ${RM="rm -f"}
5435-
5436-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5437-$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5438-# Try some XSI features
5439-xsi_shell=no
5440-( _lt_dummy="a/b/c"
5441- test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5442- = c,a/b,b/c, \
5443- && eval 'test $(( 1 + 1 )) -eq 2 \
5444- && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5445- && xsi_shell=yes
5446-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5447-$as_echo "$xsi_shell" >&6; }
5448-
5449-
5450-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5451-$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5452-lt_shell_append=no
5453-( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5454- >/dev/null 2>&1 \
5455- && lt_shell_append=yes
5456-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5457-$as_echo "$lt_shell_append" >&6; }
5458-
5459-
5460-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5461- lt_unset=unset
5462-else
5463- lt_unset=false
5464-fi
5465-
5466-
5467-
5468-
5469-
5470-# test EBCDIC or ASCII
5471-case `echo X|tr X '\101'` in
5472- A) # ASCII based system
5473- # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5474- lt_SP2NL='tr \040 \012'
5475- lt_NL2SP='tr \015\012 \040\040'
5476- ;;
5477- *) # EBCDIC based system
5478- lt_SP2NL='tr \100 \n'
5479- lt_NL2SP='tr \r\n \100\100'
5480- ;;
5481-esac
5482-
5483-
5484-
5485-
5486-
5487-
5488-
5489-
5490-
5491-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5492-$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5493-if test "${lt_cv_to_host_file_cmd+set}" = set; then :
5494- $as_echo_n "(cached) " >&6
5495-else
5496- case $host in
5497- *-*-mingw* )
5498- case $build in
5499- *-*-mingw* ) # actually msys
5500- lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5501- ;;
5502- *-*-cygwin* )
5503- lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5504- ;;
5505- * ) # otherwise, assume *nix
5506- lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5507- ;;
5508- esac
5509- ;;
5510- *-*-cygwin* )
5511- case $build in
5512- *-*-mingw* ) # actually msys
5513- lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5514- ;;
5515- *-*-cygwin* )
5516- lt_cv_to_host_file_cmd=func_convert_file_noop
5517- ;;
5518- * ) # otherwise, assume *nix
5519- lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5520- ;;
5521- esac
5522- ;;
5523- * ) # unhandled hosts (and "normal" native builds)
5524- lt_cv_to_host_file_cmd=func_convert_file_noop
5525- ;;
5526-esac
5527-
5528-fi
5529-
5530-to_host_file_cmd=$lt_cv_to_host_file_cmd
5531-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5532-$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5533-
5534-
5535-
5536-
5537-
5538-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5539-$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5540-if test "${lt_cv_to_tool_file_cmd+set}" = set; then :
5541- $as_echo_n "(cached) " >&6
5542-else
5543- #assume ordinary cross tools, or native build.
5544-lt_cv_to_tool_file_cmd=func_convert_file_noop
5545-case $host in
5546- *-*-mingw* )
5547- case $build in
5548- *-*-mingw* ) # actually msys
5549- lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5550- ;;
5551- esac
5552- ;;
5553-esac
5554-
5555-fi
5556-
5557-to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5558-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5559-$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5560-
5561-
5562-
5563-
5564-
5565-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5566-$as_echo_n "checking for $LD option to reload object files... " >&6; }
5567-if test "${lt_cv_ld_reload_flag+set}" = set; then :
5568- $as_echo_n "(cached) " >&6
5569-else
5570- lt_cv_ld_reload_flag='-r'
5571-fi
5572-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5573-$as_echo "$lt_cv_ld_reload_flag" >&6; }
5574-reload_flag=$lt_cv_ld_reload_flag
5575-case $reload_flag in
5576-"" | " "*) ;;
5577-*) reload_flag=" $reload_flag" ;;
5578-esac
5579-reload_cmds='$LD$reload_flag -o $output$reload_objs'
5580-case $host_os in
5581- cygwin* | mingw* | pw32* | cegcc*)
5582- if test "$GCC" != yes; then
5583- reload_cmds=false
5584- fi
5585- ;;
5586- darwin*)
5587- if test "$GCC" = yes; then
5588- reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5589- else
5590- reload_cmds='$LD$reload_flag -o $output$reload_objs'
5591- fi
5592- ;;
5593-esac
5594-
5595-
5596-
5597-
5598-
5599-
5600-
5601-
5602-
5603-if test -n "$ac_tool_prefix"; then
5604- # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5605-set dummy ${ac_tool_prefix}objdump; ac_word=$2
5606-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5607-$as_echo_n "checking for $ac_word... " >&6; }
5608-if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5609- $as_echo_n "(cached) " >&6
5610-else
5611- if test -n "$OBJDUMP"; then
5612- ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5613-else
5614-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615-for as_dir in $PATH
5616-do
5617- IFS=$as_save_IFS
5618- test -z "$as_dir" && as_dir=.
5619- for ac_exec_ext in '' $ac_executable_extensions; do
5620- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5621- ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5622- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5623- break 2
5624- fi
5625-done
5626- done
5627-IFS=$as_save_IFS
5628-
5629-fi
5630-fi
5631-OBJDUMP=$ac_cv_prog_OBJDUMP
5632-if test -n "$OBJDUMP"; then
5633- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5634-$as_echo "$OBJDUMP" >&6; }
5635-else
5636- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5637-$as_echo "no" >&6; }
5638-fi
5639-
5640-
5641-fi
5642-if test -z "$ac_cv_prog_OBJDUMP"; then
5643- ac_ct_OBJDUMP=$OBJDUMP
5644- # Extract the first word of "objdump", so it can be a program name with args.
5645-set dummy objdump; ac_word=$2
5646-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5647-$as_echo_n "checking for $ac_word... " >&6; }
5648-if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5649- $as_echo_n "(cached) " >&6
5650-else
5651- if test -n "$ac_ct_OBJDUMP"; then
5652- ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5653-else
5654-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5655-for as_dir in $PATH
5656-do
5657- IFS=$as_save_IFS
5658- test -z "$as_dir" && as_dir=.
5659- for ac_exec_ext in '' $ac_executable_extensions; do
5660- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5661- ac_cv_prog_ac_ct_OBJDUMP="objdump"
5662- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5663- break 2
5664- fi
5665-done
5666- done
5667-IFS=$as_save_IFS
5668-
5669-fi
5670-fi
5671-ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5672-if test -n "$ac_ct_OBJDUMP"; then
5673- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5674-$as_echo "$ac_ct_OBJDUMP" >&6; }
5675-else
5676- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5677-$as_echo "no" >&6; }
5678-fi
5679-
5680- if test "x$ac_ct_OBJDUMP" = x; then
5681- OBJDUMP="false"
5682- else
5683- case $cross_compiling:$ac_tool_warned in
5684-yes:)
5685-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5686-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5687-ac_tool_warned=yes ;;
5688-esac
5689- OBJDUMP=$ac_ct_OBJDUMP
5690- fi
5691-else
5692- OBJDUMP="$ac_cv_prog_OBJDUMP"
5693-fi
5694-
5695-test -z "$OBJDUMP" && OBJDUMP=objdump
5696-
5697-
5698-
5699-
5700-
5701-
5702-
5703-
5704-
5705-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5706-$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5707-if test "${lt_cv_deplibs_check_method+set}" = set; then :
5708- $as_echo_n "(cached) " >&6
5709-else
5710- lt_cv_file_magic_cmd='$MAGIC_CMD'
5711-lt_cv_file_magic_test_file=
5712-lt_cv_deplibs_check_method='unknown'
5713-# Need to set the preceding variable on all platforms that support
5714-# interlibrary dependencies.
5715-# 'none' -- dependencies not supported.
5716-# `unknown' -- same as none, but documents that we really don't know.
5717-# 'pass_all' -- all dependencies passed with no checks.
5718-# 'test_compile' -- check by making test program.
5719-# 'file_magic [[regex]]' -- check by looking for files in library path
5720-# which responds to the $file_magic_cmd with a given extended regex.
5721-# If you have `file' or equivalent on your system and you're not sure
5722-# whether `pass_all' will *always* work, you probably want this one.
5723-
5724-case $host_os in
5725-aix[4-9]*)
5726- lt_cv_deplibs_check_method=pass_all
5727- ;;
5728-
5729-beos*)
5730- lt_cv_deplibs_check_method=pass_all
5731- ;;
5732-
5733-bsdi[45]*)
5734- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5735- lt_cv_file_magic_cmd='/usr/bin/file -L'
5736- lt_cv_file_magic_test_file=/shlib/libc.so
5737- ;;
5738-
5739-cygwin*)
5740- # func_win32_libid is a shell function defined in ltmain.sh
5741- lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5742- lt_cv_file_magic_cmd='func_win32_libid'
5743- ;;
5744-
5745-mingw* | pw32*)
5746- # Base MSYS/MinGW do not provide the 'file' command needed by
5747- # func_win32_libid shell function, so use a weaker test based on 'objdump',
5748- # unless we find 'file', for example because we are cross-compiling.
5749- # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5750- if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5751- lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5752- lt_cv_file_magic_cmd='func_win32_libid'
5753- else
5754- # Keep this pattern in sync with the one in func_win32_libid.
5755- lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5756- lt_cv_file_magic_cmd='$OBJDUMP -f'
5757- fi
5758- ;;
5759-
5760-cegcc*)
5761- # use the weaker test based on 'objdump'. See mingw*.
5762- lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5763- lt_cv_file_magic_cmd='$OBJDUMP -f'
5764- ;;
5765-
5766-darwin* | rhapsody*)
5767- lt_cv_deplibs_check_method=pass_all
5768- ;;
5769-
5770-freebsd* | dragonfly*)
5771- if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5772- case $host_cpu in
5773- i*86 )
5774- # Not sure whether the presence of OpenBSD here was a mistake.
5775- # Let's accept both of them until this is cleared up.
5776- lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5777- lt_cv_file_magic_cmd=/usr/bin/file
5778- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5779- ;;
5780- esac
5781- else
5782- lt_cv_deplibs_check_method=pass_all
5783- fi
5784- ;;
5785-
5786-gnu*)
5787- lt_cv_deplibs_check_method=pass_all
5788- ;;
5789-
5790-haiku*)
5791- lt_cv_deplibs_check_method=pass_all
5792- ;;
5793-
5794-hpux10.20* | hpux11*)
5795- lt_cv_file_magic_cmd=/usr/bin/file
5796- case $host_cpu in
5797- ia64*)
5798- lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5799- lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5800- ;;
5801- hppa*64*)
5802- lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5803- lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5804- ;;
5805- *)
5806- lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5807- lt_cv_file_magic_test_file=/usr/lib/libc.sl
5808- ;;
5809- esac
5810- ;;
5811-
5812-interix[3-9]*)
5813- # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5814- lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5815- ;;
5816-
5817-irix5* | irix6* | nonstopux*)
5818- case $LD in
5819- *-32|*"-32 ") libmagic=32-bit;;
5820- *-n32|*"-n32 ") libmagic=N32;;
5821- *-64|*"-64 ") libmagic=64-bit;;
5822- *) libmagic=never-match;;
5823- esac
5824- lt_cv_deplibs_check_method=pass_all
5825- ;;
5826-
5827-# This must be Linux ELF.
5828-linux* | k*bsd*-gnu | kopensolaris*-gnu)
5829- lt_cv_deplibs_check_method=pass_all
5830- ;;
5831-
5832-netbsd*)
5833- if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5834- lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5835- else
5836- lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5837- fi
5838- ;;
5839-
5840-newos6*)
5841- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5842- lt_cv_file_magic_cmd=/usr/bin/file
5843- lt_cv_file_magic_test_file=/usr/lib/libnls.so
5844- ;;
5845-
5846-*nto* | *qnx*)
5847- lt_cv_deplibs_check_method=pass_all
5848- ;;
5849-
5850-openbsd*)
5851- if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5852- lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5853- else
5854- lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5855- fi
5856- ;;
5857-
5858-osf3* | osf4* | osf5*)
5859- lt_cv_deplibs_check_method=pass_all
5860- ;;
5861-
5862-rdos*)
5863- lt_cv_deplibs_check_method=pass_all
5864- ;;
5865-
5866-solaris*)
5867- lt_cv_deplibs_check_method=pass_all
5868- ;;
5869-
5870-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5871- lt_cv_deplibs_check_method=pass_all
5872- ;;
5873-
5874-sysv4 | sysv4.3*)
5875- case $host_vendor in
5876- motorola)
5877- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5878- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5879- ;;
5880- ncr)
5881- lt_cv_deplibs_check_method=pass_all
5882- ;;
5883- sequent)
5884- lt_cv_file_magic_cmd='/bin/file'
5885- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5886- ;;
5887- sni)
5888- lt_cv_file_magic_cmd='/bin/file'
5889- lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5890- lt_cv_file_magic_test_file=/lib/libc.so
5891- ;;
5892- siemens)
5893- lt_cv_deplibs_check_method=pass_all
5894- ;;
5895- pc)
5896- lt_cv_deplibs_check_method=pass_all
5897- ;;
5898- esac
5899- ;;
5900-
5901-tpf*)
5902- lt_cv_deplibs_check_method=pass_all
5903- ;;
5904-esac
5905-
5906-fi
5907-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5908-$as_echo "$lt_cv_deplibs_check_method" >&6; }
5909-
5910-file_magic_glob=
5911-want_nocaseglob=no
5912-if test "$build" = "$host"; then
5913- case $host_os in
5914- mingw* | pw32*)
5915- if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5916- want_nocaseglob=yes
5917- else
5918- file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5919- fi
5920- ;;
5921- esac
5922-fi
5923-
5924-file_magic_cmd=$lt_cv_file_magic_cmd
5925-deplibs_check_method=$lt_cv_deplibs_check_method
5926-test -z "$deplibs_check_method" && deplibs_check_method=unknown
5927-
5928-
5929-
5930-
5931-
5932-
5933-
5934-
5935-
5936-
5937-
5938-
5939-
5940-
5941-
5942-
5943-
5944-
5945-
5946-
5947-
5948-
5949-if test -n "$ac_tool_prefix"; then
5950- # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5951-set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5952-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5953-$as_echo_n "checking for $ac_word... " >&6; }
5954-if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
5955- $as_echo_n "(cached) " >&6
5956-else
5957- if test -n "$DLLTOOL"; then
5958- ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5959-else
5960-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961-for as_dir in $PATH
5962-do
5963- IFS=$as_save_IFS
5964- test -z "$as_dir" && as_dir=.
5965- for ac_exec_ext in '' $ac_executable_extensions; do
5966- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5967- ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5968- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5969- break 2
5970- fi
5971-done
5972- done
5973-IFS=$as_save_IFS
5974-
5975-fi
5976-fi
5977-DLLTOOL=$ac_cv_prog_DLLTOOL
5978-if test -n "$DLLTOOL"; then
5979- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5980-$as_echo "$DLLTOOL" >&6; }
5981-else
5982- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5983-$as_echo "no" >&6; }
5984-fi
5985-
5986-
5987-fi
5988-if test -z "$ac_cv_prog_DLLTOOL"; then
5989- ac_ct_DLLTOOL=$DLLTOOL
5990- # Extract the first word of "dlltool", so it can be a program name with args.
5991-set dummy dlltool; ac_word=$2
5992-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5993-$as_echo_n "checking for $ac_word... " >&6; }
5994-if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
5995- $as_echo_n "(cached) " >&6
5996-else
5997- if test -n "$ac_ct_DLLTOOL"; then
5998- ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5999-else
6000-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6001-for as_dir in $PATH
6002-do
6003- IFS=$as_save_IFS
6004- test -z "$as_dir" && as_dir=.
6005- for ac_exec_ext in '' $ac_executable_extensions; do
6006- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6007- ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6008- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6009- break 2
6010- fi
6011-done
6012- done
6013-IFS=$as_save_IFS
6014-
6015-fi
6016-fi
6017-ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6018-if test -n "$ac_ct_DLLTOOL"; then
6019- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6020-$as_echo "$ac_ct_DLLTOOL" >&6; }
6021-else
6022- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6023-$as_echo "no" >&6; }
6024-fi
6025-
6026- if test "x$ac_ct_DLLTOOL" = x; then
6027- DLLTOOL="false"
6028- else
6029- case $cross_compiling:$ac_tool_warned in
6030-yes:)
6031-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6032-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6033-ac_tool_warned=yes ;;
6034-esac
6035- DLLTOOL=$ac_ct_DLLTOOL
6036- fi
6037-else
6038- DLLTOOL="$ac_cv_prog_DLLTOOL"
6039-fi
6040-
6041-test -z "$DLLTOOL" && DLLTOOL=dlltool
6042-
6043-
6044-
6045-
6046-
6047-
6048-
6049-
6050-
6051-
6052-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6053-$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6054-if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
6055- $as_echo_n "(cached) " >&6
6056-else
6057- lt_cv_sharedlib_from_linklib_cmd='unknown'
6058-
6059-case $host_os in
6060-cygwin* | mingw* | pw32* | cegcc*)
6061- # two different shell functions defined in ltmain.sh
6062- # decide which to use based on capabilities of $DLLTOOL
6063- case `$DLLTOOL --help 2>&1` in
6064- *--identify-strict*)
6065- lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6066- ;;
6067- *)
6068- lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6069- ;;
6070- esac
6071- ;;
6072-*)
6073- # fallback: assume linklib IS sharedlib
6074- lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6075- ;;
6076-esac
6077-
6078-fi
6079-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6080-$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6081-sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6082-test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6083-
6084-
6085-
6086-
6087-
6088-
6089-
6090-
6091-if test -n "$ac_tool_prefix"; then
6092- for ac_prog in ar
6093- do
6094- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6095-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6096-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6097-$as_echo_n "checking for $ac_word... " >&6; }
6098-if test "${ac_cv_prog_AR+set}" = set; then :
6099- $as_echo_n "(cached) " >&6
6100-else
6101- if test -n "$AR"; then
6102- ac_cv_prog_AR="$AR" # Let the user override the test.
6103-else
6104-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6105-for as_dir in $PATH
6106-do
6107- IFS=$as_save_IFS
6108- test -z "$as_dir" && as_dir=.
6109- for ac_exec_ext in '' $ac_executable_extensions; do
6110- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6111- ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6112- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6113- break 2
6114- fi
6115-done
6116- done
6117-IFS=$as_save_IFS
6118-
6119-fi
6120-fi
6121-AR=$ac_cv_prog_AR
6122-if test -n "$AR"; then
6123- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6124-$as_echo "$AR" >&6; }
6125-else
6126- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6127-$as_echo "no" >&6; }
6128-fi
6129-
6130-
6131- test -n "$AR" && break
6132- done
6133-fi
6134-if test -z "$AR"; then
6135- ac_ct_AR=$AR
6136- for ac_prog in ar
6137-do
6138- # Extract the first word of "$ac_prog", so it can be a program name with args.
6139-set dummy $ac_prog; ac_word=$2
6140-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6141-$as_echo_n "checking for $ac_word... " >&6; }
6142-if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6143- $as_echo_n "(cached) " >&6
6144-else
6145- if test -n "$ac_ct_AR"; then
6146- ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6147-else
6148-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6149-for as_dir in $PATH
6150-do
6151- IFS=$as_save_IFS
6152- test -z "$as_dir" && as_dir=.
6153- for ac_exec_ext in '' $ac_executable_extensions; do
6154- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6155- ac_cv_prog_ac_ct_AR="$ac_prog"
6156- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6157- break 2
6158- fi
6159-done
6160- done
6161-IFS=$as_save_IFS
6162-
6163-fi
6164-fi
6165-ac_ct_AR=$ac_cv_prog_ac_ct_AR
6166-if test -n "$ac_ct_AR"; then
6167- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6168-$as_echo "$ac_ct_AR" >&6; }
6169-else
6170- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6171-$as_echo "no" >&6; }
6172-fi
6173-
6174-
6175- test -n "$ac_ct_AR" && break
6176-done
6177-
6178- if test "x$ac_ct_AR" = x; then
6179- AR="false"
6180- else
6181- case $cross_compiling:$ac_tool_warned in
6182-yes:)
6183-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6184-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6185-ac_tool_warned=yes ;;
6186-esac
6187- AR=$ac_ct_AR
6188- fi
6189-fi
6190-
6191-: ${AR=ar}
6192-: ${AR_FLAGS=cru}
6193-
6194-
6195-
6196-
6197-
6198-
6199-
6200-
6201-
6202-
6203-
6204-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6205-$as_echo_n "checking for archiver @FILE support... " >&6; }
6206-if test "${lt_cv_ar_at_file+set}" = set; then :
6207- $as_echo_n "(cached) " >&6
6208-else
6209- lt_cv_ar_at_file=no
6210- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6211-/* end confdefs.h. */
6212-
6213-int
6214-main ()
6215-{
6216-
6217- ;
6218- return 0;
6219-}
6220-_ACEOF
6221-if ac_fn_cxx_try_compile "$LINENO"; then :
6222- echo conftest.$ac_objext > conftest.lst
6223- lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6224- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6225- (eval $lt_ar_try) 2>&5
6226- ac_status=$?
6227- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6228- test $ac_status = 0; }
6229- if test "$ac_status" -eq 0; then
6230- # Ensure the archiver fails upon bogus file names.
6231- rm -f conftest.$ac_objext libconftest.a
6232- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6233- (eval $lt_ar_try) 2>&5
6234- ac_status=$?
6235- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6236- test $ac_status = 0; }
6237- if test "$ac_status" -ne 0; then
6238- lt_cv_ar_at_file=@
6239- fi
6240- fi
6241- rm -f conftest.* libconftest.a
6242-
6243-fi
6244-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6245-
6246-fi
6247-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6248-$as_echo "$lt_cv_ar_at_file" >&6; }
6249-
6250-if test "x$lt_cv_ar_at_file" = xno; then
6251- archiver_list_spec=
6252-else
6253- archiver_list_spec=$lt_cv_ar_at_file
6254-fi
6255-
6256-
6257-
6258-
6259-
6260-
6261-
6262-if test -n "$ac_tool_prefix"; then
6263- # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6264-set dummy ${ac_tool_prefix}strip; ac_word=$2
6265-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6266-$as_echo_n "checking for $ac_word... " >&6; }
6267-if test "${ac_cv_prog_STRIP+set}" = set; then :
6268- $as_echo_n "(cached) " >&6
6269-else
6270- if test -n "$STRIP"; then
6271- ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6272-else
6273-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6274-for as_dir in $PATH
6275-do
6276- IFS=$as_save_IFS
6277- test -z "$as_dir" && as_dir=.
6278- for ac_exec_ext in '' $ac_executable_extensions; do
6279- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6280- ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6281- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6282- break 2
6283- fi
6284-done
6285- done
6286-IFS=$as_save_IFS
6287-
6288-fi
6289-fi
6290-STRIP=$ac_cv_prog_STRIP
6291-if test -n "$STRIP"; then
6292- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6293-$as_echo "$STRIP" >&6; }
6294-else
6295- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6296-$as_echo "no" >&6; }
6297-fi
6298-
6299-
6300-fi
6301-if test -z "$ac_cv_prog_STRIP"; then
6302- ac_ct_STRIP=$STRIP
6303- # Extract the first word of "strip", so it can be a program name with args.
6304-set dummy strip; ac_word=$2
6305-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6306-$as_echo_n "checking for $ac_word... " >&6; }
6307-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6308- $as_echo_n "(cached) " >&6
6309-else
6310- if test -n "$ac_ct_STRIP"; then
6311- ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6312-else
6313-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6314-for as_dir in $PATH
6315-do
6316- IFS=$as_save_IFS
6317- test -z "$as_dir" && as_dir=.
6318- for ac_exec_ext in '' $ac_executable_extensions; do
6319- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6320- ac_cv_prog_ac_ct_STRIP="strip"
6321- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6322- break 2
6323- fi
6324-done
6325- done
6326-IFS=$as_save_IFS
6327-
6328-fi
6329-fi
6330-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6331-if test -n "$ac_ct_STRIP"; then
6332- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6333-$as_echo "$ac_ct_STRIP" >&6; }
6334-else
6335- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6336-$as_echo "no" >&6; }
6337-fi
6338-
6339- if test "x$ac_ct_STRIP" = x; then
6340- STRIP=":"
6341- else
6342- case $cross_compiling:$ac_tool_warned in
6343-yes:)
6344-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6345-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6346-ac_tool_warned=yes ;;
6347-esac
6348- STRIP=$ac_ct_STRIP
6349- fi
6350-else
6351- STRIP="$ac_cv_prog_STRIP"
6352-fi
6353-
6354-test -z "$STRIP" && STRIP=:
6355-
6356-
6357-
6358-
6359-
6360-
6361-if test -n "$ac_tool_prefix"; then
6362- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6363-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6364-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6365-$as_echo_n "checking for $ac_word... " >&6; }
6366-if test "${ac_cv_prog_RANLIB+set}" = set; then :
6367- $as_echo_n "(cached) " >&6
6368-else
6369- if test -n "$RANLIB"; then
6370- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6371-else
6372-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6373-for as_dir in $PATH
6374-do
6375- IFS=$as_save_IFS
6376- test -z "$as_dir" && as_dir=.
6377- for ac_exec_ext in '' $ac_executable_extensions; do
6378- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6379- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6380- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6381- break 2
6382- fi
6383-done
6384- done
6385-IFS=$as_save_IFS
6386-
6387-fi
6388-fi
6389-RANLIB=$ac_cv_prog_RANLIB
6390-if test -n "$RANLIB"; then
6391- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6392-$as_echo "$RANLIB" >&6; }
6393-else
6394- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6395-$as_echo "no" >&6; }
6396-fi
6397-
6398-
6399-fi
6400-if test -z "$ac_cv_prog_RANLIB"; then
6401- ac_ct_RANLIB=$RANLIB
6402- # Extract the first word of "ranlib", so it can be a program name with args.
6403-set dummy ranlib; ac_word=$2
6404-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6405-$as_echo_n "checking for $ac_word... " >&6; }
6406-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6407- $as_echo_n "(cached) " >&6
6408-else
6409- if test -n "$ac_ct_RANLIB"; then
6410- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6411-else
6412-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6413-for as_dir in $PATH
6414-do
6415- IFS=$as_save_IFS
6416- test -z "$as_dir" && as_dir=.
6417- for ac_exec_ext in '' $ac_executable_extensions; do
6418- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6419- ac_cv_prog_ac_ct_RANLIB="ranlib"
6420- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6421- break 2
6422- fi
6423-done
6424- done
6425-IFS=$as_save_IFS
6426-
6427-fi
6428-fi
6429-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6430-if test -n "$ac_ct_RANLIB"; then
6431- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6432-$as_echo "$ac_ct_RANLIB" >&6; }
6433-else
6434- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6435-$as_echo "no" >&6; }
6436-fi
6437-
6438- if test "x$ac_ct_RANLIB" = x; then
6439- RANLIB=":"
6440- else
6441- case $cross_compiling:$ac_tool_warned in
6442-yes:)
6443-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6444-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6445-ac_tool_warned=yes ;;
6446-esac
6447- RANLIB=$ac_ct_RANLIB
6448- fi
6449-else
6450- RANLIB="$ac_cv_prog_RANLIB"
6451-fi
6452-
6453-test -z "$RANLIB" && RANLIB=:
6454-
6455-
6456-
6457-
6458-
6459-
6460-# Determine commands to create old-style static archives.
6461-old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6462-old_postinstall_cmds='chmod 644 $oldlib'
6463-old_postuninstall_cmds=
6464-
6465-if test -n "$RANLIB"; then
6466- case $host_os in
6467- openbsd*)
6468- old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6469- ;;
6470- *)
6471- old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6472- ;;
6473- esac
6474- old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6475-fi
6476-
6477-case $host_os in
6478- darwin*)
6479- lock_old_archive_extraction=yes ;;
6480- *)
6481- lock_old_archive_extraction=no ;;
6482-esac
6483-
6484-
6485-
6486-
6487-
6488-
6489-
6490-
6491-
6492-
6493-
6494-
6495-
6496-
6497-
6498-
6499-
6500-
6501-
6502-
6503-
6504-
6505-
6506-
6507-
6508-
6509-
6510-
6511-
6512-
6513-
6514-
6515-
6516-
6517-
6518-
6519-
6520-
6521-
6522-# If no C compiler was specified, use CC.
6523-LTCC=${LTCC-"$CC"}
6524-
6525-# If no C compiler flags were specified, use CFLAGS.
6526-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6527-
6528-# Allow CC to be a program name with arguments.
6529-compiler=$CC
6530-
6531-
6532-# Check for command to grab the raw symbol name followed by C symbol from nm.
6533-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6534-$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6535-if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6536- $as_echo_n "(cached) " >&6
6537-else
6538-
6539-# These are sane defaults that work on at least a few old systems.
6540-# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6541-
6542-# Character class describing NM global symbol codes.
6543-symcode='[BCDEGRST]'
6544-
6545-# Regexp to match symbols that can be accessed directly from C.
6546-sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6547-
6548-# Define system-specific variables.
6549-case $host_os in
6550-aix*)
6551- symcode='[BCDT]'
6552- ;;
6553-cygwin* | mingw* | pw32* | cegcc*)
6554- symcode='[ABCDGISTW]'
6555- ;;
6556-hpux*)
6557- if test "$host_cpu" = ia64; then
6558- symcode='[ABCDEGRST]'
6559- fi
6560- ;;
6561-irix* | nonstopux*)
6562- symcode='[BCDEGRST]'
6563- ;;
6564-osf*)
6565- symcode='[BCDEGQRST]'
6566- ;;
6567-solaris*)
6568- symcode='[BDRT]'
6569- ;;
6570-sco3.2v5*)
6571- symcode='[DT]'
6572- ;;
6573-sysv4.2uw2*)
6574- symcode='[DT]'
6575- ;;
6576-sysv5* | sco5v6* | unixware* | OpenUNIX*)
6577- symcode='[ABDT]'
6578- ;;
6579-sysv4)
6580- symcode='[DFNSTU]'
6581- ;;
6582-esac
6583-
6584-# If we're using GNU nm, then use its standard symbol codes.
6585-case `$NM -V 2>&1` in
6586-*GNU* | *'with BFD'*)
6587- symcode='[ABCDGIRSTW]' ;;
6588-esac
6589-
6590-# Transform an extracted symbol line into a proper C declaration.
6591-# Some systems (esp. on ia64) link data and code symbols differently,
6592-# so use this general approach.
6593-lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6594-
6595-# Transform an extracted symbol line into symbol name and symbol address
6596-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6597-lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6598-
6599-# Handle CRLF in mingw tool chain
6600-opt_cr=
6601-case $build_os in
6602-mingw*)
6603- opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6604- ;;
6605-esac
6606-
6607-# Try without a prefix underscore, then with it.
6608-for ac_symprfx in "" "_"; do
6609-
6610- # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6611- symxfrm="\\1 $ac_symprfx\\2 \\2"
6612-
6613- # Write the raw and C identifiers.
6614- if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6615- # Fake it for dumpbin and say T for any non-static function
6616- # and D for any global variable.
6617- # Also find C++ and __fastcall symbols from MSVC++,
6618- # which start with @ or ?.
6619- lt_cv_sys_global_symbol_pipe="$AWK '"\
6620-" {last_section=section; section=\$ 3};"\
6621-" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6622-" \$ 0!~/External *\|/{next};"\
6623-" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6624-" {if(hide[section]) next};"\
6625-" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6626-" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6627-" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6628-" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6629-" ' prfx=^$ac_symprfx"
6630- else
6631- lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6632- fi
6633- lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6634-
6635- # Check to see that the pipe works correctly.
6636- pipe_works=no
6637-
6638- rm -f conftest*
6639- cat > conftest.$ac_ext <<_LT_EOF
6640-#ifdef __cplusplus
6641-extern "C" {
6642-#endif
6643-char nm_test_var;
6644-void nm_test_func(void);
6645-void nm_test_func(void){}
6646-#ifdef __cplusplus
6647-}
6648-#endif
6649-int main(){nm_test_var='a';nm_test_func();return(0);}
6650-_LT_EOF
6651-
6652- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6653- (eval $ac_compile) 2>&5
6654- ac_status=$?
6655- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6656- test $ac_status = 0; }; then
6657- # Now try to grab the symbols.
6658- nlist=conftest.nm
6659- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6660- (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6661- ac_status=$?
6662- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6663- test $ac_status = 0; } && test -s "$nlist"; then
6664- # Try sorting and uniquifying the output.
6665- if sort "$nlist" | uniq > "$nlist"T; then
6666- mv -f "$nlist"T "$nlist"
6667- else
6668- rm -f "$nlist"T
6669- fi
6670-
6671- # Make sure that we snagged all the symbols we need.
6672- if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6673- if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6674- cat <<_LT_EOF > conftest.$ac_ext
6675-/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6676-#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6677-/* DATA imports from DLLs on WIN32 con't be const, because runtime
6678- relocations are performed -- see ld's documentation on pseudo-relocs. */
6679-# define LT_DLSYM_CONST
6680-#elif defined(__osf__)
6681-/* This system does not cope well with relocations in const data. */
6682-# define LT_DLSYM_CONST
6683-#else
6684-# define LT_DLSYM_CONST const
6685-#endif
6686-
6687-#ifdef __cplusplus
6688-extern "C" {
6689-#endif
6690-
6691-_LT_EOF
6692- # Now generate the symbol file.
6693- eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6694-
6695- cat <<_LT_EOF >> conftest.$ac_ext
6696-
6697-/* The mapping between symbol names and symbols. */
6698-LT_DLSYM_CONST struct {
6699- const char *name;
6700- void *address;
6701-}
6702-lt__PROGRAM__LTX_preloaded_symbols[] =
6703-{
6704- { "@PROGRAM@", (void *) 0 },
6705-_LT_EOF
6706- $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6707- cat <<\_LT_EOF >> conftest.$ac_ext
6708- {0, (void *) 0}
6709-};
6710-
6711-/* This works around a problem in FreeBSD linker */
6712-#ifdef FREEBSD_WORKAROUND
6713-static const void *lt_preloaded_setup() {
6714- return lt__PROGRAM__LTX_preloaded_symbols;
6715-}
6716-#endif
6717-
6718-#ifdef __cplusplus
6719-}
6720-#endif
6721-_LT_EOF
6722- # Now try linking the two files.
6723- mv conftest.$ac_objext conftstm.$ac_objext
6724- lt_globsym_save_LIBS=$LIBS
6725- lt_globsym_save_CFLAGS=$CFLAGS
6726- LIBS="conftstm.$ac_objext"
6727- CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6728- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6729- (eval $ac_link) 2>&5
6730- ac_status=$?
6731- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6732- test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6733- pipe_works=yes
6734- fi
6735- LIBS=$lt_globsym_save_LIBS
6736- CFLAGS=$lt_globsym_save_CFLAGS
6737- else
6738- echo "cannot find nm_test_func in $nlist" >&5
6739- fi
6740- else
6741- echo "cannot find nm_test_var in $nlist" >&5
6742- fi
6743- else
6744- echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6745- fi
6746- else
6747- echo "$progname: failed program was:" >&5
6748- cat conftest.$ac_ext >&5
6749- fi
6750- rm -rf conftest* conftst*
6751-
6752- # Do not use the global_symbol_pipe unless it works.
6753- if test "$pipe_works" = yes; then
6754- break
6755- else
6756- lt_cv_sys_global_symbol_pipe=
6757- fi
6758-done
6759-
6760-fi
6761-
6762-if test -z "$lt_cv_sys_global_symbol_pipe"; then
6763- lt_cv_sys_global_symbol_to_cdecl=
6764-fi
6765-if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6766- { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6767-$as_echo "failed" >&6; }
6768-else
6769- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6770-$as_echo "ok" >&6; }
6771-fi
6772-
6773-# Response file support.
6774-if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6775- nm_file_list_spec='@'
6776-elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6777- nm_file_list_spec='@'
6778-fi
6779-
6780-
6781-
6782-
6783-
6784-
6785-
6786-
6787-
6788-
6789-
6790-
6791-
6792-
6793-
6794-
6795-
6796-
6797-
6798-
6799-
6800-
6801-
6802-
6803-
6804-
6805-
6806-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6807-$as_echo_n "checking for sysroot... " >&6; }
6808-
6809-# Check whether --with-sysroot was given.
6810-if test "${with_sysroot+set}" = set; then :
6811- withval=$with_sysroot;
6812-else
6813- with_sysroot=no
6814-fi
6815-
6816-
6817-lt_sysroot=
6818-case ${with_sysroot} in #(
6819- yes)
6820- if test "$GCC" = yes; then
6821- lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6822- fi
6823- ;; #(
6824- /*)
6825- lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6826- ;; #(
6827- no|'')
6828- ;; #(
6829- *)
6830- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6831-$as_echo "${with_sysroot}" >&6; }
6832- as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6833- ;;
6834-esac
6835-
6836- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6837-$as_echo "${lt_sysroot:-no}" >&6; }
6838-
6839-
6840-
6841-
6842-
6843-
6844-# Check whether --enable-libtool-lock was given.
6845-if test "${enable_libtool_lock+set}" = set; then :
6846- enableval=$enable_libtool_lock;
6847-fi
6848-
6849-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6850-
6851-# Some flags need to be propagated to the compiler or linker for good
6852-# libtool support.
6853-case $host in
6854-ia64-*-hpux*)
6855- # Find out which ABI we are using.
6856- echo 'int i;' > conftest.$ac_ext
6857- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6858- (eval $ac_compile) 2>&5
6859- ac_status=$?
6860- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6861- test $ac_status = 0; }; then
6862- case `/usr/bin/file conftest.$ac_objext` in
6863- *ELF-32*)
6864- HPUX_IA64_MODE="32"
6865- ;;
6866- *ELF-64*)
6867- HPUX_IA64_MODE="64"
6868- ;;
6869- esac
6870- fi
6871- rm -rf conftest*
6872- ;;
6873-*-*-irix6*)
6874- # Find out which ABI we are using.
6875- echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6876- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6877- (eval $ac_compile) 2>&5
6878- ac_status=$?
6879- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6880- test $ac_status = 0; }; then
6881- if test "$lt_cv_prog_gnu_ld" = yes; then
6882- case `/usr/bin/file conftest.$ac_objext` in
6883- *32-bit*)
6884- LD="${LD-ld} -melf32bsmip"
6885- ;;
6886- *N32*)
6887- LD="${LD-ld} -melf32bmipn32"
6888- ;;
6889- *64-bit*)
6890- LD="${LD-ld} -melf64bmip"
6891- ;;
6892- esac
6893- else
6894- case `/usr/bin/file conftest.$ac_objext` in
6895- *32-bit*)
6896- LD="${LD-ld} -32"
6897- ;;
6898- *N32*)
6899- LD="${LD-ld} -n32"
6900- ;;
6901- *64-bit*)
6902- LD="${LD-ld} -64"
6903- ;;
6904- esac
6905- fi
6906- fi
6907- rm -rf conftest*
6908- ;;
6909-
6910-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6911-s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6912- # Find out which ABI we are using.
6913- echo 'int i;' > conftest.$ac_ext
6914- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6915- (eval $ac_compile) 2>&5
6916- ac_status=$?
6917- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6918- test $ac_status = 0; }; then
6919- case `/usr/bin/file conftest.o` in
6920- *32-bit*)
6921- case $host in
6922- x86_64-*kfreebsd*-gnu)
6923- LD="${LD-ld} -m elf_i386_fbsd"
6924- ;;
6925- x86_64-*linux*)
6926- LD="${LD-ld} -m elf_i386"
6927- ;;
6928- ppc64-*linux*|powerpc64-*linux*)
6929- LD="${LD-ld} -m elf32ppclinux"
6930- ;;
6931- s390x-*linux*)
6932- LD="${LD-ld} -m elf_s390"
6933- ;;
6934- sparc64-*linux*)
6935- LD="${LD-ld} -m elf32_sparc"
6936- ;;
6937- esac
6938- ;;
6939- *64-bit*)
6940- case $host in
6941- x86_64-*kfreebsd*-gnu)
6942- LD="${LD-ld} -m elf_x86_64_fbsd"
6943- ;;
6944- x86_64-*linux*)
6945- LD="${LD-ld} -m elf_x86_64"
6946- ;;
6947- ppc*-*linux*|powerpc*-*linux*)
6948- LD="${LD-ld} -m elf64ppc"
6949- ;;
6950- s390*-*linux*|s390*-*tpf*)
6951- LD="${LD-ld} -m elf64_s390"
6952- ;;
6953- sparc*-*linux*)
6954- LD="${LD-ld} -m elf64_sparc"
6955- ;;
6956- esac
6957- ;;
6958- esac
6959- fi
6960- rm -rf conftest*
6961- ;;
6962-
6963-*-*-sco3.2v5*)
6964- # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6965- SAVE_CFLAGS="$CFLAGS"
6966- CFLAGS="$CFLAGS -belf"
6967- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6968-$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6969-if test "${lt_cv_cc_needs_belf+set}" = set; then :
6970- $as_echo_n "(cached) " >&6
6971-else
6972- ac_ext=c
6973-ac_cpp='$CPP $CPPFLAGS'
6974-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6975-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6976-ac_compiler_gnu=$ac_cv_c_compiler_gnu
6977-
6978- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6979-/* end confdefs.h. */
6980-
6981-int
6982-main ()
6983-{
6984-
6985- ;
6986- return 0;
6987-}
6988-_ACEOF
6989-if ac_fn_c_try_link "$LINENO"; then :
6990- lt_cv_cc_needs_belf=yes
6991-else
6992- lt_cv_cc_needs_belf=no
6993-fi
6994-rm -f core conftest.err conftest.$ac_objext \
6995- conftest$ac_exeext conftest.$ac_ext
6996- ac_ext=c
6997-ac_cpp='$CPP $CPPFLAGS'
6998-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6999-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7000-ac_compiler_gnu=$ac_cv_c_compiler_gnu
7001-
7002-fi
7003-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7004-$as_echo "$lt_cv_cc_needs_belf" >&6; }
7005- if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7006- # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7007- CFLAGS="$SAVE_CFLAGS"
7008- fi
7009- ;;
7010-sparc*-*solaris*)
7011- # Find out which ABI we are using.
7012- echo 'int i;' > conftest.$ac_ext
7013- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7014- (eval $ac_compile) 2>&5
7015- ac_status=$?
7016- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7017- test $ac_status = 0; }; then
7018- case `/usr/bin/file conftest.o` in
7019- *64-bit*)
7020- case $lt_cv_prog_gnu_ld in
7021- yes*) LD="${LD-ld} -m elf64_sparc" ;;
7022- *)
7023- if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7024- LD="${LD-ld} -64"
7025- fi
7026- ;;
7027- esac
7028- ;;
7029- esac
7030- fi
7031- rm -rf conftest*
7032- ;;
7033-esac
7034-
7035-need_locks="$enable_libtool_lock"
7036-
7037-if test -n "$ac_tool_prefix"; then
7038- # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7039-set dummy ${ac_tool_prefix}mt; ac_word=$2
7040-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7041-$as_echo_n "checking for $ac_word... " >&6; }
7042-if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then :
7043- $as_echo_n "(cached) " >&6
7044-else
7045- if test -n "$MANIFEST_TOOL"; then
7046- ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7047-else
7048-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7049-for as_dir in $PATH
7050-do
7051- IFS=$as_save_IFS
7052- test -z "$as_dir" && as_dir=.
7053- for ac_exec_ext in '' $ac_executable_extensions; do
7054- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7055- ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7056- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7057- break 2
7058- fi
7059-done
7060- done
7061-IFS=$as_save_IFS
7062-
7063-fi
7064-fi
7065-MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7066-if test -n "$MANIFEST_TOOL"; then
7067- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7068-$as_echo "$MANIFEST_TOOL" >&6; }
7069-else
7070- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7071-$as_echo "no" >&6; }
7072-fi
7073-
7074-
7075-fi
7076-if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7077- ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7078- # Extract the first word of "mt", so it can be a program name with args.
7079-set dummy mt; ac_word=$2
7080-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7081-$as_echo_n "checking for $ac_word... " >&6; }
7082-if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then :
7083- $as_echo_n "(cached) " >&6
7084-else
7085- if test -n "$ac_ct_MANIFEST_TOOL"; then
7086- ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7087-else
7088-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7089-for as_dir in $PATH
7090-do
7091- IFS=$as_save_IFS
7092- test -z "$as_dir" && as_dir=.
7093- for ac_exec_ext in '' $ac_executable_extensions; do
7094- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7095- ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7096- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7097- break 2
7098- fi
7099-done
7100- done
7101-IFS=$as_save_IFS
7102-
7103-fi
7104-fi
7105-ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7106-if test -n "$ac_ct_MANIFEST_TOOL"; then
7107- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7108-$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7109-else
7110- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7111-$as_echo "no" >&6; }
7112-fi
7113-
7114- if test "x$ac_ct_MANIFEST_TOOL" = x; then
7115- MANIFEST_TOOL=":"
7116- else
7117- case $cross_compiling:$ac_tool_warned in
7118-yes:)
7119-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7120-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7121-ac_tool_warned=yes ;;
7122-esac
7123- MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7124- fi
7125-else
7126- MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7127-fi
7128-
7129-test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7130-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7131-$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7132-if test "${lt_cv_path_mainfest_tool+set}" = set; then :
7133- $as_echo_n "(cached) " >&6
7134-else
7135- lt_cv_path_mainfest_tool=no
7136- echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7137- $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7138- cat conftest.err >&5
7139- if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7140- lt_cv_path_mainfest_tool=yes
7141- fi
7142- rm -f conftest*
7143-fi
7144-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7145-$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7146-if test "x$lt_cv_path_mainfest_tool" != xyes; then
7147- MANIFEST_TOOL=:
7148-fi
7149-
7150-
7151-
7152-
7153-
7154-
7155- case $host_os in
7156- rhapsody* | darwin*)
7157- if test -n "$ac_tool_prefix"; then
7158- # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7159-set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7160-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7161-$as_echo_n "checking for $ac_word... " >&6; }
7162-if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7163- $as_echo_n "(cached) " >&6
7164-else
7165- if test -n "$DSYMUTIL"; then
7166- ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7167-else
7168-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7169-for as_dir in $PATH
7170-do
7171- IFS=$as_save_IFS
7172- test -z "$as_dir" && as_dir=.
7173- for ac_exec_ext in '' $ac_executable_extensions; do
7174- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7175- ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7176- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7177- break 2
7178- fi
7179-done
7180- done
7181-IFS=$as_save_IFS
7182-
7183-fi
7184-fi
7185-DSYMUTIL=$ac_cv_prog_DSYMUTIL
7186-if test -n "$DSYMUTIL"; then
7187- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7188-$as_echo "$DSYMUTIL" >&6; }
7189-else
7190- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7191-$as_echo "no" >&6; }
7192-fi
7193-
7194-
7195-fi
7196-if test -z "$ac_cv_prog_DSYMUTIL"; then
7197- ac_ct_DSYMUTIL=$DSYMUTIL
7198- # Extract the first word of "dsymutil", so it can be a program name with args.
7199-set dummy dsymutil; ac_word=$2
7200-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7201-$as_echo_n "checking for $ac_word... " >&6; }
7202-if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7203- $as_echo_n "(cached) " >&6
7204-else
7205- if test -n "$ac_ct_DSYMUTIL"; then
7206- ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7207-else
7208-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7209-for as_dir in $PATH
7210-do
7211- IFS=$as_save_IFS
7212- test -z "$as_dir" && as_dir=.
7213- for ac_exec_ext in '' $ac_executable_extensions; do
7214- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7215- ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7216- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7217- break 2
7218- fi
7219-done
7220- done
7221-IFS=$as_save_IFS
7222-
7223-fi
7224-fi
7225-ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7226-if test -n "$ac_ct_DSYMUTIL"; then
7227- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7228-$as_echo "$ac_ct_DSYMUTIL" >&6; }
7229-else
7230- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7231-$as_echo "no" >&6; }
7232-fi
7233-
7234- if test "x$ac_ct_DSYMUTIL" = x; then
7235- DSYMUTIL=":"
7236- else
7237- case $cross_compiling:$ac_tool_warned in
7238-yes:)
7239-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7240-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7241-ac_tool_warned=yes ;;
7242-esac
7243- DSYMUTIL=$ac_ct_DSYMUTIL
7244- fi
7245-else
7246- DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7247-fi
7248-
7249- if test -n "$ac_tool_prefix"; then
7250- # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7251-set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7252-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7253-$as_echo_n "checking for $ac_word... " >&6; }
7254-if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7255- $as_echo_n "(cached) " >&6
7256-else
7257- if test -n "$NMEDIT"; then
7258- ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7259-else
7260-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7261-for as_dir in $PATH
7262-do
7263- IFS=$as_save_IFS
7264- test -z "$as_dir" && as_dir=.
7265- for ac_exec_ext in '' $ac_executable_extensions; do
7266- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7267- ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7268- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7269- break 2
7270- fi
7271-done
7272- done
7273-IFS=$as_save_IFS
7274-
7275-fi
7276-fi
7277-NMEDIT=$ac_cv_prog_NMEDIT
7278-if test -n "$NMEDIT"; then
7279- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7280-$as_echo "$NMEDIT" >&6; }
7281-else
7282- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7283-$as_echo "no" >&6; }
7284-fi
7285-
7286-
7287-fi
7288-if test -z "$ac_cv_prog_NMEDIT"; then
7289- ac_ct_NMEDIT=$NMEDIT
7290- # Extract the first word of "nmedit", so it can be a program name with args.
7291-set dummy nmedit; ac_word=$2
7292-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7293-$as_echo_n "checking for $ac_word... " >&6; }
7294-if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7295- $as_echo_n "(cached) " >&6
7296-else
7297- if test -n "$ac_ct_NMEDIT"; then
7298- ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7299-else
7300-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7301-for as_dir in $PATH
7302-do
7303- IFS=$as_save_IFS
7304- test -z "$as_dir" && as_dir=.
7305- for ac_exec_ext in '' $ac_executable_extensions; do
7306- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7307- ac_cv_prog_ac_ct_NMEDIT="nmedit"
7308- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7309- break 2
7310- fi
7311-done
7312- done
7313-IFS=$as_save_IFS
7314-
7315-fi
7316-fi
7317-ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7318-if test -n "$ac_ct_NMEDIT"; then
7319- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7320-$as_echo "$ac_ct_NMEDIT" >&6; }
7321-else
7322- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7323-$as_echo "no" >&6; }
7324-fi
7325-
7326- if test "x$ac_ct_NMEDIT" = x; then
7327- NMEDIT=":"
7328- else
7329- case $cross_compiling:$ac_tool_warned in
7330-yes:)
7331-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7332-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7333-ac_tool_warned=yes ;;
7334-esac
7335- NMEDIT=$ac_ct_NMEDIT
7336- fi
7337-else
7338- NMEDIT="$ac_cv_prog_NMEDIT"
7339-fi
7340-
7341- if test -n "$ac_tool_prefix"; then
7342- # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7343-set dummy ${ac_tool_prefix}lipo; ac_word=$2
7344-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7345-$as_echo_n "checking for $ac_word... " >&6; }
7346-if test "${ac_cv_prog_LIPO+set}" = set; then :
7347- $as_echo_n "(cached) " >&6
7348-else
7349- if test -n "$LIPO"; then
7350- ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7351-else
7352-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7353-for as_dir in $PATH
7354-do
7355- IFS=$as_save_IFS
7356- test -z "$as_dir" && as_dir=.
7357- for ac_exec_ext in '' $ac_executable_extensions; do
7358- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7359- ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7360- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7361- break 2
7362- fi
7363-done
7364- done
7365-IFS=$as_save_IFS
7366-
7367-fi
7368-fi
7369-LIPO=$ac_cv_prog_LIPO
7370-if test -n "$LIPO"; then
7371- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7372-$as_echo "$LIPO" >&6; }
7373-else
7374- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7375-$as_echo "no" >&6; }
7376-fi
7377-
7378-
7379-fi
7380-if test -z "$ac_cv_prog_LIPO"; then
7381- ac_ct_LIPO=$LIPO
7382- # Extract the first word of "lipo", so it can be a program name with args.
7383-set dummy lipo; ac_word=$2
7384-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7385-$as_echo_n "checking for $ac_word... " >&6; }
7386-if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7387- $as_echo_n "(cached) " >&6
7388-else
7389- if test -n "$ac_ct_LIPO"; then
7390- ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7391-else
7392-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7393-for as_dir in $PATH
7394-do
7395- IFS=$as_save_IFS
7396- test -z "$as_dir" && as_dir=.
7397- for ac_exec_ext in '' $ac_executable_extensions; do
7398- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7399- ac_cv_prog_ac_ct_LIPO="lipo"
7400- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7401- break 2
7402- fi
7403-done
7404- done
7405-IFS=$as_save_IFS
7406-
7407-fi
7408-fi
7409-ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7410-if test -n "$ac_ct_LIPO"; then
7411- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7412-$as_echo "$ac_ct_LIPO" >&6; }
7413-else
7414- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7415-$as_echo "no" >&6; }
7416-fi
7417-
7418- if test "x$ac_ct_LIPO" = x; then
7419- LIPO=":"
7420- else
7421- case $cross_compiling:$ac_tool_warned in
7422-yes:)
7423-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7424-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7425-ac_tool_warned=yes ;;
7426-esac
7427- LIPO=$ac_ct_LIPO
7428- fi
7429-else
7430- LIPO="$ac_cv_prog_LIPO"
7431-fi
7432-
7433- if test -n "$ac_tool_prefix"; then
7434- # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7435-set dummy ${ac_tool_prefix}otool; ac_word=$2
7436-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7437-$as_echo_n "checking for $ac_word... " >&6; }
7438-if test "${ac_cv_prog_OTOOL+set}" = set; then :
7439- $as_echo_n "(cached) " >&6
7440-else
7441- if test -n "$OTOOL"; then
7442- ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7443-else
7444-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7445-for as_dir in $PATH
7446-do
7447- IFS=$as_save_IFS
7448- test -z "$as_dir" && as_dir=.
7449- for ac_exec_ext in '' $ac_executable_extensions; do
7450- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7451- ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7452- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7453- break 2
7454- fi
7455-done
7456- done
7457-IFS=$as_save_IFS
7458-
7459-fi
7460-fi
7461-OTOOL=$ac_cv_prog_OTOOL
7462-if test -n "$OTOOL"; then
7463- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7464-$as_echo "$OTOOL" >&6; }
7465-else
7466- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7467-$as_echo "no" >&6; }
7468-fi
7469-
7470-
7471-fi
7472-if test -z "$ac_cv_prog_OTOOL"; then
7473- ac_ct_OTOOL=$OTOOL
7474- # Extract the first word of "otool", so it can be a program name with args.
7475-set dummy otool; ac_word=$2
7476-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7477-$as_echo_n "checking for $ac_word... " >&6; }
7478-if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7479- $as_echo_n "(cached) " >&6
7480-else
7481- if test -n "$ac_ct_OTOOL"; then
7482- ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7483-else
7484-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7485-for as_dir in $PATH
7486-do
7487- IFS=$as_save_IFS
7488- test -z "$as_dir" && as_dir=.
7489- for ac_exec_ext in '' $ac_executable_extensions; do
7490- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7491- ac_cv_prog_ac_ct_OTOOL="otool"
7492- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7493- break 2
7494- fi
7495-done
7496- done
7497-IFS=$as_save_IFS
7498-
7499-fi
7500-fi
7501-ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7502-if test -n "$ac_ct_OTOOL"; then
7503- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7504-$as_echo "$ac_ct_OTOOL" >&6; }
7505-else
7506- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7507-$as_echo "no" >&6; }
7508-fi
7509-
7510- if test "x$ac_ct_OTOOL" = x; then
7511- OTOOL=":"
7512- else
7513- case $cross_compiling:$ac_tool_warned in
7514-yes:)
7515-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7516-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7517-ac_tool_warned=yes ;;
7518-esac
7519- OTOOL=$ac_ct_OTOOL
7520- fi
7521-else
7522- OTOOL="$ac_cv_prog_OTOOL"
7523-fi
7524-
7525- if test -n "$ac_tool_prefix"; then
7526- # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7527-set dummy ${ac_tool_prefix}otool64; ac_word=$2
7528-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7529-$as_echo_n "checking for $ac_word... " >&6; }
7530-if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7531- $as_echo_n "(cached) " >&6
7532-else
7533- if test -n "$OTOOL64"; then
7534- ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7535-else
7536-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7537-for as_dir in $PATH
7538-do
7539- IFS=$as_save_IFS
7540- test -z "$as_dir" && as_dir=.
7541- for ac_exec_ext in '' $ac_executable_extensions; do
7542- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7543- ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7544- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7545- break 2
7546- fi
7547-done
7548- done
7549-IFS=$as_save_IFS
7550-
7551-fi
7552-fi
7553-OTOOL64=$ac_cv_prog_OTOOL64
7554-if test -n "$OTOOL64"; then
7555- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7556-$as_echo "$OTOOL64" >&6; }
7557-else
7558- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7559-$as_echo "no" >&6; }
7560-fi
7561-
7562-
7563-fi
7564-if test -z "$ac_cv_prog_OTOOL64"; then
7565- ac_ct_OTOOL64=$OTOOL64
7566- # Extract the first word of "otool64", so it can be a program name with args.
7567-set dummy otool64; ac_word=$2
7568-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7569-$as_echo_n "checking for $ac_word... " >&6; }
7570-if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7571- $as_echo_n "(cached) " >&6
7572-else
7573- if test -n "$ac_ct_OTOOL64"; then
7574- ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7575-else
7576-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7577-for as_dir in $PATH
7578-do
7579- IFS=$as_save_IFS
7580- test -z "$as_dir" && as_dir=.
7581- for ac_exec_ext in '' $ac_executable_extensions; do
7582- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7583- ac_cv_prog_ac_ct_OTOOL64="otool64"
7584- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7585- break 2
7586- fi
7587-done
7588- done
7589-IFS=$as_save_IFS
7590-
7591-fi
7592-fi
7593-ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7594-if test -n "$ac_ct_OTOOL64"; then
7595- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7596-$as_echo "$ac_ct_OTOOL64" >&6; }
7597-else
7598- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7599-$as_echo "no" >&6; }
7600-fi
7601-
7602- if test "x$ac_ct_OTOOL64" = x; then
7603- OTOOL64=":"
7604- else
7605- case $cross_compiling:$ac_tool_warned in
7606-yes:)
7607-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7608-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7609-ac_tool_warned=yes ;;
7610-esac
7611- OTOOL64=$ac_ct_OTOOL64
7612- fi
7613-else
7614- OTOOL64="$ac_cv_prog_OTOOL64"
7615-fi
7616-
7617-
7618-
7619-
7620-
7621-
7622-
7623-
7624-
7625-
7626-
7627-
7628-
7629-
7630-
7631-
7632-
7633-
7634-
7635-
7636-
7637-
7638-
7639-
7640-
7641-
7642-
7643- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7644-$as_echo_n "checking for -single_module linker flag... " >&6; }
7645-if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7646- $as_echo_n "(cached) " >&6
7647-else
7648- lt_cv_apple_cc_single_mod=no
7649- if test -z "${LT_MULTI_MODULE}"; then
7650- # By default we will add the -single_module flag. You can override
7651- # by either setting the environment variable LT_MULTI_MODULE
7652- # non-empty at configure time, or by adding -multi_module to the
7653- # link flags.
7654- rm -rf libconftest.dylib*
7655- echo "int foo(void){return 1;}" > conftest.c
7656- echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7657--dynamiclib -Wl,-single_module conftest.c" >&5
7658- $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7659- -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7660- _lt_result=$?
7661- if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7662- lt_cv_apple_cc_single_mod=yes
7663- else
7664- cat conftest.err >&5
7665- fi
7666- rm -rf libconftest.dylib*
7667- rm -f conftest.*
7668- fi
7669-fi
7670-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7671-$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7672- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7673-$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7674-if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7675- $as_echo_n "(cached) " >&6
7676-else
7677- lt_cv_ld_exported_symbols_list=no
7678- save_LDFLAGS=$LDFLAGS
7679- echo "_main" > conftest.sym
7680- LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7681- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7682-/* end confdefs.h. */
7683-
7684-int
7685-main ()
7686-{
7687-
7688- ;
7689- return 0;
7690-}
7691-_ACEOF
7692-if ac_fn_c_try_link "$LINENO"; then :
7693- lt_cv_ld_exported_symbols_list=yes
7694-else
7695- lt_cv_ld_exported_symbols_list=no
7696-fi
7697-rm -f core conftest.err conftest.$ac_objext \
7698- conftest$ac_exeext conftest.$ac_ext
7699- LDFLAGS="$save_LDFLAGS"
7700-
7701-fi
7702-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7703-$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7704- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7705-$as_echo_n "checking for -force_load linker flag... " >&6; }
7706-if test "${lt_cv_ld_force_load+set}" = set; then :
7707- $as_echo_n "(cached) " >&6
7708-else
7709- lt_cv_ld_force_load=no
7710- cat > conftest.c << _LT_EOF
7711-int forced_loaded() { return 2;}
7712-_LT_EOF
7713- echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7714- $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7715- echo "$AR cru libconftest.a conftest.o" >&5
7716- $AR cru libconftest.a conftest.o 2>&5
7717- echo "$RANLIB libconftest.a" >&5
7718- $RANLIB libconftest.a 2>&5
7719- cat > conftest.c << _LT_EOF
7720-int main() { return 0;}
7721-_LT_EOF
7722- echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7723- $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7724- _lt_result=$?
7725- if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7726- lt_cv_ld_force_load=yes
7727- else
7728- cat conftest.err >&5
7729- fi
7730- rm -f conftest.err libconftest.a conftest conftest.c
7731- rm -rf conftest.dSYM
7732-
7733-fi
7734-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7735-$as_echo "$lt_cv_ld_force_load" >&6; }
7736- case $host_os in
7737- rhapsody* | darwin1.[012])
7738- _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7739- darwin1.*)
7740- _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7741- darwin*) # darwin 5.x on
7742- # if running on 10.5 or later, the deployment target defaults
7743- # to the OS version, if on x86, and 10.4, the deployment
7744- # target defaults to 10.4. Don't you love it?
7745- case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7746- 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7747- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7748- 10.[012]*)
7749- _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7750- 10.*)
7751- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7752- esac
7753- ;;
7754- esac
7755- if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7756- _lt_dar_single_mod='$single_module'
7757- fi
7758- if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7759- _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7760- else
7761- _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7762- fi
7763- if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7764- _lt_dsymutil='~$DSYMUTIL $lib || :'
7765- else
7766- _lt_dsymutil=
7767- fi
7768- ;;
7769- esac
7770-
7771-
77724572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
77734573 $as_echo_n "checking for ANSI C header files... " >&6; }
7774-if test "${ac_cv_header_stdc+set}" = set; then :
4574+if ${ac_cv_header_stdc+:} false; then :
77754575 $as_echo_n "(cached) " >&6
77764576 else
77774577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7789,7 +4589,7 @@
77894589 return 0;
77904590 }
77914591 _ACEOF
7792-if ac_fn_c_try_compile "$LINENO"; then :
4592+if ac_fn_cxx_try_compile "$LINENO"; then :
77934593 ac_cv_header_stdc=yes
77944594 else
77954595 ac_cv_header_stdc=no
@@ -7862,7 +4662,7 @@
78624662 return 0;
78634663 }
78644664 _ACEOF
7865-if ac_fn_c_try_run "$LINENO"; then :
4665+if ac_fn_cxx_try_run "$LINENO"; then :
78664666
78674667 else
78684668 ac_cv_header_stdc=no
@@ -7886,7 +4686,7 @@
78864686 inttypes.h stdint.h unistd.h
78874687 do :
78884688 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7889-ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4689+ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
78904690 "
78914691 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
78924692 cat >>confdefs.h <<_ACEOF
@@ -7898,7312 +4698,10 @@
78984698 done
78994699
79004700
7901-for ac_header in dlfcn.h
7902-do :
7903- ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7904-"
7905-if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7906- cat >>confdefs.h <<_ACEOF
7907-#define HAVE_DLFCN_H 1
7908-_ACEOF
7909-
7910-fi
7911-
7912-done
7913-
7914-
7915-
7916-func_stripname_cnf ()
7917-{
7918- case ${2} in
7919- .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
7920- *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
7921- esac
7922-} # func_stripname_cnf
7923-
7924-
7925-
7926-
7927-
7928-# Set options
7929-
7930-
7931-
7932- enable_dlopen=no
7933-
7934-
7935- enable_win32_dll=no
7936-
7937-
7938- # Check whether --enable-shared was given.
7939-if test "${enable_shared+set}" = set; then :
7940- enableval=$enable_shared; p=${PACKAGE-default}
7941- case $enableval in
7942- yes) enable_shared=yes ;;
7943- no) enable_shared=no ;;
7944- *)
7945- enable_shared=no
7946- # Look at the argument we got. We use all the common list separators.
7947- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7948- for pkg in $enableval; do
7949- IFS="$lt_save_ifs"
7950- if test "X$pkg" = "X$p"; then
7951- enable_shared=yes
7952- fi
7953- done
7954- IFS="$lt_save_ifs"
7955- ;;
7956- esac
7957-else
7958- enable_shared=yes
7959-fi
7960-
7961-
7962-
7963-
7964-
7965-
7966-
7967-
7968-
7969- # Check whether --enable-static was given.
7970-if test "${enable_static+set}" = set; then :
7971- enableval=$enable_static; p=${PACKAGE-default}
7972- case $enableval in
7973- yes) enable_static=yes ;;
7974- no) enable_static=no ;;
7975- *)
7976- enable_static=no
7977- # Look at the argument we got. We use all the common list separators.
7978- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7979- for pkg in $enableval; do
7980- IFS="$lt_save_ifs"
7981- if test "X$pkg" = "X$p"; then
7982- enable_static=yes
7983- fi
7984- done
7985- IFS="$lt_save_ifs"
7986- ;;
7987- esac
7988-else
7989- enable_static=yes
7990-fi
7991-
7992-
7993-
7994-
7995-
7996-
7997-
7998-
7999-
8000-
8001-# Check whether --with-pic was given.
8002-if test "${with_pic+set}" = set; then :
8003- withval=$with_pic; pic_mode="$withval"
8004-else
8005- pic_mode=default
8006-fi
8007-
8008-
8009-test -z "$pic_mode" && pic_mode=default
8010-
8011-
8012-
8013-
8014-
8015-
8016-
8017- # Check whether --enable-fast-install was given.
8018-if test "${enable_fast_install+set}" = set; then :
8019- enableval=$enable_fast_install; p=${PACKAGE-default}
8020- case $enableval in
8021- yes) enable_fast_install=yes ;;
8022- no) enable_fast_install=no ;;
8023- *)
8024- enable_fast_install=no
8025- # Look at the argument we got. We use all the common list separators.
8026- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8027- for pkg in $enableval; do
8028- IFS="$lt_save_ifs"
8029- if test "X$pkg" = "X$p"; then
8030- enable_fast_install=yes
8031- fi
8032- done
8033- IFS="$lt_save_ifs"
8034- ;;
8035- esac
8036-else
8037- enable_fast_install=yes
8038-fi
8039-
8040-
8041-
8042-
8043-
8044-
8045-
8046-
8047-
8048-
8049-
8050-# This can be used to rebuild libtool when needed
8051-LIBTOOL_DEPS="$ltmain"
8052-
8053-# Always use our own libtool.
8054-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8055-
8056-
8057-
8058-
8059-
8060-
8061-
8062-
8063-
8064-
8065-
8066-
8067-
8068-
8069-
8070-
8071-
8072-
8073-
8074-
8075-
8076-
8077-
8078-
8079-
8080-
8081-test -z "$LN_S" && LN_S="ln -s"
8082-
8083-
8084-
8085-
8086-
8087-
8088-
8089-
8090-
8091-
8092-
8093-
8094-
8095-
8096-if test -n "${ZSH_VERSION+set}" ; then
8097- setopt NO_GLOB_SUBST
8098-fi
8099-
8100-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8101-$as_echo_n "checking for objdir... " >&6; }
8102-if test "${lt_cv_objdir+set}" = set; then :
8103- $as_echo_n "(cached) " >&6
8104-else
8105- rm -f .libs 2>/dev/null
8106-mkdir .libs 2>/dev/null
8107-if test -d .libs; then
8108- lt_cv_objdir=.libs
8109-else
8110- # MS-DOS does not allow filenames that begin with a dot.
8111- lt_cv_objdir=_libs
8112-fi
8113-rmdir .libs 2>/dev/null
8114-fi
8115-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8116-$as_echo "$lt_cv_objdir" >&6; }
8117-objdir=$lt_cv_objdir
8118-
8119-
8120-
8121-
8122-
8123-cat >>confdefs.h <<_ACEOF
8124-#define LT_OBJDIR "$lt_cv_objdir/"
8125-_ACEOF
8126-
8127-
8128-
8129-
8130-case $host_os in
8131-aix3*)
8132- # AIX sometimes has problems with the GCC collect2 program. For some
8133- # reason, if we set the COLLECT_NAMES environment variable, the problems
8134- # vanish in a puff of smoke.
8135- if test "X${COLLECT_NAMES+set}" != Xset; then
8136- COLLECT_NAMES=
8137- export COLLECT_NAMES
8138- fi
8139- ;;
8140-esac
8141-
8142-# Global variables:
8143-ofile=libtool
8144-can_build_shared=yes
8145-
8146-# All known linkers require a `.a' archive for static linking (except MSVC,
8147-# which needs '.lib').
8148-libext=a
8149-
8150-with_gnu_ld="$lt_cv_prog_gnu_ld"
8151-
8152-old_CC="$CC"
8153-old_CFLAGS="$CFLAGS"
8154-
8155-# Set sane defaults for various variables
8156-test -z "$CC" && CC=cc
8157-test -z "$LTCC" && LTCC=$CC
8158-test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8159-test -z "$LD" && LD=ld
8160-test -z "$ac_objext" && ac_objext=o
8161-
8162-for cc_temp in $compiler""; do
8163- case $cc_temp in
8164- compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8165- distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8166- \-*) ;;
8167- *) break;;
8168- esac
8169-done
8170-cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8171-
8172-
8173-# Only perform the check for file, if the check method requires it
8174-test -z "$MAGIC_CMD" && MAGIC_CMD=file
8175-case $deplibs_check_method in
8176-file_magic*)
8177- if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8178- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8179-$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8180-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8181- $as_echo_n "(cached) " >&6
8182-else
8183- case $MAGIC_CMD in
8184-[\\/*] | ?:[\\/]*)
8185- lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8186- ;;
8187-*)
8188- lt_save_MAGIC_CMD="$MAGIC_CMD"
8189- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8190- ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8191- for ac_dir in $ac_dummy; do
8192- IFS="$lt_save_ifs"
8193- test -z "$ac_dir" && ac_dir=.
8194- if test -f $ac_dir/${ac_tool_prefix}file; then
8195- lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8196- if test -n "$file_magic_test_file"; then
8197- case $deplibs_check_method in
8198- "file_magic "*)
8199- file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8200- MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8201- if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8202- $EGREP "$file_magic_regex" > /dev/null; then
8203- :
8204- else
8205- cat <<_LT_EOF 1>&2
8206-
8207-*** Warning: the command libtool uses to detect shared libraries,
8208-*** $file_magic_cmd, produces output that libtool cannot recognize.
8209-*** The result is that libtool may fail to recognize shared libraries
8210-*** as such. This will affect the creation of libtool libraries that
8211-*** depend on shared libraries, but programs linked with such libtool
8212-*** libraries will work regardless of this problem. Nevertheless, you
8213-*** may want to report the problem to your system manager and/or to
8214-*** bug-libtool@gnu.org
8215-
8216-_LT_EOF
8217- fi ;;
8218- esac
8219- fi
8220- break
8221- fi
8222- done
8223- IFS="$lt_save_ifs"
8224- MAGIC_CMD="$lt_save_MAGIC_CMD"
8225- ;;
8226-esac
8227-fi
8228-
8229-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8230-if test -n "$MAGIC_CMD"; then
8231- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8232-$as_echo "$MAGIC_CMD" >&6; }
8233-else
8234- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8235-$as_echo "no" >&6; }
8236-fi
8237-
8238-
8239-
8240-
8241-
8242-if test -z "$lt_cv_path_MAGIC_CMD"; then
8243- if test -n "$ac_tool_prefix"; then
8244- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8245-$as_echo_n "checking for file... " >&6; }
8246-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8247- $as_echo_n "(cached) " >&6
8248-else
8249- case $MAGIC_CMD in
8250-[\\/*] | ?:[\\/]*)
8251- lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8252- ;;
8253-*)
8254- lt_save_MAGIC_CMD="$MAGIC_CMD"
8255- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8256- ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8257- for ac_dir in $ac_dummy; do
8258- IFS="$lt_save_ifs"
8259- test -z "$ac_dir" && ac_dir=.
8260- if test -f $ac_dir/file; then
8261- lt_cv_path_MAGIC_CMD="$ac_dir/file"
8262- if test -n "$file_magic_test_file"; then
8263- case $deplibs_check_method in
8264- "file_magic "*)
8265- file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8266- MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8267- if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8268- $EGREP "$file_magic_regex" > /dev/null; then
8269- :
8270- else
8271- cat <<_LT_EOF 1>&2
8272-
8273-*** Warning: the command libtool uses to detect shared libraries,
8274-*** $file_magic_cmd, produces output that libtool cannot recognize.
8275-*** The result is that libtool may fail to recognize shared libraries
8276-*** as such. This will affect the creation of libtool libraries that
8277-*** depend on shared libraries, but programs linked with such libtool
8278-*** libraries will work regardless of this problem. Nevertheless, you
8279-*** may want to report the problem to your system manager and/or to
8280-*** bug-libtool@gnu.org
8281-
8282-_LT_EOF
8283- fi ;;
8284- esac
8285- fi
8286- break
8287- fi
8288- done
8289- IFS="$lt_save_ifs"
8290- MAGIC_CMD="$lt_save_MAGIC_CMD"
8291- ;;
8292-esac
8293-fi
8294-
8295-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8296-if test -n "$MAGIC_CMD"; then
8297- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8298-$as_echo "$MAGIC_CMD" >&6; }
8299-else
8300- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8301-$as_echo "no" >&6; }
8302-fi
8303-
8304-
8305- else
8306- MAGIC_CMD=:
8307- fi
8308-fi
8309-
8310- fi
8311- ;;
8312-esac
8313-
8314-# Use C for the default configuration in the libtool script
8315-
8316-lt_save_CC="$CC"
8317-ac_ext=c
8318-ac_cpp='$CPP $CPPFLAGS'
8319-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8320-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8321-ac_compiler_gnu=$ac_cv_c_compiler_gnu
8322-
8323-
8324-# Source file extension for C test sources.
8325-ac_ext=c
8326-
8327-# Object file extension for compiled C test sources.
8328-objext=o
8329-objext=$objext
8330-
8331-# Code to be used in simple compile tests
8332-lt_simple_compile_test_code="int some_variable = 0;"
8333-
8334-# Code to be used in simple link tests
8335-lt_simple_link_test_code='int main(){return(0);}'
8336-
8337-
8338-
8339-
8340-
8341-
8342-
8343-# If no C compiler was specified, use CC.
8344-LTCC=${LTCC-"$CC"}
8345-
8346-# If no C compiler flags were specified, use CFLAGS.
8347-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8348-
8349-# Allow CC to be a program name with arguments.
8350-compiler=$CC
8351-
8352-# Save the default compiler, since it gets overwritten when the other
8353-# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8354-compiler_DEFAULT=$CC
8355-
8356-# save warnings/boilerplate of simple test code
8357-ac_outfile=conftest.$ac_objext
8358-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8359-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8360-_lt_compiler_boilerplate=`cat conftest.err`
8361-$RM conftest*
8362-
8363-ac_outfile=conftest.$ac_objext
8364-echo "$lt_simple_link_test_code" >conftest.$ac_ext
8365-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8366-_lt_linker_boilerplate=`cat conftest.err`
8367-$RM -r conftest*
8368-
8369-
8370-## CAVEAT EMPTOR:
8371-## There is no encapsulation within the following macros, do not change
8372-## the running order or otherwise move them around unless you know exactly
8373-## what you are doing...
8374-if test -n "$compiler"; then
8375-
8376-lt_prog_compiler_no_builtin_flag=
8377-
8378-if test "$GCC" = yes; then
8379- case $cc_basename in
8380- nvcc*)
8381- lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8382- *)
8383- lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8384- esac
8385-
8386- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8387-$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8388-if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8389- $as_echo_n "(cached) " >&6
8390-else
8391- lt_cv_prog_compiler_rtti_exceptions=no
8392- ac_outfile=conftest.$ac_objext
8393- echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8394- lt_compiler_flag="-fno-rtti -fno-exceptions"
8395- # Insert the option either (1) after the last *FLAGS variable, or
8396- # (2) before a word containing "conftest.", or (3) at the end.
8397- # Note that $ac_compile itself does not contain backslashes and begins
8398- # with a dollar sign (not a hyphen), so the echo should work correctly.
8399- # The option is referenced via a variable to avoid confusing sed.
8400- lt_compile=`echo "$ac_compile" | $SED \
8401- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8402- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8403- -e 's:$: $lt_compiler_flag:'`
8404- (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8405- (eval "$lt_compile" 2>conftest.err)
8406- ac_status=$?
8407- cat conftest.err >&5
8408- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8409- if (exit $ac_status) && test -s "$ac_outfile"; then
8410- # The compiler can only warn and ignore the option if not recognized
8411- # So say no if there are warnings other than the usual output.
8412- $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8413- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8414- if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8415- lt_cv_prog_compiler_rtti_exceptions=yes
8416- fi
8417- fi
8418- $RM conftest*
8419-
8420-fi
8421-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8422-$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8423-
8424-if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8425- lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8426-else
8427- :
8428-fi
8429-
8430-fi
8431-
8432-
8433-
8434-
8435-
8436-
8437- lt_prog_compiler_wl=
8438-lt_prog_compiler_pic=
8439-lt_prog_compiler_static=
8440-
8441-
8442- if test "$GCC" = yes; then
8443- lt_prog_compiler_wl='-Wl,'
8444- lt_prog_compiler_static='-static'
8445-
8446- case $host_os in
8447- aix*)
8448- # All AIX code is PIC.
8449- if test "$host_cpu" = ia64; then
8450- # AIX 5 now supports IA64 processor
8451- lt_prog_compiler_static='-Bstatic'
8452- fi
8453- ;;
8454-
8455- amigaos*)
8456- case $host_cpu in
8457- powerpc)
8458- # see comment about AmigaOS4 .so support
8459- lt_prog_compiler_pic='-fPIC'
8460- ;;
8461- m68k)
8462- # FIXME: we need at least 68020 code to build shared libraries, but
8463- # adding the `-m68020' flag to GCC prevents building anything better,
8464- # like `-m68040'.
8465- lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8466- ;;
8467- esac
8468- ;;
8469-
8470- beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8471- # PIC is the default for these OSes.
8472- ;;
8473-
8474- mingw* | cygwin* | pw32* | os2* | cegcc*)
8475- # This hack is so that the source file can tell whether it is being
8476- # built for inclusion in a dll (and should export symbols for example).
8477- # Although the cygwin gcc ignores -fPIC, still need this for old-style
8478- # (--disable-auto-import) libraries
8479- lt_prog_compiler_pic='-DDLL_EXPORT'
8480- ;;
8481-
8482- darwin* | rhapsody*)
8483- # PIC is the default on this platform
8484- # Common symbols not allowed in MH_DYLIB files
8485- lt_prog_compiler_pic='-fno-common'
8486- ;;
8487-
8488- haiku*)
8489- # PIC is the default for Haiku.
8490- # The "-static" flag exists, but is broken.
8491- lt_prog_compiler_static=
8492- ;;
8493-
8494- hpux*)
8495- # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8496- # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8497- # sets the default TLS model and affects inlining.
8498- case $host_cpu in
8499- hppa*64*)
8500- # +Z the default
8501- ;;
8502- *)
8503- lt_prog_compiler_pic='-fPIC'
8504- ;;
8505- esac
8506- ;;
8507-
8508- interix[3-9]*)
8509- # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8510- # Instead, we relocate shared libraries at runtime.
8511- ;;
8512-
8513- msdosdjgpp*)
8514- # Just because we use GCC doesn't mean we suddenly get shared libraries
8515- # on systems that don't support them.
8516- lt_prog_compiler_can_build_shared=no
8517- enable_shared=no
8518- ;;
8519-
8520- *nto* | *qnx*)
8521- # QNX uses GNU C++, but need to define -shared option too, otherwise
8522- # it will coredump.
8523- lt_prog_compiler_pic='-fPIC -shared'
8524- ;;
8525-
8526- sysv4*MP*)
8527- if test -d /usr/nec; then
8528- lt_prog_compiler_pic=-Kconform_pic
8529- fi
8530- ;;
8531-
8532- *)
8533- lt_prog_compiler_pic='-fPIC'
8534- ;;
8535- esac
8536-
8537- case $cc_basename in
8538- nvcc*) # Cuda Compiler Driver 2.2
8539- lt_prog_compiler_wl='-Xlinker '
8540- lt_prog_compiler_pic='-Xcompiler -fPIC'
8541- ;;
8542- esac
8543- else
8544- # PORTME Check for flag to pass linker flags through the system compiler.
8545- case $host_os in
8546- aix*)
8547- lt_prog_compiler_wl='-Wl,'
8548- if test "$host_cpu" = ia64; then
8549- # AIX 5 now supports IA64 processor
8550- lt_prog_compiler_static='-Bstatic'
8551- else
8552- lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8553- fi
8554- ;;
8555-
8556- mingw* | cygwin* | pw32* | os2* | cegcc*)
8557- # This hack is so that the source file can tell whether it is being
8558- # built for inclusion in a dll (and should export symbols for example).
8559- lt_prog_compiler_pic='-DDLL_EXPORT'
8560- ;;
8561-
8562- hpux9* | hpux10* | hpux11*)
8563- lt_prog_compiler_wl='-Wl,'
8564- # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8565- # not for PA HP-UX.
8566- case $host_cpu in
8567- hppa*64*|ia64*)
8568- # +Z the default
8569- ;;
8570- *)
8571- lt_prog_compiler_pic='+Z'
8572- ;;
8573- esac
8574- # Is there a better lt_prog_compiler_static that works with the bundled CC?
8575- lt_prog_compiler_static='${wl}-a ${wl}archive'
8576- ;;
8577-
8578- irix5* | irix6* | nonstopux*)
8579- lt_prog_compiler_wl='-Wl,'
8580- # PIC (with -KPIC) is the default.
8581- lt_prog_compiler_static='-non_shared'
8582- ;;
8583-
8584- linux* | k*bsd*-gnu | kopensolaris*-gnu)
8585- case $cc_basename in
8586- # old Intel for x86_64 which still supported -KPIC.
8587- ecc*)
8588- lt_prog_compiler_wl='-Wl,'
8589- lt_prog_compiler_pic='-KPIC'
8590- lt_prog_compiler_static='-static'
8591- ;;
8592- # icc used to be incompatible with GCC.
8593- # ICC 10 doesn't accept -KPIC any more.
8594- icc* | ifort*)
8595- lt_prog_compiler_wl='-Wl,'
8596- lt_prog_compiler_pic='-fPIC'
8597- lt_prog_compiler_static='-static'
8598- ;;
8599- # Lahey Fortran 8.1.
8600- lf95*)
8601- lt_prog_compiler_wl='-Wl,'
8602- lt_prog_compiler_pic='--shared'
8603- lt_prog_compiler_static='--static'
8604- ;;
8605- nagfor*)
8606- # NAG Fortran compiler
8607- lt_prog_compiler_wl='-Wl,-Wl,,'
8608- lt_prog_compiler_pic='-PIC'
8609- lt_prog_compiler_static='-Bstatic'
8610- ;;
8611- pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8612- # Portland Group compilers (*not* the Pentium gcc compiler,
8613- # which looks to be a dead project)
8614- lt_prog_compiler_wl='-Wl,'
8615- lt_prog_compiler_pic='-fpic'
8616- lt_prog_compiler_static='-Bstatic'
8617- ;;
8618- ccc*)
8619- lt_prog_compiler_wl='-Wl,'
8620- # All Alpha code is PIC.
8621- lt_prog_compiler_static='-non_shared'
8622- ;;
8623- xl* | bgxl* | bgf* | mpixl*)
8624- # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8625- lt_prog_compiler_wl='-Wl,'
8626- lt_prog_compiler_pic='-qpic'
8627- lt_prog_compiler_static='-qstaticlink'
8628- ;;
8629- *)
8630- case `$CC -V 2>&1 | sed 5q` in
8631- *Sun\ F* | *Sun*Fortran*)
8632- # Sun Fortran 8.3 passes all unrecognized flags to the linker
8633- lt_prog_compiler_pic='-KPIC'
8634- lt_prog_compiler_static='-Bstatic'
8635- lt_prog_compiler_wl=''
8636- ;;
8637- *Sun\ C*)
8638- # Sun C 5.9
8639- lt_prog_compiler_pic='-KPIC'
8640- lt_prog_compiler_static='-Bstatic'
8641- lt_prog_compiler_wl='-Wl,'
8642- ;;
8643- esac
8644- ;;
8645- esac
8646- ;;
8647-
8648- newsos6)
8649- lt_prog_compiler_pic='-KPIC'
8650- lt_prog_compiler_static='-Bstatic'
8651- ;;
8652-
8653- *nto* | *qnx*)
8654- # QNX uses GNU C++, but need to define -shared option too, otherwise
8655- # it will coredump.
8656- lt_prog_compiler_pic='-fPIC -shared'
8657- ;;
8658-
8659- osf3* | osf4* | osf5*)
8660- lt_prog_compiler_wl='-Wl,'
8661- # All OSF/1 code is PIC.
8662- lt_prog_compiler_static='-non_shared'
8663- ;;
8664-
8665- rdos*)
8666- lt_prog_compiler_static='-non_shared'
8667- ;;
8668-
8669- solaris*)
8670- lt_prog_compiler_pic='-KPIC'
8671- lt_prog_compiler_static='-Bstatic'
8672- case $cc_basename in
8673- f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8674- lt_prog_compiler_wl='-Qoption ld ';;
8675- *)
8676- lt_prog_compiler_wl='-Wl,';;
8677- esac
8678- ;;
8679-
8680- sunos4*)
8681- lt_prog_compiler_wl='-Qoption ld '
8682- lt_prog_compiler_pic='-PIC'
8683- lt_prog_compiler_static='-Bstatic'
8684- ;;
8685-
8686- sysv4 | sysv4.2uw2* | sysv4.3*)
8687- lt_prog_compiler_wl='-Wl,'
8688- lt_prog_compiler_pic='-KPIC'
8689- lt_prog_compiler_static='-Bstatic'
8690- ;;
8691-
8692- sysv4*MP*)
8693- if test -d /usr/nec ;then
8694- lt_prog_compiler_pic='-Kconform_pic'
8695- lt_prog_compiler_static='-Bstatic'
8696- fi
8697- ;;
8698-
8699- sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8700- lt_prog_compiler_wl='-Wl,'
8701- lt_prog_compiler_pic='-KPIC'
8702- lt_prog_compiler_static='-Bstatic'
8703- ;;
8704-
8705- unicos*)
8706- lt_prog_compiler_wl='-Wl,'
8707- lt_prog_compiler_can_build_shared=no
8708- ;;
8709-
8710- uts4*)
8711- lt_prog_compiler_pic='-pic'
8712- lt_prog_compiler_static='-Bstatic'
8713- ;;
8714-
8715- *)
8716- lt_prog_compiler_can_build_shared=no
8717- ;;
8718- esac
8719- fi
8720-
8721-case $host_os in
8722- # For platforms which do not support PIC, -DPIC is meaningless:
8723- *djgpp*)
8724- lt_prog_compiler_pic=
8725- ;;
8726- *)
8727- lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8728- ;;
8729-esac
8730-
8731-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8732-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8733-if test "${lt_cv_prog_compiler_pic+set}" = set; then :
8734- $as_echo_n "(cached) " >&6
8735-else
8736- lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8737-fi
8738-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8739-$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8740-lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8741-
8742-#
8743-# Check to make sure the PIC flag actually works.
8744-#
8745-if test -n "$lt_prog_compiler_pic"; then
8746- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8747-$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8748-if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8749- $as_echo_n "(cached) " >&6
8750-else
8751- lt_cv_prog_compiler_pic_works=no
8752- ac_outfile=conftest.$ac_objext
8753- echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8754- lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8755- # Insert the option either (1) after the last *FLAGS variable, or
8756- # (2) before a word containing "conftest.", or (3) at the end.
8757- # Note that $ac_compile itself does not contain backslashes and begins
8758- # with a dollar sign (not a hyphen), so the echo should work correctly.
8759- # The option is referenced via a variable to avoid confusing sed.
8760- lt_compile=`echo "$ac_compile" | $SED \
8761- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8762- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8763- -e 's:$: $lt_compiler_flag:'`
8764- (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8765- (eval "$lt_compile" 2>conftest.err)
8766- ac_status=$?
8767- cat conftest.err >&5
8768- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8769- if (exit $ac_status) && test -s "$ac_outfile"; then
8770- # The compiler can only warn and ignore the option if not recognized
8771- # So say no if there are warnings other than the usual output.
8772- $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8773- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8774- if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8775- lt_cv_prog_compiler_pic_works=yes
8776- fi
8777- fi
8778- $RM conftest*
8779-
8780-fi
8781-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8782-$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8783-
8784-if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8785- case $lt_prog_compiler_pic in
8786- "" | " "*) ;;
8787- *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8788- esac
8789-else
8790- lt_prog_compiler_pic=
8791- lt_prog_compiler_can_build_shared=no
8792-fi
8793-
8794-fi
8795-
8796-
8797-
8798-
8799-
8800-
8801-
8802-
8803-
8804-
8805-
8806-#
8807-# Check to make sure the static flag actually works.
8808-#
8809-wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8810-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8811-$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8812-if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8813- $as_echo_n "(cached) " >&6
8814-else
8815- lt_cv_prog_compiler_static_works=no
8816- save_LDFLAGS="$LDFLAGS"
8817- LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8818- echo "$lt_simple_link_test_code" > conftest.$ac_ext
8819- if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8820- # The linker can only warn and ignore the option if not recognized
8821- # So say no if there are warnings
8822- if test -s conftest.err; then
8823- # Append any errors to the config.log.
8824- cat conftest.err 1>&5
8825- $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8826- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8827- if diff conftest.exp conftest.er2 >/dev/null; then
8828- lt_cv_prog_compiler_static_works=yes
8829- fi
8830- else
8831- lt_cv_prog_compiler_static_works=yes
8832- fi
8833- fi
8834- $RM -r conftest*
8835- LDFLAGS="$save_LDFLAGS"
8836-
8837-fi
8838-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8839-$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8840-
8841-if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8842- :
8843-else
8844- lt_prog_compiler_static=
8845-fi
8846-
8847-
8848-
8849-
8850-
8851-
8852-
8853- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8854-$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8855-if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8856- $as_echo_n "(cached) " >&6
8857-else
8858- lt_cv_prog_compiler_c_o=no
8859- $RM -r conftest 2>/dev/null
8860- mkdir conftest
8861- cd conftest
8862- mkdir out
8863- echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8864-
8865- lt_compiler_flag="-o out/conftest2.$ac_objext"
8866- # Insert the option either (1) after the last *FLAGS variable, or
8867- # (2) before a word containing "conftest.", or (3) at the end.
8868- # Note that $ac_compile itself does not contain backslashes and begins
8869- # with a dollar sign (not a hyphen), so the echo should work correctly.
8870- lt_compile=`echo "$ac_compile" | $SED \
8871- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8872- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8873- -e 's:$: $lt_compiler_flag:'`
8874- (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8875- (eval "$lt_compile" 2>out/conftest.err)
8876- ac_status=$?
8877- cat out/conftest.err >&5
8878- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8879- if (exit $ac_status) && test -s out/conftest2.$ac_objext
8880- then
8881- # The compiler can only warn and ignore the option if not recognized
8882- # So say no if there are warnings
8883- $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8884- $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8885- if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8886- lt_cv_prog_compiler_c_o=yes
8887- fi
8888- fi
8889- chmod u+w . 2>&5
8890- $RM conftest*
8891- # SGI C++ compiler will create directory out/ii_files/ for
8892- # template instantiation
8893- test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8894- $RM out/* && rmdir out
8895- cd ..
8896- $RM -r conftest
8897- $RM conftest*
8898-
8899-fi
8900-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8901-$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8902-
8903-
8904-
8905-
8906-
8907-
8908- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8909-$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8910-if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8911- $as_echo_n "(cached) " >&6
8912-else
8913- lt_cv_prog_compiler_c_o=no
8914- $RM -r conftest 2>/dev/null
8915- mkdir conftest
8916- cd conftest
8917- mkdir out
8918- echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8919-
8920- lt_compiler_flag="-o out/conftest2.$ac_objext"
8921- # Insert the option either (1) after the last *FLAGS variable, or
8922- # (2) before a word containing "conftest.", or (3) at the end.
8923- # Note that $ac_compile itself does not contain backslashes and begins
8924- # with a dollar sign (not a hyphen), so the echo should work correctly.
8925- lt_compile=`echo "$ac_compile" | $SED \
8926- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8927- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8928- -e 's:$: $lt_compiler_flag:'`
8929- (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8930- (eval "$lt_compile" 2>out/conftest.err)
8931- ac_status=$?
8932- cat out/conftest.err >&5
8933- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8934- if (exit $ac_status) && test -s out/conftest2.$ac_objext
8935- then
8936- # The compiler can only warn and ignore the option if not recognized
8937- # So say no if there are warnings
8938- $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8939- $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8940- if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8941- lt_cv_prog_compiler_c_o=yes
8942- fi
8943- fi
8944- chmod u+w . 2>&5
8945- $RM conftest*
8946- # SGI C++ compiler will create directory out/ii_files/ for
8947- # template instantiation
8948- test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8949- $RM out/* && rmdir out
8950- cd ..
8951- $RM -r conftest
8952- $RM conftest*
8953-
8954-fi
8955-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8956-$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8957-
8958-
8959-
8960-
8961-hard_links="nottested"
8962-if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8963- # do not overwrite the value of need_locks provided by the user
8964- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8965-$as_echo_n "checking if we can lock with hard links... " >&6; }
8966- hard_links=yes
8967- $RM conftest*
8968- ln conftest.a conftest.b 2>/dev/null && hard_links=no
8969- touch conftest.a
8970- ln conftest.a conftest.b 2>&5 || hard_links=no
8971- ln conftest.a conftest.b 2>/dev/null && hard_links=no
8972- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8973-$as_echo "$hard_links" >&6; }
8974- if test "$hard_links" = no; then
8975- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8976-$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8977- need_locks=warn
8978- fi
8979-else
8980- need_locks=no
8981-fi
8982-
8983-
8984-
8985-
8986-
8987-
8988- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8989-$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8990-
8991- runpath_var=
8992- allow_undefined_flag=
8993- always_export_symbols=no
8994- archive_cmds=
8995- archive_expsym_cmds=
8996- compiler_needs_object=no
8997- enable_shared_with_static_runtimes=no
8998- export_dynamic_flag_spec=
8999- export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9000- hardcode_automatic=no
9001- hardcode_direct=no
9002- hardcode_direct_absolute=no
9003- hardcode_libdir_flag_spec=
9004- hardcode_libdir_flag_spec_ld=
9005- hardcode_libdir_separator=
9006- hardcode_minus_L=no
9007- hardcode_shlibpath_var=unsupported
9008- inherit_rpath=no
9009- link_all_deplibs=unknown
9010- module_cmds=
9011- module_expsym_cmds=
9012- old_archive_from_new_cmds=
9013- old_archive_from_expsyms_cmds=
9014- thread_safe_flag_spec=
9015- whole_archive_flag_spec=
9016- # include_expsyms should be a list of space-separated symbols to be *always*
9017- # included in the symbol list
9018- include_expsyms=
9019- # exclude_expsyms can be an extended regexp of symbols to exclude
9020- # it will be wrapped by ` (' and `)$', so one must not match beginning or
9021- # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9022- # as well as any symbol that contains `d'.
9023- exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9024- # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9025- # platforms (ab)use it in PIC code, but their linkers get confused if
9026- # the symbol is explicitly referenced. Since portable code cannot
9027- # rely on this symbol name, it's probably fine to never include it in
9028- # preloaded symbol tables.
9029- # Exclude shared library initialization/finalization symbols.
9030- extract_expsyms_cmds=
9031-
9032- case $host_os in
9033- cygwin* | mingw* | pw32* | cegcc*)
9034- # FIXME: the MSVC++ port hasn't been tested in a loooong time
9035- # When not using gcc, we currently assume that we are using
9036- # Microsoft Visual C++.
9037- if test "$GCC" != yes; then
9038- with_gnu_ld=no
9039- fi
9040- ;;
9041- interix*)
9042- # we just hope/assume this is gcc and not c89 (= MSVC++)
9043- with_gnu_ld=yes
9044- ;;
9045- openbsd*)
9046- with_gnu_ld=no
9047- ;;
9048- esac
9049-
9050- ld_shlibs=yes
9051-
9052- # On some targets, GNU ld is compatible enough with the native linker
9053- # that we're better off using the native interface for both.
9054- lt_use_gnu_ld_interface=no
9055- if test "$with_gnu_ld" = yes; then
9056- case $host_os in
9057- aix*)
9058- # The AIX port of GNU ld has always aspired to compatibility
9059- # with the native linker. However, as the warning in the GNU ld
9060- # block says, versions before 2.19.5* couldn't really create working
9061- # shared libraries, regardless of the interface used.
9062- case `$LD -v 2>&1` in
9063- *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9064- *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9065- *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9066- *)
9067- lt_use_gnu_ld_interface=yes
9068- ;;
9069- esac
9070- ;;
9071- *)
9072- lt_use_gnu_ld_interface=yes
9073- ;;
9074- esac
9075- fi
9076-
9077- if test "$lt_use_gnu_ld_interface" = yes; then
9078- # If archive_cmds runs LD, not CC, wlarc should be empty
9079- wlarc='${wl}'
9080-
9081- # Set some defaults for GNU ld with shared library support. These
9082- # are reset later if shared libraries are not supported. Putting them
9083- # here allows them to be overridden if necessary.
9084- runpath_var=LD_RUN_PATH
9085- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9086- export_dynamic_flag_spec='${wl}--export-dynamic'
9087- # ancient GNU ld didn't support --whole-archive et. al.
9088- if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9089- whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9090- else
9091- whole_archive_flag_spec=
9092- fi
9093- supports_anon_versioning=no
9094- case `$LD -v 2>&1` in
9095- *GNU\ gold*) supports_anon_versioning=yes ;;
9096- *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9097- *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9098- *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9099- *\ 2.11.*) ;; # other 2.11 versions
9100- *) supports_anon_versioning=yes ;;
9101- esac
9102-
9103- # See if GNU ld supports shared libraries.
9104- case $host_os in
9105- aix[3-9]*)
9106- # On AIX/PPC, the GNU linker is very broken
9107- if test "$host_cpu" != ia64; then
9108- ld_shlibs=no
9109- cat <<_LT_EOF 1>&2
9110-
9111-*** Warning: the GNU linker, at least up to release 2.19, is reported
9112-*** to be unable to reliably create shared libraries on AIX.
9113-*** Therefore, libtool is disabling shared libraries support. If you
9114-*** really care for shared libraries, you may want to install binutils
9115-*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9116-*** You will then need to restart the configuration process.
9117-
9118-_LT_EOF
9119- fi
9120- ;;
9121-
9122- amigaos*)
9123- case $host_cpu in
9124- powerpc)
9125- # see comment about AmigaOS4 .so support
9126- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9127- archive_expsym_cmds=''
9128- ;;
9129- m68k)
9130- archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9131- hardcode_libdir_flag_spec='-L$libdir'
9132- hardcode_minus_L=yes
9133- ;;
9134- esac
9135- ;;
9136-
9137- beos*)
9138- if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9139- allow_undefined_flag=unsupported
9140- # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9141- # support --undefined. This deserves some investigation. FIXME
9142- archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9143- else
9144- ld_shlibs=no
9145- fi
9146- ;;
9147-
9148- cygwin* | mingw* | pw32* | cegcc*)
9149- # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9150- # as there is no search path for DLLs.
9151- hardcode_libdir_flag_spec='-L$libdir'
9152- export_dynamic_flag_spec='${wl}--export-all-symbols'
9153- allow_undefined_flag=unsupported
9154- always_export_symbols=no
9155- enable_shared_with_static_runtimes=yes
9156- export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9157- exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9158-
9159- if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9160- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9161- # If the export-symbols file already is a .def file (1st line
9162- # is EXPORTS), use it as is; otherwise, prepend...
9163- archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9164- cp $export_symbols $output_objdir/$soname.def;
9165- else
9166- echo EXPORTS > $output_objdir/$soname.def;
9167- cat $export_symbols >> $output_objdir/$soname.def;
9168- fi~
9169- $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9170- else
9171- ld_shlibs=no
9172- fi
9173- ;;
9174-
9175- haiku*)
9176- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9177- link_all_deplibs=yes
9178- ;;
9179-
9180- interix[3-9]*)
9181- hardcode_direct=no
9182- hardcode_shlibpath_var=no
9183- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9184- export_dynamic_flag_spec='${wl}-E'
9185- # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9186- # Instead, shared libraries are loaded at an image base (0x10000000 by
9187- # default) and relocated if they conflict, which is a slow very memory
9188- # consuming and fragmenting process. To avoid this, we pick a random,
9189- # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9190- # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9191- archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9192- archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9193- ;;
9194-
9195- gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9196- tmp_diet=no
9197- if test "$host_os" = linux-dietlibc; then
9198- case $cc_basename in
9199- diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9200- esac
9201- fi
9202- if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9203- && test "$tmp_diet" = no
9204- then
9205- tmp_addflag=' $pic_flag'
9206- tmp_sharedflag='-shared'
9207- case $cc_basename,$host_cpu in
9208- pgcc*) # Portland Group C compiler
9209- whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9210- tmp_addflag=' $pic_flag'
9211- ;;
9212- pgf77* | pgf90* | pgf95* | pgfortran*)
9213- # Portland Group f77 and f90 compilers
9214- whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9215- tmp_addflag=' $pic_flag -Mnomain' ;;
9216- ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9217- tmp_addflag=' -i_dynamic' ;;
9218- efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9219- tmp_addflag=' -i_dynamic -nofor_main' ;;
9220- ifc* | ifort*) # Intel Fortran compiler
9221- tmp_addflag=' -nofor_main' ;;
9222- lf95*) # Lahey Fortran 8.1
9223- whole_archive_flag_spec=
9224- tmp_sharedflag='--shared' ;;
9225- xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9226- tmp_sharedflag='-qmkshrobj'
9227- tmp_addflag= ;;
9228- nvcc*) # Cuda Compiler Driver 2.2
9229- whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9230- compiler_needs_object=yes
9231- ;;
9232- esac
9233- case `$CC -V 2>&1 | sed 5q` in
9234- *Sun\ C*) # Sun C 5.9
9235- whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9236- compiler_needs_object=yes
9237- tmp_sharedflag='-G' ;;
9238- *Sun\ F*) # Sun Fortran 8.3
9239- tmp_sharedflag='-G' ;;
9240- esac
9241- archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9242-
9243- if test "x$supports_anon_versioning" = xyes; then
9244- archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9245- cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9246- echo "local: *; };" >> $output_objdir/$libname.ver~
9247- $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9248- fi
9249-
9250- case $cc_basename in
9251- xlf* | bgf* | bgxlf* | mpixlf*)
9252- # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9253- whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9254- hardcode_libdir_flag_spec=
9255- hardcode_libdir_flag_spec_ld='-rpath $libdir'
9256- archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9257- if test "x$supports_anon_versioning" = xyes; then
9258- archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9259- cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9260- echo "local: *; };" >> $output_objdir/$libname.ver~
9261- $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9262- fi
9263- ;;
9264- esac
9265- else
9266- ld_shlibs=no
9267- fi
9268- ;;
9269-
9270- netbsd*)
9271- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9272- archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9273- wlarc=
9274- else
9275- archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9276- archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9277- fi
9278- ;;
9279-
9280- solaris*)
9281- if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9282- ld_shlibs=no
9283- cat <<_LT_EOF 1>&2
9284-
9285-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9286-*** create shared libraries on Solaris systems. Therefore, libtool
9287-*** is disabling shared libraries support. We urge you to upgrade GNU
9288-*** binutils to release 2.9.1 or newer. Another option is to modify
9289-*** your PATH or compiler configuration so that the native linker is
9290-*** used, and then restart.
9291-
9292-_LT_EOF
9293- elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9294- archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9295- archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9296- else
9297- ld_shlibs=no
9298- fi
9299- ;;
9300-
9301- sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9302- case `$LD -v 2>&1` in
9303- *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9304- ld_shlibs=no
9305- cat <<_LT_EOF 1>&2
9306-
9307-*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9308-*** reliably create shared libraries on SCO systems. Therefore, libtool
9309-*** is disabling shared libraries support. We urge you to upgrade GNU
9310-*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9311-*** your PATH or compiler configuration so that the native linker is
9312-*** used, and then restart.
9313-
9314-_LT_EOF
9315- ;;
9316- *)
9317- # For security reasons, it is highly recommended that you always
9318- # use absolute paths for naming shared libraries, and exclude the
9319- # DT_RUNPATH tag from executables and libraries. But doing so
9320- # requires that you compile everything twice, which is a pain.
9321- if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9322- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9323- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9324- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9325- else
9326- ld_shlibs=no
9327- fi
9328- ;;
9329- esac
9330- ;;
9331-
9332- sunos4*)
9333- archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9334- wlarc=
9335- hardcode_direct=yes
9336- hardcode_shlibpath_var=no
9337- ;;
9338-
9339- *)
9340- if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9341- archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9342- archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9343- else
9344- ld_shlibs=no
9345- fi
9346- ;;
9347- esac
9348-
9349- if test "$ld_shlibs" = no; then
9350- runpath_var=
9351- hardcode_libdir_flag_spec=
9352- export_dynamic_flag_spec=
9353- whole_archive_flag_spec=
9354- fi
9355- else
9356- # PORTME fill in a description of your system's linker (not GNU ld)
9357- case $host_os in
9358- aix3*)
9359- allow_undefined_flag=unsupported
9360- always_export_symbols=yes
9361- archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9362- # Note: this linker hardcodes the directories in LIBPATH if there
9363- # are no directories specified by -L.
9364- hardcode_minus_L=yes
9365- if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9366- # Neither direct hardcoding nor static linking is supported with a
9367- # broken collect2.
9368- hardcode_direct=unsupported
9369- fi
9370- ;;
9371-
9372- aix[4-9]*)
9373- if test "$host_cpu" = ia64; then
9374- # On IA64, the linker does run time linking by default, so we don't
9375- # have to do anything special.
9376- aix_use_runtimelinking=no
9377- exp_sym_flag='-Bexport'
9378- no_entry_flag=""
9379- else
9380- # If we're using GNU nm, then we don't want the "-C" option.
9381- # -C means demangle to AIX nm, but means don't demangle with GNU nm
9382- # Also, AIX nm treats weak defined symbols like other global
9383- # defined symbols, whereas GNU nm marks them as "W".
9384- if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9385- export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9386- else
9387- export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9388- fi
9389- aix_use_runtimelinking=no
9390-
9391- # Test if we are trying to use run time linking or normal
9392- # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9393- # need to do runtime linking.
9394- case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9395- for ld_flag in $LDFLAGS; do
9396- if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9397- aix_use_runtimelinking=yes
9398- break
9399- fi
9400- done
9401- ;;
9402- esac
9403-
9404- exp_sym_flag='-bexport'
9405- no_entry_flag='-bnoentry'
9406- fi
9407-
9408- # When large executables or shared objects are built, AIX ld can
9409- # have problems creating the table of contents. If linking a library
9410- # or program results in "error TOC overflow" add -mminimal-toc to
9411- # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9412- # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9413-
9414- archive_cmds=''
9415- hardcode_direct=yes
9416- hardcode_direct_absolute=yes
9417- hardcode_libdir_separator=':'
9418- link_all_deplibs=yes
9419- file_list_spec='${wl}-f,'
9420-
9421- if test "$GCC" = yes; then
9422- case $host_os in aix4.[012]|aix4.[012].*)
9423- # We only want to do this on AIX 4.2 and lower, the check
9424- # below for broken collect2 doesn't work under 4.3+
9425- collect2name=`${CC} -print-prog-name=collect2`
9426- if test -f "$collect2name" &&
9427- strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9428- then
9429- # We have reworked collect2
9430- :
9431- else
9432- # We have old collect2
9433- hardcode_direct=unsupported
9434- # It fails to find uninstalled libraries when the uninstalled
9435- # path is not listed in the libpath. Setting hardcode_minus_L
9436- # to unsupported forces relinking
9437- hardcode_minus_L=yes
9438- hardcode_libdir_flag_spec='-L$libdir'
9439- hardcode_libdir_separator=
9440- fi
9441- ;;
9442- esac
9443- shared_flag='-shared'
9444- if test "$aix_use_runtimelinking" = yes; then
9445- shared_flag="$shared_flag "'${wl}-G'
9446- fi
9447- else
9448- # not using gcc
9449- if test "$host_cpu" = ia64; then
9450- # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9451- # chokes on -Wl,-G. The following line is correct:
9452- shared_flag='-G'
9453- else
9454- if test "$aix_use_runtimelinking" = yes; then
9455- shared_flag='${wl}-G'
9456- else
9457- shared_flag='${wl}-bM:SRE'
9458- fi
9459- fi
9460- fi
9461-
9462- export_dynamic_flag_spec='${wl}-bexpall'
9463- # It seems that -bexpall does not export symbols beginning with
9464- # underscore (_), so it is better to generate a list of symbols to export.
9465- always_export_symbols=yes
9466- if test "$aix_use_runtimelinking" = yes; then
9467- # Warning - without using the other runtime loading flags (-brtl),
9468- # -berok will link without error, but may produce a broken library.
9469- allow_undefined_flag='-berok'
9470- # Determine the default libpath from the value encoded in an
9471- # empty executable.
9472- if test "${lt_cv_aix_libpath+set}" = set; then
9473- aix_libpath=$lt_cv_aix_libpath
9474-else
9475- if test "${lt_cv_aix_libpath_+set}" = set; then :
9476- $as_echo_n "(cached) " >&6
9477-else
9478- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9479-/* end confdefs.h. */
9480-
9481-int
9482-main ()
9483-{
9484-
9485- ;
9486- return 0;
9487-}
9488-_ACEOF
9489-if ac_fn_c_try_link "$LINENO"; then :
9490-
9491- lt_aix_libpath_sed='
9492- /Import File Strings/,/^$/ {
9493- /^0/ {
9494- s/^0 *\([^ ]*\) *$/\1/
9495- p
9496- }
9497- }'
9498- lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9499- # Check for a 64-bit object if we didn't find anything.
9500- if test -z "$lt_cv_aix_libpath_"; then
9501- lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9502- fi
9503-fi
9504-rm -f core conftest.err conftest.$ac_objext \
9505- conftest$ac_exeext conftest.$ac_ext
9506- if test -z "$lt_cv_aix_libpath_"; then
9507- lt_cv_aix_libpath_="/usr/lib:/lib"
9508- fi
9509-
9510-fi
9511-
9512- aix_libpath=$lt_cv_aix_libpath_
9513-fi
9514-
9515- hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9516- archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9517- else
9518- if test "$host_cpu" = ia64; then
9519- hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9520- allow_undefined_flag="-z nodefs"
9521- archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9522- else
9523- # Determine the default libpath from the value encoded in an
9524- # empty executable.
9525- if test "${lt_cv_aix_libpath+set}" = set; then
9526- aix_libpath=$lt_cv_aix_libpath
9527-else
9528- if test "${lt_cv_aix_libpath_+set}" = set; then :
9529- $as_echo_n "(cached) " >&6
9530-else
9531- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9532-/* end confdefs.h. */
9533-
9534-int
9535-main ()
9536-{
9537-
9538- ;
9539- return 0;
9540-}
9541-_ACEOF
9542-if ac_fn_c_try_link "$LINENO"; then :
9543-
9544- lt_aix_libpath_sed='
9545- /Import File Strings/,/^$/ {
9546- /^0/ {
9547- s/^0 *\([^ ]*\) *$/\1/
9548- p
9549- }
9550- }'
9551- lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9552- # Check for a 64-bit object if we didn't find anything.
9553- if test -z "$lt_cv_aix_libpath_"; then
9554- lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9555- fi
9556-fi
9557-rm -f core conftest.err conftest.$ac_objext \
9558- conftest$ac_exeext conftest.$ac_ext
9559- if test -z "$lt_cv_aix_libpath_"; then
9560- lt_cv_aix_libpath_="/usr/lib:/lib"
9561- fi
9562-
9563-fi
9564-
9565- aix_libpath=$lt_cv_aix_libpath_
9566-fi
9567-
9568- hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9569- # Warning - without using the other run time loading flags,
9570- # -berok will link without error, but may produce a broken library.
9571- no_undefined_flag=' ${wl}-bernotok'
9572- allow_undefined_flag=' ${wl}-berok'
9573- if test "$with_gnu_ld" = yes; then
9574- # We only use this code for GNU lds that support --whole-archive.
9575- whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9576- else
9577- # Exported symbols can be pulled into shared objects from archives
9578- whole_archive_flag_spec='$convenience'
9579- fi
9580- archive_cmds_need_lc=yes
9581- # This is similar to how AIX traditionally builds its shared libraries.
9582- archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9583- fi
9584- fi
9585- ;;
9586-
9587- amigaos*)
9588- case $host_cpu in
9589- powerpc)
9590- # see comment about AmigaOS4 .so support
9591- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9592- archive_expsym_cmds=''
9593- ;;
9594- m68k)
9595- archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9596- hardcode_libdir_flag_spec='-L$libdir'
9597- hardcode_minus_L=yes
9598- ;;
9599- esac
9600- ;;
9601-
9602- bsdi[45]*)
9603- export_dynamic_flag_spec=-rdynamic
9604- ;;
9605-
9606- cygwin* | mingw* | pw32* | cegcc*)
9607- # When not using gcc, we currently assume that we are using
9608- # Microsoft Visual C++.
9609- # hardcode_libdir_flag_spec is actually meaningless, as there is
9610- # no search path for DLLs.
9611- case $cc_basename in
9612- cl*)
9613- # Native MSVC
9614- hardcode_libdir_flag_spec=' '
9615- allow_undefined_flag=unsupported
9616- always_export_symbols=yes
9617- file_list_spec='@'
9618- # Tell ltmain to make .lib files, not .a files.
9619- libext=lib
9620- # Tell ltmain to make .dll files, not .so files.
9621- shrext_cmds=".dll"
9622- # FIXME: Setting linknames here is a bad hack.
9623- archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9624- archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9625- sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9626- else
9627- sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9628- fi~
9629- $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9630- linknames='
9631- # The linker will not automatically build a static lib if we build a DLL.
9632- # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9633- enable_shared_with_static_runtimes=yes
9634- export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9635- # Don't use ranlib
9636- old_postinstall_cmds='chmod 644 $oldlib'
9637- postlink_cmds='lt_outputfile="@OUTPUT@"~
9638- lt_tool_outputfile="@TOOL_OUTPUT@"~
9639- case $lt_outputfile in
9640- *.exe|*.EXE) ;;
9641- *)
9642- lt_outputfile="$lt_outputfile.exe"
9643- lt_tool_outputfile="$lt_tool_outputfile.exe"
9644- ;;
9645- esac~
9646- if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9647- $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9648- $RM "$lt_outputfile.manifest";
9649- fi'
9650- ;;
9651- *)
9652- # Assume MSVC wrapper
9653- hardcode_libdir_flag_spec=' '
9654- allow_undefined_flag=unsupported
9655- # Tell ltmain to make .lib files, not .a files.
9656- libext=lib
9657- # Tell ltmain to make .dll files, not .so files.
9658- shrext_cmds=".dll"
9659- # FIXME: Setting linknames here is a bad hack.
9660- archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9661- # The linker will automatically build a .lib file if we build a DLL.
9662- old_archive_from_new_cmds='true'
9663- # FIXME: Should let the user specify the lib program.
9664- old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9665- enable_shared_with_static_runtimes=yes
9666- ;;
9667- esac
9668- ;;
9669-
9670- darwin* | rhapsody*)
9671-
9672-
9673- archive_cmds_need_lc=no
9674- hardcode_direct=no
9675- hardcode_automatic=yes
9676- hardcode_shlibpath_var=unsupported
9677- if test "$lt_cv_ld_force_load" = "yes"; then
9678- whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9679- else
9680- whole_archive_flag_spec=''
9681- fi
9682- link_all_deplibs=yes
9683- allow_undefined_flag="$_lt_dar_allow_undefined"
9684- case $cc_basename in
9685- ifort*) _lt_dar_can_shared=yes ;;
9686- *) _lt_dar_can_shared=$GCC ;;
9687- esac
9688- if test "$_lt_dar_can_shared" = "yes"; then
9689- output_verbose_link_cmd=func_echo_all
9690- archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9691- module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9692- archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9693- module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9694-
9695- else
9696- ld_shlibs=no
9697- fi
9698-
9699- ;;
9700-
9701- dgux*)
9702- archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9703- hardcode_libdir_flag_spec='-L$libdir'
9704- hardcode_shlibpath_var=no
9705- ;;
9706-
9707- freebsd1*)
9708- ld_shlibs=no
9709- ;;
9710-
9711- # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9712- # support. Future versions do this automatically, but an explicit c++rt0.o
9713- # does not break anything, and helps significantly (at the cost of a little
9714- # extra space).
9715- freebsd2.2*)
9716- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9717- hardcode_libdir_flag_spec='-R$libdir'
9718- hardcode_direct=yes
9719- hardcode_shlibpath_var=no
9720- ;;
9721-
9722- # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9723- freebsd2*)
9724- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9725- hardcode_direct=yes
9726- hardcode_minus_L=yes
9727- hardcode_shlibpath_var=no
9728- ;;
9729-
9730- # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9731- freebsd* | dragonfly*)
9732- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9733- hardcode_libdir_flag_spec='-R$libdir'
9734- hardcode_direct=yes
9735- hardcode_shlibpath_var=no
9736- ;;
9737-
9738- hpux9*)
9739- if test "$GCC" = yes; then
9740- archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9741- else
9742- archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9743- fi
9744- hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9745- hardcode_libdir_separator=:
9746- hardcode_direct=yes
9747-
9748- # hardcode_minus_L: Not really in the search PATH,
9749- # but as the default location of the library.
9750- hardcode_minus_L=yes
9751- export_dynamic_flag_spec='${wl}-E'
9752- ;;
9753-
9754- hpux10*)
9755- if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9756- archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9757- else
9758- archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9759- fi
9760- if test "$with_gnu_ld" = no; then
9761- hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9762- hardcode_libdir_flag_spec_ld='+b $libdir'
9763- hardcode_libdir_separator=:
9764- hardcode_direct=yes
9765- hardcode_direct_absolute=yes
9766- export_dynamic_flag_spec='${wl}-E'
9767- # hardcode_minus_L: Not really in the search PATH,
9768- # but as the default location of the library.
9769- hardcode_minus_L=yes
9770- fi
9771- ;;
9772-
9773- hpux11*)
9774- if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9775- case $host_cpu in
9776- hppa*64*)
9777- archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9778- ;;
9779- ia64*)
9780- archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9781- ;;
9782- *)
9783- archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9784- ;;
9785- esac
9786- else
9787- case $host_cpu in
9788- hppa*64*)
9789- archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9790- ;;
9791- ia64*)
9792- archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9793- ;;
9794- *)
9795-
9796- # Older versions of the 11.00 compiler do not understand -b yet
9797- # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9798- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9799-$as_echo_n "checking if $CC understands -b... " >&6; }
9800-if test "${lt_cv_prog_compiler__b+set}" = set; then :
9801- $as_echo_n "(cached) " >&6
9802-else
9803- lt_cv_prog_compiler__b=no
9804- save_LDFLAGS="$LDFLAGS"
9805- LDFLAGS="$LDFLAGS -b"
9806- echo "$lt_simple_link_test_code" > conftest.$ac_ext
9807- if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9808- # The linker can only warn and ignore the option if not recognized
9809- # So say no if there are warnings
9810- if test -s conftest.err; then
9811- # Append any errors to the config.log.
9812- cat conftest.err 1>&5
9813- $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9814- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9815- if diff conftest.exp conftest.er2 >/dev/null; then
9816- lt_cv_prog_compiler__b=yes
9817- fi
9818- else
9819- lt_cv_prog_compiler__b=yes
9820- fi
9821- fi
9822- $RM -r conftest*
9823- LDFLAGS="$save_LDFLAGS"
9824-
9825-fi
9826-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9827-$as_echo "$lt_cv_prog_compiler__b" >&6; }
9828-
9829-if test x"$lt_cv_prog_compiler__b" = xyes; then
9830- archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9831-else
9832- archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9833-fi
9834-
9835- ;;
9836- esac
9837- fi
9838- if test "$with_gnu_ld" = no; then
9839- hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9840- hardcode_libdir_separator=:
9841-
9842- case $host_cpu in
9843- hppa*64*|ia64*)
9844- hardcode_direct=no
9845- hardcode_shlibpath_var=no
9846- ;;
9847- *)
9848- hardcode_direct=yes
9849- hardcode_direct_absolute=yes
9850- export_dynamic_flag_spec='${wl}-E'
9851-
9852- # hardcode_minus_L: Not really in the search PATH,
9853- # but as the default location of the library.
9854- hardcode_minus_L=yes
9855- ;;
9856- esac
9857- fi
9858- ;;
9859-
9860- irix5* | irix6* | nonstopux*)
9861- if test "$GCC" = yes; then
9862- archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9863- # Try to use the -exported_symbol ld option, if it does not
9864- # work, assume that -exports_file does not work either and
9865- # implicitly export all symbols.
9866- # This should be the same for all languages, so no per-tag cache variable.
9867- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9868-$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9869-if test "${lt_cv_irix_exported_symbol+set}" = set; then :
9870- $as_echo_n "(cached) " >&6
9871-else
9872- save_LDFLAGS="$LDFLAGS"
9873- LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9874- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9875-/* end confdefs.h. */
9876-int foo (void) { return 0; }
9877-_ACEOF
9878-if ac_fn_c_try_link "$LINENO"; then :
9879- lt_cv_irix_exported_symbol=yes
9880-else
9881- lt_cv_irix_exported_symbol=no
9882-fi
9883-rm -f core conftest.err conftest.$ac_objext \
9884- conftest$ac_exeext conftest.$ac_ext
9885- LDFLAGS="$save_LDFLAGS"
9886-fi
9887-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9888-$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9889- if test "$lt_cv_irix_exported_symbol" = yes; then
9890- archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9891- fi
9892- else
9893- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9894- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9895- fi
9896- archive_cmds_need_lc='no'
9897- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9898- hardcode_libdir_separator=:
9899- inherit_rpath=yes
9900- link_all_deplibs=yes
9901- ;;
9902-
9903- netbsd*)
9904- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9905- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9906- else
9907- archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9908- fi
9909- hardcode_libdir_flag_spec='-R$libdir'
9910- hardcode_direct=yes
9911- hardcode_shlibpath_var=no
9912- ;;
9913-
9914- newsos6)
9915- archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9916- hardcode_direct=yes
9917- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9918- hardcode_libdir_separator=:
9919- hardcode_shlibpath_var=no
9920- ;;
9921-
9922- *nto* | *qnx*)
9923- ;;
9924-
9925- openbsd*)
9926- if test -f /usr/libexec/ld.so; then
9927- hardcode_direct=yes
9928- hardcode_shlibpath_var=no
9929- hardcode_direct_absolute=yes
9930- if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9931- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9932- archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9933- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9934- export_dynamic_flag_spec='${wl}-E'
9935- else
9936- case $host_os in
9937- openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9938- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9939- hardcode_libdir_flag_spec='-R$libdir'
9940- ;;
9941- *)
9942- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9943- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9944- ;;
9945- esac
9946- fi
9947- else
9948- ld_shlibs=no
9949- fi
9950- ;;
9951-
9952- os2*)
9953- hardcode_libdir_flag_spec='-L$libdir'
9954- hardcode_minus_L=yes
9955- allow_undefined_flag=unsupported
9956- archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9957- old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9958- ;;
9959-
9960- osf3*)
9961- if test "$GCC" = yes; then
9962- allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9963- archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9964- else
9965- allow_undefined_flag=' -expect_unresolved \*'
9966- archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9967- fi
9968- archive_cmds_need_lc='no'
9969- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9970- hardcode_libdir_separator=:
9971- ;;
9972-
9973- osf4* | osf5*) # as osf3* with the addition of -msym flag
9974- if test "$GCC" = yes; then
9975- allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9976- archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9977- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9978- else
9979- allow_undefined_flag=' -expect_unresolved \*'
9980- archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9981- archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9982- $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9983-
9984- # Both c and cxx compiler support -rpath directly
9985- hardcode_libdir_flag_spec='-rpath $libdir'
9986- fi
9987- archive_cmds_need_lc='no'
9988- hardcode_libdir_separator=:
9989- ;;
9990-
9991- solaris*)
9992- no_undefined_flag=' -z defs'
9993- if test "$GCC" = yes; then
9994- wlarc='${wl}'
9995- archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9996- archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9997- $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9998- else
9999- case `$CC -V 2>&1` in
10000- *"Compilers 5.0"*)
10001- wlarc=''
10002- archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10003- archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10004- $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10005- ;;
10006- *)
10007- wlarc='${wl}'
10008- archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10009- archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10010- $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10011- ;;
10012- esac
10013- fi
10014- hardcode_libdir_flag_spec='-R$libdir'
10015- hardcode_shlibpath_var=no
10016- case $host_os in
10017- solaris2.[0-5] | solaris2.[0-5].*) ;;
10018- *)
10019- # The compiler driver will combine and reorder linker options,
10020- # but understands `-z linker_flag'. GCC discards it without `$wl',
10021- # but is careful enough not to reorder.
10022- # Supported since Solaris 2.6 (maybe 2.5.1?)
10023- if test "$GCC" = yes; then
10024- whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10025- else
10026- whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10027- fi
10028- ;;
10029- esac
10030- link_all_deplibs=yes
10031- ;;
10032-
10033- sunos4*)
10034- if test "x$host_vendor" = xsequent; then
10035- # Use $CC to link under sequent, because it throws in some extra .o
10036- # files that make .init and .fini sections work.
10037- archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10038- else
10039- archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10040- fi
10041- hardcode_libdir_flag_spec='-L$libdir'
10042- hardcode_direct=yes
10043- hardcode_minus_L=yes
10044- hardcode_shlibpath_var=no
10045- ;;
10046-
10047- sysv4)
10048- case $host_vendor in
10049- sni)
10050- archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10051- hardcode_direct=yes # is this really true???
10052- ;;
10053- siemens)
10054- ## LD is ld it makes a PLAMLIB
10055- ## CC just makes a GrossModule.
10056- archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10057- reload_cmds='$CC -r -o $output$reload_objs'
10058- hardcode_direct=no
10059- ;;
10060- motorola)
10061- archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10062- hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10063- ;;
10064- esac
10065- runpath_var='LD_RUN_PATH'
10066- hardcode_shlibpath_var=no
10067- ;;
10068-
10069- sysv4.3*)
10070- archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10071- hardcode_shlibpath_var=no
10072- export_dynamic_flag_spec='-Bexport'
10073- ;;
10074-
10075- sysv4*MP*)
10076- if test -d /usr/nec; then
10077- archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10078- hardcode_shlibpath_var=no
10079- runpath_var=LD_RUN_PATH
10080- hardcode_runpath_var=yes
10081- ld_shlibs=yes
10082- fi
10083- ;;
10084-
10085- sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10086- no_undefined_flag='${wl}-z,text'
10087- archive_cmds_need_lc=no
10088- hardcode_shlibpath_var=no
10089- runpath_var='LD_RUN_PATH'
10090-
10091- if test "$GCC" = yes; then
10092- archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093- archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10094- else
10095- archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10096- archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10097- fi
10098- ;;
10099-
10100- sysv5* | sco3.2v5* | sco5v6*)
10101- # Note: We can NOT use -z defs as we might desire, because we do not
10102- # link with -lc, and that would cause any symbols used from libc to
10103- # always be unresolved, which means just about no library would
10104- # ever link correctly. If we're not using GNU ld we use -z text
10105- # though, which does catch some bad symbols but isn't as heavy-handed
10106- # as -z defs.
10107- no_undefined_flag='${wl}-z,text'
10108- allow_undefined_flag='${wl}-z,nodefs'
10109- archive_cmds_need_lc=no
10110- hardcode_shlibpath_var=no
10111- hardcode_libdir_flag_spec='${wl}-R,$libdir'
10112- hardcode_libdir_separator=':'
10113- link_all_deplibs=yes
10114- export_dynamic_flag_spec='${wl}-Bexport'
10115- runpath_var='LD_RUN_PATH'
10116-
10117- if test "$GCC" = yes; then
10118- archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10119- archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10120- else
10121- archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10122- archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10123- fi
10124- ;;
10125-
10126- uts4*)
10127- archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10128- hardcode_libdir_flag_spec='-L$libdir'
10129- hardcode_shlibpath_var=no
10130- ;;
10131-
10132- *)
10133- ld_shlibs=no
10134- ;;
10135- esac
10136-
10137- if test x$host_vendor = xsni; then
10138- case $host in
10139- sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10140- export_dynamic_flag_spec='${wl}-Blargedynsym'
10141- ;;
10142- esac
10143- fi
10144- fi
10145-
10146-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10147-$as_echo "$ld_shlibs" >&6; }
10148-test "$ld_shlibs" = no && can_build_shared=no
10149-
10150-with_gnu_ld=$with_gnu_ld
10151-
10152-
10153-
10154-
10155-
10156-
10157-
10158-
10159-
10160-
10161-
10162-
10163-
10164-
10165-
10166-#
10167-# Do we need to explicitly link libc?
10168-#
10169-case "x$archive_cmds_need_lc" in
10170-x|xyes)
10171- # Assume -lc should be added
10172- archive_cmds_need_lc=yes
10173-
10174- if test "$enable_shared" = yes && test "$GCC" = yes; then
10175- case $archive_cmds in
10176- *'~'*)
10177- # FIXME: we may have to deal with multi-command sequences.
10178- ;;
10179- '$CC '*)
10180- # Test whether the compiler implicitly links with -lc since on some
10181- # systems, -lgcc has to come before -lc. If gcc already passes -lc
10182- # to ld, don't add -lc before -lgcc.
10183- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10184-$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10185-if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10186- $as_echo_n "(cached) " >&6
10187-else
10188- $RM conftest*
10189- echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10190-
10191- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10192- (eval $ac_compile) 2>&5
10193- ac_status=$?
10194- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10195- test $ac_status = 0; } 2>conftest.err; then
10196- soname=conftest
10197- lib=conftest
10198- libobjs=conftest.$ac_objext
10199- deplibs=
10200- wl=$lt_prog_compiler_wl
10201- pic_flag=$lt_prog_compiler_pic
10202- compiler_flags=-v
10203- linker_flags=-v
10204- verstring=
10205- output_objdir=.
10206- libname=conftest
10207- lt_save_allow_undefined_flag=$allow_undefined_flag
10208- allow_undefined_flag=
10209- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10210- (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10211- ac_status=$?
10212- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10213- test $ac_status = 0; }
10214- then
10215- lt_cv_archive_cmds_need_lc=no
10216- else
10217- lt_cv_archive_cmds_need_lc=yes
10218- fi
10219- allow_undefined_flag=$lt_save_allow_undefined_flag
10220- else
10221- cat conftest.err 1>&5
10222- fi
10223- $RM conftest*
10224-
10225-fi
10226-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10227-$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10228- archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10229- ;;
10230- esac
10231- fi
10232- ;;
10233-esac
10234-
10235-
10236-
10237-
10238-
10239-
10240-
10241-
10242-
10243-
10244-
10245-
10246-
10247-
10248-
10249-
10250-
10251-
10252-
10253-
10254-
10255-
10256-
10257-
10258-
10259-
10260-
10261-
10262-
10263-
10264-
10265-
10266-
10267-
10268-
10269-
10270-
10271-
10272-
10273-
10274-
10275-
10276-
10277-
10278-
10279-
10280-
10281-
10282-
10283-
10284-
10285-
10286-
10287-
10288-
10289-
10290-
10291-
10292-
10293-
10294-
10295-
10296-
10297-
10298-
10299-
10300-
10301-
10302-
10303-
10304-
10305-
10306-
10307-
10308-
10309-
10310-
10311-
10312-
10313-
10314-
10315-
10316-
10317-
10318-
10319-
10320-
10321-
10322-
10323-
10324-
10325-
10326-
10327-
10328-
10329-
10330-
10331-
10332-
10333-
10334-
10335-
10336-
10337-
10338-
10339-
10340-
10341-
10342-
10343-
10344-
10345-
10346-
10347-
10348-
10349-
10350-
10351-
10352-
10353-
10354-
10355-
10356-
10357-
10358-
10359-
10360-
10361-
10362-
10363-
10364-
10365-
10366-
10367-
10368-
10369-
10370-
10371-
10372-
10373-
10374-
10375-
10376-
10377-
10378-
10379-
10380-
10381-
10382-
10383-
10384-
10385-
10386-
10387-
10388-
10389-
10390-
10391- { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10392-$as_echo_n "checking dynamic linker characteristics... " >&6; }
10393-
10394-if test "$GCC" = yes; then
10395- case $host_os in
10396- darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10397- *) lt_awk_arg="/^libraries:/" ;;
10398- esac
10399- case $host_os in
10400- mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10401- *) lt_sed_strip_eq="s,=/,/,g" ;;
10402- esac
10403- lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10404- case $lt_search_path_spec in
10405- *\;*)
10406- # if the path contains ";" then we assume it to be the separator
10407- # otherwise default to the standard path separator (i.e. ":") - it is
10408- # assumed that no part of a normal pathname contains ";" but that should
10409- # okay in the real world where ";" in dirpaths is itself problematic.
10410- lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10411- ;;
10412- *)
10413- lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10414- ;;
10415- esac
10416- # Ok, now we have the path, separated by spaces, we can step through it
10417- # and add multilib dir if necessary.
10418- lt_tmp_lt_search_path_spec=
10419- lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10420- for lt_sys_path in $lt_search_path_spec; do
10421- if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10422- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10423- else
10424- test -d "$lt_sys_path" && \
10425- lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10426- fi
10427- done
10428- lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10429-BEGIN {RS=" "; FS="/|\n";} {
10430- lt_foo="";
10431- lt_count=0;
10432- for (lt_i = NF; lt_i > 0; lt_i--) {
10433- if ($lt_i != "" && $lt_i != ".") {
10434- if ($lt_i == "..") {
10435- lt_count++;
10436- } else {
10437- if (lt_count == 0) {
10438- lt_foo="/" $lt_i lt_foo;
10439- } else {
10440- lt_count--;
10441- }
10442- }
10443- }
10444- }
10445- if (lt_foo != "") { lt_freq[lt_foo]++; }
10446- if (lt_freq[lt_foo] == 1) { print lt_foo; }
10447-}'`
10448- # AWK program above erroneously prepends '/' to C:/dos/paths
10449- # for these hosts.
10450- case $host_os in
10451- mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10452- $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10453- esac
10454- sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10455-else
10456- sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10457-fi
10458-library_names_spec=
10459-libname_spec='lib$name'
10460-soname_spec=
10461-shrext_cmds=".so"
10462-postinstall_cmds=
10463-postuninstall_cmds=
10464-finish_cmds=
10465-finish_eval=
10466-shlibpath_var=
10467-shlibpath_overrides_runpath=unknown
10468-version_type=none
10469-dynamic_linker="$host_os ld.so"
10470-sys_lib_dlsearch_path_spec="/lib /usr/lib"
10471-need_lib_prefix=unknown
10472-hardcode_into_libs=no
10473-
10474-# when you set need_version to no, make sure it does not cause -set_version
10475-# flags to be left without arguments
10476-need_version=unknown
10477-
10478-case $host_os in
10479-aix3*)
10480- version_type=linux
10481- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10482- shlibpath_var=LIBPATH
10483-
10484- # AIX 3 has no versioning support, so we append a major version to the name.
10485- soname_spec='${libname}${release}${shared_ext}$major'
10486- ;;
10487-
10488-aix[4-9]*)
10489- version_type=linux
10490- need_lib_prefix=no
10491- need_version=no
10492- hardcode_into_libs=yes
10493- if test "$host_cpu" = ia64; then
10494- # AIX 5 supports IA64
10495- library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10496- shlibpath_var=LD_LIBRARY_PATH
10497- else
10498- # With GCC up to 2.95.x, collect2 would create an import file
10499- # for dependence libraries. The import file would start with
10500- # the line `#! .'. This would cause the generated library to
10501- # depend on `.', always an invalid library. This was fixed in
10502- # development snapshots of GCC prior to 3.0.
10503- case $host_os in
10504- aix4 | aix4.[01] | aix4.[01].*)
10505- if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10506- echo ' yes '
10507- echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10508- :
10509- else
10510- can_build_shared=no
10511- fi
10512- ;;
10513- esac
10514- # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10515- # soname into executable. Probably we can add versioning support to
10516- # collect2, so additional links can be useful in future.
10517- if test "$aix_use_runtimelinking" = yes; then
10518- # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10519- # instead of lib<name>.a to let people know that these are not
10520- # typical AIX shared libraries.
10521- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10522- else
10523- # We preserve .a as extension for shared libraries through AIX4.2
10524- # and later when we are not doing run time linking.
10525- library_names_spec='${libname}${release}.a $libname.a'
10526- soname_spec='${libname}${release}${shared_ext}$major'
10527- fi
10528- shlibpath_var=LIBPATH
10529- fi
10530- ;;
10531-
10532-amigaos*)
10533- case $host_cpu in
10534- powerpc)
10535- # Since July 2007 AmigaOS4 officially supports .so libraries.
10536- # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10537- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10538- ;;
10539- m68k)
10540- library_names_spec='$libname.ixlibrary $libname.a'
10541- # Create ${libname}_ixlibrary.a entries in /sys/libs.
10542- finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10543- ;;
10544- esac
10545- ;;
10546-
10547-beos*)
10548- library_names_spec='${libname}${shared_ext}'
10549- dynamic_linker="$host_os ld.so"
10550- shlibpath_var=LIBRARY_PATH
10551- ;;
10552-
10553-bsdi[45]*)
10554- version_type=linux
10555- need_version=no
10556- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10557- soname_spec='${libname}${release}${shared_ext}$major'
10558- finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10559- shlibpath_var=LD_LIBRARY_PATH
10560- sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10561- sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10562- # the default ld.so.conf also contains /usr/contrib/lib and
10563- # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10564- # libtool to hard-code these into programs
10565- ;;
10566-
10567-cygwin* | mingw* | pw32* | cegcc*)
10568- version_type=windows
10569- shrext_cmds=".dll"
10570- need_version=no
10571- need_lib_prefix=no
10572-
10573- case $GCC,$cc_basename in
10574- yes,*)
10575- # gcc
10576- library_names_spec='$libname.dll.a'
10577- # DLL is installed to $(libdir)/../bin by postinstall_cmds
10578- postinstall_cmds='base_file=`basename \${file}`~
10579- dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10580- dldir=$destdir/`dirname \$dlpath`~
10581- test -d \$dldir || mkdir -p \$dldir~
10582- $install_prog $dir/$dlname \$dldir/$dlname~
10583- chmod a+x \$dldir/$dlname~
10584- if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10585- eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10586- fi'
10587- postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10588- dlpath=$dir/\$dldll~
10589- $RM \$dlpath'
10590- shlibpath_overrides_runpath=yes
10591-
10592- case $host_os in
10593- cygwin*)
10594- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10595- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10596-
10597- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10598- ;;
10599- mingw* | cegcc*)
10600- # MinGW DLLs use traditional 'lib' prefix
10601- soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10602- ;;
10603- pw32*)
10604- # pw32 DLLs use 'pw' prefix rather than 'lib'
10605- library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10606- ;;
10607- esac
10608- dynamic_linker='Win32 ld.exe'
10609- ;;
10610-
10611- *,cl*)
10612- # Native MSVC
10613- libname_spec='$name'
10614- soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10615- library_names_spec='${libname}.dll.lib'
10616-
10617- case $build_os in
10618- mingw*)
10619- sys_lib_search_path_spec=
10620- lt_save_ifs=$IFS
10621- IFS=';'
10622- for lt_path in $LIB
10623- do
10624- IFS=$lt_save_ifs
10625- # Let DOS variable expansion print the short 8.3 style file name.
10626- lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10627- sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10628- done
10629- IFS=$lt_save_ifs
10630- # Convert to MSYS style.
10631- sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10632- ;;
10633- cygwin*)
10634- # Convert to unix form, then to dos form, then back to unix form
10635- # but this time dos style (no spaces!) so that the unix form looks
10636- # like /cygdrive/c/PROGRA~1:/cygdr...
10637- sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10638- sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10639- sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10640- ;;
10641- *)
10642- sys_lib_search_path_spec="$LIB"
10643- if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10644- # It is most probably a Windows format PATH.
10645- sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10646- else
10647- sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10648- fi
10649- # FIXME: find the short name or the path components, as spaces are
10650- # common. (e.g. "Program Files" -> "PROGRA~1")
10651- ;;
10652- esac
10653-
10654- # DLL is installed to $(libdir)/../bin by postinstall_cmds
10655- postinstall_cmds='base_file=`basename \${file}`~
10656- dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10657- dldir=$destdir/`dirname \$dlpath`~
10658- test -d \$dldir || mkdir -p \$dldir~
10659- $install_prog $dir/$dlname \$dldir/$dlname'
10660- postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10661- dlpath=$dir/\$dldll~
10662- $RM \$dlpath'
10663- shlibpath_overrides_runpath=yes
10664- dynamic_linker='Win32 link.exe'
10665- ;;
10666-
10667- *)
10668- # Assume MSVC wrapper
10669- library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10670- dynamic_linker='Win32 ld.exe'
10671- ;;
10672- esac
10673- # FIXME: first we should search . and the directory the executable is in
10674- shlibpath_var=PATH
10675- ;;
10676-
10677-darwin* | rhapsody*)
10678- dynamic_linker="$host_os dyld"
10679- version_type=darwin
10680- need_lib_prefix=no
10681- need_version=no
10682- library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10683- soname_spec='${libname}${release}${major}$shared_ext'
10684- shlibpath_overrides_runpath=yes
10685- shlibpath_var=DYLD_LIBRARY_PATH
10686- shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10687-
10688- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10689- sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10690- ;;
10691-
10692-dgux*)
10693- version_type=linux
10694- need_lib_prefix=no
10695- need_version=no
10696- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10697- soname_spec='${libname}${release}${shared_ext}$major'
10698- shlibpath_var=LD_LIBRARY_PATH
10699- ;;
10700-
10701-freebsd1*)
10702- dynamic_linker=no
10703- ;;
10704-
10705-freebsd* | dragonfly*)
10706- # DragonFly does not have aout. When/if they implement a new
10707- # versioning mechanism, adjust this.
10708- if test -x /usr/bin/objformat; then
10709- objformat=`/usr/bin/objformat`
10710- else
10711- case $host_os in
10712- freebsd[123]*) objformat=aout ;;
10713- *) objformat=elf ;;
10714- esac
10715- fi
10716- version_type=freebsd-$objformat
10717- case $version_type in
10718- freebsd-elf*)
10719- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10720- need_version=no
10721- need_lib_prefix=no
10722- ;;
10723- freebsd-*)
10724- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10725- need_version=yes
10726- ;;
10727- esac
10728- shlibpath_var=LD_LIBRARY_PATH
10729- case $host_os in
10730- freebsd2*)
10731- shlibpath_overrides_runpath=yes
10732- ;;
10733- freebsd3.[01]* | freebsdelf3.[01]*)
10734- shlibpath_overrides_runpath=yes
10735- hardcode_into_libs=yes
10736- ;;
10737- freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10738- freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10739- shlibpath_overrides_runpath=no
10740- hardcode_into_libs=yes
10741- ;;
10742- *) # from 4.6 on, and DragonFly
10743- shlibpath_overrides_runpath=yes
10744- hardcode_into_libs=yes
10745- ;;
10746- esac
10747- ;;
10748-
10749-gnu*)
10750- version_type=linux
10751- need_lib_prefix=no
10752- need_version=no
10753- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10754- soname_spec='${libname}${release}${shared_ext}$major'
10755- shlibpath_var=LD_LIBRARY_PATH
10756- hardcode_into_libs=yes
10757- ;;
10758-
10759-haiku*)
10760- version_type=linux
10761- need_lib_prefix=no
10762- need_version=no
10763- dynamic_linker="$host_os runtime_loader"
10764- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10765- soname_spec='${libname}${release}${shared_ext}$major'
10766- shlibpath_var=LIBRARY_PATH
10767- shlibpath_overrides_runpath=yes
10768- sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10769- hardcode_into_libs=yes
10770- ;;
10771-
10772-hpux9* | hpux10* | hpux11*)
10773- # Give a soname corresponding to the major version so that dld.sl refuses to
10774- # link against other versions.
10775- version_type=sunos
10776- need_lib_prefix=no
10777- need_version=no
10778- case $host_cpu in
10779- ia64*)
10780- shrext_cmds='.so'
10781- hardcode_into_libs=yes
10782- dynamic_linker="$host_os dld.so"
10783- shlibpath_var=LD_LIBRARY_PATH
10784- shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10785- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10786- soname_spec='${libname}${release}${shared_ext}$major'
10787- if test "X$HPUX_IA64_MODE" = X32; then
10788- sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10789- else
10790- sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10791- fi
10792- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10793- ;;
10794- hppa*64*)
10795- shrext_cmds='.sl'
10796- hardcode_into_libs=yes
10797- dynamic_linker="$host_os dld.sl"
10798- shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10799- shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10800- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10801- soname_spec='${libname}${release}${shared_ext}$major'
10802- sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10803- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10804- ;;
10805- *)
10806- shrext_cmds='.sl'
10807- dynamic_linker="$host_os dld.sl"
10808- shlibpath_var=SHLIB_PATH
10809- shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10810- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10811- soname_spec='${libname}${release}${shared_ext}$major'
10812- ;;
10813- esac
10814- # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10815- postinstall_cmds='chmod 555 $lib'
10816- # or fails outright, so override atomically:
10817- install_override_mode=555
10818- ;;
10819-
10820-interix[3-9]*)
10821- version_type=linux
10822- need_lib_prefix=no
10823- need_version=no
10824- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10825- soname_spec='${libname}${release}${shared_ext}$major'
10826- dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10827- shlibpath_var=LD_LIBRARY_PATH
10828- shlibpath_overrides_runpath=no
10829- hardcode_into_libs=yes
10830- ;;
10831-
10832-irix5* | irix6* | nonstopux*)
10833- case $host_os in
10834- nonstopux*) version_type=nonstopux ;;
10835- *)
10836- if test "$lt_cv_prog_gnu_ld" = yes; then
10837- version_type=linux
10838- else
10839- version_type=irix
10840- fi ;;
10841- esac
10842- need_lib_prefix=no
10843- need_version=no
10844- soname_spec='${libname}${release}${shared_ext}$major'
10845- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10846- case $host_os in
10847- irix5* | nonstopux*)
10848- libsuff= shlibsuff=
10849- ;;
10850- *)
10851- case $LD in # libtool.m4 will add one of these switches to LD
10852- *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10853- libsuff= shlibsuff= libmagic=32-bit;;
10854- *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10855- libsuff=32 shlibsuff=N32 libmagic=N32;;
10856- *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10857- libsuff=64 shlibsuff=64 libmagic=64-bit;;
10858- *) libsuff= shlibsuff= libmagic=never-match;;
10859- esac
10860- ;;
10861- esac
10862- shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10863- shlibpath_overrides_runpath=no
10864- sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10865- sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10866- hardcode_into_libs=yes
10867- ;;
10868-
10869-# No shared lib support for Linux oldld, aout, or coff.
10870-linux*oldld* | linux*aout* | linux*coff*)
10871- dynamic_linker=no
10872- ;;
10873-
10874-# This must be Linux ELF.
10875-linux* | k*bsd*-gnu | kopensolaris*-gnu)
10876- version_type=linux
10877- need_lib_prefix=no
10878- need_version=no
10879- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10880- soname_spec='${libname}${release}${shared_ext}$major'
10881- finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10882- shlibpath_var=LD_LIBRARY_PATH
10883- shlibpath_overrides_runpath=no
10884-
10885- # Some binutils ld are patched to set DT_RUNPATH
10886- if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10887- $as_echo_n "(cached) " >&6
10888-else
10889- lt_cv_shlibpath_overrides_runpath=no
10890- save_LDFLAGS=$LDFLAGS
10891- save_libdir=$libdir
10892- eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10893- LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10894- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10895-/* end confdefs.h. */
10896-
10897-int
10898-main ()
10899-{
10900-
10901- ;
10902- return 0;
10903-}
10904-_ACEOF
10905-if ac_fn_c_try_link "$LINENO"; then :
10906- if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10907- lt_cv_shlibpath_overrides_runpath=yes
10908-fi
10909-fi
10910-rm -f core conftest.err conftest.$ac_objext \
10911- conftest$ac_exeext conftest.$ac_ext
10912- LDFLAGS=$save_LDFLAGS
10913- libdir=$save_libdir
10914-
10915-fi
10916-
10917- shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10918-
10919- # This implies no fast_install, which is unacceptable.
10920- # Some rework will be needed to allow for fast_install
10921- # before this can be enabled.
10922- hardcode_into_libs=yes
10923-
10924- # Append ld.so.conf contents to the search path
10925- if test -f /etc/ld.so.conf; then
10926- lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10927- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10928- fi
10929-
10930- # We used to test for /lib/ld.so.1 and disable shared libraries on
10931- # powerpc, because MkLinux only supported shared libraries with the
10932- # GNU dynamic linker. Since this was broken with cross compilers,
10933- # most powerpc-linux boxes support dynamic linking these days and
10934- # people can always --disable-shared, the test was removed, and we
10935- # assume the GNU/Linux dynamic linker is in use.
10936- dynamic_linker='GNU/Linux ld.so'
10937- ;;
10938-
10939-netbsd*)
10940- version_type=sunos
10941- need_lib_prefix=no
10942- need_version=no
10943- if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10944- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10945- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10946- dynamic_linker='NetBSD (a.out) ld.so'
10947- else
10948- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10949- soname_spec='${libname}${release}${shared_ext}$major'
10950- dynamic_linker='NetBSD ld.elf_so'
10951- fi
10952- shlibpath_var=LD_LIBRARY_PATH
10953- shlibpath_overrides_runpath=yes
10954- hardcode_into_libs=yes
10955- ;;
10956-
10957-newsos6)
10958- version_type=linux
10959- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10960- shlibpath_var=LD_LIBRARY_PATH
10961- shlibpath_overrides_runpath=yes
10962- ;;
10963-
10964-*nto* | *qnx*)
10965- version_type=qnx
10966- need_lib_prefix=no
10967- need_version=no
10968- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10969- soname_spec='${libname}${release}${shared_ext}$major'
10970- shlibpath_var=LD_LIBRARY_PATH
10971- shlibpath_overrides_runpath=no
10972- hardcode_into_libs=yes
10973- dynamic_linker='ldqnx.so'
10974- ;;
10975-
10976-openbsd*)
10977- version_type=sunos
10978- sys_lib_dlsearch_path_spec="/usr/lib"
10979- need_lib_prefix=no
10980- # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10981- case $host_os in
10982- openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10983- *) need_version=no ;;
10984- esac
10985- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10986- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10987- shlibpath_var=LD_LIBRARY_PATH
10988- if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10989- case $host_os in
10990- openbsd2.[89] | openbsd2.[89].*)
10991- shlibpath_overrides_runpath=no
10992- ;;
10993- *)
10994- shlibpath_overrides_runpath=yes
10995- ;;
10996- esac
10997- else
10998- shlibpath_overrides_runpath=yes
10999- fi
11000- ;;
11001-
11002-os2*)
11003- libname_spec='$name'
11004- shrext_cmds=".dll"
11005- need_lib_prefix=no
11006- library_names_spec='$libname${shared_ext} $libname.a'
11007- dynamic_linker='OS/2 ld.exe'
11008- shlibpath_var=LIBPATH
11009- ;;
11010-
11011-osf3* | osf4* | osf5*)
11012- version_type=osf
11013- need_lib_prefix=no
11014- need_version=no
11015- soname_spec='${libname}${release}${shared_ext}$major'
11016- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11017- shlibpath_var=LD_LIBRARY_PATH
11018- sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11019- sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11020- ;;
11021-
11022-rdos*)
11023- dynamic_linker=no
11024- ;;
11025-
11026-solaris*)
11027- version_type=linux
11028- need_lib_prefix=no
11029- need_version=no
11030- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11031- soname_spec='${libname}${release}${shared_ext}$major'
11032- shlibpath_var=LD_LIBRARY_PATH
11033- shlibpath_overrides_runpath=yes
11034- hardcode_into_libs=yes
11035- # ldd complains unless libraries are executable
11036- postinstall_cmds='chmod +x $lib'
11037- ;;
11038-
11039-sunos4*)
11040- version_type=sunos
11041- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11042- finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11043- shlibpath_var=LD_LIBRARY_PATH
11044- shlibpath_overrides_runpath=yes
11045- if test "$with_gnu_ld" = yes; then
11046- need_lib_prefix=no
11047- fi
11048- need_version=yes
11049- ;;
11050-
11051-sysv4 | sysv4.3*)
11052- version_type=linux
11053- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11054- soname_spec='${libname}${release}${shared_ext}$major'
11055- shlibpath_var=LD_LIBRARY_PATH
11056- case $host_vendor in
11057- sni)
11058- shlibpath_overrides_runpath=no
11059- need_lib_prefix=no
11060- runpath_var=LD_RUN_PATH
11061- ;;
11062- siemens)
11063- need_lib_prefix=no
11064- ;;
11065- motorola)
11066- need_lib_prefix=no
11067- need_version=no
11068- shlibpath_overrides_runpath=no
11069- sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11070- ;;
11071- esac
11072- ;;
11073-
11074-sysv4*MP*)
11075- if test -d /usr/nec ;then
11076- version_type=linux
11077- library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11078- soname_spec='$libname${shared_ext}.$major'
11079- shlibpath_var=LD_LIBRARY_PATH
11080- fi
11081- ;;
11082-
11083-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11084- version_type=freebsd-elf
11085- need_lib_prefix=no
11086- need_version=no
11087- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11088- soname_spec='${libname}${release}${shared_ext}$major'
11089- shlibpath_var=LD_LIBRARY_PATH
11090- shlibpath_overrides_runpath=yes
11091- hardcode_into_libs=yes
11092- if test "$with_gnu_ld" = yes; then
11093- sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11094- else
11095- sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11096- case $host_os in
11097- sco3.2v5*)
11098- sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11099- ;;
11100- esac
11101- fi
11102- sys_lib_dlsearch_path_spec='/usr/lib'
11103- ;;
11104-
11105-tpf*)
11106- # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11107- version_type=linux
11108- need_lib_prefix=no
11109- need_version=no
11110- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11111- shlibpath_var=LD_LIBRARY_PATH
11112- shlibpath_overrides_runpath=no
11113- hardcode_into_libs=yes
11114- ;;
11115-
11116-uts4*)
11117- version_type=linux
11118- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11119- soname_spec='${libname}${release}${shared_ext}$major'
11120- shlibpath_var=LD_LIBRARY_PATH
11121- ;;
11122-
11123-*)
11124- dynamic_linker=no
11125- ;;
11126-esac
11127-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11128-$as_echo "$dynamic_linker" >&6; }
11129-test "$dynamic_linker" = no && can_build_shared=no
11130-
11131-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11132-if test "$GCC" = yes; then
11133- variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11134-fi
11135-
11136-if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11137- sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11138-fi
11139-if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11140- sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11141-fi
11142-
11143-
11144-
11145-
11146-
11147-
11148-
11149-
11150-
11151-
11152-
11153-
11154-
11155-
11156-
11157-
11158-
11159-
11160-
11161-
11162-
11163-
11164-
11165-
11166-
11167-
11168-
11169-
11170-
11171-
11172-
11173-
11174-
11175-
11176-
11177-
11178-
11179-
11180-
11181-
11182-
11183-
11184-
11185-
11186-
11187-
11188-
11189-
11190-
11191-
11192-
11193-
11194-
11195-
11196-
11197-
11198-
11199-
11200-
11201-
11202-
11203-
11204-
11205-
11206-
11207-
11208-
11209-
11210-
11211-
11212-
11213-
11214-
11215-
11216-
11217-
11218-
11219-
11220-
11221-
11222-
11223-
11224-
11225-
11226-
11227-
11228-
11229-
11230-
11231-
11232-
11233-
11234- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11235-$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11236-hardcode_action=
11237-if test -n "$hardcode_libdir_flag_spec" ||
11238- test -n "$runpath_var" ||
11239- test "X$hardcode_automatic" = "Xyes" ; then
11240-
11241- # We can hardcode non-existent directories.
11242- if test "$hardcode_direct" != no &&
11243- # If the only mechanism to avoid hardcoding is shlibpath_var, we
11244- # have to relink, otherwise we might link with an installed library
11245- # when we should be linking with a yet-to-be-installed one
11246- ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11247- test "$hardcode_minus_L" != no; then
11248- # Linking always hardcodes the temporary library directory.
11249- hardcode_action=relink
11250- else
11251- # We can link without hardcoding, and we can hardcode nonexisting dirs.
11252- hardcode_action=immediate
11253- fi
11254-else
11255- # We cannot hardcode anything, or else we can only hardcode existing
11256- # directories.
11257- hardcode_action=unsupported
11258-fi
11259-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11260-$as_echo "$hardcode_action" >&6; }
11261-
11262-if test "$hardcode_action" = relink ||
11263- test "$inherit_rpath" = yes; then
11264- # Fast installation is not supported
11265- enable_fast_install=no
11266-elif test "$shlibpath_overrides_runpath" = yes ||
11267- test "$enable_shared" = no; then
11268- # Fast installation is not necessary
11269- enable_fast_install=needless
11270-fi
11271-
11272-
11273-
11274-
11275-
11276-
11277- if test "x$enable_dlopen" != xyes; then
11278- enable_dlopen=unknown
11279- enable_dlopen_self=unknown
11280- enable_dlopen_self_static=unknown
11281-else
11282- lt_cv_dlopen=no
11283- lt_cv_dlopen_libs=
11284-
11285- case $host_os in
11286- beos*)
11287- lt_cv_dlopen="load_add_on"
11288- lt_cv_dlopen_libs=
11289- lt_cv_dlopen_self=yes
11290- ;;
11291-
11292- mingw* | pw32* | cegcc*)
11293- lt_cv_dlopen="LoadLibrary"
11294- lt_cv_dlopen_libs=
11295- ;;
11296-
11297- cygwin*)
11298- lt_cv_dlopen="dlopen"
11299- lt_cv_dlopen_libs=
11300- ;;
11301-
11302- darwin*)
11303- # if libdl is installed we need to link against it
11304- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11305-$as_echo_n "checking for dlopen in -ldl... " >&6; }
11306-if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11307- $as_echo_n "(cached) " >&6
11308-else
11309- ac_check_lib_save_LIBS=$LIBS
11310-LIBS="-ldl $LIBS"
11311-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11312-/* end confdefs.h. */
11313-
11314-/* Override any GCC internal prototype to avoid an error.
11315- Use char because int might match the return type of a GCC
11316- builtin and then its argument prototype would still apply. */
11317-#ifdef __cplusplus
11318-extern "C"
11319-#endif
11320-char dlopen ();
11321-int
11322-main ()
11323-{
11324-return dlopen ();
11325- ;
11326- return 0;
11327-}
11328-_ACEOF
11329-if ac_fn_c_try_link "$LINENO"; then :
11330- ac_cv_lib_dl_dlopen=yes
11331-else
11332- ac_cv_lib_dl_dlopen=no
11333-fi
11334-rm -f core conftest.err conftest.$ac_objext \
11335- conftest$ac_exeext conftest.$ac_ext
11336-LIBS=$ac_check_lib_save_LIBS
11337-fi
11338-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11339-$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11340-if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11341- lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11342-else
11343-
11344- lt_cv_dlopen="dyld"
11345- lt_cv_dlopen_libs=
11346- lt_cv_dlopen_self=yes
11347-
11348-fi
11349-
11350- ;;
11351-
11352- *)
11353- ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11354-if test "x$ac_cv_func_shl_load" = x""yes; then :
11355- lt_cv_dlopen="shl_load"
11356-else
11357- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11358-$as_echo_n "checking for shl_load in -ldld... " >&6; }
11359-if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11360- $as_echo_n "(cached) " >&6
11361-else
11362- ac_check_lib_save_LIBS=$LIBS
11363-LIBS="-ldld $LIBS"
11364-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11365-/* end confdefs.h. */
11366-
11367-/* Override any GCC internal prototype to avoid an error.
11368- Use char because int might match the return type of a GCC
11369- builtin and then its argument prototype would still apply. */
11370-#ifdef __cplusplus
11371-extern "C"
11372-#endif
11373-char shl_load ();
11374-int
11375-main ()
11376-{
11377-return shl_load ();
11378- ;
11379- return 0;
11380-}
11381-_ACEOF
11382-if ac_fn_c_try_link "$LINENO"; then :
11383- ac_cv_lib_dld_shl_load=yes
11384-else
11385- ac_cv_lib_dld_shl_load=no
11386-fi
11387-rm -f core conftest.err conftest.$ac_objext \
11388- conftest$ac_exeext conftest.$ac_ext
11389-LIBS=$ac_check_lib_save_LIBS
11390-fi
11391-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11392-$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11393-if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11394- lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11395-else
11396- ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11397-if test "x$ac_cv_func_dlopen" = x""yes; then :
11398- lt_cv_dlopen="dlopen"
11399-else
11400- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11401-$as_echo_n "checking for dlopen in -ldl... " >&6; }
11402-if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11403- $as_echo_n "(cached) " >&6
11404-else
11405- ac_check_lib_save_LIBS=$LIBS
11406-LIBS="-ldl $LIBS"
11407-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11408-/* end confdefs.h. */
11409-
11410-/* Override any GCC internal prototype to avoid an error.
11411- Use char because int might match the return type of a GCC
11412- builtin and then its argument prototype would still apply. */
11413-#ifdef __cplusplus
11414-extern "C"
11415-#endif
11416-char dlopen ();
11417-int
11418-main ()
11419-{
11420-return dlopen ();
11421- ;
11422- return 0;
11423-}
11424-_ACEOF
11425-if ac_fn_c_try_link "$LINENO"; then :
11426- ac_cv_lib_dl_dlopen=yes
11427-else
11428- ac_cv_lib_dl_dlopen=no
11429-fi
11430-rm -f core conftest.err conftest.$ac_objext \
11431- conftest$ac_exeext conftest.$ac_ext
11432-LIBS=$ac_check_lib_save_LIBS
11433-fi
11434-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11435-$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11436-if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11437- lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11438-else
11439- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11440-$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11441-if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11442- $as_echo_n "(cached) " >&6
11443-else
11444- ac_check_lib_save_LIBS=$LIBS
11445-LIBS="-lsvld $LIBS"
11446-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11447-/* end confdefs.h. */
11448-
11449-/* Override any GCC internal prototype to avoid an error.
11450- Use char because int might match the return type of a GCC
11451- builtin and then its argument prototype would still apply. */
11452-#ifdef __cplusplus
11453-extern "C"
11454-#endif
11455-char dlopen ();
11456-int
11457-main ()
11458-{
11459-return dlopen ();
11460- ;
11461- return 0;
11462-}
11463-_ACEOF
11464-if ac_fn_c_try_link "$LINENO"; then :
11465- ac_cv_lib_svld_dlopen=yes
11466-else
11467- ac_cv_lib_svld_dlopen=no
11468-fi
11469-rm -f core conftest.err conftest.$ac_objext \
11470- conftest$ac_exeext conftest.$ac_ext
11471-LIBS=$ac_check_lib_save_LIBS
11472-fi
11473-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11474-$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11475-if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11476- lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11477-else
11478- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11479-$as_echo_n "checking for dld_link in -ldld... " >&6; }
11480-if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11481- $as_echo_n "(cached) " >&6
11482-else
11483- ac_check_lib_save_LIBS=$LIBS
11484-LIBS="-ldld $LIBS"
11485-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11486-/* end confdefs.h. */
11487-
11488-/* Override any GCC internal prototype to avoid an error.
11489- Use char because int might match the return type of a GCC
11490- builtin and then its argument prototype would still apply. */
11491-#ifdef __cplusplus
11492-extern "C"
11493-#endif
11494-char dld_link ();
11495-int
11496-main ()
11497-{
11498-return dld_link ();
11499- ;
11500- return 0;
11501-}
11502-_ACEOF
11503-if ac_fn_c_try_link "$LINENO"; then :
11504- ac_cv_lib_dld_dld_link=yes
11505-else
11506- ac_cv_lib_dld_dld_link=no
11507-fi
11508-rm -f core conftest.err conftest.$ac_objext \
11509- conftest$ac_exeext conftest.$ac_ext
11510-LIBS=$ac_check_lib_save_LIBS
11511-fi
11512-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11513-$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11514-if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11515- lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11516-fi
11517-
11518-
11519-fi
11520-
11521-
11522-fi
11523-
11524-
11525-fi
11526-
11527-
11528-fi
11529-
11530-
11531-fi
11532-
11533- ;;
11534- esac
11535-
11536- if test "x$lt_cv_dlopen" != xno; then
11537- enable_dlopen=yes
11538- else
11539- enable_dlopen=no
11540- fi
11541-
11542- case $lt_cv_dlopen in
11543- dlopen)
11544- save_CPPFLAGS="$CPPFLAGS"
11545- test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11546-
11547- save_LDFLAGS="$LDFLAGS"
11548- wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11549-
11550- save_LIBS="$LIBS"
11551- LIBS="$lt_cv_dlopen_libs $LIBS"
11552-
11553- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11554-$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11555-if test "${lt_cv_dlopen_self+set}" = set; then :
11556- $as_echo_n "(cached) " >&6
11557-else
11558- if test "$cross_compiling" = yes; then :
11559- lt_cv_dlopen_self=cross
11560-else
11561- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11562- lt_status=$lt_dlunknown
11563- cat > conftest.$ac_ext <<_LT_EOF
11564-#line $LINENO "configure"
11565-#include "confdefs.h"
11566-
11567-#if HAVE_DLFCN_H
11568-#include <dlfcn.h>
11569-#endif
11570-
11571-#include <stdio.h>
11572-
11573-#ifdef RTLD_GLOBAL
11574-# define LT_DLGLOBAL RTLD_GLOBAL
11575-#else
11576-# ifdef DL_GLOBAL
11577-# define LT_DLGLOBAL DL_GLOBAL
11578-# else
11579-# define LT_DLGLOBAL 0
11580-# endif
11581-#endif
11582-
11583-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11584- find out it does not work in some platform. */
11585-#ifndef LT_DLLAZY_OR_NOW
11586-# ifdef RTLD_LAZY
11587-# define LT_DLLAZY_OR_NOW RTLD_LAZY
11588-# else
11589-# ifdef DL_LAZY
11590-# define LT_DLLAZY_OR_NOW DL_LAZY
11591-# else
11592-# ifdef RTLD_NOW
11593-# define LT_DLLAZY_OR_NOW RTLD_NOW
11594-# else
11595-# ifdef DL_NOW
11596-# define LT_DLLAZY_OR_NOW DL_NOW
11597-# else
11598-# define LT_DLLAZY_OR_NOW 0
11599-# endif
11600-# endif
11601-# endif
11602-# endif
11603-#endif
11604-
11605-/* When -fvisbility=hidden is used, assume the code has been annotated
11606- correspondingly for the symbols needed. */
11607-#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11608-int fnord () __attribute__((visibility("default")));
11609-#endif
11610-
11611-int fnord () { return 42; }
11612-int main ()
11613-{
11614- void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11615- int status = $lt_dlunknown;
11616-
11617- if (self)
11618- {
11619- if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11620- else
11621- {
11622- if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11623- else puts (dlerror ());
11624- }
11625- /* dlclose (self); */
11626- }
11627- else
11628- puts (dlerror ());
11629-
11630- return status;
11631-}
11632-_LT_EOF
11633- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11634- (eval $ac_link) 2>&5
11635- ac_status=$?
11636- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11637- test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11638- (./conftest; exit; ) >&5 2>/dev/null
11639- lt_status=$?
11640- case x$lt_status in
11641- x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11642- x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11643- x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11644- esac
11645- else :
11646- # compilation failed
11647- lt_cv_dlopen_self=no
11648- fi
11649-fi
11650-rm -fr conftest*
11651-
11652-
11653-fi
11654-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11655-$as_echo "$lt_cv_dlopen_self" >&6; }
11656-
11657- if test "x$lt_cv_dlopen_self" = xyes; then
11658- wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11659- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11660-$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11661-if test "${lt_cv_dlopen_self_static+set}" = set; then :
11662- $as_echo_n "(cached) " >&6
11663-else
11664- if test "$cross_compiling" = yes; then :
11665- lt_cv_dlopen_self_static=cross
11666-else
11667- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11668- lt_status=$lt_dlunknown
11669- cat > conftest.$ac_ext <<_LT_EOF
11670-#line $LINENO "configure"
11671-#include "confdefs.h"
11672-
11673-#if HAVE_DLFCN_H
11674-#include <dlfcn.h>
11675-#endif
11676-
11677-#include <stdio.h>
11678-
11679-#ifdef RTLD_GLOBAL
11680-# define LT_DLGLOBAL RTLD_GLOBAL
11681-#else
11682-# ifdef DL_GLOBAL
11683-# define LT_DLGLOBAL DL_GLOBAL
11684-# else
11685-# define LT_DLGLOBAL 0
11686-# endif
11687-#endif
11688-
11689-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11690- find out it does not work in some platform. */
11691-#ifndef LT_DLLAZY_OR_NOW
11692-# ifdef RTLD_LAZY
11693-# define LT_DLLAZY_OR_NOW RTLD_LAZY
11694-# else
11695-# ifdef DL_LAZY
11696-# define LT_DLLAZY_OR_NOW DL_LAZY
11697-# else
11698-# ifdef RTLD_NOW
11699-# define LT_DLLAZY_OR_NOW RTLD_NOW
11700-# else
11701-# ifdef DL_NOW
11702-# define LT_DLLAZY_OR_NOW DL_NOW
11703-# else
11704-# define LT_DLLAZY_OR_NOW 0
11705-# endif
11706-# endif
11707-# endif
11708-# endif
11709-#endif
11710-
11711-/* When -fvisbility=hidden is used, assume the code has been annotated
11712- correspondingly for the symbols needed. */
11713-#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11714-int fnord () __attribute__((visibility("default")));
11715-#endif
11716-
11717-int fnord () { return 42; }
11718-int main ()
11719-{
11720- void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11721- int status = $lt_dlunknown;
11722-
11723- if (self)
11724- {
11725- if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11726- else
11727- {
11728- if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11729- else puts (dlerror ());
11730- }
11731- /* dlclose (self); */
11732- }
11733- else
11734- puts (dlerror ());
11735-
11736- return status;
11737-}
11738-_LT_EOF
11739- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11740- (eval $ac_link) 2>&5
11741- ac_status=$?
11742- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11743- test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11744- (./conftest; exit; ) >&5 2>/dev/null
11745- lt_status=$?
11746- case x$lt_status in
11747- x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11748- x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11749- x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11750- esac
11751- else :
11752- # compilation failed
11753- lt_cv_dlopen_self_static=no
11754- fi
11755-fi
11756-rm -fr conftest*
11757-
11758-
11759-fi
11760-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11761-$as_echo "$lt_cv_dlopen_self_static" >&6; }
11762- fi
11763-
11764- CPPFLAGS="$save_CPPFLAGS"
11765- LDFLAGS="$save_LDFLAGS"
11766- LIBS="$save_LIBS"
11767- ;;
11768- esac
11769-
11770- case $lt_cv_dlopen_self in
11771- yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11772- *) enable_dlopen_self=unknown ;;
11773- esac
11774-
11775- case $lt_cv_dlopen_self_static in
11776- yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11777- *) enable_dlopen_self_static=unknown ;;
11778- esac
11779-fi
11780-
11781-
11782-
11783-
11784-
11785-
11786-
11787-
11788-
11789-
11790-
11791-
11792-
11793-
11794-
11795-
11796-
11797-striplib=
11798-old_striplib=
11799-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11800-$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11801-if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11802- test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11803- test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11804- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11805-$as_echo "yes" >&6; }
11806-else
11807-# FIXME - insert some real tests, host_os isn't really good enough
11808- case $host_os in
11809- darwin*)
11810- if test -n "$STRIP" ; then
11811- striplib="$STRIP -x"
11812- old_striplib="$STRIP -S"
11813- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11814-$as_echo "yes" >&6; }
11815- else
11816- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11817-$as_echo "no" >&6; }
11818- fi
11819- ;;
11820- *)
11821- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11822-$as_echo "no" >&6; }
11823- ;;
11824- esac
11825-fi
11826-
11827-
11828-
11829-
11830-
11831-
11832-
11833-
11834-
11835-
11836-
11837-
11838- # Report which library types will actually be built
11839- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11840-$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11841- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11842-$as_echo "$can_build_shared" >&6; }
11843-
11844- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11845-$as_echo_n "checking whether to build shared libraries... " >&6; }
11846- test "$can_build_shared" = "no" && enable_shared=no
11847-
11848- # On AIX, shared libraries and static libraries use the same namespace, and
11849- # are all built from PIC.
11850- case $host_os in
11851- aix3*)
11852- test "$enable_shared" = yes && enable_static=no
11853- if test -n "$RANLIB"; then
11854- archive_cmds="$archive_cmds~\$RANLIB \$lib"
11855- postinstall_cmds='$RANLIB $lib'
11856- fi
11857- ;;
11858-
11859- aix[4-9]*)
11860- if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11861- test "$enable_shared" = yes && enable_static=no
11862- fi
11863- ;;
11864- esac
11865- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11866-$as_echo "$enable_shared" >&6; }
11867-
11868- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11869-$as_echo_n "checking whether to build static libraries... " >&6; }
11870- # Make sure either enable_shared or enable_static is yes.
11871- test "$enable_shared" = yes || enable_static=yes
11872- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11873-$as_echo "$enable_static" >&6; }
11874-
11875-
11876-
11877-
11878-fi
11879-ac_ext=cpp
11880-ac_cpp='$CXXCPP $CPPFLAGS'
11881-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11882-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11883-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11884-
11885-CC="$lt_save_CC"
11886-
11887- if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11888- ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11889- (test "X$CXX" != "Xg++"))) ; then
11890- ac_ext=cpp
11891-ac_cpp='$CXXCPP $CPPFLAGS'
11892-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11893-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11894-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11895-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11896-$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11897-if test -z "$CXXCPP"; then
11898- if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11899- $as_echo_n "(cached) " >&6
11900-else
11901- # Double quotes because CXXCPP needs to be expanded
11902- for CXXCPP in "$CXX -E" "/lib/cpp"
11903- do
11904- ac_preproc_ok=false
11905-for ac_cxx_preproc_warn_flag in '' yes
11906-do
11907- # Use a header file that comes with gcc, so configuring glibc
11908- # with a fresh cross-compiler works.
11909- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11910- # <limits.h> exists even on freestanding compilers.
11911- # On the NeXT, cc -E runs the code through the compiler's parser,
11912- # not just through cpp. "Syntax error" is here to catch this case.
11913- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11914-/* end confdefs.h. */
11915-#ifdef __STDC__
11916-# include <limits.h>
11917-#else
11918-# include <assert.h>
11919-#endif
11920- Syntax error
11921-_ACEOF
11922-if ac_fn_cxx_try_cpp "$LINENO"; then :
11923-
11924-else
11925- # Broken: fails on valid input.
11926-continue
11927-fi
11928-rm -f conftest.err conftest.i conftest.$ac_ext
11929-
11930- # OK, works on sane cases. Now check whether nonexistent headers
11931- # can be detected and how.
11932- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11933-/* end confdefs.h. */
11934-#include <ac_nonexistent.h>
11935-_ACEOF
11936-if ac_fn_cxx_try_cpp "$LINENO"; then :
11937- # Broken: success on invalid input.
11938-continue
11939-else
11940- # Passes both tests.
11941-ac_preproc_ok=:
11942-break
11943-fi
11944-rm -f conftest.err conftest.i conftest.$ac_ext
11945-
11946-done
11947-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11948-rm -f conftest.i conftest.err conftest.$ac_ext
11949-if $ac_preproc_ok; then :
11950- break
11951-fi
11952-
11953- done
11954- ac_cv_prog_CXXCPP=$CXXCPP
11955-
11956-fi
11957- CXXCPP=$ac_cv_prog_CXXCPP
11958-else
11959- ac_cv_prog_CXXCPP=$CXXCPP
11960-fi
11961-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11962-$as_echo "$CXXCPP" >&6; }
11963-ac_preproc_ok=false
11964-for ac_cxx_preproc_warn_flag in '' yes
11965-do
11966- # Use a header file that comes with gcc, so configuring glibc
11967- # with a fresh cross-compiler works.
11968- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11969- # <limits.h> exists even on freestanding compilers.
11970- # On the NeXT, cc -E runs the code through the compiler's parser,
11971- # not just through cpp. "Syntax error" is here to catch this case.
11972- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11973-/* end confdefs.h. */
11974-#ifdef __STDC__
11975-# include <limits.h>
11976-#else
11977-# include <assert.h>
11978-#endif
11979- Syntax error
11980-_ACEOF
11981-if ac_fn_cxx_try_cpp "$LINENO"; then :
11982-
11983-else
11984- # Broken: fails on valid input.
11985-continue
11986-fi
11987-rm -f conftest.err conftest.i conftest.$ac_ext
11988-
11989- # OK, works on sane cases. Now check whether nonexistent headers
11990- # can be detected and how.
11991- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11992-/* end confdefs.h. */
11993-#include <ac_nonexistent.h>
11994-_ACEOF
11995-if ac_fn_cxx_try_cpp "$LINENO"; then :
11996- # Broken: success on invalid input.
11997-continue
11998-else
11999- # Passes both tests.
12000-ac_preproc_ok=:
12001-break
12002-fi
12003-rm -f conftest.err conftest.i conftest.$ac_ext
12004-
12005-done
12006